CN110120975B - Cloud platform connection port control device and control method - Google Patents

Cloud platform connection port control device and control method Download PDF

Info

Publication number
CN110120975B
CN110120975B CN201910370110.XA CN201910370110A CN110120975B CN 110120975 B CN110120975 B CN 110120975B CN 201910370110 A CN201910370110 A CN 201910370110A CN 110120975 B CN110120975 B CN 110120975B
Authority
CN
China
Prior art keywords
data
pin
diode
resistor
capacitor
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.)
Active
Application number
CN201910370110.XA
Other languages
Chinese (zh)
Other versions
CN110120975A (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.)
Standard Chi Intelligent Technology (Xi'an) Co.,Ltd.
Original Assignee
Nanjing Ruiyi Electronic 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 Nanjing Ruiyi Electronic Technology Co Ltd filed Critical Nanjing Ruiyi Electronic Technology Co Ltd
Priority to CN201910370110.XA priority Critical patent/CN110120975B/en
Priority to CN201911381592.5A priority patent/CN111142438B/en
Publication of CN110120975A publication Critical patent/CN110120975A/en
Application granted granted Critical
Publication of CN110120975B publication Critical patent/CN110120975B/en
Priority to PCT/CN2020/079657 priority patent/WO2020224332A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Communication Control (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The invention discloses a cloud platform connection port control device and a control method, wherein the device comprises a port control system, an upper detection communication system, a transmission system and a buffer storage system, the port control device carries out grouping integration aiming at a plurality of connection ports, and unified management is carried out through a circuit, so that the parallel processing speed of port data uploading is enhanced; the upper layer detection communication system can carry out identification and grouping transmission on long command data; the buffer storage system can temporarily store data generated by unexpected interruption and segment identification in the transmission process, and ensures the stability and safety in the whole data uploading process. The invention can carry out port unified management aiming at the multi-connection port device, enhances the stability of multi-port data transmission, and further solves the problem of data confusion caused by multi-path data transmission and enhances the stability and accuracy of data processing by the method of data segmentation identification and buffer temporary storage.

Description

Cloud platform connection port control device and control method
Technical Field
The invention relates to a data parallel transmission technology, in particular to a cloud platform connection port control device.
Background
Along with the continuous improvement of the scientific and technological level of China, the use level of computers by everyone in China is also improved. Meanwhile, devices which replace manual control with computer control in life and industrial production are continuously generated, the phenomenon improves the level of intelligent industrial production in China, and meanwhile, new requirements on the performance of computer control devices are met.
Cloud platforms and multi-port controllers are new research directions that have emerged in recent years. Aiming at the original control device, the cloud platform is used for improving the big data processing and further data sharing, and more and better function expansion and function improvement can be carried out on the control device. Specific use examples such as satellite positioning and vehicle navigation are well appreciated in the market after being developed.
At present, research on the cloud platform connection port control device in the market is continuously carried out, and due to continuous research and development of novel functions, parallel data needing to be transmitted are also continuously increased, and updating of a data transmission mode and a data processing mode is also required to be continuously promoted. Particularly, for parallel data transmission of multiple connection ports, data accuracy of data transmitted in parallel needs to be guaranteed, and transmission phenomena of data missing and data missing are avoided.
Disclosure of Invention
The purpose of the invention is as follows: a cloud platform connection port control device is provided to solve the above problems.
The technical scheme is as follows: a cloud platform connection port control device comprises a port control system, an upper layer detection communication system, a transmission system and a buffer storage system,
the port control system is characterized by comprising a port control circuit which can be specifically divided into an input current control module, an output protection module and a four-way control module, and the port data are grouped, so that synchronous processing branches of the multi-system data are realized, and the operation capacity and the operation speed of data processing are improved;
the upper detection communication system transmits the content of detection communication according to the self-defined transmission password, reduces the problem of data disorder caused by transmission protocol error and leakage and enhances the accuracy of data reception;
the transmission system is used for respectively carrying out data stream transmission of an upper layer and a lower layer on received data, and the two operation modes from top to bottom and from bottom to top are not interfered with each other;
the buffer storage system is used for buffering and storing data of a data error mode occurring in the transmission process, and finishing the re-uploading of the data after the buffered data is subjected to debugging processing according to a protocol algorithm, and is a transfer station in the cloud platform connection system;
the input current control module comprises an operational amplifier AR1, a motor MO1, an ammeter M1, a diode D1, a diode D2, a diode D3, a diode D4, a diode D5, a diode D11, a MOS transistor Q1, an inductor L1 and a resistor R1, wherein the anode of the diode D11 is connected with a voltage signal Vref, the cathode of the diode D11 is connected with the second pin of the operational amplifier AR1, the first pin of the operational amplifier AR1 is connected with the fourth pin of the operational amplifier AR1, the fifth pin of the operational amplifier AR1, the seventh pin of the operational amplifier AR1 and the eighth pin of the operational amplifier AR1 are all open circuits, the sixth pin of the operational amplifier AR1 is connected with one end of the motor MO1, and the other end of the motor MO1 is respectively connected with one end of the inductor L1, the cathode of the diode D3 and the cathode of the diode D1, the other end of the inductor L1 is connected to the anode of the diode D5 and the D-pole of the MOS transistor Q1, the cathode of the diode D5 is connected to one end of the resistor R1 and the third pin of the operational amplifier AR1, the other end of the resistor R1 is connected to the S-pole of the MOS transistor Q1, the anode of the diode D4 and the anode of the diode D2, the cathode of the diode D4 is connected to the anode of the diode D3 and one end of the ammeter M1, and the cathode of the diode D2 is connected to the anode of the diode D1 and the other end of the ammeter M1;
the output protection module comprises a bridge DB1, an operational amplifier AR2, a MOS transistor Q2, a diode D6, a resistor R6, a capacitor C6, and a capacitor C6, wherein a second pin of the bridge DB 6 is connected to one end of the resistor R6, one end of the capacitor C6, and one end of the capacitor C6, a fourth pin of the bridge DB 6 is connected to one end of the resistor R6, the other end of the resistor R6 is connected to an anode of the diode D6 and an S-pole of the MOS transistor Q6, a cathode of the diode D6 is connected to the other end of the capacitor C6, the S-pole of the MOS transistor Q6 is grounded, the other end of the resistor R6 is connected to a G-pole of the MOS transistor Q6, the other end of the capacitor C6 is connected to the second pin of the resistor R6, and the other end of the capacitor R6 are connected to the second pin of the resistor R6, a first pin of the operational amplifier AR2, a fourth pin of the operational amplifier AR2, a fifth pin of the operational amplifier AR2, a seventh pin of the operational amplifier AR2, and an eighth pin of the operational amplifier AR2 are all open circuits, a sixth pin of the operational amplifier AR2 is respectively connected to a voltage signal Vout and one end of the resistor R5, a third pin of the operational amplifier AR2 is respectively connected to the other end of the resistor R5 and one end of the capacitor C4, and the other end of the capacitor C4 is grounded;
the four-way control module comprises an integrated chip U1, an oscillator Y1, a switch S1, a triode Q3, a triode Q4, a MOS tube Q5, a MOS tube Q6, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C9, an inductor L2, an inductor L3, an inductor L4, a diode D7, a diode D8, a diode D9 and a diode D10, wherein a first pin of the bridge DB1 is connected with one end of the resistor R7, a sixteenth pin of the integrated chip U1, a fourth pin of the integrated chip U1 and a voltage signal Vcc, the other end of the resistor R7 is connected with a seventh pin of the integrated chip U1, a third pin of the DB1 is connected with a ninth pin of the integrated chip U1, and a twelfth pin of the integrated chip U1 are connected with the eleventh pin of the integrated chip U1 and the twelfth pin of the integrated chip 1, A thirteenth pin of the integrated chip U1, a fourteenth pin of the integrated chip U1, and a fifteenth pin of the integrated chip U1 are all open circuits, a sixth pin of the integrated chip U1 is connected to one end of the oscillator Y1 and one end of the inductor L3, the other end of the inductor L3 is connected to one end of the resistor R8, the other end of the resistor R8 is connected to the other end of the oscillator Y1 and one end of the switch S1, the other end of the switch S1 is connected to the first pin of the integrated chip U1, the eighth pin of the integrated chip U1 is grounded, a third pin of the integrated chip U1 is connected to one end of the inductor L4, the other end of the inductor L4 is connected to the G-pole of the MOS transistor Q5 and the G-pole of the MOS transistor Q6, and a second pin of the integrated chip U1 is connected to one end of the resistor R9, One end of the capacitor C9 is connected, the other end of the capacitor C9 is grounded, the other end of the resistor R9 is connected to a voltage signal Vref, the fifth pin of the integrated chip U1 is connected to one end of the inductor L2, the other end of the inductor L2 is connected to the emitter of the transistor Q3, the cathode of the diode D7, one end of the capacitor C5, the emitter of the transistor Q4, the cathode of the diode D8, and one end of the capacitor C6, the base of the transistor Q4 is connected to one end of the resistor R6, the other end of the resistor R6 is connected to the base of the transistor Q3, the voltage signal Vin, and the G of the MOS transistor Q1, the collector of the transistor Q3 is connected to the anode of the diode D7, the other end of the capacitor C5, the D of the MOS transistor Q5, the anode of the diode D9, and one end of the capacitor C7, the other end of the capacitor C7 is connected to the cathode of the diode D9, the S-pole of the MOS transistor Q5, the D-pole of the MOS transistor Q6, the cathode of the diode D10, and one end of the capacitor C8, and the other end of the capacitor C8 is connected to the anode of the diode D10, the S-pole of the MOS transistor Q6, the other end of the capacitor C6, the anode of the diode D8, and the collector of the transistor Q4.
According to one aspect of the invention, the ammeter M1 is respectively connected to the connection nodes of the two current branches, so that the current comparison between the two current branches can be directly performed, and when the measured current value is too large, it indicates that the current value of the branch exceeds the safety range, and the input voltage needs to be adjusted.
According to one aspect of the invention, the transmission system can be directly internally divided into a top-down data receiving branch and a bottom-up data transmitting branch, and the two branches operate independently and are in complementary interference.
A data segmentation transmission method, in the course of cloud platform data transmission, because need carry on the concurrent parallel transmission to the data of multiple systems, while the order of the long byte is transmitted, need carry on the segmentation transmission, in order to avoid appearing the confusion of the data recombination, need label the same data order, guarantee the integrality of data reception, the concrete step is:
step 1, judging the length of command data, directly transmitting the command of short bytes by taking the safe transmission limit of each system as a standard, and directly entering step 3; the command of long byte enters into the character identification step, namely step 2;
step 2, carrying out length segmentation on the long byte command and carrying out data identification;
step 21, except for the first segment, performing data storage by using a data space of one unit storage line less than the maximum safe transmission limit as a standard, and performing transmission data division by using a data space of two unit storage lines less than the maximum safe transmission limit as a standard in the rest segments; the first segment reserves a last blank line, and the other segments reserve two lines of an initial blank line and a last blank line until the byte length of the residual transmission data is just equal to or less than a maximum safe transmission limit;
step 22, identifying the end data of the segmented transmission data, copying the data of the second half segment of the last line of the first segment as the start of the first segment end blank line data, completing with zero padding, filling the data with complete padding into the initial blank line of the second segment, and so on, copying the data of the second half segment of the last line as the start of the second segment end blank line data, completing with zero padding, and filling the data with complete padding into the initial blank line of the third segment until all the data are identified;
step 23, entering step 3, and transmitting the segmented data;
and 3, transmitting data.
According to one aspect of the invention, after the data are segmented and identified, when the data are integrated again, the data can be matched according to the last data line and the first data line of different segments, when the data are overlapped, the identification matching is completed, the same line can be eliminated, and the data recombination can be directly carried out.
A method for judging cache data by characters is used for temporarily caching data in data transmission of a cloud platform, and comprises the following specific steps:
step 1, judging the properties of cache data, wherein one is used for segmenting data due to longer command length, the other is used for storing protective data due to unexpected interruption in system operation, the former data is transmitted after segmentation, and the latter is used for judging the increase of characters;
step 2, performing protective long-time storage on the cache segment containing the judgment character to ensure that the problem of data loss caused by system operation is avoided, and reserving the judgment character and then storing the judgment character again after confirming the data content; after the data content is confirmed, the data content to be deleted is judged, the data content is deleted after the judgment character is deleted, and the sufficient buffer space is ensured.
According to one aspect of the invention, the data processing protocols of the cache space of the specific cloud platform using system are different, and the method can be divided into a default ISO protocol and a self-defined protocol, so that the content judgment of the cache data is more intelligent.
Has the advantages that: the invention can solve the problem that the data management is difficult to unify due to too many connecting ports in the prior art, enhances the stability and the accuracy of parallel data transmission, further solves the problem of data confusion easily caused by parallel transmission, and increases the reliability of data transmission.
Drawings
FIG. 1 is a system control block diagram of the present invention.
Fig. 2 is a schematic diagram of the port control circuit of the present invention.
Fig. 3 is a flow chart of a data segment transmission method of the present invention.
Detailed Description
In this embodiment, as shown in fig. 1, a cloud platform is connected to a port control device, which includes a port control system, an upper layer detection communication system, a transmission system and a buffer storage system,
the port control system is characterized by comprising a port control circuit which can be specifically divided into an input current control module, an output protection module and a four-way control module, and the port data are grouped, so that synchronous processing branches of the multi-system data are realized, and the operation capacity and the operation speed of data processing are improved;
the upper detection communication system transmits the content of detection communication according to the self-defined transmission password, reduces the problem of data disorder caused by transmission protocol error and leakage and enhances the accuracy of data reception;
the transmission system is used for respectively carrying out data stream transmission of an upper layer and a lower layer on received data, and the two operation modes from top to bottom and from bottom to top are not interfered with each other;
the buffer storage system is used for buffering and storing data of a data error mode occurring in the transmission process, and finishing the re-uploading of the data after the buffered data is subjected to debugging processing according to a protocol algorithm, and is a transfer station in the cloud platform connection system;
the input current control module comprises an operational amplifier AR1, a motor MO1, an ammeter M1, a diode D1, a diode D2, a diode D3, a diode D4, a diode D5, a diode D11, a MOS transistor Q1, an inductor L1 and a resistor R1, wherein the anode of the diode D11 is connected with a voltage signal Vref, the cathode of the diode D11 is connected with the second pin of the operational amplifier AR1, the first pin of the operational amplifier AR1 is connected with the fourth pin of the operational amplifier AR1, the fifth pin of the operational amplifier AR1, the seventh pin of the operational amplifier AR1 and the eighth pin of the operational amplifier AR1 are all open circuits, the sixth pin of the operational amplifier AR1 is connected with one end of the motor MO1, and the other end of the motor MO1 is respectively connected with one end of the inductor L1, the cathode of the diode D3 and the cathode of the diode D1, the other end of the inductor L1 is connected to the anode of the diode D5 and the D-pole of the MOS transistor Q1, the cathode of the diode D5 is connected to one end of the resistor R1 and the third pin of the operational amplifier AR1, the other end of the resistor R1 is connected to the S-pole of the MOS transistor Q1, the anode of the diode D4 and the anode of the diode D2, the cathode of the diode D4 is connected to the anode of the diode D3 and one end of the ammeter M1, and the cathode of the diode D2 is connected to the anode of the diode D1 and the other end of the ammeter M1;
the output protection module comprises a bridge DB1, an operational amplifier AR2, a MOS transistor Q2, a diode D6, a resistor R6, a capacitor C6, and a capacitor C6, wherein a second pin of the bridge DB 6 is connected to one end of the resistor R6, one end of the capacitor C6, and one end of the capacitor C6, a fourth pin of the bridge DB 6 is connected to one end of the resistor R6, the other end of the resistor R6 is connected to an anode of the diode D6 and an S-pole of the MOS transistor Q6, a cathode of the diode D6 is connected to the other end of the capacitor C6, the S-pole of the MOS transistor Q6 is grounded, the other end of the resistor R6 is connected to a G-pole of the MOS transistor Q6, the other end of the capacitor C6 is connected to the second pin of the resistor R6, and the other end of the capacitor R6 are connected to the second pin of the resistor R6, a first pin of the operational amplifier AR2, a fourth pin of the operational amplifier AR2, a fifth pin of the operational amplifier AR2, a seventh pin of the operational amplifier AR2, and an eighth pin of the operational amplifier AR2 are all open circuits, a sixth pin of the operational amplifier AR2 is respectively connected to a voltage signal Vout and one end of the resistor R5, a third pin of the operational amplifier AR2 is respectively connected to the other end of the resistor R5 and one end of the capacitor C4, and the other end of the capacitor C4 is grounded;
the four-way control module comprises an integrated chip U1, an oscillator Y1, a switch S1, a triode Q3, a triode Q4, a MOS tube Q5, a MOS tube Q6, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C9, an inductor L2, an inductor L3, an inductor L4, a diode D7, a diode D8, a diode D9 and a diode D10, wherein a first pin of the bridge DB1 is connected with one end of the resistor R7, a sixteenth pin of the integrated chip U1, a fourth pin of the integrated chip U1 and a voltage signal Vcc, the other end of the resistor R7 is connected with a seventh pin of the integrated chip U1, a third pin of the DB1 is connected with a ninth pin of the integrated chip U1, and a twelfth pin of the integrated chip U1 are connected with the eleventh pin of the integrated chip U1 and the twelfth pin of the integrated chip 1, A thirteenth pin of the integrated chip U1, a fourteenth pin of the integrated chip U1, and a fifteenth pin of the integrated chip U1 are all open circuits, a sixth pin of the integrated chip U1 is connected to one end of the oscillator Y1 and one end of the inductor L3, the other end of the inductor L3 is connected to one end of the resistor R8, the other end of the resistor R8 is connected to the other end of the oscillator Y1 and one end of the switch S1, the other end of the switch S1 is connected to the first pin of the integrated chip U1, the eighth pin of the integrated chip U1 is grounded, a third pin of the integrated chip U1 is connected to one end of the inductor L4, the other end of the inductor L4 is connected to the G-pole of the MOS transistor Q5 and the G-pole of the MOS transistor Q6, and a second pin of the integrated chip U1 is connected to one end of the resistor R9, One end of the capacitor C9 is connected, the other end of the capacitor C9 is grounded, the other end of the resistor R9 is connected to a voltage signal Vref, the fifth pin of the integrated chip U1 is connected to one end of the inductor L2, the other end of the inductor L2 is connected to the emitter of the transistor Q3, the cathode of the diode D7, one end of the capacitor C5, the emitter of the transistor Q4, the cathode of the diode D8, and one end of the capacitor C6, the base of the transistor Q4 is connected to one end of the resistor R6, the other end of the resistor R6 is connected to the base of the transistor Q3, the voltage signal Vin, and the G of the MOS transistor Q1, the collector of the transistor Q3 is connected to the anode of the diode D7, the other end of the capacitor C5, the D of the MOS transistor Q5, the anode of the diode D9, and one end of the capacitor C7, the other end of the capacitor C7 is connected to the cathode of the diode D9, the S-pole of the MOS transistor Q5, the D-pole of the MOS transistor Q6, the cathode of the diode D10, and one end of the capacitor C8, and the other end of the capacitor C8 is connected to the anode of the diode D10, the S-pole of the MOS transistor Q6, the other end of the capacitor C6, the anode of the diode D8, and the collector of the transistor Q4.
In a further embodiment, the ammeter M1 is respectively connected to the connection nodes of the two current branches, so that the current comparison between the two current branches can be directly performed, and when the measured current value is too large, it indicates that the current value of the branch exceeds the safety range, and the input voltage needs to be adjusted.
In a further embodiment, the transistor Q3, the transistor Q4, the MOS transistor Q5, and the MOS transistor Q6 belong to a control branch, respectively, and can perform parallel processing on four paths of data; the diode D7, the diode D8, the diode D9 and the diode D10 respectively control the strength of the current signal of the input branch circuit to perform phase conversion.
In a further embodiment, the transmission system can be directly internally divided into a top-down data receiving branch and a bottom-up data transmitting branch, and the two branches operate independently and are in complementary interference.
In a further embodiment, the oscillator Y1 is connected in parallel with the branch circuit formed by the resistor R8 and the inductor L3, and the oscillation current is fed back and input through an external parallel electronic component, so as to ensure the stability of the oscillation circuit.
In a further embodiment, the resistor R9 and the diode D11 are connected to a voltage signal Vref, and a uniform reference voltage setting is performed on the voltage reference terminal and the current detection branch of the integrated chip U1, so that no matching error or leakage of current magnitude is generated due to voltage distortion in the process of parallel data processing.
A data segmentation transmission method, in the course of cloud platform data transmission, because need carry on the concurrent parallel transmission to the data of multiple systems, while the order of the long byte is transmitted, need carry on the segmentation transmission, in order to avoid appearing the confusion of the data recombination, need label the same data order, guarantee the integrality of data reception, the concrete step is:
step 1, judging the length of command data, directly transmitting the command of short bytes by taking the safe transmission limit of each system as a standard, and directly entering step 3; the command of long byte enters into the character identification step, namely step 2;
step 2, carrying out length segmentation on the long byte command and carrying out data identification;
step 21, except for the first segment, performing data storage by using a data space of one unit storage line less than the maximum safe transmission limit as a standard, and performing transmission data division by using a data space of two unit storage lines less than the maximum safe transmission limit as a standard in the rest segments; the first segment reserves a last blank line, and the other segments reserve two lines of an initial blank line and a last blank line until the byte length of the residual transmission data is just equal to or less than a maximum safe transmission limit;
step 22, identifying the end data of the segmented transmission data, copying the data of the second half segment of the last line of the first segment as the start of the first segment end blank line data, completing with zero padding, filling the data with complete padding into the initial blank line of the second segment, and so on, copying the data of the second half segment of the last line as the start of the second segment end blank line data, completing with zero padding, and filling the data with complete padding into the initial blank line of the third segment until all the data are identified;
step 23, entering step 3, and transmitting the segmented data;
and 3, transmitting data.
In a further embodiment, after the data are segmented and identified, when the data are integrated again, data matching can be performed according to the last data line and the first data line of different segments, when the data are overlapped, the identification matching is completed, the same line can be eliminated, and the data recombination can be directly performed.
A method for judging cache data by characters is used for temporarily caching data in data transmission of a cloud platform, and comprises the following specific steps:
step 1, judging the properties of cache data, wherein one is used for segmenting data due to longer command length, the other is used for storing protective data due to unexpected interruption in system operation, the former data is transmitted after segmentation, and the latter is used for judging the increase of characters;
step 2, performing protective long-time storage on the cache segment containing the judgment character to ensure that the problem of data loss caused by system operation is avoided, and reserving the judgment character and then storing the judgment character again after confirming the data content; after the data content is confirmed, the data content to be deleted is judged, the data content is deleted after the judgment character is deleted, and the sufficient buffer space is ensured.
In a further embodiment, the specific cloud platform usage system has different data processing protocols for the cache space, and the method can be divided into a default ISO protocol and a custom protocol, so that the content judgment of the cache data is more intelligent.
In summary, the present invention has the following advantages: the circuit regulation and control are carried out on the multi-path connecting port, the stability and the feasibility of multi-path parallel data transmission are enhanced, the identification segmentation and the buffer storage are further carried out on the long command data in the parallel data transmission, the accuracy of data transmission is improved, overall speaking, the running speed and the data self-error correction capability of the data transmission are greatly enhanced, and the practicability is high.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. The invention is not described in detail in order to avoid unnecessary repetition.

Claims (7)

1. A cloud platform connection port control device comprises a port control system, an upper layer detection communication system, a transmission system and a buffer storage system,
the port control system is characterized by comprising a port control circuit which can be specifically divided into an input current control module, an output protection module and a four-way control module, and the port data are grouped, so that synchronous processing branches of the multi-system data are realized, and the operation capacity and the operation speed of data processing are improved;
the upper detection communication system transmits the content of detection communication according to the self-defined transmission password, reduces the problem of data disorder caused by transmission protocol error and leakage and enhances the accuracy of data reception;
the transmission system is used for respectively carrying out data stream transmission of an upper layer and a lower layer on received data, and the two operation modes from top to bottom and from bottom to top are not interfered with each other;
the buffer storage system is used for buffering and storing data of a data error mode occurring in the transmission process, and finishing the re-uploading of the data after the buffered data is subjected to debugging processing according to a protocol algorithm, and is a transfer station in the cloud platform connection system;
the input current control module comprises an operational amplifier AR1, a motor MO1, an ammeter M1, a diode D1, a diode D2, a diode D3, a diode D4, a diode D5, a diode D11, a MOS transistor Q1, an inductor L1 and a resistor R1, wherein the anode of the diode D11 is connected with a voltage signal Vref, the cathode of the diode D11 is connected with the second pin of the operational amplifier AR1, the first pin of the operational amplifier AR1 is connected with the fourth pin of the operational amplifier AR1, the fifth pin of the operational amplifier AR1, the seventh pin of the operational amplifier AR1 and the eighth pin of the operational amplifier AR1 are all open circuits, the sixth pin of the operational amplifier AR1 is connected with one end of the motor MO1, and the other end of the motor MO1 is respectively connected with one end of the inductor L1, the cathode of the diode D3 and the cathode of the diode D1, the other end of the inductor L1 is connected to the anode of the diode D5 and the D-pole of the MOS transistor Q1, the cathode of the diode D5 is connected to one end of the resistor R1 and the third pin of the operational amplifier AR1, the other end of the resistor R1 is connected to the S-pole of the MOS transistor Q1, the anode of the diode D4 and the anode of the diode D2, the cathode of the diode D4 is connected to the anode of the diode D3 and one end of the ammeter M1, and the cathode of the diode D2 is connected to the anode of the diode D1 and the other end of the ammeter M1;
the output protection module comprises a bridge DB1, an operational amplifier AR2, a MOS transistor Q2, a diode D6, a resistor R6, a capacitor C6, and a capacitor C6, wherein a second pin of the bridge DB 6 is connected to one end of the resistor R6, one end of the capacitor C6, and one end of the capacitor C6, a fourth pin of the bridge DB 6 is connected to one end of the resistor R6, the other end of the resistor R6 is connected to an anode of the diode D6 and an S-pole of the MOS transistor Q6, a cathode of the diode D6 is connected to the other end of the capacitor C6, the S-pole of the MOS transistor Q6 is grounded, the other end of the resistor R6 is connected to a G-pole of the MOS transistor Q6, the other end of the capacitor C6 is connected to the second pin of the resistor R6, and the other end of the capacitor R6 are connected to the second pin of the resistor R6, a first pin of the operational amplifier AR2, a fourth pin of the operational amplifier AR2, a fifth pin of the operational amplifier AR2, a seventh pin of the operational amplifier AR2, and an eighth pin of the operational amplifier AR2 are all open circuits, a sixth pin of the operational amplifier AR2 is respectively connected to a voltage signal Vout and one end of the resistor R5, a third pin of the operational amplifier AR2 is respectively connected to the other end of the resistor R5 and one end of the capacitor C4, and the other end of the capacitor C4 is grounded;
the four-way control module comprises an integrated chip U1, an oscillator Y1, a switch S1, a triode Q3, a triode Q4, a MOS tube Q5, a MOS tube Q6, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C9, an inductor L2, an inductor L3, an inductor L4, a diode D7, a diode D8, a diode D9 and a diode D10, wherein a first pin of the bridge DB1 is connected with one end of the resistor R7, a sixteenth pin of the integrated chip U1, a fourth pin of the integrated chip U1 and a voltage signal Vcc, the other end of the resistor R7 is connected with a seventh pin of the integrated chip U1, a third pin of the DB1 is connected with a ninth pin of the integrated chip U1, and a twelfth pin of the integrated chip U1 are connected with the eleventh pin of the integrated chip U1 and the twelfth pin of the integrated chip 1, A thirteenth pin of the integrated chip U1, a fourteenth pin of the integrated chip U1, and a fifteenth pin of the integrated chip U1 are all open circuits, a sixth pin of the integrated chip U1 is connected to one end of the oscillator Y1 and one end of the inductor L3, the other end of the inductor L3 is connected to one end of the resistor R8, the other end of the resistor R8 is connected to the other end of the oscillator Y1 and one end of the switch S1, the other end of the switch S1 is connected to the first pin of the integrated chip U1, the eighth pin of the integrated chip U1 is grounded, a third pin of the integrated chip U1 is connected to one end of the inductor L4, the other end of the inductor L4 is connected to the G-pole of the MOS transistor Q5 and the G-pole of the MOS transistor Q6, and a second pin of the integrated chip U1 is connected to one end of the resistor R9, One end of the capacitor C9 is connected, the other end of the capacitor C9 is grounded, the other end of the resistor R9 is connected to a voltage signal Vref, the fifth pin of the integrated chip U1 is connected to one end of the inductor L2, the other end of the inductor L2 is connected to the emitter of the transistor Q3, the cathode of the diode D7, one end of the capacitor C5, the emitter of the transistor Q4, the cathode of the diode D8, and one end of the capacitor C6, the base of the transistor Q4 is connected to one end of the resistor R6, the other end of the resistor R6 is connected to the base of the transistor Q3, the voltage signal Vin, and the G of the MOS transistor Q1, the collector of the transistor Q3 is connected to the anode of the diode D7, the other end of the capacitor C5, the D of the MOS transistor Q5, the anode of the diode D9, and one end of the capacitor C7, the other end of the capacitor C7 is connected to the cathode of the diode D9, the S-pole of the MOS transistor Q5, the D-pole of the MOS transistor Q6, the cathode of the diode D10, and one end of the capacitor C8, and the other end of the capacitor C8 is connected to the anode of the diode D10, the S-pole of the MOS transistor Q6, the other end of the capacitor C6, the anode of the diode D8, and the collector of the transistor Q4.
2. The cloud platform connection port control device according to claim 1, wherein the ammeter M1 is connected to the connection nodes of the two current branches, respectively, and can directly compare the currents of the two current branches, and when a measured current value is too large, it indicates that the current value of the branch exceeds a safe range, and it is necessary to adjust the input voltage.
3. The device as claimed in claim 1, wherein the transmission system is directly divided into a top-down data receiving branch and a bottom-up data transmitting branch, and the two branches operate independently and perform complementary interference.
4. The control method based on the cloud platform connection port control device of any one of claims 1 to 3, characterized in that the transmission system adopts a data segmented transmission method, in the process of cloud platform data transmission, because data of multiple systems need to be transmitted simultaneously and concurrently, when a long byte command is transmitted, segmented transmission needs to be performed, in order to avoid confusion of data recombination, the same data command needs to be identified, and the integrity of data reception is ensured, the specific steps are as follows: step 1, judging the length of command data, directly transmitting the command of short bytes by taking the safe transmission limit of each system as a standard, and directly entering step 3; the command of long byte enters into the character identification step, namely step 2;
step 2, carrying out length segmentation on the long byte command and carrying out data identification;
step 21, except for the first segment, performing data storage by using a data space of one unit storage line less than the maximum safe transmission limit as a standard, and performing transmission data division by using a data space of two unit storage lines less than the maximum safe transmission limit as a standard in the rest segments; the first segment reserves a last blank line, and the other segments reserve two lines of an initial blank line and a last blank line until the byte length of the residual transmission data is just equal to or less than a maximum safe transmission limit;
step 22, identifying the end data of the segmented transmission data, copying the data of the second half segment of the last line of the first segment as the start of the first segment end blank line data, completing with zero padding, filling the data with complete padding into the initial blank line of the second segment, and so on, copying the data of the second half segment of the last line as the start of the second segment end blank line data, completing with zero padding, and filling the data with complete padding into the initial blank line of the third segment until all the data are identified;
step 23, entering step 3, and transmitting the segmented data;
and 3, transmitting data.
5. The control method of the cloud platform connection port control device according to claim 4, wherein after data is identified in segments, when data integration is performed again, data matching can be performed according to last data rows and first data rows of different segments, when data are overlapped, identification matching is completed, and data recombination can be performed directly by eliminating the same rows.
6. The control method of the cloud platform connection port control device according to claim 4, wherein the step of temporarily caching data for data transmission of the cloud platform by the cache storage system comprises:
step 1, judging the properties of cache data, wherein one is used for segmenting data due to longer command length, the other is used for storing protective data due to unexpected interruption in system operation, the former data is transmitted after segmentation, and the latter is used for judging the increase of characters;
step 2, performing protective long-time storage on the cache segment containing the judgment character to ensure that the problem of data loss caused by system operation is avoided, and reserving the judgment character and then storing the judgment character again after confirming the data content; after the data content is confirmed, the data content to be deleted is judged, the data content is deleted after the judgment character is deleted, and the sufficient buffer space is ensured.
7. The control method based on the cloud platform connection port control device according to claim 6, wherein the data processing protocols of the specific cloud platform usage system to the cache space are different, and the method can be divided into a default ISO protocol and a custom protocol, so that the content judgment of the cache data is more intelligent.
CN201910370110.XA 2019-05-06 2019-05-06 Cloud platform connection port control device and control method Active CN110120975B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201910370110.XA CN110120975B (en) 2019-05-06 2019-05-06 Cloud platform connection port control device and control method
CN201911381592.5A CN111142438B (en) 2019-05-06 2019-05-06 Cloud platform connection port control device and control method
PCT/CN2020/079657 WO2020224332A1 (en) 2019-05-06 2020-03-17 Cloud platform connection port control device and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910370110.XA CN110120975B (en) 2019-05-06 2019-05-06 Cloud platform connection port control device and control method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201911381592.5A Division CN111142438B (en) 2019-05-06 2019-05-06 Cloud platform connection port control device and control method

Publications (2)

Publication Number Publication Date
CN110120975A CN110120975A (en) 2019-08-13
CN110120975B true CN110120975B (en) 2020-01-03

Family

ID=67520312

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910370110.XA Active CN110120975B (en) 2019-05-06 2019-05-06 Cloud platform connection port control device and control method
CN201911381592.5A Active CN111142438B (en) 2019-05-06 2019-05-06 Cloud platform connection port control device and control method

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201911381592.5A Active CN111142438B (en) 2019-05-06 2019-05-06 Cloud platform connection port control device and control method

Country Status (2)

Country Link
CN (2) CN110120975B (en)
WO (1) WO2020224332A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110120975B (en) * 2019-05-06 2020-01-03 南京瑞贻电子科技有限公司 Cloud platform connection port control device and control method
CN112698019A (en) * 2020-12-31 2021-04-23 福州康为网络技术有限公司 Data processing device of glucometer

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208706014U (en) * 2018-08-23 2019-04-05 广州优优加智能科技有限公司 A kind of stand alone type Universal base and its alarm system
CN208782843U (en) * 2018-06-22 2019-04-23 东莞市中光通信科技有限公司 A kind of intelligent cloud connection terminal device

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008044300A1 (en) * 2006-10-12 2008-04-17 Renesas Technology Corp. Semiconductor integrated circuit
CN201167385Y (en) * 2008-03-13 2008-12-17 北京光桥时代科技有限公司 Full-path bidirectional optical transmitter-receiver for restraining multilayer lightning protection wall audio-video data
CN202405846U (en) * 2011-12-28 2012-08-29 合肥钦力电子有限公司 Electric energy collecting circuit for forklift
CN102693096B (en) * 2012-05-17 2014-03-26 山西达鑫核科技有限公司 Bit-based serial transmission cloud storage method and device
US9282034B2 (en) * 2013-02-20 2016-03-08 International Business Machines Corporation Directed route load/store packets for distributed switch initialization
US20170264822A1 (en) * 2015-02-13 2017-09-14 Waylens, Inc. Mounting Device for Portable Multi-Stream Video Recording Device
CN105208136A (en) * 2015-11-04 2015-12-30 苏州墨华高科信息技术有限公司 Elasticity parallel CFD (computational fluid dynamics) cloud computing system
CN107305372B (en) * 2016-04-25 2020-06-19 岳秀兰 Electric automobile energy monitoring and supply network for remote monitoring of cloud computing network architecture
CN109116090A (en) * 2017-06-23 2019-01-01 致伸科技股份有限公司 Current/voltage measurement system and its method
CN108173840B (en) * 2017-12-26 2020-09-15 南宁师范大学 Intelligent logistics terminal integration system based on cloud platform
CN108021531A (en) * 2018-01-05 2018-05-11 贾宝银 Variable speed-limit high in the clouds edge data processing platform system based on FPGA reconstruction structures
CN108924057B (en) * 2018-08-02 2022-06-03 浙江口碑网络技术有限公司 Port flow intelligent control system of on-cloud system
CN110120975B (en) * 2019-05-06 2020-01-03 南京瑞贻电子科技有限公司 Cloud platform connection port control device and control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208782843U (en) * 2018-06-22 2019-04-23 东莞市中光通信科技有限公司 A kind of intelligent cloud connection terminal device
CN208706014U (en) * 2018-08-23 2019-04-05 广州优优加智能科技有限公司 A kind of stand alone type Universal base and its alarm system

Also Published As

Publication number Publication date
WO2020224332A1 (en) 2020-11-12
CN111142438B (en) 2021-02-12
CN111142438A (en) 2020-05-12
CN110120975A (en) 2019-08-13

Similar Documents

Publication Publication Date Title
CN110120975B (en) Cloud platform connection port control device and control method
CN110764804A (en) System and method for realizing software upgrading control aiming at multiple electronic control units of automobile
CN103166765B (en) A kind of PoE power threshold changing method and equipment
CN111510363A (en) Slave station conversion device based on MODBUS protocol and control method thereof
CN107943727A (en) A kind of high efficient DMA controller
CN110809003A (en) Method for protocol conversion between robot and welding equipment and protocol conversion module
CN109995548B (en) Device management method and system, data transmission method and system and terminal device
CN112118166B (en) Multi-chip networking system, method and application
US20220327339A1 (en) Smart card management device and smart card management method
CN103414574A (en) PoE equipment and output power control method thereof
CN207396618U (en) A kind of phase checking device and nuclear phase structure
CN216013989U (en) Expansion module number identification circuit
CN103780710A (en) Serial port data transmission method based on wireless network
CN204390466U (en) Operational order collection plate
CN108243077A (en) A kind of mongline two-way communication circuit and vehicle
CN107517094A (en) S mode secondary radar information service device and its method of work based on FPGA
CN104731992A (en) Distribution automation modeling method and distribution automation modeling device
CN204517854U (en) A kind of fieldbus node circuit based on Modbus agreement
CN102196061B (en) Address filter table generating method and device, and Ethernet frame receiving method and device
CN111404631A (en) Method and system for realizing clock synchronization of LVDS high-speed serial communication
CN105205028A (en) Method and device for searching sampling point of data
CN101320263B (en) Voltage reference initialization system and method for electric car controller
CN110913374A (en) Internet of things cross-network communication module and communication mode
CN204361680U (en) A kind of lightning protection circuit
CN109274452B (en) High-speed operation analysis device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201014

Address after: Room 1023-1, 1 / F, unit 1, building 5, Beihang science and Technology Park, 588 Feitian Road, Xi'an City, Shaanxi Province 710000

Patentee after: Xi'an Biaochi Network Technology Co., Ltd

Address before: 211100 Jiangsu City, Jiangning, Qilin District, science and Technology Innovation Park, Hui Chi Road, unit B, building 300, building two

Patentee before: NANJING RUIYI ELECTRONIC TECHNOLOGY Co.,Ltd.

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

Address after: Room 1023-1, 1st floor, unit 1, building 5, Beihang Science Park, 588 Feitian Road, Xi'an national civil aerospace industry base, Shaanxi 710100

Patentee after: Standard Chi Intelligent Technology (Xi'an) Co.,Ltd.

Address before: Room 1023-1, 1st floor, unit 1, building 5, Beihang Science Park, 588 Feitian Road, Xi'an national civil aerospace industry base, Shaanxi 710000

Patentee before: Xi'an Biaochi Network Technology Co., Ltd