CN112905201B - Linux-based well site data collector data packaging and issuing method - Google Patents

Linux-based well site data collector data packaging and issuing method Download PDF

Info

Publication number
CN112905201B
CN112905201B CN202110157903.0A CN202110157903A CN112905201B CN 112905201 B CN112905201 B CN 112905201B CN 202110157903 A CN202110157903 A CN 202110157903A CN 112905201 B CN112905201 B CN 112905201B
Authority
CN
China
Prior art keywords
well site
data
site data
data collector
background 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.)
Active
Application number
CN202110157903.0A
Other languages
Chinese (zh)
Other versions
CN112905201A (en
Inventor
吴沁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Anjiexin Polytron Technologies Inc
Original Assignee
Sichuan Anjiexin Polytron Technologies Inc
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 Sichuan Anjiexin Polytron Technologies Inc filed Critical Sichuan Anjiexin Polytron Technologies Inc
Priority to CN202110157903.0A priority Critical patent/CN112905201B/en
Publication of CN112905201A publication Critical patent/CN112905201A/en
Application granted granted Critical
Publication of CN112905201B publication Critical patent/CN112905201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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/52Network services specially adapted for the location of the user terminal

Abstract

The invention discloses a method for packing and issuing well site data collector data based on Linux, which comprises the following steps: s1, packaging data to be issued, and broadcasting a data issuing notice; s2, stopping working of each well site data collector and preparing for data receiving; s3, distributing data to be issued to each well site data collector respectively; s4, each well site data collector reports the positioning information and the data receiving condition of the well site data collector to a background server; s5, screening out an abnormal well site data collector by a linux system in a background server; s6, respectively counting missing data of each abnormal well site data collector; s7, for each abnormal well site data collector, the background server controls the abnormal well site data collectors to acquire missing data from the well site data collectors closest to the background server. The abnormal well site data acquisition device is controlled to acquire the missing data from the well site data acquisition device closest to the abnormal well site data acquisition device, so that communication resources can be effectively saved, and the interference of a network on the missing data can be reduced to the greatest extent.

Description

Linux-based well site data collector data packaging and issuing method
Technical Field
The invention relates to a well site data collector, in particular to a well site data collector data packaging and issuing method based on Linux.
Background
Along with the continuous improvement of the technology level, a plurality of oil gas production enterprises in recent years provide intelligent development directions of oil field construction. The data acquisition device of the oil field well site (data information such as temperature, pressure, electric parameters and the like of various equipment of the well site) provides the bottommost data support for the early warning and control of the subsequent oil field and meeting various requirements in the oil field production as the basis of the digital oil field.
When the well site data collector performs program loading or program updating, the background server is often required to perform data packaging and issuing, but partial data is possibly lost due to problems such as network and data conflict in the data packaging and issuing process, so that the well site data collector cannot normally perform program loading or updating; in general, after a pit-site data collector with data missing is found through a background server, all data are re-issued, so that on one hand, the resource waste is caused by re-issuing all data, on the other hand, the distance between the background server and the pit-site data collector is generally larger, larger communication resources are wasted, and meanwhile, even after re-issuing, network interference is still likely to occur, and the situation of data missing exists.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a method for packaging and issuing well site data collectors based on Linux.
The aim of the invention is realized by the following technical scheme: a method for packing and issuing well site data collector data based on Linux comprises the following steps:
s1, packaging data to be issued by using a linux system in a background server, and broadcasting data issuing notices to all well site data collectors;
s2, after each well site data collector receives the data issuing notification, stopping working and preparing for data receiving;
s3, the linux system in the background server distributes data to be issued to each well site data collector according to the IP address information of each well site data collector;
s4, after the data transmission is finished, each well site data collector collects positioning information through a built-in positioning module, and reports the positioning information and the data receiving condition to a background server;
s5, screening out abnormal well site data collectors according to the data receiving conditions reported by the well site data collectors by the linux system in the background server, wherein the abnormal well site data collectors are well site data collectors with missing receiving data;
s6, respectively counting missing data of each abnormal well site data collector by using a linux system in a background server;
s7, for each abnormal well site data collector, the background server controls the abnormal well site data collectors to acquire missing data from the well site data collectors closest to the background server.
The beneficial effects of the invention are as follows: according to the abnormal well site data acquisition device, for each data missing, the background server controls the abnormal well site data acquisition device to acquire missing data from the well site data acquisition device closest to the background server, so that communication resources can be effectively saved, and interference of a network on the missing data can be reduced to the greatest extent.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
The technical solution of the present invention will be described in further detail with reference to the accompanying drawings, but the scope of the present invention is not limited to the following description.
As shown in fig. 1, a method for transmitting well site data collector data package based on Linux includes the following steps:
s1, packaging data to be issued by using a linux system in a background server, and broadcasting data issuing notices to all well site data collectors;
s2, after each well site data collector receives the data issuing notification, stopping working and preparing for data receiving;
s3, the linux system in the background server distributes data to be issued to each well site data collector according to the IP address information of each well site data collector;
s4, after the data transmission is finished, each well site data collector collects positioning information through a built-in positioning module, and reports the positioning information and the data receiving condition to a background server;
s5, screening out abnormal well site data collectors according to the data receiving conditions reported by the well site data collectors by the linux system in the background server, wherein the abnormal well site data collectors are well site data collectors with missing receiving data;
s6, respectively counting missing data of each abnormal well site data collector by using a linux system in a background server;
s7, for each abnormal well site data collector, the background server controls the abnormal well site data collectors to acquire missing data from the well site data collectors closest to the background server.
In an embodiment of the present application, the data to be delivered includes a program loading data packet or a program updating data packet of the wellsite data collector. And the background server establishes ad hoc network communication with each well site data collector, and IP address information of each well site data collector is pre-stored in a linux system of the background server. And the background server and each well site data collector establish ad hoc network communication in a wireless communication mode.
Wherein, the step S7 comprises the following substeps:
s701, for any abnormal well site data collector, a background server firstly screens out well site data collectors with missing data of the abnormal well site data collector from all well site data collectors, and adds the well site data collectors into an alternative set;
s702, the background server calculates the distance from the abnormal well site data collector to each well site data collector in the alternative set according to the position information reported by the abnormal well site data collector and each well site data collector in the alternative set;
s703, the background server selects a well site data collector closest to the abnormal well site data collector in the alternative set as a target well site data collector;
s704, the background server controls the target well site data collector to transmit data missing from the abnormal well site data collector to the abnormal well site data collector;
s705, repeating the steps S701-S704 for each abnormal well site data collector, so that all abnormal well site data collectors receive complete issuing data.
In summary, for each abnormal well site data collector with data loss, the background server controls the abnormal well site data collectors to acquire the missing data from the well site data collectors closest to the background server, so that communication resources can be effectively saved, and interference of a network on the missing data can be reduced to the greatest extent.
Finally, it should be noted that the foregoing description illustrates and describes preferred embodiments of the invention, but as previously mentioned, it is to be understood that the invention is not limited to the forms disclosed herein and is not to be considered as excluding other embodiments, but is capable of numerous other combinations, modifications and environments and is capable of modifications within the scope of the invention as described herein, by way of teaching or by a person of ordinary skill in the relevant art. And that modifications and variations which do not depart from the spirit and scope of the invention are intended to be within the scope of the appended claims.

Claims (5)

1. A method for packaging and issuing well site data collector data based on Linux is characterized in that: the method comprises the following steps:
s1, packaging data to be issued by using a linux system in a background server, and broadcasting data issuing notices to all well site data collectors;
s2, after each well site data collector receives the data issuing notification, stopping working and preparing for data receiving;
s3, the linux system in the background server distributes data to be issued to each well site data collector according to the IP address information of each well site data collector;
s4, after the data transmission is finished, each well site data collector collects positioning information through a built-in positioning module, and reports the positioning information and the data receiving condition to a background server;
s5, screening out abnormal well site data collectors according to the data receiving conditions reported by the well site data collectors by the linux system in the background server, wherein the abnormal well site data collectors are well site data collectors with missing receiving data;
s6, respectively counting missing data of each abnormal well site data collector by using a linux system in a background server;
s7, for each abnormal well site data collector, the background server controls the abnormal well site data collectors to acquire missing data from the well site data collectors closest to the background server.
2. The method for packaging and issuing the data of the Linux-based wellsite data acquisition device according to claim 1, wherein the method comprises the following steps of: the data to be issued comprises a program loading data packet or a program updating data packet of the well site data collector.
3. The method for packaging and issuing the data of the Linux-based wellsite data acquisition device according to claim 1, wherein the method comprises the following steps of: and the background server establishes ad hoc network communication with each well site data collector, and IP address information of each well site data collector is pre-stored in a linux system of the background server.
4. The method for packaging and issuing the data of the well site data collector based on Linux as claimed in claim 3, wherein the method comprises the following steps: and the background server and each well site data collector establish ad hoc network communication in a wireless communication mode.
5. The method for packaging and issuing the data of the Linux-based wellsite data acquisition device according to claim 1, wherein the method comprises the following steps of: said step S7 comprises the sub-steps of:
s701, for any abnormal well site data collector, a background server firstly screens out well site data collectors with missing data of the abnormal well site data collector from all well site data collectors, and adds the well site data collectors into an alternative set;
s702, the background server calculates the distance from the abnormal well site data collector to each well site data collector in the alternative set according to the position information reported by the abnormal well site data collector and each well site data collector in the alternative set;
s703, the background server selects a well site data collector closest to the abnormal well site data collector in the alternative set as a target well site data collector;
s704, the background server controls the target well site data collector to transmit data missing from the abnormal well site data collector to the abnormal well site data collector;
s705, repeating the steps S701-S704 for each abnormal well site data collector, so that all abnormal well site data collectors receive complete issuing data.
CN202110157903.0A 2021-02-04 2021-02-04 Linux-based well site data collector data packaging and issuing method Active CN112905201B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110157903.0A CN112905201B (en) 2021-02-04 2021-02-04 Linux-based well site data collector data packaging and issuing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110157903.0A CN112905201B (en) 2021-02-04 2021-02-04 Linux-based well site data collector data packaging and issuing method

Publications (2)

Publication Number Publication Date
CN112905201A CN112905201A (en) 2021-06-04
CN112905201B true CN112905201B (en) 2024-04-09

Family

ID=76122465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110157903.0A Active CN112905201B (en) 2021-02-04 2021-02-04 Linux-based well site data collector data packaging and issuing method

Country Status (1)

Country Link
CN (1) CN112905201B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
CN103327007A (en) * 2013-05-21 2013-09-25 中国石油天然气集团公司 System and method for data transmission between underground and ground
CN111124458A (en) * 2019-12-29 2020-05-08 北京浪潮数据技术有限公司 Software updating method and related device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7844964B2 (en) * 2004-09-23 2010-11-30 Hewlett Packard Development Company, L.P. Network for mass distribution of configuration, firmware and software updates
US9450804B2 (en) * 2009-09-03 2016-09-20 At&T Intellectual Property I, L.P. Anycast aware transport for content distribution networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
CN103327007A (en) * 2013-05-21 2013-09-25 中国石油天然气集团公司 System and method for data transmission between underground and ground
CN111124458A (en) * 2019-12-29 2020-05-08 北京浪潮数据技术有限公司 Software updating method and related device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Communication-Aware Container Placement and Reassignment in Large-Scale Internet Data Centers;Liang Lv, Yuchao Zhang, Yusen Li, Ke Xu, Dan Wang, Wendong Wang, Minghui Li, Xuan Cao, and Qingqing Liang;IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS;20190131;第37卷(第3期);540-555 *
Utilizing Nearby Computing Resources for Resource-Limited Mobile Devices;Minh Le,Young-Woo Kwon;proceedings of Symposium on Applied Computing;20170403;572-575 *
井下无线通信网络路由快速建立的方法;梁莹;李晓;张记龙;王志斌;田二明;;煤炭科学技术;20110825(第08期);98-101 *
移动数据库广播的并发控制算法研究;曾斌, 徐帆江, 李之棠;计算机工程与应用;20040901(第09期);166-169 *

Also Published As

Publication number Publication date
CN112905201A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN101682535B (en) Adaptive scheduling in a wireless network
US8892769B2 (en) Routing packets on a network using directed graphs
US7852788B2 (en) Method of organizing nodes of a network into groupings of nodes, computer program for implementing such a method and communication device forming a node of a network of nodes
CN104936133B (en) Method, base station and the terminal of machine type communication
EP3451716B1 (en) Systems and methods for using a mobile gateway in a low power wide area network
CN102170641B (en) The method and system of the resource distribution of a kind of M2M service groups and distribution
CN103472779B (en) The method of Smart Home building control system and access air-conditioning system thereof
CN105897860A (en) Network device and information processing method
CN109547578B (en) Networking method for electronic price tag system
CN104949288A (en) Multi-connected air conditioning unit, program upgrading system and method thereof as well as program upgrading device
CN102946264B (en) Method, device and system for M2M terminal cooperative transmission
CN102740337A (en) Remote maintenance method of base station and system thereof
CN102487525A (en) Alarm information transmission method, wireless sensor node equipment and gateway node equipment
CN105578515A (en) Heartbeat frequency parameter maintenance method and server
CN112492669A (en) Wireless communication method and system for node equipment of power transmission and transformation equipment internet of things
CN103167599B (en) A kind of method and apparatus of synchronizing information
CN105228079A (en) M2M business data processing method, device and M2M terminal equipment
CN105557045A (en) Access network node, core network node and paging method
CN112905201B (en) Linux-based well site data collector data packaging and issuing method
CN101325545B (en) Method for designing redundancy route in industry wireless communication network
CN102811451B (en) Method and device for controlling connection of control and provisioning of wireless access points (Capwap) tunnel
CN102149174B (en) A kind of machine service data method for uploading of MTC system and system
CN104518852A (en) Transmission feedback method
CN103905381A (en) Method for electricity meter to realize baud rate adaptive communication
CN102238594A (en) Method and device for managing distributed base station

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