CN104200640A - Remote real-time synchronous integration processing system for data of multiple serial port sources - Google Patents
Remote real-time synchronous integration processing system for data of multiple serial port sources Download PDFInfo
- Publication number
- CN104200640A CN104200640A CN201410418634.9A CN201410418634A CN104200640A CN 104200640 A CN104200640 A CN 104200640A CN 201410418634 A CN201410418634 A CN 201410418634A CN 104200640 A CN104200640 A CN 104200640A
- Authority
- CN
- China
- Prior art keywords
- data
- server
- serial ports
- fracturing
- real
- 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
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The invention relates to a remote real-time synchronous integration processing system for data of multiple serial port sources, which is used for simultaneously monitoring and controlling equipment of multiple fracturing truck sets by virtue of the multiple serial ports. The remote real-time synchronous integration processing system comprises a plurality of fracturing instrument vehicle sets; industrial personal computers for reading and acquiring fracturing data are connected to the fracturing instrument vehicle sets; serial ports for acquiring data are arranged on the industrial personal computers, concurrent data acquisition modules are arranged on the industrial personal computers, and data senders for sending the data to a server are connected to the industrial personal computers; the server is used for carrying out synchronous integration calculation on each set of fracturing data by virtue of a synchronous integration algorithm and forwarding the data to a monitoring terminal through virtual serial ports in real time; the monitoring terminal is connected with the server and displays the real-time data from the server as fracturing curves. The remote real-time synchronous integration processing system can conduct background remote command, is convenient to use and is high in practicability.
Description
Technical field
The invention belongs to data processing and data telecommunications, the real-time Transmission and the real-time integration that belong to Engineering data are processed, and the remote data real-time Transmission and synchronous integration that are specifically related to different serial ports source are processed.
Background technology
Along with riseing rapidly of domestic energy demand, the exploratory development task in domestic each oil field is more and more heavier, corresponding oil, gas, well fracturing workload is also more and more, but pressing crack construction is on-the-spot main in the field away from urban district, and domestic existing various fracturing measuring truck (comprising domestic and imported) does not all possess the soft of long-range real-time Transmission pressure break curve, hardware condition, pressure break commander and technical specialist need to go field could monitor in real time pressing crack construction data and curve in fracturing measuring truck, and can not command simultaneously, instruct the construction in other well sites, when particularly pressing crack construction is closed in the assembly of many cars of big-frac treatment different automobile types, pressure break commander and technical specialist can only monitor data and the curve of this cover fracturing truck group on a measuring truck, cannot monitor other car group data and curves simultaneously, big-frac treatment floor manager and technical Analysis have been brought to severely restricts, brought very large difficulty to the fracturing in each oil field.
Summary of the invention
For addressing the above problem, the present invention proposes a kind of integrating treatment system that utilizes a plurality of serial ports that the equipment of a plurality of fracturing truck groups is monitored simultaneously and controlled, its concrete technical scheme is as follows:
Many serial ports source data remote real-time synchronous integrating treatment system, comprising: some fracturing measuring truck groups; In described fracturing measuring truck group, be connected with for reading and gather the industrial computer of pressure break data; On described industrial computer, there is the serial ports of data acquisition and be connected with for sending data to the data transmitter of server; Described server is for being carried out each cover pressure break data pressure break data synchronous conformity calculation and pass through the real-time forwarding data of virtual serial port to monitoring terminal machine by synchronous integration algorithm; Described monitoring terminal machine is connected with server and the real time data from server is shown as to pressure break curve.
In described fracturing measuring truck group, be connected with for monitoring the industrial computer of pressure break data.
On described industrial computer, comprise Data Concurrent acquisition module.
Described server comprises that data synchronously integrate processing module.
Beneficial effect of the present invention: this system utilizes the integration that a plurality of serial ports are monitored simultaneously and controlled the equipment of a plurality of fracturing truck groups to process, can effectively on a measuring truck, monitor data and the curve of this cover fracturing truck group, and can realize rear line remote command, instruct the construction in other well sites, monitor other car group data and curves, facilitated big-frac treatment floor manager and technical Analysis and brought great benefit.
Accompanying drawing explanation
Fig. 1 is structure connection diagram of the present invention;
Fig. 2 is Data Integration synchronized algorithm schematic diagram.
Embodiment
For the ease of understanding, below in conjunction with Fig. 1, the invention will be further described:
Embodiment 1: many serial ports source data remote real-time synchronous integrating treatment system, comprising: some fracturing measuring truck groups; Be applicable to the overall process monitoring of land acidification of oil gas well, sand control, frac job, it also can many pump trucks of centralized control and truck-mounted blender, can Real-time Collection, show, record the data of frac job overall process, and operational data is carried out to relevant treatment, record preservation, last printout construction data and curve.
In described fracturing measuring truck group, be connected with for reading and gather the industrial computer of pressure break data, on described industrial computer, be useful on data acquisition serial ports, have Data Concurrent acquisition module and be connected with the data transmitter that sends data to server, in practice process, two kinds of physical interface standards of RS232 and RS485 all can be used, for there being the fracturing measuring truck group of external serial ports, can use portable computer, as connection serial ports such as notebooks, and with 3G network interface card, pressure break data are sent to server in real time, for the measuring truck that there is no external serial ports, as two S, west, other vehicles such as national oil well should be obtained data by Data Concurrent acquisition module, the inside serial ports reading out data of industrial computer, and combined with virtual serial ports sends program Data Concurrent to industrial personal computer monitoring software and data, and then reach and do not affect the effect of each car group to the real-time monitoring of data, and be sent to server by USB type 3G network interface card,
Described server is for carrying out synchronous conformity calculation by synchronous integration algorithm each cover pressure break data by pressure break data and by inventing the real-time forwarding data of serial ports to monitoring terminal machine; When many covers fracturing truck group is constructed simultaneously, each car group the image data at same a moment put together referring to, integrate and to be only significantly, Here it is, and many cars group pressure break data are synchronously integrated processing.Because the serial data of fracturing measuring truck is Millisecond segmentation output, therefore pressure break data are set to one second for reading interval in the present invention.
At this, the mode that applicant adopts is in practice to invent serial ports C by the port A server, and the port B of client is invented to serial ports D, and virtual serial port C, D realize two-way communication by server and monitoring terminal machine port.Wherein virtual serial port C and D need to connect predefined corresponding serial communication code.
Described monitoring terminal machine is connected with server and the real time data from server is shown as to pressure break curve.
Embodiment 2: described server has data relic processing module.Its fundamental purpose is in order to meet high real-time; When data transmit, start to receive data and process in order to Data Integration, then thread suspension is waited for the arrival of next serial data.It is worth mentioning that the data that part industrial computer transmits are at every turn not necessarily complete, burst often, for convenient, integrate, can adopt following two kinds of modes: the one, utilize the each data length gathering of industrial computer to fix, by checking that data amount check judges whether to need splicing; The 2nd, industrial computer data length is unfixing, and the data physical end of need to usining accords with as criterion.
Embodiment 3: described server comprises that data synchronously integrate processing module.For the ease of understanding, applicant launches explanation integration process of the present invention at this:
Facts have proved that the data amount check that industrial computer sends is at every turn inconsistent, and the data amount check sending is also irregularities, randomness is very strong.Data synchronization processing module is exactly will the serial data from many industrial computer collections, in level time second, unification is synchronously a data group.Through the fractionation of rear machine, with regard to reducible, go out two synchronous data sources like this, also further data stack is integrated and is processed.
Two industrial computers of take need data synchronization processing as example.The core design of this module is used Liang Ge round-robin queue as two data capsules exactly, and each round-robin queue is corresponding to an industrial computer.When the data of this industrial computer through relic, process splicing complete after, in chronological sequence order copies data in round-robin queue.The numbering of round-robin queue's save data is from 0 to MAX, and wherein MAX is adjustable, and it is 1024 that MAX is set in practice; Because be the data that multi-threaded parallel receives many industrial computers, almost at one time, all can there be the complete pressure break data that each industrial computer transmits in each round-robin queue, the numbering that has had data by comparing each round-robin queue, with minimum numbering, be as the criterion, the data of each round-robin queue are formed a team to integrate and send again, illustrate: as Fig. 2, suppose to have two industrial computers to coordinate monitoring, Jiu Yongliangge round-robin queue so, at certain a moment, in round-robin queue 1 store data be numbered 2, in round-robin queue 2, store data is numbered 1.We form a team 0 number in 0 number and 2 in round-robin queue 1 to integrate and process so, then send; Then 1 number in 1 number and 2 in 1 is formed a team to send.More than 1 to 2 numberings of round-robin queue are data of 2, because the data that First industrial computer is sent are at that moment more than second industrial computer, it may be random that industrial computer sends data at every turn, the partial data of algorithm waits second industrial computer at lower a moment forms a team to send again so, because industrial computer output data are Milliseconds, so wait for just for CPU, we are imperceptible at monitoring terminal, finally it is emphasized that, in order to guarantee the high real-time of many industrial computer data synchronization processing, can design module as follows:
1, at server end, open up the special data source of monitoring two industrial computers of two threads;
2, it is that relic is processed that the data that two data sources transmitted are in real time done respectively analyzing and processing;
3, the partial data of analyzing in " 2 " is deposited in to round-robin queue separately;
4, open up the synchronous situation that a new thread checks two queues, synchronous data marshalling is sent.
Wherein should be noted that the coupled relation of three sub-threads and main thread, the switching variable design of each thread.To the data processing in " 2 " step, whether completely need to analyze data, when complete data will be kept, the data of relic also will be kept the splicing of waiting for when next relic data transmit and process.To safeguard the pointer movement of Liang Ge round-robin queue in addition, particularly enter, during dequeue, need to judge that the sky of queue is with full, and do corresponding processing.
In addition, in order to adapt to certain industrial computer that working-yard may occur, stop the actual conditions of monitoring, we have added a key in data synchronization processing, in practice process, key is made as 3, data amount check for Liang Ge round-robin queue is relatively poor, when arriving key, we judge many industrial computers wherein one shut down, system proceeds to single industrial computer data-transmission mode immediately, to terminal, only sends existing industrial computer data; When monitoring Liang Ge round-robin queue and have data, system proceeds to many industrial computer data-transmission modes at once.
In data, synchronously integrate on basis, can extract according to actual needs each industrial computer subitem data and do computing, calculate accumulative total or comprehensive Monitoring Data.
Beneficial effect: utilize a plurality of serial ports that the equipment of a plurality of fracturing truck groups is monitored simultaneously and controlled, can reach rear line remote command; Effectively solve pressure break commander and technical specialist and can only on a measuring truck, monitor data and the curve of this cover fracturing truck group, cannot monitor other car group data and curves simultaneously, big-frac treatment floor manager and technical Analysis have been brought severely restricts and for fracturing, brought the corresponding problems such as difficulty.
The present invention has the effect of the different fracturing measuring truck group of remote transmission data, through field experiment and Data Comparison result repeatedly, show that the pressure break data rate of accuracy reached of long-range real-time Transmission is to 100%, and it is synchronous that data reach second level, with level calculating second, at same second, the data of fracturing measuring truck group collection were consistent with the data that rear line monitoring terminal machine is received.
Claims (3)
1. more than serial ports source data remote real-time synchronous integrating treatment system, comprising: some fracturing measuring truck groups;
It is characterized in that: in described fracturing measuring truck group, be connected with for reading and gather the industrial computer of pressure break data;
On described industrial computer, be useful on data acquisition serial ports, have Data Concurrent acquisition module and be connected with the data transmitter that sends data to server;
Described server is for carrying out synchronous conformity calculation by synchronous integration algorithm each cover pressure break data by pressure break data and by inventing the real-time forwarding data of serial ports to monitoring terminal machine;
Described monitoring terminal machine is connected with server and the real time data from server is shown as to pressure break curve.
2. many serial ports source data remote real-time synchronous integrating treatment system as claimed in claim 1, is characterized in that: on described industrial computer, have Data Concurrent acquisition module.
3. many serial ports source data remote real-time synchronous integrating treatment system as claimed in claim 1, is characterized in that: described server comprises that data synchronously integrate processing module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410418634.9A CN104200640A (en) | 2014-08-22 | 2014-08-22 | Remote real-time synchronous integration processing system for data of multiple serial port sources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410418634.9A CN104200640A (en) | 2014-08-22 | 2014-08-22 | Remote real-time synchronous integration processing system for data of multiple serial port sources |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104200640A true CN104200640A (en) | 2014-12-10 |
Family
ID=52085924
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410418634.9A Pending CN104200640A (en) | 2014-08-22 | 2014-08-22 | Remote real-time synchronous integration processing system for data of multiple serial port sources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104200640A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114089707A (en) * | 2021-11-18 | 2022-02-25 | 佛山冠湾智能科技有限公司 | Alarm device and alarm method for servo drive system |
CN116668464A (en) * | 2023-07-27 | 2023-08-29 | 浙江简捷物联科技有限公司 | Multi-serial port synchronous processing method, device, electronic equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1401881A (en) * | 2001-08-23 | 2003-03-12 | 中海油田服务有限公司 | Sand control data acquisition processing method, apparatus and system |
CN2722303Y (en) * | 2003-12-04 | 2005-08-31 | 中国石化集团江汉石油管理局第四机械厂 | Network controller of cracker set |
CN202055814U (en) * | 2011-04-20 | 2011-11-30 | 褚万泉 | Novel portable data acquisition system of fracturing measuring truck |
US8730056B2 (en) * | 2008-11-11 | 2014-05-20 | Itron, Inc. | System and method of high volume import, validation and estimation of meter data |
-
2014
- 2014-08-22 CN CN201410418634.9A patent/CN104200640A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1401881A (en) * | 2001-08-23 | 2003-03-12 | 中海油田服务有限公司 | Sand control data acquisition processing method, apparatus and system |
CN2722303Y (en) * | 2003-12-04 | 2005-08-31 | 中国石化集团江汉石油管理局第四机械厂 | Network controller of cracker set |
US8730056B2 (en) * | 2008-11-11 | 2014-05-20 | Itron, Inc. | System and method of high volume import, validation and estimation of meter data |
CN202055814U (en) * | 2011-04-20 | 2011-11-30 | 褚万泉 | Novel portable data acquisition system of fracturing measuring truck |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114089707A (en) * | 2021-11-18 | 2022-02-25 | 佛山冠湾智能科技有限公司 | Alarm device and alarm method for servo drive system |
CN114089707B (en) * | 2021-11-18 | 2023-09-22 | 佛山冠湾智能科技有限公司 | Servo driving system alarm device and alarm method |
CN116668464A (en) * | 2023-07-27 | 2023-08-29 | 浙江简捷物联科技有限公司 | Multi-serial port synchronous processing method, device, electronic equipment and medium |
CN116668464B (en) * | 2023-07-27 | 2023-10-13 | 浙江简捷物联科技有限公司 | Multi-serial port synchronous processing method, device, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104461551A (en) | Parallel data processing based big data processing system | |
CN105427193A (en) | Device and method for big data analysis based on distributed time sequence data service | |
CN104506376A (en) | Multichannel redundant CAN (Controller Area Network) bus test system with frame start sensitive synchronous trigger function | |
CN104200640A (en) | Remote real-time synchronous integration processing system for data of multiple serial port sources | |
CN110572435B (en) | Data processing method of cloud computing system | |
CN101615169B (en) | Platform and method for two-way identification recognition and information interaction based on SPI structural models | |
CN107402874A (en) | A kind of storage device performance statistical system and method | |
CN103208142B (en) | Hotel's intelligent access control system | |
CN101853179B (en) | Universal distributed dynamic operation technology for executing task decomposition based on plug-in unit | |
CN102486740A (en) | Multithreading real-time data processing device and method | |
CN103353750A (en) | Multi-bus microwave metallurgical control system and method | |
CN203084490U (en) | Carrier rocket pre-launching monitoring system | |
CN202364244U (en) | Processing device of distributed log analysis system | |
CN105512012A (en) | Log receiving pressure test method for SSR (server security reinforcement) centralized management platform | |
CN103164776B (en) | A kind of medicine traceability system and medicine retroactive method thereof and flow monitoring method | |
CN103984544A (en) | Method for preventing tasks from being simultaneously executed | |
CN202472404U (en) | Worker station state centralized display system employing manual switching | |
CN201383103Y (en) | Controller of non-destructive flaw detection device | |
CN102624733B (en) | Combination method for combined information source and combined access method for Internet of things information source | |
CN102419643A (en) | Method and system for remotely entering words based on cloud computing | |
CN203911987U (en) | Data processing system based on cloud computing | |
CN104378409A (en) | File synchronization system | |
CN202918329U (en) | Safety verification system based on cloud technology | |
CN206301441U (en) | A kind of distributed consumer machine for supporting fingerprint one-to-many matching to verify transaction | |
CN203825440U (en) | Digitalized mine heterogeneous information integrated processor based on internet of things |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141210 |
|
WD01 | Invention patent application deemed withdrawn after publication |