A data processing method, device, equipment and storage medium

By setting up a data processing device outside the terminal and using blockchain nodes to acquire and process data, the data leakage problem caused by insufficient storage space of the orchestrator is solved, data security and processing capabilities are ensured, and the security of the system is enhanced.

CN114020829BActive Publication Date: 2024-11-29CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111172491.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-08
Publication Date
2024-11-29
Estimated Expiration
2041-10-08

AI Technical Summary

Technical Problem

Due to the limited storage space of the orchestrator, it is unable to effectively process and store a large amount of data, resulting in the basic data being easily leaked, which in turn causes security risks.

Method used

A data processing device is set up outside the terminal, and by receiving the data request from the orchestrator, the basic data is obtained and processed based on the target blockchain node, and the processed data is sent to the terminal to avoid sending the basic data directly from the orchestrator.

Benefits of technology

It solves the problem of basic data leakage caused by the limited storage capacity of the orchestrator, ensures the security and processing capabilities of the target data, and enhances the security of the data processing system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114020829B_ABST
    Figure CN114020829B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and storage medium for data processing, which relates to the field of communication technology and is used to ensure the security of target basic data corresponding to target data in a scenario where a terminal obtains target data. The method includes: receiving a data request from an orchestrator, the data request is used to request to send target data to a terminal, and the data request includes an identifier of a target blockchain node corresponding to the target data; based on the identifier of the target blockchain node, obtaining target basic data corresponding to the target data from the target blockchain node; processing the target basic data to generate target data, and sending the target data to the terminal through the orchestrator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a data processing method, device, equipment and storage medium. Background Art

[0002] In the operator field, end-to-end rapid service provisioning, automatic bandwidth adjustment, automated operation and maintenance, and intelligent analysis are usually implemented through orchestrators. Specifically, when a terminal requests to obtain target data, it sends a data request to the orchestrator. Correspondingly, the orchestrator responds to the data request and obtains the target basic data corresponding to the target data from the network basic database connected to the orchestrator. At the same time, since the orchestrator is limited by resources and cannot store a large amount of data, nor can it process the target basic data to obtain the target data, the orchestrator will send the target basic data to the terminal so that the terminal can process the target basic data and finally obtain the target data by the terminal.

[0003] However, in the above data processing method, since the orchestrator needs to send the target basic data to the terminal, this may easily cause the basic data in the network basic database to be leaked, which may lead to security risks. Summary of the invention

[0004] The present invention provides a data processing method, device, equipment and storage medium, which are used to ensure the security of target basic data corresponding to the target data in a scenario where a terminal obtains target data. To achieve the above purpose, the present invention adopts the following technical solutions:

[0005] In a first aspect, a data processing method is provided, the method comprising: receiving a data request from an orchestrator; the data request is used to request sending target data to a terminal, the data request comprising an identifier of a target blockchain node corresponding to the target data; based on the identifier of the target blockchain node, obtaining target basic data corresponding to the target data from the target blockchain node; processing the target basic data to generate target data, and sending the target data to the terminal through the orchestrator.

[0006] In a second aspect, a data processing device is provided, which includes: a receiving unit, an acquisition unit, a generating unit and a sending unit; the receiving unit is used to receive a data request from an orchestrator; the data request is used to request to send target data to a terminal, and the data request includes an identifier of a target blockchain node corresponding to the target data; the acquisition unit is used to acquire target basic data corresponding to the target data from the target blockchain node based on the identifier of the target blockchain node received by the receiving unit; the generating unit is used to process the target basic data acquired by the acquisition unit to generate the target data; the sending unit is used to send the target data generated by the generating unit to the terminal through the orchestrator.

[0007] In a third aspect, a computer-readable storage medium storing one or more programs is provided. The one or more programs include instructions. When the instructions are executed by a computer, the computer executes the data processing method of the first aspect.

[0008] In a fourth aspect, a server comprises: a processor and a memory; wherein the memory is used to store one or more programs, and the one or more programs include computer execution instructions. When the server is running, the processor executes the computer execution instructions stored in the memory to enable the server to perform the data processing method as in the first aspect.

[0009] According to a fifth aspect, a computer program product comprising instructions is provided. When the instructions are executed on a computer, the computer executes the data processing method according to the first aspect.

[0010] The present invention provides a data processing method, device, equipment and storage medium, which are applied to a data processing system including an orchestrator. Considering that the storage space of the orchestrator is small and it is unable to perform operations such as calculation and processing, the data processing device provided by the present invention can obtain the target basic data in the blockchain node outside the orchestrator, and process the target basic data to obtain the target data and send the target data to the terminal. In this way, the target basic data is stored and calculated by the data processing device, and there is no need to send the target basic data to the terminal, which can solve the problem of easy leakage of basic data caused by the limited storage capacity of the orchestrator. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 A schematic diagram of the structure of a data processing system provided by an embodiment of the present invention;

[0012] Figure 2 A data processing method provided by an embodiment of the present invention Figure 1 ;

[0013] Figure 3 A data processing method provided by an embodiment of the present invention Figure 2 ;

[0014] Figure 4 A data processing method provided by an embodiment of the present invention Figure 3 ;

[0015] Figure 5 A data processing method provided by an embodiment of the present invention Figure 4 ;

[0016] Figure 6 A data processing method provided by an embodiment of the present invention Figure 5 ;

[0017] Figure 7 A data processing method provided by an embodiment of the present invention Figure 6 ;

[0018] Figure 8 A schematic diagram of the structure of a data processing device provided by an embodiment of the present invention;

[0019] Fig. 9 A server structure diagram provided for an embodiment of the present invention Figure 1 ;

[0020] Fig.10 A server structure diagram provided for an embodiment of the present invention Figure 2 . DETAILED DESCRIPTION

[0021] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0022] In the description of the present invention, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" and "plurality" refer to two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0023] The data processing method provided by the embodiment of the present invention may be applicable to a data processing system. Figure 1 FIG. 1 shows a schematic diagram of the overall architecture of a data processing system. Figure 1 As shown, the data processing system 10 includes a terminal 11, an orchestrator 12, a server 13, and at least one blockchain node ( Figure 1 Blockchain nodes 141 and 142 are shown as examples. In actual application, there may be more or fewer blockchain nodes) and at least one basic data belonging device ( Figure 1 The example shows the home device 151 and the home device 152. In actual application, there may be more or fewer home devices.

[0024] The scheduler 12 is connected to the terminal 11 and the server 13 respectively, and the server 13 is also connected to at least one blockchain node and at least one home device. The above devices can be connected in a wired manner or in a wireless manner, which is not limited in the embodiment of the present invention.

[0025] The terminal 11 is a data user in the upper layer application, and is used to initiate a data request to the server 13 through the orchestrator 12 .

[0026] It should be noted that the terminal 11 may be a mobile phone, a computer, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a smart phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a laptop computer, a handheld communication device, a handheld computing device, a satellite wireless device, a wireless modem card, a TV set-top box (STB), customer premise equipment (CPE) and / or other devices used to communicate on a wireless system.

[0027] The orchestrator 12 is used to implement functions such as end-to-end service rapid provisioning, automatic bandwidth adjustment, automated operation and maintenance, and intelligent analysis in the operator field. Orchestration allows the network to be expanded as needed, enables network services to be configured on multiple devices, and can deploy resources as needed, making the network more flexible and responsive.

[0028] In some embodiments, the orchestrator may include a primary orchestrator and a secondary orchestrator, wherein the primary orchestrator and the secondary orchestrator may be used to implement different orchestration functions respectively.

[0029] It should be noted that the orchestrator 13 may be located in the business layer of the data processing system 10. The business layer may include not only the orchestrator 13 but also a (business support system, B) domain and an (operation support system, O) domain.

[0030] The server 13 can be used to interact with the orchestrator 12, at least one blockchain node, and at least one home device for instructions or data. For example, the server 13 can receive a data request sent by the orchestrator, and then obtain corresponding data from at least one blockchain node according to the data request, and send the data to the terminal.

[0031] In some embodiments, the server 13 may specifically be a data sharing and trusted computing platform, which is used to perform computational processing on the basic data in the blockchain node to obtain target data corresponding to the basic data.

[0032] It should be noted that the server 13 can specifically interact with the orchestrator for instructions and data through an interface gateway and a web platform.

[0033] At least one blockchain node is located in the same blockchain network and can perform tasks such as uploading and authenticating the operation information of basic data. At the same time, each blockchain node is also used to store the corresponding basic data.

[0034] It should be noted that each blockchain node may specifically include a data management and control platform for realizing functions such as data storage and acquisition. Among them, the data acquisition method can be specifically divided into manual acquisition and automatic acquisition.

[0035] At least one home device is the data owner of the basic data stored in the blockchain node and can perform authentication tasks for data requests.

[0036] The data processing method provided by the embodiment of the present invention is described below in conjunction with the accompanying drawings. The data processing method can be applied to the above-mentioned server, or to the data processing device in the above-mentioned server or other similar devices. The embodiment of the present invention is described by taking the data processing method applied to the server as an example.

[0037] In one design, in order to determine the target blockchain node where the target data is located, such as Figure 2 As shown, the data processing method provided by the embodiment of the present invention further includes the following S201-S203:

[0038] S201. The server receives a query request from the orchestrator.

[0039] Among them, the query request is used to request to send the identifier of the target blockchain node corresponding to the target data to the terminal.

[0040] As a possible implementation method, the terminal user first sends a query request to the orchestrator through the terminal. Correspondingly, after receiving the query request from the terminal, the orchestrator forwards the query request to the server through the interface gateway and the web platform in sequence. Further, the server receives the query request forwarded by the orchestrator through the interface gateway and the web platform.

[0041] S202. The server determines the identifier of the blockchain node where the target basic data is located from the pre-stored index relationship in response to the query request.

[0042] S203. The server sends the identifier of the target blockchain node to the terminal.

[0043] Among them, the index relationship includes the mapping relationship between data and blockchain nodes.

[0044] As a possible implementation method, the server determines the identifier of the blockchain node where the target basic data is located from the pre-stored index relationship according to the query request, and sends the identifier of the target blockchain node to the orchestrator through the web platform and the interface gateway in sequence. Correspondingly, the orchestrator forwards the identifier of the target blockchain node to the terminal.

[0045] like Figure 3 As shown, the data processing method provided by the embodiment of the present invention includes the following S204-S207:

[0046] S204: The server receives the data request from the orchestrator.

[0047] Among them, the data request is used to request to send target data to the terminal, and the data request includes the identifier of the target blockchain node corresponding to the target data.

[0048] The target data includes data requested by the terminal user through the terminal. The identifier of the target blockchain node is the identifier of the blockchain node storing the target basic data corresponding to the target data.

[0049] It can be understood that the server can determine the target blockchain node from at least one blockchain node through the identifier of the target blockchain node.

[0050] As a possible implementation, the terminal user first sends a data request to the orchestrator through the terminal. Correspondingly, after receiving the data request from the terminal, the orchestrator forwards the data request to the server through the interface gateway and the web platform in sequence. Further, the server receives the data request forwarded by the orchestrator through the interface gateway and the web platform.

[0051] S205. The server obtains target basic data corresponding to the target data from the target blockchain node based on the identifier of the target blockchain node.

[0052] The target basic data is data used to generate the target data, and the server can obtain the target data by performing calculations on the target basic data.

[0053] As a possible implementation method, the server determines the target blockchain node from at least one blockchain node according to the identifier of the target blockchain node, and obtains target basic data corresponding to the target data from the target blockchain node.

[0054] For example, if the target data is the total amount of electricity bills for a user in August, the target basic data is the electricity bill details of the user in August, where the electricity bill details may include the user's daily electricity consumption in August, the daily peak electricity consumption, the cost per kilowatt-hour, and other data.

[0055] S206: The server processes the target basic data to generate target data.

[0056] As a possible implementation method, the server, as a data sharing and trusted computing platform, can perform computational processing on the acquired target basic data to obtain the target data.

[0057] It should be noted that the server includes a separate operation node, which may be a central processing unit (CPU) or a graphics processing unit (GPU), which can provide computing resources to perform computational processing on target basic data.

[0058] The specific implementation method of this step can refer to the existing technology and will not be described in detail here.

[0059] S207. The server sends target data to the terminal through the scheduler.

[0060] As a possible implementation, after generating the target data, the server sends the target data to the orchestrator through the web platform and the interface gateway in sequence. Correspondingly, after receiving the target data, the orchestrator forwards the target data to the terminal.

[0061] It can be understood that the target basic data includes the original data corresponding to the target data. Any device that obtains the target basic data can analyze different information from the target basic data, which may lead to privacy leakage and security risks.

[0062] The embodiment of the present invention provides a data processing method, which is applied to a data processing system including an orchestrator. Considering that the storage space of the orchestrator is small and it cannot perform operations such as calculation and processing, the data processing device provided by the present invention can obtain the target basic data in the blockchain node outside the orchestrator, and process the target basic data to obtain the target data and send the target data to the terminal. In this way, the data processing device stores and calculates the target basic data, and there is no need to send the target basic data to the terminal, which can solve the problem of easy leakage of basic data due to the limited storage capacity of the orchestrator.

[0063] In one design, in order to ensure the legitimacy of obtaining basic data and ensure the security of obtaining data, such as Figure 4 As shown, in the data processing method provided by the embodiment of the present invention, the data request also includes the identifier of the terminal. The data processing method provided by the embodiment of the present invention also includes the following S208:

[0064] S208. The server authenticates the data request based on the terminal identifier and the target blockchain node identifier.

[0065] The terminal identifier may be an internet protocol (IP) address or a media access control (MAC) address of the terminal for interconnecting networks.

[0066] As a possible implementation method, the server obtains the terminal identifier from the data request and authenticates the data request based on the terminal identifier and the identifier of the target blockchain node.

[0067] It should be noted that the specific implementation method of this step can refer to the subsequent description of the embodiment of the present invention and will not be repeated here.

[0068] In the case where the embodiment of the present invention includes the above-mentioned S208, Figure 4 As shown, S205 provided in the embodiment of the present invention, after S208, specifically includes the following S2051:

[0069] S2051. When the data request is authenticated, the server obtains the target basic data from the target blockchain node based on the identifier of the target blockchain node.

[0070] Among them, authentication indicates that the terminal has the authority to obtain the target data.

[0071] As a possible implementation method, when the data request is authenticated, the server obtains the target basic data from the target blockchain node based on the identifier of the target blockchain node.

[0072] In this step, the implementation method of the server obtaining the target basic data from the target blockchain node based on the identifier of the target blockchain node can refer to the specific description in the above S205, which will not be repeated here.

[0073] In one design, in order to authenticate the data request, such as Figure 5 As shown, S208 provided in the embodiment of the present invention may specifically include the following S2081-S2083:

[0074] S2081. The server determines the device to which the target basic data belongs from the target blockchain node based on the identifier of the target blockchain node.

[0075] Among them, the mapping relationship between the target basic data and the belonging device is stored in the target blockchain node.

[0076] As a possible implementation method, the server determines the target blockchain node from at least one blockchain node according to the identifier of the target blockchain node, and obtains the mapping relationship between the basic data and the belonging device from the target blockchain node. Further, the server queries the belonging device of the target basic data from the above mapping relationship.

[0077] It should be noted that each blockchain node contains the basic data stored in the blockchain node and the identifier of the device to which the corresponding basic data belongs.

[0078] S2082: Based on the terminal identifier, the server queries the terminal's authentication information from the home device of the target basic data.

[0079] As a possible implementation manner, the server generates a first authentication request according to the identifier of the terminal, and sends the first authentication request to the home device of the target basic data.

[0080] The first authentication request includes the identifier of the terminal, and the first authentication request is used to query the authentication information of the terminal from the home device of the target basic data.

[0081] Correspondingly, after receiving the first authentication request, the home device of the target basic data obtains the terminal identifier from the first authentication request, obtains the terminal authentication information from its memory according to the terminal identifier, and sends the terminal authentication information to the server.

[0082] It should be noted that the authentication information may be any form of information used to authenticate the identity of the terminal.

[0083] Exemplarily, the authentication information may be default authentication information pre-stored by the user, such as a plain text password pre-set by the user. The authentication information may also be a password obtained by encrypting the original authentication information pre-set by the user, such as a binary code generated by encrypting the plain text password pre-set by the user.

[0084] S2083. The server authenticates the data request based on the queried authentication information.

[0085] As a possible implementation manner, after obtaining the authentication information from the home device of the target basic data, the server authenticates the data request according to the authentication information.

[0086] In one design, the embodiment of the present invention further provides that the above S208 specifically also includes the following S2084-S2087:

[0087] S2084. The server generates a second authentication request according to the data request and the terminal identifier.

[0088] The second authentication request includes the terminal identifier and the data request, and the second authentication request is used to request the home device of the target basic data to authenticate the data request according to the terminal identifier to obtain an authentication result.

[0089] S2085. The server sends a second authentication request to the home device of the target basic data.

[0090] Correspondingly, the home device of the target infrastructure device receives the second authentication request.

[0091] S2086. The device to which the target basic data belongs authenticates the data request according to the identifier of the terminal to obtain an authentication result.

[0092] The authentication result is used to indicate whether the data request has passed the authentication.

[0093] S2087. The device to which the target basic data belongs sends the authentication result to the server.

[0094] Correspondingly, the server receives the authentication result sent by the device to which the target basic data belongs.

[0095] In one design, Figure 6 As shown, the data processing method provided by the embodiment of the present invention further includes the following S209-S210:

[0096] S209. After adding preset data to the preset blockchain node, the server obtains an identifier of the preset data and an identifier of the preset blockchain node.

[0097] S210. The server updates the index relationship according to the identifier of the preset data and the identifier of the preset blockchain node.

[0098] As a possible implementation method, after the preset data is added to the preset blockchain node, the server obtains the identifier of the preset data and the identifier of the preset blockchain node, and updates the index relationship according to the identifier of the preset data and the identifier of the preset blockchain node.

[0099] In one design, in order to achieve that both collection and call are recorded on the chain to ensure that the data cannot be tampered with, Figure 7 As shown, the data processing method provided by the embodiment of the present invention further includes the following S211-S212:

[0100] S211. The server obtains processing information of target basic data.

[0101] The processing information is used to identify the steps of processing the target basic data.

[0102] As a possible implementation manner, the server obtains processing information of the target basic data during the process of processing the target basic data.

[0103] S212: The server performs an on-chain operation on the processed information.

[0104] As a possible implementation method, after obtaining the processing information of the target basic data, the server sends the above processing information to the target blockchain node, so that the target blockchain node, based on its consensus mechanism, consensuses the processing information to the blockchain network where at least one blockchain node is located.

[0105] The above mainly introduces the solution provided by the embodiment of the present invention from the perspective of the method. In order to achieve the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed in this article, the embodiment of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0106] The embodiment of the present invention can divide the server into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0107] Figure 8 The following is a schematic diagram of the structure of a data processing device 30 provided in an embodiment of the present invention. The data processing device 30 may be located in the above-mentioned server. The data processing device 30 includes a receiving unit 301, an acquiring unit 302, a generating unit 303, and a sending unit 304.

[0108] The receiving unit 301 is used to receive a data request from the orchestrator; the data request is used to request to send target data to the terminal, and the data request includes the identifier of the target blockchain node corresponding to the target data. Figure 2 , the receiving unit 301 can be used to execute S204.

[0109] The acquisition unit 302 is used to acquire target basic data corresponding to the target data from the target blockchain node based on the identifier of the target blockchain node received by the receiving unit 301. Figure 2 , the acquisition unit 302 can be used to execute S205.

[0110] The generating unit 303 is used to process the target basic data acquired by the acquiring unit 302 to generate target data. Figure 2 , the generating unit 303 can be used to execute S206.

[0111] The sending unit 304 is used to send the target data generated by the generating unit 303 to the terminal through the scheduler. Figure 2 , the sending unit 304 can be used to execute S207.

[0112] Optional, such as Figure 8 As shown, in the data processing device 30 provided in the embodiment of the present invention, the data request also includes the identifier of the terminal, and the data processing device 30 also includes an authentication unit 305 .

[0113] The authentication unit 305 is used to authenticate the data request based on the terminal identifier and the target blockchain node identifier received by the receiving unit 301. Figure 3 , the authentication unit 305 can be used to execute S208.

[0114] The acquisition unit 302 is specifically used to acquire the target basic data from the target blockchain node based on the identifier of the target blockchain node received by the receiving unit 301 when the data request passes the authentication. Figure 3 , the acquisition unit 302 can be used to execute S2051.

[0115] Optional, such as Figure 8 As shown, the data processing device 30 provided by the embodiment of the present invention further includes a determining unit 306 .

[0116] The determination unit 306 is used to determine the device to which the target basic data belongs from the target blockchain node based on the identifier of the target blockchain node received by the receiving unit 301. Figure 4 , the determination unit 306 can be used to execute S2081.

[0117] The authentication unit 305 provided in the embodiment of the present invention is specifically used to query the authentication information of the terminal from the home device of the target basic data based on the terminal identification received by the receiving unit 301, so as to authenticate the data request according to the queried authentication information. Figure 4 , the authentication unit 305 can be used to execute S2082-S2083.

[0118] Optional, such as Figure 8 As shown, the receiving unit 301 provided in the embodiment of the present invention is also used to receive a query request from the orchestrator, and the query request is used to request to send the identifier of the target blockchain node corresponding to the target data to the terminal. Figure 5 , the receiving unit 301 can be used to execute S201.

[0119] The determining unit 306 is further configured to determine the identifier of the blockchain node where the target basic data is located from the pre-stored index relationship in response to the query request received by the receiving unit 301. Figure 5 , the determination unit 306 can be used to execute S202.

[0120] The sending unit 304 is further used to send the identifier of the target blockchain node determined by the determining unit 306 to the terminal; the index relationship includes the mapping relationship between the data and the blockchain node. Figure 5 , the sending unit 304 can be used to execute S203.

[0121] Optional, such as Figure 8 As shown, the data processing device 30 provided by the embodiment of the present invention further includes an updating unit 308 .

[0122] The updating unit 308 is used to obtain the identifier of the preset data and the identifier of the preset blockchain node after the preset data is added to the preset blockchain node, and update the index relationship according to the identifier of the preset data and the identifier of the preset blockchain node. Figure 6 , the updating unit 308 can be used to execute S209-S210.

[0123] Optional, such as Figure 8 As shown, the data processing device 30 provided in this embodiment of the present invention further includes a processing unit 307 .

[0124] The acquisition unit 302 is also used to acquire processing information of the target basic data. Figure 7 , the acquisition unit 302 can be used to execute S211.

[0125] The processing unit 307 is used to perform an uplink operation on the processing information obtained by the obtaining unit 302; the processing information is used to identify the steps of processing the target basic data. Figure 7 , the processing unit 307 can be used to execute S212.

[0126] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present invention provides a possible structural diagram of the server involved in the above-mentioned embodiment. Fig. 9As shown, the server 40 includes a processor 401, a memory 402 and a bus 403. The processor 401 and the memory 402 may be connected via the bus 403.

[0127] The processor 401 is the control center of the communication device, which can be a processor or a general term for multiple processing elements. For example, the processor 401 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0128] As an embodiment, the processor 401 may include one or more CPUs, such as Fig. 9 CPU 0 and CPU 1 are shown in .

[0129] The memory 402 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0130] As a possible implementation, the memory 402 may exist independently of the processor 401, and the memory 402 may be connected to the processor 401 via a bus 403 to store instructions or program codes. When the processor 401 calls and executes the instructions or program codes stored in the memory 402, the resource isolation method provided in the embodiment of the present invention can be implemented.

[0131] In another possible implementation, the memory 402 may also be integrated with the processor 401 .

[0132] The bus 403 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0133] It should be pointed out that Fig. 9 The structure shown does not constitute a limitation on the server 40. Fig. 9 In addition to the components shown, the server 40 may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0134] As an example, combining Figure 8 The functions implemented by the receiving unit 301, the acquiring unit 302, the generating unit 303, the sending unit 304, the processing unit 307, the updating unit 308, the determining unit 306 and the authentication unit 305 in the data processing device are the same as those implemented by the receiving unit 301, the acquiring unit 302, the generating unit 303, the sending unit 304, the processing unit 307, the updating unit 308, Fig. 9 The function of processor 401 in is the same.

[0135] Optional, such as Fig. 9 As shown, the server 40 provided in the embodiment of the present invention may further include a communication interface 404 .

[0136] The communication interface 404 is used to connect with other devices through a communication network. The communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 404 may include a receiving unit for receiving data and a sending unit for sending data.

[0137] In one design, in the server provided by an embodiment of the present invention, the communication interface may also be integrated into the processor.

[0138] Fig.10 FIG. 2 shows another hardware structure of a server in an embodiment of the present invention. Fig.10 As shown, the server 50 includes a processor 501 and a communication interface 502. The processor 501 is coupled to the communication interface 502.

[0139] The function of the processor 501 may refer to the description of the processor 401. In addition, the processor 501 also has a storage function, which may refer to the function of the memory 402.

[0140] The communication interface 502 is used to provide data to the processor 501. The communication interface 502 may be an internal interface of the communication device, or an external interface of the communication device (equivalent to the communication interface 404).

[0141] It should be pointed out that Fig.10 The structure shown in the figure does not constitute a limitation on the server, except Fig.10 In addition to the components shown, the server may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0142] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0143] An embodiment of the present invention further provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes each step in the method flow shown in the above method embodiment.

[0144] An embodiment of the present invention provides a computer program product including instructions. When the instructions are executed on a computer, the computer is enabled to execute the resource isolation method in the above method embodiment.

[0145] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), registers, hard disks, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any other form of computer-readable storage medium in a suitable combination of the above, or numerical values ​​in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an Application Specific Integrated Circuit (ASIC). In embodiments of the present invention, computer-readable storage media may be any tangible media that contains or stores a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0146] Since the server, computer-readable storage medium, and computer program product in the embodiments of the present invention can be applied to the above method, the technical effects that can be obtained can also refer to the above method embodiments, and the embodiments of the present invention will not be repeated here.

[0147] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A data processing method, characterized in that: include: Receive data requests from the orchestrator; The data request is used to request to send target data to the terminal, and the data request includes an identifier of a target blockchain node corresponding to the target data; Based on the identifier of the target blockchain node, obtaining target basic data corresponding to the target data from the target blockchain node; The target basic data includes: electricity bill details; The target basic data is calculated and processed to generate the target data, and the target data is sent to the terminal through the orchestrator; the server for calculating and processing the target basic data includes a separate operation node; the operation node includes: a central processing unit CPU or a graphics processing unit GPU that can provide computing resources; the operation node is used to calculate and process the target basic data; Obtaining processing information of the target basic data, and performing an on-chain operation on the processing information, so that the target blockchain node, based on a consensus mechanism, consensuses the processing information to the blockchain network where at least one blockchain node is located; the processing information is used to identify the steps of calculating and processing the target basic data; The data request also includes an identifier of the terminal, and the method further includes: Authenticating the data request based on the identifier of the terminal and the identifier of the target blockchain node; The step of acquiring target basic data corresponding to target data from the target blockchain node based on the identifier of the target blockchain node includes: When the data request passes the authentication, based on the identifier of the target blockchain node, obtaining the target basic data from the target blockchain node; The authenticating the data request based on the identifier of the terminal and the identifier of the target blockchain node includes: Based on the identifier of the target blockchain node, determine the belonging device of the target basic data from the target blockchain node; Based on the identifier of the terminal, the authentication information of the terminal is queried from the home device of the target basic data, so as to authenticate the data request according to the queried authentication information.

2. The data processing method according to claim 1, characterized in that: The method further comprises: receiving a query request from the orchestrator, the query request being used to request that an identifier of a target blockchain node corresponding to the target data be sent to the terminal; In response to the query request, the identifier of the blockchain node where the target basic data is located is determined from a pre-stored index relationship, and the identifier of the target blockchain node is sent to the terminal; the index relationship includes a mapping relationship between data and blockchain nodes.

3. The data processing method according to claim 2, characterized in that: The method further comprises: After the preset data is newly added to the preset blockchain node, an identifier of the preset data and an identifier of the preset blockchain node are obtained, and the index relationship is updated according to the identifier of the preset data and the identifier of the preset blockchain node.

4. A data processing device, characterized in that: include: A receiving unit, an acquiring unit, a generating unit and a sending unit; The receiving unit is used to receive a data request from the scheduler; The data request is used to request to send target data to the terminal, and the data request includes an identifier of a target blockchain node corresponding to the target data; The acquisition unit is used to acquire target basic data corresponding to the target data from the target blockchain node based on the identifier of the target blockchain node received by the receiving unit; The target basic data includes: electricity bill details; The generating unit is used to perform calculation processing on the target basic data acquired by the acquiring unit to generate the target data; the server performing calculation processing on the target basic data includes a separate operation node; the operation node includes: a central processing unit CPU or a graphics processing unit GPU capable of providing calculation resources; the operation node is used to perform calculation processing on the target basic data; The sending unit is used to send the target data generated by the generating unit to the terminal through the scheduler; The acquisition unit is further used to acquire processing information of the target basic data; The processing unit is further used to perform an on-chain operation on the processing information, so that the target blockchain node, based on a consensus mechanism, consensuses the processing information to the blockchain network where at least one blockchain node is located; the processing information is used to identify the steps of calculating and processing the target basic data; The data request further includes an identification of the terminal, and the data processing device further includes an authentication unit; The authentication unit is used to authenticate the data request based on the identifier of the terminal and the identifier of the target blockchain node received by the receiving unit; The acquisition unit is specifically configured to acquire the target basic data from the target blockchain node based on the identifier of the target blockchain node received by the receiving unit when the data request passes the authentication; The data processing device further includes a determination unit; The determining unit is configured to determine, from the target blockchain node, a belonging device of the target basic data based on the identifier of the target blockchain node received by the receiving unit; The authentication unit is specifically configured to query the authentication information of the terminal from the home device of the target basic data based on the identifier of the terminal received by the receiving unit, so as to authenticate the data request according to the queried authentication information.

5. The data processing device according to claim 4, characterized in that: The data processing device further includes a determination unit; The receiving unit is further used to receive a query request from the orchestrator, wherein the query request is used to request that an identifier of a target blockchain node corresponding to the target data be sent to the terminal; The determining unit is configured to determine, in response to the query request received by the receiving unit, an identifier of the blockchain node where the target basic data is located from a pre-stored index relationship; The sending unit is also used to send the identifier of the target blockchain node determined by the determination unit to the terminal; the index relationship includes a mapping relationship between data and blockchain nodes.

6. The data processing device according to claim 5, characterized in that: The data processing device further comprises an updating unit; The updating unit is used to obtain the identifier of the preset data and the identifier of the preset blockchain node after the preset data is newly added to the preset blockchain node, and update the index relationship according to the identifier of the preset data and the identifier of the preset blockchain node.

7. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions, which, when executed by a computer, cause the computer to perform the data processing method according to any one of claims 1 to 3.

8. A server, characterized in that: include: A processor and a memory; wherein the memory is used to store one or more programs, and the one or more programs include computer-executable instructions. When the server is running, the processor executes the computer-executable instructions stored in the memory to enable the server to execute the data processing method described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Geospatial basic data sharing method and device based on block chain

    CN109255007A

  • Block chain information processing method and related equipment

    CN110855688A

  • Data query method, related equipment and readable storage medium

    CN111339130A

  • Data processing method in blockchain system and related equipment

    CN112291376A