CN111131489A - Data transmission method, device and storage medium - Google Patents

Data transmission method, device and storage medium Download PDF

Info

Publication number
CN111131489A
CN111131489A CN201911398299.XA CN201911398299A CN111131489A CN 111131489 A CN111131489 A CN 111131489A CN 201911398299 A CN201911398299 A CN 201911398299A CN 111131489 A CN111131489 A CN 111131489A
Authority
CN
China
Prior art keywords
data
data transmission
slave station
target
transmission 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
CN201911398299.XA
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.)
Shenzhen Invt Electric Co Ltd
Original Assignee
Shenzhen Invt Electric 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 Shenzhen Invt Electric Co Ltd filed Critical Shenzhen Invt Electric Co Ltd
Priority to CN201911398299.XA priority Critical patent/CN111131489A/en
Publication of CN111131489A publication Critical patent/CN111131489A/en
Pending legal-status Critical Current

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/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/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The invention relates to a data transmission method, data transmission equipment and a storage medium. The data transmission method comprises the following steps: the data transmission equipment acquires data sent by a first slave station; the data transmission equipment determines target data to be forwarded from the data; the data transmission equipment determines a target slave station to be forwarded from a second slave station connected with the data transmission equipment according to a preset forwarding strategy; the second slave station is connected with the data transmission equipment by using a single serial port; the data transmission device transmits the target data to the target slave station. The data transmission terminal transmits the acquired data to the second slave station needing the data through the forwarding strategy, so that the process that the cloud platform receives the data and then transmits the data to the second slave station needing to use the data is omitted, and the operation load of the device is reduced.

Description

Data transmission method, device and storage medium
Technical Field
The present disclosure relates to the field of communications, and in particular, to a data transmission method, a device, and a storage medium.
Background
The internet of things is a network type for connecting any terminal with a cloud platform through data transmission equipment. The terminal exchanges and communicates information with the cloud platform through the data transmission equipment to realize functions of intelligent identification, positioning, tracking, supervision and the like. In order to connect to the internet of things in the implementation process, each terminal needs to be connected with data transmission equipment. The data transmission equipment serves as a master station, the terminal serves as a slave station, the terminal transmits data to the data transmission equipment, and the data transmission equipment transmits the data to the cloud platform, so that the connection between the terminal and the cloud platform is realized.
A terminal in the Internet of things is a single serial port terminal, the single serial port terminal is connected with data transmission equipment through a serial port, and required data can be obtained from a cloud platform. The single serial port terminal is a control terminal, and the required data is used for realizing functions of intelligent identification, positioning, tracking, supervision and the like. At present, a single serial port terminal can only obtain required data from a cloud platform through a serial interface of the single serial port terminal, and the data obtaining efficiency is low.
Disclosure of Invention
The single serial port terminal can only acquire data transmitted by the cloud platform through the serial interface, when data generated by the slave station connected to the same data transmission device needs to be acquired, the slave station needs to upload the data to the cloud platform, and then the data is transmitted to the single serial port terminal needing the data through the cloud platform, so that the data acquisition efficiency is low. Based on this:
a first aspect of the embodiments of the present application provides a data transmission method, including:
the data transmission equipment acquires data sent by a first slave station;
the data transmission equipment determines target data to be forwarded from the data;
the data transmission equipment determines a target slave station to be forwarded from a second slave station connected with the data transmission equipment according to a preset forwarding strategy; the second slave station is connected with the data transmission equipment by using a single serial port;
the data transmission device transmits the target data to the target slave station.
According to the technical scheme, the embodiment of the application has the following advantages: the data transmission terminal transmits the acquired data to the second slave station needing the data through the forwarding strategy, so that the process that the cloud platform receives the data and then transmits the data to the second slave station needing to use the data is omitted, and the operation load of the device is reduced.
Based on the first aspect of the embodiment of the present application, optionally, the method further includes:
the data transmission equipment acquires a forwarding strategy, wherein the forwarding strategy comprises the following steps: the information of the first slave station and the information of the target slave station to be forwarded corresponding to the first slave station.
Based on the first aspect of the embodiment of the present application, optionally, the acquiring, by the data transmission device, a forwarding policy includes:
the data transmission equipment acquires a forwarding strategy through a local serial port; or the like, or, alternatively,
the data transmission equipment acquires a forwarding strategy sent by the cloud platform through the Internet of things.
Based on the first aspect of the embodiment of the present application, optionally, the determining, by the data transmission device, target data to be forwarded from the data includes:
the data transmission equipment judges whether data containing a specific identifier exists in the data;
and if the data containing the specific identification exists, determining that the data containing the specific identification is target data.
Based on the first aspect of the embodiment of the present application, optionally, after the data transmission device determines, according to a preset forwarding policy, a target slave station to be forwarded from a second slave station connected to the data transmission device, the method further includes:
the data transmission equipment determines a target register for storing forwarding data from registers in the target slave station according to a preset forwarding strategy;
the data transmission device transmitting the target data to the target slave station, comprising:
the data transfer device transfers the target data to the target register.
Based on the first aspect of the embodiment of the present application, optionally, before the data transmission device transmits the target data to the target slave station, the data transmission device further includes:
the data transmission equipment judges whether a transmission switch is turned on or not;
and if the transmission switch is turned on, triggering the data transmission equipment to transmit the target data to the target slave station.
Based on the first aspect of the embodiments of the present application, optionally, the target slave station is a single serial asynchronous programmable logic controller, and the first slave station is a sensor.
A second aspect of the embodiments of the present application provides a data transmission device, including:
the data acquisition unit is used for acquiring data transmitted by the first slave station;
the data determining unit is used for determining target data from the data according to a preset forwarding strategy;
the target determining unit is used for determining a target slave station from a second slave station connected with the data transmission equipment according to the forwarding strategy; the target slave station is a slave station which is connected with the data transmission equipment by using a single serial port;
a transmission unit, configured to transmit the target data to the target slave station by the data transmission device.
A third aspect of the embodiments of the present application provides a data transmission device, including:
the system comprises a central processing unit, a memory, an input/output interface, a wired or wireless network interface and a power supply;
the memory is a transient memory or a persistent memory;
the central processing unit is configured to communicate with the memory, and execute the instruction operations in the memory on the data transmission device to perform the method according to any one of the first aspect of the embodiments of the present application.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, including instructions, which, when executed on a computer, cause the computer to perform the method of any one of the first aspects of embodiments of the present application.
Drawings
Fig. 1 is a schematic view of a conventional data transmission method;
FIG. 2 is a schematic flow chart diagram illustrating an embodiment of a data transmission method according to the present application;
FIG. 3 is another schematic flow chart diagram illustrating an embodiment of a data transmission method according to the present application;
fig. 4 is a schematic view of a scenario of an embodiment of the data transmission method of the present application;
FIG. 5 is a schematic structural diagram of an embodiment of a data transmission apparatus according to the present application;
fig. 6 is another schematic structural diagram of an embodiment of the data transmission device of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the application provides a data transmission method, which is used for the field of Internet of things.
The internet of things is a network type for connecting any terminal with a cloud platform through data transmission equipment. The terminal exchanges and communicates information with the cloud platform through the data transmission equipment to realize functions of intelligent identification, positioning, tracking, supervision and the like. In order to connect to the internet of things in the implementation process, each terminal needs to be connected with data transmission equipment. The data transmission equipment serves as a master station, the terminal serves as a slave station, the terminal transmits data to the data transmission equipment, and the data transmission equipment transmits the data to the cloud platform, so that the connection between the terminal and the cloud platform is realized.
In an industrial system, the application of the internet of things is mature day by day, and equipment related to the industrial system is connected through the industrial internet of things, so that the industrial system can communicate through the internet of things to complete processes such as digital and intelligent monitoring, maintenance and production. The operation efficiency of the industrial system is improved, the production period of the industrial system is reduced, and the production cost of the industrial system is further reduced.
In an industrial system which is not connected with the internet of things, a single serial port device, such as a single asynchronous serial port Programmable Logic Controller (PLC), can read real-time parameters of other related devices or sensors through some communication protocols and perform real-time control according to the parameters. Referring to fig. 1, a single asynchronous serial port PLC is used as a master station, and can acquire various data in sensors used as slave stations, and perform electrical control on the PLC itself or other devices according to the acquired various data. And the data transmission process between the master station and the slave station follows a Modbus communication protocol.
However, after the single asynchronous serial port PLC is connected into the Internet of things, the single asynchronous serial port PLC and the data transmission equipment establish a data communication relation, and the data transmission equipment is connected with the cloud platform, so that the connection process of the Internet is completed. Meanwhile, other related equipment or sensors which originally have a data communication relation with the single asynchronous serial port PLC are also connected with the data transmission equipment so as to establish a data communication relation with the cloud platform.
Under the condition, data communication between the single asynchronous serial port PLC and the related equipment or the sensor needs to be carried out through the uploading and issuing processes of the cloud platform, the real-time performance of the data is low, more data transmission work is brought, and the operation load of the equipment is increased.
Referring to fig. 2, an embodiment of a data transmission method according to the present application includes: step 201-step 204.
201. The data transmission device acquires data transmitted by the first slave station.
The data transmission device acquires data sent by the first slave station, the first slave station is a sensor or other terminal devices which take the data transmission device as a master station, and the data transmission device is used as an intermediate device in the Internet of things system and plays a role in connecting the terminal devices with the cloud platform and relaying data communication between the terminal devices and the cloud platform. The data transmitted by the first secondary station is typically real-time production data.
202. And the data transmission equipment determines target data to be forwarded from the data.
And the data transmission equipment determines target data to be forwarded from the data. And the data transmission equipment screens the obtained data of the first slave station and determines the data to be forwarded, wherein the data to be forwarded is generally the data required by other control type terminals connected with the same data transmission equipment. The screening rules of the target data may be determined as the case may be, for example: and determining that all the devices are target data, or determining that data sent by the first slave station at a certain moment is target data, and the like, which is not limited herein.
203. And the data transmission equipment determines a target slave station to be forwarded from a second slave station connected with the data transmission equipment according to a preset forwarding strategy.
The data transmission equipment determines a target slave station to be forwarded from a second slave station connected with the data transmission equipment according to a preset forwarding strategy; the second slave station is connected with the data transmission equipment through a single serial port.
The data transmission equipment determines a second slave station according to the connection of the forwarding strategy, the second slave station is connected with the data transmission equipment through a single serial port, and the serial port for data communication is connected with the data transmission equipment, so that data available from the serial port come from the data transmission equipment. The preset forwarding strategy comprises the following steps: the information of the first slave station, the information of the second slave station, the information of the target slave station, the type of data to be transferred, and further, the information of which transfer buffer in the target slave station to be transmitted in the transfer process can be included. In the implementation process, the method is not limited herein.
204. And the data transmission equipment transmits the target data to the target slave station.
And the data transmission equipment transmits the target data to the target slave station. After the data transmission equipment determines a data process to be transmitted through screening data and a target slave station process through a forwarding strategy, the target data can be transmitted to the target slave station, so that the target slave station utilizes the target data to make, adjust and execute a production plan.
According to the technical scheme, the embodiment of the application has the following advantages: the data transmission terminal transmits the acquired data to the second slave station needing the data through the forwarding strategy, so that the process that the second slave station requests the data from the cloud platform and transmits the data again is omitted, and the operation load of the device is reduced.
Referring to fig. 3, an embodiment of a data transmission method according to the present application includes: step 301-step 308.
A network architecture implementing this embodiment is shown in fig. 4, with the sensor and single-serial asynchronous PLC as slaves and the data transfer device as masters of the data transfer device. Data interaction is carried out between the master station and the slave station through an RS485 port, and data interaction is carried out between the data transmission equipment and the cloud platform through a mobile network.
301. The data transmission device obtains a forwarding policy.
The data transmission equipment acquires a forwarding strategy, wherein the forwarding strategy specifically comprises the following steps: the information of the first slave station and the information of the target slave station to be forwarded corresponding to the first slave station. Specifically, the forwarding policy may be recorded in a forwarding policy table, and refer to the forwarding policy table shown in table 1 below, where the information of the first slave station is the number of the first slave station, and the information of the target slave station includes the number of the second slave station and the register address of the second slave station.
TABLE 1
Figure BDA0002346883550000051
Generally, the forwarding strategy is that a plurality of first slave stations correspond to a single target slave station, and the data transmission process comprises the following steps: and acquiring data information of a plurality of first slave stations, and transmitting the data information to corresponding target slave stations through data transmission equipment. So that the target slave station can synthesize the data of the plurality of first slave stations for analysis and execution of the next operation. It will be appreciated that this is only one possible scenario in implementation, and in other cases there may be a single first slave station for a single target slave station or a single slave station for a plurality of target slave stations, e.g. for transfer settings for the purpose of storage or backup of data.
When the slave station 1, the slave station 2, the slave station 3 and the slave station 4 perform forwarding, the target slave stations corresponding to the slave stations are all the slave stations 7, and the first register shown in the third column is a forwarding policy shown in the second column. I.e. the register to which the target data is written during forwarding is the first register of the slave 7. The significance of storing in the first register is that the data obtained in this way is stored separately in a fixed register, facilitating the determination and acquisition process of the data by the target slave station when using the data. Similarly, the slave 5 and the slave 6 should forward the data forwarding policy shown in the above table to the second register of the slave 8 through the data transmission device.
The data forwarding strategy can be written in during the process that the equipment is initially connected into the internet of things through a local serial port, or the changed data forwarding strategy can be sent to the data transmission equipment through the cloud platform after the equipment is connected into the internet of things so as to achieve the purpose of changing the forwarding strategy.
The data transmission equipment mainly performs a data transmission function, the slave station address of data required to be acquired by the data transmission equipment needs to be configured in the execution process, and the transmission process of the acquired data follows a Modbus communication protocol. And issuing the acquired slave station data to the cloud platform through an instant messaging protocol (MQTT) such as a Message queue Telemetry Transport (Message queue Telemetry Transport), wherein the Quality of Service (QoS) of the cloud platform is 0. And for the data or the commands sent by the cloud platform to each slave station, the transmission process performed by the data transmission equipment also follows the Modbus communication protocol. The QoS of the data or the command sent by the cloud platform is 1. The service quality of the data is different between the data publishers, and the data published by the cloud platform is generally considered to be higher than the data published by the collection device.
It should be understood that there is no causal relationship between the step of obtaining the forwarding policy and the following steps 302, 303, and 304, and the implementation order is not limited to each other.
302. The data transmission device acquires data transmitted by the first slave station.
The data transmission device acquires data transmitted by the first slave station. The data transmitted by the first slave station may be data obtained by a sensor in an industrial production process, and specific data type, size and other information are not limited herein. The transmission process follows the Modbus communication protocol. This step is similar to step 201 in the embodiment corresponding to fig. 2, and is not repeated here.
303. The data transmission device judges whether data containing a specific identifier exists in the data.
And the data transmission equipment judges whether the data contains the data with the specific identification, selects the acquired data transmitted by the first slave station and judges whether the data contains the specific identification. The special identity may be address information of the slave station that sent the data, or data of a different type than other data that need not be forwarded. In a specific implementation process, the specific identifier may be determined according to an actual situation, and is not limited herein.
If there is data containing a specific identifier, triggering step 304, the data transmission device determines that the data containing the specific identifier is the target data.
304. And the data transmission equipment determines the data containing the specific identification as target data.
And the data transmission equipment determines the data containing the specific identification as target data. Target data is determined from data transmitted from the first slave station and is ready for transmission.
305. And the data transmission equipment determines a target slave station to be forwarded from a second slave station connected with the data transmission equipment according to a preset forwarding strategy.
And the data transmission equipment determines a target slave station to be forwarded from a second slave station connected with the data transmission equipment according to a preset forwarding strategy. The second slave station is connected with the data transmission equipment through a single serial port. And the data transmission equipment reads the forwarding strategy and determines a target slave station to which the target data needs to be transmitted according to the information of the source slave station and the like of the target data to be transmitted. The second slave station is a single serial port device, and a typical single serial port device can be a single serial port PLC or a single serial port industrial control touch screen. Taking a single serial port PLC as an example, in an industrial production process, the single serial port PLC needs data parameters of other devices to generate a production plan or perform operations such as adjustment of the production plan.
306. And the data transmission equipment determines a target register for storing forwarding data from registers in the target slave station according to a preset forwarding strategy.
And the data transmission equipment determines a target register for storing forwarding data from registers in the target slave station according to a preset forwarding strategy. The preset forwarding policy may include not only the address of the target slave station, but also further include the address of a specific register of the target slave station so as to directly transmit the data to the corresponding register, and directly storing the data to the corresponding register may facilitate the target slave station to determine and obtain the data when using the data.
307. The data transmission device determines whether the transmission switch is open.
The data transmission device determines whether the transmission switch is open. The on and off of the transmission switch can be set manually or can be automatically executed according to the specific conditions of the equipment, for example, strategies such as automatically turning off the transmission switch when the data quantity of the register reaches a certain degree are adopted, the data transmission equipment judges whether the transmission switch is turned on, and the state of the transmission switch is related to the state of the target register; specifically, the method comprises the following steps: if the data volume contained in the register is higher than or equal to a certain preset range, the transmission switch is in an open state; and if the data volume contained in the register is lower than a certain preset range, the transmission switch is in a closed state. The specific implementation process is not limited herein.
If the transfer switch is in the on state, then step 308 is triggered to transfer the target data to the target register by the data transfer device. It should be noted that, as for the execution sequence of the step of determining whether the transmission switch is turned on by the data transmission device, there is no causal relationship between the above steps 301 to 306, it only needs to be executed before the following step 308. The judgment of the transmission switch before transmission can ensure the real-time performance of the judgment result.
308. The data transfer device transfers the target data to the target register.
And the data transmission equipment transmits the target data to the target slave station. After the data transmission equipment determines a data process to be transmitted through screening data and a target slave station process through a forwarding strategy, the target data can be transmitted to the target slave station, so that the target slave station utilizes the target data to make, adjust and execute a production plan.
Referring to fig. 4, an embodiment of a data transmission apparatus according to the present application includes: a data acquisition unit 501, a data determination unit 502, a target determination unit 503, and a transmission unit 504, wherein:
a data obtaining unit 501, configured to obtain data transmitted by a first slave station;
a data determining unit 502, configured to determine target data from the data according to a preset forwarding policy;
a target determining unit 503, configured to determine a target slave station from second slave stations connected to the data transmission device according to the forwarding policy; the target slave station is a slave station which is connected with the data transmission equipment by using a single serial port;
a transmitting unit 504, configured to transmit the target data to the target slave station by the data transmission device.
In this embodiment, the flow executed by the data obtaining unit, the data determining unit, the target determining unit, and the transmitting unit is similar to the flow of the method described in the embodiment corresponding to fig. 1, and is not described herein again.
Fig. 6 is a schematic structural diagram of a data transmission device according to an embodiment of the present application, where the server 600 may include one or more Central Processing Units (CPUs) 601 and a memory 605, where the memory 605 stores one or more application programs or data.
In this embodiment, the specific functional module division in the central processing unit 601 may be similar to the functional module division of the data obtaining unit, the data determining unit, the target determining unit, the transmitting unit and the like described in fig. 5, and is not described herein again.
The memory 605 may be volatile storage or persistent storage, among other things. The program stored in the memory 605 may include one or more modules, each of which may include a sequence of instructions operating on a server. Still further, the central processor 601 may be configured to communicate with the memory 605 to execute a series of instruction operations in the memory 605 on the server 600.
The server 600 may also include one or more power supplies 602, one or more wired or wireless network interfaces 603, one or more input-output interfaces 604, and/or one or more operating systems, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The central processing unit 601 may perform the operations performed by the data transmission method in the embodiment shown in fig. 2, and details thereof are not described herein.
The embodiment of the present application further provides a computer storage medium, which is used for storing computer software instructions for the data transmission method, and includes a program for executing the data transmission method.
The data transmission method may be as described in the foregoing embodiments corresponding to fig. 2 or fig. 4.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.

Claims (10)

1. A method of data transmission, comprising:
the data transmission equipment acquires data sent by a first slave station;
the data transmission equipment determines target data to be forwarded from the data;
the data transmission equipment determines a target slave station to be forwarded from a second slave station connected with the data transmission equipment according to a preset forwarding strategy; the second slave station is connected with the data transmission equipment by using a single serial port;
the data transmission device transmits the target data to the target slave station.
2. The data transmission method of claim 1, further comprising:
the data transmission equipment acquires a forwarding strategy, wherein the forwarding strategy comprises the following steps: the information of the first slave station and the information of the target slave station to be forwarded corresponding to the first slave station.
3. The data transmission method according to claim 2, wherein the data transmission device obtaining the forwarding policy comprises:
the data transmission equipment acquires a forwarding strategy through a local serial port; or the like, or, alternatively,
the data transmission equipment acquires a forwarding strategy sent by the cloud platform through the Internet of things.
4. The data transmission method according to claim 1, wherein the data transmission device determines target data to be forwarded from the data, and comprises:
the data transmission equipment judges whether data containing a specific identifier exists in the data;
and if the data containing the specific identification exists, determining that the data containing the specific identification is target data.
5. The data transmission method according to claim 1, wherein after the data transmission device determines a target slave station to be forwarded from a second slave station connected to the data transmission device according to a preset forwarding policy, the method further comprises:
the data transmission equipment determines a target register for storing forwarding data from registers in the target slave station according to a preset forwarding strategy;
the data transmission device transmitting the target data to the target slave station, comprising:
the data transfer device transfers the target data to the target register.
6. The data transmission method according to claim 1, wherein before the data transmission device transmits the target data to the target secondary station, the method further comprises:
the data transmission equipment judges whether a transmission switch is turned on or not;
and if the transmission switch is turned on, triggering the data transmission equipment to transmit the target data to the target slave station.
7. The data transmission method of claim 1, wherein the target slave station is a single serial port asynchronous programmable logic controller and the first slave station is a sensor.
8. A data transmission device, comprising:
the data acquisition unit is used for acquiring data sent by the first slave station;
the data determining unit is used for determining target data to be forwarded from the data;
the target determining unit is used for determining a target slave station to be forwarded from a second slave station connected with the data transmission equipment according to a preset forwarding strategy; the second slave station is connected with the data transmission equipment by using a single serial port;
and the transmission unit is used for transmitting the target data to the target slave station.
9. A data transmission device, comprising:
the system comprises a central processing unit, a memory, an input/output interface, a wired or wireless network interface and a power supply;
the memory is a transient memory or a persistent memory;
the central processor is configured to communicate with the memory, the instructions in the memory operating to perform the method of any of claims 1 to 7 on the data transfer device.
10. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 7.
CN201911398299.XA 2019-12-30 2019-12-30 Data transmission method, device and storage medium Pending CN111131489A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911398299.XA CN111131489A (en) 2019-12-30 2019-12-30 Data transmission method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911398299.XA CN111131489A (en) 2019-12-30 2019-12-30 Data transmission method, device and storage medium

Publications (1)

Publication Number Publication Date
CN111131489A true CN111131489A (en) 2020-05-08

Family

ID=70505479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911398299.XA Pending CN111131489A (en) 2019-12-30 2019-12-30 Data transmission method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111131489A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170473A (en) * 2006-10-27 2008-04-30 京信通信技术(广州)有限公司 Slave station active communication method in star half duplex link
CN103107930A (en) * 2013-02-04 2013-05-15 武汉华中数控股份有限公司 Fieldbus implementation method based on master station device and slave station device
CN103209042A (en) * 2012-01-12 2013-07-17 横河电机株式会社 Time synchronization system
CN103634028A (en) * 2012-08-23 2014-03-12 海尔集团公司 PLC household electrical appliance communication terminal system
US20170339109A1 (en) * 2015-07-29 2017-11-23 Shenyang Institute Of Automation, Chinese Academy Of Sciences Method for controlling transmission security of industrial communications flow based on sdn architecture
CN108062689A (en) * 2017-12-22 2018-05-22 深圳市英威腾电气股份有限公司 A kind of method, apparatus, equipment and the readable storage medium storing program for executing of monitoring trade information
CN108924134A (en) * 2018-06-30 2018-11-30 合肥浪金防伪科技有限公司 A kind of PLC household electrical appliance communication terminal system based on Internet of Things

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170473A (en) * 2006-10-27 2008-04-30 京信通信技术(广州)有限公司 Slave station active communication method in star half duplex link
CN103209042A (en) * 2012-01-12 2013-07-17 横河电机株式会社 Time synchronization system
CN103634028A (en) * 2012-08-23 2014-03-12 海尔集团公司 PLC household electrical appliance communication terminal system
CN103107930A (en) * 2013-02-04 2013-05-15 武汉华中数控股份有限公司 Fieldbus implementation method based on master station device and slave station device
US20170339109A1 (en) * 2015-07-29 2017-11-23 Shenyang Institute Of Automation, Chinese Academy Of Sciences Method for controlling transmission security of industrial communications flow based on sdn architecture
CN108062689A (en) * 2017-12-22 2018-05-22 深圳市英威腾电气股份有限公司 A kind of method, apparatus, equipment and the readable storage medium storing program for executing of monitoring trade information
CN108924134A (en) * 2018-06-30 2018-11-30 合肥浪金防伪科技有限公司 A kind of PLC household electrical appliance communication terminal system based on Internet of Things

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘泽: ""伺服控制系统以太网接口的应用研究"", 《中国优秀硕士论文全文数据库》 *

Similar Documents

Publication Publication Date Title
KR101706876B1 (en) Service processing method and device
CN105898893B (en) Full-duplex communication method for mobile terminal and Internet of things equipment
CN107204979A (en) A kind of information processing method and gateway device
CN111464419A (en) Data transmission control method based on bus network communication
CN110069288A (en) USB device sharing method, apparatus and system
CN114285695B (en) Communication method, device, apparatus, system and storage medium
WO2019015051A1 (en) Method and apparatus for switching operating modes
CN105607940A (en) Method for transmitting information to UEFI BIOS from BDK in ARM platform
CN110071950B (en) Information transmission method, transfer device, terminal, controlled device and storage medium
CN109884971A (en) Long-range control method, apparatus and system
CN111131489A (en) Data transmission method, device and storage medium
US20170168473A1 (en) Signalling of specification information on an industrial device
WO2022166886A1 (en) Data acquisition method and apparatus
CN114422613A (en) Edge computing equipment for heating system
CN105182807B (en) A kind of data processing method of the data acquisition processing system based on 3G network
CN111314284B (en) Power distribution terminal-based protocol conversion method and system capable of expanding MODBUS
CN113115416A (en) Control method, device and system for doorbell equipment
CN115065966B (en) Terminal and communication method
CN102013918B (en) Method, system and device for transmitting data
CN115599311B (en) Polarity inversion method and apparatus, storage medium, and electronic apparatus
WO2023231725A1 (en) Information transmission method and apparatus, storage medium, and electronic device
CN109413262B (en) Wireless storage management system
CN109974214A (en) Method, apparatus, system and the terminal of equipment regulation
CN106170022B (en) Distributed multimedia sensor control system
CN117896204A (en) CAN-based microwave power supply communication method and device, electronic equipment and storage medium

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

Application publication date: 20200508