CN110708394A - Data transmission method, unit, system, acquisition terminal and central server - Google Patents

Data transmission method, unit, system, acquisition terminal and central server Download PDF

Info

Publication number
CN110708394A
CN110708394A CN201911003266.0A CN201911003266A CN110708394A CN 110708394 A CN110708394 A CN 110708394A CN 201911003266 A CN201911003266 A CN 201911003266A CN 110708394 A CN110708394 A CN 110708394A
Authority
CN
China
Prior art keywords
data
wits
transmission unit
data transmission
center server
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
CN201911003266.0A
Other languages
Chinese (zh)
Inventor
夏钦锋
蔡骏驰
吴国超
陈婷婷
葛兰
刘方圆
余洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Petroleum and Chemical Corp
Sinopec Chongqing Fuling Shale Gas Exploration and Development Co Ltd
Original Assignee
Sinopec Chongqing Fuling Shale Gas Exploration and Development 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 Sinopec Chongqing Fuling Shale Gas Exploration and Development Co Ltd filed Critical Sinopec Chongqing Fuling Shale Gas Exploration and Development Co Ltd
Priority to CN201911003266.0A priority Critical patent/CN110708394A/en
Publication of CN110708394A publication Critical patent/CN110708394A/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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a data transmission method, a data transmission unit, a data transmission system, a collection terminal and a central server, wherein the method is applied to the data transmission unit, the data transmission unit is preset with an IP address and a port number of the data central server, and the method comprises the following steps: receiving WITS data sent by a data acquisition terminal; converting the WITS data into IP data; the data transmission unit is connected with the acquisition terminal when data transmission is needed, and the data transmission unit can forward WITS data sent by the data acquisition terminal to the data center server through a wireless communication network, so networking and configuration are not needed in a field environment, the workload of field operators is reduced, and real-time transmission can be performed.

Description

Data transmission method, unit, system, acquisition terminal and central server
Technical Field
The present application relates to the field of technologies, and in particular, to a data transmission method, unit, system, acquisition terminal, and central server.
Background
The Wellsite Information Transfer Specification (WITS) protocol standard is a communication format in the field of exploration and development in the petroleum industry, and is used as a recommended format to enable operation and service companies to exchange data in an online state or in a batch Transfer mode.
For example, in the drilling process of a horizontal well, the underground geosteering device collects information of a drill bit and a stratum and uploads the information to well site ground equipment, local storage and visual monitoring are realized at a well site monitoring terminal, and the equipment can output data with WITS specifications through a network or a serial port.
However, Personal Computer (PC) software with a WITS data transmission function is developed by different manufacturers, and the operation mode is different and complicated, and it is necessary to configure a network and a complicated software setting in a field environment to realize communication with a base data center server, and some software systems need to be reconfigured after being restarted, which is complicated in operation and increases the workload of field operators.
Content of application
In view of this, an object of the embodiments of the present application is to provide a data transmission method, unit, system, acquisition terminal and central server, so as to reduce the workload of field operators while ensuring that the WITS data can be sent to the data central server in real time.
In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to a data transmission unit, where an IP address and a port number of a data center server are preset in the data transmission unit, and the method includes: receiving WITS data sent by a data acquisition terminal; converting the WITS data into IP data; and based on the IP address and the port number, sending the IP data to the data center server in real time in a wireless communication mode.
In the implementation process, the data transmission unit is connected with the acquisition terminal by presetting the IP address and the port number information of the data center server in the data transmission unit when data transmission is needed, and the data transmission unit can forward WITS data sent by the data acquisition terminal to the data center server through a wireless communication network, so that the data transmission method in the embodiment of the application does not need networking and configuration in a field environment, reduces the workload of field operators, and can also carry out real-time transmission.
Based on the first aspect, in a possible design, the data transmission unit is connected to the data acquisition terminal through a serial port, and receives the WITS data sent by the data acquisition terminal, including: and receiving the WITS data sent by the data acquisition terminal through the serial port.
In the implementation process, because the data acquisition terminal is usually provided with a serial port, the data transmission unit is not required to be improved when being connected with the data acquisition terminal in the embodiment of the application, and therefore the data transmission unit provided by the embodiment of the application has a wider application scene.
In a possible design based on the first aspect, the method further includes: receiving a setting operation to set an IP address and a port number of the data center server.
In the implementation process, when the WITS data needs to be transmitted to other equipment, the IP address and the port number of the data center server are automatically changed by receiving the setting operation, and then the WITS data is transmitted to the other equipment on the premise of not changing a data transmission unit.
In a second aspect, an embodiment of the present application provides a data transmission method, which is applied to a data acquisition terminal, where the data acquisition terminal can be connected to a data transmission unit, and an IP address and a port number of a data center server are preset in the data transmission unit, and the method includes: acquiring WITS data; and when the data acquisition terminal is connected with the data transmission unit, the WITS data is sent to the data transmission unit, so that the data transmission unit sends the WITS data to the data center server for storage in a wireless communication mode through the IP address and the port number.
In the implementation process, the data transmission unit is internally preset with the IP address and the port number of the data center server, when data transmission is needed, the data acquisition terminal is connected with the data transmission unit, and the data acquisition terminal sends the WITS data to the data transmission unit, so that the data transmission unit forwards the WITS data to the data center server through a wireless communication network.
Based on the second aspect, in a possible design, when the data acquisition terminal is connected to the data transmission unit through a serial port, the sending the WITS data to the data transmission unit includes: and sending the WITS data to the data transmission unit through the serial port.
In the implementation process, the data transmission line can be saved by using a serial port mode for communication.
In a third aspect, an embodiment of the present application provides a data transmission method, which is applied to a data center server, and the method includes: receiving IP data sent by a data transmission unit; acquiring WITS data from the IP data; and storing the WITS data into a database of the data center server.
In the implementation process, in order to facilitate the staff to view the WITS data acquired by the data acquisition terminal, the data center server needs to acquire the WITS data from the IP data, and then store the WITS data in the database of the center server, so that the staff can view the WITS data conveniently.
Based on the third aspect, in one possible design, receiving the IP data sent by the data transmission unit includes: and receiving the IP data sent by the data transmission unit in real time through at least two threads.
In the implementation process, the data receiving efficiency of the data center server can be improved through the mode.
In a possible design based on the third aspect, storing the WITS data in a database of the data center server includes: and respectively storing the WITS data into the database according to different data types.
In the implementation process, the WITS data are respectively stored in the database according to different data types, so that the WITS data are conveniently classified, and then, the checking of workers and the post-processing of the data are facilitated.
In a possible design based on the third aspect, storing the WITS data in a database of the data center server includes: carrying out wild value removal on the WITS data by using a wild value removal algorithm to obtain first data; storing the first data in the database.
In the implementation process, due to the fact that the underground environment is complex, WITS data can be interfered by noise, and the quality of the WITS data is poor, therefore, the wild value in the WITS data is removed by conducting wild value removing processing on the WITS data before the WITS data is stored in the database, the quality of the first data stored in the database is guaranteed, and the data application value is higher.
Based on the third aspect, in one possible design, storing the first data in the database includes: smoothing the first data by using a moving average method to obtain second data; storing the second data in the database.
In the implementation process, before the first data is stored in the database, the first data is smoothed by using a moving average method, so that accidental data variation factors are eliminated, and the data quality is further improved.
In a fourth aspect, an embodiment of the present application provides a data transmission unit, where the data transmission unit includes: the connector is used for receiving WITS data sent by the data acquisition terminal; the first processor is also used for converting the WITS data into IP data; and the wireless communication module is also used for sending the IP data to the data center server in a wireless communication mode based on the IP address and the port number.
Based on the fourth aspect, in a possible design, when the connector is a serial port connector, the data transmission unit is connected to the data acquisition terminal through a serial port, and the serial port connector is further configured to receive the WITS data sent by the data acquisition terminal through the serial port.
In a possible design based on the fourth aspect, the first processor is further configured to receive a setting operation to set an IP address and a port number of the data center server.
In a fifth aspect, an embodiment of the present application provides a data acquisition terminal, where the data acquisition terminal can be connected to a data transmission unit, and an IP address and a port number of a data center server are preset in the data transmission unit; the data acquisition terminal includes: a first acquisition unit for acquiring WITS data; and the first sending unit is used for sending the WITS data to the data transmission unit so that the data transmission unit sends the WITS data to the data center server for storage in a wireless communication mode through the IP address and the port number.
Based on the fifth aspect, in a possible design, the first sending unit is further configured to send the WITS data to the data transmission unit through a serial port when the data acquisition terminal is connected to the data transmission unit through the serial port.
In a sixth aspect, an embodiment of the present application provides a data center server, where the data center server includes: the data receiving unit is used for receiving the IP data sent by the data transmission unit; the second acquisition unit is also used for acquiring WITS data from the IP data; and the storage unit is also used for storing the WITS data to a database of the data center server.
Based on the sixth aspect, in a possible design, the data receiving unit is further configured to receive, in real time, the IP data sent by the data transmission unit through at least two threads.
In a possible design based on the sixth aspect, the storage unit is further configured to store the WITS data into the database according to different data types.
In a possible design based on the sixth aspect, the memory cell includes: the wild value removing unit is used for removing the wild value of the WITS data by using a wild value removing algorithm to obtain first data; and the first storage subunit is used for storing the first data into the database.
Based on the sixth aspect, in one possible design, the first storage subunit includes: the smoothing unit is used for smoothing the first data by utilizing a moving average method to obtain second data; and the second storage subunit is used for storing the second data into the database.
In a seventh aspect, an embodiment of the present application provides a data transmission system, including: the device comprises a data transmission unit, a data receiving unit, a wild value removing unit and a smoothing unit; the data transmission unit is preset with an IP address and a port number of a data center server; the data transmission unit is used for acquiring WITS data sent by the data acquisition terminal; converting the WITS data into IP data; and based on the IP address and the port number, sending the IP data to the data receiving unit in a wireless communication mode; the data receiving unit is used for receiving the IP data and acquiring the WITS data from the IP data; the wild value removing unit is used for removing a wild value from the WITS data by using a wild value removing algorithm to obtain first data; the smoothing unit is used for smoothing the first data by using a moving average method to obtain second data; and sending the second data to a database storage of the data center server.
In an eighth aspect, the present application provides a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the methods of the first, second and third aspects.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic structural diagram of a data transmission system according to an embodiment of the present application.
Fig. 2 is a flowchart of a data transmission method according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a data transmission unit according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a data acquisition terminal according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a data center server according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a memory cell according to an embodiment of the present application.
FIG. 7 is a schematic structural diagram of a memory sub-unit according to an embodiment of the present application
Fig. 8 is a schematic structural diagram of another data transmission system according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solution in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a data transmission system according to an embodiment of the present application, where the data transmission system includes: a Data acquisition terminal 100, a Data Transfer Unit (DTU) 200 and a Data center server 300, wherein the Data acquisition terminal 100 is electrically connected to the Data Transfer unit 200, the Data Transfer unit 200 is communicatively connected to the Data center server 300, the Data acquisition terminal 100 and the Data Transfer unit 200 are installed on the ground in a field environment where Wellsite Information Transfer Specification (WITS) Data acquisition is required, the Data center server 300 is installed in a machine room of a base, wherein an Internet Protocol (IP) address and a port number for interconnection between networks of the Data center server 300 are preset in the Data Transfer unit 200, so that when the Data acquisition terminal 100 is connected to the Data Transfer unit 200, the Data acquisition terminal can pass through the IP address and the port number, and sending the WITS data to the data center server 300 for storage.
Referring to fig. 2, fig. 2 is a flowchart of a data transmission method provided in an embodiment of the present application, where the method is applied to the data transmission system shown in fig. 1, where an IP address and a port number of the data center server 300 are preset in the data transmission unit 200, and the method includes:
s100: the data acquisition terminal 100 acquires WITS data.
S200: when the data transmission unit 200 is connected to the data acquisition terminal 100, the data acquisition terminal 100 sends the WITS data to the data transmission unit 200.
S300: the data transmission unit 200 receives the WITS data.
S400: the data transmission unit 200 converts the WITS data into IP data.
S500: the data transmission unit 200 transmits the IP data to the data center server 300 through wireless communication based on the IP address and the port number.
S600: the data center server 300 receives the IP data.
S700: the server in the data acquires the WITS data from the IP data;
s800: the data center server 300 stores the WITS data in a database of the data center server 300.
The above-described method is described in detail below.
S100: the data collection terminal 100 acquires WITS data.
In an actual implementation, S100 may be implemented in such a manner that the data acquisition terminal 100 receives wellsite data sent by wellsite data acquisition equipment by connecting with the wellsite data acquisition equipment, so as to enable data transmission between different data acquisition equipment and the data center server 300, and therefore, the data acquisition terminal 100 is based on the WITS protocol standard and converts the wellsite data into WITS data, where the wellsite data acquisition equipment may be geosteering equipment placed downhole or other equipment. In one embodiment, the wellsite data includes identification information indicative of the wellsite.
Wherein, the data acquisition terminal 100 may display the WITS data in real time.
S200: when the data transmission unit 200 is connected to the data acquisition terminal 100, the data acquisition terminal 100 sends the WITS data to the data transmission unit 200.
Wherein, the data transmission unit 200 is preset with an IP address and a port number of the data center server 300.
When the data acquisition terminal 100 and the data transmission unit 200 are in an unconnected state, the data acquisition terminal 100 and the data transmission unit 200 are connected through a parallel interface, and when the data acquisition terminal 100 is connected with the data transmission unit 200 through the parallel interface, the data acquisition terminal 100 sends the WITS data to the data transmission unit 200 in parallel in a parallel transmission mode, so that the data transmission efficiency is improved.
The serial port of the data acquisition terminal 100 is connected with the serial port of the data transmission unit 200 through a data line, and the data acquisition terminal 100 sends the WITS data to the data transmission unit 200 through the serial port in a serial manner. Serial ports are a very common protocol for device communication. Most computers include two serial ports based on RS232, and in this embodiment, the serial ports of the data acquisition terminal 100 and the data transmission unit 200 may be any one of RS232, RS485, or RS 422. The serial port models of the data acquisition terminal 100 and the data transmission unit 200 are consistent.
S300: the data transmission unit 200 receives the WITS data.
In an actual implementation, S300 may be implemented in such a manner that, when the data transmission unit 200 is connected to the data acquisition terminal 100 through a parallel interface, the data transmission unit 200 receives the WITS data in parallel.
As an embodiment, the data transmission unit 200 is connected to the data acquisition terminal 100 through a serial port, and it is understood that the serial port of the data transmission unit 200 is connected to the serial port of the data acquisition terminal 100 through a data line, and the S300 includes: the data transmission unit 200 receives the WITS data sent by the data acquisition terminal 100 through a serial port.
The data transmission unit 200 receives the WITS data serially transmitted by the data acquisition terminal 100 through the data line through a serial port.
S400: the data transmission unit 200 converts the WITS data into IP data.
After the data transmission unit 200 obtains the WITS data sent by the data acquisition terminal 100, the data transmission unit 200 processes the WITS data based on an IP protocol so as to convert the WITS data into IP data, where the IP data includes wellsite data encapsulated in the WITS data, in order to send the WITS data to the data server center.
S500: the data transmission unit 200 transmits the IP data to the data center server 300 through wireless communication based on the IP address and the port number.
The data transmission unit 200 is preset with an IP address and a port number of the data center server 300, and after the data transmission unit 200 converts the WITS data sent by the data acquisition terminal 100 into the IP data, the data transmission unit 200 sends the IP data to the data center server 300 in a wireless communication manner based on the IP address and the port number. In this embodiment, the network on which the wireless communication mode depends may be a 4G network or a 5G network or a new wireless network that enters and exits with the development of technology.
The step of setting the IP address and the port number of the data center server 300 in the data transmission unit 200 may be: the data transmission unit 200 receives a setting operation, and sets an IP address and a port number of the data center server 300 in the data transmission unit 200.
It is to be understood that the data transmission unit 200 provides a setting interface for setting the IP address and the port number of the data center server 300, and the IP address and the port number of the data center server 300 are saved in the data transmission unit 200 after the icon representing the completion of the setting is selected by inputting the IP address and the port number of the data center server 300 on the setting interface to perform a parameter setting operation on the data transmission unit 200.
S600: the data center server 300 receives the IP data.
After the data transmission unit 200 transmits the IP data to the data center server 300, S600 may be implemented in such a manner that the data center server 300 receives the IP data through one thread. As an implementation manner, a listener code is written based on a Transmission Control Protocol (TCP), the data center server 300 monitors the IP data by operating the listener code, and when it is monitored that the IP data is transmitted to the data center server 300, the center server receives the IP data in real time through a thread.
As an embodiment, in order to improve the efficiency of the data transmission unit 200 receiving data, S600 includes: the IP data transmitted by the data transmission unit 200 is received in real time by at least two threads.
The number of the threads can be two, three, four and the like, and the threads can be set according to actual requirements.
It will be appreciated that the IP data received by each of the at least two threads is different, e.g., two threads are an a thread and a B thread, then the a thread receives one IP data and the B thread receives another IP data. In other words, both threads may receive arriving IP packets in sequence.
As an embodiment, in order to facilitate the later classified viewing of the data while improving the efficiency of receiving the data by the data transmission unit 200, S600 includes: according to the data type of the WITS data in the IP data, the IP data sent by the data transmission unit 200 is received in real time by different threads, and it can be understood that one thread only receives one type of the WITS data in the IP data in real time.
S700: the data center server 300 obtains the WITS data from the IP data.
After the data center server 300 receives the IP data, S700 may be implemented in such a manner that the data center server 300 extracts the WITS data from the IP data based on a TCP/IP protocol, since the really useful data in the IP data is the WITS data.
S800: the data center server 300 stores the WITS data in a database of the data center server 300.
After the data center server 300 extracts the WITS data from the IP data transmitted by the data transmission unit 200, in order to enable the user to view the WITS data, S800 may be implemented in such a manner that the data center server 300 stores the WITS data in a relational database of the data center server 300.
As an embodiment, in order to facilitate the user to view different types of data in a classified manner, so as to improve the user experience, S800 includes: and respectively storing the WITS data to different positions in the database according to different data types.
Since the downhole environment is complex and the WITS data may be interfered by noise, which in turn may result in poor quality of the WITS data, after the data center server 300 converts the IP data transmitted by the data transmission unit 200 into the WITS data, as an embodiment, S800 includes the steps of: a and B.
A: and carrying out wild value removal on the WITS data by using a wild value removal algorithm to obtain first data.
The criterion used by the off-wild value algorithm is a reiter criterion, and other off-wild value algorithms can be used for processing in other embodiments. The Lett criterion is a method for distinguishing abnormal values under the condition that data are subjected to normal distribution. The specific contents are as follows:
assuming that a group of data sequences distributed relatively uniformly in a depth domain is x (i), i is 1,2
Figure BDA0002241220440000121
Namely, it is
Figure BDA0002241220440000122
At the moment of acquisition
Figure BDA0002241220440000123
After the value of (a), the residual of x (i) is calculated
Figure BDA0002241220440000124
Namely, it is
Figure BDA0002241220440000125
Calculating the standard deviation σ of x (i), i.e.
Figure BDA0002241220440000126
The residual error of x (i)Making a difference comparison with the triple value of the standard deviation ifDetermining that x (i) is a outlier, and removing the outlier, wherein the first data is obtained after the processing of x (i), i is 1, 2.
B: storing the first data in the database.
And after the wild value removing processing is carried out on the WITS data to obtain the first data, the first data is stored in a relational database.
As an implementation manner, the first data are respectively stored in the database according to different data types, so that the user can conveniently view the data in a classified manner, and the user experience is improved.
After acquiring the first data after the elimination of the outlier, in order to eliminate the factor of the accidental data change and further improve the data quality, therefore, as an embodiment, B includes steps B1 and B2.
B1: and smoothing the first data by using a moving average method to obtain second data.
The moving average method is a prior art, and therefore is not described herein again.
B2: storing the second data in the database.
After the second data is acquired, storing the second data in a relational database.
In one embodiment, the second data are respectively stored in the databases according to the data types of the second data, so that the user can conveniently view the data in a classified manner.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a data transmission unit 200 according to an embodiment of the present application, where the data transmission unit 200 includes:
the connector 210 is configured to receive the WITS data sent by the data acquisition terminal 100.
The first processor 220 is further configured to convert the WITS data into IP data.
The wireless communication module 230 is further configured to send the IP data to the data center server 300 in a wireless communication manner based on the IP address and the port number.
As an embodiment, when the connector 210 is a serial port connector, the data transmission unit 200 is connected to the data acquisition terminal 100 through a serial port, and the serial port connector is further configured to receive the WITS data sent by the data acquisition terminal 100 through the serial port.
In one embodiment, the processor 220 is configured to receive a setting operation to set an IP address and a port number of the data center server 300.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a data acquisition terminal 100 according to an embodiment of the present disclosure, where the data acquisition terminal 100 can be connected to a data transmission unit 200, and an IP address and a port number of a data center server 300 are preset in the data transmission unit 200; the data collection terminal 100 includes:
a first obtaining unit 110 for obtaining WITS data;
a first sending unit 120, configured to send the WITS data to the data transmission unit 200, so that the data transmission unit 200 sends the WITS data to the data center server 300 for storage in a wireless communication manner through the IP address and the port number.
Based on the fifth aspect, in a possible design, the first sending unit 120 is further configured to send the WITS data to the data transmission unit 200 through a serial port when the data acquisition terminal 100 is connected to the data transmission unit 200 through the serial port.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a data center server 300 according to an embodiment of the present application, where the data center server 300 includes:
a data receiving unit 310, configured to receive the IP data sent by the data transmitting unit 200.
The second obtaining unit 320 is further configured to obtain the WITS data from the IP data.
The storage unit 330 is further configured to store the WITS data in the database of the data center server 300.
As an embodiment, the data receiving unit 310 is further configured to receive, in real time, the IP data sent by the data transmission unit 200 through at least two threads.
In one embodiment, the storage unit 330 is further configured to store the WITS data into the databases according to different data types.
Referring to fig. 6, as an embodiment, the storage unit 330 includes: a wild value removing unit 331, configured to remove a wild value from the WITS data by using a wild value removing algorithm to obtain first data; a storage subunit 332, configured to store the first data in the database.
Referring to fig. 7, as an embodiment, the storage subunit 332 includes: a smoothing unit 3321, configured to smooth the first data by using a moving average method to obtain second data; a first storage subunit 3322, configured to store the second data in the database.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another data transmission system according to an embodiment of the present application, where the system includes: a data transmission unit 200, a data reception unit 310, a deselect unit 331, and a smoothing unit 3321; the data transmission unit 200 is preset with an IP address and a port number of the data center server 300.
The data transmission unit 200 is configured to obtain WITS data sent by the data acquisition terminal 100; converting the WITS data into IP data; and transmitting the IP data to the data receiving unit 310 by wireless communication based on the IP address and the port number.
The data receiving unit 310 is configured to receive the IP data and obtain the WITS data from the IP data.
The wild value removing unit 331 is configured to remove a wild value from the WITS data by using a wild value removing algorithm to obtain first data.
The smoothing unit 3321 is configured to smooth the first data by using a moving average method to obtain second data; and sending the second data to a database storage of the data center server. For the process of implementing each function by each functional unit in this embodiment, please refer to the content described in the embodiments shown in fig. 1 to fig. 2, which is not described herein again.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device may be a data acquisition terminal 100, a data transmission unit 200, or a data center server 300, and the electronic device may be a Personal Computer (PC), a tablet computer, a smart phone, a Personal Digital Assistant (PDA), or the like.
The electronic device may include: a memory 102, a processor 101, and a communication bus for enabling connection communication of these components.
The Memory 102 is used for various data such as a computer program instruction corresponding to the data transmission method provided in the embodiment of the present application, where the Memory 102 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 101 is configured to read and execute the computer program instructions stored in the memory, and execute the steps of the data transmission method provided by the embodiment of the present application.
The processor 101 may be an integrated circuit chip having signal processing capability. The Processor 101 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed.
When the electronic device is the data transmission unit 200, the electronic device further includes a wireless communication module 230 and a connector 210, and the memory 102 is further configured to store an IP address and a port number of the data center server 300. The connector 210 may be a serial connector or a parallel connector.
When the electronic device is a data acquisition terminal 100, the processor 101 is configured to convert the acquired wellsite data into WITS data.
When the electronic device is a data center server 300, the processor 101 is configured to obtain WITS data from the IP data sent by the data transmission unit 200; the memory 102 is used to store the WITS data to a database of the data center server 300.
In addition, a storage medium is provided in an embodiment of the present application, and a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is caused to execute the method provided in any embodiment of the present application.
In summary, according to the data transmission method, unit, acquisition terminal and central server provided in each embodiment of the present application, by presetting the IP address and port number information of the data central server 300 in the data transmission unit 200, when data transmission is needed, the data transmission unit 200 is connected to the data acquisition terminal 100, and the data transmission unit 200 can forward the WITS data sent by the data acquisition terminal 100 to the data central server 300 through the wireless communication network, so the data transmission method in the embodiment of the present application does not need to perform networking and configuration in a field environment, reduces the workload of field operators, and can also perform real-time transmission.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based devices that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (14)

1. A data transmission method is applied to a data transmission unit, wherein an IP address and a port number of a data center server are preset in the data transmission unit, and the method comprises the following steps:
receiving WITS data sent by a data acquisition terminal;
converting the WITS data into IP data;
and sending the IP data to the data center server for storage in a wireless communication mode based on the IP address and the port number.
2. The method of claim 1, wherein the data transmission unit is connected to the data acquisition terminal through a serial port to receive the WITS data sent by the data acquisition terminal, and the method comprises:
and receiving the WITS data sent by the data acquisition terminal through the serial port.
3. The method of claim 1, further comprising:
receiving a setting operation to set an IP address and a port number of the data center server.
4. A data transmission method is characterized in that the method is applied to a data acquisition terminal, the data acquisition terminal can be connected with a data transmission unit, and an IP address and a port number of a data center server are preset in the data transmission unit, and the method comprises the following steps:
acquiring WITS data;
and when the data acquisition terminal is connected with the data transmission unit, the WITS data is sent to the data transmission unit, so that the data transmission unit sends the WITS data to the data center server for storage in a wireless communication mode through the IP address and the port number.
5. The method of claim 4, wherein sending the WITS data to the data transmission unit when the data acquisition terminal is connected to the data transmission unit via a serial port comprises:
and sending the WITS data to the data transmission unit through the serial port.
6. A data transmission method is applied to a data center server, and the method comprises the following steps:
receiving IP data sent by a data transmission unit;
acquiring WITS data from the IP data;
and storing the WITS data into a database of the data center server.
7. The method of claim 6, wherein receiving the IP data from the data transfer unit comprises:
and receiving the IP data sent by the data transmission unit in real time through at least two threads.
8. The method of claim 6, wherein storing the WITS data in a database of the data center server comprises:
and respectively storing the WITS data into the database according to different data types.
9. The method of claim 6, wherein storing the WITS data in a database of the data center server comprises:
carrying out wild value removal on the WITS data by using a wild value removal algorithm to obtain first data;
storing the first data in the database.
10. The method of claim 9, wherein storing the first data in the database comprises:
smoothing the first data by using a moving average method to obtain second data;
storing the second data in the database.
11. A data transmission unit is characterized in that an IP address and a port number of a data center server are preset in the data transmission unit; the data transmission unit includes:
the connector is used for receiving WITS data sent by the data acquisition terminal;
a first processor for converting the WITS data into IP data;
and the wireless communication module is used for sending the IP data to the data center server for storage in a wireless communication mode based on the IP address and the port number.
12. A data acquisition terminal is characterized in that the data acquisition terminal can be connected with a data transmission unit, and an IP address and a port number of a data center server are preset in the data transmission unit; the data acquisition terminal includes:
a first acquisition unit for acquiring WITS data;
and the first sending unit is used for sending the WITS data to the data transmission unit when the data acquisition terminal is connected with the data transmission unit, so that the data transmission unit sends the WITS data to the data center server for storage in a wireless communication mode through the IP address and the port number.
13. A data center server, characterized in that the data center server comprises:
the data receiving unit is used for receiving the IP data sent by the data transmission unit;
the second acquisition unit is also used for acquiring WITS data from the IP data;
and the storage unit is also used for storing the WITS data to a database of the data center server.
14. A data transmission system, comprising: the device comprises a data transmission unit, a data receiving unit, a wild value removing unit and a smoothing unit; the data transmission unit is preset with an IP address and a port number of a data center server;
the data transmission unit is used for acquiring WITS data acquired by the data acquisition terminal; converting the WITS data into IP data; and based on the IP address and the port number, sending the IP data to the data receiving unit in a wireless communication mode;
the data receiving unit is used for receiving the IP data and acquiring the WITS data from the IP data;
the wild value removing unit is used for removing a wild value from the WITS data by using a wild value removing algorithm to obtain first data;
the smoothing unit is used for smoothing the first data by using a moving average method to obtain second data; and sending the second data to a database storage of the data center server.
CN201911003266.0A 2019-10-21 2019-10-21 Data transmission method, unit, system, acquisition terminal and central server Pending CN110708394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911003266.0A CN110708394A (en) 2019-10-21 2019-10-21 Data transmission method, unit, system, acquisition terminal and central server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911003266.0A CN110708394A (en) 2019-10-21 2019-10-21 Data transmission method, unit, system, acquisition terminal and central server

Publications (1)

Publication Number Publication Date
CN110708394A true CN110708394A (en) 2020-01-17

Family

ID=69200765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911003266.0A Pending CN110708394A (en) 2019-10-21 2019-10-21 Data transmission method, unit, system, acquisition terminal and central server

Country Status (1)

Country Link
CN (1) CN110708394A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917871A (en) * 2020-07-31 2020-11-10 中国石油集团渤海钻探工程有限公司 Construction site multi-protocol multi-channel data soft fusion gateway implementation method
CN111963140A (en) * 2020-09-01 2020-11-20 西安石油大学 Automatic bit feeding system based on bottom hole bit pressure and remote control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2827254A1 (en) * 2012-09-21 2014-03-21 Selman and Associates, Ltd. Cloud computing system for real-time streaming of well logging data with self-aligning satellites
CN106897839A (en) * 2017-03-08 2017-06-27 武汉盛华伟业科技有限公司 A kind of data integrated collaboration platform in well site
CN107567531A (en) * 2015-03-13 2018-01-09 Aps科技公司 Monitoring system with measurement ground top contact
CN109882151A (en) * 2018-12-25 2019-06-14 内江师范学院 A kind of reservoir gas drilling safety monitoring system
CN109962884A (en) * 2017-12-22 2019-07-02 中国石油化工股份有限公司 A kind of situ of drilling well well logging data transmission method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2827254A1 (en) * 2012-09-21 2014-03-21 Selman and Associates, Ltd. Cloud computing system for real-time streaming of well logging data with self-aligning satellites
CN107567531A (en) * 2015-03-13 2018-01-09 Aps科技公司 Monitoring system with measurement ground top contact
CN106897839A (en) * 2017-03-08 2017-06-27 武汉盛华伟业科技有限公司 A kind of data integrated collaboration platform in well site
CN109962884A (en) * 2017-12-22 2019-07-02 中国石油化工股份有限公司 A kind of situ of drilling well well logging data transmission method
CN109882151A (en) * 2018-12-25 2019-06-14 内江师范学院 A kind of reservoir gas drilling safety monitoring system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李祁颖: "压裂液注入动态监测技术研究与系统设计", 《中国优秀博硕士学位论文全文数据库(硕士)工程科技Ⅰ辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917871A (en) * 2020-07-31 2020-11-10 中国石油集团渤海钻探工程有限公司 Construction site multi-protocol multi-channel data soft fusion gateway implementation method
CN111917871B (en) * 2020-07-31 2022-11-22 中国石油集团渤海钻探工程有限公司 Construction site multi-protocol multi-channel data soft fusion gateway implementation method
CN111963140A (en) * 2020-09-01 2020-11-20 西安石油大学 Automatic bit feeding system based on bottom hole bit pressure and remote control method

Similar Documents

Publication Publication Date Title
CN108494575B (en) Graph database-based power communication network operation mode modeling method and system
CN105159964A (en) Log monitoring method and system
CN112995327B (en) Cloud platform system, factory side, industrial cloud platform and service docking system
CN107959620B (en) Fully mechanized mining equipment identification method, device, system, gateway and storage medium
CN109150854B (en) Dynamic configurable communication protocol conversion system based on XML file
US8966117B1 (en) System for discovering routers in a communication path of a supervisory control and data acquisition system
CN110708394A (en) Data transmission method, unit, system, acquisition terminal and central server
CN103996276A (en) Remote transmission system and method for data of power plant
CN111026460A (en) Method and device for quickly matching points by using area template in configuration tool
CN111506641B (en) Data management method, data acquisition platform, data management system and storage medium
CN113568899A (en) Data optimization method based on big data and cloud server
CN113676526A (en) Industrial data access management system and method
CN114793188A (en) Intelligent gateway data acquisition and pushing method
US11736504B2 (en) Method and system to detect abnormal message transactions on a network
US9100318B1 (en) Method for discovering routers in a communication path of a supervisory control and data acquisition system
CN110597687A (en) Log processing method and device
CN117615342A (en) Working method and system of AIoT intelligent gateway
CN111737084A (en) Information monitoring method and device, intelligent equipment, computer equipment and medium
CN116032694B (en) Real-time block data reading method based on industrial Internet of things gateway
CN114745616B (en) Underground heat information remote monitoring and early warning system and method
CN214670231U (en) Real-time monitoring system based on internet of things distributed architecture
CN108390912A (en) A kind of method and apparatus of multiport test data acquisition
CN113794527A (en) Deep space detection surrounding device adaptive frame length wired telemetering and forwarding system and self-checking method
CN116737988B (en) Intelligent building data management method and management system
CN113315830A (en) Data transmission method of data engineering machine for industrial internet

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220609

Address after: 100020 No. 22 North Main Street, Chaoyang District, Beijing, Chaoyangmen

Applicant after: CHINA PETROLEUM & CHEMICAL Corp.

Applicant after: SINOPEC CHONGQING FULING SHALE GAS EXPLORATION AND DEVELOPMENT Co.,Ltd.

Address before: 408000 No. 6 Hefeng Avenue, Fuling District, Chongqing

Applicant before: SINOPEC CHONGQING FULING SHALE GAS EXPLORATION AND DEVELOPMENT Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200117