Gas turbine information sharing method and device
Through blockchain technology and general access interface, the problem of sharing gas turbine information among different terminals is solved, and the information is safe and reliable sharing is realized, and it is suitable for a variety of terminal scenarios.
Patent Information
- Application Number
- CN202210821714.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-13
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-07-13
AI Technical Summary
There are great difficulties in sharing resources between websites, applications, and business systems related to gas turbines, and it is difficult to achieve effective sharing of target information between different terminals.
Through blockchain technology, terminals can access the blockchain through a general access interface, realizing the sharing of the target information of the gas turbine between the terminal and the blockchain, and using the authentication mechanism to ensure information security and reliability.
The sharing of gas turbine target information among different terminals is realized, the security and reliability of information sharing is improved, and it is suitable for a variety of terminal access scenarios.
Smart Images

Figure CN115242837B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for sharing information of a gas turbine. Background Art
[0002] Gas turbines are internal combustion power machines that convert fuel energy into useful work. They are widely used in industrial production, power generation and other fields. With the continuous development of gas turbine technology, gas turbine-related websites, applications, business systems, etc. have been developed to facilitate the processing of gas turbine-related businesses. However, in the related technologies, there are great difficulties in sharing resources between gas turbine-related websites, applications, and business systems. Summary of the invention
[0003] The present application aims to solve one of the technical problems in the above-mentioned technology at least to some extent.
[0004] To this end, the first purpose of this application is to propose a gas turbine information sharing method, where the terminal can access the blockchain through a universal access interface, which is suitable for access scenarios of different terminals, and can realize the sharing of the target information of the gas turbine between the terminal and the blockchain, so as to realize the sharing of the target information of the gas turbine between different terminals.
[0005] The second objective of the present application is to propose another information sharing method for a gas turbine.
[0006] The third objective of the present application is to provide an information sharing device for a gas turbine.
[0007] The fourth objective of the present application is to provide another information sharing device for a gas turbine.
[0008] A fifth objective of the present application is to provide an electronic device.
[0009] A sixth object of the present application is to provide a computer-readable storage medium.
[0010] To achieve the above-mentioned purpose, the first aspect embodiment of the present application proposes a gas turbine information sharing method, which is applicable to blockchain, including: receiving an information sharing request sent by a terminal and obtaining an authentication result of the terminal; in response to the authentication result of the terminal being authentication passed, calling a universal access interface; based on the universal access interface, establishing a connection between the terminal and the blockchain; based on the universal access interface, sharing the target information of the gas turbine with the terminal.
[0011] According to the information sharing method of the gas turbine of the embodiment of the present application, the blockchain can receive the information sharing request sent by the terminal and obtain the authentication result of the terminal. In response to the authentication result of the terminal being authentication passed, the universal access interface is called, and a connection between the terminal and the blockchain is established based on the universal access interface. Based on the universal access interface, the target information of the gas turbine is shared with the terminal. Thus, the terminal can access the blockchain through the universal access interface, which is suitable for access scenarios of different terminals, and can realize the sharing of the target information of the gas turbine between the terminal and the blockchain, so as to realize the sharing of the target information of the gas turbine between different terminals.
[0012] In addition, the gas turbine information sharing method proposed in the above embodiment of the present application may also have the following additional technical features:
[0013] In one embodiment of the present application, obtaining the authentication result of the terminal includes: receiving a first identifier of the terminal sent by the terminal; based on the first identifier, obtaining a sub-authentication result of each blockchain node of the blockchain for the terminal; in response to the existence of at least one blockchain node with a sub-authentication result of failing the authentication for the terminal, determining that the authentication result of the terminal is failing the authentication; or, in response to each blockchain node with a sub-authentication result of passing the authentication for the terminal, determining that the authentication result of the terminal is passing the authentication.
[0014] In one embodiment of the present application, when the information sharing request is an information storage request, the target information of the gas turbine is shared with the terminal based on the universal access interface, including: based on the universal access interface, controlling the first blockchain node to receive the target information of the gas turbine sent by the terminal, and controlling the first blockchain node to store the target information of the gas turbine locally.
[0015] In one embodiment of the present application, before controlling the first blockchain node to store the received target information of the gas turbine locally, the method includes: controlling the first blockchain node to extract at least one of a timestamp, a key, and a hash characteristic value from the target information of the gas turbine; controlling the first blockchain node to obtain a verification result of the target information of the gas turbine based on at least one of the timestamp, the key, and the hash characteristic value; and identifying that the verification result of the target information of the gas turbine is passed verification.
[0016] In one embodiment of the present application, when the information sharing request is an information reading request, the target information of the gas turbine is shared with the terminal based on the universal access interface, including: based on the universal access interface, controlling the second blockchain node to receive a second identifier of the target information of the gas turbine sent by the terminal, wherein the second blockchain node stores the target information of the gas turbine, and the second identifier is used to determine the target information of the gas turbine in the information stored in the second blockchain node; based on the universal access interface, controlling the second blockchain node to send the target information of the gas turbine to the terminal.
[0017] In one embodiment of the present application, it also includes: obtaining an information display template; and jointly displaying information stored in at least one blockchain node according to the information display template.
[0018] To achieve the above-mentioned purpose, the second aspect embodiment of the present application proposes another information sharing method for a gas turbine, which is applicable to a terminal, including: sending an information sharing request to a blockchain and obtaining an authentication result of the terminal; in response to the authentication result of the terminal being authentication passed, calling the universal access interface; based on the universal access interface, establishing a connection between the terminal and the blockchain; based on the universal access interface, sharing the target information of the gas turbine with the blockchain.
[0019] According to the information sharing method of the gas turbine of the embodiment of the present application, the terminal can send an information sharing request to the blockchain and obtain the authentication result of the terminal. In response to the authentication result of the terminal being authentication passed, the universal access interface is called, and a connection between the terminal and the blockchain is established based on the universal access interface. Based on the universal access interface, the target information of the gas turbine is shared with the blockchain. Thus, the terminal can access the blockchain through the universal access interface, which is suitable for access scenarios of different terminals, and can realize the sharing of the target information of the gas turbine between the terminal and the blockchain, so as to realize the sharing of the target information of the gas turbine between different terminals.
[0020] In addition, the gas turbine information sharing method proposed in the above embodiment of the present application may also have the following additional technical features:
[0021] In one embodiment of the present application, obtaining the authentication result of the terminal includes: receiving the authentication result of the terminal sent by the blockchain.
[0022] In one embodiment of the present application, before receiving the authentication result of the terminal sent by the blockchain, it also includes: sending a first identifier of the terminal to the blockchain, wherein the first identifier is used to generate the authentication result of the terminal.
[0023] In one embodiment of the present application, when the information sharing request is an information storage request, sharing the target information of the gas turbine with the blockchain based on the universal access interface includes: sending the target information of the gas turbine to the first blockchain node based on the universal access interface.
[0024] In one embodiment of the present application, when the information sharing request is an information reading request, the target information of the gas turbine is shared with the blockchain based on the universal access interface, including: based on the universal access interface, sending a second identifier of the target information of the gas turbine to a second blockchain node, wherein the second blockchain node stores the target information of the gas turbine, and the second identifier is used to determine the target information of the gas turbine in the information stored in the second blockchain node; based on the universal access interface, receiving the target information of the gas turbine sent by the second blockchain node.
[0025] To achieve the above-mentioned purpose, the third aspect embodiment of the present application proposes a gas turbine information sharing device, which is suitable for blockchain, including: a processing module, used to receive an information sharing request sent by a terminal and obtain the authentication result of the terminal; a calling module, used to call a universal access interface in response to the authentication result of the terminal being passed authentication; an establishing module, used to establish a connection between the terminal and the blockchain based on the universal access interface; a sharing module, used to share the target information of the gas turbine with the terminal based on the universal access interface.
[0026] The information sharing device of the gas turbine of the embodiment of the present application can receive the information sharing request sent by the terminal, and obtain the authentication result of the terminal. In response to the authentication result of the terminal being authentication passed, the universal access interface is called, and a connection between the terminal and the blockchain is established based on the universal access interface. Based on the universal access interface, the target information of the gas turbine is shared with the terminal. Thus, the terminal can access the blockchain through the universal access interface, which is suitable for access scenarios of different terminals, and can realize the sharing of the target information of the gas turbine between the terminal and the blockchain, so as to realize the sharing of the target information of the gas turbine between different terminals.
[0027] In addition, the information sharing device for a gas turbine according to the above embodiment of the present application may also have the following additional technical features:
[0028] In one embodiment of the present application, the processing module is further used to: receive a first identifier of the terminal sent by the terminal; based on the first identifier, obtain a sub-authentication result of each blockchain node of the blockchain for the terminal; in response to the existence of at least one blockchain node whose sub-authentication result for the terminal is failed authentication, determine that the authentication result of the terminal is failed authentication; or, in response to each blockchain node whose sub-authentication result for the terminal is passed authentication, determine that the authentication result of the terminal is passed authentication.
[0029] In one embodiment of the present application, when the information sharing request is an information storage request, the sharing module is also used to: based on the universal access interface, control the first blockchain node to receive the target information of the gas turbine sent by the terminal, and control the first blockchain node to store the target information of the gas turbine locally.
[0030] In one embodiment of the present application, before the control of the first blockchain node stores the received target information of the gas turbine locally, the sharing module is also used to: control the first blockchain node to extract at least one of a timestamp, a key, and a hash characteristic value from the target information of the gas turbine; control the first blockchain node to obtain a verification result of the target information of the gas turbine based on at least one of the timestamp, the key, and the hash characteristic value; and identify the verification result of the target information of the gas turbine as passed verification.
[0031] In one embodiment of the present application, when the information sharing request is an information reading request, the sharing module is further used to: based on the universal access interface, control the second blockchain node to receive the second identifier of the target information of the gas turbine sent by the terminal, wherein the second blockchain node stores the target information of the gas turbine, and the second identifier is used to determine the target information of the gas turbine in the information stored in the second blockchain node; based on the universal access interface, control the second blockchain node to send the target information of the gas turbine to the terminal.
[0032] In one embodiment of the present application, the information sharing device of the gas turbine further includes: a display module, wherein the display module is used to: obtain an information display template; and jointly display the information stored in at least one blockchain node according to the information display template.
[0033] To achieve the above-mentioned purpose, the fourth aspect embodiment of the present application proposes another information sharing device for a gas turbine, which is suitable for a terminal and includes: a processing module, used to send an information sharing request to a blockchain and obtain an authentication result of the terminal; a calling module, used to call the universal access interface in response to the authentication result of the terminal being passed; an establishing module, used to establish a connection between the terminal and the blockchain based on the universal access interface; and a sharing module, used to share the target information of the gas turbine with the blockchain based on the universal access interface.
[0034] The information sharing device of the gas turbine of the embodiment of the present application can send an information sharing request to the blockchain and obtain the authentication result of the terminal. In response to the authentication result of the terminal being authenticated, the universal access interface is called, and a connection between the terminal and the blockchain is established based on the universal access interface. Based on the universal access interface, the target information of the gas turbine is shared with the blockchain. Thus, the terminal can access the blockchain through the universal access interface, which is suitable for access scenarios of different terminals, and can realize the sharing of the target information of the gas turbine between the terminal and the blockchain, so as to realize the sharing of the target information of the gas turbine between different terminals.
[0035] In addition, the information sharing device for a gas turbine according to the above embodiment of the present application may also have the following additional technical features:
[0036] In one embodiment of the present application, the processing module is further used to: receive the authentication result of the terminal sent by the blockchain.
[0037] In one embodiment of the present application, before receiving the authentication result of the terminal sent by the blockchain, the processing module is also used to: send a first identifier of the terminal to the blockchain, wherein the first identifier is used to generate the authentication result of the terminal.
[0038] In one embodiment of the present application, when the information sharing request is an information storage request, the sharing module is further used to: send the target information of the gas turbine to the first blockchain node based on the universal access interface.
[0039] In one embodiment of the present application, when the information sharing request is an information reading request, the sharing module is further used to: based on the universal access interface, send a second identifier of the target information of the gas turbine to the second blockchain node, wherein the second blockchain node stores the target information of the gas turbine, and the second identifier is used to determine the target information of the gas turbine in the information stored in the second blockchain node; based on the universal access interface, receive the target information of the gas turbine sent by the second blockchain node.
[0040] To achieve the above-mentioned objectives, the fifth aspect embodiment of the present application proposes an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the information sharing method of the gas turbine as described in the first and second aspects embodiments of the present application is implemented.
[0041] The electronic device of the embodiment of the present application can receive the information sharing request sent by the terminal and obtain the authentication result of the terminal by executing the instructions stored in the memory through the processor. In response to the authentication result of the terminal being authentication passed, the universal access interface is called, and a connection between the terminal and the blockchain is established based on the universal access interface. Based on the universal access interface, the target information of the gas turbine is shared with the terminal. Thus, the terminal can access the blockchain through the universal access interface, which is suitable for access scenarios of different terminals, and can realize the sharing of the target information of the gas turbine between the terminal and the blockchain, so as to realize the sharing of the target information of the gas turbine between different terminals.
[0042] To achieve the above-mentioned objectives, the sixth aspect embodiment of the present application proposes a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it implements the information sharing method of the gas turbine as described in the first and second aspects embodiments of the present application.
[0043] The computer-readable storage medium of the embodiment of the present application can receive the information sharing request sent by the terminal and obtain the authentication result of the terminal by storing the computer program and being executed by the processor. In response to the authentication result of the terminal being authentication passed, the universal access interface is called, and a connection between the terminal and the blockchain is established based on the universal access interface. Based on the universal access interface, the target information of the gas turbine is shared with the terminal. Thus, the terminal can access the blockchain through the universal access interface, which is suitable for access scenarios of different terminals, and can realize the sharing of the target information of the gas turbine between the terminal and the blockchain, so as to realize the sharing of the target information of the gas turbine between different terminals.
[0044] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0046] Figure 1 A schematic flow chart of a method for sharing information of a gas turbine according to an embodiment of the present application;
[0047] Figure 2A schematic diagram of a flow chart showing information stored in a blockchain node in a method for sharing information of a gas turbine according to an embodiment of the present application;
[0048] Figure 3 A schematic flow chart of a method for sharing information of a gas turbine according to another embodiment of the present application;
[0049] Figure 4 A block diagram of an information sharing device for a gas turbine according to an embodiment of the present application;
[0050] Figure 5 A block diagram of an information sharing device for a gas turbine according to another embodiment of the present application;
[0051] Figure 6 is a block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0052] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0053] The following describes the information sharing method, device, electronic device and storage medium of the gas turbine according to the embodiment of the present application in conjunction with the accompanying drawings.
[0054] Figure 1 The figure is a flow chart of a method for sharing information of a gas turbine according to an embodiment of the present application.
[0055] like Figure 1 As shown, the information sharing method of the gas turbine of the embodiment of the present application includes:
[0056] S101, receiving an information sharing request sent by a terminal, and obtaining an authentication result of the terminal.
[0057] It should be noted that the execution subject of the information sharing method for a gas turbine of the embodiment of the present application may be an information sharing device for a gas turbine of the embodiment of the present application, and the information sharing device for a gas turbine may be configured in any electronic device to execute the information sharing method for a gas turbine of the embodiment of the present application. The electronic device may be any device with computing capabilities, such as a personal computer (PC), a server, etc. In one embodiment, the execution subject may be a blockchain. The following describes the information sharing method for a gas turbine of the embodiment of the present application by taking the execution subject as a blockchain as an example.
[0058] In the embodiment of the present application, the blockchain can receive the information sharing request sent by the terminal and obtain the authentication result of the terminal. There is no excessive limitation on the terminal. For example, the terminal includes but is not limited to the ODC (Operation Data Record) system of the gas turbine, the terminal belonging to the gas turbine power plant operation and maintenance unit, the terminal belonging to the gas turbine design unit, the terminal belonging to the gas turbine manufacturing unit, etc. The terminal includes but is not limited to APP (Application), web pages, business systems, mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, etc.
[0059] In one embodiment, obtaining the authentication result of the terminal may include receiving the first identifier of the terminal sent by the blockchain terminal, and obtaining the authentication result of the terminal based on the first identifier. It should be noted that there is no excessive limitation on the first identifier, for example, the first identifier includes but is not limited to characters, numbers, etc.
[0060] As another possible implementation, the information sharing request carries the first identifier, and the blockchain can extract the first identifier from the information sharing request.
[0061] In one embodiment, based on the first identifier, obtaining the authentication result of the terminal may include obtaining a list of registered terminal identifiers, identifying that the first identifier exists in the list of terminal identifiers, and determining that the authentication result of the terminal is passed authentication, or identifying that the first identifier does not exist in the list of terminal identifiers, and determining that the authentication result of the terminal is not passed authentication. It is understandable that the terminal can be registered in the blockchain, and a list of registered terminal identifiers is generated, and the authentication result of the registered terminal is passed authentication.
[0062] In one embodiment, obtaining the authentication result of the terminal may include receiving a first identifier of the terminal sent by the terminal, obtaining the sub-authentication result of each blockchain node of the blockchain to the terminal based on the first identifier, and in response to the existence of at least one blockchain node that fails the sub-authentication result of the terminal, determining that the authentication result of the terminal is failed; or, in response to each blockchain node's sub-authentication result of the terminal being authenticated, determining that the authentication result of the terminal is authenticated. Thus, in this method, when there is at least one blockchain node that fails the sub-authentication result of the terminal, determining that the authentication result of the terminal is failed, and when each blockchain node passes the sub-authentication result of the terminal, determining that the authentication result of the terminal is authenticated, thereby improving the security of information sharing.
[0063] S102: In response to the authentication result of the terminal being authentication passed, calling a universal access interface.
[0064] S103, establishing a connection between the terminal and the blockchain based on the universal access interface.
[0065] It should be noted that the universal access interface is applicable to different terminals and there are no excessive restrictions on the universal access interface.
[0066] In an embodiment of the present application, the blockchain may respond to the authentication result of the terminal as passed authentication, indicating that the terminal has the authority to access the blockchain, and may call the universal access interface to establish a connection between the terminal and the blockchain based on the universal access interface, that is, the terminal may access the blockchain based on the universal access interface.
[0067] S104, sharing target information of the gas turbine with the terminal based on the universal access interface.
[0068] It should be noted that there are no excessive restrictions on the target information of the gas turbine. For example, the target information of the gas turbine includes but is not limited to the unit parameters, transaction price, transaction volume, etc. of the gas turbine. Among them, the transaction price includes but is not limited to the whole machine transaction price, component transaction price, maintenance price, etc. of the gas turbine.
[0069] In one implementation, based on the universal access interface, the target information of the gas turbine is shared with the terminal, which may include the following two possible implementations:
[0070] Method 1: Based on the universal access interface, control the first blockchain node to receive the target information of the gas turbine sent by the terminal, and control the first blockchain node to store the target information of the gas turbine locally.
[0071] It should be noted that the information sharing request corresponding to method 1 is an information storage request, and the first blockchain node can be any blockchain node in the blockchain.
[0072] Therefore, the method can realize that the terminal shares the target information of the gas turbine with the first blockchain node.
[0073] Method 2: Based on the universal access interface, control the second blockchain node to receive the second identifier of the target information of the gas turbine sent by the terminal, wherein the second blockchain node stores the target information of the gas turbine, and the second identifier is used to determine the target information of the gas turbine in the information stored in the second blockchain node, and based on the universal access interface, control the second blockchain node to send the target information of the gas turbine to the terminal.
[0074] It should be noted that the information sharing request corresponding to method 2 is an information reading request, and the second blockchain node is a blockchain node that stores the target information of the gas turbine in the blockchain. The relevant content of the second identifier can refer to the relevant content of the first identifier in the above embodiment, which will not be repeated here.
[0075] Therefore, in this method, the second blockchain node can share the target information of the gas turbine with the terminal.
[0076] In summary, according to the information sharing method of the gas turbine of the embodiment of the present application, the blockchain can receive the information sharing request sent by the terminal and obtain the authentication result of the terminal. In response to the authentication result of the terminal being authentication passed, the universal access interface is called, and a connection between the terminal and the blockchain is established based on the universal access interface. Based on the universal access interface, the target information of the gas turbine is shared with the terminal. As a result, the terminal can access the blockchain through the universal access interface, which is suitable for access scenarios of different terminals, and can realize the sharing of the target information of the gas turbine between the terminal and the blockchain, so as to realize the sharing of the target information of the gas turbine between different terminals.
[0077] On the basis of any of the above embodiments, before controlling the first blockchain node to store the received target information of the gas turbine locally, it may include controlling the first blockchain node to extract at least one of a timestamp, a key, and a hash characteristic value from the target information of the gas turbine, controlling the first blockchain node to obtain a verification result of the target information of the gas turbine based on at least one of the timestamp, the key, and the hash characteristic value, and identifying that the verification result of the target information of the gas turbine passes the verification. Therefore, in this method, at least one of the timestamp, the key, and the hash characteristic value can be comprehensively considered to obtain the verification result of the target information of the gas turbine, which can improve the accuracy of information verification, and when the verification result is passed, the first blockchain node is controlled to store the received target information of the gas turbine locally, which can ensure the accuracy of the information stored in the first blockchain.
[0078] In one embodiment, it is identified that the verification result of the target information of the gas turbine is failure to pass the verification, and the target information of the gas turbine can be marked as information that has failed the verification, and / or the verification result can be fed back to the terminal to promptly inform the terminal that the target information verification of the gas turbine has failed, thereby improving the interactivity between the terminal and the blockchain.
[0079] Based on any of the above embodiments, Figure 2 As shown, the information stored in the blockchain node may include:
[0080] S201, obtaining an information display template.
[0081] It should be noted that there are not too many restrictions on information display templates. For example, information display templates include but are not limited to text, pictures, videos, reports, charts, etc.
[0082] In one implementation, the information display template may be pre-set in the storage space of the blockchain, and obtaining the information display template may include the blockchain obtaining the information display template locally.
[0083] In one embodiment, obtaining the information display template may include obtaining the information display template corresponding to the blockchain node from the information display template library based on the third identifier of the blockchain node. It is understandable that the information display template library may include a large number of information display templates, and different blockchain nodes may correspond to different information display templates. Therefore, in this method, the information display template can be obtained based on the third identifier of the blockchain node, thereby improving the diversity of the information display template.
[0084] S202: jointly display information stored in at least one blockchain node according to the information display template.
[0085] In one embodiment, jointly displaying information stored in at least one blockchain node according to the information display template may include obtaining a display position of the information stored in the blockchain node on the information display template, and displaying the information stored in the blockchain node at the display position. It is understandable that the information stored in different blockchain nodes may correspond to different display positions.
[0086] In one embodiment, the information stored in at least one blockchain node is jointly displayed according to the information display template, which may include obtaining an information fusion strategy based on the information display template, fusing the information stored in at least one blockchain node according to the information fusion strategy, generating fusion information, and displaying the fusion information according to the information display template. It should be noted that there are no excessive restrictions on the information fusion strategy. For example, the information fusion strategy includes but is not limited to splicing, summing, etc.
[0087] Therefore, in this method, the information stored in at least one blockchain node can be jointly displayed according to the information display template, which helps to improve the efficiency of displaying the information stored in the blockchain nodes.
[0088] Figure 3 The figure is a flow chart of a method for sharing information of a gas turbine according to another embodiment of the present application.
[0089] like Figure 3 As shown, the information sharing method of the gas turbine of the embodiment of the present application includes:
[0090] S301, send an information sharing request to the blockchain and obtain the authentication result of the terminal.
[0091] It should be noted that the execution subject of the information sharing method for a gas turbine of the embodiment of the present application may be an information sharing device for a gas turbine of the embodiment of the present application, and the information sharing device for a gas turbine may be configured in any electronic device to execute the information sharing method for a gas turbine of the embodiment of the present application. The electronic device may be any device with computing capability, such as a terminal. The information sharing method for a gas turbine of the embodiment of the present application is described below by taking the execution subject as a terminal as an example.
[0092] In an embodiment of the present application, the terminal can send an information sharing request to the blockchain and obtain the authentication result of the terminal.
[0093] In one implementation, obtaining the authentication result of the terminal may include receiving the authentication result of the terminal sent by the blockchain.
[0094] In one embodiment, before receiving the authentication result of the terminal sent by the blockchain, the terminal sends a first identifier of the terminal to the blockchain, wherein the first identifier is used to generate the authentication result of the terminal. It should be noted that the relevant content of the first identifier generating the authentication result of the terminal can be referred to the above embodiment, which will not be repeated here.
[0095] S302: In response to the authentication result of the terminal being authentication passed, calling a universal access interface.
[0096] S303, establishing a connection between the terminal and the blockchain based on the universal access interface.
[0097] It should be noted that, for the relevant contents of the universal access interface, reference may be made to the above embodiments, which will not be described in detail here.
[0098] In an embodiment of the present application, the terminal may respond to the authentication result of the terminal being authenticated, indicating that the terminal has the authority to access the blockchain, and may call the universal access interface to establish a connection between the terminal and the blockchain based on the universal access interface, that is, the terminal may access the blockchain based on the universal access interface.
[0099] S304, based on the universal access interface, sharing the target information of the gas turbine with the blockchain.
[0100] It should be noted that the relevant contents of the target information of the gas turbine can be found in the above embodiments and will not be described in detail here.
[0101] In one implementation, based on the universal access interface, the target information of the gas turbine is shared with the blockchain, which may include the following two possible implementations:
[0102] Method 1: Based on the universal access interface, the target information of the gas turbine is sent to the first blockchain node.
[0103] It should be noted that the information sharing request corresponding to method 1 is an information storage request, and the first blockchain node can be any blockchain node in the blockchain.
[0104] In one embodiment, the generation of the target information of the gas turbine may include the terminal acquiring the original information of the gas turbine to be shared, setting the information format, processing the original information of the gas turbine according to the set information format, and generating the target information of the gas turbine, wherein the format of the target information of the gas turbine is the same as the set information format. It should be noted that there are no excessive restrictions on the set information format, for example, the set information format may include a language category. Therefore, in this method, the target information of the gas turbine may be generated according to the set information format, and the uniformity of the format of the target information of the gas turbine may be ensured.
[0105] In one embodiment, the generation of the target information of the gas turbine may include the terminal acquiring the original information of the gas turbine to be shared, and setting an encryption strategy, encrypting the original information of the gas turbine according to the set encryption strategy, and generating the target information of the gas turbine. It should be noted that there are no excessive restrictions on setting the encryption strategy, for example, the set encryption strategy may include a private key, a public key, etc. Therefore, in this method, encryption may be performed according to the set encryption strategy, and the security of the target information of the gas turbine may be ensured.
[0106] Therefore, the method can realize that the terminal shares the target information of the gas turbine with the first blockchain node.
[0107] Method 2: Based on the universal access interface, a second identifier of the target information of the gas turbine is sent to the second blockchain node, wherein the second blockchain node stores the target information of the gas turbine, and the second identifier is used to determine the target information of the gas turbine in the information stored in the second blockchain node, and based on the universal access interface, the target information of the gas turbine sent by the second blockchain node is received.
[0108] It should be noted that the information sharing request corresponding to method 2 is an information reading request. The relevant contents of the second blockchain node and the second identifier can be found in the above embodiments and will not be repeated here.
[0109] In one embodiment, after receiving the target information of the gas turbine sent by the second blockchain node, the terminal can obtain the set decryption strategy, decrypt the target information of the gas turbine according to the set decryption strategy, and generate the original information of the gas turbine. It should be noted that there are no excessive restrictions on the set decryption strategy. For example, the set decryption strategy may include a private key, a public key, etc. Therefore, in this method, decryption can be performed according to the set decryption strategy, which can ensure the security of the target information of the gas turbine.
[0110] In summary, according to the information sharing method of the gas turbine of the embodiment of the present application, the terminal can send an information sharing request to the blockchain and obtain the authentication result of the terminal. In response to the authentication result of the terminal being authentication passed, the universal access interface is called, and a connection between the terminal and the blockchain is established based on the universal access interface. Based on the universal access interface, the target information of the gas turbine is shared with the blockchain. As a result, the terminal can access the blockchain through the universal access interface, which is suitable for access scenarios of different terminals, and can realize the sharing of the target information of the gas turbine between the terminal and the blockchain, so as to realize the sharing of the target information of the gas turbine between different terminals.
[0111] In order to implement the above-mentioned embodiments, the present application also proposes a gas turbine information sharing device suitable for blockchain.
[0112] Figure 4 The present invention is a block diagram of an information sharing device for a gas turbine according to an embodiment of the present application.
[0113] like Figure 4 As shown, the gas turbine information sharing device 100 according to the embodiment of the present application includes: a processing module 110 , a calling module 120 , a building module 130 and a sharing module 140 .
[0114] The processing module 110 is used to receive an information sharing request sent by a terminal and obtain an authentication result of the terminal;
[0115] A calling module 120, configured to call a universal access interface in response to the authentication result of the terminal being authentication passed;
[0116] An establishing module 130, configured to establish a connection between the terminal and the blockchain based on the universal access interface;
[0117] The sharing module 140 is used to share the target information of the gas turbine with the terminal based on the universal access interface.
[0118] In one embodiment of the present application, the processing module 110 is further used to: receive a first identifier of the terminal sent by the terminal; based on the first identifier, obtain a sub-authentication result of each blockchain node of the blockchain for the terminal; in response to the existence of at least one blockchain node whose sub-authentication result for the terminal is failed authentication, determine that the authentication result of the terminal is failed authentication; or, in response to each blockchain node whose sub-authentication result for the terminal is passed authentication, determine that the authentication result of the terminal is passed authentication.
[0119] In one embodiment of the present application, when the information sharing request is an information storage request, the sharing module 140 is also used to: based on the universal access interface, control the first blockchain node to receive the target information of the gas turbine sent by the terminal, and control the first blockchain node to store the target information of the gas turbine locally.
[0120] In one embodiment of the present application, before the first blockchain node is controlled to store the received target information of the gas turbine locally, the sharing module 140 is also used to: control the first blockchain node to extract at least one of a timestamp, a key, and a hash characteristic value from the target information of the gas turbine; control the first blockchain node to obtain a verification result of the target information of the gas turbine based on at least one of the timestamp, the key, and the hash characteristic value; and identify that the verification result of the target information of the gas turbine is passed verification.
[0121] In one embodiment of the present application, when the information sharing request is an information reading request, the sharing module 140 is further used to: based on the universal access interface, control the second blockchain node to receive the second identifier of the target information of the gas turbine sent by the terminal, wherein the second blockchain node stores the target information of the gas turbine, and the second identifier is used to determine the target information of the gas turbine in the information stored in the second blockchain node; based on the universal access interface, control the second blockchain node to send the target information of the gas turbine to the terminal.
[0122] In one embodiment of the present application, the gas turbine information sharing device 100 further includes: a display module, wherein the display module is used to: obtain an information display template; and jointly display the information stored in at least one blockchain node according to the information display template.
[0123] It should be noted that for details not disclosed in the information sharing device of the gas turbine in the embodiment of the present application, please refer to the details disclosed in the information sharing method of the gas turbine in the above embodiment of the present application, which will not be repeated here.
[0124] In summary, the information sharing device for the gas turbine of the embodiment of the present application can receive the information sharing request sent by the terminal, and obtain the authentication result of the terminal. In response to the authentication result of the terminal being authentication passed, the universal access interface is called, and a connection between the terminal and the blockchain is established based on the universal access interface. Based on the universal access interface, the target information of the gas turbine is shared with the terminal. Thus, the terminal can access the blockchain through the universal access interface, which is suitable for access scenarios of different terminals, and can realize the sharing of the target information of the gas turbine between the terminal and the blockchain, so as to realize the sharing of the target information of the gas turbine between different terminals.
[0125] In order to implement the above-mentioned embodiment, the present application also proposes another information sharing device for a gas turbine, which is suitable for a terminal.
[0126] Figure 5 The present invention is a block diagram of an information sharing device for a gas turbine according to another embodiment of the present application.
[0127] like Figure 5 As shown, the gas turbine information sharing device 200 of the embodiment of the present application includes: a processing module 210, a calling module 220, a building module 230 and a sharing module 240.
[0128] Processing module 210, used to send an information sharing request to the blockchain and obtain the authentication result of the terminal;
[0129] A calling module 220, configured to call the universal access interface in response to the authentication result of the terminal being authentication passed;
[0130] An establishing module 230, configured to establish a connection between the terminal and the blockchain based on the universal access interface;
[0131] The sharing module 240 is used to share the target information of the gas turbine with the blockchain based on the universal access interface.
[0132] In one embodiment of the present application, the processing module 210 is further used to: receive the authentication result of the terminal sent by the blockchain.
[0133] In one embodiment of the present application, before receiving the authentication result of the terminal sent by the blockchain, the processing module 210 is also used to: send a first identifier of the terminal to the blockchain, wherein the first identifier is used to generate the authentication result of the terminal.
[0134] In one embodiment of the present application, when the information sharing request is an information storage request, the sharing module 240 is further used to: send the target information of the gas turbine to the first blockchain node based on the universal access interface.
[0135] In one embodiment of the present application, when the information sharing request is an information reading request, the sharing module 240 is further used to: based on the universal access interface, send a second identifier of the target information of the gas turbine to the second blockchain node, wherein the second blockchain node stores the target information of the gas turbine, and the second identifier is used to determine the target information of the gas turbine in the information stored in the second blockchain node; based on the universal access interface, receive the target information of the gas turbine sent by the second blockchain node.
[0136] It should be noted that for details not disclosed in the information sharing device of the gas turbine in the embodiment of the present application, please refer to the details disclosed in the information sharing method of the gas turbine in the above embodiment of the present application, which will not be repeated here.
[0137] In summary, the information sharing device for the gas turbine of the embodiment of the present application can send an information sharing request to the blockchain and obtain the authentication result of the terminal. In response to the authentication result of the terminal being authenticated, the universal access interface is called, and a connection between the terminal and the blockchain is established based on the universal access interface. Based on the universal access interface, the target information of the gas turbine is shared with the blockchain. Thus, the terminal can access the blockchain through the universal access interface, which is suitable for access scenarios of different terminals, and can realize the sharing of the target information of the gas turbine between the terminal and the blockchain, so as to realize the sharing of the target information of the gas turbine between different terminals.
[0138] In order to implement the above embodiment, Figure 6 As shown, an embodiment of the present application proposes an electronic device 300, including: a memory 310, a processor 320, and a computer program stored in the memory 310 and executable on the processor 320, and when the processor 320 executes the program, the above-mentioned gas turbine information sharing method is implemented.
[0139] The electronic device of the embodiment of the present application can receive the information sharing request sent by the terminal and obtain the authentication result of the terminal by executing the instructions stored in the memory through the processor. In response to the authentication result of the terminal being authentication passed, the universal access interface is called, and a connection between the terminal and the blockchain is established based on the universal access interface. Based on the universal access interface, the target information of the gas turbine is shared with the terminal. Thus, the terminal can access the blockchain through the universal access interface, which is suitable for access scenarios of different terminals, and can realize the sharing of the target information of the gas turbine between the terminal and the blockchain, so as to realize the sharing of the target information of the gas turbine between different terminals.
[0140] In order to implement the above-mentioned embodiment, the present application also proposes a computer-readable storage medium storing a computer program, which implements the above-mentioned gas turbine information sharing method when executed by a processor.
[0141] The computer-readable storage medium of the embodiment of the present application can receive the information sharing request sent by the terminal and obtain the authentication result of the terminal by storing the computer program and being executed by the processor. In response to the authentication result of the terminal being authentication passed, the universal access interface is called, and a connection between the terminal and the blockchain is established based on the universal access interface. Based on the universal access interface, the target information of the gas turbine is shared with the terminal. Thus, the terminal can access the blockchain through the universal access interface, which is suitable for access scenarios of different terminals, and can realize the sharing of the target information of the gas turbine between the terminal and the blockchain, so as to realize the sharing of the target information of the gas turbine between different terminals.
[0142] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0143] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0144] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0145] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.
[0146] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0147] The above is a detailed introduction to the information sharing method, training method, device, equipment and medium of a gas turbine disclosed in the embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A gas turbine information sharing method, characterized in that: Applicable to blockchain, including: Receiving an information sharing request and a first identifier of the terminal sent by a terminal, and obtaining an authentication result of the terminal according to the first identifier, wherein the terminal includes a web page, a business system, an intelligent voice interaction device, an intelligent home appliance, and a vehicle-mounted terminal; In response to the authentication result of the terminal being authentication passed, calling a universal access interface; Based on the universal access interface, establishing a connection between the terminal and the blockchain; Based on the universal access interface, the target information of the gas turbine is shared with the terminal, wherein: when the information sharing request is an information storage request, based on the universal access interface, the first blockchain node is controlled to receive the target information of the gas turbine sent by the terminal, the first blockchain node is controlled to extract the timestamp, the key and the hash characteristic value from the target information of the gas turbine, the first blockchain node is controlled to obtain the verification result of the target information of the gas turbine based on the timestamp, the key and the hash characteristic value, when the verification result of the target information of the gas turbine is identified as passed, the first blockchain node is controlled to store the target information of the gas turbine locally, when the verification result of the target information of the gas turbine is identified as failed to pass the verification, the target information of the gas turbine is marked as information that failed to pass the verification, and the terminal is notified in time, wherein the target information of the gas turbine includes a transaction price and a transaction volume, and the transaction price includes the whole machine transaction price, component transaction price and maintenance price of the gas turbine; Based on the third identifier of the blockchain node, an information display template is obtained from the information display template library, an information fusion strategy is obtained based on the information display template, information stored in at least one blockchain node is fused according to the information fusion strategy to generate fusion information, and the fusion information is displayed according to the information display template, wherein different blockchain nodes correspond to different information display templates; In the case where the information sharing request is an information reading request, the target information of the gas turbine is shared with the terminal based on the universal access interface, including: based on the universal access interface, controlling the second blockchain node to receive the second identifier of the target information of the gas turbine sent by the terminal, wherein the second blockchain node stores the target information of the gas turbine, and the second identifier is used to determine the target information of the gas turbine in the information stored in the second blockchain node; based on the universal access interface, controlling the second blockchain node to send the target information of the gas turbine to the terminal.
2. The method according to claim 1, characterized in that Acquiring an authentication result of the terminal according to the first identifier includes: Based on the first identifier, obtaining a sub-authentication result of each blockchain node of the blockchain on the terminal; In response to the existence of at least one blockchain node failing to authenticate the terminal as a sub-authentication result, determining that the authentication result of the terminal is failing to authenticate; or, In response to the sub-authentication result of each blockchain node on the terminal being passed authentication, it is determined that the authentication result of the terminal is passed authentication.
3. A gas turbine information sharing method, characterized in that: Applicable to terminals, including: Sending an information sharing request and a first identifier of the terminal to a blockchain, and receiving an authentication result of the terminal generated according to the first identifier sent by the blockchain, wherein the terminal includes a web page, a business system, an intelligent voice interaction device, an intelligent home appliance, and a vehicle-mounted terminal; In response to the authentication result of the terminal being authentication passed, calling the universal access interface; Based on the universal access interface, establishing a connection between the terminal and the blockchain; Based on the universal access interface, the target information of the gas turbine is shared with the blockchain, wherein: when the information sharing request is an information storage request, the target information of the gas turbine as claimed in claim 1 or 2 is sent to the first blockchain node based on the universal access interface, so that the blockchain node obtains the information display template from the information display template library according to the third identifier based on the blockchain node as claimed in claim 1 or 2, obtains the information fusion strategy based on the information display template, fuses the information stored in at least one blockchain node according to the information fusion strategy, generates fusion information, and displays the fusion information according to the information display template, wherein different blockchain nodes correspond to different information display templates; In the case where the information sharing request is an information reading request, the target information of the gas turbine is shared with the blockchain based on the universal access interface, including: based on the universal access interface, sending a second identifier of the target information of the gas turbine to a second blockchain node, wherein the second blockchain node stores the target information of the gas turbine, and the second identifier is used to determine the target information of the gas turbine in the information stored in the second blockchain node; based on the universal access interface, receiving the target information of the gas turbine sent by the second blockchain node.
4. A gas turbine information sharing device, characterized in that: Applicable to blockchain, including: a processing module, configured to receive an information sharing request sent by a terminal and a first identifier of the terminal, and obtain an authentication result of the terminal according to the first identifier, wherein the terminal includes a web page, a business system, an intelligent voice interaction device, an intelligent home appliance, and a vehicle-mounted terminal; A calling module, configured to call a universal access interface in response to an authentication result of the terminal being authentication passed; An establishing module, configured to establish a connection between the terminal and the blockchain based on the universal access interface; A sharing module, used to share the target information of the gas turbine with the terminal based on the universal access interface, wherein: when the information sharing request is an information storage request, the first blockchain node is controlled to receive the target information of the gas turbine sent by the terminal based on the universal access interface, the first blockchain node is controlled to extract the timestamp, key and hash characteristic value from the target information of the gas turbine, and the first blockchain node is controlled to obtain the verification result of the target information of the gas turbine based on the timestamp, the key and the hash characteristic value. When the verification result of the target information of the gas turbine is identified as passing the verification, the first blockchain node is controlled to store the target information of the gas turbine locally. When the verification result of the target information of the gas turbine is identified as failing the verification, the target information of the gas turbine is marked as information that failed the verification and the terminal is notified in time, wherein the target information of the gas turbine includes a transaction price and a transaction volume, and the transaction price includes the whole machine transaction price, component transaction price and maintenance price of the gas turbine; A display module, used to obtain an information display template from an information display template library based on a third identifier of a blockchain node, obtain an information fusion strategy based on the information display template, fuse the information stored in at least one blockchain node according to the information fusion strategy, generate fusion information, and display the fusion information according to the information display template, wherein different blockchain nodes correspond to different information display templates; In the case where the information sharing request is an information reading request, the sharing module is further used to: based on the universal access interface, control the second blockchain node to receive the second identifier of the target information of the gas turbine sent by the terminal, wherein the second blockchain node stores the target information of the gas turbine, and the second identifier is used to determine the target information of the gas turbine in the information stored in the second blockchain node; based on the universal access interface, control the second blockchain node to send the target information of the gas turbine to the terminal.
5. The device according to claim 4, characterized in that The obtaining the authentication result of the terminal according to the first identifier includes: Based on the first identifier, obtaining a sub-authentication result of each blockchain node of the blockchain on the terminal; In response to the existence of at least one blockchain node failing to authenticate the terminal as a sub-authentication result, determining that the authentication result of the terminal is failing to authenticate; or, In response to the sub-authentication result of each blockchain node on the terminal being passed authentication, it is determined that the authentication result of the terminal is passed authentication.
6. A gas turbine information sharing device, characterized in that: Applicable to terminals, including: A processing module, configured to send an information sharing request and a first identifier of the terminal to a blockchain, and receive an authentication result of the terminal generated according to the first identifier sent by the blockchain, wherein the terminal includes a web page, a business system, an intelligent voice interaction device, an intelligent home appliance, and a vehicle-mounted terminal; A calling module, configured to call the universal access interface in response to the authentication result of the terminal being authentication passed; An establishing module, configured to establish a connection between the terminal and the blockchain based on the universal access interface; A sharing module, used to share the target information of the gas turbine with the blockchain based on the universal access interface, wherein: when the information sharing request is an information storage request, the target information of the gas turbine as claimed in claim 1 or 2 is sent to the first blockchain node based on the universal access interface, so that the blockchain node obtains the information display template from the information display template library according to the third identifier based on the blockchain node as claimed in claim 1 or 2, obtains the information fusion strategy based on the information display template, fuses the information stored in at least one blockchain node according to the information fusion strategy, generates fusion information, and displays the fusion information according to the information display template, wherein different blockchain nodes correspond to different information display templates; In the case where the information sharing request is an information reading request, the sharing module is further used to: based on the universal access interface, send a second identifier of the target information of the gas turbine to the second blockchain node, wherein the second blockchain node stores the target information of the gas turbine, and the second identifier is used to determine the target information of the gas turbine in the information stored in the second blockchain node; based on the universal access interface, receive the target information of the gas turbine sent by the second blockchain node.
7. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the information sharing method for a gas turbine as described in any one of claims 1 to 3 is implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the information sharing method for a gas turbine as described in any one of claims 1 to 3 is implemented.
