CN112887997B - WIA-PA technology-based handheld oilfield field equipment data access scheduling method - Google Patents

WIA-PA technology-based handheld oilfield field equipment data access scheduling method Download PDF

Info

Publication number
CN112887997B
CN112887997B CN202110096684.XA CN202110096684A CN112887997B CN 112887997 B CN112887997 B CN 112887997B CN 202110096684 A CN202110096684 A CN 202110096684A CN 112887997 B CN112887997 B CN 112887997B
Authority
CN
China
Prior art keywords
rtu
equipment
handheld
data
field
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
CN202110096684.XA
Other languages
Chinese (zh)
Other versions
CN112887997A (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.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN202110096684.XA priority Critical patent/CN112887997B/en
Publication of CN112887997A publication Critical patent/CN112887997A/en
Application granted granted Critical
Publication of CN112887997B publication Critical patent/CN112887997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1221Wireless traffic scheduling based on age of data to be sent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a WIA-PA technology-based handheld scheduling method for accessing data of field equipment in an oil field, which belongs to the technical field of oil-water well monitoring. Through superframe time slot reallocation, data of a plurality of handheld access field devices are achieved.

Description

WIA-PA technology-based handheld oilfield field equipment data access scheduling method
Technical Field
The invention belongs to the technical field of oil-water well monitoring, and relates to a scheduling method for handheld access of oilfield field equipment data based on a WIA-PA technology.
Background
In the oil-water well monitoring system, the oil-water well is dispersed and frequently operated, and the wireless communication mode is flexible and convenient and has relatively low cost, so the mode of adopting the wireless communication has become common knowledge of people. China independently established the WIA-PA industry wireless standard based on the 802.15.4 bottom layer protocol, which is mainly used for wireless communication networks for industrial process measurement, monitoring and control, and has become one of the industry wireless international standards. The existing WIA-PA standard defines five devices including a gateway, a route, a node, a main control computer and a hand-held device, wherein the hand-held device can be used for upgrading the firmware of all devices in the WIA-PA network, has the functions of configuring network devices, collecting network performance and health information and the like, and has important significance in the WIA-PA network. However, the WIA-PA standard only defines the method of accessing the entire WIA-PA network as a network device by the handset, and does not define the method of communicating with the field device by the handset.
In a monitoring system of an oil-water well, at present, after an inspection worker holds a handle to an oil well field and accesses a network, two methods are generally used for reading data of field equipment.
(1) And after the handheld network is accessed, reading the data of the field device through the data center. The data center is required to apply for the data collected by the field device to be read in advance, and the data can be read only after the data center applies for the data. Therefore, the polling personnel can not access the data of the field equipment of the oil field in real time, and can not maintain or correct and upgrade the field equipment in real time.
(2) The handheld establishes point-to-point communication with the device to be accessed. In this way, the handheld can only read data from one field device at a time.
Disclosure of Invention
In view of this, the present invention provides a scheduling method for handheld access to oilfield field device data based on the WIA-PA technology.
In order to achieve the purpose, the invention provides the following technical scheme:
a scheduling method for handheld access to oilfield field device data based on WIA-PA technology comprises the following steps:
step 1: adopting WIA-PA gateway equipment, wellhead controller RTU equipment, field equipment and handheld construction network structure, and numbering the WIA-PA gateway equipment, the RTU equipment, the field equipment and the handheld;
step 2: the method comprises the steps that the terminal is moved to a wireless transmission range of oilfield field equipment to be accessed in a handheld mode, and a beacon frame broadcasted by RTU equipment is monitored to access the network; after monitoring that a beacon frame broadcasted by RTU equipment is accessed to a network, the RTU equipment completes network configuration, network performance and health information acquisition operation in a CFP stage;
and step 3: in the intra-cluster communication stage, sending a data request for accessing field equipment to RTU equipment by a hand;
and 4, step 4: after receiving an access request sent by a handheld device, the RTU device sends a superframe update request network layer command frame to the WIA-PA gateway device to request to grant data of the handheld access field device;
and 5: after the WIA-PA gateway equipment receives the superframe updating response network layer command frame, the WIA-PA gateway equipment judges whether the handheld access field equipment is the field equipment managed by the network or not by analyzing the superframe updating request network layer command frame, and if the handheld access field equipment belongs to the field equipment managed by the WIA-PA gateway equipment of the network, the WIA-PA gateway equipment redistributes superframe time slots;
step 6: the WIA-PA gateway equipment issues a new superframe structure, and the RTU equipment returns the new superframe structure to the field equipment and the handheld equipment after receiving the new superframe structure issued by the WIA-PA gateway equipment;
and 7: after a new superframe structure sent by RTU equipment is received by a handheld, local time is updated through a time synchronization algorithm to finish accurate time synchronization;
and 8: in the next superframe intra-cluster communication phase, the field device N1,N2,N3And N4Uploading data to RTU equipment;
and step 9: after the RTU equipment receives the data response sent by the handheld m, the RTU equipment sends the field equipment N1,N2,N3And N4Sending the data to the WIA-PA gateway device;
step 10: in step 8, if the data responses received by the RTU device are all Y, then jumping to step 11; if the data responses received by the RTU equipment are not all Y, the handheld equipment replying N needs to send a request for accessing the field equipment data to the RTU equipment again, namely, the step 3 is skipped, the step 3 to the step 9 are repeatedly executed until all the handheld responses received by the RTU equipment are Y, and then the data of a plurality of handheld access field equipment are ended, and the step 11 is skipped;
step 11: after the handheld field device data access is finished, the RTU device sends a superframe update request network layer command frame to the WIA-PA gateway device to request to recover to the original WIA-PA superframe;
step 12: after receiving a superframe update request network layer command frame of the RTU equipment, the WIA-PA gateway equipment responds to whether to agree to recover the original superframe structure;
step 13: if the RTU device receives the superframe update response network layer command frame returned by the WIA-PA gateway device in step 12, and agrees to recover the original superframe response, the RTU device sends the data uploaded by the field device to the WIA-PA gateway device at the next superframe.
Further, in the network structure built in the step 1, the field device comprises a temperature sensor, a comprehensive electrical parameter, an integrated load indicator and a pressure sensor. The handheld device is used for directly establishing communication with the RTU device and accessing data of the field device through the RTU device. And the handheld network access device sends a superframe updating request to the RTU device, the RTU device forwards the superframe updating request to the WIA-PA gateway device, and the WIA-PA gateway device reallocates the superframe time slot after receiving the superframe updating request. Through superframe time slot reallocation, data of a plurality of handheld access field devices are achieved.
Further, the numbering in step 1 is: the WIA-PA gateway equipment is numbered G, the RTU equipment is numbered R, and the field equipment managed by the RTU equipment is respectively numbered Ni,i∈[1,4],N1Indicating a temperature sensor, N2Representing an integrated electrical parameter, N3Indicating integrated load indicator, N4Indicating a pressure sensor, hand-held number Hj,j∈[1,m]M is the number of handpieces; rNiIndicating that the RTU device is transmitting a field device NiThe data of (1).
Further, the field device N1And N2The data collected each time is transmitted to the RTU once; field device N3And N4The data volume collected each time is 2-3k Bytes, and the field device N is regulated according to the oil and gas production Internet of things system construction specification and the IEEE 802.15.4 physical layer regulation (maximum transmission Bytes 127Bytes)3And N4The acquired data needs to be transmitted in a slicing mode and transmitted to RTU equipment in 4 times. After receiving the data sent by each field device, the RTU device generates a command response (the response carries control command information) to control the operation of the field device.
Further, the step 5 of reallocating the superframe time slot specifically includes the following steps:
step 51: determining superframe length
The superframe time slot reallocation does not consider the time slots of the beacon phase, and the time slot number of each superframe meets the following formula:
SLOT=20+11m
wherein, SLOT represents the time SLOT number of a superframe, and m represents the number of handholds;
the time slots are numbered from 0 and are numbered S in sequence0,S1,S2,S3,…,S11m+19(ii) a The superframe time slot allocation is sequentially allocated from the time slot 0;
step 52: allocating time slots in the communication stage in the cluster;
step 53: and allocating time slots in the inter-cluster communication stage.
Further, step 52 specifically includes the following steps:
step 521: allocating 2 time slots S0,S1In turn for field device N1And N2Uploading data to RTU equipment;
step 522: allocating 4 time slots S2,S3,S4,S5For field device N3Uploading data to RTU equipment;
step 523: allocating 4 time slots S6,S7,S8,S9For field device N4And uploading the data to the RTU equipment.
Further, step 53 specifically includes the following steps:
step 531: first 2 time slots S are allocated10,S11In turn for completing the RTU device to the field device N1And N2Is sent to the handset 1 and then 4 time slots S are allocated12,S13,S14,S15In turn for completing the RTU device to the field device N3Is sent to the handset 1 and then 4 time slots S are allocated16,S17,S18,S19In turn for completing the RTU device to the field device N4The data of the RTU is sent to the handheld 1, and 1 time slot S20 is finally allocated for the handheld 1 to send a data response to the RTU equipment;
step 532: if there is a2 nd hand-held, 2 time slots S are first allocated21,S22In turn for completing the RTU device to the field device N1And N2Is sent to the handset 2, and then 4 time slots S are allocated23,S24,S25,S26In turn for completing the RTU device to the field device N3Sends the data to the handheld 2, and then allocates 4 time slots S27,S28,S29,S30In turn for completing the RTU device to the field device N4Sends the data to the handheld 2, and finally allocates 1 time slot S31The handheld 2 is used for sending data response to the RTU equipment;
step 533: by analogy, if there is an mth hand-held, 2 time slots S are first allocated11m-1,S11mIn turn for completing the RTU device to the field device N1And N2Is sent to the handset m and then 4 time slots S are allocated11m+1,S11m+2,S11m+3,S11m+4In turn for completing the RTU device to the field device N3Sends the data to the handheld m, and then allocates 4 time slots S11m+5,S11m+6,S11m+7,S11m+8In turn for completing the RTU device to the field device N4Sends the data to the handheld m, and finally allocates 1 time slot S11m+9The handheld computer is used for sending a data response to the RTU equipment;
step 534: first 2 time slots S are allocated11m+10,S11m+11In turn for completing the RTU device to the field device N1And N2The uploaded data is sent to WIA-PA gateway equipment; then 4 time slots S are reallocated11m+12,S11m+13,S11m+14,S11m+15In turn for completing the RTU device to the field device N3The uploaded data is sent to WIA-PA gateway equipment; finally 4 time slots S are allocated11m+16,S11m+17,S11m+18,S11m+19In turn for completing the RTU device to the field device N4Number of uploadingAnd sending the data to the WIA-PA gateway device.
Further, the inter-cluster communication stage in step 8 specifically includes the following steps:
step 81: receiving field device N of RTU equipment1,N2,N3And N4After uploading the data, the RTU device first sends the field device N1,N2,N3And N4The data is sent to the handheld 1, and then the handheld 1 sends a data response to the RTU equipment; there are two situations for the data response sent by the handheld 1 to the RTU device:
(1) the data response sent to the RTU equipment by the handheld 1 is Y, which indicates that the data sent by the RTU equipment is received by the handheld 1;
(2) the data response sent to the RTU equipment by the handheld 1 is N, which indicates that the data sent by the RTU equipment is not received by the handheld 1;
step 82: if the 2 nd hand is held, the RTU equipment receives the response sent by the hand-held 1, and then the RTU equipment sends the field equipment N1,N2,N3And N4The uploaded data are sent to the handheld 2, and then the handheld 2 sends a data response to the RTU equipment; the data response sent by the handheld 2 to the RTU device is the same as the handheld 1, with two situations:
(1) the data response sent by the handheld 2 to the RTU equipment is Y, which indicates that the data sent by the RTU equipment is received by the handheld 2;
(2) the data response sent by the handheld 2 to the RTU equipment is N, which indicates that the data sent by the RTU equipment is not received by the handheld 2;
step 83: and so on, if the mth handheld device exists, the RTU device receives the response sent by the handheld device m-1, and then the RTU device sends the field device N to the field device N1,N2,N3And N4The uploaded data are sent to a handheld m, and then the handheld m sends a data response to the RTU equipment; the data response sent by the handheld m to the RTU equipment is the same as that sent by the handheld m-1, and the data response has two conditions:
(1) the data response sent to the RTU equipment by the handheld m is Y, which indicates that the data sent by the RTU equipment is received by the handheld m;
(2) and the data response sent by the handheld m to the RTU equipment is N, which indicates that the data sent by the RTU equipment is not received by the handheld m.
The invention has the beneficial effects that: the invention innovatively provides a dispatching method for handheld access of oilfield field equipment based on WIA-PA technology. In the method, a handheld device directly establishes communication with an RTU device, and data of a field device is accessed through the RTU device. Through superframe time slot reallocation, data of a plurality of handheld access field devices are achieved.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention. The objectives and other advantages of the invention may be realized and attained by the means of the instrumentalities and combinations particularly pointed out hereinafter.
Drawings
For the purposes of promoting a better understanding of the objects, aspects and advantages of the invention, reference will now be made to the following detailed description taken in conjunction with the accompanying drawings in which:
FIG. 1 is a diagram of a WIA-PA wireless communication network architecture for multiple handheld access oilfield field device data;
FIG. 2 is a timing diagram of a handheld read field sensor data;
fig. 3 is a diagram of a topology structure of a WIA-PA network according to the first embodiment.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention in a schematic way, and the features in the following embodiments and examples may be combined with each other without conflict.
Wherein the showings are for the purpose of illustrating the invention only and not for the purpose of limiting the same, and in which there is shown by way of illustration only and not in the drawings in which there is no intention to limit the invention thereto; to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product; it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The same or similar reference numerals in the drawings of the embodiments of the present invention correspond to the same or similar components; in the description of the present invention, it should be understood that if there is an orientation or positional relationship indicated by terms such as "upper", "lower", "left", "right", "front", "rear", etc., based on the orientation or positional relationship shown in the drawings, it is only for convenience of description and simplification of description, but it is not an indication or suggestion that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and therefore, the terms describing the positional relationship in the drawings are only used for illustrative purposes, and are not to be construed as limiting the present invention, and the specific meaning of the terms may be understood by those skilled in the art according to specific situations.
As shown in FIG. 1, the invention provides a WIA-PA wireless communication network architecture for accessing oilfield field device data in a handheld manner, which mainly comprises a temperature sensor, a pressure sensor, an integrated load indicator, a comprehensive electrical parameter, an RTU device, a plurality of handheld and WIA-PA gateway devices.
The device comprises a temperature sensor, a pressure sensor, an integrated load indicator and a comprehensive electric parameter, which are hereinafter referred to as field devices. The WIA-PA gateway device is an RTU device, a field device and a handheld number. The WIA-PA gateway equipment is numbered G; the RTU equipment is numbered R, and the field equipment managed by the RTU equipment is respectively numbered Ni,i∈[1,4],N1Indicating a temperature sensor, N2Representing an integrated electrical parameter, N3Indicating integrated load indicator, N4Represents a pressure sensor; the number of the handheld device is Hj,j∈[1,m];RNiIndicating that the RTU device is transmitting a field device NiThe data of (1).
Field device N1And N2The data collected each time is transmitted to the RTU once; now thatField device N3And N4The data volume collected each time is 2-3k Bytes, and the field device N is regulated according to the oil and gas production Internet of things system construction specification and the IEEE 802.15.4 physical layer regulation (maximum transmission Bytes 127Bytes)3And N4The acquired data needs to be transmitted in a slicing mode and transmitted to RTU equipment in 4 times. After receiving the data sent by each field device, the RTU device generates a command response (the response carries control command information) to control the operation of the field device.
Fig. 2 shows a data sequence diagram of a plurality of handheld access field devices, which specifically includes the following steps:
step 1, adopting WIA-PA gateway equipment, RTU equipment, field equipment and handheld building network structures, and numbering the WIA-PA gateway equipment, the RTU equipment, the field equipment and the handheld. The network comprises a WIA-PA gateway device which is numbered G; an RTU device, numbering it as R; the RTU device manages 4 field devices, which are respectively numbered as N1,N2,N3And N4(ii) a m handheld numbers are Hj,j∈[1,m];RNiIndicating that the RTU device is transmitting a field device NiThe data of (a);
step 2, holding 1 by hand, holding 2, … by hand, moving the m by hand to the wireless transmission range of the oilfield field equipment to be accessed, and monitoring the beacon frame broadcast by the RTU equipment to access the network; after monitoring that a beacon frame broadcasted by RTU equipment is accessed to a network, the RTU equipment completes network configuration, network performance and health information acquisition operation in a CFP stage;
step 3, in the intra-cluster communication stage, handheld 1, handheld 2, … and handheld m send requests for accessing field device data to RTU devices;
step 4, after the RTU equipment receives the access request sent by the handheld 1, handheld 2, … and handheld m, the RTU equipment sends a superframe update request network layer command frame to the WIA-PA gateway equipment to request to grant the handheld 1, handheld 2, … and handheld m to access the field equipment data;
and 5, after the WIA-PA gateway equipment receives the superframe update response network layer command frame, the WIA-PA gateway equipment judges whether the field equipment accessed by the handheld 1, the handheld 2, … and the handheld m is the field equipment managed by the network or not by analyzing the superframe update request network layer command frame, and if the field equipment belongs to the field equipment managed by the WIA-PA gateway equipment of the network, the WIA-PA gateway equipment reallocates the superframe time slot.
The superframe time slot reallocation specifically comprises the following steps:
(1) determining superframe length
The superframe time slot reallocation does not consider the time slots of the beacon phase, and the time slot number of each superframe meets the following formula:
SLOT 20+11 m; wherein SLOT represents the number of SLOTs of one superframe, and m represents the number of handholds.
The time slots are numbered from 0 and are numbered S in sequence0,S1,S2,S3,…,S11m+19(ii) a The superframe slot allocation is allocated in sequence starting from slot 0.
(2) The method for allocating the time slots in the communication stage in the cluster specifically comprises the following steps:
a1, allocating 2 time slots S0,S1In turn for field device N1And N2Uploading data to RTU equipment;
a2, allocating 4 time slots S2,S3,S4,S5For field device N3Uploading data to RTU equipment;
a3, allocating 4 time slots S6,S7,S8,S9For field device N4And uploading the data to the RTU equipment.
(3) The inter-cluster communication phase time slot allocation specifically comprises the following steps:
b1, first allocating 2 time slots S10,S11In turn for completing the RTU device to the field device N1And N2Is sent to the handset 1 and then 4 time slots S are allocated12,S13,S14,S15In turn for completing the RTU device to the field device N3Is sent to the handset 1 and then 4 time slots S are allocated16,S17,S18,S19In turn for completing the RTU device to the field device N4Sends the data to the handheld 1, and finally allocates 1 time slot S20The handheld device 1 is used for sending a data response to the RTU device;
b2, if there is 2 nd hand-hold, 2 time slots S are first allocated21,S22In turn for completing the RTU device to the field device N1And N2Is sent to the handset 2, and then 4 time slots S are allocated23,S24,S25,S26In turn for completing the RTU device to the field device N3Sends the data to the handheld 2, and then allocates 4 time slots S27,S28,S29,S30In turn for completing the RTU device to the field device N4Sends the data to the handheld 2, and finally allocates 1 time slot S31The handheld 2 is used for sending data response to the RTU equipment;
b3, and so on, if there is mth hand-held, 2 time slots S are allocated first11m-1,S11mIn turn for completing the RTU device to the field device N1And N2Is sent to the handset m and then 4 time slots S are allocated11m+1,S11m+2,S11m+3,S11m+4In turn for completing the RTU device to the field device N3Sends the data to the handheld m, and then allocates 4 time slots S11m+5,S11m+6,S11m+7,S11m+8In turn for completing the RTU device to the field device N4Sends the data to the handheld m, and finally allocates 1 time slot S11m+9The handheld computer is used for sending a data response to the RTU equipment;
b4, first allocating 2 time slots S11m+10,S11m+11In turn for completing the RTU device to the field device N1And N2The uploaded data is sent to WIA-PA gateway equipment; then 4 time slots S are reallocated11m+12,S11m+13,S11m+14,S11m+15In turn for completing the RTU device to the field device N3The uploaded data is sent to WIA-PA gateway equipment; finally 4 time slots S are allocated11m+16,S11m+17,S11m+18,S11m+19In turn for completing the RTU device to the field device N4The uploaded data is sent to WIA-PAA gateway device. By this, the superframe slot allocation ends. The new superframe structure is shown in table 1. In Table 1->The symbol indicates that the previous device transmits data to the next device. ACTION denotes an operation performed at a corresponding slot.
Table 1 new superframe structure
Numbering S0 S1 S2 S3 S4 S5 S10 S11 S12 S13 S11m+17 S11m+18 S11m+19
ACTION N1->R N2->R N3->R N3->R N3->R N3->R RN1->H1 RN2->H1 RN3->H1 RN3->H1 RN4->G RN4->G RN4->G
Step 6, after the superframe time slot distribution in step 5 is finished, the WIA-PA gateway equipment issues a new superframe structure, and the RTU equipment receives the new superframe structure issued by the WIA-PA gateway equipment and then sends the new superframe structure to the field equipment N1,N2,N3、N4And handset 1, handset 2, …, handset m returns a new superframeStructure;
step 7, after the handheld device 1, handheld device 2, … receives a new superframe structure sent by the RTU device, the handheld device updates local time through a time synchronization algorithm to complete accurate time synchronization;
step 8, after the handheld 1, handheld 2, … and handheld m complete the time synchronization of step 7, the field device N communicates in the next superframe cluster1,N2,N3And N4And uploading data to the RTU equipment. The inter-cluster communication stage specifically comprises the following steps:
c1, RTU device receiving field device N1,N2,N3And N4After uploading the data, the RTU device first sends the field device N1,N2,N3And N4Then hand 1 sends a data reply to the RTU device. There are two situations for the data response sent by the handheld 1 to the RTU device:
(1) the data response sent to the RTU equipment by the handheld 1 is Y, which indicates that the data sent by the RTU equipment is received by the handheld 1;
(2) the data response sent to the RTU equipment by the handheld 1 is N, which indicates that the data sent by the RTU equipment is not received by the handheld 1;
c2, if there is 2 nd hand-hold, after RTU device receives the answer sent by hand-hold 1, RTU device will send the field device N again1,N2,N3And N4The uploaded data is sent to the handheld 2, and then the handheld 2 sends a data response to the RTU device. The data response sent by the handheld 2 to the RTU device is the same as the handheld 1, with two situations:
(1) the data response sent by the handheld 2 to the RTU equipment is Y, which indicates that the data sent by the RTU equipment is received by the handheld 2;
(2) the data response sent by the handheld 2 to the RTU equipment is N, which indicates that the data sent by the RTU equipment is not received by the handheld 2;
c3, and so on, if the mth hand is held, the RTU device receives the response sent by the m-1 hand, and then the RTU device sends the field device N1,N2,N3And N4The uploaded data is sent to the handheld m, and then the handheld m sends the data to the RTU equipmentAnd (6) responding. The data response sent by the handheld m to the RTU equipment is the same as that sent by the handheld m-1, and the data response has two conditions:
(1) the data response sent to the RTU equipment by the handheld m is Y, which indicates that the data sent by the RTU equipment is received by the handheld m;
(2) the data response sent by the handheld m to the RTU equipment is N, which indicates that the data sent by the RTU equipment is not received by the handheld m;
step 9, after the RTU equipment receives the data response sent by the handheld m, the RTU equipment sends the field equipment N1,N2,N3And N4Sending the data to the WIA-PA gateway device;
step 10, in step 8, if the data responses received by the RTU device are all Y, skipping to step 11; if the data responses received by the RTU device are not all Y, replying that the handheld devices of N need to send requests for accessing the field device data to the RTU device again, namely, skipping to step 3, repeatedly executing the steps 3 to 9 until all the handheld responses received by the RTU device are Y, ending the data of a plurality of handheld access field devices at the moment, and skipping to step 11.
And 11, after the handheld access field device data is finished, the RTU device sends a superframe update request network layer command frame to the WIA-PA gateway device to request to recover the original WIA-PA superframe. The original WIA-PA superframe structure is shown in table 2. The "- >" symbol in table 2 indicates that the previous device transmits data to the next device. ACTION denotes an operation performed at a corresponding slot.
TABLE 2 original WIA-PA superframe structure
Numbering S0 S1 S2 S3 S4 S5 S6 S7 S8 S9 S16 S17 S18 S19
ACTION N1->R N2->R N3->R N3->R N3->R N3->R N4->R N4->R N4->R N4->R RN4->G RN4->G RN4->G RN4->G
Step 12, after receiving the superframe update request network layer command frame of the RTU equipment, the WIA-PA gateway equipment responds to whether to agree to recover the original superframe structure;
and step 13, if the RTU device receives the superframe update response network layer command frame returned by the WIA-PA gateway device in step 12, and agrees to recover the original superframe response, sending the data uploaded by the field device to the WIA-PA gateway device in the next superframe.
Example one
In this embodiment, the number of the handgrips is 2, which are respectively numbered as H as shown in FIG. 31And H2According to the formula SLOT 20+11m, 42 SLOTs per superframe are obtained.
The intra-cluster communication phase slot assignments are shown in table 3. The "- >" symbol in table 3 indicates that the previous device transmits data to the subsequent device. ACTION denotes an operation performed at a corresponding slot.
TABLE 3 Intra-cluster communication phase slot assignment
Numbering S0 S1 S2 S3 S4 S5 S6 S7 S8 S9
ACTION N1->R N2->R N3->R N3->R N3->R N3->R N4->R N4->R N4->R N4->R
The inter-cluster communication phase slot assignments are shown in table 4. The "- >" symbol in table 4 indicates that the previous device transmits data to the subsequent device. ACTION denotes an operation performed at a corresponding slot.
TABLE 4 inter-Cluster communication phase Slot Allocation
Numbering S10 S11 S12 S13 S14 S15 S20 S11m+16 S11m+17 S11m+18 S11m+19
ACTION RN1->H1 RN2->H1 RN3->H1 RN3->H1 RN3->H1 RN3->H1 H1->R RN4->G RN4->G RN4->G RN4->G
The operations in tables 3 and 4 are explained as follows, as shown in table 5.
TABLE 5
Original symbol New symbol
N1->R A1
N2->R A2
N3->R A3
N4->R A4
RN1->H1 B1
RN2->H1 B2
RN3->H1 B3
RN4->H1 B4
RN1->H2 C1
RN2->H2 C2
RN3->H2 C3
RN4->H2 C4
RN1->G D1
RN2->G D2
RN3->G D3
RN4->G D4
H1->R X1
H2->R X2
The complete new WIA-PA superframe structure obtained from tables 3, 4 and 5 is shown in table 6.
TABLE 6 New WIA-PA superframe structure
Numbering S0 S1 S2 S3 S4 S5 S10 S11 S12 S13 S14 S15 S16 S17 S18 S19 S20 S38 S39 S40 S41
ACTION A1 A2 A3 A3 A3 A3 B1 B2 B3 B3 B3 B3 B4 B4 B4 B4 X1 D4 D4 D4 D4
The recovered WIA-PA superframe structure according to step 13 is shown in table 7.
TABLE 7 recovered WIA-PA superframe structure
Numbering S0 S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16 S17 S18 S19 S0 S1
ACTION A1 A2 A3 A3 A3 A3 A4 A4 A4 A4 D1 D2 D3 D3 D3 D3 D4 D4 D4 D4 A1 A2
Finally, the above embodiments are only intended to illustrate the technical solutions of the present invention and not to limit the present invention, and although the present invention has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions, and all of them should be covered by the claims of the present invention.

Claims (4)

1. A scheduling method for handheld access to oilfield field device data based on WIA-PA technology is characterized in that: the method comprises the following steps:
step 1: adopting a WIA-PA gateway device, an RTU device, a field device and a handheld network structure, and numbering the WIA-PA gateway device, the RTU device, the field device and the handheld network structure;
step 2: a plurality of handheld devices move to the wireless transmission range of oilfield field equipment to be accessed, and monitor the beacon frame broadcast by the RTU equipment to access the network; after a plurality of handheld monitoring beacon frames broadcasted by RTU equipment enter the network, the RTU equipment completes network configuration, network performance and health information acquisition operation in a CFP stage;
and step 3: in the intra-cluster communication stage, sending a data request for accessing field equipment to RTU equipment by a hand;
and 4, step 4: after receiving an access request sent by a handheld device, the RTU device sends a superframe update request network layer command frame to the WIA-PA gateway device to request to grant data of the handheld access field device;
and 5: after the WIA-PA gateway equipment receives the superframe updating response network layer command frame, the WIA-PA gateway equipment judges whether the handheld access field equipment is the field equipment managed by the network or not by analyzing the superframe updating request network layer command frame, and if the handheld access field equipment belongs to the field equipment managed by the WIA-PA gateway equipment of the network, the WIA-PA gateway equipment redistributes superframe time slots; the superframe time slot reallocation specifically comprises the following steps:
step 51: determining superframe length
The superframe time slot reallocation does not consider the time slots of the beacon phase, and the time slot number of each superframe meets the following formula:
SLOT=20+11m
wherein, SLOT represents the time SLOT number of a superframe, and m represents the number of handheld devices;
the time slots are numbered from 0 and are numbered S in sequence0,S1,S2,S3,…,S11m+19(ii) a The superframe time slot allocation is sequentially allocated from the time slot 0;
step 52: allocating time slots in the communication stage in the cluster; the method specifically comprises the following steps:
step 521: allocating 2 time slots S0,S1In turn for field device N1And N2Uploading data to RTU equipment;
step 522: allocating 4 time slots S2,S3,S4,S5For field device N3Uploading data to RTU equipment;
step 523: allocating 4 time slots S6,S7,S8,S9For field device N4Uploading data to RTU equipment;
step 53: allocating time slots in an inter-cluster communication stage; the method specifically comprises the following steps:
step 531: first 2 time slots S are allocated10,S11In turn for completing the RTU device to the field device N1And N2Is sent to the handset 1 and then 4 time slots S are allocated12,S13,S14,S15In turn for completing the RTU device to the field device N3Is sent to the handset 1 and then 4 time slots S are allocated16,S17,S18,S19In turn for completing the RTU device to the field device N4Sends the data to the handheld 1, and finally allocates 1 time slot S20The handheld device 1 is used for sending a data response to the RTU device;
step 532: if there is a2 nd hand-held, 2 time slots S are first allocated21,S22In turn for completing the RTU device to the field device N1And N2Is sent to the handset 2, and then 4 time slots S are allocated23,S24,S25,S26In turn for completing the RTU device to the field device N3Sends the data to the handheld 2, and then allocates 4 time slots S27,S28,S29,S30In turn for completing the RTU device to the field device N4Sends the data to the handheld 2, and finally allocates 1 time slot S31The handheld 2 is used for sending data response to the RTU equipment;
step 533: by analogy, if there is an mth hand-held, 2 time slots S are first allocated11m-1,S11mIn turn for completing the RTU device to the field device N1And N2Then sends the data to the handheld m, and then allocates 4 time slotsS11m+1,S11m+2,S11m+3,S11m+4In turn for completing the RTU device to the field device N3Sends the data to the handheld m, and then allocates 4 time slots S11m+5,S11m+6,S11m+7,S11m+8In turn for completing the RTU device to the field device N4Sends the data to the handheld m, and finally allocates 1 time slot S11m+9The handheld computer is used for sending a data response to the RTU equipment;
step 534: first 2 time slots S are allocated11m+10,S11m+11In turn for completing the RTU device to the field device N1And N2The uploaded data is sent to WIA-PA gateway equipment; then 4 time slots S are reallocated11m+12,S11m+13,S11m+14,S11m+15In turn for completing the RTU device to the field device N3The uploaded data is sent to WIA-PA gateway equipment; finally 4 time slots S are allocated11m+16,S11m+17,S11m+18,S11m+19In turn for completing the RTU device to the field device N4The uploaded data is sent to WIA-PA gateway equipment;
step 6: the WIA-PA gateway equipment issues a new superframe structure, and the RTU equipment returns the new superframe structure to the field equipment and the handheld equipment after receiving the new superframe structure issued by the WIA-PA gateway equipment;
and 7: after a new superframe structure sent by RTU equipment is received by a handheld, local time is updated through a time synchronization algorithm to finish accurate time synchronization;
and 8: in the next superframe intra-cluster communication phase, the field device N1,N2,N3And N4Uploading data to RTU equipment;
and step 9: after the RTU equipment receives the data response sent by the handheld m, the RTU equipment sends the field equipment N1,N2,N3And N4Sending the data to the WIA-PA gateway device;
step 10: in step 8, if the data responses received by the RTU device are all Y, then jumping to step 11; if the data responses received by the RTU equipment are not all Y, replying that the handholds of the N need to send a request for accessing the field equipment data to the RTU equipment again, namely skipping to the step 3, repeatedly executing the step 3 to the step 9 until the handholds received by the RTU equipment are all Y, ending the data of a plurality of handholds accessing the field equipment at the moment, and skipping to the step 11;
step 11: after the handheld field device data access is finished, the RTU device sends a superframe update request network layer command frame to the WIA-PA gateway device to request to recover to the original WIA-PA superframe;
step 12: after receiving a superframe update request network layer command frame of the RTU equipment, the WIA-PA gateway equipment responds to whether to agree to recover the original superframe structure;
step 13: if the RTU device receives the superframe update response network layer command frame returned by the WIA-PA gateway device in step 12, and agrees to recover the original superframe response, the RTU device sends the data uploaded by the field device to the WIA-PA gateway device at the next superframe.
2. WIA-PA technology based handset according to claim 1The scheduling method for accessing the data of the oilfield field equipment is characterized by comprising the following steps: the numbering in step 1 is as follows: the WIA-PA gateway equipment is numbered G, the RTU equipment is numbered R, and the field equipment managed by the RTU equipment is respectively numbered Ni,i∈[1,4],N1Indicating a temperature sensor, N2Representing an integrated electrical parameter, N3Indicating integrated load indicator, N4Indicating a pressure sensor, hand-held number Hj,j∈[1,m]M is the number of handpieces; rNiIndicating that the RTU device is transmitting a field device NiThe data of (1).
3. The WIA-PA technology based handheld oilfield field device data scheduling method of claim 2, wherein: field device N1And N2The data collected each time is transmitted to the RTU once; field device N3And N4The data volume collected each time is 2-3kBytes, and the field device N3And N4The acquired data needs to be transmitted in a slicing mode and transmitted to RTU equipment in 4 times; the RTU equipment generates a command response to control the operation of the field equipment after receiving the data sent by each field equipment, wherein the response carries control command information.
4. The WIA-PA technology based handheld oilfield field device data scheduling method of claim 2, wherein: the inter-cluster communication stage in step 8 specifically includes the following steps:
step 81: receiving field device N of RTU equipment1,N2,N3And N4After uploading the data, the RTU device first sends the field device N1,N2,N3And N4The data is sent to the handheld 1, and then the handheld 1 sends a data response to the RTU equipment; there are two situations for the data response sent by the handheld 1 to the RTU device:
(1) the data response sent to the RTU equipment by the handheld 1 is Y, which indicates that the data sent by the RTU equipment is received by the handheld 1;
(2) the data response sent to the RTU equipment by the handheld 1 is N, which indicates that the data sent by the RTU equipment is not received by the handheld 1;
step 82: if the 2 nd hand is held, the RTU equipment receives the response sent by the hand-held 1, and then the RTU equipment sends the field equipment N1,N2,N3And N4The uploaded data are sent to the handheld 2, and then the handheld 2 sends a data response to the RTU equipment; the data response sent by the handheld 2 to the RTU device is the same as the handheld 1, with two situations:
(1) the data response sent by the handheld 2 to the RTU equipment is Y, which indicates that the data sent by the RTU equipment is received by the handheld 2;
(2) the data response sent by the handheld 2 to the RTU equipment is N, which indicates that the data sent by the RTU equipment is not received by the handheld 2;
step 83: and so on, if the mth handheld device exists, the RTU device receives the response sent by the handheld device m-1, and then the RTU device sends the field device N to the field device N1,N2,N3And N4The uploaded data are sent to a handheld m, and then the handheld m sends a data response to the RTU equipment; the data response sent by the handheld m to the RTU equipment is the same as that sent by the handheld m-1, and the data response has two conditions:
(1) the data response sent to the RTU equipment by the handheld m is Y, which indicates that the data sent by the RTU equipment is received by the handheld m;
(2) and the data response sent by the handheld m to the RTU equipment is N, which indicates that the data sent by the RTU equipment is not received by the handheld m.
CN202110096684.XA 2021-01-25 2021-01-25 WIA-PA technology-based handheld oilfield field equipment data access scheduling method Active CN112887997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110096684.XA CN112887997B (en) 2021-01-25 2021-01-25 WIA-PA technology-based handheld oilfield field equipment data access scheduling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110096684.XA CN112887997B (en) 2021-01-25 2021-01-25 WIA-PA technology-based handheld oilfield field equipment data access scheduling method

Publications (2)

Publication Number Publication Date
CN112887997A CN112887997A (en) 2021-06-01
CN112887997B true CN112887997B (en) 2022-04-15

Family

ID=76050979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110096684.XA Active CN112887997B (en) 2021-01-25 2021-01-25 WIA-PA technology-based handheld oilfield field equipment data access scheduling method

Country Status (1)

Country Link
CN (1) CN112887997B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104734893A (en) * 2015-04-02 2015-06-24 重庆邮电大学 TR069 protocol management method oriented to WIA-PA network
CN104852982A (en) * 2015-05-18 2015-08-19 重庆邮电大学 Method of direct connection between WIA-PA network handheld device and field device based on Keep-alive frame
CN104967681A (en) * 2015-06-17 2015-10-07 重庆邮电大学 XML-based WIA-PA gateway service method
CN104993898A (en) * 2015-05-28 2015-10-21 重庆邮电大学 Method for monitoring-type time synchronization among cluster nodes in WIA-PA network
CN108282887A (en) * 2018-01-24 2018-07-13 深圳清华大学研究院 Wireless communications method, device, communication device and readable storage medium storing program for executing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201410025D0 (en) * 2014-06-05 2014-07-16 Ocado Ltd Systems and methods for communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104734893A (en) * 2015-04-02 2015-06-24 重庆邮电大学 TR069 protocol management method oriented to WIA-PA network
CN104852982A (en) * 2015-05-18 2015-08-19 重庆邮电大学 Method of direct connection between WIA-PA network handheld device and field device based on Keep-alive frame
CN104993898A (en) * 2015-05-28 2015-10-21 重庆邮电大学 Method for monitoring-type time synchronization among cluster nodes in WIA-PA network
CN104967681A (en) * 2015-06-17 2015-10-07 重庆邮电大学 XML-based WIA-PA gateway service method
CN108282887A (en) * 2018-01-24 2018-07-13 深圳清华大学研究院 Wireless communications method, device, communication device and readable storage medium storing program for executing

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
工业无线网络管理器的设计与实现;李敏等;《自动化仪表》;20180613(第06期);全文 *
油田数字化建设进展及发展趋势;张丹丹等;《石油规划设计》;20200920(第05期);全文 *
油田生产自动化应用技术分析;石太军等;《石油规划设计》;20180120(第01期);全文 *

Also Published As

Publication number Publication date
CN112887997A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
DE602005003190T2 (en) Method and apparatus for supporting various mobile hosts in a universal serial bus (USB) in a coordinator-based wireless network
CN101065948B (en) An internet-protocol based telemetry patient monitoring system
EP1850563A1 (en) Method for configuring IP addresses in a windfarm network
WO2012121544A2 (en) Wireless network system, wireless device, and network registration method of the wireless device
AU2012226732A1 (en) Wireless network system, wireless device, and network registration method of the wireless device
US9178666B2 (en) Method for operating multi-type beacons
JPH09153011A (en) Network management system
US20100027480A1 (en) Assigning Slots in a Mesh Network
CN102256362B (en) Link allocation method for multi-channel wireless network
CN106658554A (en) Method and device for activating base station
CN112887997B (en) WIA-PA technology-based handheld oilfield field equipment data access scheduling method
CN103298118A (en) Indication and confirmation method and device for time-frequency resource
EP3119006A1 (en) Method and electronic system for building a local broadband network
CN112702317A (en) Communication protocol optimization method based on intelligent gateway
CN112866327B (en) Method, device, equipment, system and storage medium for transmitting vehicle data
CN102595422B (en) Vertical parallel frequency spectrum distribution method in cognitive wireless system
EP1085771A3 (en) Wireless network with multiple access-probabilities for accessing a RACH channel
CN112367391A (en) Internet of things-based special transformer acquisition terminal system and method thereof
WO2013178250A1 (en) Method and system for data communication in hierarchically structured network
CN103609194B (en) Communicator, communication system and communication means
WO2021241627A1 (en) Server device, sensor device, visualization system, data display method, and non-transitory computer-readable medium
CN115022116A (en) Radio remote communication system and control method thereof
Ramamurthy et al. ReWINS: A distributed multi-RF sensor control network for industrial automation
CN106557050B (en) Washing machine, data transmission method thereof and digital signal conditioning device of washing machine
WO2020188656A1 (en) Wireless device, wireless device centralizing station, multi-hop wireless communication system and wireless parameter determination method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant