CN109213540A - Power grid data processing method and device for handheld device - Google Patents
Power grid data processing method and device for handheld device Download PDFInfo
- Publication number
- CN109213540A CN109213540A CN201811286817.4A CN201811286817A CN109213540A CN 109213540 A CN109213540 A CN 109213540A CN 201811286817 A CN201811286817 A CN 201811286817A CN 109213540 A CN109213540 A CN 109213540A
- Authority
- CN
- China
- Prior art keywords
- data
- model
- dynamic link
- link library
- library
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 11
- 238000004891 communication Methods 0.000 claims abstract description 89
- 238000000034 method Methods 0.000 claims abstract description 55
- 238000013499 data model Methods 0.000 claims abstract description 52
- 238000005516 engineering process Methods 0.000 claims abstract description 41
- 230000005540 biological transmission Effects 0.000 claims abstract description 24
- 238000012545 processing Methods 0.000 claims abstract description 22
- 238000013506 data mapping Methods 0.000 claims abstract description 17
- 230000006870 function Effects 0.000 claims description 21
- 238000013507 mapping Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000012423 maintenance Methods 0.000 description 6
- 230000005611 electricity Effects 0.000 description 4
- 230000014509 gene expression Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4488—Object-oriented
- G06F9/449—Object-oriented method invocation or resolution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Water Supply & Treatment (AREA)
- Public Health (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to a kind of power grid data processing method and device for handheld device, which includes: the data information for obtaining grid equipment and generating in the process of running;Based on default communication protocol, according to data information, communication service data model is generated in server corresponding with default communication protocol;Master data class model in the communication service data model, the object class model in the communication service data model and ACSI service are formed into data mapping by C language or C Plus Plus, and are mapped in customer data base;It calls the data in the customer data base to map according to the default communication protocol, and the data is mapped and carry out logical process, to obtain dynamic link library;Using Java local interface technology, by the functional interface in the dynamic link library, real-time reception and show the data information.While facilitating operation using handheld device, the efficiency of data model processing and data transmission is improved, real-time is increased.
Description
Technical field
The present invention relates to the technical field of data processing of power industry, and in particular to a kind of power grid number for handheld device
According to treating method and apparatus.
Background technique
With the propulsion of national grid intelligent substation technology, the utilization of electric substation automation system also starts gradually to popularize
And it comes into operation.Reach information unification communication between equipment in order to realize different manufacturers, reinforces the opening of transformer substation system
With compatibility.International Electrotechnical Commission (IEC) has formulated communication network and system standard system --- IEC61850 in substation
Standard agreement.By the standard, the signal message of each plant equipment forms unified data model.And operation maintenance personnel at the scene
This data model can be handled by some instruments, to obtain the power station signal message in equipment, be reached to electricity
Stand operation supervisory function bit.
And in the prior art, processing and displaying generally for Information Data model are all carried out using C Plus Plus, are being handled
It finishes and carries out when data show the interface of human-computer interaction using being carried out in Windos operating system platform, and Windos equipment
Not portability cause this kind of scheme make in actual running operation maintenance personnel can not at the scene directly and easily obtain electricity
Station equipment information data, so this scheme gives live operation maintenance personnel to also reduce the work of personnel while causing inconvenience
Efficiency.
Summary of the invention
In view of this, it is an object of the invention to overcome the deficiencies of the prior art and provide a kind of electricity for handheld device
Network data treating method and apparatus improves data model processing and data while facilitating operation using handheld device
The efficiency of transmission, increases real-time.
In order to achieve the above object, the present invention adopts the following technical scheme:
In a first aspect, the embodiment of the invention provides a kind of power grid data processing method for handheld device, this method
Include:
Obtain the data information that grid equipment generates in the process of running;
Based on default communication protocol, according to the data information, in server corresponding with the default communication protocol
Generate communication service data model;
By the master data class model in the communication service data model, the object in the communication service data model
Class model and ACSI service form data by C language or C Plus Plus and map, and are mapped in customer data base;
It calls the data in the customer data base to map according to the default communication protocol, and the data is mapped into
Row logical process, to obtain dynamic link library;
Using Java local interface technology, by the functional interface in the dynamic link library, real-time reception and show institute
State data information.
Further, the master data class model by the communication service data model, object class model and
ACSI service is mapped in customer data base by C language or C Plus Plus, comprising:
Using the mode of C/S framework, c program or C++ program and server are established into connection, using ACSI by the communication
Master data class model and object class Module map in service data model is into customer data base.
Further, described to call the data in the customer data base to map according to the agreement, and to the data
Mapping carries out logical process, to obtain dynamic link library, later, further includes:
Sub thread is opened, the dynamic link library is linked.
Further, the application Java local interface technology, by the functional interface in the dynamic link library, in real time
It receives and shows the data information, comprising:
Using the Java local interface technology, the interface function in the dynamic link library is called, by described dynamic
Functional interface in state chained library, real-time reception simultaneously show the data information.
Further, it is connect in real time in application Java local interface technology by the functional interface in the dynamic link library
It receives and shows the data information, before, further includes:
Into display homepage, turn-on data transmission service.
Second aspect, the embodiment of the invention provides a kind of electric network data processing unit for handheld device, the devices
Include:
Data acquisition module, the data information generated in the process of running for obtaining grid equipment;
Data model generation module, for being led to according to the data information with described preset based on default communication protocol
Believe in the corresponding server of agreement and generates communication service data model;
Mapping block, for by master data class model, the communication service number in the communication service data model
According in model object class model and ACSI service data mapping formed by C language or C Plus Plus, and be mapped to user data
In library;
Dynamic link library obtains module, for calling the data in the customer data base according to the default communication protocol
Mapping, and the data are mapped and carry out logical process, to obtain dynamic link library;
Data information receives and display module, for applying Java local interface technology, by the dynamic link library
Functional interface, real-time reception simultaneously shows the data information.
Further, the mapping block is specifically used for:
Using the mode of C/S framework, c program or C++ program and server are established into connection, using ACSI by the communication
Master data class model and object class Module map in service data model is into customer data base.
It further, further include link module, for being called in the customer data base described according to the agreement
Data mapping, and the data are mapped and carry out logical process, to obtain dynamic link library, later, sub thread is opened, link institute
State dynamic link library.
Further, the data information reception is specifically used for display module:
Using the Java local interface technology, the interface function in the dynamic link library is called, by described dynamic
Functional interface in state chained library, real-time reception simultaneously show the data information.
Further, further include data transmission module, for applying Java local interface technology, pass through the dynamic chain
The functional interface in library is connect, real-time reception simultaneously shows the data information, before, into display homepage, turn-on data transmission
Service.
The invention adopts the above technical scheme, obtains the data information that grid equipment generates in the process of running;Based on pre-
If communication protocol, according to the data information, communication service number is generated in server corresponding with the default communication protocol
According to model;By the master data class model in the communication service data model, the object in the communication service data model
Class model and ACSI service form data by C language or C Plus Plus and map, and are mapped in customer data base;According to described
Default communication protocol calls the data in the customer data base to map, and maps the data and carry out logical process, to obtain
Take dynamic link library;Using Java local interface technology, by the functional interface in the dynamic link library, real-time reception is simultaneously opened up
Show the data information.Data processing is carried out using C language or C Plus Plus, improves the efficiency and number of data model processing
According to efficiency of transmission, the data of c program or the processing of C++ program are called by Java local interface technology, are realized on a handheld device
Operation, improve portability, increase real-time.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 a is a kind of flow chart for power grid data processing method for handheld device that the embodiment of the present invention one provides;
Fig. 1 b is a kind of abstract communication service illustraton of model for IEC61850 that the embodiment of the present invention one provides;
Fig. 1 c is the schematic diagram that a kind of IEC61850 that the embodiment of the present invention one provides is mapped to the library MMS;
Fig. 1 d is the generation schematic diagram of the data dynamic link library under a kind of C/S framework that the embodiment of the present invention one provides;
Fig. 1 e is a kind of JNI basic block diagram that the embodiment of the present invention one provides;
Fig. 1 f is that one kind that the embodiment of the present invention one provides is called by JNI technology by Java and in Android device platform
Using the schematic diagram for carrying out data real-time display;
Fig. 2 a is a kind of flow chart of power grid data processing method for handheld device provided by Embodiment 2 of the present invention;
Fig. 2 b is the design cycle and structure flow chart of a kind of Android platform software provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural representation for electric network data processing unit for handheld device that the embodiment of the present invention three provides
Figure.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, technical solution of the present invention will be carried out below
Detailed description.Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, those of ordinary skill in the art are obtained all without making creative work
Other embodiment belongs to the range that the present invention is protected.
Embodiment one
Fig. 1 a is a kind of flow chart for power grid data processing method for handheld device that the embodiment of the present invention one provides,
The present embodiment is applicable to grid equipment data in substation and needs the case where transmitting with showing, this method can be by of the invention real
Executing for the electric network data processing unit of handheld device for example offer is applied, which can be used the side of software and/or hardware
Formula is realized.With reference to Fig. 1 a, this method can specifically include following steps:
S110, the data information that grid equipment generates in the process of running is obtained.
Specifically, in the operational process of grid equipment, a large amount of data can be generated in national grid intelligent substation, transport
Dimension personnel by obtaining and analyzing the data information that grid equipment generates in the process of running, can performance to grid equipment into
Row monitoring, effectively to be overhauled to grid equipment.In embodiments of the present invention, it is necessary first to obtain grid equipment and transport
The data information generated during row.Wherein, grid equipment can be generating equipment and power supply unit two major classes, generating equipment master
If relay protection device, station boiler, steam turbine, gas turbine, the hydraulic turbine, generator and transformer etc., power supply unit
Transmission line of electricity, mutual inductor and the contactor etc. of mainly various voltage class;It is running that data information can be station boiler
The information such as temperature.
S120, based on default communication protocol, according to the data information, in service corresponding with the default communication protocol
Communication service data model is generated in device.
Specifically, default communication protocol can be IEC61850 communication standard, different grid equipments is in the process of running
The data information of generation generates communication service data model by IEC61850 communication standard in the server, wherein application
Server use IEC61850 communication standard, realize using unified standard communication protocol carry out data transmission it is effective
Property.
S130, by the communication service data model master data class model, in the communication service data model
Object class model and ACSI service data mapping formed by C language or C Plus Plus, and be mapped in customer data base.
Specifically, by the master data class model in communication service data model, the object in communication service data model
Model and ACSI (Abstract Communication Service Interface, Abstract Common Service Interface) pass through C language
Speech or C Plus Plus form data mapping, and are mapped in database.Customer data base can be the library MMS, and the library MMS is for supplying
Using going to call.
Fig. 1 b shows the abstract communication service illustraton of model of IEC61850 a kind of, wherein 160 expression abstract communication services connect
Mouthful, 170 indicate that specific communication service maps specified interface, and 180 indicate application layer, 190 expressions first to layer 6.Fig. 1 c is shown
A kind of IEC61850 is mapped to the schematic diagram in MMS library, wherein including information model mapping and service mapping.
S140, the data in the customer data base are called to map according to the default communication protocol, and to the data
Mapping carries out logical process, to obtain dynamic link library.
Optionally, ACSI defines common application service using abstract modeling technique for substation equipment, to provide
The approach of truthful data and real equipment is accessed by virtual image.After the library MMS is formed, according to default communication protocol tune
With the data mapping in MMS service library, the logical process of data is carried out, so that the real time data taking-up in data model be gone forward side by side
Row transmission, and this program is packaged into the .so dynamic link library that one is called for other applications.Fig. 1 d shows one
The generation schematic diagram of data dynamic link library under kind C/S framework, wherein 191 indicate server-sides, and 192 indicate clients.
S150, using Java local interface technology, by the functional interface in the dynamic link library, real-time reception is simultaneously opened up
Show the data information.
Specifically, Java local interface technology is also known as JNI, (programming of Java Native Interface, Java the machine is connect
Mouthful) technology, it should be noted that the handheld device in the embodiment of the present invention can be the application Android based on Android platform exploitation
The equipment of system operation.In embodiments of the present invention, using JNI technology, the client-side program of Android platform will be operated in, is called
The various functional interfaces in .so dynamic link library having had been prepared for, enable client software to receive and show glibly
Real time data is to operation maintenance personnel.Fig. 1 e shows a kind of JNI basic block diagram, wherein JNI is JDK (java development kit)
A part, JNI allows the Java code code and code library write using C/C++ language.
The invention adopts the above technical scheme, obtains the data information that grid equipment generates in the process of running;Based on pre-
If communication protocol, according to the data information, communication service number is generated in server corresponding with the default communication protocol
According to model;By the master data class model in the communication service data model, the object in the communication service data model
Class model and ACSI service form data by C language or C Plus Plus and map, and are mapped in customer data base;According to described
Default communication protocol calls the data in the customer data base to map, and maps the data and carry out logical process, to obtain
Take dynamic link library;Using Java local interface technology, by the functional interface in the dynamic link library, real-time reception is simultaneously opened up
Show the data information.Data processing is carried out using C language or C Plus Plus, improves the efficiency and number of data model processing
According to efficiency of transmission, the data of c program or the processing of C++ program are called by Java local interface technology, are realized on a handheld device
Operation, improve portability, increase real-time.
Optionally, the master data class model by the communication service data model, object class model and ACSI
Service is mapped in customer data base by C language or C Plus Plus, can be specifically accomplished by the following way: using C/S framework
Mode, c program or C++ program and server are established into connection, using ACSI by the base in the communication service data model
Notebook data class model and object class Module map are into customer data base.
Illustratively, during data communication is used, with the network transmission protocol and using the mould of C/S framework
Formula, c program or C++ program and IED61850 server establish connection.In a specific example, for example, in IEC61850
In, substation communication system logically and is physically divided into 3 layers: substation level, wall and process layer,
In, the communication of substation level and wall is mapped in the library MMS using Abstract Common Service Interface ACSI, that is, communication is taken
Master data class model and object class model in business model are mapped in database.
Based on the above technical solution, described to call the data in the customer data base to reflect according to the agreement
It penetrates, and the data is mapped and carry out logical process, to obtain dynamic link library, later, further includes: open sub thread, link
The dynamic link library.
Wherein, thread can be described as lightweight process, be the minimum unit that program executes stream, the thread of a standard is by thread
ID, current instruction pointer and set of registers and storehouse composition, per thread has a unique identifier, to distinguish thread
In main thread and sub thread.In the embodiment of the present invention, the data in the customer data base are being called to reflect according to the agreement
It penetrates, and the data is mapped and carry out logical process, after obtaining dynamic link library, open sub thread, link the dynamic
Chained library.
Under normal conditions, in the software of Android platform design, the characteristics of needs in view of transport protocol and data, due to
The transmission of data is very high with requirement of real-time for accuracy, during software is actually received, needs to consider using multi-thread
Journey and data cached consideration, guarantee one side data transmission real-time, on the other hand guarantee user interface smoothness with
Friendly.
In the embodiment of the present invention, integrated treatment has been carried out using JNI technology, C or C++ has been realized and Java programming language is each
From the advantages of, handled in the processing of data model with C or C++, human-computer interaction and data displaying then use
It supports the Java language in handheld device to carry out, and enables java applet easily to call C or C++ program by JNI, thus
The advantage for having played the two, provides convenience and efficiency to practical operation maintenance personnel.
In addition, case of the embodiment of the present invention has used C/S framework to pass through C Plus Plus and IED61850 in data model processing
Server establishes connection and calls the library MMS, realizes the connection and processing of data, and result that treated allows Java by JNI technology
It is called and carries out data real-time display in the application of Android device platform.Specifically, C or C++ is being handled as client
When IED61850 server apparatus data model, the mode of effectively optimizing is taken;The C+ preset is had invoked using JNI technology
+ library facilitates java applet use and is further processed data;Android platform software combine the efficient of C language or C Plus Plus and
Java handles the high efficiency at interface and service logic, optimizes to the performance in the transmission of IED61850 equipment.
In a specific example, Fig. 1 f shows a kind of call by JNI technology by Java and in Android device
Platform application carries out the schematic diagram of data real-time display;Wherein, relay protection device passes through IEC61850 communication standard for data
Information is transmitted to IEC61850 server, and the data information is by wireless network transmissions to handheld terminal, for for operation maintenance personnel
With reference to.
Embodiment two
Fig. 2 a is a kind of flow chart of the power grid data processing method for handheld device provided by Embodiment 2 of the present invention,
The present embodiment on the basis of the above embodiments, to " apply Java local interface technology, pass through the function in the dynamic link library
Energy interface, real-time reception simultaneously show the data information " it is optimized.With reference to Fig. 2 a, this method can specifically include as follows
Step:
S210, the data information that grid equipment generates in the process of running is obtained.
S220, based on default communication protocol, according to the data information, in service corresponding with the default communication protocol
Communication service data model is generated in device.
S230, by the communication service data model master data class model, in the communication service data model
Object class model and ACSI service data mapping formed by C language or C Plus Plus, and be mapped in customer data base.
S240, the data in the customer data base are called to map according to the default communication protocol, and to the data
Mapping carries out logical process, to obtain dynamic link library.
S250, using the Java local interface technology, the interface function in the dynamic link library is called, to pass through
The functional interface in dynamic link library is stated, real-time reception simultaneously shows the data information.
Specifically, calling the interface function in dynamic link library using JNI technology, having passed through the function in dynamic link library
Energy interface, real-time reception simultaneously show the data information.Based on the above technical solution, to step when using JNI technology
Suddenly it is illustrated: writing Java code statement native method, be packed into the shared library comprising native code;Write Java code needs
The service inquiry logic of realization;C/C++ header file is created, the native function for wanting to call explanation is stated, according to the header file
With the C/C++ function creation shared library;C/C++ code is write, realizes the function in the source code file, wherein described
It include the header file in source file;Shared library file is created using the source code;Run java applet;Utilize JNI technology
The application software for running on Android platform is successfully set to call the dynamic link library of C/C++, so that data processing is efficiently stablized.
In the embodiment of the present invention, using the Java local interface technology, the interface letter in the dynamic link library is called
Number, with by the functional interface in the dynamic link library, real-time reception simultaneously shows the data information.It is locally connect using Java
Vocal imitation skill realizes the displaying to data information, improves the efficiency of data transmission and displaying.
Based on the above technical solution, Java local interface technology is being applied, by the dynamic link library
Functional interface, real-time reception simultaneously show the data information, before, further includes: enter display homepage, turn-on data transmission clothes
Business.
Specifically, Java local interface technology is being applied, by the dynamic link library in actual application process
Functional interface, real-time reception and before showing the data information, it is necessary first to which the display homepage for opening handheld device is opened
Beginning data transport service, to provide basis for the treatment process of data.Fig. 2 b shows a kind of design of Android platform software
Process and structure flow chart, wherein process flow can be into main interface, turn-on data transmission service and data show with
Refresh;It can also be into main interface, turn-on data transmission service, open sub thread, connection .so dynamic link library, JNI tune
The real time data and data needed with the interface function in .so dynamic link library, acquisition user shows and refreshes.
Embodiment three
Fig. 3 is that the present invention is that the structure of a kind of electric network data processing unit for handheld device that embodiment three provides is shown
It is intended to, which is adapted for carrying out a kind of power grid data processing method for handheld device that the embodiment of the present invention is supplied to.
As shown in figure 3, the device can specifically include:
Data acquisition module 310, the data information generated in the process of running for obtaining grid equipment;
Data model generation module 320, for based on default communication protocol, according to the data information, with it is described pre-
If generating communication service data model in the corresponding server of communication protocol;
Mapping block 330, for by the master data class model in the communication service data model, the communication service
Object class model and ACSI service in data model form data mapping by C language or C Plus Plus, and are mapped to number of users
According in library;
Dynamic link library obtains module 340, for calling in the customer data base according to the default communication protocol
Data mapping, and the data are mapped and carry out logical process, to obtain dynamic link library;
Data information, which is received, passes through the dynamic link library for applying Java local interface technology with display module 350
In functional interface, real-time reception simultaneously shows the data information.
Further, mapping block 330 is specifically used for:
Using the mode of C/S framework, c program or C++ program and server are established into connection, using ACSI by the communication
Master data class model and object class Module map in service data model is into customer data base.
It further, further include link module, for being called in the customer data base described according to the agreement
Data mapping, and the data are mapped and carry out logical process, to obtain dynamic link library, later, sub thread is opened, link institute
State dynamic link library.
Further, data information reception is specifically used for display module 350:
Using the Java local interface technology, the interface function in the dynamic link library is called, by described dynamic
Functional interface in state chained library, real-time reception simultaneously show the data information.
Further, further include data transmission module, for applying Java local interface technology, pass through the dynamic chain
The functional interface in library is connect, real-time reception simultaneously shows the data information, before, into display homepage, turn-on data transmission
Service.
The executable present invention of electric network data processing unit provided in an embodiment of the present invention for handheld device is any to be implemented
The power grid data processing method for handheld device that example provides, has the corresponding functional module of execution method and beneficial effect.
It is understood that same or similar part can mutually refer in the various embodiments described above, in some embodiments
Unspecified content may refer to the same or similar content in other embodiments.
It should be noted that in the description of the present invention, term " first ", " second " etc. are used for description purposes only, without
It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple "
Refer at least two.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (10)
1. a kind of power grid data processing method for handheld device characterized by comprising
Obtain the data information that grid equipment generates in the process of running;
Based on default communication protocol, according to the data information, generated in server corresponding with the default communication protocol
Communication service data model;
By the master data class model in the communication service data model, the object class mould in the communication service data model
Type and ACSI service form data by C language or C Plus Plus and map, and are mapped in customer data base;
It calls the data in the customer data base to map according to the default communication protocol, and data mapping is patrolled
Processing is collected, to obtain dynamic link library;
Using Java local interface technology, by the functional interface in the dynamic link library, real-time reception and show the number
It is believed that breath.
2. the method according to claim 1, wherein the basic number by the communication service data model
It services according to class model, object class model and ACSI and is mapped in customer data base by C language or C Plus Plus, comprising:
Using the mode of C/S framework, c program or C++ program and server are established into connection, using ACSI by the communication service
Master data class model and object class Module map in data model is into customer data base.
3. the method according to claim 1, wherein described call in the customer data base according to the agreement
Data mapping, and to the data map carry out logical process, to obtain dynamic link library, later, further includes:
Sub thread is opened, the dynamic link library is linked.
4. the method according to claim 1, wherein the application Java local interface technology, is moved by described
Functional interface in state chained library, real-time reception simultaneously show the data information, comprising:
Using the Java local interface technology, the interface function in the dynamic link library is called, to pass through the dynamic chain
The functional interface in library is connect, real-time reception simultaneously shows the data information.
5. according to the method described in claim 4, it is characterized in that, passing through the dynamic applying Java local interface technology
Functional interface in chained library, real-time reception simultaneously show the data information, before, further includes:
Into display homepage, turn-on data transmission service.
6. a kind of electric network data processing unit for handheld device characterized by comprising
Data acquisition module, the data information generated in the process of running for obtaining grid equipment;
Data model generation module, for based on default communication protocol, according to the data information, with the default communication protocols
Discuss generation communication service data model in corresponding server;
Mapping block, for by master data class model, the communication service data mould in the communication service data model
Object class model and ACSI service in type form data mapping by C language or C Plus Plus, and are mapped to customer data base
In;
Dynamic link library obtains module, for calling the data in the customer data base to reflect according to the default communication protocol
It penetrates, and the data is mapped and carry out logical process, to obtain dynamic link library;
Data information receives and display module, for applying Java local interface technology, passes through the function in the dynamic link library
Energy interface, real-time reception simultaneously show the data information.
7. device according to claim 6, which is characterized in that the mapping block is specifically used for:
Using the mode of C/S framework, c program or C++ program and server are established into connection, using ACSI by the communication service
Master data class model and object class Module map in data model is into customer data base.
8. device according to claim 6, which is characterized in that further include link module, be used for described according to the association
View calls the data mapping in the customer data base, and maps the data and carry out logical process, to obtain dynamic link
Sub thread is opened, the dynamic link library is linked later in library.
9. device according to claim 6, which is characterized in that the data information reception is specifically used for display module:
Using the Java local interface technology, the interface function in the dynamic link library is called, to pass through the dynamic chain
The functional interface in library is connect, real-time reception simultaneously shows the data information.
10. device according to claim 9, which is characterized in that further include data transmission module, for applying Java sheet
Ground interfacing, by the functional interface in the dynamic link library, real-time reception simultaneously shows the data information, before, into
Enter and shows homepage, turn-on data transmission service.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811286817.4A CN109213540B (en) | 2018-10-31 | 2018-10-31 | Power grid data processing method and device for handheld device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811286817.4A CN109213540B (en) | 2018-10-31 | 2018-10-31 | Power grid data processing method and device for handheld device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109213540A true CN109213540A (en) | 2019-01-15 |
CN109213540B CN109213540B (en) | 2022-03-04 |
Family
ID=64998319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811286817.4A Expired - Fee Related CN109213540B (en) | 2018-10-31 | 2018-10-31 | Power grid data processing method and device for handheld device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109213540B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582153A (en) * | 2008-05-15 | 2009-11-18 | 北京国科恒通电气自动化科技有限公司 | Method and system for managing power network resources |
US8108864B2 (en) * | 2007-06-01 | 2012-01-31 | International Business Machines Corporation | Method and system for dynamically tracking arbitrary task dependencies on computers in a grid environment |
CN102999364A (en) * | 2012-12-05 | 2013-03-27 | 深圳供电局有限公司 | Method and device for classifying and dynamically loading subjects based on power grid operation monitoring |
CN103123484A (en) * | 2012-12-26 | 2013-05-29 | 辽宁省电力有限公司电力科学研究院 | Transformer substation state monitoring data standardized access system and transformer substation state monitoring data standardized access method |
US20140052736A1 (en) * | 2012-08-14 | 2014-02-20 | International Business Machines Corporation | Custom object-in-memory format in data grid network appliance |
CN103631578A (en) * | 2013-10-12 | 2014-03-12 | 国家电网公司 | Data display method in power distribution network automated system |
CN204119312U (en) * | 2014-06-19 | 2015-01-21 | 国家电网公司 | The mobile terminal of operation of power networks data can be shown |
CN104793071A (en) * | 2015-03-28 | 2015-07-22 | 合肥天海电气技术有限公司 | Power grid fault diagnosis system based on J2EE distributed type technology |
CN105100116A (en) * | 2015-08-31 | 2015-11-25 | 云南电网有限责任公司电力科学研究院 | Efficient and safe power data interaction method in wireless communication mode |
CN105281912A (en) * | 2015-09-14 | 2016-01-27 | 国家电网公司 | Power grid operation scheduling system based on mobile network |
CN105548743A (en) * | 2015-12-07 | 2016-05-04 | 中国矿业大学 | Electric energy quality monitoring system based on handset client and electric energy quality monitoring method |
-
2018
- 2018-10-31 CN CN201811286817.4A patent/CN109213540B/en not_active Expired - Fee Related
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8108864B2 (en) * | 2007-06-01 | 2012-01-31 | International Business Machines Corporation | Method and system for dynamically tracking arbitrary task dependencies on computers in a grid environment |
CN101582153A (en) * | 2008-05-15 | 2009-11-18 | 北京国科恒通电气自动化科技有限公司 | Method and system for managing power network resources |
US20140052736A1 (en) * | 2012-08-14 | 2014-02-20 | International Business Machines Corporation | Custom object-in-memory format in data grid network appliance |
CN102999364A (en) * | 2012-12-05 | 2013-03-27 | 深圳供电局有限公司 | Method and device for classifying and dynamically loading subjects based on power grid operation monitoring |
CN103123484A (en) * | 2012-12-26 | 2013-05-29 | 辽宁省电力有限公司电力科学研究院 | Transformer substation state monitoring data standardized access system and transformer substation state monitoring data standardized access method |
CN103631578A (en) * | 2013-10-12 | 2014-03-12 | 国家电网公司 | Data display method in power distribution network automated system |
CN204119312U (en) * | 2014-06-19 | 2015-01-21 | 国家电网公司 | The mobile terminal of operation of power networks data can be shown |
CN104793071A (en) * | 2015-03-28 | 2015-07-22 | 合肥天海电气技术有限公司 | Power grid fault diagnosis system based on J2EE distributed type technology |
CN105100116A (en) * | 2015-08-31 | 2015-11-25 | 云南电网有限责任公司电力科学研究院 | Efficient and safe power data interaction method in wireless communication mode |
CN105281912A (en) * | 2015-09-14 | 2016-01-27 | 国家电网公司 | Power grid operation scheduling system based on mobile network |
CN105548743A (en) * | 2015-12-07 | 2016-05-04 | 中国矿业大学 | Electric energy quality monitoring system based on handset client and electric energy quality monitoring method |
Non-Patent Citations (2)
Title |
---|
YAN HUANG等: "Wrapping legacy codes for Grid-based applications", 《PROCEEDINGS INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM》 * |
王峰等: "电网水调应用系统中多语言混合编程和数据交换设计", 《水电自动化与大坝监测》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109213540B (en) | 2022-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111507020B (en) | Graphical display method for distributed simulation results of electromechanical systems of multi-electric aircraft | |
CN109408500A (en) | Artificial intelligence operation platform | |
CN109614093B (en) | Visual intelligent contract system and intelligent contract processing method | |
CN104935660B (en) | A kind of cloud program development operating system, method and device | |
CN110032592A (en) | A kind of energy big data integration system and method | |
WO2018210028A1 (en) | Energy information system, and method and device for processing energy information | |
CN107515741A (en) | The lightweight transmission method and device of data between a kind of transformer station and main website | |
CN108241304A (en) | A kind of network-type industrial control unit (ICU) of software definition | |
CN103414694A (en) | Communication service mapping and encapsulating method for transformer substation monitoring system | |
CN109256858A (en) | Virtual synchronous generator system, communication method thereof and new energy control system | |
CN117749899A (en) | Protocol conversion framework, device communication method, device and computer storage medium | |
CN115935644A (en) | Method, system, equipment and medium for constructing digital twin body architecture of power distribution terminal | |
CN105207215B (en) | A kind of electric load dispatch control method | |
CN110480633A (en) | A kind of method, apparatus and storage medium controlling equipment | |
CN104346168A (en) | Information-exchange-bus-based monitoring and management visualization method | |
CN109873872A (en) | A kind of cloud electrical connector and method for supporting mixing cloud mode | |
CN109213540A (en) | Power grid data processing method and device for handheld device | |
CN109753281A (en) | A kind of microgrid energy management strategy visualization toolkit based on graphic programming | |
Fu et al. | Design of experiment platform for digital substation based on IEC 61850 | |
CN102393820A (en) | Logical implementation method for controlling building monitoring system | |
CN114785833B (en) | Energy storage system communication method and energy storage system | |
CN103164776A (en) | Medicine tracing system, medicine tracing method and process monitoring method | |
CN112882696B (en) | Full-element model training system based on supercomputer | |
CN110007901A (en) | A kind of development system collecting regimental wind-powered electricity generation monitor supervision platform and its operation method and development approach | |
CN115622899A (en) | Multi-mode intelligent network simulator architecture and simulation test 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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220304 |
|
CF01 | Termination of patent right due to non-payment of annual fee |