Message processing method and apparatus, and device and storage medium
By introducing a message processing platform into the computing power network to obtain and synchronize computing power service information, the problem of not being able to obtain computing power routing information safely and trustworthy is solved, and the rational allocation of resources and the optimal use of the entire network resources are realized.
Patent Information
- Application Number
- PCT/CN2023/141239
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-15
- Filing Date
- 2023-12-22
- Publication Date
- 2025-03-20
AI Technical Summary
In the existing computing power network, computing power routing information cannot be obtained safely and trustworthyly, resulting in the inability to reasonably allocate resources, affecting the optimization and trustworthy use of the entire network resources.
Through the message processing platform, the original information of the computing power service is obtained according to the registration request of the target provider and synchronized it to the dependent party. The dependent party then synchronizes the computing power service compression information to the target route. The target route determines the processing strategy based on the computing power service compression information and processes the packet.
It improves the security and trustworthiness of message processing, and realizes the optimization and trustworthy use of the entire network resources.
Smart Images

Figure CN2023141239_20032025_PF_FP_ABST
Abstract
Description
Message processing method, device, equipment and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on September 15, 2023, with application number 202311197775.8 and application name “Message Processing Method, Device, Equipment and Storage Medium”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The present invention relates to the field of computer communication technology, and more particularly to a method, apparatus, device and storage medium for processing messages. Background Art
[0003] The computing power network distributes the computing power, storage, algorithm and other resource information of service nodes through the network, and combines network information (such as bandwidth, latency, etc.) to provide the best resource allocation and network connection solutions and messages for different types of user needs, thereby achieving optimal use of the entire network resources.
[0004] At present, the registration of computing power in the computing power network mainly adopts a centralized computing power service registration mechanism. The computing power management platform uniformly registers computing power nodes and allocates IDs (Identity documents). The working mechanism of the computing power network mainly realizes the unified management and forwarding of computing power services through the CFN (Content Forward Network) adapter.
[0005] However, existing message processing methods have the problem of poor security.
[0006] Summary of the Invention
[0007] The present application provides a message processing method, apparatus, device and storage medium to solve the problem of being unable to obtain computing power routing information safely and reliably, unable to reasonably allocate resources to users, and affecting the optimization and trusted use of resources in the entire network.
[0008] In a first aspect, the present application provides a message processing method, comprising:
[0009] The message processing platform obtains the original computing power service information based on the registration request sent by the target provider. The target provider is a provider that meets the computing power service certification requirements. The original computing power service information represents the target provider's processing performance information for the message;
[0010] The message processing platform synchronizes the original information of the computing power service to the relying party;
[0011] The relying party obtains the compressed computing service information based on the original computing service information, and synchronizes the compressed computing service information to the target route, where the target route is the route that establishes a connection with the relying party;
[0012] After receiving the compressed information from the computing service, the target router determines the message processing strategy based on the compressed information from the computing service.
[0013] The target router processes the message sent by the computing power routing announcement server according to the message processing strategy and obtains the message processing result.
[0014] In the embodiment of the present application, the message processing platform obtains the original information of the computing power service according to the registration request sent by the target provider, including:
[0015] The message processing platform receives the registration request sent by the target provider, which includes the computing power service registration information;
[0016] Authenticate the target provider based on the computing power service registration information;
[0017] If the target provider is successfully authenticated, the original information of the computing power service is determined based on the registration request sent by the target provider.
[0018] In the embodiment of the present application, after authenticating the target provider according to the computing power service registration information, the following steps are further included:
[0019] If the target provider fails to authenticate, authentication failure information is fed back to the target provider based on the registration request sent by the target provider.
[0020] In the embodiment of the present application, before the message processing platform synchronizes the original information of the computing power service to the relying party, it also includes:
[0021] Determine the hash value of the original information of the computing power service;
[0022] The hash value of the original computing power service information is sent to the target provider, so that the target provider can determine the service transaction information of the original computing power service information based on the hash value of the original computing power service information. The service transaction information of the original computing power service information is used to confirm the time and transaction status of the transaction of the original computing power service information.
[0023] In the embodiment of the present application, the message processing platform synchronizes the original information of the computing power service to the relying party, including:
[0024] Obtain the computing power service identifier, which is generated by the message processing platform based on the target provider;
[0025] According to the computing power service identifier, the original computing power service information is packaged and processed to generate blockchain data;
[0026] The relying party traverses the blockchain data and determines the original information of the computing power service in the blockchain data based on the computing power service identifier.
[0027] In an embodiment of the present application, the relying party obtains the compressed computing power service information based on the original computing power service information, and synchronizes the compressed computing power service information to the target route, including:
[0028] Obtaining compressed computing power service information based on the original computing power service information, wherein the storage space of the compressed computing power service information is smaller than the storage space of the original computing power service information;
[0029] Determine the target route;
[0030] According to the target route, the computing power service compression information is synchronized to the target route.
[0031] In the embodiment of the present application, the target router processes the message sent by the computing power routing announcement server according to the message processing strategy, and obtains the message processing result, including:
[0032] Determine the computing power routing announcement server to send messages and the computing power requirements of the messages;
[0033] According to the computing power requirement of the computing power routing announcement server for sending the message and the message processing strategy, the message sent by the computing power routing announcement server is processed to obtain a processing result of the message, wherein the processing result of the message includes forwarding and discarding the message.
[0034] In a second aspect, the present application provides a message processing device, comprising:
[0035] The acquisition module is used by the message processing platform to obtain the original computing power service information based on the registration request sent by the target provider. The target provider is a provider that meets the computing power service certification requirements. The original computing power service information represents the target provider's processing performance information for the message;
[0036] The first processing module is used for the message processing platform to synchronize the original information of the computing power service to the relying party;
[0037] The second processing module is used for the relying party to obtain the compressed computing power service information based on the original computing power service information, and synchronize the compressed computing power service information to the target route, where the target route is the route connected to the relying party;
[0038] A first determination module is used for the target router to determine a message processing strategy based on the computing power service compression information after receiving the computing power service compression information;
[0039] The second determination module is used for the target router to process the message sent by the computing power routing announcement server according to the message processing strategy to obtain the message processing result.
[0040] In a third aspect, the present application provides a device, comprising: a processor, and a memory communicatively connected to the processor;
[0041] Memory stores computer-executable instructions;
[0042] The processor executes the computer-executable instructions stored in the memory to implement the message processing method of the embodiment of the present application.
[0043] In a fourth aspect, a computer-readable storage medium stores computer execution instructions, which are used to implement the message processing method of an embodiment of the present application when executed by a processor.
[0044] The message processing method, apparatus, device and storage medium provided in the present application obtain the original information of computing power service according to the registration request sent by the target provider through the message processing platform. The target provider is the provider that meets the authentication requirements of computing power service. The original information of computing power service represents the processing performance information of the target provider for the message; the message processing platform synchronizes the original information of computing power service to the relying party; the relying party obtains the compressed information of computing power service according to the original information of computing power service, and synchronizes the compressed information of computing power service to the target route, wherein the target route is the route that establishes a connection with the relying party; after receiving the compressed information of computing power service, the target route determines the processing strategy of the message according to the compressed information of computing power service; the target route determines the processing strategy of the message according to the compressed information of computing power service; the target route determines the processing strategy of the message according to the compressed information of computing power service. The message processing strategy of the message is to process the message sent by the computing power routing announcement server and obtain the means of processing the message. The message processing platform obtains the original information of the computing power service according to the registration request sent by the target provider that meets the computing power service certification, and then synchronizes the original information of the computing power service to the relying party. The relying party obtains the compressed information of the computing power service based on the original information of the computing power service, and then synchronizes the compressed information of the computing power service to the target routing. The target routing determines the message processing strategy based on the compressed information of the computing power service, and then processes the message sent by the computing power routing announcement server to obtain the processing result of the message, thereby improving the security and reliability of the message processing method and achieving the optimization and trusted use of the resources of the entire network. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0046] FIG1 is a schematic diagram of a scenario of a message processing method provided in an embodiment of the present application;
[0047] FIG2 is a flow chart of a message processing method according to an embodiment of the present application;
[0048] FIG3 is a flow chart of another message processing method provided in an embodiment of the present application;
[0049] FIG4 is a schematic diagram of the structure of a message processing device provided in an embodiment of the present application;
[0050] FIG5 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0051] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0052] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0053] In the prior art, when distributing resource information of service nodes on a computing power network, a trust assessment mechanism for the computing power network is generally established through multiple dimensions, such as user and resource identity trust and behavioral trust. A centralized computing power service registration implementation mechanism is then adopted, with the computing power management platform uniformly registering computing power nodes and allocating IDs. However, when distributing in this way, since computing power service node authentication and computing power routing verification are not provided, it cannot constitute a trusted data source for computing power routing information verification. Moreover, the centralized implementation mechanism is prone to problems such as power centralization and single points of failure. Therefore, simply establishing a trust assessment mechanism for the computing power network and a centralized computing power service registration implementation mechanism cannot meet the security and credibility requirements of users for distributed resource information messages, nor can it achieve the effect of optimizing and trustworthy use of resources across the entire network.
[0054] In order to solve the above problems, the present application provides a message processing method, which synchronizes the original information of the computing power service of the target provider to the relying party through the message processing platform. The relying party then obtains the compressed information of the computing power service and synchronizes it to the target route. The target route determines the processing strategy based on the compressed information of the computing power service, and processes the message sent by the computing power route declaration server to obtain the processing result. As a result, users can obtain safe and reliable message processing results.
[0055] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0056] Embodiments of the present application provide a message processing method, apparatus, device, and storage medium.
[0057] Figure 1 is a scenario diagram of a message processing method provided in an embodiment of the present application. As shown in Figure 1, the execution subject of the message processing method can be a message processing system, and the message processing system 10 includes: a target provider 101, a message processing platform 102, a relying party 103, a target router 104, and a computing power routing announcement server 105. The target provider sends the original computing power service information to the message processing platform. The message processing platform synchronizes the original computing power service information to the relying party. The relying party compresses the information to obtain the compressed computing power service information and synchronizes it to the target router. The target router formulates a message processing strategy based on the compressed computing power service information, and then receives the message sent by the computing power routing announcement server and processes it. This embodiment does not impose any special restrictions on the implementation method of the execution entity, as long as the message processing platform carried by the execution entity can obtain the original information of the computing power service based on the registration request sent by the target provider, the target provider is a provider that meets the computing power service certification requirements, and the original information of the computing power service represents the target provider's processing performance information for the message; the message processing platform synchronizes the original information of the computing power service to the relying party; the relying party obtains the compressed computing power service information based on the original information of the computing power service, and synchronizes the compressed computing power service information to the target route, where the target route is the route that establishes a connection with the relying party; after receiving the compressed computing power service information, the target route determines the message processing strategy based on the compressed computing power service information; the target route processes the message sent by the computing power route declaration server according to the message processing strategy, and obtains the message processing result.
[0058] Among them, the message processing platform may include a large network support platform with computing power, which is composed of distributed computing units.
[0059] FIG2 is a flow chart of a message processing method provided in an embodiment of the present application. The execution subject of this method may be a server or other server, and this embodiment is not particularly limited here. As shown in FIG2 , the method may include:
[0060] S201. The message processing platform obtains the original information of the computing power service based on the registration request sent by the target provider. The target provider is a provider that meets the computing power service certification requirements. The original information of the computing power service represents the target provider's processing performance information for the message.
[0061] Among them, the registration request may refer to a request with relevant information sent by the target provider when obtaining permission to access or use the message processing platform, which may include computing service registration information such as IP (Internet Protocol) address, geographic location information, timestamp, as well as computing service original information such as computing resources and computing performance.
[0062] The target provider may include a server that provides computing power services, wherein the computing power services may include computing services that process information data to achieve target result output.
[0063] The method for the target provider to send a registration request may include the target provider sending a registration request to the message processing platform through the evidence interface of the message processing platform. In some embodiments, the target provider and the message processing platform may agree on the file server address, password, file naming rules, file content format, etc., and conduct data interaction by uploading the registration request to the server.
[0064] The original information of the computing power service may include information that can characterize the target provider's processing performance of the message. In an embodiment of the present application, the message processing platform can obtain the original information of the computing power service from the registration request, which may include information such as computing power resources and computing power performance.
[0065] The computing power service authentication requirements may include the service capability requirements set by the message processing platform for the target provider. In an embodiment of the present application, the computing power service authentication requirements may be that the capacity of the internal cache of the target provider's CPU (Central Processing Unit) must be greater than 64 bytes.
[0066] In this embodiment of the present application, the message processing platform obtains the original information of the computing power service according to the registration request sent by the target provider, including:
[0067] The message processing platform receives the registration request sent by the target provider, which includes the computing power service registration information;
[0068] Authenticate the target provider based on the computing power service registration information;
[0069] If the target provider is successfully authenticated, the original information of the computing power service is determined based on the registration request sent by the target provider.
[0070] Among them, the computing power service registration information may include relevant information of the target provider, such as IP address, geographic location information, timestamp and other information.
[0071] The method for authenticating the target provider may include the message processing platform confirming the target provider's service capabilities through the computing power service registration information in the target provider's registration request. In an embodiment of the present application, the message processing platform can obtain the target provider's device information through the received computing power service registration information and compare the target provider's device information with the authentication requirements set by the message processing platform. When the target provider's device information meets the authentication requirements set by the message processing platform, the authentication is successful.
[0072] The method of determining the original information of the computing power service based on the registration request sent by the target provider may include the message processing platform receiving the registration request sent by the target provider through the evidence storage interface, and obtaining the original information of the computing power service in the registration request.
[0073] In this embodiment of the present application, after authenticating the target provider according to the computing power service registration information, the method further includes:
[0074] If the target provider fails to authenticate, a registration failure message will be fed back to the target provider based on the registration request sent by the target provider.
[0075] Among them, the method of feeding back the registration failure information to the target provider may include receiving the registration request of the target provider through the message processing platform, and returning the registration failure information through the original path.
[0076] S202. The message processing platform synchronizes the original information of the computing power service to the relying party.
[0077] Among them, the relying party may include users who have computing power service needs. For example, if a user needs to use computing power for applications such as face recognition, he or she can submit a computing power service demand to the message processing platform. At this time, the user is the relying party.
[0078] In this embodiment of the present application, before the message processing platform synchronizes the original information of the computing power service to the relying party, the method further includes:
[0079] Determine the hash value of the original information of the computing power service;
[0080] The hash value of the original computing power service information is sent to the target provider, so that the target provider can determine the service transaction information of the original computing power service information based on the hash value of the original computing power service information. The service transaction information of the original computing power service information is used to confirm the time and transaction status of the transaction of the original computing power service information.
[0081] Among them, the hash value may include using cryptographic technology to convert the data in the service transaction of the original information of the computing power service into an output value of a fixed length.
[0082] The method of sending the hash value of the original information of the computing power service to the target provider may include sending it to the target provider through the message processing platform through the evidence interface.
[0083] The method of determining the service transaction information of the original information of the computing power service may include the target provider obtaining the service transaction information generated by the original information of the computing power service during the transaction process through a hash value. In an embodiment of the present application, the message processing platform provides the target provider with the hash value of the original information of the computing power service. The target provider can query the relevant website based on the hash value to verify whether the transaction exists, check the time when the transaction occurred, or check the progress of the transaction.
[0084] In this embodiment of the present application, the message processing platform synchronizes the original information of the computing power service to the relying party, including:
[0085] Obtain the computing power service identifier, which is generated by the message processing platform based on the target provider;
[0086] According to the computing power service identifier, the original computing power service information is packaged and processed to generate blockchain data;
[0087] The relying party traverses the blockchain data and determines the original information of the computing power service in the blockchain data based on the computing power service identifier.
[0088] The computing power service identifier may refer to a method for obtaining the computing power service identifier that may include the message processing platform parsing the original information of the computing power service to generate a non-repeating identifier.
[0089] The packaging process may refer to a method of packaging the original information of the computing power service, which may include packaging multiple original information of the computing power service with similar identifiers into a block according to the computing power service identifier, and the block contains blockchain data.
[0090] Blockchain data may include data stored in blocks that are sequentially linked into a chain.
[0091] The method for the relying party to determine the original information of the computing power service in the blockchain data may include the relying party matching the multiple packaged blockchain data according to the computing power service identifier, and obtaining the original information of the computing power service corresponding to the blockchain data with the highest matching degree.
[0092] Among them, in some embodiments, the method for the message processing platform to synchronize the original information of the computing power service to the relying party may also include achieving synchronization through the publish / subscribe mechanism of the database backup provided by the relational database management system.
[0093] S203. The relying party obtains the compressed computing power service information based on the original computing power service information, and synchronizes the compressed computing power service information to the target route, where the target route is the route that establishes a connection with the relying party.
[0094] The computing power service compressed information may refer to the computing power service compressed information obtained by compressing the original computing power service information. The storage space occupied by the computing power service compressed information is smaller than that of the original computing power service information. The compression method for compressing the original computing power service information may include DEFAULT, Gzip, etc.
[0095] In some embodiments, the computing power service original information can be compressed by run-length encoding (RLE) to obtain computing power service compressed information, where run-length encoding can refer to a compression technology that uses a fixed-length code to replace continuously repeated original data.
[0096] The target router may refer to a network device that establishes a connection with a relying party. When in use, the target router may read the address in each data packet, determine the transmission method of the data packet, and finally transmit the data packet according to the determined transmission method.
[0097] Synchronizing the computing power service compression information to the target route may refer to a process of establishing a connection between the relying party and the target route through an information service interface, and then synchronizing the computing power service compression information from the relying party to the target route through the connection.
[0098] In the embodiment of the present application, the relying party obtains the compressed computing power service information based on the original computing power service information, and synchronizes the compressed computing power service information to the target route, including:
[0099] Obtaining compressed computing service information based on the computing service original information and the computing service identifier, wherein the storage space of the compressed computing service information is smaller than the storage space of the original computing service information;
[0100] Determine the target route;
[0101] According to the target route, the computing power service compression information is synchronized to the target route.
[0102] Among them, the way to obtain the compressed information of the computing power service can be that the relying party compresses the original information of the computing power service according to the computing power service identifier.
[0103] The target route can be determined by the server finding a route connected to the relying party among multiple routes. In an embodiment of the present application, for example, there are three routes A, B, and C, among which only route A has established a connection with the relying party, then route A is the target route.
[0104] In some embodiments, the computing power service compression information can be synchronized to the target route through SQL (Structured Query Language), that is, after the relying party and the target route are connected, the target route reads the computing power service compression information from the relying party through the SQL scheduled job statement, and then updates it to the target route.
[0105] S204. After receiving the computing power service compression information, the target router determines a message processing strategy based on the computing power service compression information.
[0106] The message processing strategy may include criteria for the target router to process the message. The target router formulates the message processing strategy based on the compressed information of the computing power service. For example, the judgment criterion may be whether the memory capacity in the compressed information of the computing power service is greater than 10 gigabytes.
[0107] S205. The target router processes the message sent by the computing power routing announcement server according to the message processing strategy to obtain the message processing result.
[0108] Among them, the target router processes the message sent by the computing power routing announcement server according to the message processing strategy, which can refer to the process in which the target router judges the message sent by the computing power routing announcement server according to the determined message processing strategy.
[0109] The computing power routing announcement server can refer to a high-performance computer in a network environment. During use, the computing power routing announcement server can forward routing announcement messages from other routers or collect computing power services within the domain and initiate routing announcement messages for computing power services.
[0110] The message may refer to data information that needs to be transmitted, such as the configuration link of the router, network parameters, etc.
[0111] The message processing result can mean that the target router forwards the message to the relying party or discards it.
[0112] In an embodiment of the present application, the processing strategy may be whether the memory capacity is greater than 10 gigabytes. When the target router receives the message sent by the computing power routing announcement server, if the memory capacity in the message is greater than 10 gigabytes, then based on the processing strategy, a result representing forwarding can be obtained; if the memory capacity in the message is less than or equal to 10 gigabytes, then based on the processing strategy, a result representing discarding can be obtained.
[0113] In the embodiment of the present application, the target router processes the message sent by the computing power routing announcement server according to the message processing strategy, and obtains the message processing result, including:
[0114] Determine the computing power routing announcement server to send messages and the computing power requirements of the messages;
[0115] According to the computing power requirement of the computing power routing announcement server for sending the message and the message processing strategy, the message sent by the computing power routing announcement server is processed to obtain a processing result of the message, wherein the processing result of the message includes forwarding and discarding the message.
[0116] The computing power requirement of a message may refer to the ability of the message to process data information, and the computing power requirement of the message is recorded in the message.
[0117] The method for determining the message sent by the computing power routing announcement server and the computing power requirement of the message can be that the target router receives the message sent by the computing power routing announcement server and analyzes it to understand the application scenario, data set size, type of processing task, etc., so as to determine the computing power requirement of the message.
[0118] The message processing method provided in the embodiment of the present application can realize the identity authentication of the target provider based on the distributed computing power service node authentication and registration mechanism of the blockchain, and judge and process the message according to the computing power service information through routing, thereby meeting the user's needs for completing message processing safely and reliably, and achieving the optimization and trusted use of the entire network resources.
[0119] FIG3 is another message processing method provided in an embodiment of the present application. As shown in FIG3 , the method may include:
[0120] S301. Obtain a registration request sent by a target provider. The message processing platform authenticates the registration request sent by the target provider. If the authentication fails, the message processing platform returns authentication failure information to the target provider.
[0121] The authentication of the registration request may be determined based on the computing power service registration information in the registration request.
[0122] S302. If the authentication is successful, the message processing platform agrees to the registration request sent by the provider, obtains the original information of the computing power service according to the registration request sent by the provider, and returns the hash value of the original information of the computing power service to the target provider.
[0123] Among them, the hash value can be obtained by processing the original information of the computing power service through cryptographic technology.
[0124] S303. The relying party obtains the original information of the computing power service, obtains the compressed information of the computing power service based on the original information of the computing power service, and synchronizes the compressed information of the computing power service to the target route.
[0125] The computing power service compression information can be obtained by compressing the original computing power service information in formats such as DEFAULT and Gzip.
[0126] S304. The target router determines the message processing strategy based on the computing power service compression information.
[0127] The message processing policy may refer to a judgment criterion for the target router to forward or discard the message.
[0128] S305. The target router processes the message sent by the computing power routing announcement server according to the message processing strategy and obtains the message processing result.
[0129] The message processing result may refer to the result of the target router forwarding or discarding the message.
[0130] Another message processing method provided in an embodiment of the present application can register a successfully authenticated target provider, obtain the original information of the computing power service, and synchronize it to the relying party. The relying party compresses the original information of the computing power service and synchronizes the obtained compressed computing power service information to the target route. The target route formulates a message processing strategy based on the compressed computing power service information, and processes the message sent by the computing power route declaration server, thereby obtaining the message processing result safely and reliably to meet the needs of users.
[0131] FIG4 is a schematic diagram of the structure of the message processing device provided in an embodiment of the present application. As shown in FIG4 , the message processing device 40 includes: an acquisition module 401, a first processing module 402, a second processing module 403, a first determination module 404, and a second determination module 405. Among them:
[0132] Acquisition module 401 is used for the message processing platform to obtain computing power service original information based on the registration request sent by the target provider. The target provider is a provider that meets the computing power service certification requirements. The computing power service original information represents the target provider's processing performance information for the message;
[0133] The first processing module 402 is used for the message processing platform to synchronize the original information of the computing power service to the relying party;
[0134] The second processing module 403 is configured for the relying party to obtain the compressed computing power service information based on the original computing power service information, and synchronize the compressed computing power service information to a target route, where the target route is the route connected to the relying party;
[0135] A first determination module 404 is configured to determine, after receiving the computing power service compression information, a message processing strategy based on the computing power service compression information by the target router;
[0136] The second determining module 405 is configured for the target router to process the message sent by the computing power routing announcement server according to the message processing strategy to obtain a message processing result.
[0137] In the embodiment of the present application, the acquisition module 401 may also be used to:
[0138] The message processing platform receives the registration request sent by the target provider, which includes the computing power service registration information;
[0139] The target provider is authenticated based on the computing power service registration information. If the target provider is successfully authenticated, the original computing power service information is determined based on the registration request sent by the target provider.
[0140] In the embodiment of the present application, the acquisition module 401 may also be used to:
[0141] If the target provider fails to authenticate, authentication failure information is fed back to the target provider based on the registration request sent by the target provider.
[0142] In the embodiment of the present application, the first processing module 402 may also be used to:
[0143] Determine the hash value of the original information of the computing power service;
[0144] The hash value of the original computing power service information is sent to the target provider, so that the target provider can determine the service transaction information of the original computing power service information based on the hash value of the original computing power service information. The service transaction information of the original computing power service information is used to confirm the time and transaction status of the transaction of the original computing power service information.
[0145] In the embodiment of the present application, the first processing module 402 may also be used to:
[0146] Obtain the computing power service identifier, which is generated by the message processing platform based on the target provider;
[0147] According to the computing power service identifier, the original computing power service information is packaged and processed to generate blockchain data;
[0148] The relying party traverses the blockchain data and determines the original information of the computing power service in the blockchain data based on the computing power service identifier.
[0149] In the embodiment of the present application, the second processing module 403 may also be used to:
[0150] Obtaining compressed computing service information based on the computing service original information and the computing service identifier, wherein the storage space of the compressed computing service information is smaller than the storage space of the original computing service information;
[0151] Determine the target route;
[0152] According to the target route, the computing power service compression information is synchronized to the target route.
[0153] In the embodiment of the present application, the second determining module 405 may also be used to:
[0154] Determine the computing power routing announcement server to send messages and the computing power requirements of the messages;
[0155] According to the computing power requirement of the computing power routing announcement server for sending the message and the message processing strategy, the message sent by the computing power routing announcement server is processed to obtain a processing result of the message, wherein the processing result of the message includes forwarding and discarding the message.
[0156] As can be seen from the above, the message processing device of this embodiment is composed of an acquisition module 401, which is used by the message processing platform to obtain the original information of the computing power service according to the registration request sent by the target provider. The target provider is a provider that meets the computing power service certification requirements, and the original information of the computing power service represents the processing performance information of the target provider for the message; a first processing module 402 is used by the message processing platform to synchronize the original information of the computing power service to the relying party; a second processing module 403 is used by the relying party to obtain the computing power service compression information based on the computing power service original information, and synchronize the computing power service compression information to the target route, wherein the target route is the route that establishes a connection with the relying party; a first determination module 404 is used by the target route to determine the message processing strategy according to the computing power service compression information after receiving the computing power service compression information; a second determination module 405 is used by the target route to process the message sent by the computing power route declaration server according to the message processing strategy to obtain the message processing result. Therefore, the message processing method provided in the embodiment of the present application can realize the identity authentication of the target provider based on the distributed computing power service node authentication and registration mechanism of the blockchain, and judge and process the message according to the computing power service information through routing, thereby meeting the user's needs for safe and reliable completion of message processing, and achieving the optimization and trusted use of the entire network resources.
[0157] FIG5 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. As shown in FIG5 , the electronic device 50 includes:
[0158] The electronic device 50 may include one or more processors 501 , one or more computer-readable storage media memories 502 , a communication component 503 , and other components. The processor 501 , the memory 502 , and the communication component 503 are connected via a bus 504 .
[0159] In a specific implementation process, at least one processor 501 executes the computer-executable instructions stored in the memory 502, so that the at least one processor 501 executes the above message processing method.
[0160] The specific implementation process of the processor 501 can be found in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here in this embodiment.
[0161] In the embodiment shown in FIG. 5 , it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), or application-specific integrated circuits (ASICs). A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly executed by a hardware processor or by a combination of hardware and software modules within the processor.
[0162] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory.
[0163] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be classified into address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.
[0164] In some embodiments, a computer program product is further proposed, comprising a computer program or instructions, which implement the steps in any of the above-mentioned message processing methods when executed by a processor.
[0165] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.
[0166] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0167] To this end, an embodiment of the present application provides a computer-readable storage medium, which stores multiple instructions, and the instructions can be loaded by a processor to execute the steps in any message processing method provided in the embodiment of the present application.
[0168] The storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0169] According to one aspect of the present application, a computer program product or a computer program is provided. The computer program product or the computer program comprises computer instructions stored in a computer-readable storage medium.
[0170] Since the instructions stored in the storage medium can execute the steps in any message processing method provided in the embodiments of the present application, the beneficial effects that can be achieved by any message processing method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0171] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0172] It should be understood that the present application is not limited to the exact structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A message processing method, characterized in that: Applied to message processing systems, including: The message processing platform obtains the original information of the computing power service according to the registration request sent by the target provider, the target provider is a provider that meets the computing power service certification requirements, and the original information of the computing power service represents the processing performance information of the target provider for the message; The message processing platform synchronizes the original information of the computing power service to the relying party; The relying party obtains the computing power service compressed information according to the computing power service original information, and synchronizes the computing power service compressed information to the target route, wherein the target route is the route that establishes a connection with the relying party; After receiving the computing power service compression information, the target router determines a processing strategy for the message according to the computing power service compression information; The target router processes the message sent by the computing power routing announcement server according to the message processing strategy to obtain the processing result of the message.
2. The method according to claim 1, characterized in that The message processing platform obtains the original information of the computing power service according to the registration request sent by the target provider, including: The message processing platform receives a registration request sent by the target provider, where the registration request includes computing power service registration information; Authenticating the target provider according to the computing power service registration information; If the target provider is successfully authenticated, the original information of the computing power service is determined according to the registration request sent by the target provider.
3. The method according to claim 2, characterized in that After authenticating the target provider according to the computing power service registration information, the method further includes: If the target provider fails in authentication, authentication failure information is fed back to the target provider according to the registration request sent by the target provider.
4. The method according to claim 1, characterized in that: Before the message processing platform synchronizes the computing power service original information to the relying party, the method further includes: Determine the hash value of the original information of the computing power service; The hash value of the original computing service information is sent to the target provider, so that the target provider can determine the service transaction information of the original computing service information according to the hash value of the original computing service information, and the service transaction information is used to verify the original computing service information. The time and status of the service transaction.
5. The method according to claim 1, characterized in that The message processing platform synchronizes the original information of the computing power service to the relying party, including: Obtaining a computing power service identifier, where the computing power service identifier is an identifier generated by the message processing platform according to the target provider; According to the computing power service identifier, the original information of the computing power service is packaged and processed to generate blockchain data; The relying party traverses the blockchain data and determines the original information of the computing power service in the blockchain data based on the computing power service identifier.
6. The method according to claim 1, characterized in that The relying party obtains the compressed computing service information according to the original computing service information, and synchronizes the compressed computing service information to the target route, including: Obtaining the computing power service compressed information according to the computing power service original information and the computing power service identifier, wherein the storage space of the computing power service compressed information is smaller than the storage space of the computing power service original information; determining the target route; According to the target route, the computing power service compression information is synchronized to the target route.
7. The method according to claim 1, characterized in that The target router processes the message sent by the computing power routing announcement server according to the message processing strategy, and obtains the processing result of the message, including: Determine the computing power routing announcement server to send a message and the computing power requirement of the message; According to the computing power requirement of the computing power routing announcement server for sending the message and the processing strategy of the message, the message sent by the computing power routing announcement server is processed to obtain the processing result of the message, wherein the processing result of the message includes forwarding and discarding the message.
8. A message processing device, characterized in that: include: An acquisition module is used for the message processing platform to acquire the original information of the computing power service according to the registration request sent by the target provider, wherein the target provider is a provider that meets the computing power service certification requirements, and the original information of the computing power service represents the processing performance information of the target provider for the message; The first processing module is used for the message processing platform to synchronize the original information of the computing power service to the relying party; The second processing module is used for the relying party to obtain the computing power according to the computing power service original information. service compression information, and synchronize the computing power service compression information to the target route, wherein the target route is the route that establishes a connection with the relying party; A first determination module, configured for the target router to determine a processing strategy for the message according to the computing power service compression information after receiving the computing power service compression information; The second determination module is used for the target router to process the message sent by the computing power routing announcement server according to the processing strategy of the message to obtain the processing result of the message.
9. A message processing system, characterized in that: include: A processor and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the message processing method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Communication method and device
CN116193567A
Computing power access method and device, electronic equipment and storage medium
CN116346938A
Message processing method and device, equipment and storage medium
CN117240546A
Computing power processing network system and computing power processing method
WO2021190482A1