CN111641580B - Wind power plant service calling method, device, equipment and medium - Google Patents

Wind power plant service calling method, device, equipment and medium Download PDF

Info

Publication number
CN111641580B
CN111641580B CN201910154858.6A CN201910154858A CN111641580B CN 111641580 B CN111641580 B CN 111641580B CN 201910154858 A CN201910154858 A CN 201910154858A CN 111641580 B CN111641580 B CN 111641580B
Authority
CN
China
Prior art keywords
service
database
proxy server
information security
isolation device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910154858.6A
Other languages
Chinese (zh)
Other versions
CN111641580A (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.)
Beijing Goldwind Smart Energy Service Co Ltd
Original Assignee
Beijing Goldwind Smart Energy Service 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 Beijing Goldwind Smart Energy Service Co Ltd filed Critical Beijing Goldwind Smart Energy Service Co Ltd
Priority to CN201910154858.6A priority Critical patent/CN111641580B/en
Publication of CN111641580A publication Critical patent/CN111641580A/en
Application granted granted Critical
Publication of CN111641580B publication Critical patent/CN111641580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0281Proxies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/029Firewall traversal, e.g. tunnelling or, creating pinholes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a medium for calling wind farm service. The method for calling the intranet service of the wind power plant comprises the following steps: receiving a service call request for wind power plant intranet service sent by a service consumer; encapsulating the service call request into a database call request; sending a database calling request to an intranet side proxy server of the wind power plant through an information security network isolation device; acquiring database return data fed back by an intranet side proxy server of a wind power plant through an information security network isolation device; unpacking the returned data of the database to obtain a service processing result; and feeding back the service processing result to the service consumer. The wind farm service calling method, device, equipment and medium can access the service behind the information security network isolation device without being limited by a database supported by the information security network isolation device.

Description

Wind power plant service calling method, device, equipment and medium
Technical Field
The present invention relates to the field of information security technologies, and in particular, to a method, an apparatus, a device, and a medium for invoking a wind farm service.
Background
In the wind power plant, the information security network isolation device is deployed between an intranet database server and an extranet application server of the wind power plant, and the information security network isolation device protects a background database server while meeting the requirement of normal legal access of application to the intranet database of the wind power plant. On one hand, the wind power plant intranet and the wind power plant extranet can be isolated and disconnected from the network link, and viruses and hackers can be effectively prevented from entering the wind power plant intranet through various attack means; and on the other hand, the exchanged data is subjected to fine-granularity security detection under the control of a security policy, the content of the access of the structured query language (Structured Query Language, SQL) is strongly filtered, illegal requests are identified, the access and operation of a database exceeding the authority are prevented, and the security of an intranet application system and the data of the wind power plant is protected.
At present, the information security network isolation device is used as a channel for accessing the database, namely, the wind farm intranet is only a database with limited access to the wind farm extranet, and the access mode and the type of the database which can pass through are limited.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a medium for calling wind farm service, which can access the service behind an information security network isolation device without being limited by a database supported by the information security network isolation device.
In a first aspect, an embodiment of the present invention provides a method for invoking an intranet service of a wind farm applied to an external network side proxy server of the wind farm, where the method includes:
receiving a service call request for wind power plant intranet service sent by a service consumer;
encapsulating the service call request into a database call request;
sending a database calling request to an intranet side proxy server of the wind power plant through an information security network isolation device;
acquiring database return data fed back by an intranet side proxy server of a wind power plant through an information security network isolation device;
unpacking the returned data of the database to obtain a service processing result;
and feeding back the service processing result to the service consumer.
In a second aspect, an embodiment of the present invention provides a method for invoking an intranet service of a wind farm, where the method is applied to an intranet side proxy server of the wind farm, and the method includes:
obtaining a database call request;
decapsulating the database call request to obtain a service call request, wherein the service call request is a call request for the intranet service of the wind power plant;
sending a service call request to a corresponding service;
receiving a service processing result fed back by the service;
packaging the service processing result into database return data;
And sending the database return data to the wind farm external network side proxy server through the information security network isolation device.
In a third aspect, an embodiment of the present invention provides a method for invoking a wind farm external network service applied to a proxy server on a wind farm external network side, where the method includes:
receiving a service call request for wind farm external network service sent by a service consumer;
packaging the service call request into a database return message;
sending a database return message to a wind farm external network side proxy server through an information security network isolation device;
acquiring database operation instructions fed back by a wind power plant external network side proxy server through an information security network isolation device;
unpacking the database operation instruction to obtain a service processing result;
and feeding back the service processing result to the service consumer.
In a fourth aspect, an embodiment of the present invention provides a method for invoking a wind farm external network service applied to a proxy server on an internal network side of a wind farm, where the method includes:
acquiring a database return message fed back by an intranet side proxy server of a wind power plant through an information security network isolation device;
unpacking the database return message to obtain a service call request, wherein the service call request is a call request for wind power grid external network service;
Sending a service call request to a corresponding service;
receiving a service processing result fed back by the service;
packaging the service processing result into a database operation instruction;
and sending the database operation instruction to an intranet side proxy server of the wind power plant through the information security network isolation device.
In a fifth aspect, an embodiment of the present invention provides a wind farm intranet service calling device applied to a wind farm extranet proxy server, where the device includes:
the first receiving module is used for receiving a service call request sent by a service consumer;
the first encapsulation module is used for encapsulating the service call request into a database call request;
the first sending module is used for sending a database calling request to the intranet side proxy server of the wind power plant through the information security network isolation device;
the first acquisition module is used for acquiring database return data fed back by the proxy server at the inner network side of the wind power plant through the information security network isolation device;
the first decapsulation module is used for decapsulating the database return data to obtain a service processing result;
and the first feedback module is used for feeding back the service processing result to the service consumer.
In a sixth aspect, an embodiment of the present invention provides a wind farm intranet service calling device applied to a wind farm intranet side proxy server, where the device includes:
The second acquisition module is used for acquiring a database call request;
the second decapsulation module is used for decapsulating the database call request to obtain a service call request, wherein the service call request is a call request for the intranet service of the wind power plant;
the second sending module is used for sending the service calling request to the corresponding service;
the second receiving module is used for receiving the service processing result of the service feedback;
the second packaging module is used for packaging the service processing result into database return data;
and the second feedback module is used for sending the database return data to the wind farm external network side proxy server through the information security network isolation device.
In a seventh aspect, an embodiment of the present invention provides a wind farm external network service calling device applied to a wind farm external network side proxy server, where the device includes:
the third receiving module is used for receiving a service call request for the wind power plant external network service sent by a service consumer;
the third encapsulation module is used for encapsulating the service call request into a database return message;
the third sending module is used for sending the database return message to the wind farm external network side proxy server through the information security network isolation device;
The third acquisition module is used for acquiring database operation instructions fed back by the wind power plant external network side proxy server through the information security network isolation device;
the third unpacking module is used for unpacking the database operation instruction to obtain a service processing result;
and the third feedback module is used for feeding back the service processing result to the service consumer.
In an eighth aspect, an embodiment of the present invention provides a wind farm external network service calling device applied to an internal network side proxy server of a wind farm, where the device includes:
the fourth acquisition module is used for acquiring a database return message fed back by the proxy server at the inner network side of the wind power plant through the information security network isolation device;
the fourth decapsulation module is used for decapsulating the database return message to obtain a service call request, wherein the service call request is a call request for external network service of the wind power network;
a fourth sending module, configured to send a service call request to a corresponding service;
the fourth receiving module is used for receiving the service processing result of the service feedback;
the fourth packaging module is used for packaging the service processing result into a database operation instruction;
and the fourth feedback module is used for sending the database operation instruction to the wind farm intranet side proxy server through the information security network isolation device.
In a ninth aspect, an embodiment of the present invention provides a wind farm service calling device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor;
the processor implements the service calling method provided by the embodiment of the invention when executing the computer program.
In a tenth aspect, an embodiment of the present invention provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements a service invocation method provided by the embodiment of the present invention.
According to the wind farm service calling method, device, equipment and medium, the database access channel provided by the information security network isolation device is used as a service calling and service interaction channel, so that the service behind the information security network isolation device can be accessed without being limited by the database supported by the information security network isolation device.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are needed to be used in the embodiments of the present invention will be briefly described, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a first architecture diagram of a wind farm service call provided by an embodiment of the present invention;
FIG. 2 illustrates a second architectural diagram of a wind farm service invocation provided by an embodiment of the present invention;
FIG. 3 illustrates a third architectural diagram of a wind farm service invocation provided by an embodiment of the present invention;
fig. 4 shows a flowchart of a method for invoking a wind farm intranet service applied to a wind farm extranet proxy server according to an embodiment of the present invention;
fig. 5 shows a flowchart of a method for invoking an intranet service of a wind farm, which is applied to an intranet side proxy server of the wind farm and provided by an embodiment of the present invention;
fig. 6 shows a flowchart of a method for invoking a wind farm external network service, which is applied to a proxy server on an internal network side of a wind farm, according to an embodiment of the present invention;
fig. 7 shows a flowchart of a method for invoking a wind farm external network service, which is applied to a proxy server on the wind farm external network side and provided by an embodiment of the present invention;
fig. 8 shows a schematic structural diagram of a wind farm intranet service calling device applied to a wind farm extranet side proxy server according to an embodiment of the present invention;
fig. 9 shows a schematic structural diagram of a wind farm intranet service calling device applied to a wind farm intranet side proxy server according to an embodiment of the present invention;
Fig. 10 shows a schematic structural diagram of a wind farm external network service calling device applied to a wind farm internal network side proxy server according to an embodiment of the present invention;
fig. 11 shows a schematic structural diagram of a wind farm external network service calling device applied to a wind farm external network side proxy server according to an embodiment of the present invention;
fig. 12 illustrates a block diagram of an exemplary hardware architecture of a computing device capable of implementing the service invocation methods and apparatus according to embodiments of the invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely configured to illustrate the invention and are not configured to limit the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by showing examples of the invention.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
In order to solve the problems in the prior art, the embodiment of the invention provides a method, a device, equipment and a medium for calling wind farm service.
FIG. 1 illustrates a first architecture diagram of a wind farm service invocation provided by an embodiment of the present invention. The wind farm service invocation architecture comprises: wind farm intranet side service, wind farm intranet side proxy server, information security network isolation device, wind farm extranet side proxy server and wind farm extranet side service. The wind farm intranet side proxy server is provided with a database access interface supporting the information security network isolation device.
The information security network isolation device (SGI-NDS 200) is core equipment for realizing data transmission of the internal and external networks, and is an infrastructure for ensuring normal operation of an internal and external network isolation system and related services. The information security network isolation device realizes high-strength logic isolation between the internal network and the external network, only allows the necessary data exchange between the internal network and the external network to be carried out in a controllable communication mode, and has controllable data access process and real and reliable interaction data.
The SQL proxy service of the information security network isolation device is a database proxy service provided by the information security network isolation device and is used for solving the security isolation and interaction problems of various databases between the internal network and the external network. The method adopts a technical route based on an agent to provide a special Java database connection (Java DataBase Connectivity, JDBC) drive for each external network service system, and establishes a special safety channel through the special JDBC drive and an information safety network isolation device to realize the safety access of the external network service system to an internal network database under a logic isolation condition.
When the wind farm external network side service calls the wind farm internal network side service, the wind farm external network side service is the service consumer.
The service on the wind power plant external network side initiates a service calling request, and the service calling request is transmitted to the wind power plant external network side proxy server through a certain transmission mechanism (such as direct service calling, message direct transmission or message bus, etc.).
The wind farm external network side proxy server packages the service call request into a database call request, and sends the database call request to the wind farm internal network side proxy server through the information security network isolation device.
After receiving the database call request, the wind farm intranet side proxy server decapsulates the database call request to obtain a service call request, converts the service call request into a request message with a source of the service call request, and transmits the request message to a corresponding service through a certain transmission mechanism (such as direct service call, message direct transmission or message bus, etc.).
And the corresponding service processes the request message and feeds back a service processing result to the wind farm intranet side proxy server.
And the wind power plant inner network side proxy server packages the service processing result into database return data, and feeds the database return data back to the wind power plant outer network side proxy server through the information security network isolation device.
And the wind power plant external network side proxy server unpacks the returned data of the database to obtain a service processing result, and feeds the service processing result back to the corresponding wind power plant external network side service.
In one embodiment of the invention, the wind farm intranet side proxy server can directly feed back the database return data to the wind farm extranet side proxy server through the information security network isolation device.
In one embodiment of the invention, the wind farm intranet side proxy server can receive a query request for database return data sent by the wind farm extranet side proxy server, and after receiving the query request, the database return data is fed back to the wind farm extranet side proxy server through the information security network isolation device.
In one embodiment of the invention, the wind farm external network side proxy server can send a query request for database return data to the wind farm internal network side proxy server at regular time. The wind farm external network side proxy server can also send a query request for the database return data to the wind farm internal network side proxy server after the query request trigger is triggered.
When the wind farm intranet side service calls the wind farm extranet side service, the wind farm intranet side service is the service consumer.
The service on the wind farm intranet side initiates a service call request, and the service call request is transmitted to the proxy server on the wind farm intranet side through a certain transmission mechanism (such as direct service call, message direct transmission or message bus, etc.).
And the wind power plant intranet side proxy server packages the service call request into a database return message, and sends the database return message to the wind power plant extranet side proxy server through the information security network isolation device.
The wind farm external network side proxy server decapsulates the database return message to obtain a service call request, converts the service call request into a request message which is sourced as the service call request, and transmits the request message to the corresponding service through a certain transmission mechanism (such as direct service call, message direct transmission or message bus and the like).
And the corresponding service processes the request message and feeds back a service processing result to the wind power plant external network side proxy server.
The wind farm external network side proxy server packages the service processing result into a database operation instruction; and feeding back the database operation instruction to the wind farm intranet side proxy server through the information security network isolation device.
The wind farm intranet side proxy server unpacks the database operation instruction to obtain a service processing result, and the service processing result is fed back to the corresponding wind farm intranet side service.
In one embodiment of the invention, the wind farm intranet side proxy server can directly send the database return message to the wind farm extranet side proxy server through the information security network isolation device.
In one embodiment of the invention, the wind farm intranet side proxy server can also send the database return message to the wind farm extranet side proxy server through the information security network isolation device after receiving the query request.
In one embodiment of the invention, the wind farm external network side proxy server can time the query request for the database return message sent to the wind farm internal network side proxy server. The wind farm external network side proxy server can also send a query request for the database return message to the wind farm internal network side proxy server after the query request trigger is triggered.
FIG. 2 illustrates a second architecture diagram of a wind farm service invocation provided by an embodiment of the present invention. The service invocation architecture includes: wind farm intranet side service, wind farm intranet side proxy server, cache, information security network isolation device, wind farm extranet side proxy server and wind farm extranet side service. The wind farm intranet side proxy server is provided with a database access interface supporting the information security network isolation device.
When the wind farm external network side service calls the wind farm internal network side service, the wind farm external network side service is the service consumer.
The service on the wind power plant external network side initiates a service calling request, and the service calling request is transmitted to the wind power plant external network side proxy server through a certain transmission mechanism (such as direct service calling, message direct transmission or message bus, etc.).
The wind farm external network side proxy server encapsulates the service call request into a database call request, and writes the database call request into a cache through the information security network isolation device.
The wind farm intranet side proxy server queries a database call request from the cache, then the database call request is unpacked to obtain a service call request, the service call request is converted into a request message with a source of the service call request, and the request message is transmitted to a corresponding service through a certain transmission mechanism (such as direct service call, message direct transmission or message bus and the like).
And the corresponding service processes the request message and feeds back a service processing result to the wind farm intranet side proxy server.
And the wind power plant intranet side proxy server packages the service processing result into database return data and writes the database return data into a cache.
The wind farm external network side proxy server inquires database return data from the cache through the information security network isolation device, unpacks the database return data to obtain service processing results, and feeds the service processing results back to corresponding wind farm external network side service.
In one embodiment of the invention, the wind farm external network side proxy server can send a query request for the database return data to the cache through the information security network isolation device to obtain the database return data stored in the cache by the wind farm internal network side proxy server.
In one embodiment of the invention, the wind farm external network side proxy server can send query requests for database return data to the cache at regular time. The wind farm external network side proxy server can also send a query request for the database return data to the cache after the query request trigger is triggered.
When the wind farm intranet side service calls the wind farm extranet side service, the wind farm intranet side service is the service consumer.
The service on the wind farm intranet side initiates a service call request, and the service call request is transmitted to the proxy server on the wind farm intranet side through a certain transmission mechanism (such as direct service call, message direct transmission or message bus, etc.).
And the proxy server at the wind farm intranet side packages the service call request into a database return message and writes the database return message into a cache.
The wind farm external network side proxy server inquires a database return message from the cache through the information security network isolation device, decapsulates the database return message to obtain a service call request, converts the service call request into a request message with a source of the service call request, and transmits the request message to a corresponding service through a certain transmission mechanism (such as direct service call, message direct transmission or message bus and the like).
And the corresponding service processes the request message and feeds back a service processing result to the wind power plant external network side proxy server.
The wind farm external network side proxy server packages the service processing result into a database operation instruction; and writing the database operation instruction into the cache.
The wind power plant intranet side proxy server inquires a database operation instruction from the cache, unpacks the database operation instruction to obtain a service processing result, and feeds the service processing result back to the corresponding wind power plant intranet side service.
In one embodiment of the invention, the wind farm external network side proxy server can send query requests for database return messages to the cache at regular time. The wind farm external network side proxy server can also send a query request for the database return message to the cache after the query request trigger is triggered.
In one embodiment of the present invention, the cache may be a proxy database, a memory, or the like. Corresponding data tables can be pre-established in the cache, and are used for caching the query of the wind farm external network side proxy server, writing in the command and the data carried by the command (such as the external network side data table), caching the query of the wind farm internal network side proxy server, and writing in the command and the data carried by the command (such as the internal network side data table).
FIG. 3 illustrates a third architecture diagram of a wind farm service invocation provided by an embodiment of the present invention. The service invocation architecture includes: wind farm intranet side service, wind farm intranet side proxy server, cache, database interface service, information security network isolation device, wind farm extranet side proxy server and wind farm extranet side service. The database interface service is used for providing a database access interface supporting the information security network isolation device, and the wind farm intranet side proxy server does not have the database access interface supporting the information security network isolation device.
When the wind farm external network side service calls the wind farm internal network side service, the wind farm external network side service is the service consumer.
The service on the wind power plant external network side initiates a service calling request, and the service calling request is transmitted to the wind power plant external network side proxy server through a certain transmission mechanism (such as direct service calling, message direct transmission or message bus, etc.).
The wind farm external network side proxy server encapsulates the service call request into a database call request, and writes the database call request into a cache through the information security network isolation device and the database interface service.
The wind farm intranet side proxy server queries a database call request from the cache, then the database call request is unpacked to obtain a service call request, the service call request is converted into a request message with a source of the service call request, and the request message is transmitted to a corresponding service through a certain transmission mechanism (such as direct service call, message direct transmission or message bus and the like).
And the corresponding service processes the request message and feeds back a service processing result to the wind farm intranet side proxy server.
And the wind power plant intranet side proxy server packages the service processing result into database return data and writes the database return data into a cache.
The wind farm external network side proxy server queries database return data from the cache through the information security network isolation device and the database interface service, unpacks the database return data to obtain service processing results, and feeds the service processing results back to corresponding wind farm external network side service.
In one embodiment of the invention, the wind farm external network side proxy server can send a query request for the database return data to the cache through the information security network isolation device and the database interface service to obtain the database return data stored in the cache by the wind farm internal network side proxy server.
In one embodiment of the invention, the wind farm external network side proxy server can send query requests for database return data to the cache at regular time. The wind farm external network side proxy server can also send a query request for the database return data to the cache after the query request trigger is triggered.
When the wind farm intranet side service calls the wind farm extranet side service, the wind farm intranet side service is the service consumer.
The service on the intranet side of the wind farm initiates a service call request, and the service call request is transmitted to the intranet side proxy server through a certain transmission mechanism (such as direct service call, message direct transmission or message bus, etc.).
And the proxy server at the wind farm intranet side packages the service call request into a database return message and writes the database return message into a cache.
The wind farm external network side proxy server queries a database return message from the cache through the information security network isolation device and the database interface service, decapsulates the database return message to obtain a service call request, converts the service call request into a request message of which the source is self, and transmits the request message to a corresponding service through a certain transmission mechanism (such as direct service call, message direct transmission or message bus and the like).
And the corresponding service processes the request message and feeds back a service processing result to the wind power plant external network side proxy server.
The wind farm external network side proxy server packages the service processing result into a database operation instruction; and writing the database operation instruction into the cache through the information security network isolation device and the database interface service.
The wind power plant intranet side proxy server inquires a database operation instruction from the cache, unpacks the database operation instruction to obtain a service processing result, and feeds the service processing result back to the corresponding wind power plant intranet side service.
In one embodiment of the invention, the wind farm external network side proxy server can send query requests for database return messages to the cache at regular time. The wind farm external network side proxy server can also send a query request for the database return message to the cache after the query request trigger is triggered.
Through the wind farm service calling architecture, the database access channel provided by the information security network isolation device is used as a service calling and service interaction channel, so that the service behind the information security network isolation device can be accessed without being limited by the database supported by the information security network isolation device.
Based on the above, the embodiment of the invention provides a wind farm intranet service calling method applied to a wind farm extranet side proxy server, as shown in fig. 4. Fig. 4 shows a flowchart of a method for invoking a wind farm intranet service applied to a wind farm extranet side proxy server according to an embodiment of the present invention. The wind farm intranet service calling method applied to the wind farm extranet side proxy server can comprise the following steps:
s401: and receiving a service call request for the wind power plant intranet service sent by a service consumer.
S402: the service invocation request is encapsulated as a database invocation request.
S403: and sending the database call request to an intranet side proxy server of the wind power plant through the information security network isolation device.
S404: and acquiring database return data fed back by the proxy server at the inner network side of the wind power plant through the information security network isolation device.
S405: and decapsulating the returned data of the database to obtain a service processing result.
S406: and feeding back the service processing result to the service consumer.
In one embodiment of the present invention, the obtaining, by the information security network isolation device, database return data fed back by the proxy server on the intranet side of the wind farm includes:
And directly receiving database return data fed back by the wind power plant intranet side proxy server through the information security network isolation device.
In one embodiment of the present invention, the obtaining, by the information security network isolation device, database return data fed back by the proxy server on the intranet side of the wind farm includes:
sending a query request for data returned by the database to an intranet side proxy server of the wind power plant at regular time through the information security network isolation device;
and receiving the data returned by the database fed back by the proxy server at the inner network side of the wind power plant.
In one embodiment of the present invention, the obtaining, by the information security network isolation device, database return data fed back by the proxy server on the intranet side of the wind farm includes:
if the query request trigger is triggered, a query request for data returned by the database is sent to the wind power plant intranet side proxy server;
and receiving database return data fed back by the intranet side proxy server of the wind power plant through the information security network isolation device.
In one embodiment of the present invention, the sending, by the information security network isolation device, the database call request to the wind farm intranet side proxy server includes:
And writing the database call request into a cache through the information security network isolation device, so that the proxy server at the wind farm intranet side queries the database call request from the cache, and decapsulates the database call request to obtain the service call request.
In one embodiment of the present invention, the obtaining, by the information security network isolation device, database return data fed back by the proxy server on the intranet side of the wind farm includes:
sending a query request for data returned by the database to the cache through the information security network isolation device;
and obtaining the database return data stored in the cache by the proxy server at the inner network side of the wind power plant.
Based on the above, the embodiment of the invention provides a method for invoking an intranet service of a wind farm, which is applied to an intranet side proxy server of the wind farm, as shown in fig. 5. Fig. 5 shows a flowchart of a method for invoking an intranet service of a wind farm, which is applied to an intranet side proxy server of the wind farm according to an embodiment of the present invention. The method for calling the wind power plant intranet service applied to the wind power plant intranet side proxy server can comprise the following steps:
s501: a database call request is obtained.
S502: and decapsulating the database call request to obtain a service call request.
The service call request is a call request for the intranet service of the wind power plant.
S503: and sending the service call request to the corresponding service.
S504: and receiving a service processing result fed back by the service.
S505: and packaging the service processing result into database return data.
S506: and sending the database return data to the wind farm external network side proxy server through the information security network isolation device.
In one embodiment of the present invention, the method for sending the database return data to the wind power off-site network side proxy server through the information security network isolation device includes:
and directly sending the database return data to the wind farm external network side proxy server through the information security network isolation device.
In one embodiment of the present invention, the method for sending the database return data to the wind power off-site network side proxy server through the information security network isolation device includes:
receiving a query request of a wind power plant external network side proxy server for data returned by a database through an information security network isolation device;
and sending the database return data to a wind power plant external network side proxy server.
In one embodiment of the present invention, the method for sending the database return data to the wind power off-site network side proxy server through the information security network isolation device includes:
And writing the database return data into the cache, so that the wind farm external network side proxy server queries the database return data from the cache through the information security network isolation device, and unpacks the database return data to obtain a service processing result.
Based on the above, the embodiment of the invention provides a wind farm external network service calling method applied to a wind farm internal network side proxy server, as shown in fig. 6. Fig. 6 shows a flowchart of a method for invoking a wind farm external network service, which is applied to a proxy server on an internal network side of a wind farm, according to an embodiment of the present invention. The wind farm external network service calling method applied to the wind farm internal network side proxy server can comprise the following steps:
s601: and receiving a service call request for the wind farm extranet service sent by the service consumer.
S602: the service invocation request is encapsulated as a database return message.
S603: and sending the database return message to the wind farm external network side proxy server through the information security network isolation device.
S604: and acquiring database operation instructions fed back by the wind power plant external network side proxy server through the information security network isolation device.
S605: and decapsulating the database operation instruction to obtain a service processing result.
S606: and feeding back the service processing result to the service consumer.
In one embodiment of the present invention, the method for sending the database return message to the wind power off-site network side proxy server through the information security network isolation device comprises the following steps:
and directly sending the database return message to the wind farm external network side proxy server through the information security network isolation device.
In one embodiment of the present invention, the method for sending the database return message to the wind power off-site network side proxy server through the information security network isolation device comprises the following steps:
receiving a query request of a wind power plant external network side proxy server for a database return message through an information security network isolation device;
and sending the database return message to the wind power plant external network side proxy server.
In one embodiment of the present invention, the method for sending the database return message to the wind power off-site network side proxy server through the information security network isolation device comprises the following steps:
and writing the database return message into a cache, so that the wind farm external network side proxy server queries the database return message from the cache through the information security network isolation device, and decapsulates the database return message to obtain a service call request.
In one embodiment of the present invention, the method for obtaining, by an information security network isolation device, a database operation instruction fed back by a proxy server on an external network side of a wind farm includes:
sending a query request for a database operation instruction to a cache;
and obtaining database operation instructions stored in the cache by the wind farm external network side proxy server through the information security network isolation device.
Based on the above, the embodiment of the invention provides a method for invoking wind farm external network service, which is applied to a proxy server on the wind farm external network side, as shown in fig. 7. Fig. 7 shows a flowchart of a method for invoking a wind farm external network service, which is applied to a proxy server on the wind farm external network side according to an embodiment of the present invention. The wind power external network service calling method applied to the wind power external network side proxy server can comprise the following steps:
s701: and acquiring a database return message fed back by the intranet side proxy server through the information security network isolation device.
S702: and decapsulating the database return message to obtain the service call request.
The service call request is a call request for an external network service of the wind power grid.
S703: and sending the service call request to the corresponding service.
S704: and receiving a service processing result fed back by the service.
S705: and packaging the service processing result into a database operation instruction.
S706: and sending the database operation instruction to an intranet side proxy server of the wind power plant through the information security network isolation device.
In one embodiment of the present invention, the obtaining, by the information security network isolation device, a database return message fed back by the proxy server on the intranet side of the wind farm includes:
and directly receiving a database return message fed back by the wind farm intranet side proxy server through the information security network isolation device.
In one embodiment of the present invention, the obtaining, by the information security network isolation device, a database return message fed back by the proxy server on the intranet side of the wind farm includes:
sending a query request for a database return message to an intranet side proxy server of a wind power plant at regular time through an information security network isolation device;
and receiving a database return message fed back by the proxy server at the inner network side of the wind power plant.
In one embodiment of the present invention, the obtaining, by the information security network isolation device, a database return message fed back by the proxy server on the intranet side of the wind farm includes:
if the query request trigger is triggered, a query request for a database return message is sent to a proxy server at the wind power plant intranet side;
And receiving a database return message fed back by the proxy server at the inner network side of the wind power plant through the information security network isolation device.
In one embodiment of the present invention, the obtaining, by the information security network isolation device, a database return message fed back by the proxy server on the intranet side of the wind farm includes:
sending a query request for a database return message to a cache through an information security network isolation device;
and obtaining a database return message stored in the cache by the proxy server at the inner network side of the wind power plant.
In one embodiment of the present invention, the method for sending the database operation instruction to the wind farm intranet side proxy server through the information security network isolation device includes:
and writing the database operation instruction into a cache through the information security network isolation device, so that the proxy server at the inner network side of the wind power plant queries the database operation instruction from the cache, and unpacks the database operation instruction to obtain a service processing result.
Corresponding to the method embodiment, the embodiment of the invention also provides a wind farm service calling device.
Fig. 8 shows a schematic structural diagram of a wind farm intranet service calling device applied to a wind farm extranet side proxy server according to an embodiment of the present invention. The wind power plant intranet service calling device applied to the wind power plant extranet side proxy server can comprise:
The first receiving module 801 is configured to receive a service call request for a wind farm intranet service sent by a service consumer.
A first encapsulation module 802, configured to encapsulate the service call request into a database call request.
The first sending module 803 is configured to send a database call request to an intranet side proxy server of the wind farm through the information security network isolation device.
The first obtaining module 804 is configured to obtain, through the information security network isolation device, database return data fed back by the proxy server on the intranet side of the wind farm.
And the first decapsulation module 805 is configured to decapsulate the database return data to obtain a service processing result.
A first feedback module 806, configured to feed back the service processing result to the service consumer.
In one embodiment of the present invention, the first obtaining module 804 may specifically be configured to:
and directly receiving database return data fed back by the wind power plant intranet side proxy server through the information security network isolation device.
In one embodiment of the present invention, the first obtaining module 804 may specifically be configured to:
sending a query request for data returned by the database to an intranet side proxy server of the wind power plant at regular time through the information security network isolation device;
And receiving the data returned by the database fed back by the proxy server at the inner network side of the wind power plant.
In one embodiment of the present invention, the first obtaining module 804 may specifically be configured to:
if the query request trigger is triggered, a query request for data returned by the database is sent to the wind power plant intranet side proxy server;
and receiving database return data fed back by the intranet side proxy server of the wind power plant through the information security network isolation device.
In one embodiment of the present invention, the first sending module 803 may specifically be configured to:
writing the database call request into a cache through an information security network isolation device, so that an intranet side proxy server of the wind power plant queries the database call request from the cache, and decapsulates the database call request to obtain a service call request
In one embodiment of the present invention, the first obtaining module 804 may specifically be configured to:
sending a query request for data returned by the database to the cache through the information security network isolation device;
and obtaining the database return data stored in the cache by the proxy server at the inner network side of the wind power plant.
Fig. 9 shows a schematic structural diagram of a wind farm intranet service calling device applied to a wind farm intranet side proxy server according to an embodiment of the present invention. The wind power plant intranet service calling device applied to the wind power plant intranet side proxy server can comprise:
A second obtaining module 901, configured to obtain a database call request.
And a second decapsulating module 902, configured to decapsulate the database call request to obtain a service call request.
The service call request is a call request for the intranet service of the wind power plant.
The second sending module 903 is configured to send a service call request to a corresponding service.
And the second receiving module 904 is configured to receive a service processing result of the service feedback.
And a second encapsulation module 905, configured to encapsulate the service processing result into database return data.
And the second feedback module 906 is used for sending the database return data to the wind farm external network side proxy server through the information security network isolation device.
In one embodiment of the present invention, the second packaging module 905 may specifically be used to:
and directly sending the database return data to the wind farm external network side proxy server through the information security network isolation device.
In one embodiment of the present invention, the second packaging module 905 may specifically be used to:
receiving a query request of a wind power plant external network side proxy server for data returned by a database through an information security network isolation device;
and sending the database return data to a wind power plant external network side proxy server.
In one embodiment of the present invention, the second packaging module 905 may specifically be used to:
and writing the database return data into the cache, so that the wind farm external network side proxy server queries the database return data from the cache through the information security network isolation device, and unpacks the database return data to obtain a service processing result.
Fig. 10 shows a schematic structural diagram of a wind farm external network service calling device applied to a wind farm internal network side proxy server according to an embodiment of the present invention. The wind power plant external network service calling device applied to the wind power plant internal network side proxy server can comprise:
and the third receiving module 101 is configured to receive a service call request for a wind farm extranet service sent by a service consumer.
And a third encapsulation module 102, configured to encapsulate the service call request into a database return message.
And the third sending module 103 is used for sending the database return message to the wind power plant external network side proxy server through the information security network isolation device.
And the third obtaining module 104 is configured to obtain, through the information security network isolation device, a database operation instruction fed back by the wind farm external network side proxy server.
And the third decapsulation module 105 is configured to decapsulate the database operation instruction to obtain a service processing result.
And the third feedback module 106 is used for feeding back the service processing result to the service consumer.
In one embodiment of the present invention, the third sending module 103 may specifically be configured to:
and directly sending the database return message to the wind farm external network side proxy server through the information security network isolation device.
In one embodiment of the present invention, the third sending module 103 may specifically be configured to:
receiving a query request of a wind power plant external network side proxy server for a database return message through an information security network isolation device;
and sending the database return message to the wind power plant external network side proxy server.
In one embodiment of the present invention, the third sending module 103 may specifically be configured to:
and writing the database return message into a cache, so that the wind farm external network side proxy server queries the database return message from the cache through the information security network isolation device, and decapsulates the database return message to obtain a service call request.
In one embodiment of the present invention, the third obtaining module 104 may specifically be configured to:
sending a query request for a database operation instruction to a cache;
and obtaining database operation instructions stored in the cache by the wind farm external network side proxy server through the information security network isolation device.
Fig. 11 shows a schematic structural diagram of a wind farm external network service calling device applied to a wind farm external network side proxy server according to an embodiment of the present invention. The wind power extranet service calling device applied to the wind power extranet side proxy server can comprise:
and the fourth obtaining module 111 is configured to obtain, through the information security network isolation device, a database return message fed back by the proxy server on the intranet side of the wind farm.
And a fourth decapsulation module 112, configured to decapsulate the database return message to obtain a service call request.
The service call request is a call request for an external network service of the wind power grid.
And the fourth sending module 113 is configured to send the service call request to the corresponding service.
And a fourth receiving module 114, configured to receive a service processing result of the service feedback.
And a fourth encapsulation module 115, configured to encapsulate the service processing result into a database operation instruction.
And the fourth feedback module 116 is configured to send the database operation instruction to the wind farm intranet side proxy server through the information security network isolation device.
In one embodiment of the present invention, the fourth obtaining module 111 may specifically be configured to:
and directly receiving a database return message fed back by the wind farm intranet side proxy server through the information security network isolation device.
In one embodiment of the present invention, the fourth obtaining module 111 may specifically be configured to:
sending a query request for a database return message to an intranet side proxy server of a wind power plant at regular time through an information security network isolation device;
and receiving a database return message fed back by the proxy server at the inner network side of the wind power plant.
In one embodiment of the present invention, the fourth obtaining module 111 may specifically be configured to:
if the query request trigger is triggered, a query request for a database return message is sent to a proxy server at the wind power plant intranet side;
and receiving a database return message fed back by the proxy server at the inner network side of the wind power plant through the information security network isolation device.
In one embodiment of the present invention, the fourth obtaining module 111 may specifically be configured to:
sending a query request for a database return message to a cache through an information security network isolation device;
and obtaining a database return message stored in the cache by the proxy server at the inner network side of the wind power plant.
In one embodiment of the present invention, the fourth feedback module 116 may be specifically configured to:
and writing the database operation instruction into a cache through the information security network isolation device, so that the proxy server at the inner network side of the wind power plant queries the database operation instruction from the cache, and unpacks the database operation instruction to obtain a service processing result.
Fig. 12 illustrates a block diagram of an exemplary hardware architecture of a computing device capable of implementing the service invocation methods and apparatus according to embodiments of the invention. As shown in fig. 12, computing device 1200 includes an input device 1201, an input interface 1202, a central processor 1203, a memory 1204, an output interface 1205, and an output device 1206. Wherein the input interface 1202, the central processor 1203, the memory 1204, and the output interface 1205 are connected to each other through a bus 1210, and the input device 1201 and the output device 1206 are connected to the bus 1210 through the input interface 1202 and the output interface 1205, respectively, and further connected to other components of the computing device 1200.
Specifically, the input device 1201 receives input information from the outside and transmits the input information to the central processor 1203 through the input interface 1202; the central processor 1203 processes the input information based on the computer executable instructions stored in the memory 1204 to generate output information, temporarily or permanently stores the output information in the memory 1204, and then transmits the output information to the output device 1206 through the output interface 1205; output device 1206 outputs the output information to the outside of computing device 1200 for use by a user.
That is, the computing device shown in FIG. 12 may also be implemented as a wind farm service invocation device, which may include: a memory storing computer-executable instructions; and a processor, where the processor may implement the service invocation method and apparatus described in connection with fig. 1 to 11 when executing the computer executable instructions, that is, implement the service invocation method and apparatus applied to the wind farm external network side proxy server provided by the embodiment of the present invention, or implement the service invocation method and apparatus applied to the wind farm internal network side proxy server provided by the embodiment of the present invention.
Embodiments of the present invention also provide a computer readable storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement the service invocation method provided by the embodiments of the present invention.
It should be understood that the invention is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after appreciating the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
In the foregoing, only the specific embodiments of the present invention are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present invention is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and they should be included in the scope of the present invention.

Claims (23)

1. A method for invoking an intranet service in a wind farm, the method comprising:
receiving a service call request for wind power plant intranet service sent by a service consumer;
encapsulating the service call request into a database call request;
the database calling request is sent to an intranet side proxy server of the wind power plant through an information security network isolation device; the wind power plant intranet side proxy server and the information security network isolation device also comprise a cache;
acquiring database return data fed back by the wind farm intranet side proxy server through the information security network isolation device;
Unpacking the returned data of the database to obtain a service processing result;
feeding back the service processing result to the service consumer;
the step of sending the database call request to the wind farm intranet side proxy server through the information security network isolation device comprises the following steps:
and writing the database call request into a cache through the information security network isolation device, so that the wind farm intranet side proxy server queries the database call request from the cache, and unpacks the database call request to obtain the service call request.
2. The method according to claim 1, wherein the obtaining, by the information security network isolation device, database return data fed back by the wind farm intranet side proxy server includes:
and directly receiving database return data fed back by the wind power plant intranet side proxy server through the information security network isolation device.
3. The method according to claim 1, wherein the obtaining, by the information security network isolation device, database return data fed back by the wind farm intranet side proxy server includes:
Through the information security network isolation device, a query request for database return data is sent to the wind farm intranet side proxy server at regular time;
and receiving database return data fed back by the wind farm intranet side proxy server.
4. The method according to claim 1, wherein the obtaining, by the information security network isolation device, database return data fed back by the wind farm intranet side proxy server includes:
if the query request trigger is triggered, a query request for data returned by a database is sent to the wind farm intranet side proxy server;
and receiving database return data fed back by the wind power plant intranet side proxy server through the information security network isolation device.
5. The method according to claim 1, wherein the obtaining, by the information security network isolation device, database return data fed back by the wind farm intranet side proxy server includes:
sending a query request for data returned by the database to a cache through the information security network isolation device;
and obtaining database return data stored in the cache by the wind farm intranet side proxy server.
6. The utility model provides a wind-powered electricity generation field intranet service calling method, is applied to wind-powered electricity generation field intranet side proxy server, and is characterized in that the method includes:
obtaining a database call request;
decapsulating the database call request to obtain a service call request, wherein the service call request is a call request for intranet service of a wind power plant;
sending the service call request to a corresponding service;
receiving a service processing result fed back by the service;
packaging the service processing result into database return data;
sending the database return data to a wind farm external network side proxy server through an information security network isolation device; the wind power plant intranet side proxy server and the information security network isolation device also comprise a cache;
the step of sending the database return data to the wind farm external network side proxy server through the information security network isolation device comprises the following steps:
writing the database return data into a cache, so that the wind farm external network side proxy server queries the database return data from the cache through the information security network isolation device, and unpacks the database return data to obtain the service processing result.
7. The method of claim 6, wherein the sending the database return data to the wind farm off-grid proxy server via the information security network isolation device comprises:
and directly sending the database return data to the wind farm external network side proxy server through the information security network isolation device.
8. The method of claim 6, wherein the sending the database return data to the wind farm off-grid proxy server via the information security network isolation device comprises:
receiving a query request of the wind farm external network side proxy server for the database returned data through the information security network isolation device;
and sending the database return data to the wind power plant external network side proxy server.
9. The utility model provides a wind farm external network service calling method, is applied to wind farm intranet side proxy server, and is characterized in that the method includes:
receiving a service call request for wind farm external network service sent by a service consumer;
encapsulating the service call request into a database return message;
sending the database return message to a wind farm external network side proxy server through an information security network isolation device; the wind power plant intranet side proxy server and the information security network isolation device also comprise a cache;
Acquiring a database operation instruction fed back by the wind power plant external network side proxy server through the information security network isolation device;
unpacking the database operation instruction to obtain a service processing result;
feeding back the service processing result to the service consumer;
the step of sending the database return message to the wind power plant external network side proxy server through the information security network isolation device comprises the following steps:
writing the database return message into a cache, so that the wind farm external network side proxy server queries the database return message from the cache through the information security network isolation device, and unpacks the database return message to obtain the service call request.
10. The method of claim 9, wherein the sending the database return message to the wind farm off-grid proxy server via the information security network quarantine device comprises:
and directly sending the database return message to the wind farm external network side proxy server through the information security network isolation device.
11. The method of claim 9, wherein the sending the database return message to the wind farm off-grid proxy server via the information security network quarantine device comprises:
Receiving a query request of the wind farm external network side proxy server for a database return message through the information security network isolation device;
and sending the database return message to the wind power plant external network side proxy server.
12. The method according to claim 9, wherein the obtaining, by the information security network isolation device, the database operation instruction fed back by the wind farm external network side proxy server includes:
sending a query request for a database operation instruction to a cache;
and obtaining database operation instructions stored in the cache by the wind farm external network side proxy server through the information security network isolation device.
13. A method for invoking a wind farm extranet service, the method comprising:
acquiring a database return message fed back by an intranet side proxy server of a wind power plant through an information security network isolation device;
unpacking the database return message to obtain a service call request, wherein the service call request is a call request for wind power grid external network service;
sending the service call request to a corresponding service;
receiving a service processing result fed back by the service;
Packaging the service processing result into a database operation instruction;
transmitting the database operation instruction to an intranet side proxy server of the wind power plant through the information security network isolation device; the wind power plant intranet side proxy server and the information security network isolation device also comprise a cache;
the method for acquiring the database return message fed back by the proxy server at the inner network side of the wind power plant through the information security network isolation device comprises the following steps:
sending a query request for a database return message to a cache through the information security network isolation device;
and obtaining a database return message stored in the cache by the wind farm intranet side proxy server.
14. The method of claim 13, wherein the obtaining, by the information security network isolation device, the database return message fed back by the intranet side proxy server of the wind farm includes:
and directly receiving a database return message fed back by the wind power plant intranet side proxy server through the information security network isolation device.
15. The method of claim 13, wherein the obtaining, by the information security network isolation device, the database return message fed back by the intranet side proxy server of the wind farm includes:
Through the information security network isolation device, a query request for a database return message is sent to the wind farm intranet side proxy server at regular time;
and receiving a database return message fed back by the wind farm intranet side proxy server.
16. The method of claim 13, wherein the obtaining, by the information security network isolation device, the database return message fed back by the intranet side proxy server of the wind farm includes:
if the query request trigger is triggered, a query request for a database return message is sent to the wind farm intranet side proxy server;
and receiving a database return message fed back by the wind power plant intranet side proxy server through the information security network isolation device.
17. The method of claim 13, wherein the sending, by the information security network isolation device, the database operation instruction to the wind farm intranet side proxy server comprises:
and writing the database operation instruction into a cache through the information security network isolation device, so that the wind farm intranet side proxy server queries the database operation instruction from the cache, and unpacks the database operation instruction to obtain the service processing result.
18. A wind farm intranet service invocation apparatus, the apparatus comprising:
the first receiving module is used for receiving a service call request for the wind power plant intranet service sent by a service consumer;
the first encapsulation module is used for encapsulating the service call request into a database call request;
the first sending module is used for sending the database calling request to an intranet side proxy server of the wind power plant through the information security network isolation device; the wind farm intranet side proxy server and the information security network isolation device also comprise a cache;
the first sending module is specifically configured to write the database call request into a cache through the information security network isolation device, so that the wind farm intranet side proxy server queries the database call request from the cache, and unpacks the database call request to obtain the service call request;
the first acquisition module is used for acquiring database return data fed back by the wind farm intranet side proxy server through the information security network isolation device;
the first unpacking module is used for unpacking the database returned data to obtain a service processing result;
And the first feedback module is used for feeding back the service processing result to the service consumer.
19. A wind farm intranet service invocation apparatus, the apparatus comprising:
the second acquisition module is used for acquiring a database call request;
the second decapsulation module is used for decapsulating the database call request to obtain a service call request, wherein the service call request is a call request for intranet service of the wind power plant;
the second sending module is used for sending the service calling request to the corresponding service;
the second receiving module is used for receiving the service processing result fed back by the service;
the second packaging module is used for packaging the service processing result into database return data;
the second feedback module is used for sending the database return data to the wind farm external network side proxy server through the information security network isolation device;
the second feedback module is specifically configured to write the database return data into a cache, so that the wind farm external network side proxy server queries the database return data from the cache through the information security network isolation device, and unpacks the database return data to obtain the service processing result.
20. A wind farm extranet service invocation apparatus, the apparatus comprising:
the third receiving module is used for receiving a service call request for the wind power plant external network service sent by a service consumer;
the third encapsulation module is used for encapsulating the service call request into a database return message;
the third sending module is used for sending the database return message to the wind power plant external network side proxy server through the information security network isolation device;
the third sending module is specifically configured to write the database return message into a cache, so that the wind farm external network side proxy server queries the database return message from the cache through the information security network isolation device, and unpacks the database return message to obtain the service call request;
the third acquisition module is used for acquiring database operation instructions fed back by the wind power plant external network side proxy server through the information security network isolation device;
the third unpacking module is used for unpacking the database operation instruction to obtain a service processing result;
and the third feedback module is used for feeding back the service processing result to the service consumer.
21. A wind farm extranet service invocation apparatus, the apparatus comprising:
the fourth acquisition module is used for acquiring a database return message fed back by the proxy server at the inner network side of the wind power plant through the information security network isolation device; the wind farm intranet side proxy server and the information security network isolation device also comprise a cache;
the fourth obtaining module is specifically configured to send, through the information security network isolation device, a query request for a database return message to a cache; obtaining a database return message stored in the cache by the wind farm intranet side proxy server;
a fourth decapsulation module, configured to decapsulate the database return message to obtain a service call request, where the service call request is a call request for an external network service of the wind power grid;
a fourth sending module, configured to send the service call request to a corresponding service;
a fourth receiving module, configured to receive a service processing result fed back by the service;
the fourth packaging module is used for packaging the service processing result into a database operation instruction;
and the fourth feedback module is used for sending the database operation instruction to the wind power plant intranet side proxy server through the information security network isolation device.
22. A wind farm service invocation apparatus, the apparatus comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor;
the processor, when executing the computer program, implements the service invocation method of any one of claims 1 to 5 or the service invocation method of any one of claims 6 to 8 or the service invocation method of any one of claims 9 to 12 or the service invocation method of any one of claims 13 to 17.
23. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the service invocation method of any of claims 1 to 5 or the service invocation method of any of claims 6 to 8 or the service invocation method of any of claims 9 to 12 or the service invocation method of any of claims 13 to 17.
CN201910154858.6A 2019-03-01 2019-03-01 Wind power plant service calling method, device, equipment and medium Active CN111641580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910154858.6A CN111641580B (en) 2019-03-01 2019-03-01 Wind power plant service calling method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910154858.6A CN111641580B (en) 2019-03-01 2019-03-01 Wind power plant service calling method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN111641580A CN111641580A (en) 2020-09-08
CN111641580B true CN111641580B (en) 2023-06-02

Family

ID=72330434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910154858.6A Active CN111641580B (en) 2019-03-01 2019-03-01 Wind power plant service calling method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN111641580B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363165A (en) * 2014-11-14 2015-02-18 华东电网有限公司 Information interactive system under internal and external network isolation environment and data integrating method
CN106209801A (en) * 2016-06-28 2016-12-07 广东电网有限责任公司信息中心 Mobile solution platform and inner-external network data safety switching plane integrated system
CN108234451A (en) * 2017-12-11 2018-06-29 厦门亿力吉奥信息科技有限公司 Electric power intranet and extranet request forwarding Proxy Method and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9473461B2 (en) * 2014-11-25 2016-10-18 International Business Machines Corporation Transparent tunneling architecture for a secured database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363165A (en) * 2014-11-14 2015-02-18 华东电网有限公司 Information interactive system under internal and external network isolation environment and data integrating method
CN106209801A (en) * 2016-06-28 2016-12-07 广东电网有限责任公司信息中心 Mobile solution platform and inner-external network data safety switching plane integrated system
CN108234451A (en) * 2017-12-11 2018-06-29 厦门亿力吉奥信息科技有限公司 Electric power intranet and extranet request forwarding Proxy Method and computer readable storage medium

Also Published As

Publication number Publication date
CN111641580A (en) 2020-09-08

Similar Documents

Publication Publication Date Title
CN111600909B (en) Data processing method, device, protocol conversion equipment and storage medium
CN110351283B (en) Data transmission method, device, equipment and storage medium
CN107168971B (en) Data processing method and device for webpage application
CN101848107B (en) SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element
CN105684376A (en) Location services on a data exchange layer
CN104766189A (en) Logistics information processing system and method
CN110049503B (en) Method and equipment for acquiring data
CN104852939B (en) A kind of method and system of deployment ability interface
CN105872039A (en) Method for transmitting file between terminal devices, terminal device and a file transmission system
CN104834534A (en) Application program function extension method, device and system
CN105450585A (en) Information transmission method and device
CN108363588A (en) Realize method, electronic device and readable storage medium storing program for executing that web is interacted with primary function
CN106648858A (en) Interactive management system for C# interface data
CN103023935A (en) M2M (machine-to-machine) platform cloud system and method for processing M2M service
CN111641580B (en) Wind power plant service calling method, device, equipment and medium
CN103746945B (en) A kind of data transmission device and method
CN107105004B (en) Cross-platform service calling method and device
CN110912766B (en) Communication network multi-plane data consistency checking method
CN114553956B (en) Data transmission method and system based on unified extensible firmware protocol (UEP) middleware
CN100579075C (en) Method for rapid response to ICMP echo request message
US20120250688A1 (en) System and method for unmarshalled routing
KR101484145B1 (en) Apparatus and method for communication using communication protocol of container tracer
CN102387035B (en) Alarm processing method and alarm processing device
CN106709060B (en) Data sharing method and system
US20200311040A1 (en) Dynamically rendering an application programming interface for internet of things applications

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