CN104599472A - Equipment and method for acquiring working parameters of oil well - Google Patents
Equipment and method for acquiring working parameters of oil well Download PDFInfo
- Publication number
- CN104599472A CN104599472A CN201510026402.3A CN201510026402A CN104599472A CN 104599472 A CN104599472 A CN 104599472A CN 201510026402 A CN201510026402 A CN 201510026402A CN 104599472 A CN104599472 A CN 104599472A
- Authority
- CN
- China
- Prior art keywords
- data
- oil well
- network
- node device
- main control
- 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
Links
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
本发明公开了油井工作参数采集设备,包括依次通过无线传输链路连接的前端数据采集装置、路由节点装置、网关节点装置和服务器。本发明还公开了油井工作参数采集的方法,主要利用前端数据采集装置、路由节点装置和网关节点装置对数据进行发送、组帧及构建多跳网络。通过本发明的油井工作参数采集设备及采集方法,可对油井工作参数远程无线自动采集,解决了现有技术中无法及时发现油井异常情况的问题。
The invention discloses an oil well working parameter collection device, which comprises a front-end data collection device, a routing node device, a gateway node device and a server which are sequentially connected through a wireless transmission link. The invention also discloses a method for collecting working parameters of an oil well, which mainly utilizes a front-end data collecting device, a routing node device and a gateway node device to send data, form frames and build a multi-hop network. Through the oil well operating parameter acquisition equipment and acquisition method of the present invention, the oil well operating parameters can be remotely wirelessly and automatically collected, which solves the problem that the oil well abnormality cannot be found in time in the prior art.
Description
技术领域technical field
本发明属于油田控制技术领域,具体涉及一种油井工作参数采集设备,本发明还涉及采用上述油井工作参数采集设备采集油井工作参数的方法。The invention belongs to the technical field of oil field control, and in particular relates to an oil well operating parameter acquisition device. The invention also relates to a method for acquiring oil well operating parameters by using the oil well operating parameter acquisition device.
背景技术Background technique
石油资源是国家重要的战略资源,但由于油井大多分布范围广且地处偏远,所以当前对油井的管理及数据采集处理存在一些问题。如对油井的监测主要以人工为主,油井出现的异常情况不能及时发现、及时采取措施,从而可能导致原油被盗、原油产量降低、设备使用寿命减短、能耗增加,有时甚至会造成严重的经济损失,降低了经济效益。Petroleum resources are an important strategic resource of the country, but because most of the oil wells are widely distributed and located in remote places, there are some problems in the management and data collection and processing of oil wells. For example, the monitoring of oil wells is mainly manual, and abnormal conditions in oil wells cannot be discovered in time and measures can be taken in time, which may lead to theft of crude oil, reduction of crude oil production, shortened service life of equipment, increased energy consumption, and sometimes even serious serious problems. economic losses, reducing economic benefits.
发明内容Contents of the invention
本发明的目的是提供一种油井工作参数采集设备,解决现有技术中无法有效监管油井作业的问题。The purpose of the present invention is to provide a device for collecting operating parameters of an oil well, which solves the problem that the oil well operation cannot be effectively supervised in the prior art.
本发明的另一目的在于提供采用上述油井工作参数采集设备采集油井工作参数的方法。Another object of the present invention is to provide a method for collecting oil well operating parameters by using the above oil well operating parameter acquisition equipment.
本发明所采用的技术方案是:油井工作参数采集设备,包括依次通过无线传输链路连接的前端数据采集装置、路由节点装置、网关节点装置和服务器。The technical solution adopted in the present invention is: oil well working parameter collection equipment, including a front-end data collection device, a routing node device, a gateway node device and a server sequentially connected through a wireless transmission link.
本发明的特点还在于:The present invention is also characterized in that:
前端数据采集装置包括主控单元a,主控单元a上分别连接有无线收发模块a、传感元件及显示模块。The front-end data acquisition device includes a main control unit a, and the main control unit a is respectively connected with a wireless transceiver module a, a sensor element and a display module.
主控单元a采用ARM S3C2410芯片;无线收发模块a采用CC2430芯片;显示模块为LCD显示器;传感元件为电流传感器、压力传感器、载荷传感器、位移传感器或温度传感器中的一种。Main control unit a adopts ARM S3C2410 chip; wireless transceiver module a adopts CC2430 chip; display module is LCD display; sensing element is one of current sensor, pressure sensor, load sensor, displacement sensor or temperature sensor.
路由节点装置包括主控单元b,主控单元b上分别连接有无线收发模块b和存储单元a。The routing node device includes a main control unit b, and the main control unit b is respectively connected with a wireless transceiver module b and a storage unit a.
主控单元b采用ARM S3C2410芯片;无线收发模块b采用CC2430芯片。Main control unit b adopts ARM S3C2410 chip; wireless transceiver module b adopts CC2430 chip.
网关节点装置包括主控单元c,主控单元c与无线收发模块c及存储单元b分别相连。The gateway node device includes a main control unit c, which is connected to the wireless transceiver module c and the storage unit b respectively.
主控单元c采用ARM S3C6410芯片;无线收发模块c采用CC2430芯片。The main control unit c adopts ARM S3C6410 chip; the wireless transceiver module c adopts CC2430 chip.
本发明所采用的另一个技术方案是:利用上述油井工作参数采集设备进行油井工作参数采集的方法,具体按照以下步骤实施:Another technical solution adopted in the present invention is: the method for collecting oil well operating parameters by using the above-mentioned oil well operating parameter acquisition equipment, specifically implemented according to the following steps:
步骤1、前端数据采集装置通过传感元件采集油井工作参数数据,利用显示模块进行实时显示,同时,前端数据采集装置中的主控单元a将传感元件采集到的数据进行组帧,然后无线收发模块a通过无线传输链路对帧数据进行发送;Step 1. The front-end data acquisition device collects the working parameter data of the oil well through the sensing element, and uses the display module for real-time display. At the same time, the main control unit a in the front-end data acquisition device frames the data collected by the sensing element, and then wirelessly The transceiver module a sends the frame data through the wireless transmission link;
步骤2、路由节点装置通过无线收发模块b接收步骤1中前端数据采集装置以帧的形式发送的数据后,一方面通过存储单元a对数据进行临时存储以缓冲数据,另一方面通过无线多跳网络将数据通过无线传输链路进行发送;Step 2. After the routing node device receives the data sent by the front-end data acquisition device in the form of frames in step 1 through the wireless transceiver module b, on the one hand, it temporarily stores the data through the storage unit a to buffer the data; on the other hand, through the wireless multi-hop The network sends the data through the wireless transmission link;
步骤3、网关节点装置通过无线收发模块c接收步骤2中路由节点装置以帧的形式发送的数据后,一方面通过存储单元b对数据进行临时存储以缓冲数据,另一方面,网关节点装置作为协调器动态组建无线网络,构建多跳网络,将接收到的数据发送到服务器实现实时监测。Step 3, after the gateway node device receives the data sent by the routing node device in the form of a frame in step 2 through the wireless transceiver module c, on the one hand, the data is temporarily stored by the storage unit b to buffer the data; on the other hand, the gateway node device acts as The coordinator dynamically builds a wireless network, builds a multi-hop network, and sends the received data to the server for real-time monitoring.
本发明另一个技术方案的特点还在于:Another technical solution of the present invention is characterized in that:
上述步骤1中对数据进行组帧的具体步骤如下:The specific steps for framing the data in the above step 1 are as follows:
步骤1.1、将比特数据信息按8位进行切割;Step 1.1, cutting the bit data information by 8 bits;
步骤1.2、每8位数据位前加1位停止位;Step 1.2, add 1 stop bit before every 8 data bits;
步骤1.3、每8位数据位后加1位奇偶校验位和1位停止位,最终得到的帧的格式如下:Step 1.3, add 1 parity bit and 1 stop bit after every 8 data bits, the format of the final frame is as follows:
上述步骤3中构建多跳网络的具体步骤如下:The specific steps for building a multi-hop network in the above step 3 are as follows:
步骤3.1、首先前端数据采集装置和路由节点装置每隔一定时间扫描网络;Step 3.1, first the front-end data acquisition device and the routing node device scan the network at regular intervals;
步骤3.2、当前端数据采集装置和路由节点装置发现网关节点装置组建的无线网络时,选择该网络,并向网关节点装置发出加入网络申请;Step 3.2, when the front-end data acquisition device and the routing node device discover the wireless network established by the gateway node device, select the network, and send an application to join the network to the gateway node device;
步骤3.3、网关节点装置根据接收到的加入网络申请,查看自身的关联表,判断该网络节点是否已经在其关联表中,如果已经存在,则将获取其网络地址;如果不存在,则将分配一个唯一的网络地址给该网络节点,如果该网络节点加入得到许可,网关节点装置在其关联表中创建一个表项,将该网络节点作为其子节点,并告知该网络节点加入网络成功。Step 3.3, the gateway node device checks its own association table according to the received application for joining the network, and judges whether the network node is already in its association table. If it already exists, it will obtain its network address; if it does not exist, it will assign A unique network address is given to the network node. If the network node is allowed to join, the gateway node device creates an entry in its association table, takes the network node as its child node, and informs the network node that it has successfully joined the network.
本发明的有益效果是:本发明的油井工作参数采集设备及采集方法,可对油井工作参数远程无线自动采集,并将工作参数通过无线传输链路自动发送,本发明具有自动化程度高,安全可靠的优点,有效解决了现有技术中无法及时发现油井异常情况的问题。The beneficial effects of the present invention are: the oil well operating parameter acquisition equipment and acquisition method of the present invention can remotely and wirelessly automatically collect the oil well operating parameters, and automatically send the operating parameters through a wireless transmission link. The present invention has a high degree of automation, safety and reliability The advantage of this method effectively solves the problem that the abnormal situation of the oil well cannot be found in time in the prior art.
附图说明Description of drawings
图1为本发明的油井工作参数采集设备的结构示意图;Fig. 1 is the structural representation of the oil well operating parameter acquisition equipment of the present invention;
图2为图1中前端数据采集装置的结构示意图;Fig. 2 is the structural representation of front-end data acquisition device in Fig. 1;
图3为图1中路由节点装置的结构示意图;Fig. 3 is a schematic structural diagram of the routing node device in Fig. 1;
图4为图1中网关节点装置的结构示意图。FIG. 4 is a schematic structural diagram of the gateway node device in FIG. 1 .
图中,1.前端数据采集装置,2.路由节点装置,3.网关节点装置,4.服务器,5.无线传输链路。In the figure, 1. front-end data acquisition device, 2. routing node device, 3. gateway node device, 4. server, 5. wireless transmission link.
具体实施方式Detailed ways
下面结合附图与具体实施方式对本发明作进一步详细描述:Below in conjunction with accompanying drawing and specific embodiment the present invention is described in further detail:
如图1所示,本发明的油井工作参数采集设备包括依次通过无线传输链路5连接的前端数据采集装置1、路由节点装置2、网关节点装置3与服务器4。其中,如图2所示,前端数据采集装置1包括主控单元a,主控单元a上分别连接有无线收发模块a、传感元件及显示模块。其中,显示模块可采用LCD显示器,传感元件可采用电流传感器、压力传感器、载荷传感器、位移传感器或者温度传感器;如图3所示,路由节点装置2包括主控单元b,主控单元b上分别连接有无线收发模块b与存储单元a;如图4所示,网关节点装置3包括主控单元c,主控单元c与无线收发模块c及存储单元b分别相连。As shown in FIG. 1 , the oil well operating parameter acquisition device of the present invention includes a front-end data acquisition device 1 , a routing node device 2 , a gateway node device 3 and a server 4 sequentially connected through a wireless transmission link 5 . Wherein, as shown in FIG. 2 , the front-end data acquisition device 1 includes a main control unit a, and the main control unit a is respectively connected with a wireless transceiver module a, a sensor element and a display module. Among them, the display module can be an LCD display, and the sensing element can be a current sensor, a pressure sensor, a load sensor, a displacement sensor or a temperature sensor; as shown in Figure 3, the routing node device 2 includes a main control unit b, on which The wireless transceiver module b and the storage unit a are respectively connected; as shown in FIG. 4 , the gateway node device 3 includes a main control unit c, and the main control unit c is connected to the wireless transceiver module c and the storage unit b respectively.
利用该油井工作参数采集设备进行油井工作参数采集方法的具体步骤为:The specific steps of the oil well operating parameter acquisition method using the oil well operating parameter acquisition equipment are as follows:
步骤1、将前端数据采集装置1放置在油井井口设备上,前端数据采集装置1通过传感元件采集油井工作参数数据,利用显示模块进行实时显示,同时,前端数据采集装置1中的主控单元a将传感元件采集到的数据进行组帧,然后无线收发模块a通过无线传输链路5对帧数据进行发送;Step 1. Place the front-end data acquisition device 1 on the wellhead equipment of the oil well. The front-end data acquisition device 1 collects the working parameter data of the oil well through the sensor element, and uses the display module for real-time display. At the same time, the main control unit in the front-end data acquisition device 1 a frame the data collected by the sensing element, and then the wireless transceiver module a sends the frame data through the wireless transmission link 5;
其中对数据进行组帧的具体步骤如下:The specific steps for framing the data are as follows:
步骤1.1、将比特数据信息按8位进行切割;Step 1.1, cutting the bit data information by 8 bits;
步骤1.2、每8位数据位前加1位停止位;Step 1.2, add 1 stop bit before every 8 data bits;
步骤1.3、每8位数据位后加1位奇偶校验位和1位停止位,最终得到的帧的格式如下:Step 1.3, add 1 parity bit and 1 stop bit after every 8 data bits, the format of the final frame is as follows:
步骤2、路由节点装置2通过无线收发模块b接收步骤1中前端数据采集装置1以帧的形式发送的数据后,一方面通过存储单元a对数据进行临时存储以缓冲数据,另一方面通过无线多跳网络将数据通过无线传输链路5进行发送;Step 2, after the routing node device 2 receives the data sent by the front-end data acquisition device 1 in the form of frames in step 1 through the wireless transceiver module b, on the one hand, it temporarily stores the data through the storage unit a to buffer the data; The multi-hop network sends the data through the wireless transmission link 5;
步骤3、网关节点装置3通过无线收发模块c接收步骤2中路由节点装置2以帧的形式发送的数据后,一方面通过存储单元b对数据进行临时存储以缓冲数据,另一方面,网关节点装置3作为协调器动态组建无线网络,构建多跳网络,将接收到的数据发送到服务器4实现实时监测。Step 3, after the gateway node device 3 receives the data sent by the routing node device 2 in the form of a frame in step 2 through the wireless transceiver module c, on the one hand, the data is temporarily stored by the storage unit b to buffer the data; on the other hand, the gateway node The device 3 acts as a coordinator to dynamically build a wireless network, build a multi-hop network, and send the received data to the server 4 to realize real-time monitoring.
其中构建多跳网络的具体步骤如下:The specific steps to build a multi-hop network are as follows:
步骤3.1、首先前端数据采集装置1和路由节点装置2每隔一定时间扫描网络;Step 3.1, first the front-end data acquisition device 1 and the routing node device 2 scan the network at regular intervals;
步骤3.2、当前端数据采集装置1和路由节点装置2发现网关节点装置3组建的无线网络时,选择该网络,并向网关节点装置3发出加入网络申请;Step 3.2, when the front-end data collection device 1 and the routing node device 2 discover the wireless network formed by the gateway node device 3, select the network, and send an application for joining the network to the gateway node device 3;
步骤3.3、网关节点装置3根据接收到的加入网络申请,查看自身的关联表,判断该网络节点是否已经在其关联表中,如果已经存在,则将获取其网络地址;如果不存在,则将分配一个唯一的网络地址给该网络节点,如果该网络节点加入得到许可,网关节点装置3在其关联表中创建一个表项,将该网络节点作为其子节点,并告知该网络节点加入网络成功。Step 3.3, the gateway node device 3 checks its own association table according to the received application for joining the network, and judges whether the network node is already in its association table. If it already exists, it will obtain its network address; if it does not exist, it will Assign a unique network address to the network node, if the network node is allowed to join, the gateway node device 3 creates an entry in its association table, takes the network node as its child node, and informs the network node that it has successfully joined the network .
服务器4还可以进一步将数据以有线或无线的方式传送至云计算平台进行后期处理。The server 4 can further transmit the data to the cloud computing platform in a wired or wireless manner for post-processing.
上述主控单元a与主控单元b均采用ARM S3C2410芯片,主控单元c采用ARM S3C6410芯片;上述无线收发模块a、无线收发模块b、无线收发模块c均采用CC2430芯片。The above-mentioned main control unit a and main control unit b both adopt ARM S3C2410 chip, and the main control unit c adopts ARM S3C6410 chip; the above-mentioned wireless transceiver module a, wireless transceiver module b, and wireless transceiver module c all use CC2430 chip.
主控单元a用于保证前端数据采集装置1通过传感元件正常采集油井工作参数数据,维持系统的正常运行,同时控制无线收发模块a的数据发送,并打包信息数据;无线收发模块a用于将油井工作参数数据通过无线传输链路5发送;传感元件用于进行油井工作参数数据的采集;显示模块用于显示采集到的油井工作参数数据。The main control unit a is used to ensure that the front-end data acquisition device 1 normally collects the working parameter data of the oil well through the sensor element to maintain the normal operation of the system, and at the same time controls the data transmission of the wireless transceiver module a and packs the information data; the wireless transceiver module a is used for The oil well working parameter data is sent through the wireless transmission link 5; the sensing element is used for collecting the oil well working parameter data; the display module is used for displaying the collected oil well working parameter data.
主控单元b用于控制无线收发模块b,建立无线收发模块a与无线收发模块b之间的无线数据通信;无线收发模块b用于接收前端数据采集装置1发送的油井工作参数数据;存储单元a用于将前端数据采集装置1发送的油井工作参数数据进行临时存储以缓冲数据。The main control unit b is used to control the wireless transceiver module b to establish wireless data communication between the wireless transceiver module a and the wireless transceiver module b; the wireless transceiver module b is used to receive the oil well operating parameter data sent by the front-end data acquisition device 1; the storage unit a is used to temporarily store the oil well operating parameter data sent by the front-end data acquisition device 1 to buffer the data.
主控单元c用于控制无线收发模块c,建立无线收发模块b与无线收发模块c之间的无线数据通信;无线收发模块c用于接收路由节点装置2发送的油井工作参数数据;存储单元b用于将路由节点装置2发送的油井工作参数数据进行临时存储以缓冲数据。The main control unit c is used to control the wireless transceiver module c to establish wireless data communication between the wireless transceiver module b and the wireless transceiver module c; the wireless transceiver module c is used to receive the oil well operating parameter data sent by the routing node device 2; the storage unit b It is used for temporarily storing the oil well operating parameter data sent by the routing node device 2 to buffer the data.
前端数据采集装置1可采用多线程实现:主线程、接收子线程(接收传感元件数据)、发送子线程、显示子线程。The front-end data acquisition device 1 can be realized by multi-threading: main thread, receiving sub-thread (receiving sensor element data), sending sub-thread, and displaying sub-thread.
其中,主线程软件的工作步骤如下:Among them, the working steps of the main thread software are as follows:
1.初始化串口,设定波特率、数据位位数、停止位位数、有无软1. Initialize the serial port, set the baud rate, the number of data bits, the number of stop bits, whether there is software
硬件流控等;Hardware flow control, etc.;
2.启动节电模式,检测串口指令;2. Start the power saving mode and detect the serial port command;
3.持续等待是否有采集指令?3. Continue to wait for a collection command?
4.若无采集指令,返回到2。4. If there is no acquisition command, return to 2.
5.若有采集指令,则启动配置无线收发模块,建立无线通信,同时启动接收子线程(接收传感元件数据)、发送子线程、显示子线程。5. If there is a collection command, start and configure the wireless transceiver module, establish wireless communication, and start receiving sub-threads (receiving sensor element data), sending sub-threads, and displaying sub-threads at the same time.
6.等待线程结束。6. Wait for the thread to end.
7.退出7. Exit
接收子线程(接收传感元件数据)的工作步骤如下:The working steps of receiving sub-threads (receiving sensor element data) are as follows:
1.启动接收子线程;1. Start the receiving sub-thread;
2.进行D/A转换;2. Perform D/A conversion;
3.计算压力数据f;3. Calculate the pressure data f;
4.判断是否结束?4. Is the judgment over?
5.是,则退出子线程;5. If yes, exit the child thread;
6.否,则返回到2。6. If no, return to 2.
发送子线程的工作步骤如下:The working steps of sending sub-threads are as follows:
1.启动发送子线程;1. Start the sending sub-thread;
2.判断是否有数据发送?2. Determine whether there is data to send?
3.若无,则返回到2;3. If none, return to 2;
4.若有,则只向串口发送数据f;4. If there is, only send data f to the serial port;
5.判断是否结束?5. Is the judgment over?
6.若不结束,则返回到2;6. If not finished, return to 2;
7.若结束,则退出子线程。7. If it ends, exit the child thread.
显示子线程的工作步骤如下:The working steps of displaying sub-threads are as follows:
1.启动显示子线程;1. Start the display sub-thread;
2.判断f是否为空?2. Determine whether f is empty?
3.若f是空,则返回到2;3. If f is empty, return to 2;
4.若f不为空,则在LCD上显示;4. If f is not empty, it will be displayed on the LCD;
5.判断是否结束?5. Is the judgment over?
6.若不结束,则返回到2;6. If not finished, return to 2;
若结束,则退出子线程。If it ends, exit the child thread.
路由节点装置2也采用多线程实现:主线程、接收子线程(接收前端数据采集装置1发送的油井井口参数数据)、发送子线程。The routing node device 2 is also realized by multi-threading: main thread, receiving sub-thread (receiving the oil well head parameter data sent by the front-end data acquisition device 1), and sending sub-thread.
其中,主线程软件的工作步骤如下:Among them, the working steps of the main thread software are as follows:
1.初始化串口,设定波特率、数据位位数、停止位位数、有无软硬件流控等;1. Initialize the serial port, set the baud rate, the number of data bits, the number of stop bits, whether there is software and hardware flow control, etc.;
2.向串口发送采集指令;2. Send collection instructions to the serial port;
3.读串口,是否有数据?3. Read the serial port, is there any data?
4.若无,则返回到2;4. If none, return to 2;
5.若有,则配置无线模块;5. If yes, configure the wireless module;
6.启动接收子线程、发送子线程;6. Start receiving sub-threads and sending sub-threads;
7.等待线程结束。7. Wait for the thread to end.
接收子线程(接收前端数据采集装置1发送的油井井口参数数据)的工作步骤如下:The working steps of receiving the sub-thread (receiving the oil well head parameter data sent by the front-end data acquisition device 1) are as follows:
1.启动接收子线程;1. Start the receiving sub-thread;
2.读串口,接收井口压力数据f;2. Read the serial port and receive the wellhead pressure data f;
3.判断数据是否结束?3. Determine whether the data is over?
4.若为否,则返回到2;4. If not, return to 2;
5.若为是,则存储数据到海量存储单元;5. If yes, then store the data to a mass storage unit;
6.是否退出?6. Do you want to quit?
7.若为否,则返回到2;7. If not, return to 2;
8.若为是,则退出线程。8. If yes, exit the thread.
发送子线程的工作步骤如下:The working steps of sending sub-threads are as follows:
1.启动发送子线程;1. Start the sending sub-thread;
2.判断是否有数据发送?2. Determine whether there is data to send?
3.若无,则返回到2;3. If none, return to 2;
4.若有,则只向串口发送数据;4. If there is, only send data to the serial port;
5.判断是否结束?5. Is the judgment over?
6.若不结束,则返回到2;6. If not finished, return to 2;
7.若结束,则退出子线程。7. If it ends, exit the child thread.
网关节点装置3也采用多线程实现:主线程、接收子线程(接收路由节点装置2发送的油井井口参数数据)、发送子线程。The gateway node device 3 is also realized by multi-threading: main thread, receiving sub-thread (receiving oil well head parameter data sent by the routing node device 2), and sending sub-thread.
其中,主线程软件的工作步骤如下:Among them, the working steps of the main thread software are as follows:
1.初始化串口,设定波特率、数据位位数、停止位位数、有无软硬件流控等;1. Initialize the serial port, set the baud rate, the number of data bits, the number of stop bits, whether there is software and hardware flow control, etc.;
2.向串口发送采集指令;2. Send collection instructions to the serial port;
3.读串口,是否有数据?3. Read the serial port, is there any data?
4.若无,则返回到2;4. If none, return to 2;
5.若有,则配置网络模块;5. If yes, configure the network module;
6.启动接收子线程、发送子线程;6. Start receiving sub-threads and sending sub-threads;
7.等待线程结束。7. Wait for the thread to end.
接收子线程(接收路由节点装置2发送的油井井口参数数据)的工作步骤如下:The working steps of receiving sub-thread (receiving the oil well wellhead parameter data sent by routing node device 2) are as follows:
1.启动接收子线程;1. Start the receiving sub-thread;
2.读串口,接收数据;2. Read the serial port and receive data;
3.判断数据是否结束?3. Determine whether the data is over?
4.若为否,则返回到2;4. If not, return to 2;
5.若为是,则存储数据到海量存储单元;5. If yes, then store the data to a mass storage unit;
6.是否退出?6. Do you want to quit?
7.若为否,则返回到2;7. If not, return to 2;
8.若为是,则退出线程。8. If yes, exit the thread.
发送子线程的工作步骤如下:The working steps of sending sub-threads are as follows:
1.启动发送子线程;1. Start the sending sub-thread;
2.判断是否有数据发送?2. Determine whether there is data to send?
3.若无,则返回到2;3. If none, return to 2;
4.若有,则通过网络模块发送数据;4. If there is, send the data through the network module;
5.判断是否结束?5. Is the judgment over?
6.若不结束,则返回到2;6. If not finished, return to 2;
若结束,则退出子线程。If it ends, exit the child thread.
利用本发明可采集的油井工作参数包括油井的井口压力数据、油井的井口温度数据以及油井井口的位移和电流工作数据,所对应的传感元件分别为压力传感器,温度传感器,位移传感器和电流传感器。The working parameters of the oil well that can be collected by the present invention include the wellhead pressure data of the oil well, the wellhead temperature data of the oil well, and the displacement and current working data of the wellhead of the oil well, and the corresponding sensing elements are respectively pressure sensors, temperature sensors, displacement sensors and current sensors .
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510026402.3A CN104599472A (en) | 2015-01-20 | 2015-01-20 | Equipment and method for acquiring working parameters of oil well |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510026402.3A CN104599472A (en) | 2015-01-20 | 2015-01-20 | Equipment and method for acquiring working parameters of oil well |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN104599472A true CN104599472A (en) | 2015-05-06 |
Family
ID=53125218
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510026402.3A Pending CN104599472A (en) | 2015-01-20 | 2015-01-20 | Equipment and method for acquiring working parameters of oil well |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104599472A (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101231687A (en) * | 2008-01-29 | 2008-07-30 | 北京理工大学 | A RFID wireless reader network system based on Zigbee networking |
| US20080180275A1 (en) * | 2007-01-30 | 2008-07-31 | Cimarron Systems, Llc | Communication System For Multi-Tiered Network |
| CN201966956U (en) * | 2011-01-14 | 2011-09-07 | 西安集讯自控节能技术有限责任公司 | Universal function-configurable wireless test control terminal system for oil field |
| CN103926899A (en) * | 2014-04-21 | 2014-07-16 | 长春市万易科技有限公司 | Multifunctional remote data monitoring system based on Internet of Things oil field |
-
2015
- 2015-01-20 CN CN201510026402.3A patent/CN104599472A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080180275A1 (en) * | 2007-01-30 | 2008-07-31 | Cimarron Systems, Llc | Communication System For Multi-Tiered Network |
| CN101231687A (en) * | 2008-01-29 | 2008-07-30 | 北京理工大学 | A RFID wireless reader network system based on Zigbee networking |
| CN201966956U (en) * | 2011-01-14 | 2011-09-07 | 西安集讯自控节能技术有限责任公司 | Universal function-configurable wireless test control terminal system for oil field |
| CN103926899A (en) * | 2014-04-21 | 2014-07-16 | 长春市万易科技有限公司 | Multifunctional remote data monitoring system based on Internet of Things oil field |
Non-Patent Citations (1)
| Title |
|---|
| 杨帆: ""基于ZigBee技术的油井远程采集传输系统研究"", 《信息科技辑》 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018103112A1 (en) | Wireless sensing network monitoring system, fulcrum and gateway | |
| CN103442052B (en) | Device and method for remote monitoring farmland crop growth information | |
| CN104632280B (en) | Underground equipment monitoring system and method based on wireless sensor network | |
| CN104507134B (en) | A kind of wireless data information acquisition system based on Internet of Things | |
| CN105553685B (en) | A kind of system and method whether the monitoring network equipment is online | |
| CN103347294A (en) | Wireless sensor system and data collecting method | |
| CN103136911B (en) | Low-power dissipation on-line collecting system and collecting method based on backup redundant data | |
| CN103313280A (en) | Device and method used for dairy cow positioning | |
| CN101231687A (en) | A RFID wireless reader network system based on Zigbee networking | |
| CN103997436A (en) | Link maintaining method and gateway in internet of things of elevator | |
| CN105867314A (en) | Remote monitoring system and communication method thereof | |
| WO2015000229A1 (en) | Heartbeat model-based method for detecting communication state of large rectifying apparatus | |
| CN105050077A (en) | Clustering chained wireless sensor network data transmission method | |
| CN104599472A (en) | Equipment and method for acquiring working parameters of oil well | |
| CN103167632B (en) | A kind of oil field data transmission system and method thereof | |
| CN103327007A (en) | System and method for data transmission between underground and ground | |
| CN103825893A (en) | Method, device and system for collecting information | |
| CN203838865U (en) | ZigBee wireless data collection system for well cementation industry | |
| CN204270483U (en) | An Intensive Rabbit Farm Wireless Sensor Network Monitoring System | |
| CN102685212A (en) | Internet of things based temperature and humidity monitoring system for mine and implementation method thereof | |
| CN105913684A (en) | Low-power wireless stall detection system and detection method thereof | |
| CN204331447U (en) | A kind of Internet of Things management and control device | |
| CN201248050Y (en) | Self-organizing wireless sensor network | |
| CN105554794B (en) | A kind of wireless ZigBee-network configuration method of portable | |
| WO2020133973A1 (en) | Construction site wireless data transmission system and data transmission method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150506 |