CN113259435A - Data transmission method and system for radiation measuring instrument - Google Patents
Data transmission method and system for radiation measuring instrument Download PDFInfo
- Publication number
- CN113259435A CN113259435A CN202110524325.XA CN202110524325A CN113259435A CN 113259435 A CN113259435 A CN 113259435A CN 202110524325 A CN202110524325 A CN 202110524325A CN 113259435 A CN113259435 A CN 113259435A
- Authority
- CN
- China
- Prior art keywords
- data packet
- address
- radiation
- data
- measuring instrument
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q9/00—Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E30/00—Energy generation of nuclear origin
- Y02E30/30—Nuclear fission reactors
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The embodiment of the invention provides a data transmission method and a data transmission system for a radiation measuring instrument, which are characterized in that a data packet sent by the radiation measuring instrument is obtained by packaging radiation data acquired by radiation measurement into an Ethernet protocol, a data source of the radiation data is an address of the radiation measuring instrument, and a target address of the radiation data is an address of a remote server; then according to the target address, determining the tunnel address of the remote access equipment corresponding to the radiation data; and finally, processing the data packet according to the tunnel address, and sending the processed data packet to the remote access equipment so that the remote access equipment forwards the processed data packet to the remote server. The service load can be shared by deploying a plurality of remote servers, so that the number of the managed devices can be greatly increased to hundreds, thousands or tens of thousands. In addition, the embodiment of the invention carries out data transmission through the Ethernet protocol, can transmit radiation data in a park and also can transmit the radiation data on the Internet, and is not limited by distance.
Description
Technical Field
The invention relates to the technical field of data transmission, in particular to a data transmission method and system for a radiation measuring instrument.
Background
The radiometer is used for measuring radiation data of high-energy or low-energy x-rays and gamma rays, and the radiation data are transmitted to a remote server for monitoring, storing and backtracking after being collected.
In the prior art, a data receiver may be configured on the remote server for receiving radiation data acquired by the radiation measuring instrument, an RS485 or RS232 interface may be configured on the radiation measuring instrument and the data receiver, respectively, and data transmission is performed by using a Modbus protocol through the RS485 or RS232 interface.
The communication scheme between the radiation measuring instrument and the data receiver has the following problems: when data transmission is carried out through an RS485 or RS232 interface, the number of devices managed by an RS485 protocol is limited, and the RS485 transmission distance is limited.
Disclosure of Invention
The embodiment of the invention provides a data transmission method and a data transmission system for a radiation measuring instrument, which are used for overcoming the defects in the prior art.
The embodiment of the invention provides a data transmission method of a radiation measuring instrument, which comprises the following steps:
acquiring a data packet sent by a radiation measuring instrument, wherein the data packet is obtained by packaging radiation data acquired by the radiation measurement to an Ethernet protocol, a data source of the radiation data is an address of the radiation measuring instrument, and a target address of the radiation data is an address of a remote server;
determining a tunnel address of the remote access equipment corresponding to the radiation data based on the target address;
and processing the data packet based on the tunnel address, and sending the processed data packet to a remote access device so that the remote access device forwards the processed data packet to a remote server.
According to the data transmission method of the radiometer in an embodiment of the present invention, the determining, based on the target address, a tunnel address of the remote access device corresponding to the radiometric data specifically includes:
based on the target address, inquiring in a first local database, wherein the first local database stores the corresponding relation between each target address and the tunnel address;
and if the query result of the first local database is judged to be not empty, determining that the query result of the first local database is the tunnel address.
According to the data transmission method of the radiometer of an embodiment of the present invention, the sending the processed data packet to the remote access device specifically includes:
based on the tunnel addresses, inquiring in a second local database, wherein the second local database stores the corresponding relation between each tunnel address and the exit address as well as the link quality;
and if the query result of the second local database is judged to be not empty, sending the processed data packet to the remote server based on the query result of the second local database.
According to an embodiment of the present invention, the radiometer data transmission method, after the querying in the second local database based on the tunnel address, further includes:
if the query result of the second local database is judged to be empty, querying is carried out in a third local database based on the tunnel address, and the third local database stores the corresponding relation between each tunnel address and the transit tunnel address, the exit address and the link quality;
and if the query result of the third local database is judged to be not empty, sending the processed data packet to the remote server based on the query result of the third local database.
The embodiment of the invention also provides a data transmission method of the radiation measuring instrument, which comprises the following steps:
receiving a target data packet, wherein the target data packet is obtained by processing a data packet obtained by encapsulating radiation data acquired by a radiation measuring instrument through a radiation measuring instrument end access device;
and processing the target data packet, and sending the processed target data packet to a remote server.
An embodiment of the present invention further provides a radiation measuring apparatus end access device, including:
the system comprises an acquisition module, a remote server and a data processing module, wherein the acquisition module is used for acquiring a data packet sent by a radiation measuring instrument, the data packet is obtained by packaging radiation data acquired by radiation measurement to an Ethernet protocol, a data source of the radiation data is a radiation measuring instrument address, and a target address of the radiation data is a remote server address;
a determining module, configured to determine, based on the target address, a tunnel address of a remote access device corresponding to the radiation data;
and the sending module is used for processing the data packet based on the tunnel address and sending the processed data packet to the remote access equipment so that the remote access equipment forwards the processed data packet to the remote server.
An embodiment of the present invention further provides a remote access device, including:
the receiving module is used for receiving a target data packet, and the target data packet is obtained by processing a data packet obtained by packaging radiation data acquired by a radiation measuring instrument through a radiation measuring instrument end access device;
and the sending module is used for processing the target data packet and sending the processed target data packet to a remote server.
An embodiment of the present invention further provides a data transmission system for a radiation measuring instrument, including: said radiation measuring instrument end access device and said remote access device;
the radiation measuring instrument end access device is used for connecting the radiation measuring instrument and the internet in a communication mode;
and the remote access equipment is used for connecting the Internet and the remote server in a communication way.
The embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement any of the steps of the radiation measuring instrument data transmission method described above.
Embodiments of the present invention also provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the radiometer data transmission method according to any of the above-mentioned methods.
The data transmission method and system for the radiation measuring instrument provided by the embodiment of the invention firstly obtain a data packet sent by the radiation measuring instrument, wherein the data packet is obtained by packaging radiation data acquired by radiation measurement into an Ethernet protocol, a data source of the radiation data is an address of the radiation measuring instrument, and a target address of the radiation data is an address of a remote server; then according to the target address, determining the tunnel address of the remote access equipment corresponding to the radiation data; and finally, processing the data packet according to the tunnel address, and sending the processed data packet to the remote access equipment so that the remote access equipment forwards the processed data packet to the remote server. In the embodiment of the invention, because the radiation measuring instrument side access equipment and the remote end access equipment exist, the service load can be shared by deploying a plurality of remote end servers, so that the number of the managed equipment can be greatly increased to hundreds, thousands or tens of thousands. In addition, the embodiment of the invention carries out data transmission through the Ethernet protocol, can transmit radiation data in a park and also can transmit the radiation data on the Internet, and is not limited by distance.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data transmission method for a radiometer according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an intelligent routing method for an access device in a data transmission method for a radiometer according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a data transmission method of a radiometer according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a data transmission method of a radiometer according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a data transmission method of a radiometer according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a radiation measuring instrument end access device provided in an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a remote access device provided in an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a remote access device provided in an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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.
Because data transmission is carried out between the existing radiation measuring instrument and the data receiver through an RS485 or RS232 interface, the number of devices managed by an RS485 protocol is limited, and the RS485 transmission distance is limited. Therefore, the embodiment of the invention provides a data transmission method for a radiation measuring instrument, which aims to solve the problems in the prior art.
Fig. 1 is a schematic flow chart of a data transmission method for a radiometer according to an embodiment of the present invention, as shown in fig. 1, the method includes:
s11, acquiring a data packet sent by a radiation measuring instrument, wherein the data packet is obtained by packaging radiation data acquired by the radiation measurement into an Ethernet protocol, a data source of the radiation data is an address of the radiation measuring instrument, and a target address of the radiation data is an address of a remote server;
s12, determining the tunnel address of the remote access device corresponding to the radiation data based on the target address;
and S13, processing the data packet based on the tunnel address, and sending the processed data packet to a remote access device, so that the remote access device forwards the processed data packet to a remote server.
Specifically, in the data transmission method for a radiation measuring instrument provided in the embodiment of the present invention, the execution main body is a radiation measuring instrument Access device, where the radiation measuring instrument Access device is an Access device configured on one side of the radiation measuring instrument, and the Access device may also be referred to as a Client Access Point (CAP) and is configured to acquire a data packet sent by the radiation measuring instrument, process the data packet, and transmit the processed data packet to a remote Access device through the internet. A virtual access device CAP (i.e., a vCAP) may be deployed in a public cloud of the internet, and is used to establish an encryption channel with physical CAPs such as a radiation measurement instrument access device and a remote access device, where the vCAP includes an external network and an internal network, and a virtual server is deployed in the internal network, and server software for receiving, storing, and displaying data is installed. The CAP and the vCAP are intercommunicated on the Internet channel through a vxlan over IPSEC encryption algorithm. The radiation measuring instrument can dynamically acquire a private network IP address through the radiation measuring instrument end CAP and configure a remote server intranet address.
Any CAP and other CAPs are directly interconnected through an encryption tunnel, one or more internal subnets can be connected inside each CAP, and the internal networks in all CAPs can be configured to be not intercommunicated at all or to be intercommunicated among designated subnets. The monitoring software of the radiometer may be deployed anywhere in the network. In order to avoid the failure of data packet transmission caused by single network failure, a wired network and a 4G/5G wireless network can be dynamically selected in the CAP to transmit data.
The remote access device is an access device CAP on the side of the remote server, and the access device is used for receiving the data packet sent by the access device of the radiation measuring instrument, processing the received data packet and forwarding the processed data packet to the remote server. In the embodiment of the invention, the remote server can be a monitoring server, and monitoring software can be deployed on the remote server so as to realize the monitoring function of the radiation measuring instrument according to the processed data packet. In the embodiment of the invention, each CAP can be configured with a wired and 4G/5G dual uplink port, and when a wired link fails, the data can be dynamically adjusted to a 4G/5G link for data transmission.
First, step S11 is executed, and the CAP acquires a data packet sent by the radiometer. Before the data packet is obtained, the radiation data is collected by the radiation measuring instrument, then the radiation data is directly packaged into the Ethernet protocol, and finally the obtained data packet is sent to the CAP. The Ethernet protocol may be an Ethernet TCP/UDP protocol. In the packaging process, the data source of the specified radiation data is a local address, namely a radiation measuring instrument address, and the target address of the specified radiation data is a remote server address, namely an address of a server in a remote subnet.
Then, step S12 is executed to determine the tunnel address of the remote access device corresponding to the radiation data according to the target address. The determining means may be that the local server of the CAP stores a corresponding relationship between the target address and the tunnel address, and then determines the tunnel address of the remote access device corresponding to the radiation data by combining the target address of the radiation data in step S11.
And finally, executing the step S13, processing the data packet according to the tunnel address determined in the step S12, and then sending the processed data packet to the remote access equipment so that the remote access equipment forwards the processed data packet to the remote server. The processing of the data packet according to the tunnel address may include adding a tunnel header to the radiation data according to the tunnel address, and encrypting the radiation data. The encryption may be implemented by using a vxlan over IPSEC encryption algorithm, or may be implemented by using other encryption algorithms, which is not specifically limited in the embodiment of the present invention.
The data transmission method of the radiation measuring instrument provided by the embodiment of the invention comprises the steps of firstly obtaining a data packet sent by the radiation measuring instrument, wherein the data packet is obtained by packaging radiation data acquired by radiation measurement into an Ethernet protocol, the data source of the radiation data is the address of the radiation measuring instrument, and the target address of the radiation data is the address of a remote server; then according to the target address, determining the tunnel address of the remote access equipment corresponding to the radiation data; and finally, processing the data packet according to the tunnel address, and sending the processed data packet to the remote access equipment so that the remote access equipment forwards the processed data packet to the remote server. In the embodiment of the invention, the service load can be shared by deploying a plurality of remote servers, so that the number of the managed equipment can be greatly increased to hundreds, thousands or tens of thousands. In addition, the embodiment of the invention carries out data transmission through the Ethernet protocol, can transmit radiation data in a park and also can transmit the radiation data on the Internet, and is not limited by distance.
Because data transmission is carried out through the RS485 or RS232 interface, cables need to be deployed, the construction time is long, and the cables are deployed in an external mode, so that the appearance is affected, and the method is unsafe. Therefore, in the embodiment of the present invention, when the radiometer sends the data packet to the CAP, the data packet may be sent in a wired communication manner or a wireless communication manner. The wired communication mode may be implemented by RJ45 network cable, and the wireless communication mode may be implemented by wifi signal, which is not specifically limited in the embodiment of the present invention. Through wifi signal transmission radiation data, do not have extra requirement to the garden, need not dispose the cable conductor, it is long to have practiced thrift the engineering time, has guaranteed the pleasing to the eye and the security in garden moreover, is convenient for install again very much.
On the basis of the foregoing embodiment, the method for transmitting data of a radiation measuring instrument according to an embodiment of the present invention, where determining, based on the target address, a tunnel address of a remote access device corresponding to the radiation data specifically includes:
based on the target address, inquiring in a first local database, wherein the first local database stores the corresponding relation between each target address and the tunnel address;
and if the query result of the first local database is judged to be not empty, determining that the query result of the first local database is the tunnel address.
Specifically, in the embodiment of the present invention, when determining the tunnel address of the remote access device corresponding to the radiation Data according to the target address, firstly, a query is performed in a first local database (Data Base, DB) according to the target address, and the first DB stores therein a correspondence relationship between each target address and the tunnel address, which is usually stored in the first DB in a table form, as shown in table 1.
TABLE 1 correspondence between target addresses and Tunnel addresses
As can be seen from table 1, the destination address is denoted by CIDR, and a plurality of destination addresses may correspond to a tunnel address of the remote access device to which the radiation data corresponds. The purpose of the query in the first DB is to determine whether a tunnel address corresponding to the target address is stored in the first DB. If the query result of the first DB is not null, it is indicated that the first DB stores the tunnel address corresponding to the target address, and the query result of the first DB is the tunnel address. And if the query result of the first DB is null, the remote access equipment corresponding to the radiation data is indicated to be wrongly configured, the data packet is directly discarded, and an error log is recorded.
In the embodiment of the invention, the tunnel address is determined by inquiring the first local database, so that the obtained tunnel address is more accurate, and the process of determining the tunnel address is simpler.
On the basis of the foregoing embodiment, the radiation measuring instrument data transmission method provided in the embodiment of the present invention, where sending the processed data packet to the remote access device, specifically includes:
based on the tunnel addresses, inquiring in a second local database, wherein the second local database stores the corresponding relation between each tunnel address and the exit address as well as the link quality;
and if the query result of the second local database is judged to be not empty, sending the processed data packet to the remote server based on the query result of the second local database.
Specifically, in the embodiment of the present invention, after determining the tunnel address, when sending the processed packet to the remote CAP, first, according to the tunnel address, a query is performed in the second DB, where a correspondence relationship between each tunnel address, an egress address, and link quality is stored in the second DB, and the correspondence relationship is usually stored in the second DB in a table form, as shown in table 2.
TABLE 1 correspondence between tunnel addresses and exit addresses, link quality
As can be seen from Table 2, the same egress address may correspond to different tunnel addresses, and the egress types may include wired and 4G/5G. The purpose of querying in the second DB is to determine whether the tunnel address of the remote access device corresponding to the radiation data has a corresponding exit address and link quality in the second DB, and may select a target link with better link quality, i.e. a target tunnel. That is, when the query result of the second DB is not empty, the query result of the second DB is the target tunnel with the better exit address and link quality.
And then, encapsulating the target tunnel according to the inquired exit address, and sending the processed data packet to a remote server through the target tunnel.
In the embodiment of the invention, the exit address and the target tunnel are determined by inquiring the second DB, so that the obtained exit address and the target tunnel are more accurate, and the determination process is simpler.
On the basis of the foregoing embodiment, the radiometer data transmission method provided in the embodiment of the present invention, where the query is performed in the second local database based on the tunnel address, further includes:
if the query result of the second local database is judged to be empty, querying is carried out in a third local database based on the tunnel address, and the third local database stores the corresponding relation between each tunnel address and the transit tunnel address, the exit address and the link quality;
and if the query result of the third local database is judged to be not empty, sending the processed data packet to the remote server based on the query result of the third local database.
Specifically, in the embodiment of the present invention, after the query is performed in the second DB according to the tunnel address, if the query result of the second DB is empty, that is, if there is no target link with good link quality in the second DB, it indicates that the link quality of all links corresponding to the link address in the second DB is in the interrupted state, the query is performed in the third DB according to the tunnel address, and the third DB stores the correspondence between each tunnel address and the transit tunnel address, the egress address, and the link quality, and the correspondence is usually stored in the third DB in the form of a table, as shown in table 3. Each radiation measuring instrument end CAP can establish a tunnel with a plurality of remote end CAPs, when a certain tunnel detects a fault, the tunnel can be dynamically transferred through other CAPs, and at the moment, the tunnels of other CAPs are transfer tunnels.
TABLE 3 correspondence between tunnel addresses and transit tunnel addresses, egress addresses, and link quality
Tunnel address | Transit tunnel address | Egress address | Link quality |
AAAA | BBBB | XXXX | 80ms/5%/10ms |
BBBB | AAAA | YYYY | 80ms/5%/10ms |
The purpose of querying in the third local database is to determine whether the tunnel address has a corresponding transit tunnel address, an egress address, and a link quality in the third DB.
And if the query result of the third DB is not null, the query result of the third DB is that the transit tunnel address, the exit address and the link quality corresponding to the tunnel address are stored in the third DB. And then, encapsulating the transit tunnel according to the inquired exit address, and sending the processed data packet to a remote server through the transit tunnel.
And if the query result of the third DB is empty, namely the query result of the third DB is that the third DB has no transit tunnel address, exit address and link quality corresponding to the tunnel address, indicating that the configuration is wrong, directly discarding and recording an error log.
In the embodiment of the invention, when the link quality of all links corresponding to the link address is in the interruption state, the processed data packet can be sent to the remote server through the transit tunnel address, so that the normal sending of the processed data packet is ensured. Moreover, the exit address and the transit tunnel are determined by inquiring the third DB, so that the obtained exit address and the transit tunnel are more accurate, and the determination process is simpler.
Fig. 2 is a schematic flowchart of an intelligent routing method for an access device in a radiometer data transmission method according to an embodiment of the present invention, where as shown in fig. 2, the method includes:
and S21, querying the first DB according to the target address of the received data packet to obtain the tunnel address of the remote access device corresponding to the radiation data.
S22, judging whether the query result is empty, if so, indicating configuration error, directly discarding, recording error log, and ending the process; if the query result is not null, continuing to execute step S23;
s23, according to the tunnel address, inquiring the second DB, finding the exit address and the link quality corresponding to the tunnel address, and selecting one of the target tunnels with better link quality;
s24, judging whether a target tunnel with better link quality is selected, if so, continuing to execute step S25, and if the link quality is in an interruption state, continuing to execute step S26;
s25, packaging the target tunnel according to the inquired exit address, and transmitting the processed data packet;
s26, inquiring the third DB, and determining the transit tunnel address and the link quality which can be transited by the target tunnel;
s27, judging whether the query result is empty, if not, continuing to execute the step S28; and if the query result is null, indicating that the configuration is wrong, directly discarding, recording an error log, and receiving the flow.
And S28, encapsulating the transit tunnel according to the inquired exit address, and transmitting the processed data packet.
Fig. 3 is a schematic flow chart of a data transmission method for a radiation measuring instrument according to an embodiment of the present invention, and as shown in fig. 3, the method is a data reporting method for a radiation measuring instrument, and includes:
s31, the radiation measuring instrument periodically collects radiation data;
s32, the radiation measuring instrument directly packages the radiation data into the Ethernet TCP/UDP protocol to obtain a data packet, the data source is designated as the local address, the destination address is the address of the remote server, and the data packet is sent to the pre-configured remote server;
s33, the radiation measuring instrument sends a data packet to a radiation measuring instrument end CAP through a wifi signal;
s34, the radiation measuring instrument terminal CAP receives the data packet;
s35, the radiation measuring instrument end CAP judges which vCAP or far-end CAP the data packet is sent to;
s36, processing the data packet, including tunneling, encrypting and the like;
s37, selecting a path according to the link quality;
and S38, sending out the processed data packet.
Fig. 4 is a schematic flow chart of a data transmission method for a radiometer according to an embodiment of the present invention, as shown in fig. 4, the method includes:
s41; receiving a target data packet, wherein the target data packet is obtained by processing a data packet obtained by encapsulating radiation data acquired by a radiation measuring instrument through a radiation measuring instrument end access device;
and S42, processing the target data packet, and sending the processed target data packet to a remote server.
Specifically, in the data transmission method for a radiation measuring instrument provided in the embodiment of the present invention, an execution subject is a remote Access device, where the remote Access device is an Access device configured on one side of a remote server, and the Access device may also be referred to as a Client Access Point (CAP), and is configured to receive a data packet sent by the radiation measuring instrument Access device, process the data packet, and forward the processed data packet to the remote server for monitoring. In the embodiment of the invention, the remote server can be a monitoring server, and monitoring software can be deployed on the remote server so as to realize the monitoring function of the radiation measuring instrument according to the processed data packet.
Step S41 is executed first, and a target data packet is received, and the target data packet may be sent through the radiation measuring instrument terminal CAP. The radiation measuring instrument end CAP may receive a data packet obtained by encapsulating the acquired radiation data by the radiation measuring instrument, process the data packet to obtain a target data packet, and send the target data packet to the radiation measuring instrument end CAP. The receiving of the target data may be performed on a tunnel port, and may be received in a wired manner such as an ethernet, and may also be received in a wireless manner such as a wifi signal and 4G/5G, which is not specifically limited in the embodiment of the present invention.
Then, step S42 is executed to process the target data packet, where the processing may include decrypting the radiation data in the target data packet, stripping the tunnel, and then sending the processed target data packet to the remote server. The method for sending the processed target data packet to the remote server may be implemented through an RJ45 interface, which is not specifically limited in the embodiment of the present invention.
Fig. 5 is a schematic flow chart of a data transmission method for a radiometer according to an embodiment of the present invention, where as shown in fig. 5, the method includes:
s51, the remote access device receives the target data packet on the tunnel port;
s52, performing decryption, tunnel stripping and other processing on the radiation data in the target data packet;
s53, transmitting the processed target data packet from Ethernet ports such as RJ45 interface;
and S54, receiving the processed target data packet through the remote server.
Fig. 6 is a schematic structural diagram of a radiation measuring instrument access device provided in an embodiment of the present invention, and as shown in fig. 6, the device includes:
an obtaining module 61, configured to obtain a data packet sent by a radiation measurement instrument, where the data packet is obtained by encapsulating radiation data acquired by the radiation measurement instrument to an ethernet protocol, a data source of the radiation data is an address of the radiation measurement instrument, and a target address of the radiation data is an address of a remote server;
a determining module 62, configured to determine, based on the target address, a tunnel address of a remote access device corresponding to the radiation data;
a sending module 63, configured to process the data packet based on the tunnel address, and send the processed data packet to a remote access device, so that the remote access device forwards the processed data packet to a remote server.
Specifically, the functions of the modules in the radiation measuring instrument end access device provided in the embodiment of the present invention correspond to the operation flows of the steps in the method embodiments in which the radiation measuring instrument end access device is used as the execution main body one to one, and the implementation effects are also consistent.
Fig. 7 is a schematic structural diagram of a remote access device provided in an embodiment of the present invention, and as shown in fig. 7, the remote access device includes:
a receiving module 71, configured to receive a target data packet, where the target data packet is obtained by processing a data packet obtained by encapsulating radiation data acquired by a radiation measurement instrument through a radiation measurement instrument end access device;
a sending module 72, configured to process the target data packet, and send the processed target data packet to a remote server.
Specifically, the functions of the modules in the remote access device provided in the embodiment of the present invention are in one-to-one correspondence with the operation flows of the steps in the method class embodiments that use the remote access device as an execution main body, and the implementation effects are also consistent.
Fig. 8 is a schematic networking diagram of a data transmission system of a radiation measuring instrument provided in an embodiment of the present invention, and as shown in fig. 8, the system includes: the radiation measuring instrument end access device 81 and the remote end access device 82 in the above-described device embodiments;
the radiation measuring instrument end access device 81 is used for connecting the radiation measuring instrument 80 and the internet 83 in a communication manner;
the remote access device 82 is configured to communicatively couple the internet 83 and a remote server 84.
Specifically, in the embodiment of the present invention, the Access device, that is, a Client Access Point (CAP), is configured to Access a data packet sent by the radiation measurement instrument, encrypt the data packet, transmit the encrypted data packet over the internet, and send the encrypted data packet to a remote CAP. CAP can support multiple access modes such as Wifi, RJ45 net twine. The CAP can access the internet in a variety of ways, including wired broadband, 4G, 5G, etc.
A virtual CAP (i.e., vCAP) is deployed in the public cloud of the internet 83 for establishing an encrypted channel with the physical CAP. The vCAP comprises an external network and an internal network, wherein a virtual server is deployed in the internal network, and server software for receiving, storing and displaying data is installed. The CAP and the vCAP are intercommunicated on the Internet channel through a vxlan over IPSEC encryption algorithm.
The embodiment of the invention provides a novel networking and communication mode for data transmission of a radiation measuring instrument, and the novel fusion type access equipment can be accessed into various radiation measuring instruments in various modes such as RS485, RS232 and Wifi, networking and intercommunication are carried out between the access equipment through various network modes such as the Internet and a local area network, and encryption remote transmission of data and remote control of the equipment are realized. Through the networking link among the devices, the data can be transmitted on a plurality of links, and the stability of the channel is ensured.
In summary, the data transmission method and system for a radiation measuring instrument provided in the embodiments of the present invention have the following advantages:
1) and (3) improving the transmission distance: the traditional RS485 transmission distance is 1 kilometer or more, and monitoring machines are generally deployed in the same park, so that remote monitoring cannot be realized for headquarters-branch type enterprises or scenes needing to manage remote monitoring of the enterprises. The invention can transmit data in the garden and on the internet by transmitting data through the Ethernet, and is not limited by distance.
2) Reducing deployment and installation complexity: when the RS485 is adopted for data transmission in the prior art, cables need to be deployed in a park to transmit signals, and the cable construction cost is high. For the garden that has already been built, it is difficult to carry out the construction transformation again, adopts external mode to deploy the cable on the wall and removes the influence pleasing to the eye, also insecure. The invention provides the data transmission through the Wifi signal, has no additional requirements on the park and is very convenient to install.
3) The cost is reduced: data encryption transmission is carried out through the Internet, expensive special lines of operators do not need to be purchased, and enterprise cost can be greatly reduced. Every equipment only need increase the lower Wifi module of cost can, need not to purchase the cable, need not the higher 4G module of every equipment purchasing cost, equipment cost can reduce by a wide margin.
In the embodiment of the invention, the traditional radiation measuring instrument is transformed by RS232 and RS485, and data is transmitted on the Internet in a Wifi + Ethernet mode, so that remote monitoring access is realized. Meanwhile, in order to improve data security, data encryption is carried out through access equipment, and extra cost of the radiation measuring instrument is not increased. A plurality of access equipment clients form a virtual network, and each branch mechanism and the cloud equipment can be directly communicated with each other through an intranet. Besides direct intercommunication, the access devices can also bear the function of tunnel transfer, and transfer can be carried out from other access points when a single link fails, so that the network stability is improved. Each access device comprises a plurality of network access modes such as 4G, 5G, wired and the like, and can dynamically select an outlet according to the link quality of different modes or can carry out load sharing on different outlets.
Fig. 9 illustrates a physical structure diagram of an electronic device, and as shown in fig. 9, the electronic device may include: a processor (processor)910, a communication Interface (Communications Interface)920, a memory (memory)930, and a communication bus 940, wherein the processor 910, the communication Interface 920, and the memory 930 communicate with each other via the communication bus 940. Processor 910 may invoke logic instructions in memory 930 to perform the radiometer data transmission method provided in the various method class embodiments described above, the method comprising: acquiring a data packet sent by a radiation measuring instrument, wherein the data packet is obtained by packaging radiation data acquired by the radiation measurement to an Ethernet protocol, a data source of the radiation data is an address of the radiation measuring instrument, and a target address of the radiation data is an address of a remote server; determining a tunnel address of the remote access equipment corresponding to the radiation data based on the target address; and processing the data packet based on the tunnel address, and sending the processed data packet to a remote access device so that the remote access device forwards the processed data packet to a remote server. Alternatively, it comprises: receiving a target data packet, wherein the target data packet is obtained by processing a data packet obtained by encapsulating radiation data acquired by a radiation measuring instrument through a radiation measuring instrument end access device; and processing the target data packet, and sending the processed target data packet to a remote server.
Furthermore, the logic instructions in the memory 930 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of 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 invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, an embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the computer can execute the radiometer data transmission method provided in the above-mentioned various method embodiments, where the method includes: acquiring a data packet sent by a radiation measuring instrument, wherein the data packet is obtained by packaging radiation data acquired by the radiation measurement to an Ethernet protocol, a data source of the radiation data is an address of the radiation measuring instrument, and a target address of the radiation data is an address of a remote server; determining a tunnel address of the remote access equipment corresponding to the radiation data based on the target address; and processing the data packet based on the tunnel address, and sending the processed data packet to a remote access device so that the remote access device forwards the processed data packet to a remote server. Alternatively, it comprises: receiving a target data packet, wherein the target data packet is obtained by processing a data packet obtained by encapsulating radiation data acquired by a radiation measuring instrument through a radiation measuring instrument end access device; and processing the target data packet, and sending the processed target data packet to a remote server.
In yet another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to execute the radiometer data transmission method provided in the various above-mentioned method embodiments, where the method includes: acquiring a data packet sent by a radiation measuring instrument, wherein the data packet is obtained by packaging radiation data acquired by the radiation measurement to an Ethernet protocol, a data source of the radiation data is an address of the radiation measuring instrument, and a target address of the radiation data is an address of a remote server; determining a tunnel address of the remote access equipment corresponding to the radiation data based on the target address; and processing the data packet based on the tunnel address, and sending the processed data packet to a remote access device so that the remote access device forwards the processed data packet to a remote server. Alternatively, it comprises: receiving a target data packet, wherein the target data packet is obtained by processing a data packet obtained by encapsulating radiation data acquired by a radiation measuring instrument through a radiation measuring instrument end access device; and processing the target data packet, and sending the processed target data packet to a remote server.
The above-described embodiments of the apparatus are merely illustrative, and 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A radiometer data transmission method, comprising:
acquiring a data packet sent by a radiation measuring instrument, wherein the data packet is obtained by packaging radiation data acquired by the radiation measurement to an Ethernet protocol, a data source of the radiation data is an address of the radiation measuring instrument, and a target address of the radiation data is an address of a remote server;
determining a tunnel address of the remote access equipment corresponding to the radiation data based on the target address;
and processing the data packet based on the tunnel address, and sending the processed data packet to a remote access device so that the remote access device forwards the processed data packet to a remote server.
2. The radiometer data transmission method according to claim 1, wherein the determining, based on the target address, a tunnel address of the remote access device corresponding to the radiometric data specifically includes:
based on the target address, inquiring in a first local database, wherein the first local database stores the corresponding relation between each target address and the tunnel address;
and if the query result of the first local database is judged to be not empty, determining that the query result of the first local database is the tunnel address.
3. The radiometer data transmission method according to claim 1 or 2, wherein the sending the processed data packet to the remote access device specifically comprises:
based on the tunnel addresses, inquiring in a second local database, wherein the second local database stores the corresponding relation between each tunnel address and the exit address as well as the link quality;
and if the query result of the second local database is judged to be not empty, sending the processed data packet to the remote server based on the query result of the second local database.
4. The radiometer data transmission method of claim 3, wherein the querying in the second local database based on the tunnel address further comprises:
if the query result of the second local database is judged to be empty, querying is carried out in a third local database based on the tunnel address, and the third local database stores the corresponding relation between each tunnel address and the transit tunnel address, the exit address and the link quality;
and if the query result of the third local database is judged to be not empty, sending the processed data packet to the remote server based on the query result of the third local database.
5. A radiometer data transmission method, comprising:
receiving a target data packet, wherein the target data packet is obtained by processing a data packet obtained by encapsulating radiation data acquired by a radiation measuring instrument through a radiation measuring instrument end access device;
and processing the target data packet, and sending the processed target data packet to a remote server.
6. A radiation measuring instrument end access device, comprising:
the system comprises an acquisition module, a remote server and a data processing module, wherein the acquisition module is used for acquiring a data packet sent by a radiation measuring instrument, the data packet is obtained by packaging radiation data acquired by radiation measurement to an Ethernet protocol, a data source of the radiation data is a radiation measuring instrument address, and a target address of the radiation data is a remote server address;
a determining module, configured to determine, based on the target address, a tunnel address of a remote access device corresponding to the radiation data;
and the sending module is used for processing the data packet based on the tunnel address and sending the processed data packet to the remote access equipment so that the remote access equipment forwards the processed data packet to the remote server.
7. A remote access device, comprising:
the receiving module is used for receiving a target data packet, and the target data packet is obtained by processing a data packet obtained by packaging radiation data acquired by a radiation measuring instrument through a radiation measuring instrument end access device;
and the sending module is used for processing the target data packet and sending the processed target data packet to a remote server.
8. A radiometer data transmission system, comprising: the radiometer end access device of claim 6 and the remote end access device of claim 7;
the radiation measuring instrument end access device is used for connecting the radiation measuring instrument and the internet in a communication mode;
and the remote access equipment is used for connecting the Internet and the remote server in a communication way.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the radiometer data transmission method of any of claims 1-5.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the radiometer data transmission method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110524325.XA CN113259435B (en) | 2021-05-13 | 2021-05-13 | Data transmission method and system for radiation measuring instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110524325.XA CN113259435B (en) | 2021-05-13 | 2021-05-13 | Data transmission method and system for radiation measuring instrument |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113259435A true CN113259435A (en) | 2021-08-13 |
CN113259435B CN113259435B (en) | 2022-07-12 |
Family
ID=77181817
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110524325.XA Active CN113259435B (en) | 2021-05-13 | 2021-05-13 | Data transmission method and system for radiation measuring instrument |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113259435B (en) |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571396A (en) * | 2003-07-18 | 2005-01-26 | 华为技术有限公司 | An implementing method for switching ZONET in IPv6 network |
CN1697421A (en) * | 2004-05-10 | 2005-11-16 | 华为技术有限公司 | Method for implementing tunnel relay in network for carrying out conversion of network address |
CN101651597A (en) * | 2009-09-23 | 2010-02-17 | 北京交通大学 | Deployment method of IPSec-VPN in address discrete mapping network |
CN102594646A (en) * | 2011-12-31 | 2012-07-18 | 成都市华为赛门铁克科技有限公司 | Switching method, switching device and transmission system of Internet protocol security tunnels |
CN103973572A (en) * | 2007-09-17 | 2014-08-06 | 华为技术有限公司 | Method and device for forwarding message and network system |
CN104104747A (en) * | 2014-07-28 | 2014-10-15 | 杭州华三通信技术有限公司 | Method and device for message transmission |
CN104270298A (en) * | 2014-09-30 | 2015-01-07 | 杭州华三通信技术有限公司 | Method and device for forwarding message in VXLAN |
CN106301921A (en) * | 2016-08-16 | 2017-01-04 | 清华大学 | Elephant flow transmission dispatching method based on tunnel and system |
CN106878133A (en) * | 2016-12-15 | 2017-06-20 | 新华三技术有限公司 | Message forwarding method and device |
CN107995324A (en) * | 2017-12-04 | 2018-05-04 | 北京奇安信科技有限公司 | A kind of cloud means of defence and device based on tunnel mode |
CN109245984A (en) * | 2018-07-13 | 2019-01-18 | 华为技术有限公司 | A kind of message transmitting method, a kind of information processing method and its relevant device |
CN110311860A (en) * | 2019-07-24 | 2019-10-08 | 北京天融信网络安全技术有限公司 | Multi-link load balance method and device under VXLAN |
CN110691139A (en) * | 2019-10-11 | 2020-01-14 | 北京字节跳动网络技术有限公司 | Data transmission method, device, equipment and storage medium |
CN110780329A (en) * | 2019-12-05 | 2020-02-11 | 贵州电网有限责任公司 | Remote measuring system and measuring method for radiation dose |
CN111064814A (en) * | 2018-10-16 | 2020-04-24 | 中国电信股份有限公司 | VxLAN NAT traversal method, system and gateway based on PCP |
CN111193756A (en) * | 2018-11-14 | 2020-05-22 | 中移(杭州)信息技术有限公司 | VXLAN tunnel load balancing method and related equipment |
CN111327507A (en) * | 2018-12-17 | 2020-06-23 | 上海擎感智能科技有限公司 | APN link load balancing realization method and system |
US20200374155A1 (en) * | 2018-01-11 | 2020-11-26 | Huawei Technologies Co., Ltd. | Data transmission method, device, and network system |
-
2021
- 2021-05-13 CN CN202110524325.XA patent/CN113259435B/en active Active
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571396A (en) * | 2003-07-18 | 2005-01-26 | 华为技术有限公司 | An implementing method for switching ZONET in IPv6 network |
CN1697421A (en) * | 2004-05-10 | 2005-11-16 | 华为技术有限公司 | Method for implementing tunnel relay in network for carrying out conversion of network address |
CN103973572A (en) * | 2007-09-17 | 2014-08-06 | 华为技术有限公司 | Method and device for forwarding message and network system |
CN101651597A (en) * | 2009-09-23 | 2010-02-17 | 北京交通大学 | Deployment method of IPSec-VPN in address discrete mapping network |
CN102594646A (en) * | 2011-12-31 | 2012-07-18 | 成都市华为赛门铁克科技有限公司 | Switching method, switching device and transmission system of Internet protocol security tunnels |
CN104104747A (en) * | 2014-07-28 | 2014-10-15 | 杭州华三通信技术有限公司 | Method and device for message transmission |
CN104270298A (en) * | 2014-09-30 | 2015-01-07 | 杭州华三通信技术有限公司 | Method and device for forwarding message in VXLAN |
CN106301921A (en) * | 2016-08-16 | 2017-01-04 | 清华大学 | Elephant flow transmission dispatching method based on tunnel and system |
CN106878133A (en) * | 2016-12-15 | 2017-06-20 | 新华三技术有限公司 | Message forwarding method and device |
CN107995324A (en) * | 2017-12-04 | 2018-05-04 | 北京奇安信科技有限公司 | A kind of cloud means of defence and device based on tunnel mode |
US20200374155A1 (en) * | 2018-01-11 | 2020-11-26 | Huawei Technologies Co., Ltd. | Data transmission method, device, and network system |
CN109245984A (en) * | 2018-07-13 | 2019-01-18 | 华为技术有限公司 | A kind of message transmitting method, a kind of information processing method and its relevant device |
CN111064814A (en) * | 2018-10-16 | 2020-04-24 | 中国电信股份有限公司 | VxLAN NAT traversal method, system and gateway based on PCP |
CN111193756A (en) * | 2018-11-14 | 2020-05-22 | 中移(杭州)信息技术有限公司 | VXLAN tunnel load balancing method and related equipment |
CN111327507A (en) * | 2018-12-17 | 2020-06-23 | 上海擎感智能科技有限公司 | APN link load balancing realization method and system |
CN110311860A (en) * | 2019-07-24 | 2019-10-08 | 北京天融信网络安全技术有限公司 | Multi-link load balance method and device under VXLAN |
CN110691139A (en) * | 2019-10-11 | 2020-01-14 | 北京字节跳动网络技术有限公司 | Data transmission method, device, equipment and storage medium |
CN110780329A (en) * | 2019-12-05 | 2020-02-11 | 贵州电网有限责任公司 | Remote measuring system and measuring method for radiation dose |
Also Published As
Publication number | Publication date |
---|---|
CN113259435B (en) | 2022-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9231820B2 (en) | Methods and apparatus for controlling wireless access points | |
US10085253B2 (en) | Methods and apparatus for controlling wireless access points | |
EP2001165B1 (en) | Method and system for measuring network performance | |
US9819511B2 (en) | Bidirectional forwarding detection over a virtual extensible local area network | |
CN103036809B (en) | For having the method and apparatus of the scalable network that active link utilizes | |
CN103036784A (en) | Methods and apparatus for a self-organized layer-2 enterprise network architecture | |
US9602470B2 (en) | Network device, IPsec system and method for establishing IPsec tunnel using the same | |
CN109196842B (en) | Session keeping method, device and storage medium | |
CN106559302A (en) | Single tunnel method for building up, device and system | |
KR20220084075A (en) | Systems and methods for communication between incompatible wireless devices and virtual baseband units | |
WO2018098633A1 (en) | Data transmission method, data transmission apparatus, electronic device and computer program product | |
US20160212008A1 (en) | Bidirectional Forwarding Detection Over Network Virtualization Using Generic Routing Encapsulation | |
US11902047B2 (en) | Virtual intranet acceleration method and system, configuration method, storage medium, and computer apparatus | |
US20050099980A1 (en) | Methods and systems for wireless local area network (WLAN)-based signaling network monitoring | |
US20220201796A1 (en) | Communication apparatus, controller, system, and method | |
CN104184637B (en) | Fully-mechanized mining working data transmission system and its data transmission method | |
EP3241313B1 (en) | Performance monitoring of a mobile communication system | |
CN113259435B (en) | Data transmission method and system for radiation measuring instrument | |
EP4250649A1 (en) | Packet forwarding method and apparatus, and network system | |
CN111917621B (en) | Communication method and system for network management server and network element of communication equipment | |
US7765303B2 (en) | Method and apparatus for providing data over a dynamic wireless network | |
CN101909011A (en) | Message transmission method and system, client and proxy gateway | |
CN115280736A (en) | Communication apparatus, data recording method, and non-transitory computer-readable medium | |
US10708163B1 (en) | Methods, systems, and computer readable media for automatic configuration and control of remote inline network monitoring probe | |
CN112910791B (en) | Diversion system and method thereof |
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 |