CN102833316B - Method for building power system data acquisition channel using multidimensional space - Google Patents
Method for building power system data acquisition channel using multidimensional space Download PDFInfo
- Publication number
- CN102833316B CN102833316B CN201210266217.8A CN201210266217A CN102833316B CN 102833316 B CN102833316 B CN 102833316B CN 201210266217 A CN201210266217 A CN 201210266217A CN 102833316 B CN102833316 B CN 102833316B
- Authority
- CN
- China
- Prior art keywords
- communication
- station system
- end processor
- memory space
- master station
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention is suitable to be used in the field of power system communication, and provides a method for building a power system data acquisition channel using multidimensional space. The method comprises: S1, a client giving an order; S2, a master station system applying for a communication object in a multidimensional storage space according to the received order, packaging according to a spatial position where the communication object is stored, returning the communication object to the master station system; S3, sending a packaged communication packet to a front-end processor, the front-end processor transmitting the communication packet to a terminal device; S4, the terminal device responding and returning an echo packet to the front-end processor, the front-end processor transmitting the echo packet to the master station system; S5, the master station system receiving and explaining the communication packet transmitted by the front-end processor, finding a communication object of the object in the multidimensional storage space according to the communication packet, and returning the complete communication objects to the master station system; S6, the master station system returning the explained communication objects to the client to complete communication. The method uses a multithreading way to realize master station communication, so that concurrent capability of the master station is greatly improved.
Description
Technical field
The invention belongs to power grid communication field, particularly relate to a kind of method adopting hyperspace to build electric network data acquisition channel.
Background technology
Intelligent grid develops rapidly in the whole world; Electricity provider, in order to strengthen the examination and controlling to terminal equipment, reduces operation cost, needs the main website of the multifunctional unit such as examination and controlling terminal equipment, intelligent meter data recording and sale of electricity; The scale of main website is increasing, requires more and more higher to concurrency and larger scale data acquisition.
But, main website domestic at present mainly larger scale data acquisition ability and concurrency effect bad, really do not reach the target of main station system.There is following shortcoming in prior art: (1) due to most of main website be single-threaded and transmitting-receiving be synchronous, the therefore poor ability of main website process a large number of users Concurrency Access; (2) autotask is separated with main website, and waste resource, increases operation cost, cannot complete larger scale data acquisition task.
Summary of the invention
The object of the present invention is to provide a kind of method adopting hyperspace to build electric network data acquisition channel, be intended to solve a large number of users Concurrency Access ability and autotask in prior art and be separated the problem that cannot complete larger scale data acquisition task with main website.
The present invention is achieved in that a kind of method adopting hyperspace to build electric network data acquisition channel, comprises the steps:
S1: client sends instruction;
S2: main station system applies for communication object according to the instruction received in multidimensional memory space, according to the locus group bag that communication object stores, and returns to main station system by communication object;
S3: communication bag group wrapped sends to front end processor, and described front end processor is transmitted to terminal equipment again;
S4: terminal equipment responds and returns responds bag to described front end processor, and described front end processor is transmitted to main station system again;
S5: main station system receives and explains the communication bag that described front end processor forwards, and wraps in multidimensional memory space find the communication object of object that complete communication object is back to described main station system according to communication;
S6: the communication object of explanation is back to client by described main station system, completes a communication.
Further, described multidimensional memory space is three-dimensional memory space, and described three-dimensional memory space utilizes main website address, concentrator address and frame number to build.
Further, described multidimensional memory space is two-dimensional storage space.
The present invention adopts the mode of multithreading to realize main website communication, and the quantity of multithreading determines according to master station protocol and the scale of collection, and such main website concurrent capability just strengthens greatly, also reasonably distributes thread resources according to the visit capacity of client, number of terminals and terminal distribution etc.In addition, hyperspace is adopted to build electric network data acquisition channel, solve the bottleneck of the maximum copy reading number of terminals of area protocol regulation, utilize main website address, concentrator address and frame number to build hyperspace memory communicating object, do not need like this to adopt server cluster mode just can solve the problem of large-scale data amount collection.
Accompanying drawing explanation
Fig. 1 is the method realization flow figure that employing hyperspace provided by the invention builds electric network data acquisition channel;
Fig. 2 is the position relationship schematic diagram between client, front end processor, main station system and multidimensional memory space that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1 and Figure 2; The method that the employing hyperspace that the embodiment of the present invention provides builds electric network data acquisition channel comprises:
(1) client sends instruction;
(2) main station system receives instruction, arrives three-dimensional memory space application spatial object (communication object) immediately, and according to the locus group bag that communication object stores, and Returning communication object is to main station system;
(3) communication bag group wrapped sends front end processor, and front end processor is transmitted to terminal equipment;
(4) terminal equipment response, return and respond bag to front end processor, front end processor is transmitted to main station system;
(5) main station system receives the communication bag from front end processor, explains communication bag immediately, and wraps according to communication the communication object that three-dimensional memory space finds object, complete communication object is returned main station system;
(6) communication object of explanation is returned client by main station system, completes a communication.
In embodiments of the present invention, it is asynchronous for sending with reception, improves communication efficiency widely.Adopt in the above-described embodiments in addition in two-dimensional storage space, multiple main websites integrated system also can reach such effect.Said method structure electric network data acquisition channel is adopted to ensure that the accuracy of communication; Make rational planning for and the multithreading of scheduling station, reach effective utilization of communication resources; Larger scale data acquisition is made to become possibility.
As one embodiment of the present of invention, suppose to configure N number of main website ID in main website; When main website starts, for each main website ID sets up a socket communication thread; To maintain with front end processor by the mode of heartbeat and link; When there being task requests data, first taking out idle object from three-dimensional memory space, according to the attribute of the main website ID of object, from thread pool, looking for the thread that this main website is corresponding, send Frame; When the task return data of asking, front end processor Hui Yuan road returns, and this main website thread receives response frame, finds corresponding object from three-dimensional memory space, by response frame stored in the identical object of transmission frame, and by this object of process.
The present invention adopts the mode of multithreading to realize main website communication, the quantity of multithreading determines according to master station protocol and the scale of collection, such main website concurrent capability just strengthens greatly, and the present invention also reasonably distributes thread resources according to the visit capacity of client, number of terminals and terminal distribution etc.; Employing hyperspace builds electric network data acquisition channel in addition, solves the bottleneck of the maximum copy reading number of terminals of area protocol regulation, does not need like this to adopt server cluster mode just can solve the problem of large-scale data amount collection.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (3)
1. adopt hyperspace to build a method for electric network data acquisition channel, it is characterized in that, comprise the steps:
S1: client sends instruction;
S2: main station system applies for communication object according to the instruction received in multidimensional memory space, idle object is taken out from multidimensional memory space, according to the attribute of the main website ID of object, the thread that this main website is corresponding is looked for from thread pool, according to the locus group bag that communication object stores, and communication object is returned to main station system;
S3: the thread that communication bag group wrapped passes through found main website corresponding sends to front end processor, and described front end processor is transmitted to terminal equipment again;
S4: terminal equipment responds and returns responds bag to described front end processor, and described front end processor is transmitted to main station system by the thread that main website is corresponding again;
S5: main station system receives and explains the communication bag that described front end processor forwards, and wraps in multidimensional memory space find the communication object of object that complete communication object is back to described main station system according to communication;
S6: the communication object of explanation is back to client by described main station system, completes a communication.
2. the method for claim 1, is characterized in that, described multidimensional memory space is three-dimensional memory space, and described three-dimensional memory space utilizes main website address, concentrator address and frame number to build.
3. the method for claim 1, is characterized in that, described multidimensional memory space is two-dimensional storage space.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210266217.8A CN102833316B (en) | 2012-07-30 | 2012-07-30 | Method for building power system data acquisition channel using multidimensional space |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210266217.8A CN102833316B (en) | 2012-07-30 | 2012-07-30 | Method for building power system data acquisition channel using multidimensional space |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102833316A CN102833316A (en) | 2012-12-19 |
CN102833316B true CN102833316B (en) | 2015-06-03 |
Family
ID=47336284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210266217.8A Active CN102833316B (en) | 2012-07-30 | 2012-07-30 | Method for building power system data acquisition channel using multidimensional space |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102833316B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101794503A (en) * | 2010-04-02 | 2010-08-04 | 深圳市科陆电子科技股份有限公司 | Electric energy balance monitoring system for transformer station |
CN102055814A (en) * | 2010-11-25 | 2011-05-11 | 深圳市科陆电子科技股份有限公司 | Method for realizing cross-network segment real-time collection |
-
2012
- 2012-07-30 CN CN201210266217.8A patent/CN102833316B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101794503A (en) * | 2010-04-02 | 2010-08-04 | 深圳市科陆电子科技股份有限公司 | Electric energy balance monitoring system for transformer station |
CN102055814A (en) * | 2010-11-25 | 2011-05-11 | 深圳市科陆电子科技股份有限公司 | Method for realizing cross-network segment real-time collection |
Non-Patent Citations (1)
Title |
---|
面向高并发通讯的网络服务器关键技术的研究;张正等;《计算机光盘软件与应用》;20111001(第19期);第75—76页 * |
Also Published As
Publication number | Publication date |
---|---|
CN102833316A (en) | 2012-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103824442B (en) | A kind of power information real time inquiry system based on electric power Internet of Things | |
CN104158699B (en) | A kind of collecting method based on priority and segmentation | |
CN102843426B (en) | Based on Web cache resources shared system and the method for intelligent father node | |
EP3779698A1 (en) | Data annotation as a service for iot systems | |
CN104052759A (en) | System for realizing add-and-play technology of internet of things | |
CN103207920A (en) | Parallel metadata acquisition system | |
CN102857505A (en) | Data bus middleware of Internet of things | |
CN103095684A (en) | Method obtaining attention user aggregate information, device and system | |
CN103604962A (en) | S9 multi-module energy meter collecting terminal | |
CN105357286A (en) | Web-based real-time directional message pushing method | |
CN105159256A (en) | Web service-based intelligent household control system | |
CN109936472A (en) | The node computing capability calculated towards mist describes method, exchange method and its equipment | |
CN105049485A (en) | Real-time video processing oriented load-aware cloud calculation system | |
CN204291029U (en) | A kind of Internet of Things cloud gateway | |
CN103209119A (en) | Low-power-consumption embedding type cloud intelligent gateway | |
CN101902398B (en) | Method and system for receiving and transmitting data packet | |
Wang et al. | Performance modeling and suitability assessment of data center based on fog computing in smart systems | |
CN103092951B (en) | A kind of universal data switching method and system representing layer based on information | |
CN105791106A (en) | 6LoWPAN home gateway in support of concurrent access service and realization method of the 6LoWPAN home gateway in support of concurrent access service | |
CN202737922U (en) | Local cloud storing system | |
CN102833316B (en) | Method for building power system data acquisition channel using multidimensional space | |
CN104239222A (en) | Memory access method, device and system | |
CN106657377A (en) | WIA-PA (Wireless Networks for Industrial Automation-Process Automation)/full-interconnection manufacturing network information service adaptor and realization method thereof | |
CN204089885U (en) | Wireless sensing cloud network system under a kind of large data complicated applications environment | |
Kurte et al. | An intelligent hybrid communication system for a distributed renewable energy management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |