CN101738997A - Multithread electric negative control system and control method - Google Patents

Multithread electric negative control system and control method Download PDF

Info

Publication number
CN101738997A
CN101738997A CN200910109922A CN200910109922A CN101738997A CN 101738997 A CN101738997 A CN 101738997A CN 200910109922 A CN200910109922 A CN 200910109922A CN 200910109922 A CN200910109922 A CN 200910109922A CN 101738997 A CN101738997 A CN 101738997A
Authority
CN
China
Prior art keywords
negative control
thread
electric power
task
end processor
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.)
Granted
Application number
CN200910109922A
Other languages
Chinese (zh)
Other versions
CN101738997B (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.)
Shenzhen Lian Intellectual Property Service Center
Original Assignee
Shenzhen Clou Electronics Co Ltd
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 Shenzhen Clou Electronics Co Ltd filed Critical Shenzhen Clou Electronics Co Ltd
Priority to CN2009101099225A priority Critical patent/CN101738997B/en
Publication of CN101738997A publication Critical patent/CN101738997A/en
Application granted granted Critical
Publication of CN101738997B publication Critical patent/CN101738997B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Small-Scale Networks (AREA)
  • Power Sources (AREA)

Abstract

The invention relates to a multithread electric negative control system which comprises an electric negative control terminal, a front-end processor and an electric negative control system, wherein the front-end processor is arranged for communicating between the electric negative control terminal and the electric negative control system; the electric negative control system controls and manages the electric negative control terminal via the front-end processor; the electric negative control system comprises a task processing unit which comprises a thread configuration module and a thread pool construction module; the thread configuration module is arranged for configuring a task thread to a task of the electric negative control terminal; the thread pool construction module is arranged for constructing a thread pool for the configured task thread of the thread configuration module; and the task processing unit can automatically start the task thread in the thread pool in order to process task in fixed time. The multithread electric negative control system of the invention can control and manage a large number of electric negative control terminals and can completely sample various electric information stored by the negative control terminals in time.

Description

Multithread electric negative control system and control method
Technical field
The present invention relates to negative control system of a kind of electric power and management method, relate in particular to a kind of negative control and management system of electric power and method of multithreading.
Background technology
Along with the lasting input of electric power enterprise to negative control system, great changes have taken place with traditional negative control system in the negative control system of present electric power, this not only be embodied in function increase, combine more closely with the power marketing system, the popularizing etc. of pre paid functionality, and also there are the growth of how much levels in the access amount of electric power negative control terminal number and the negative control system of electric power in the past.
Prior art adopts single task management control, though can guarantee to communicate by letter normally with the electric power negative control terminal, can finish collection, control, to the time etc. business function.But inserting quantity at the electric power negative control terminal continues to increase, when arriving some, prior art lacks the support to magnanimity electric power negative control terminal, can not guarantee that negative control system of electric power and magnanimity electric power negative control terminal carry out the various types of communication business, the method for all kinds of power informations that timely, complete collection electric power negative control terminal is preserved.
Summary of the invention
The technical matters that the present invention solves is: make up a kind of multithread electric negative control system, the negative control system of electric power that overcomes prior art can not be to the technical matters of the control and management of the negative control system of magnanimity electric power.
Technical scheme of the present invention is: a kind of multithread electric negative control system, comprise the electric power negative control terminal, front end processor, electric power is born the control system, described front end processor is used for communicating by letter of described electric power negative control terminal and the negative control system of described electric power, the negative control system of described electric power is by described front end processor control and management electric power negative control terminal, the negative control system of described electric power comprises task processing unit, described task processing unit comprises the thread configuration module, thread pool makes up module, described thread configuration module is used to the task configuration task thread of described electric power negative control terminal, described thread pool makes up module and is used for the mission thread of described thread configuration block configuration is made up thread pool, and the mission thread that described task processing unit starts in the thread pool automatically carries out the timed task processing.
Further technical scheme of the present invention is: described front end processor comprises that passage makes up module, and described passage makes up the communication port that module is used to make up described front end processor and described electric power negative control terminal.
Further technical scheme of the present invention is: the communication port of described front end processor and described electric power negative control terminal comprises GPRS and CDMA passage.
Further technical scheme of the present invention is: described front end processor comprises the protocol configuration module, and described protocol configuration unit is used to dispose and the consistent communication protocol of described electric power negative control terminal use agreement.
Further technical scheme of the present invention is: negative control system of described electric power and described front end processor adopt proprietary protocol to carry out exchanges data.
Further technical scheme of the present invention is: described thread configuration block configuration mission thread also comprises according to terminal quantity configuration task number of threads.
Further technical scheme of the present invention is: described mission thread comprises that acquisition tasks generates thread, acquisition tasks execution thread, task result processing threads, failed tasks processing threads.
Technical scheme of the present invention is: a kind of multithread electric negative control system control method is provided, comprises the steps:
Set up communicating to connect of described electric power negative control system, described front end processor and electric power negative control terminal;
The task configuration task thread that described thread configuration module is described electric power negative control terminal;
Described thread pool makes up module and makes up thread pool with described mission thread;
The mission thread that described task processing unit starts in the thread pool automatically carries out the timed task processing.
Further technical scheme of the present invention is: set up the communicating to connect in the step of described electric power negative control system, described front end processor and electric power negative control terminal described, comprising: dispose the communication port of the negative control system of described front end processor and described electric power and the communication protocol of described front end processor of configuration and the negative control system of described electric power.
Further technical scheme of the present invention is: the mission thread that starts automatically in the thread pool at described task processing unit carries out comprising in the timed task treatment step: acquisition tasks generates thread, acquisition tasks execution thread, task result processing threads, failed tasks processing threads.
Technique effect of the present invention is: make up a kind of multithread electric negative control system, in described multithread electric negative control system, the task configuration task thread that described thread configuration module is described electric power negative control terminal, described thread pool makes up the mission thread structure thread pool of module with described thread configuration block configuration, and the mission thread that described task processing unit starts in the thread pool automatically carries out the timed task processing.The present invention utilizes the technology of thread pool that the negative control system of electric power is carried out control and management, because thread pool is made of a plurality of mission threads, therefore, multithread electric negative control of the present invention system can realize the control and management to a large amount of electric power negative control terminals, can in time, intactly gather all kinds of power informations that a large amount of electric power negative control terminals are preserved.
Description of drawings
Fig. 1 is a structural representation of the present invention.
Fig. 2 is a communication structure synoptic diagram of the present invention.
Fig. 3 is a workflow diagram of the present invention.
Embodiment
Below in conjunction with specific embodiment, technical solution of the present invention is further specified.
As shown in Figure 1, the specific embodiment of the present invention is: make up a kind of multithread electric negative control system, comprise electric power negative control terminal 3, front end processor 2, electric power is born control system 4, described front end processor 2 is used for communicating by letter of described electric power negative control terminal 3 and the negative control system 4 of described electric power, the negative control system 4 of described electric power is by the described electric power negative control terminal 3 of described front end processor 2 control and managements, the negative control system 3 of described electric power comprises task processing unit 1, described task processing unit 1 comprises thread configuration module 11, thread pool makes up module 12, described thread configuration module 11 is used to the task configuration task thread of described electric power negative control terminal 3, described thread pool makes up module 12 and is used for the mission thread of described thread configuration module 11 configurations is made up thread pool 13, and the described task processing unit 1 automatic mission thread that starts in the thread pool carries out timed task to be handled.In multithread electric negative control of the present invention system, the task configuration task thread that described thread configuration module 11 is described electric power negative control terminal 3, described thread pool makes up the mission thread structure thread pool 13 of module 12 with described thread configuration module 11 configurations, and the described task processing unit 1 automatic mission thread that starts in the thread pool carries out timed task to be handled.The present invention utilizes the technology of thread pool 3 that the negative control system of electric power is carried out control and management, when system moves, described task processing unit 1 reads the relevant configuration of the negative control of electric power system database, connects front end processor 2, communicates by front end processor 2 and electric power negative control terminal 3.The thread pool technology of the Java that task processing unit 1 of the present invention is taked, each thread is responsible for the electric power negative control terminal 3 of some, a plurality of threads are executed the task in thread pool simultaneously, make task processing unit 1 possess the ability of being responsible for magnanimity electric power negative control terminal data simultaneously.Thus, all kinds of power informations that a large amount of electric power negative control terminals 3 are preserved can in time, intactly be gathered by multithread electric negative control of the present invention system.
As shown in Figure 1, implementation process of the present invention is as follows: at first, described front end processor 2 connects with described electric power negative control terminal 3: described front end processor 2 comprises that passage makes up module 22, and described passage makes up the communication port that module 22 is used to make up described front end processor 2 and described electric power negative control terminal 3.The negative control system 4 of described electric power is described front end processor 2 configuration communication passages according to the network application situation when configuration communication server archives, is electric power negative control terminal 3 configuration protocol simultaneously.In the present embodiment, described front end processor 2 comprises GPRS and CDMA passage with the communication port of described electric power negative control terminal 3.After the negative control system 4 of described electric power is front end processor 2 and electric power negative control good communication port of system configuration and communication protocol, promptly send the message request of the negative control system 4 of login electric power behind electric power negative control terminal 3 electrifying startups to front end processor 2.Front end processor 2 is according to the communication protocol of the message judgement electric power negative control terminal 3 that receives, and described front end processor comprises protocol configuration module 21, and described protocol configuration unit 21 is used to dispose and the consistent communication protocol of described electric power negative control terminal 3 use agreements.Described front end processor 2 is engaged in bearing the control system with described electricity and is connected: the negative control system of described electric power comprises link block 41, protocol analysis module 43 and memory module 42, the passage that described link block 41 is used for making up with the passage structure module 22 of described front end processor 2 is connected, and described protocol analysis module 43 is used to resolve the connection protocol of negative control system of described electric power and described front end processor 2.Described front end processor 2 connects by the passage of passage structure module 22 structures of link block 41 and described front end processor 2 with the negative control system of described electric power.Described front end processor 2 is set up the multi-protocols passage automatically according to the agreement of protocol configuration unit 21 configuration, with the electric power negative control terminal data forwarding of different agreement to different communication ports, for task processing unit 1 use.After starting, reads task processing unit 1 archive information of electric power negative control terminal 3, the task configuration task thread that described thread configuration module 11 is described electric power negative control terminal 3, simultaneously, according to what of electric power negative control terminal 3 numbers, described thread configuration module 11 configuration appropriate tasks number of threads.Described thread pool makes up module 12 and is used for the mission thread of mission thread configuration module 11 configurations is made up thread pool 13.After building thread pool 13, task processing unit 1 initiating task thread carries out timed task to be handled.
As shown in Figure 1 and Figure 2, preferred implementation of the present invention is: the negative control system 4 of described electric power adopts the proprietary protocol that is arranged on the client area to carry out exchanges data with described front end processor 2.Proprietary protocol is the agreement of in-house development, employing, and except that unauthorized, other manufacturers generally have no right to use this agreement.Adopt privately owned communication protocol to carry out exchanges data between task processing unit 1 and the front end processor 2, the data of different communication protocol electric power negative control terminal 3 can be placed on the client area, and the client area is meant the operable zone of web visitor.These data are mutual between task processing unit 1 and front end processor 2, do not need to change the privately owned communication protocol between prepositive communication computer and the timed task when needs increase new terminal communication protocol.Front end processor 2 built-in various protocols parsing modules 23, various protocols parsing module 23 can make front end processor 2 communicate by letter with the electric power negative control terminal 3 of different communication protocol simultaneously here.Therefore, multithread electric negative control of the present invention system possesses the ability of all kinds of electric power negative control terminals 3 of extensive access, simultaneously do not need to set up the special communication server for the electric power negative control terminal 3 of every kind of communication protocol, need be before the prepositive communication computer of each different manufacturers yet the development interface program, reduce the cost of setting up negative control system.Among the present invention, front end processor 2 is supported multiple connected modes such as TCP, UDP, dialing, optical fiber, serial ports, Modem pond, note, support the host-standby communication mode to switch, when the GPRS passage breaks down, can automatically switch to dialing or other connected modes according to the configuration of database.
As shown in Figure 1, preferred implementation of the present invention is: described mission thread comprises that acquisition tasks generates thread 131, acquisition tasks execution thread 132, task result processing threads 133, failed tasks processing threads 134.
As shown in Figure 1, preferred implementation of the present invention is: the operational process that acquisition tasks generates thread 131 is: acquisition tasks generates the archive information that thread 131 reads the electric power negative control terminal 3 in the negative control of the electric power system database, it regularly is the acquisition tasks of electric power negative control terminal 3 next time point of generation of each connecting system, be placed on public data area, acquisition tasks execution thread 132 obtains task from public data area, goes to carry out.The number that acquisition tasks generates thread 131 can dispose according to terminal quantity, and is placed in the thread pool of task processing unit 1 and moves.Do not need to take a lot of cpu resources owing to generate acquisition tasks, and the generation task do not need communicate by letter with electric power negative control terminal 3, therefore a task processing unit 1 disposes an acquisition tasks execution thread and can meet the demands mostly the time.
As shown in Figure 1, preferred implementation of the present invention is: acquisition tasks execution thread 132 reads newly-generated acquisition tasks, regularly carries out these tasks, and calls the stores service of application server, says that task result deposits database in.Acquisition tasks execution thread 132 regularly reads task, organize different communication messages according to the task classification, communication message is issued front end processor 2, in time-out time, wait for the response message that front end processor 2 returns simultaneously, then carry out protocol analysis if receive response message, according to resolving content message is converted to the Java object, calls stores service and carry out the insert library operation.If in time-out time, do not wait until response message, find that perhaps the message that returns is illegal, then this subtask is carried out failure, newly-increased failed tasks information in the failed tasks formation.Acquisition tasks execution thread 132 is placed in the thread pool of task processing unit 1 and carries out, its number of executions can be passed through database configuration, each acquisition tasks execution thread 132 can be communicated by letter with many electric power negative control terminals simultaneously, so timed task possesses the ability that communicates with the magnanimity terminal.
As shown in Figure 1, preferred implementation of the present invention is: task result processing threads 133 is put into the result of acquisition tasks execution thread 132 in the database of the negative control system of electric power.When task is carried out failure, in the failed tasks formation, increase a failed tasks information newly.
As shown in Figure 1, preferred implementation of the present invention is: failed tasks processing threads 134 regularly reads the failed tasks tabulation, and re-executes.By failed tasks processing threads 134, task processing unit 1 has possessed the ability of remedying to the communication failure situation, has well solved the data leak source problem that GPRS or CDMA go offline and bring.When fault such as disconnecting, terminal is fallen point, terminal and ammeter communication failure when signal of communication appears in electric power negative control terminal 3, task processing unit 1 can not be at the appointed time in real time with data acquisition in system, timed task is judged when fault recovery, the data that can automatically do not collected in the section fault-time again filling mining in system, to guarantee the integrality of system data.
Technical scheme of the present invention is: a kind of multithread electric negative control system control method is provided, comprises the steps:
Step 100: establish a communications link, set up communicating to connect of described electric power negative control system, described front end processor 2 and electric power negative control terminal.At first connect between described front end processor 2 and the negative control system of described electric power: described front end processor 2 is engaged in bearing the control system with described electricity and is connected: the negative control system of described electric power comprises link block 41, protocol analysis module 43 and memory module 42, the passage that described link block 41 is used for making up with the passage structure module 22 of described front end processor 2 is connected, and described protocol analysis module 43 is used to resolve the connection protocol of negative control system of described electric power and described front end processor 2.Described front end processor 2 connects by the passage of passage structure module 22 structures of link block 41 and described front end processor 2 with the negative control system of described electric power.Described front end processor 2 is set up the multi-protocols passage automatically according to the agreement of protocol configuration unit 21 configuration, with the electric power negative control terminal data forwarding of different agreement to different communication ports, for task processing unit 1 use.The negative control system 4 of described electric power adopts the proprietary protocol that is arranged on the client area to carry out exchanges data with described front end processor 2.Adopt privately owned communication protocol to carry out exchanges data between task processing unit 1 and the front end processor 2, the data of different communication protocol electric power negative control terminal 3 can be placed on the client area, these data are mutual between task processing unit 1 and front end processor 2, do not need to change the privately owned communication protocol between prepositive communication computer and the timed task when needs increase new terminal communication protocol.Front end processor 2 built-in various protocols parsing modules 23, various protocols parsing module 23 can make front end processor 2 communicate by letter with the electric power negative control terminal 3 of different communication protocol simultaneously here.Therefore, multithread electric negative control of the present invention system possesses the ability of all kinds of electric power negative control terminals 3 of extensive access, simultaneously do not need to set up the special communication server for the electric power negative control terminal 3 of every kind of communication protocol, need be before the prepositive communication computer of each different manufacturers yet the development interface program, reduce the cost of setting up negative control system.Among the present invention, front end processor 2 is supported multiple connected modes such as TCP, UDP, dialing, optical fiber, serial ports, Modem pond, note, support the host-standby communication mode to switch, when the GPRS passage breaks down, can automatically switch to dialing or other connected modes according to the configuration of database.Connect between described front end processor 2 and described electric power negative control terminal: described front end processor 2 comprises that passage makes up module 22, and described passage makes up the communication port that module 22 is used to make up described front end processor 2 and described electric power negative control terminal 3.The negative control system 4 of described electric power is described front end processor 2 configuration communication passages according to the network application situation when configuration communication server archives, is electric power negative control terminal 3 configuration protocol simultaneously.In the present embodiment, described front end processor 2 comprises GPRS and CDMA passage with the communication port of described electric power negative control terminal 3.After the negative control system 4 of described electric power is front end processor 2 and electric power negative control good communication port of system configuration and communication protocol, promptly send the message request of the negative control system 4 of login electric power behind electric power negative control terminal 3 electrifying startups to front end processor 2.Front end processor 2 is according to the communication protocol of the message judgement electric power negative control terminal 3 that receives, and described front end processor comprises protocol configuration module 21, and described protocol configuration unit 21 is used to dispose and the consistent communication protocol of described electric power negative control terminal 3 use agreements.Front end processor 2 is set up the multi-protocols passage automatically according to the agreement of protocol configuration unit 21 configuration, with the electric power negative control terminal data forwarding of different agreement to different communication ports, for task processing unit 1 use.
Step 200: configuration task thread, described thread configuration module 11 are described electric power negative control terminal 3 configuration task threads.After starting, reads task processing unit 1 archive information of electric power negative control terminal 3, the task configuration task thread that described thread configuration module 11 is described electric power negative control terminal 3, simultaneously, according to what of electric power negative control terminal 3 numbers, described thread configuration module 11 configuration appropriate tasks number of threads.
Step 300: make up thread pool, described thread pool makes up module and makes up thread pool with described mission thread.Described thread pool makes up module 12 and is used for the mission thread of mission thread configuration module 11 configurations is made up thread pool 13.
Step 400: the mission thread that Processing tasks thread, described task processing unit start in the thread pool automatically carries out the timed task processing.After building thread pool 13, task processing unit 1 initiating task thread carries out timed task to be handled.
The thread pool technology of the Java that task processing unit 1 of the present invention is taked, each mission thread is responsible for the electric power negative control terminal 3 of some, a plurality of threads are executed the task in thread pool simultaneously, make task processing unit 1 possess the ability of being responsible for magnanimity electric power negative control terminal data simultaneously.Thus, all kinds of power informations of a large amount of electric power negative control terminals 3 can in time, intactly be gathered and preserve in multithread electric negative control of the present invention system.
As shown in Figure 1, automatically the mission thread that starts in the thread pool at described task processing unit 1 carries out comprising in the timed task treatment step: acquisition tasks generates thread 131, acquisition tasks execution thread 132, task result processing threads 133, failed tasks processing threads 134.The course of work of described task processing unit 1 is as follows: at first communicate by letter with described front end processor 2, to resolving with the communication protocol of front end processor 2, set up communication port, the mission thread that described task processing unit 1 starts in the thread pool automatically carries out timed task.
As Fig. 1, shown in Figure 3, preferred implementation of the present invention is: the operational process that acquisition tasks generates thread 131 is: acquisition tasks generates the archive information that thread 131 reads the electric power negative control terminal 3 in the negative control of the electric power system database, it regularly is the acquisition tasks of electric power negative control terminal 3 next time point of generation of each connecting system, be placed on public data area, acquisition tasks execution thread 132 obtains task from public data area, goes to carry out.The number that acquisition tasks generates thread 131 can dispose according to terminal quantity, and is placed in the thread pool of task processing unit 1 and moves.Do not need to take a lot of cpu resources owing to generate acquisition tasks, and the generation task do not need communicate by letter with electric power negative control terminal 3, therefore a task processing unit 1 disposes an acquisition tasks execution thread and can meet the demands mostly the time.
As shown in Figure 1, preferred implementation of the present invention is: acquisition tasks execution thread 132 reads newly-generated acquisition tasks, regularly carries out these tasks, and calls the stores service of application server, says that task result deposits database in.Acquisition tasks execution thread 132 regularly reads task, organize different communication messages according to the task classification, communication message is issued front end processor 2, in time-out time, wait for the response message that front end processor 2 returns simultaneously, then carry out protocol analysis if receive response message, according to resolving content message is converted to the Java object, calls stores service and carry out the insert library operation.If in time-out time, do not wait until response message, find that perhaps the message that returns is illegal, then this subtask is carried out failure, newly-increased failed tasks information in the failed tasks formation.Acquisition tasks execution thread 132 is placed in the thread pool of task processing unit 1 and carries out, its number of executions can be passed through database configuration, each acquisition tasks execution thread 132 can be communicated by letter with many electric power negative control terminals simultaneously, so timed task possesses the ability that communicates with the magnanimity terminal.
As shown in Figure 1, preferred implementation of the present invention is: task result processing threads 133 is put into the result of acquisition tasks execution thread 132 in the database of the negative control system of electric power.When task is carried out failure, in the failed tasks formation, increase a failed tasks information newly.
As shown in Figure 1, preferred implementation of the present invention is: failed tasks processing threads 134 regularly reads the failed tasks tabulation, and re-executes.By failed tasks processing threads 134, task processing unit 1 has possessed the ability of remedying to the communication failure situation, has well solved the data leak source problem that GPRS or CDMA go offline and bring.When fault such as disconnecting, terminal is fallen point, terminal and ammeter communication failure when signal of communication appears in electric power negative control terminal 3, task processing unit 1 can not be at the appointed time in real time with data acquisition in system, timed task is judged when fault recovery, the data that can automatically do not collected in the section fault-time again filling mining in system, to guarantee the integrality of system data.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1. multithread electric negative control system, comprise the electric power negative control terminal, front end processor, electric power is born the control system, described front end processor is used for communicating by letter of described electric power negative control terminal and the negative control system of described electric power, the negative control system of described electric power is by described front end processor control and management electric power negative control terminal, it is characterized in that, the negative control system of described electric power comprises task processing unit, described task processing unit comprises the thread configuration module, thread pool makes up module, described thread configuration module is used to the task configuration task thread of described electric power negative control terminal, described thread pool makes up module and is used for the mission thread of described thread configuration block configuration is made up thread pool, and the mission thread that described task processing unit starts in the thread pool automatically carries out the timed task processing.
2. according to the described multithread electric negative control of claim 1 system, it is characterized in that described front end processor comprises that passage makes up module, described passage makes up the communication port that module is used to make up described front end processor and described electric power negative control terminal.
3. according to the described multithread electric negative control of claim 1 system, it is characterized in that the communication port of described front end processor and described electric power negative control terminal comprises GPRS and CDMA passage.
4. according to the described multithread electric negative control of claim 1 system, it is characterized in that described front end processor comprises the protocol configuration module, described protocol configuration unit is used to dispose and the consistent communication protocol of described electric power negative control terminal use agreement.
5. according to the described multithread electric negative control of claim 1 system, it is characterized in that negative control system of described electric power and described front end processor adopt proprietary protocol to carry out exchanges data.
6. according to the described multithread electric negative control of claim 1 system, it is characterized in that described thread configuration block configuration mission thread also comprises according to terminal quantity configuration task number of threads.
7. according to the described multithread electric negative control of claim 1 system, it is characterized in that described mission thread comprises that acquisition tasks generates thread, acquisition tasks execution thread, task result processing threads, failed tasks processing threads.
8. a multithread electric negative control system control method of using the described multithread electric negative control of above-mentioned arbitrary claim system comprises the steps:
Set up communicating to connect of described electric power negative control system, described front end processor and electric power negative control terminal;
Described thread configuration module is described electric power negative control terminal configuration task thread;
Described thread pool makes up module and makes up thread pool with described mission thread;
The mission thread that described task processing unit starts in the thread pool automatically carries out the timed task processing.
9. multithread electric negative control system control method according to claim 8, it is characterized in that, set up the communicating to connect in the step of described electric power negative control system, described front end processor and electric power negative control terminal described, comprising: dispose the communication port of the negative control system of described front end processor and described electric power and the communication protocol of described front end processor of configuration and the negative control system of described electric power.
10. multithread electric negative control system control method according to claim 8, it is characterized in that, automatically the mission thread that starts in the thread pool at described task processing unit carries out comprising in the timed task treatment step: acquisition tasks generates thread, acquisition tasks execution thread, task result processing threads, failed tasks processing threads.
CN2009101099225A 2009-10-30 2009-10-30 Multithread electric negative control system and control method Expired - Fee Related CN101738997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101099225A CN101738997B (en) 2009-10-30 2009-10-30 Multithread electric negative control system and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101099225A CN101738997B (en) 2009-10-30 2009-10-30 Multithread electric negative control system and control method

Publications (2)

Publication Number Publication Date
CN101738997A true CN101738997A (en) 2010-06-16
CN101738997B CN101738997B (en) 2013-01-09

Family

ID=42462567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101099225A Expired - Fee Related CN101738997B (en) 2009-10-30 2009-10-30 Multithread electric negative control system and control method

Country Status (1)

Country Link
CN (1) CN101738997B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103790A (en) * 2010-11-03 2011-06-22 深圳市科陆电子科技股份有限公司 Method for acquiring electric energy information of transformer substations
CN102262564A (en) * 2011-08-16 2011-11-30 天津市天祥世联网络科技有限公司 Thread pool structure of video monitoring platform system and realizing method
CN102387040A (en) * 2011-11-01 2012-03-21 深圳市航天泰瑞捷电子有限公司 Method and system for keeping high-speed stable running of front-end processor
CN102567095A (en) * 2011-12-28 2012-07-11 国网信息通信有限公司 Data reading system based on front-end program, and front-end processor
CN102904964A (en) * 2012-10-26 2013-01-30 南京信息工程大学 Mass concentrator concurrent processing method based on completion port model
CN103023878A (en) * 2012-11-23 2013-04-03 深圳市航天泰瑞捷电子有限公司 Method, device and master station acquisition system for parallel running multiple power grid protocols
CN103499763A (en) * 2013-10-10 2014-01-08 国家电网公司 Real-time on-line remote monitoring transformer iron core current device
CN104618255A (en) * 2014-12-29 2015-05-13 国家电网公司 Front acquiring service system and data processing method
CN105049225A (en) * 2015-06-05 2015-11-11 江苏国电南自海吉科技有限公司 Power system front-end processor system based on dynamic role weight
CN105262718A (en) * 2015-09-01 2016-01-20 许继电气股份有限公司 Plant-station multi-protocol access method based on pipes and agency
CN107908463A (en) * 2017-07-21 2018-04-13 国网浙江省电力公司 A kind of Task-decomposing and method for parallel processing
CN110728838A (en) * 2019-10-28 2020-01-24 宁波三星医疗电气股份有限公司 Meter reading method and device and power acquisition terminal
CN111798655A (en) * 2020-05-29 2020-10-20 国网江苏省电力有限公司信息通信分公司 Operation data minute-level acquisition method suitable for power Internet of things platform area

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1327350C (en) * 2003-10-30 2007-07-18 英业达股份有限公司 Digital signal acquisition system and method
CN1900869A (en) * 2005-07-21 2007-01-24 鸿富锦精密工业(深圳)有限公司 Production automatic service system and method
CN2859597Y (en) * 2006-01-20 2007-01-17 陈志文 Power information and automation data gateway
CN101252571A (en) * 2008-04-03 2008-08-27 北京泰得思达科技发展有限公司 Network environment automatic monitoring method
CN101324637A (en) * 2008-07-24 2008-12-17 武汉钢铁(集团)公司 Remote measurement and analysis system

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103790A (en) * 2010-11-03 2011-06-22 深圳市科陆电子科技股份有限公司 Method for acquiring electric energy information of transformer substations
CN102103790B (en) * 2010-11-03 2014-03-12 深圳市科陆电子科技股份有限公司 Method for acquiring electric energy information of transformer substations
CN102262564A (en) * 2011-08-16 2011-11-30 天津市天祥世联网络科技有限公司 Thread pool structure of video monitoring platform system and realizing method
CN102387040A (en) * 2011-11-01 2012-03-21 深圳市航天泰瑞捷电子有限公司 Method and system for keeping high-speed stable running of front-end processor
CN102387040B (en) * 2011-11-01 2015-04-22 深圳市航天泰瑞捷电子有限公司 Method and system for keeping high-speed stable running of front-end processor
CN102567095A (en) * 2011-12-28 2012-07-11 国网信息通信有限公司 Data reading system based on front-end program, and front-end processor
CN102567095B (en) * 2011-12-28 2014-10-08 国家电网公司 Data reading system based on front-end program, and front-end processor
CN102904964A (en) * 2012-10-26 2013-01-30 南京信息工程大学 Mass concentrator concurrent processing method based on completion port model
CN103023878A (en) * 2012-11-23 2013-04-03 深圳市航天泰瑞捷电子有限公司 Method, device and master station acquisition system for parallel running multiple power grid protocols
CN103499763A (en) * 2013-10-10 2014-01-08 国家电网公司 Real-time on-line remote monitoring transformer iron core current device
CN104618255A (en) * 2014-12-29 2015-05-13 国家电网公司 Front acquiring service system and data processing method
CN104618255B (en) * 2014-12-29 2018-03-13 国家电网公司 A kind of front-collection service system and data processing method
CN105049225A (en) * 2015-06-05 2015-11-11 江苏国电南自海吉科技有限公司 Power system front-end processor system based on dynamic role weight
CN105049225B (en) * 2015-06-05 2018-06-26 江苏国电南自海吉科技有限公司 A kind of electric system front-end processor system based on dynamic character weight
CN105262718A (en) * 2015-09-01 2016-01-20 许继电气股份有限公司 Plant-station multi-protocol access method based on pipes and agency
CN107908463A (en) * 2017-07-21 2018-04-13 国网浙江省电力公司 A kind of Task-decomposing and method for parallel processing
CN107908463B (en) * 2017-07-21 2021-12-10 国网浙江省电力公司 Task decomposition and parallel processing method
CN110728838A (en) * 2019-10-28 2020-01-24 宁波三星医疗电气股份有限公司 Meter reading method and device and power acquisition terminal
CN110728838B (en) * 2019-10-28 2021-06-22 宁波三星医疗电气股份有限公司 Meter reading method and device and power acquisition terminal
CN111798655A (en) * 2020-05-29 2020-10-20 国网江苏省电力有限公司信息通信分公司 Operation data minute-level acquisition method suitable for power Internet of things platform area
CN111798655B (en) * 2020-05-29 2021-12-10 国网江苏省电力有限公司信息通信分公司 Operation data minute-level acquisition method suitable for power Internet of things platform area

Also Published As

Publication number Publication date
CN101738997B (en) 2013-01-09

Similar Documents

Publication Publication Date Title
CN101738997B (en) Multithread electric negative control system and control method
CN101727389B (en) Automatic test system and method of distributed integrated service
CN109495308B (en) Automatic operation and maintenance system based on management information system
CN101707399B (en) Method and system for acquiring electric energy information
CN100353714C (en) Method for realizing Web service automatic test
CN112817791B (en) Mobile terminal monitoring method for working face cluster mining state
CN102075384A (en) Performance test system and method
CN103095819A (en) Data information pushing method and data information pushing system
CN101610173B (en) Method and network management server for implementing data collocation on multi-network elements
CN101799751A (en) Method for building monitoring agent software of host machine
US20150169288A1 (en) System operation tracing method on distributed system
CN105306272A (en) Method and system for collecting fault scene information of information system
CN101719306A (en) Parallel electric quantity data acquisition method
CN101309178B (en) Parsing method and apparatus for automatic exchanging optical network systematic log information
CN102497427A (en) Method and device for realizing data acquisition services of renewable energy source monitoring system
CN112199157A (en) Cloud environment management method
CN101741746A (en) Method for realizing communication between two-way CAS gateway and user terminal based on IOCP
CN116489214A (en) Unified service scheduling method, device, medium and equipment based on micro service gateway
CN103064353B (en) Flat machine long-range control method
CN109542091A (en) A kind of excavator breakdown maintenance and reliability data management system and its application
CN114422386B (en) Monitoring method and device for micro-service gateway
CN102437921B (en) Memory method and network device of configuration information
CN104967667A (en) Software stability test remote monitoring system based on cloud service
CN101217757A (en) A method for the operation of device maintenance
WO2016091141A1 (en) Method and apparatus for information collection

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210624

Address after: 518000 Room 202, block B, aerospace micromotor building, No.7, Langshan No.2 Road, Xili street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen LIAN intellectual property service center

Address before: Five, T2 building, 518057 South District, Nanshan District science and Technology Park, Guangdong, Shenzhen

Patentee before: Shenzhen Clou Electronics Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130109

Termination date: 20211030