Method and device for embedding WEB component in power system and acquiring data

By introducing a data request adapter into the power dispatching system, seamless integration of WEB components and service bus is achieved, solving the difficulties in displaying and communicating the human-computer interaction interface of the traditional C/S architecture in the power dispatching system, and improving the visualization of power grid operation status and decision-making efficiency.

CN121479079AActive Publication Date: 2026-02-06BEIJING KEDONG ELECTRIC POWER CONTROL SYST CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511392557.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-26
Publication Date
2026-02-06
Estimated Expiration
2045-09-26

AI Technical Summary

Technical Problem

Traditional C/S architecture human-computer interaction interfaces are difficult to meet the needs of power dispatching systems for graphical display of massive, complex and real-time changing data, and there are difficulties in communication and data interaction between WEB components and power dispatching systems.

Method used

By designing a data request adapter, which is injected into the WEB component engine as a JavaScript object, a standard communication interface is provided for WEB components to interact with the service bus, enabling asynchronous data calls and event listening, supporting the parsing and loading of resource files, and utilizing the service bus for data acquisition and interaction.

Benefits of technology

It achieves seamless integration of WEB components into the power dispatching system, enhances dispatchers' awareness of the power grid's operating status and improves decision-making efficiency, meets the power dispatching system's need for complex visualization, and ensures the security and efficiency of data interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121479079A_ABST
    Figure CN121479079A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for embedding and acquiring data of a WEB component of a power system, and belongs to the technical field of the power system.The method comprises the following steps: analyzing an acquired CIM / G picture file to obtain WEB component description information; obtaining a corresponding resource file compressed package from a power dispatching system server through a file service in a power system service bus; decompressing the resource file compression package, and loading default webpage resources in the resource file compression package so as to initialize a WEB component engine; injecting a data request adapter into the initialized WEB component engine in a JavaScript object form, and providing a communication interface for calling the power system service bus capability for the WEB component; and in response to a request of the WEB component, initiating asynchronous data calling to the service bus of the power system, receiving power system data returned by the service bus and transmitting the power system data to the WEB component. According to the invention, seamless integration and data acquisition of the WEB component by the C / S architecture man-machine browser are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method and apparatus for embedding and acquiring data in a power system web component, belonging to the field of power system technology. Background Technology

[0002] Traditional client / server (C / S) architecture human-computer interfaces have inherent limitations in graphical display capabilities. With the continuous advancement of smart grid construction, power dispatching operations increasingly demand visual visualization, requiring the display of massive, complex, and real-time changing data, such as the real-time operating status of the power grid and the dynamic parameters of power equipment. However, traditional C / S architecture human-computer interfaces struggle to meet these needs, failing to achieve complex visualization effects such as dynamic charts and interactive maps. This limits dispatchers' intuitive and comprehensive understanding of the power grid's operational status, impacting the timeliness and accuracy of decision-making.

[0003] Power dispatching systems heavily rely on service buses for data and resource access. These buses employ specific communication protocols compliant with power industry standards, featuring stringent security authentication and data exchange mechanisms. However, the HTTP protocol, widely used in web technologies, differs significantly from the service bus protocol of power dispatching systems. This makes communication and data exchange between the two extremely difficult when embedding web components into the power dispatching system. Web components require various resources for display, such as JavaScript, CSS stylesheets, and images. In traditional web technologies, these resources are retrieved from servers via the HTTP protocol, a method that works correctly in general network environments. However, in power dispatching systems, due to the presence of the service bus, the storage and distribution methods for resources differ drastically from those of traditional web servers. Summary of the Invention

[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method and apparatus for embedding and acquiring data from WEB components in a power system, thereby achieving seamless integration and data acquisition of WEB components by a C / S architecture human-computer browser.

[0005] To achieve the above objectives, the present invention is implemented using the following technical solution: In a first aspect, the present invention provides a method for embedding and acquiring data from a power system web component, applicable to a C / S architecture human-computer browser for power dispatching systems, comprising: The acquired CIM / G screen file is parsed to obtain WEB component description information; Based on the WEB component description information, the corresponding resource file compressed package is obtained from the power dispatching system server through the file service in the power system service bus; The resource file archive is decompressed, and the default web page resources within it are loaded to initialize the web component engine; The data request adapter is injected into the initialized WEB component engine as a JavaScript object, providing the WEB component with a communication interface to call the power system service bus. Based on the communication interface, in response to the request from the WEB component, an asynchronous data call is initiated to the power system service bus, and the power system data returned by the service bus is received and transmitted to the WEB component.

[0006] Furthermore, the step of parsing the acquired CIM / G screen file to obtain WEB component description information includes: Identify CIM / G files <ghtml>Label; Extract the <ghtml>The attributes in the tag provide the description information of the web component, including id, x, y, w, h, and e_option. Here, id represents the unique identifier of the web component element, x represents the x-axis coordinate of the web component, y represents the y-axis coordinate of the web component, w represents the width of the web component, h represents the height of the web component, and e_option represents the attribute options. The x, y, w, and h attributes are used to configure the interface layout of the web component, and e_option is used to determine the path of the resource file package in the web component.

[0007] Furthermore, the step of obtaining the corresponding resource file compressed package from the power dispatching system server through the file service in the power system service bus based on the WEB component description information includes: A file service request is sent to the service bus. The request includes the resource file package path set by e_option, which causes the service bus to forward the request to the file service. The file service locates the corresponding resource file compressed package in the HTML directory of the power dispatching system server and returns the resource file compressed package to the C / S architecture human-machine browser through the service bus.

[0008] Furthermore, the step of responding to a request from the WEB component, initiating an asynchronous data call to the power system service bus, receiving power system data returned by the service bus, and transmitting it to the WEB component includes: Receive a request initiated by a WEB component, the request including a data source address, request information and a callback function; The target service on the service bus is located based on the data source address, which conforms to the power system customized service bus protocol; The request information is sent to the target service in JSON format, and the response is waited for asynchronously in a separate thread; After receiving the power system data in response, the callback function is executed and the power system data is returned to the WEB component.

[0009] Furthermore, the method also includes: implementing event listening by registering a listening interface through a message bus, including: Receive subscription parameters, which include channel set, event ID, and callback function; Register the listener for the specified events under the specified channel set to the message bus; When a corresponding event is published on the message bus, the callback function is automatically triggered and the event information is passed to the web component.

[0010] Furthermore, the method also includes: registering a sending interface through a message bus to implement message sending events, including: Receive and send parameters, which include channel, event ID, and message body; Message events are broadcast to designated channels via a message bus, enabling all applications or components that have registered message events on this channel to receive them.

[0011] Secondly, the present invention provides an apparatus for embedding and acquiring data from a power system web component, used to implement the method for embedding and acquiring data from a power system web component as described in any one of the preceding claims, comprising: The parsing module is used to parse the acquired CIM / G screen files to obtain WEB component description information; The extraction module is used to obtain the corresponding resource file compressed package from the power dispatching system server through the file service in the power system service bus based on the WEB component description information. An initialization module is used to decompress the resource file compressed package and load the default web page resources therein to initialize the WEB component engine; The injection module is used to inject the data request adapter into the initialized WEB component engine as a JavaScript object, providing the WEB component with a communication interface to call the power system service bus. The data acquisition module is used to respond to the request of the WEB component based on the communication interface, initiate an asynchronous data call to the power system service bus, receive the power system data returned by the service bus and transmit it to the WEB component.

[0012] Thirdly, the present invention provides an electronic device, comprising: Memory, used to store computer programs / instructions; A processor for executing the computer program / instructions to implement the steps of any of the methods described above.

[0013] Fourthly, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described above.

[0014] Fifthly, the present invention provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of any of the methods described above.

[0015] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: This invention provides a method and apparatus for embedding and acquiring data from a power system web component. By designing and implementing a data request adapter, which is injected into the web component engine as a JavaScript object, a standard communication interface for the web component to interact with the service bus is provided. This enables the web component to securely and efficiently invoke various application services in the power system service bus via asynchronous requests, acquire grid data in real time, and support event listening and broadcasting via the message bus, achieving bidirectional interaction between the web component and the CIM / G screen. Thus, without altering the existing C / S architecture and security system, the powerful display and interactive capabilities of modern web technology are seamlessly integrated into the power dispatching and production system, improving dispatchers' awareness of the grid's operational status and decision-making efficiency. Attached Figure Description

[0016] Figure 1 This is a flowchart of the WEB component loading process provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the data request adapter function provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the asynchronous request interface workflow of the data request adapter service bus provided in an embodiment of the present invention; Figure 4 This is a schematic diagram illustrating the workflow of the data request adapter message bus registration and listening interface and the message bus message sending interface provided in this embodiment of the invention. Detailed Implementation

[0017] The present invention will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and should not be used to limit the scope of protection of the present invention.

[0018] Example 1: This example describes a method for embedding and acquiring data from a power system web component, applicable to a C / S architecture human-computer browser, including: The acquired CIM / G screen file is parsed to obtain WEB component description information; Based on the WEB component description information, the corresponding resource file compressed package is obtained from the power dispatching system server through the file service in the power system service bus; The resource file archive is decompressed, and the default web page resources within it are loaded to initialize the web component engine; The data request adapter is injected into the initialized WEB component engine as a JavaScript object, providing the WEB component with a communication interface to call the power system service bus. Based on the communication interface, in response to the request from the WEB component, an asynchronous data call is initiated to the power system service bus, and the power system data returned by the service bus is received and transmitted to the WEB component.

[0019] The method for embedding and acquiring data in a power system web component provided in this embodiment involves the following steps in its application process: Step 1: Parse the CIM / G screen and obtain the WEB component description information; This embodiment proposes a method for embedding web components in a power system graphical description based on a service bus. First, this embodiment defines a set of web component graphical description methods based on the power system CIM / G standard. This method covers the comprehensive technical specifications for describing web components in the CIM / G language, detailing how to accurately define various attributes of web components in the power grid graph using the CIM / G language. In the CIM / G specification, web components are defined as... <ghtml>Label, <ghtml>The included attributes are shown in Table 1 below: Table 1-1 GHTML Tag Attributes

[0020] The C / S architecture human-machine browser reads and parses the CIM / G screen file, and identifies the definitions in the file. <ghtml>The tag is used to extract the attributes of the tag and obtain the web component description information, including basic attributes such as the position, size, and unique identifier of the web component. The C / S human-computer browser then parses the tag to obtain the web component description information. <ghtml>The x, y, w, and h attributes in the tag determine the position and size of the web component on the screen, realizing the basic layout; the e_option attribute is used to obtain the path of the resource file package required by the web component and the default web page resources loaded.

[0021] Step 2: Obtain and load web component resources through the service bus; This embodiment proposes a method for obtaining and loading resources required by WEB components through a service bus. The resource file packages required by the WEB components are uniformly stored as compressed files in the server's HTML directory. The C / S human-computer browser obtains the resource file package specified by the e_option attribute from the server through the existing file service in the power system service bus and automatically decompresses it on the client side. After decompression, the default resources specified by the e_option attribute are automatically loaded. The process is as follows: Figure 1 As shown.

[0022] First, the client / server architecture's human-computer browser reads the CIM / G screen file content and determines whether the CIM / G screen file contains information used to identify web components. <ghtml>Tags, if they exist <ghtml>The tags are used to extract basic attributes of web components, such as position, size, and unique identifiers. Based on these attributes, the web components are initially laid out on the interface. Simultaneously, from... <ghtml>The `e_option` attribute of the `<web>` tag retrieves information about the resource file packages required by the web component and the default loaded web page resources. The client / server (C / S) human-computer browser, using the power system service bus, sends a file service request to retrieve the resource file packages. Upon receiving the request, the service bus forwards it to the file service. The file service locates the HTML directory containing the resource file packages on the server based on the request information, finds the matching resource file packages (saved as compressed files) in the located directory, and returns them to the C / S human-computer browser via the service bus. After receiving the returned resource file packages, the C / S human-computer browser automatically decompresses them and, upon completion, automatically loads the default resources specified by the `e_option` attribute.

[0023] In the example above, after the C / S human-computer browser parses the CIM / G file, it arranges the WEB components according to the x, y, w, and h attributes in the GHTML tags. Then, based on the e_option attribute, testpic / index.html automatically downloads the resources of testpic.zip through the file service of the service bus. After the resources are downloaded, they are decompressed and the index.html web page resources are automatically loaded.

[0024] Step 3: Implement data interaction between web components through the data request adapter; The power dispatching system uses a specific communication protocol that conforms to power industry standards, with strict security authentication and data exchange mechanisms. Therefore, web components cannot rely on their commonly used HTTP (or HTTPS) protocols for data requests. Figure 2 and Figure 3 As shown, this embodiment defines and implements a service bus-based web component data request adapter. Simultaneously with the loading of web component resources, the C / S human-computer browser injects the data request adapter into the web component engine as a JavaScript object, and provides a specific HMI_WEB.js for the web resources loaded by the web component to import and call. The data request adapter provides various service bus-based data request interfaces, allowing web resources loaded in the web component to request data from services on the service bus by calling the adapter's interfaces. The data request interfaces provided by the data request adapter include: a service bus asynchronous request interface, a message bus registration and listening interface, and a message bus message sending interface.

[0025] The main function of the service bus asynchronous request interface is to send asynchronous requests to the service bus. Its input parameters include the data source address, data request information, and a data return callback function. When a web page resource in a web component requests data from the service bus through this interface, the interface locates the specified service on the service bus based on the data source address. The data source address uses a service bus protocol customized for the power dispatching system, and its format is as follows: sbus: / / domain / scenario / scenario instance / subscenario / subscenario instance / service name / manufacturer name / version / query method / unique ID of service call chain / ID of last service call / ID of this service call; The specific format is as follows: sbus: / / domain / sceneName / sceneInstance / subsceneName / subsceneInstance / serviceName / manufactor / version / query_type / trace_id / parent_id / span_id?readTimeout=6 (where trace_id, parent_id, and span_id have default values ​​of 0); Specific examples are as follows: sbus: / / JKXT / realtime / 1 / scada / 1 / data_access_server / nari / 1 / 1 / 0 / 0 / 0?readTimeout=6; The data request adapter sends data request information in JSON format to the service located at the data source address and waits for the data to be returned. This process is implemented asynchronously in an independent thread and does not affect other operations and display of the web component. After the corresponding service returns the data, the data request adapter automatically calls the callback function with the returned data as a parameter, thereby passing the returned data to the web component's web resources, completing the data request and response. The web component's web resources can call this interface to asynchronously obtain data whenever a data request is needed.

[0026] like Figure 4 As shown, the message bus registration listener interface's main function is to register events to be listened to with the message bus. When other applications send corresponding events to the message bus, the registered web components can receive the message broadcast by the message bus and execute the corresponding response operation. The interface parameters include channel set, event ID, region, scene name, scene instance, sub-scene name, sub-scene instance, and callback function. The interface can register listeners for specific events under a specified channel set. Upon receiving an event broadcast, it automatically calls the callback function, passing the event information to the webpage loaded by the web component.

[0027] like Figure 4 As shown, the message bus message sending interface's main function is to send events to the message bus. The interface parameters include channel, event ID, region, scene name, scene instance, sub-scene name, sub-scene instance, and the specific information of the message event body. This interface broadcasts the event information through the message bus, and all applications registered to listen for this event on this channel can receive the broadcast event.

[0028] This embodiment proposes a method for embedding web components in the graphical description of power systems based on a service bus. It is primarily applied to the C / S architecture human-machine browser of power dispatching systems. By defining a graphical description method for web components based on the power system CIM / G standard, it standardizes the graphical description of power grid components across different application systems, manufacturers, and power companies, enabling the parsing and display of web components in the C / S architecture human-machine browser of the power dispatching system. Simultaneously, for the acquisition of web component-related resources, it proposes a scheme for saving, downloading, and caching on the server side, utilizing the service bus file service to obtain resources; regarding data acquisition, it utilizes the service bus to implement asynchronous data requests and designs an interaction interface between the CIM / G screen and the web components. This invention aims to address several issues in existing technologies: First, it improves the limited graphical display capabilities of traditional C / S architecture human-computer interaction interfaces, meeting the demand for visually displaying massive, complex, and real-time changing data in power dispatching operations under smart grid construction. This allows dispatchers to intuitively and comprehensively understand the power grid's operation, improving the timeliness and accuracy of decision-making. Second, it overcomes the significant differences between the power dispatching system's service bus protocol and the HTTP protocol of web technology, achieving seamless integration in communication and data interaction. Third, it solves the problem of resource acquisition difficulties for web components in power dispatching systems, adapting to the resource storage and distribution methods of the service bus to ensure that web components can stably and efficiently acquire the necessary resources, thereby promoting the upgrading and development of power dispatching system visualization.

[0029] Example 2: This example provides an apparatus for embedding and acquiring data from a power system web component, used to implement the method for embedding and acquiring data from a power system web component as described in any one of Examples 1, including: The parsing module is used to parse the acquired CIM / G screen files to obtain WEB component description information; The extraction module is used to obtain the corresponding resource file compressed package from the power dispatching system server through the file service in the power system service bus based on the WEB component description information. An initialization module is used to decompress the resource file compressed package and load the default web page resources therein to initialize the WEB component engine; The injection module is used to inject the data request adapter into the initialized WEB component engine as a JavaScript object, providing the WEB component with a communication interface to call the power system service bus. The data acquisition module is used to respond to the request of the WEB component based on the communication interface, initiate an asynchronous data call to the power system service bus, receive the power system data returned by the service bus and transmit it to the WEB component.

[0030] The specific functions of each module described above are explained in the relevant content of the method in Embodiment 1, and will not be repeated here.

[0031] Example 3: This example provides an electronic device, including: Memory, used to store computer programs / instructions; A processor for executing the computer program / instructions to implement the steps of any of the methods described in Embodiment 1.

[0032] Example 4: This example provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described in Example 1.

[0033] Example 5: This example provides a computer program product, including a computer program / instructions, which, when executed by a processor, implement the steps of the method described in any one of Examples 1.

[0034] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

[0035] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0036] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0037] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0038] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0039] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this disclosure and not to limit its protection scope. Although this disclosure has been described in detail with reference to the above embodiments, those skilled in the art should understand that after reading this disclosure, they can still make various changes, modifications or equivalent substitutions to the specific implementation of the invention, but these changes, modifications or equivalent substitutions are all within the protection scope of the pending claims.< / ghtml> < / ghtml> < / ghtml> < / ghtml> < / ghtml> < / ghtml> < / ghtml> < / ghtml> < / ghtml>

Claims

1. A method for a power system WEB component to embed and fetch data, characterized in that, The method is suitable for a C / S architecture human-computer browser, and comprises the following steps: analyzing a obtained CIM / G picture file to obtain WEB component description information; based on the WEB component description information, obtaining a corresponding resource file compression package from a power dispatching system server through a file service in a power system service bus; decompressing the resource file compression package and loading default web page resources in the resource file compression package to initialize a WEB component engine; injecting a data request adapter in the form of a JavaScript object into the initialized WEB component engine to provide a communication interface for the WEB component to call power system service bus capabilities; based on the communication interface, initiating an asynchronous data call to the power system service bus in response to a request of the WEB component, receiving power system data returned by the service bus and delivering the power system data to the WEB component.

2. The method of claim 1, wherein the power system WEB component embeds and fetches data, and The analyzing the obtained CIM / G picture file to obtain WEB component description information comprises the following steps: Identifying CIM / G files in <ghtml>a label;< / ghtml> extracting the <ghtml>attributes in the label, the WEB component description information comprising id, x, y, w, h and e_option, wherein the id represents a unique identification of a WEB component element, the x represents a WEB component x-axis coordinate, the y represents a WEB component y-axis coordinate, the w represents a WEB component width, the h represents a WEB component height, and the e_option represents an attribute option, wherein the x, y, w and h attributes are used for interface layout of the WEB component, and the e_option is used for determining a resource file package path in the WEB component.< / ghtml> 3. The method of claim 1, wherein the power system WEB component embeds and fetches data, and The obtaining the corresponding resource file compression package from the power dispatching system server through the file service in the power system service bus based on the WEB component description information comprises the following steps: initiating a file service request to the service bus, the request containing the resource file package path set by the e_option, so that the service bus forwards the request to the file service, the file service locating a corresponding resource file compression package under an HTML directory of the power dispatching system server, and the service bus returning the resource file compression package to the C / S architecture human-computer browser.

4. The method of claim 1, wherein the power system WEB component embeds and fetches data, and The initiating the asynchronous data call to the power system service bus in response to the request of the WEB component, receiving the power system data returned by the service bus and delivering the power system data to the WEB component comprises the following steps: receiving a request initiated by the WEB component, the request comprising a data source address, request information and a callback function; locating a target service on the service bus according to the data source address, the data source address complying with a power system customized service bus protocol; sending the request information to the target service in a JSON format and asynchronously waiting for a response in an independent thread; after receiving the response power system data, executing the callback function and returning the power system data to the WEB component.

5. The method of claim 1, wherein the power system WEB component embeds and fetches data, and The method further comprises: implementing event listening through a message bus registration listening interface, comprising the following steps: receiving subscription parameters, the subscription parameters comprising a channel set, an event ID and a callback function; registering and setting the listening of a set event under the channel set to the message bus; when a corresponding event is published on the message bus, automatically triggering the callback function and delivering event information to the WEB component.

6. The method of claim 1, wherein the power system WEB component embeds and fetches data, and The method further comprises: registering a sending interface through a message bus, implementing a sending message event, comprising: receiving sending parameters, the sending parameters comprising a channel, an event ID and a message body; broadcasting the message event to the set channel through the message bus, so that all applications or components registered on the channel can receive the message event.

7. An apparatus for embedding and retrieving data of a power system WEB component, for implementing the method for embedding and retrieving data of a power system WEB component according to any one of claims 1-6, characterized in that, Comprise: a parsing module, configured to parse the obtained CIM / G picture file to obtain WEB component description information; an extraction module, configured to acquire a corresponding resource file compression package from a power dispatching system server through a file service in a power system service bus based on the WEB component description information; an initialization module, configured to decompress the resource file compression package and load default webpage resources in the resource file compression package to initialize a WEB component engine; an injection module, configured to inject a data request adapter in the form of a JavaScript object into the initialized WEB component engine to provide a communication interface for the WEB component to call power system service bus capability; a data acquisition module, configured to initiate an asynchronous data call to the power system service bus in response to a request of the WEB component based on the communication interface, and receive power system data returned by the service bus and deliver the power system data to the WEB component.

8. An electronic device, comprising: Comprise: a memory, configured to store computer programs / instructions; a processor, configured to execute the computer programs / instructions to implement the steps of the method in any one of claims 1-6.

9. A computer readable storage medium having stored thereon a computer program, characterized in that: The computer program is executed by the processor to implement the steps of the method in any one of claims 1-6.

10. A computer program product comprising computer programs / instructions, characterized in that, The computer program / instruction is executed by the processor to implement the steps of the method in any one of claims 1-6. The computer program / instruction is executed by the processor to implement the steps of the method in any one of claims 1-6.

Citation Information

Patent Citations

  • Method for implementing electric grid scheduling automation

    CN101388568A

  • ESB (Enterprise Service Bus) task scheduling method orienting to large-scale requests and scheduling system

    CN102497419A

  • Real-time monitoring supervising method for WEB mode of power SCADA (Supervisory Control And Data Acquisition) on basis of combining SVG (Scalable Vector Graphics) with RIA (Rich Internet Application)

    CN103078958A

  • Power system collaborative simulation system based on WEBGIS (web geography information system)

    CN103236024A

  • Asynchronous web service callouts and servlet handling

    US20160105532A1