Method and apparatus for constructing computing power identification signaling, communication device and storage medium
By generating signaling messages containing message type, message length, and transaction identifier, the construction of computing power identification signaling is realized, which solves the problem of low resource scheduling efficiency in the existing technology and improves the efficiency of resource scheduling.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER
- Filing Date
- 2025-10-10
- Publication Date
- 2026-05-28
AI Technical Summary
Existing computing resource management methods require multiple screenings during resource scheduling, resulting in low scheduling efficiency.
By generating signaling messages, including message headers and message bodies, the message headers contain message type, message length, and transaction identifiers, enabling one-time filtering of computing power identifiers to determine target computing power resources.
It improves the efficiency of resource scheduling, reduces screening time, and simplifies the process of computing power identification management.
Smart Images

Figure CN2025126707_28052026_PF_FP_ABST
Abstract
Description
Computing power identification signaling construction method, apparatus, communication equipment and storage medium
[0001] This application claims priority to Chinese Patent Application No. 202411654128X, filed on November 19, 2024, entitled “Method, Apparatus, Communication Equipment and Storage Medium for Constructing Computing Power Identification Signaling”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of communication technology, and in particular to a method, apparatus, communication equipment, storage medium, and computer program product for constructing computing power identification signaling. Background Technology
[0003] A Computing Power Network (CPN) is a new type of information infrastructure that allocates and flexibly schedules various computing resources (such as computing resources, network resources, storage resources, and application server resources) on demand among the cloud, network, and edge according to business needs.
[0004] In related technologies, during resource scheduling, the scheduling requirements include target resource types and attribute constraints. Initial target computing resources that meet the target resource types are selected from among the various computing resources, and target computing resources that meet the attribute constraints are selected from among the initial target computing resources based on attribute information.
[0005] However, current computing resource management methods require multiple screening processes to determine the target computing resources to be scheduled, which is time-consuming. Therefore, current computing resource management methods result in slow resource scheduling efficiency. Summary of the Invention
[0006] This application provides a method, apparatus, communication device, storage medium, and computer program product for constructing computing power identification signaling, which can improve the scheduling efficiency of resource scheduling.
[0007] A computing power identification signaling method, the method comprising:
[0008] The initiator generates a signaling message; the signaling message includes a message header and a message body; the message header includes message type, message length and transaction identifier.
[0009] A computing power identification signaling construction device, the device comprising:
[0010] The generation module is configured to generate signaling messages for the initiator; the signaling messages include a message header and a message body; the message header includes message type, message length and transaction identifier.
[0011] A communication device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0012] The initiator generates a signaling message; the signaling message includes a message header and a message body; the message header includes message type, message length and transaction identifier.
[0013] A computer-readable storage medium having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0014] The initiator generates a signaling message; the signaling message includes a message header and a message body; the message header includes message type, message length and transaction identifier.
[0015] A computer program product includes a computer program that, when executed by a processor, implements the computing power identification signaling construction method provided in the embodiments of this application. This method may include:
[0016] The initiator generates a signaling message; the signaling message includes a message header and a message body; the message header includes message type, message length and transaction identifier.
[0017] The aforementioned method, apparatus, communication equipment, storage medium, and computer program product for constructing computing power identification signaling involve an initiator generating a signaling message. This signaling message includes a message header and a message body; the message header includes message type, message length, and transaction identifier. Using this method, computing power identification signaling is constructed through this signaling message, enabling the signaling receiver to manage a unified computing power identifier based on the computing power signaling identifier during the interaction process of computing power identifier operations. Furthermore, by filtering computing power identifiers once, the target computing power resource can be determined, reducing filtering time and improving the scheduling efficiency of resource allocation. Attached Figure Description
[0018] Figure 1 is an application environment diagram of the computing power identification signaling construction method in one embodiment;
[0019] Figure 2 is a schematic diagram of the structure of a signaling message in one embodiment;
[0020] Figure 3 is a schematic diagram of the structure of a transaction identifier in one embodiment;
[0021] Figure 4 is a schematic diagram of the process of generating signaling messages in one embodiment;
[0022] Figure 5 is a flowchart illustrating the interaction process of initiating a computing power identification operation in one embodiment;
[0023] Figure 6 is a signaling diagram of computing power identifier registration and computing power identifier generation signaling in an exemplary embodiment;
[0024] Figure 7 is a signaling diagram of updating the computing power identifier and generating the computing power identifier signaling in an exemplary embodiment;
[0025] Figure 8 is a signaling diagram of the cancellation of computing power identifier and the generation of computing power identifier signaling in an exemplary embodiment;
[0026] Figure 9 is a flowchart illustrating the encrypted signaling message in one embodiment;
[0027] Figure 10 is a schematic diagram of the data flow of encrypted signaling messages in an exemplary embodiment;
[0028] Figure 11 is an architecture diagram of a computing power network operation platform of an exemplary embodiment;
[0029] Figure 12 is an internal structure diagram of a communication device in one embodiment. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0031] Figure 1 is a schematic diagram of an application scenario for constructing computing power identification signaling according to an embodiment of this application. As shown in Figure 1, the scenario includes an initiator 110 and a signaling executor 120. The initiator 110 generates a signaling message and constructs computing power identification signaling based on the signaling message. Then, the initiator 110 sends the computing power identification signaling to the signaling executor 120. The signaling executor 120 receives the computing power identification signaling and manages the computing power identification based on the computing power identification signaling. Optionally, the initiator 110 is a computing power resource provider. The signaling executor 120 is a computing power network operation platform. The computing power network operation platform includes a computing power identification management system and a computing power identification modeling and storage system. That is, the signaling executor 120 can be the computing power identification management system or the computing power identification modeling and storage system in the computing power network operation platform. The computing power resource provider is a service provider that provides computing power (i.e., "computing power"). The computing power network operation platform is an integrated management system designed to support and optimize the operation and management of the computing power network. The computing power identification management system is a crucial subsystem within the computing power network operation platform. It is specifically responsible for managing and identifying various computing power resources within the network, ensuring that these resources can be accurately identified, located, and scheduled. The computing power identification modeling and storage system is another key subsystem within the computing power network operation platform. Its primary responsibility is to perform standardized modeling, unique identification, and centralized storage of computing power resources within the network.
[0032] It should be noted that the beneficial effects or technical problems solved by the embodiments of this application are not limited to this one, but may also be other implicit or related problems. For details, please refer to the description of the embodiments below.
[0033] Before introducing specific embodiments of the present invention, the technical terms involved in the present invention will be explained:
[0034] Computing Power Network (CPN) is a new type of information infrastructure that allocates and flexibly schedules computing, storage, and network resources on demand among the cloud, network, and edge based on business needs.
[0035] Computing power identification: an effective identification system for computing power resources in computing power networks, including chips, resources, functions, features, and applications.
[0036] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0037] In one embodiment, a method for constructing a computing power identification signaling is provided. Taking the application of this method to initiator 110 (hereinafter referred to as initiator) in Figure 1 as an example, the method includes the following steps:
[0038] The initiator generates a signaling message.
[0039] In some implementations, signaling messages include a message header and a message body; the message header includes the message type, message length, and transaction identifier.
[0040] In some implementations, the initiator generates a transaction identifier and, based on the transaction, generates a message body. Then, the initiator determines the message type according to business requirements. The initiator assembles the message type, message length, and transaction identifier to obtain a message header, and then assembles the message header and message body to obtain a signaling message. The initiator generates a computing power identification signaling message based on the signaling message and sends the computing power identification signaling message to the signaling executor, enabling the signaling executor to manage computing power identifiers according to the computing power identification signaling message.
[0041] In an exemplary embodiment, FIG2 is a schematic diagram of the structure of a signaling message in one embodiment. As shown in FIG2, the signaling message includes a message header and a message body. The message header includes a message type, a message length, and a transaction identifier.
[0042] In the aforementioned computing power identification signaling method, computing power identification signaling is constructed through this signaling message, enabling the signaling receiver to manage a unified computing power identifier based on the computing power signaling identifier during the interaction process of computing power identifier operation. Furthermore, by filtering computing power identifiers in a single step, the target computing power resource can be determined, reducing filtering time and improving the scheduling efficiency of resource allocation.
[0043] In one embodiment, the transaction identifier is generated by the initiator and used in the interaction process of the computing power identification operation; the transaction identifier is divided into two parts, including the transaction sequence code and the transaction operation parameters.
[0044] In some implementations, the initiator generates a transaction identifier. This transaction identifier is used to initiate the interactive process of computing power identification operations. The interactive process of computing power identification operations includes the generation, updating, and deletion of computing power identifiers. The transaction identifier consists of two parts: a transaction sequence code and transaction operation parameters.
[0045] Specifically, when the initiator needs a new transaction management computing power signaling identifier, the initiator generates a transaction sequence code for that transaction. Simultaneously, the operation type of the initiator's transaction determines the transaction operation parameters. Then, the initiator assembles the transaction sequence code and transaction operation parameters to obtain the transaction identifier.
[0046] In one exemplary embodiment, FIG3 is a schematic diagram of the structure of a transaction identifier in one embodiment. As shown in FIG3, the transaction identifier Transaction ID includes a transaction sequence code and a transaction operation parameter.
[0047] In some implementations, the interaction process of initiating computing power identification operations through transaction identifiers allows the initiator to manage unified computing power identifiers during the operation. Furthermore, by filtering computing power identifiers in a single step, the target computing power resource can be determined, reducing filtering time and improving resource scheduling efficiency.
[0048] In one embodiment, the transaction sequence code is a transaction sequence number generated by the initiator; the transaction operation parameters indicate the type of transaction operation, including six operations: transaction start, execution, failure, pause, cancellation, and completion.
[0049] In some implementations, the initiator generates a transaction column number, obtaining a transaction sequence code. This transaction sequence code is a unique identifier for the transaction. The initiator determines the transaction operation parameters based on the type of transaction operation. That is, the transaction operation parameters characterize the type of transaction operation. Transaction operation parameters include six types of transaction operations: transaction initiation, transaction execution, transaction failure, transaction pause, transaction cancellation, and transaction completion. Furthermore, the transaction operation type changes the state of the transaction.
[0050] In some implementations, transactions can be quickly queried and processed using transaction sequence codes. Furthermore, transaction operation parameters that characterize different transaction operation types can better manage transactions and improve the flexibility of transaction operations.
[0051] In one embodiment, the transaction operation parameters include the transaction initiation parameter: TransInit, the transaction execution parameter: TransExec, the transaction failure parameter: TransFail, the transaction pause parameter: TransPaus, the transaction cancellation parameter: TransCanc, and the transaction completion parameter: TransComp.
[0052] In some implementations, transaction operation parameters and transaction operation types correspond to each other. Since the types of transaction operations include transaction initiation, transaction execution, transaction failure, transaction pause, transaction cancellation, and transaction completion, there are also six types of transaction operation parameters: transaction initiation parameter: TransInit, transaction execution parameter: TransExec, transaction failure parameter: TransFail, transaction pause parameter: TransPaus, transaction cancellation parameter: TransCanc, and transaction completion parameter: TransComp.
[0053] In some implementations, TransInit indicates that the transaction operation type is transaction initiation, meaning the transaction is in the initiation state; TransExec indicates that the transaction operation type is transaction execution, meaning the transaction is in the normal execution state; TransFail indicates that the transaction operation type is transaction failure, meaning the transaction is in the execution failure state; TransPaus indicates that the transaction operation type is transaction pause, meaning the transaction is in the temporarily stopped execution state; TransCanc indicates that the transaction operation type is transaction cancellation, meaning the transaction is in the execution stage and has been cancelled, requiring a rollback; and TransComp indicates that the transaction operation type is transaction completion, meaning the transaction is in the execution completion state.
[0054] In some implementations, by using transaction operation parameters in signaling messages to represent different types of transaction operations, the signaling executor can perform the corresponding operations, and the initiator can clearly identify the execution result of the signaling with computing power, thus achieving flexible management of transactions.
[0055] In one embodiment, after the signaling is executed successfully, the initiator receives the execution result from the signaling executor, which carries the transaction execution parameters. Alternatively, if the initiator sends multiple signaling messages consecutively, the transaction execution parameters are used to keep the transaction active.
[0056] In some implementations, the initiator sends a computing power identification signaling message to the signaling executor. Once this signaling message is successfully executed, the executor sends the execution result back to the initiator. This result carries the transaction execution parameter TransExec. The initiator receives the execution result of the computing power identification signaling message. Because the execution result carries the transaction execution parameter TransExec, the initiator determines that the signaling message was executed normally and successfully. Alternatively, if the initiator sends multiple consecutive signaling messages (i.e., computing power identification signaling messages), these message messages contain the transaction execution parameter TransExec, which is used to keep the transaction active.
[0057] In some implementations, by sending the execution result carrying transaction execution parameters, the initiator can clearly understand the execution result of the transaction identification signaling. Furthermore, by sending the signaling carrying transaction execution parameters multiple times, the transaction remains active, its state is maintained, and flexible transaction management is achieved.
[0058] In one embodiment, when signaling execution fails, the initiator receives the execution result from the signaling executor, which carries a transaction failure parameter. The transaction is not terminated, and the initiator can continue to execute subsequent signaling.
[0059] Among them, the signaling is the computing power identification signaling.
[0060] In some implementations, when signaling execution fails, the signaling executor sends the transaction execution result back to the initiator. This result carries the transaction failure parameter TransFail. Upon receiving the TransFail parameter, the initiator still executes subsequent signaling. Simultaneously, the TransFail parameter indicates that the transaction has not been terminated.
[0061] In this embodiment, the initiator sends a computing power identification signaling message to the signaling executor. The signaling executor receives and executes the computing power identification signaling message. If the computing power identification signaling message fails to execute, the signaling executor determines the transaction operation parameter to be the transaction failure parameter TransFail and assembles the execution result. Then, the signaling executor sends the execution result back to the initiator. This execution result carries the transaction failure parameter TransFail. Even after receiving the transaction failure parameter TransFail, the initiator can still execute the transaction by executing subsequent signaling messages.
[0062] In some implementations, by carrying the execution result with transaction failure parameters, the initiator is made aware that the transaction identification signaling execution has failed. This allows the initiator to generate subsequent computing power identification signaling based on the result of the transaction identification signaling execution failure to operate the transaction, thus achieving flexible transaction management.
[0063] In one embodiment, if the initiator requests the signaling executor to roll back the current transaction to the state before the transaction started, the initiator sends a message carrying transaction cancellation parameters to the signaling executor, and the transaction will be terminated.
[0064] The current transaction is a transaction.
[0065] In some implementations, if the initiator requests the signaling executor to roll back the current transaction to its state before execution, the initiator sends a signaling message carrying the transaction cancellation parameter TransCanc to the signaling executor. Simultaneously, the transaction will terminate.
[0066] Specifically, if the initiator requests the signaling executor to roll back the current transaction to its state before execution, the initiator determines the transaction operation parameter to be the transaction cancellation parameter TransCanc and constructs a signaling message based on TransCanc. Then, the initiator constructs a computing power identification signaling message based on the signaling message and sends it to the signaling executor. The signaling executor receives the computing power identification signaling and cancels the execution of the current transaction, causing it to roll back to its state before initiation. Furthermore, the transaction is terminated.
[0067] In some implementations, by constructing a signaling message carrying transaction cancellation parameters and sending the signaling message to the signaling executor, the signaling executor can terminate the execution of the current transaction and roll back the transaction state, thus achieving the cancellation of the transaction execution.
[0068] In one embodiment, when the signaling process is completed, the initiator sends a message carrying transaction completion parameters to the signaling executor, and the transaction terminates.
[0069] In some implementations, once the signaling process is complete, the initiator determines the transaction operation parameter as the transaction completion parameter TransComp and assembles the signaling message based on TransComp. Then, the initiator constructs a computing power identification signaling message based on the signaling message and sends it to the signaling executor. The signaling executor receives the computing power identification signaling message and terminates the transaction based on the TransComp parameter in the computing power signaling identification message.
[0070] In some implementations, when the signaling process is completed, the current transaction can be quickly terminated by sending a message carrying transaction completion parameters to the signaling executor, thus achieving flexible transaction management.
[0071] In one embodiment, as shown in FIG4, the initiator generating a signaling message may include steps 402 to 404. Wherein:
[0072] Step 402: The initiator generates the transaction sequence code of the transaction through the sequence number generator, and constructs the transaction identifier based on the transaction sequence code and transaction operation parameters.
[0073] In some implementations, a sequence number generator is pre-configured in the initiator. The initiator generates the transaction sequence code using the sequence number generator. The transaction sequence code is a unique identifier for the transaction. The initiator determines the transaction operation parameters based on the transaction operation type and assembles the transaction operation parameters and the transaction sequence code to obtain the transaction identifier.
[0074] Specifically, if the transaction operation type is transaction initiation, the initiator determines the transaction operation parameter to be the transaction initiation parameter TransInit; if the transaction operation type is transaction execution, the initiator determines the transaction operation parameter to be the transaction execution parameter TransExec; if the transaction operation type is transaction failure, the initiator determines the transaction operation parameter to be the transaction failure parameter TransFail; if the transaction operation type is transaction pause, the initiator determines the transaction operation parameter to be the transaction pause parameter TransPaus; if the transaction operation type is transaction cancellation, the initiator determines the transaction operation parameter to be the transaction cancellation parameter TransCanc; and if the transaction operation type is transaction completion, the initiator determines the transaction operation parameter to be the transaction completion parameter TransComp.
[0075] In an exemplary embodiment, the initiator is a computing resource provider. The signaling executor is a computing network operation platform. When a computing resource provider needs to register, update, or deregister network resources in the computing network, the provider determines the transaction operation parameter as the transaction initiation parameter TransInit and sends a computing power identification signaling message carrying the TransInit parameter to the computing network operation platform. The computing network operation platform accepts and executes the computing power identification signaling message. If execution is successful, the platform determines the transaction operation parameter as the transaction execution parameter TransExec and sends the execution result carrying the TransExec parameter back to the provider. If execution fails, the platform determines the transaction operation parameter as the transaction failure parameter TransFail and sends the execution result carrying the TransFail parameter back to the provider.
[0076] Step 404: The initiator constructs a signaling message based on the transaction identifier and the message type corresponding to the transaction.
[0077] Among them, the signaling message is used to identify the computing power identification signaling. Multiple computing power identification signaling messages can be sent in a single transaction, and the message types in each computing power identification signaling message are the same.
[0078] In some implementations, the initiator determines the message type corresponding to the transaction based on business requirements and generates a message body accordingly. Then, the initiator assembles the message type, message length, and transaction identifier to obtain the message header, and then assembles the message header and message body to obtain the signaling message.
[0079] Specifically, the business requirements include computing power identifier generation, updating, and deregistration. If the initiator needs to manage multiple computing power resources simultaneously, and the business requirements for each computing power resource are the same, the initiator determines the message type based on the business requirements. Then, for each computing power resource, the initiator generates a message body corresponding to that computing power resource, and assembles the message body, message type, message length, and transaction identifier to obtain the message header, thus obtaining the signaling message corresponding to that computing power resource.
[0080] In one exemplary embodiment, the initiator is a computing resource provider. The signaling executor is a computing network operation platform. The computing resource provider provides multiple new computing resources that need to access the computing network. The computing resource provider determines that the business requirement is computing power identifier generation (registration) and determines the message type as a computing power identifier request (CpiReq). Then, for each computing resource, the computing resource provider determines the list of computing resource attributes corresponding to the computing resource as the message body. Then, the computing resource provider assembles the message body, the computing power identifier request (CpiReq), the message length, and the transaction identifier to obtain the message header, thus obtaining the signaling message corresponding to the computing resource. This signaling message is used to generate computing power identifier registration signaling.
[0081] In one exemplary embodiment, the initiator is a computing resource provider. The signaling executor is a computing network operation platform. When information about multiple computing resources in the computing network changes, requiring timely updates to the computing resource identifiers, the computing resource provider determines the business requirement as a computing identifier update and identifies the message type as Computing Identifier Update (CpiUpd). Then, for each computing resource, the computing resource provider determines the corresponding computing resource attribute list and computing identifier as the message body. Next, the computing resource provider assembles the message body, the Computing Identifier Update (CpiUpd), the message length, and the transaction identifier to obtain the message header, thus obtaining the signaling message corresponding to that computing resource. This signaling message is used to generate the computing identifier update signaling.
[0082] In one exemplary embodiment, the initiator is a computing resource provider. The signaling executor is a computing network operation platform. When multiple computing resources are removed from the computing network, the computing resource identifiers of the resources to be removed need to be obtained promptly. The computing resource provider determines that the business requirement is computing resource identifier deregistration and determines the message type as computing resource identifier deregistration (CpiDereg). Then, for each computing resource, the computing resource provider determines the computing resource identifier to be deregistered as the message body. The computing resource provider then assembles the message body, computing resource identifier deregistration (CpiDereg), message length, and transaction identifier to obtain the message header, thus obtaining the signaling message corresponding to that computing resource. This signaling message is used to generate computing resource identifier deregistration signaling.
[0083] In some implementations, a transaction sequence code is generated using a sequence number generator to obtain a unique identifier for the transaction. Then, a signaling message for managing computing power identifiers is constructed based on the transaction sequence code and the corresponding message type. This allows the initiator to initiate an interactive process of computing power identifier operations based on the signaling message, and the signaling receiver to manage unified computing power identifiers during the interactive process. Furthermore, by filtering computing power identifiers in a single step, the target computing power resource can be determined, reducing filtering time and improving resource scheduling efficiency.
[0084] In one embodiment, the message types include computing power identifier request CpiReq, computing power identifier generation CpiGen, computing power identifier update CpiUpd, and computing power identifier deregistration CpiDereg.
[0085] The message types include computing power identifier request (CpiReq), computing power identifier generation (CpiGen), computing power identifier update (CpiUpd), and computing power identifier deregistration (CpiDereg).
[0086] In some implementations, the initiator determines the message type based on business requirements. If the business requirement is to generate a new computing power identifier, the initiator determines the message type as a computing power identifier request (CpiReq). If the business requirement is to update an existing computing power identifier, the initiator determines the message type as a computing power identifier update (CpiUpd). If the business requirement is to deregister (delete) an existing computing power identifier, the initiator determines the message type as a computing power identifier deregistration (CpiDereg). If the business requirement is to keep the transaction active, the initiator determines the message type as a computing power identifier generation (CpiGen).
[0087] In one exemplary embodiment, when a computing resource provider offers new computing resources that need to access the computing network, the computing network needs to assign a new computing identifier to the newly accessed computing resource. Therefore, the initiator determines the message type to be a computing identifier request (CpiReq). When the attribute information of the computing resource changes, the computing network needs to update the computing identifier corresponding to the computing resource. Therefore, the initiator determines the message type to be a computing identifier update (CpiUpd). When a computing resource is removed from the computing network, the computing identifier in the computing network needs to be deregistered. Therefore, the initiator determines the message type to be a computing identifier deregistration (CpiDereg).
[0088] In some implementations, the process of managing computing power identifiers has been simplified and the convenience of management has been improved by requiring only different message types for registration, updating, and deregistration.
[0089] In one embodiment, if the transaction is a computing power identifier registration transaction, the message type corresponding to the transaction is a computing power identifier request CpiReq, and the transaction operation parameter is the transaction startup parameter TransInit; if the transaction is a computing power identifier update transaction, the message type corresponding to the transaction is a computing power identifier update CpiUpd, and the transaction operation parameter is the transaction startup parameter TransInit; if the transaction is a transaction identifier deregistration transaction, the message type corresponding to the transaction is a computing power identifier deregistration CpiDereg, and the transaction operation parameter is the transaction startup parameter TransInit.
[0090] In some implementations, if the transaction is a computing power identification registration transaction, the initiator determines that the message type corresponding to the computing power identification registration transaction is a computing power identification request (CpiReq), and determines that the transaction operation parameter for the computing power identification registration transaction is the transaction initiation parameter (TransInit). Then, the initiator generates the signaling message for the computing power identification registration transaction based on the computing power identification request (CpiReq) and the transaction initiation parameter (TransInit).
[0091] If the transaction is a computing power identifier update transaction, the initiator determines that the message type corresponding to the computing power identifier update transaction is a computing power identifier update request (CpiUpd), and determines that the transaction operation parameter for the computing power identifier update transaction is the transaction startup parameter (TransInit). Then, the initiator generates the signaling message for the computing power identifier update transaction based on the computing power identifier update request (CpiUpd) and the transaction startup parameter (TransInit).
[0092] If the transaction is determined to be a computing power identifier cancellation transaction, the initiator determines that the message type corresponding to the computing power identifier cancellation transaction is a computing power identifier request (CpiReq), and determines that the transaction operation parameter for the computing power identifier cancellation transaction is a computing power identifier cancellation (CpiDereg). Then, the initiator generates a signaling message for the computing power identifier cancellation transaction based on the computing power identifier cancellation (CpiDereg) and the transaction initiation parameter TransInit.
[0093] In some implementations, the initiator is the computing power resource provider. If the business requirement is to generate a new computing power identifier, the computing power resource provider determines the transaction to be a computing power identifier registration transaction. The computing power resource provider determines the transaction operation parameter to be the transaction initiation parameter TransInit, and assembles the computing power sequence code and the transaction initiation parameter TransInit of the computing power identifier registration transaction to obtain the computing power identifier of the computing power identifier registration transaction. Then, the computing power resource provider determines the message type corresponding to the computing power identifier registration transaction to be a computing power identifier request CpiReq, and generates the message signaling for the computing power identifier registration transaction based on the computing power identifier request CpiReq and the computing power identifier of the computing power identifier registration transaction.
[0094] If the business requirement is to update the computing power identifier in the computing power network, the computing power resource provider determines the transaction to be a computing power identifier update transaction. The computing power resource provider determines the transaction operation parameter to be the transaction initiation parameter TransInit, and assembles the computing power sequence code and the transaction initiation parameter TransInit to obtain the computing power identifier for the computing power identifier update transaction. Then, the computing power resource provider determines the message type corresponding to the computing power identifier update transaction to be computing power identifier update CpiUpd, and generates the message signaling for the computing power identifier update transaction based on the computing power identifier update CpiUpd and the computing power identifier for the computing power identifier update transaction.
[0095] If the business requirement is to delete a computing power identifier from the computing power network, the computing power resource provider determines the transaction to be a computing power identifier deregistration transaction. The computing power resource provider determines the transaction operation parameter to be the transaction initiation parameter TransInit, and assembles the computing power sequence code of the computing power identifier registration transaction and the transaction initiation parameter TransInit to obtain the computing power identifier for the computing power identifier deregistration transaction. Then, the computing power resource provider determines the message type corresponding to the computing power identifier registration transaction to be computing power identifier deregistration CpiDereg, and generates the message signaling for the computing power identifier deregistration transaction based on the computing power identifier deregistration CpiDereg and the computing power identifier for the computing power identifier deregistration transaction.
[0096] In some implementations, by determining the message type and transaction operation parameters corresponding to a transaction, signaling messages can be generated quickly, thus improving the efficiency of signaling message generation.
[0097] In one embodiment, after the initiator generates the signaling message, the initiator also needs to generate a computing power identification signaling message based on the signaling message. As shown in Figure 5, after the initiator generates the signaling message, the computing power identification signaling construction method may further include steps 502 to 508. Wherein:
[0098] Step 502: The initiator encrypts the signaling message based on the initiator's identity and pre-configured key to obtain the computing power identification signaling of the transaction.
[0099] In some implementations, the initiator has a pre-configured identity identifier (ProviderID) and a pre-configured key. The initiator obtains the public key. Then, the initiator encrypts the signaling message using the initiator's identity identifier, the public key K_pub, and the pre-configured key Kpre to obtain the transaction's computing power identifier signaling.
[0100] Specifically, the initiator obtains the public key and generates a first encrypted ciphertext based on the transaction sequence code, identity identifier, and public key. Then, the initiator encrypts the signaling message using a random number and a pre-configured key to obtain a second encrypted ciphertext. The initiator generates a hash value based on the pre-configured key, transaction sequence code, and random number, and constructs a computing power identification signaling message based on the first encrypted ciphertext, second encrypted ciphertext, hash value, random number, and transaction sequence code.
[0101] Step 504: The initiator sends a computing power identification signal to the signaling executor.
[0102] Among them, the computing power identification signaling is used to instruct the signaling executor to manage the computing power identification of computing power resources and obtain the execution result.
[0103] In some implementations, the initiator sends a computing power identification signaling message to the signaling executor. The signaling executor decrypts the computing power identification signaling message to obtain the signaling message, and manages the computing power identification of computing resources in the computing power network according to the signaling message, thus obtaining the execution result of the computing power identification signaling message. Then, the signaling executor sends the execution result of the computing power identification signaling message back to the initiator.
[0104] Specifically, the signaling receiver receives the computing power identification signaling and authenticates it using its private key, obtaining an authentication result. If authentication is successful, the signaling receiver decrypts the computing power identification signaling to obtain the signaling message. Then, the signaling receiver manages the computing power identifiers of computing resources in the computing power network according to the signaling message, obtaining the execution result of the computing power identification signaling. Finally, the signaling executor sends the execution result of the computing power identification signaling back to the initiator.
[0105] In one exemplary embodiment, the signaling receiver receives a computing power signaling identifier. The computing power signaling identifier is a signaling message vector constructed from a first encrypted ciphertext, a second encrypted ciphertext, a hash value, a random number, and a transaction sequence code. The signaling receiver authenticates the computing power identifier signaling based on a preset private key, the first encrypted ciphertext, the hash value, and the transaction sequence code, obtaining an authentication result and a pre-configured key corresponding to the initiator. If the authentication result is successful, the signaling executor performs an XOR operation between the pre-configured key and the random number to obtain an XOR key. This XOR key is a 128-bit key K'pre. Then, the signaling executor decrypts the second encrypted ciphertext using a symmetric encryption algorithm (e.g., the SM3 algorithm (SM3 Cryptographic Hash Algorithm, an encryption algorithm)) to obtain the plaintext signaling message.
[0106] For example, the initiator is a computing power resource provider. The signaling receiver is a computing power identification management system. The computing power identification management system receives the computing power signaling identifier sent by the computing power resource provider and extracts the first encrypted ciphertext En_ProviderID from the computing power signaling identifier. The computing power identification management system decrypts the first encrypted ciphertext En_ProviderID according to a preset private key and an asymmetric algorithm (such as the SM2 algorithm (SM2 Elliptic Curve Public Key Cryptography Algorithm, an encryption algorithm)) to obtain the first plaintext. Then, the computing power identification management system removes the transaction sequence number SQN from the first plaintext to obtain the provider identifier ProviderID of the computing power resource provider. The provider identifier ProviderID is the identity identifier of the computing power resource provider.
[0107] The computing power identification management system determines whether the ProviderID is a valid identity representation. If the ProviderID is not a valid identity representation, the system determines that the authentication result of the computing power identification signaling is authentication failure. If the ProviderID is a valid identity representation, the system queries the pre-configured key Kpre corresponding to the computing power identification provider. Then, the system extracts the random number RAND and transaction sequence code AQN from the computing power identification signaling, and performs hash calculation on the random number, transaction sequence code, and pre-configured key using the SM3 hash algorithm to obtain a standard hash value. The system then determines whether the hash value in the computing power signaling identification matches the standard hash value. If the hash value does not match the standard hash value, the system determines that the authentication result of the computing power signaling identification is authentication failure. If the hash value matches the standard hash value, the system determines that the authentication result of the computing power signaling identification is authentication success, and performs an XOR operation between the Kpre corresponding to the computing power resource provider and RAND to obtain the XOR key. The computing power identification management system decrypts the second encrypted ciphertext in the computing power identification signaling using the SM3 symmetric encryption algorithm to obtain the signaling message Message of the computing power identification signaling. This signaling message is a plaintext signaling message.
[0108] In an optional embodiment, the transaction is terminated if the authentication result is that the authentication fails.
[0109] Step 506: The initiator receives the execution result sent by the signaling executor.
[0110] The execution result includes a transaction identifier.
[0111] In some implementations, the signaling receiver manages the computing power identifiers in the computing power network based on the signaling messages in the computing power identifier signaling, and obtains the execution results. The signaling receiver sends the execution results to the initiator. The initiator receives the execution results of the computing power identifier signaling sent by the signaling executor.
[0112] Step 508: If the transaction operation parameter in the transaction identifier is a transaction execution parameter and the transaction execution is completed, the initiator generates a transaction end signaling and sends the transaction end signaling to the signaling executor.
[0113] In some implementations, if the transaction operation parameter in the transaction identifier is the transaction execution parameter TransExec and the transaction execution is complete, the initiator determines the transaction operation parameter to be the transaction completion parameter TransComp, and generates a transaction termination signaling based on the transaction completion parameter. Then, the initiator sends the transaction termination signaling to the signaling executor, instructing the signaling executor to terminate the transaction.
[0114] In one exemplary embodiment, the initiator is a computing power resource provider. The signaling receiver is a computing power network operation platform. The computing power network operation includes a computing power identification management system and a computing power identification modeling and storage system.
[0115] If the transaction is a computing power identification registration transaction, the computing power resource provider determines the computing power operation parameter as the transaction initiation parameter TransInit and the message type as a computing power identification request CpiReq. The computing power resource provider assembles the transaction sequence number and the transaction initiation parameter TransInit of the computing power identification registration transaction to obtain the transaction identifier. Then, the computing power resource provider determines the message body to be the list of newly accessed computing power resource attributes and assembles the transaction identifier, message body, computing power identification request CpiReq, and message length to obtain the signaling message for the computing power identification registration transaction. The computing power resource provider encrypts the signaling message according to the assigned vendor identifier and the pre-configured key to obtain the computing power identification registration signaling. Then, the computing power resource provider sends the computing power identification registration signaling to the computing power identification management system, thereby initiating the computing power identification application process. The computing power identification management system receives the computing power identification registration signaling and authenticates the computing power resource provider according to the signaling, obtaining the authentication result. If the authentication result is successful, the computing power identification management system determines the message type to be computing power identification generation (CpiGen) and assembles computing power identification generation signaling based on the CpiGen and the computing power identification registration signaling. The computing power identification management system sends the computing power identification generation signaling to the computing power identification modeling and storage system. The computing power identification modeling and storage system generates and allocates computing power identifications for the registered computing power resources. Then, the computing power identification modeling and storage system determines the computing power operation parameter to be the transaction execution parameter TransExec and determines the message type to be computing power identification generation (CpiGen). The computing power identification modeling and storage system assembles the transaction sequence number and transaction execution parameter TransExec of the computing power identification registration transaction to obtain the transaction identifier of the computing power identification registration transaction. Then, the computing power identification modeling and storage system determines the message body to be the generated and allocated computing power identification, and assembles the transaction identifier, message body, computing power identification generation (CpiGen), and message length to obtain the execution result of the computing power identification registration transaction. The computing power identification modeling and storage system feeds back the execution result to the computing power identification management system. The computing power identification management system updates the message type in the execution result to "Computing Power Identifier Request (CpiReq)" to obtain the updated execution result, and then sends the updated result back to the computing power resource provider. The computing power resource provider receives the execution result and confirms successful computing power identification registration. Then, the computing power resource provider extracts the allocated computing power identifier from the feedback result and stores it locally. If the computing power resource provider still has computing power resources that need identification registration, it continues to assemble signaling messages. If the computing power resource provider has already completed the identification registration of the current computing power resources, it assembles a transaction end signaling message and sends it to the computing power identification management system to indicate that this transaction is complete and closed. The transaction end signaling message includes the message type, message length, and transaction identifier.The message type is a computing power identification request (CpiReq), the message length is the actual size of the transaction end signaling, and the SQN in the transaction identifier is the transaction sequence number that identifies the registered transaction. The transaction operation parameter in the transaction identifier is the transaction completion parameter (TransComp).
[0116] If the transaction is a computing power identifier update transaction, the computing power resource provider determines the computing power operation parameter as the transaction initiation parameter TransInit and the message type as computing power identifier update CpiUpd. The computing power resource provider assembles the transaction sequence number and the transaction initiation parameter TransInit to obtain the transaction identifier for the computing power identifier update transaction. Then, the computing power resource provider determines the message body to be the computing power identifier of the computing power resource and the list of computing power resource attributes, and assembles the transaction identifier, message body, computing power identifier update CpiUpd, and message length to obtain the signaling message for the computing power identifier update transaction. The computing power resource provider encrypts this signaling message according to the assigned vendor identifier and the pre-configured key to obtain the computing power identifier update signaling. Then, the computing power resource provider sends the computing power identifier update signaling to the computing power identifier management system, thereby initiating the computing power identifier update process. The computing power identifier management system receives the computing power identifier update signaling and authenticates the computing power resource provider according to the computing power identifier update signaling, obtaining the authentication result. If the authentication result is successful, the computing power identification management system forwards the computing power identification update signaling to the computing power identification modeling and storage system. The computing power identification modeling and storage system updates and stores the corresponding computing power resource attributes based on the computing power identification in the signaling. After the computing power identification is updated, the system determines the computing power operation parameter to be the transaction execution parameter TransExec and the message type to be computing power identification update CpiUpd. The system assembles the transaction sequence number and the transaction execution parameter TransExec of the computing power identification update transaction to obtain the transaction identifier. Then, the system assembles the transaction identifier, the computing power identification update CpiUpd, and the message length to obtain the execution result of the transaction identification update transaction. The system feeds back the execution result to the computing power identification management system. The system then feeds back the execution result to the computing power resource provider. The provider receives the execution result and confirms that the computing power identification has been successfully updated. If the provider still has computing power resources that need identification updates, it continues to assemble the signaling message for the transaction identification update transaction. If the computing resource provider has already completed the identifier update of the computing resource, it assembles a transaction end signaling message and sends it to the computing resource identifier management system to indicate that the transaction is complete and closed. This transaction end signaling message includes a message type, message length, and transaction identifier. The message type is "Computing Resource Identifier Update (CpiUpd)", the message length is the actual size of the transaction end signaling message, and the SQN in the transaction identifier is the transaction sequence number that identified the registered transaction. The transaction operation parameter in the transaction identifier is the transaction completion parameter TransComp.
[0117] If the transaction is a computing power identifier cancellation transaction, the computing power resource provider determines the computing power operation parameter as the transaction initiation parameter TransInit and the message type as computing power identifier cancellation CpiDereg. The computing power resource provider assembles the transaction sequence number and the transaction initiation parameter TransInit to obtain the transaction identifier for the computing power identifier cancellation transaction. Then, the computing power resource provider determines the message body to be the computing power identifier of the computing power resource to be cancelled, and assembles the transaction identifier, message body, computing power identifier cancellation CpiDereg, and message length to obtain the signaling message for the computing power identifier cancellation transaction. The computing power resource provider encrypts this signaling message according to the assigned vendor identifier and pre-configured key to obtain the computing power identifier cancellation signaling. Then, the computing power resource provider sends the computing power identifier cancellation signaling to the computing power identifier management system, thereby initiating the computing power identifier cancellation process. The computing power identifier management system receives the computing power identifier cancellation signaling and authenticates the computing power resource provider according to the signaling, obtaining the authentication result. If the authentication result is successful, the computing power identifier management system forwards the computing power identifier cancellation signaling to the computing power identifier modeling and storage system. The computing power identification modeling and storage system deletes and cancels the corresponding computing power resource attributes based on the computing power identification in the computing power identification cancellation signaling. After the computing power identification is cancelled, the system determines the computing power operation parameter to be the transaction execution parameter TransExec and the message type to be computing power identification cancellation CpiDereg. The system assembles the transaction sequence number and the transaction execution parameter TransExec of the computing power identification cancellation transaction to obtain the transaction identifier. Then, the system assembles the transaction identifier, the computing power identification cancellation CpiDereg, and the message length to obtain the execution result of the computing power identification cancellation transaction. The system feeds back the execution result to the computing power identification management system. The management system feeds back the execution result to the computing power resource provider. The computing power resource provider receives the execution result and confirms the computing power identification cancellation. If the computing power resource provider still has computing power resources that need identification cancellation, it continues to assemble the signaling message for the computing power identification cancellation transaction. If the computing resource provider has already completed the deregistration of the computing resource identifier, a transaction termination signal is assembled and sent to the computing resource identifier management system to indicate that the transaction is complete and closed. This transaction termination signal includes a message type, message length, and transaction identifier. The message type is "CpiDereg (Computing Resource Identification Deregistration)", the message length is the actual size of the transaction termination signal, and the SQN in the transaction identifier is the transaction sequence number of the identifier registration transaction. The transaction operation parameter in the transaction identifier is the transaction completion parameter TransComp.
[0118] In one exemplary embodiment, FIG6 is a signaling diagram of computing power identifier registration and generation of computing power identifier signaling in an exemplary embodiment. FIG6 provides a computing power identifier registration method, which includes:
[0119] Step 601: The computing power resource provider generates a signaling message based on the transaction initiation parameter TransInit and the computing power identifier request CpiReq, and generates a computing power identifier registration signaling message based on the signaling message.
[0120] Step 602: The computing power resource provider sends a computing power identifier registration signaling message to the computing power identifier management system. This signaling message includes a message header and a message body. The message body is a list of computing power resource attributes. The message header includes the message type, message length, and transaction identifier. The message type is a computing power identifier request (CpiReq). The message length is the actual packet size. The transaction identifier contains a transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction initiation parameters (TransInit).
[0121] Step 603: The computing power identification management system authenticates the computing power resource provider based on the computing power identification registration signaling, and parses the signaling information if the authentication is successful.
[0122] Step 604: The computing power identification management system submits a computing power identification generation signaling message to the computing power identification modeling and storage system. This signaling message includes a message header and a message body. The message body is a list of computing power resource attributes. The message header includes a message type, a message length, and a transaction identifier. The message type is the computing power identification generation CpiGen. The message length is the actual packet size. The transaction identifier contains a transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction initiation parameters TransInit.
[0123] Step 605: The computing power identifier modeling and storage system receives the computing power identifier generation signaling, and generates and stores the computing power identifier.
[0124] Step 606: The computing power identification modeling and storage system feeds back the execution result to the computing power identification management system. The execution result includes a message header and a message body. The message body is the computing power identification generated and allocated by the computing power identification modeling and storage system. The message header includes the message type, message length, and transaction ID. The message type is the CpiGen generated for the computing power identification. The message length is the actual packet size. The transaction ID contains the transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction execution parameters TransExec.
[0125] Step 607: The computing power identification management system sends the execution result back to the computing power resource provider. The execution result includes a message header and a message body. The message body contains the computing power identifier generated and allocated by the computing power identification modeling and storage system. The message header includes the message type, message length, and transaction identifier. The message type is a computing power identification request (CpiReq). The message length is the actual packet size. The transaction identifier contains the transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction execution parameters (TransExec).
[0126] Step 608: The computing power resource provider sends a transaction termination signaling message to the computing power identification management system. The transaction termination signaling message includes a message header. The message header includes the message type, message length, and transaction identifier. The message type is a computing power identification request (CpiReq). The message length is the actual packet size. The transaction identifier contains the transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction completion parameters (TransComp).
[0127] In one exemplary embodiment, FIG7 is a signaling diagram of updating computing power identifiers and generating computing power identifier signaling in an exemplary embodiment. FIG7 provides a computing power identifier updating method, which includes:
[0128] Step 701: The computing power resource provider generates a signaling message based on the transaction initiation parameter TransInit and the computing power identifier update CpiUpd, and generates a computing power identifier update signaling message based on the signaling message.
[0129] Step 702: The computing power resource provider sends a computing power identifier update signaling message to the computing power identifier management system. This message includes a message header and a message body. The message body contains a list of computing power resource attributes and the computing power identifier of the computing power resource. The message header includes the message type, message length, and transaction identifier. The message type is "CpiUpd" (Computing Power Identifier Update). The message length is the actual packet size. The transaction identifier contains the transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction initiation parameters, TransInit.
[0130] Step 703: The computing power identification management system authenticates the computing power resource provider based on the computing power identification update signaling, and parses the signaling information if the authentication is successful.
[0131] Step 704: The computing power identification management system submits a computing power identification update signaling message to the computing power identification modeling and storage system. The signaling message in the computing power identification update signaling message includes a message header and a message body. The message body is a list of computing power resource attributes and the computing power identification of the computing power resources. The message header includes a message type, a message length, and a transaction identifier. The message type is computing power identification update CpiUpd. The message length is the actual packet size. The transaction identifier contains a transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction initiation parameters TransInit.
[0132] Step 705: The computing power identifier modeling and storage system receives the computing power identifier update signaling, and updates and stores the computing power identifier.
[0133] Step 706: The computing power identification modeling and storage system sends the execution result back to the computing power identification management system. The execution result includes a message header. The message header includes the message type, message length, and transaction identifier. The message type is computing power identification update (CpiUpd). The message length is the actual packet size. The transaction identifier contains the transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction execution parameters (TransExec).
[0134] Step 707: The computing power identification management system sends the execution result back to the computing power resource provider. The execution result includes a message header. The message header includes the message type, message length, and transaction identifier. The message type is computing power identification update (CpiUpd). The message length is the actual packet size. The transaction identifier contains the transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction execution parameters (TransExec).
[0135] Step 708: The computing power resource provider sends a transaction termination signaling message to the computing power identification management system. The transaction termination signaling message includes a message header. The message header includes the message type, message length, and transaction identifier. The message type is computing power identifier update (CpiUpd). The message length is the actual packet size. The transaction identifier contains the transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction completion parameter TransComp.
[0136] In one exemplary embodiment, FIG8 is a signaling diagram for canceling a computing power identifier and generating computing power identifier signaling in an exemplary embodiment. FIG8 provides a computing power identifier cancellation method, which includes:
[0137] Step 801: The computing power resource provider generates a signaling message based on the transaction initiation parameter TransInit and the computing power identifier deregistration CpiDereg, and generates a computing power identifier deregistration signaling message based on the signaling message.
[0138] Step 802: The computing power resource provider sends a computing power identifier deregistration signaling message to the computing power identifier management system. The signaling message in the computing power identifier deregistration message includes a message header and a message body. The message body is the computing power identifier of the computing power resource to be deregistered. The message header includes the message type, message length, and transaction identifier. The message type is computing power identifier deregistration CpiDereg. The message length is the actual packet size. The transaction identifier contains the transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction initiation parameters TransInit.
[0139] Step 803: The computing power identification management system authenticates the computing power resource provider based on the computing power identification cancellation signaling, and parses the signaling information if the authentication is successful.
[0140] Step 804: The computing power identification management system submits a computing power identification deregistration signaling message to the computing power identification modeling and storage system. The signaling message in the computing power identification deregistration message includes a message header and a message body. The message body is the computing power identification of the computing power resource to be deregistered. The message header includes the message type, message length, and transaction identifier. The message type is computing power identification deregistration CpiDereg. The message length is the actual packet size. The transaction identifier contains the transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction initiation parameters TransInit.
[0141] Step 805: The computing power identifier modeling and storage system receives the computing power identifier cancellation signal and cancels the corresponding computing power identifier.
[0142] Step 806: The computing power identification modeling and storage system sends the execution result back to the computing power identification management system. The execution result includes a message header. The message header includes the message type, message length, and transaction identifier. The message type is computing power identification deregistration (CpiDereg). The message length is the actual packet size. The transaction identifier contains the transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction execution parameters (TransExec).
[0143] Step 807: The computing power identification management system sends the execution result back to the computing power resource provider. The execution result includes a message header. The message header includes the message type, message length, and transaction identifier. The message type is computing power identification deregistration (CpiDereg). The message length is the actual packet size. The transaction identifier contains the transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction execution parameters (TransExec).
[0144] Step 808: The computing power resource provider sends a transaction termination signaling message to the computing power identification management system. The transaction termination signaling message includes a message header. The message header includes the message type, message length, and transaction identifier. The message type is computing power identification deregistration (CpiDereg). The message length is the actual packet size. The transaction identifier contains the transaction sequence number (SQN) and transaction operation parameters (Ops). The transaction sequence number is generated by the computing power resource provider. The transaction operation parameters are the transaction completion parameters (TransComp).
[0145] In some implementations, the initiator sends a computing power identification signaling message to the signaling executor based on the signaling message, enabling the signaling executor to manage a unified computing power identification. Furthermore, by filtering computing power identifications once, the target computing power resource can be determined, reducing filtering time and improving resource scheduling efficiency. In addition, by encrypting the signaling message to obtain the computing power signaling identification, and enabling the signaling executor to authenticate the initiator's identity based on the computing power signaling identification, the security of the computing power signaling identification and the security of the computing power identification operation process are improved.
[0146] In one embodiment, as shown in FIG9, the specific processing procedure of step 502 includes steps 902 to 910. Wherein:
[0147] Step 902: The initiator concatenates the transaction sequence code and the initiator's identity identifier to obtain the concatenation result, and encrypts the concatenation result according to the asymmetric encryption algorithm and the preset public key to obtain the first encrypted ciphertext.
[0148] The first encrypted ciphertext is used to authenticate the initiator's identity.
[0149] In some implementations, the initiator has its own identity and the public key of the computing power network platform pre-set. The initiator concatenates the transaction sequence code and its own identity to obtain the concatenation result. Then, the initiator encrypts the public key of the computing power network platform and the concatenation result using an asymmetric encryption algorithm to obtain the first encrypted ciphertext.
[0150] In one exemplary embodiment, the initiator is a computing resource provider. The signaling receiver is a computing network operation platform. Before incorporating computing resources into the computing network system, the computing resource provider must first undergo provider authentication. The computing resource provider obtains an identity identifier—ProviderID—assigned by the computing network operation platform. Simultaneously, the computing network operation platform assigns the computing resource provider a pre-configured key Kpre. This pre-configured key is a 128-bit symmetric encryption key used for message encryption and authentication of the computing resource identification signaling. Furthermore, the computing network operation platform itself has an asymmetric public key system, and the computing resource provider obtains the computing network operation platform's public key K_pub through open channels. The computing resource provider is equipped with a sequence number generator, a random number generator, and a national cryptographic SM encryption algorithm module. Moreover, the computing resource provider pre-stores the provider identifier ProviderID generated and assigned by the computing network operation platform, as well as the computing network operation platform's public key K_pub.
[0151] The sequence number generator in the computing resource provider generates the transaction sequence number SQN (this sequence number can also be used as the transaction ID number of the signaling message). The computing resource provider concatenates the transaction sequence number with the provider identifier ProviderID to obtain the concatenation result. Then, the computing resource provider encrypts the public key K_pub and the concatenation result based on the national standard SM2 asymmetric encryption algorithm to obtain the first decrypted ciphertext En_ProviderID.
[0152] Step 904: The initiator generates a random number and performs an XOR operation on the random number and the pre-configured key to obtain the transaction key.
[0153] In some implementations, a random number generator is pre-configured in the initiator. The initiator generates random numbers using the random number generator. Then, the initiator performs an XOR operation between the random number and a pre-configured key to obtain the transaction key.
[0154] In one exemplary embodiment, the initiator is a computing resource provider. The computing resource provider outputs a random number RAND using a random number generator, and then performs an XOR operation between RAND and a pre-configured key Kpre to output a key K'pre. This key K'pre is the transaction key.
[0155] Step 906: The initiator encrypts the signaling message based on the transaction key and a symmetric encryption algorithm to obtain the second encrypted ciphertext.
[0156] The encryption algorithm is the SM4 algorithm (SM4 Block Cipher Algorithm, an encryption algorithm).
[0157] In some implementations, the initiator encrypts the transaction key and signaling message using the SM4 encryption algorithm to obtain a second encrypted ciphertext.
[0158] In one exemplary embodiment, the initiator is a computing resource provider. The computing resource provider performs SM4-based symmetric encryption calculation on the signaling message Message using the transaction key K'pre, outputting a second encrypted ciphertext En_Message. Since each transaction key is generated based on different random data, encrypting the signaling message using the transaction key ensures that the signaling message of each transaction is operated on with a different encryption key each time.
[0159] Step 908: The initiator performs an XOR operation on the pre-configured key, transaction sequence code, and random number to obtain the XOR result, and encrypts the XOR result based on a hash algorithm to obtain a hash value.
[0160] The hash value is used to authenticate the initiator's identity. The hash algorithm is the Chinese national cryptographic algorithm SM3.
[0161] In some implementations, the initiator performs an XOR operation on the pre-configured key, transaction sequence code, and random number to obtain the XOR result. Then, the initiator performs a hash calculation on the XOR result based on the Chinese national cryptographic algorithm SM3 to obtain the hash value.
[0162] In one exemplary embodiment, the initiator is a computing resource provider. The computing resource provider performs an XOR operation on the pre-configured key Kpre, the transaction sequence code SQN, and the random number RAND to obtain the XOR result. Then, the computing resource provider performs a hash calculation using the Chinese national cryptographic standard SM3 on the XOR result to obtain the hash value AUTH_srk. The hash value AUTH_srk is generated based on the computing resource provider's pre-configured key and can be used for authentication of the computing resource provider.
[0163] Step 910: The initiator constructs a computing power identification signaling based on the first encrypted ciphertext, the second encrypted ciphertext, the hash value, the random number, and the transaction sequence code.
[0164] In some implementations, the initiator assembles a first encrypted ciphertext, a second encrypted ciphertext, a hash value, a random number, and a transaction sequence code to obtain a signaling message vector. This signaling message vector is a computing power identification signaling.
[0165] In an exemplary embodiment, the initiator is a computing resource provider. The computing resource provider assembles the first encrypted ciphertext, the second encrypted ciphertext, the hash value, the random number, and the transaction sequence code in the order of the first encrypted ciphertext En_ProviderID, the transaction sequence code SQN, the random number RAND, the hash value AUTH_srk, and the second encrypted ciphertext En_Message to obtain a signaling message vector. This signaling message vector is shown in the following formula (1): CpiV = En_ProviderID‖SQN‖RAND‖Auth_srk‖En_Message (1)
[0166] In the above formula (1), En_ProviderID is the first encrypted ciphertext, CpiV is the signaling message vector, SQN is the transaction sequence code, RAND is the random number, AUTH_srk is the hash value, and En_Message is the second encrypted ciphertext.
[0167] In an exemplary embodiment, Figure 10 is a schematic diagram of the data flow of encrypted signaling messages in an exemplary embodiment. As shown in Figure 10, before incorporating computing resources into the computing network system, the computing resource provider must first undergo provider authentication. The computing resource provider obtains the provider identity identifier ProviderID of the computing resources allocated by the computing network operation platform. Simultaneously, the computing resource provider also obtains a pre-configured key Kpre allocated by the computing network operation platform, which is a 128-bit symmetric encryption key. This pre-configured key is used for encryption and authentication of signaling messages for computing power identification signaling. Meanwhile, the computing network operation platform itself has an asymmetric public key system, and the computing resource provider obtains the public key K_pub of the computing network operation platform through open channels.
[0168] The computing resource provider pre-configures a random number generator and a sequence number generator. The computing resource management system on the provider's side must include a sequence number generator, a random number generator, and a module for the national standard SM2 asymmetric encryption algorithm, and store the provider identifier (ProviderID) and public key (K_pub) generated and allocated by the computing network operation platform. The sequence number generator generates a transaction sequence code (SQN) (this transaction sequence code can also serve as the transaction ID for signaling messages). The computing resource provider concatenates the transaction sequence code with the provider identifier (ProviderID) to obtain the concatenation result, and then encrypts the concatenation result and the public key (K_pub) using the national standard SM2 asymmetric encryption algorithm, outputting the first encrypted ciphertext (En_ProviderID). The computing resource provider assembles a signaling message (Message) according to business requirements. The computing resource provider outputs a random number (RAND) through the random number generator, and then XORs this random number (RAND) with a pre-configured key (Kpre) to output the transaction key (K'pre), ensuring that each transaction is operated using a different encryption key. Then, the computing resource provider performs SM4-based symmetric encryption on the signaling message = Message using the transaction key K'pre, outputting the second encrypted ciphertext En_Message. The computing resource provider XORs the key Kpre with the SQN sequence number and the random number RAND, obtaining the XOR result, and then performs a hash calculation using the national cryptographic standard SM3 to obtain the hash value AUTH_srk. The hash value AUTH_srk is generated based on the computing resource provider's pre-configured key and can be used for computing resource provider authentication. The computing resource provider assembles the signaling message vector to obtain the computing power identification signaling.
[0169] In some implementations, the security of computing power identification signaling is improved by encrypting the signaling messages. This improves the security of the computing power identification signaling and allows for the initiation of interactive processes for computing power identification operations based on the computing power identification signaling.
[0170] In one exemplary embodiment, Figure 11 is an architecture diagram of an exemplary computing power network operation platform. As shown in Figure 11, the entire system comprises two parts: a computing power identification management system and a computing power identification modeling and storage system. The functional modules of the computing power identification management system are described below:
[0171] The core processing unit for computing power identification management is the core unit of the system. It controls the operation of each unit in the system, coordinates the business logic process of computing power identification management, and authenticates computing power resource providers.
[0172] Computing power identification transaction register: Based on the transaction state process, it manages and records the execution status of each transaction, ensuring transaction integrity. When a transaction needs to be cancelled, the atomicity of the rollback must be ensured.
[0173] Computing power identification signaling message parsing / encapsulation unit: used to process the signaling information of computing power identification signaling, including parsing the signaling message and encapsulating the computing power identification signaling completion signaling message under the control of the core processing unit.
[0174] Pre-configured key database: The pre-configured key database stores the identity identifier ProviderID of each computing resource provider and the corresponding pre-configured key Kpre, each pre-configured key is 128 bits.
[0175] The SM cryptographic algorithm engine integrates the national cryptographic symmetric encryption algorithm SM4, the asymmetric encryption algorithm SM2, and the hash algorithm SM3. Under the control of the computing power identification management core processing unit, it completes the encryption and decryption of signaling.
[0176] Message information vector parser: The message information vector parser is used to parse the signaling message vectors containing computing power identification signals initiated by computing power resource providers, and to analyze and extract the fields in the signaling message vectors.
[0177] Network interface: Communication with units outside the computing network, including with computing resource providers.
[0178] Computing power network interface module: This communication module is the interface module for the computing power network, including communication between the core processing unit and other computing power network elements such as the computing power identification modeling and storage system.
[0179] The functional modules of the computing power identification modeling and storage system are described below:
[0180] Computing power identification modeling and storage core processing unit: The computing power identification modeling and storage core processing unit is the core unit of the computing power identification modeling and storage system, which controls the operation of each unit in the computing power identification modeling and storage system.
[0181] Computing Power Identifier Model Database: This database stores the computing power identifiers and corresponding resource model objects of the computing power resources registered by computing power resource providers. This database provides support and services for computing power trading and scheduling.
[0182] Computing power identification signaling message parsing / encapsulation unit: used to process signaling messages, including parsing signaling messages and encapsulating signaling messages under the control of the core processing unit.
[0183] The computing power identification management system proposed in this application can be deployed at the computing power control layer, while the computing power identification modeling and storage system, considering its participation in the unified scheduling of computing power resources, can be deployed at the orchestration layer of the computing power network. Given the complexity and diversity of computing power network resources, the signaling interface can be implemented flexibly, including using XML (eXtensible Markup Language), Jason (JavaScript Object Notation, JavaScript is a dynamic programming language), TCP / UDP (Transmission Control Protocol / User Datagram Protocol), and SCTP (Stream Control Transmission Protocol). Furthermore, if security requirements are not high, security encryption can be omitted to reduce implementation complexity. The computing power identification signaling model proposed in this application also has the advantage of easy extensibility, allowing for the addition of types and operation instructions according to business needs.
[0184] The method and system proposed in this application are universal, versatile, and cross-platform, and can be implemented and deployed on various platforms or terminal devices, as well as on physical devices or virtual machines, and have broad application prospects.
[0185] It should be understood that although the steps in the flowchart of Figure 4-9 are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in Figure 4-9 may include multiple steps or stages, which are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps.
[0186] In one embodiment, a computing power identification signaling construction apparatus is provided, comprising: a generation module, wherein:
[0187] The generation module is configured to generate signaling messages for the initiator; the signaling message includes a message header and a message body; the message header includes the message type, message length and transaction identifier.
[0188] In one exemplary embodiment, the transaction identifier is generated by the initiator and is used in the interaction process of the computing power identification operation; the transaction identifier is divided into two parts, including the transaction sequence code and the transaction operation parameters.
[0189] In one exemplary embodiment, the transaction sequence code is a transaction sequence number generated by the initiator; the transaction operation parameters indicate the type of transaction operation, including six operations: transaction start, execution, failure, pause, cancellation, and completion.
[0190] In an exemplary embodiment, the transaction operation parameters include the transaction initiation parameter: TransInit, the transaction execution parameter: TransExec, the transaction failure parameter: TransFail, the transaction pause parameter: TransPaus, the transaction cancellation parameter: TransCanc, and the transaction completion parameter: TransComp.
[0191] In one exemplary embodiment, after the signaling is executed successfully, the initiator receives the execution result fed back by the signaling executor, which carries transaction execution parameters. Alternatively, if the initiator sends multiple signaling messages consecutively, the transaction execution parameters are used to keep the transaction active.
[0192] In an exemplary embodiment, when signaling execution fails, the initiator receives the execution result from the signaling executor, which carries a transaction failure parameter. The transaction is not terminated, and the initiator can continue to execute subsequent signaling.
[0193] In an exemplary embodiment, if the initiator requests the signaling executor to roll back the current transaction to the state before the transaction started, the initiator sends a message carrying transaction cancellation parameters to the signaling executor, and the transaction will be terminated.
[0194] In one exemplary embodiment, when the signaling process is completed, the initiator sends a message carrying transaction completion parameters to the signaling executor, and the transaction terminates.
[0195] In one exemplary embodiment, the generation module includes:
[0196] The first generation submodule is configured so that the initiator generates the transaction sequence code of the transaction through the sequence number generator, and constructs the transaction identifier based on the transaction sequence code and transaction operation parameters.
[0197] The first construction submodule is configured for the initiator to construct a signaling message based on the transaction identifier and the message type corresponding to the transaction; the signaling message is used to determine the computing power identification signaling.
[0198] In one exemplary embodiment, the message types include computing power identifier request CpiReq, computing power identifier generation CpiGen, computing power identifier update CpiUpd, and computing power identifier deregistration CpiDereg.
[0199] In an exemplary embodiment, if the transaction is a computing power identifier registration transaction, the message type corresponding to the transaction is a computing power identifier request CpiReq, and the transaction operation parameter is the transaction startup parameter TransInit; if the transaction is a computing power identifier update transaction, the message type corresponding to the transaction is a computing power identifier update CpiUpd, and the transaction operation parameter is the transaction startup parameter TransInit; if the transaction is a computing power identifier deregistration transaction, the message type corresponding to the transaction is a computing power identifier deregistration CpiDereg, and the transaction operation parameter is the transaction startup parameter TransInit.
[0200] In one exemplary embodiment, the computing power identification signaling construction apparatus further includes:
[0201] The processing module is configured so that the initiator encrypts the signaling message based on the initiator's identity and a pre-configured key to obtain the computing power identification signaling of the transaction.
[0202] The first sending module is configured to send computing power identification signaling from the initiator to the signaling executor; the computing power identification signaling is used to instruct the signaling executor to manage the computing power identification of computing power resources and obtain the execution result.
[0203] The receiving module is configured to receive the execution results sent by the signaling executor; the execution results contain a transaction identifier.
[0204] The second sending module is configured to generate a transaction end signaling and send it to the signaling executor if the transaction operation parameter in the transaction identifier is a transaction execution parameter and the transaction execution is completed.
[0205] In one exemplary embodiment, the processing module includes:
[0206] The first processing submodule is configured to concatenate the transaction sequence code and the initiator's identity identifier to obtain the concatenation result, and then encrypt the concatenation result according to the asymmetric encryption algorithm and the preset public key to obtain the first encrypted ciphertext.
[0207] The second generation submodule is configured to generate random numbers for the initiator and perform an XOR operation on the random numbers and the pre-configured key to obtain the transaction key.
[0208] The second processing submodule is configured so that the initiator encrypts the signaling message based on the transaction key and a symmetric encryption algorithm to obtain the second encrypted ciphertext.
[0209] The third processing submodule is configured to have the initiator perform an XOR operation on the pre-configured key, transaction sequence code, and random number to obtain the XOR result, and then encrypt the XOR result based on a hash algorithm to obtain a hash value.
[0210] The second construction submodule is configured for the initiator to construct a computing power identification signaling based on the first encrypted ciphertext, the second encrypted ciphertext, the hash value, the random number, and the transaction sequence code.
[0211] Specific limitations regarding the computing power identification signaling construction device can be found in the limitations of the computing power identification signaling construction method described above, and will not be repeated here. Each module in the aforementioned computing power identification signaling construction device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0212] In one embodiment, a communication device is provided, as shown in FIG12. FIG12 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present invention. The terminal device 1200 shown in FIG12 includes: at least one processor 1201, a memory 1202, at least one network interface 1204, and a user interface 1203. The various components in the terminal device 1200 are coupled together through a bus system 1205. It is understood that the bus system 1205 is used to realize the connection and communication between these components. In addition to a data bus, the bus system 1205 also includes a power bus, a control bus, and a status signal bus. However, for clarity, all buses are labeled as bus system 1205 in FIG1. In addition, in this embodiment of the present invention, a transceiver 1206 is also included. The transceiver may be multiple elements, including a transmitter and a receiver, providing a unit for communicating with various other devices over a transmission medium.
[0213] The user interface 1203 may include a display, keyboard, or clicking device (e.g., mouse, trackball, touchpad, or touchscreen).
[0214] It is understood that the memory 1202 in the embodiments of the present invention can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 1202 of the systems and methods described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0215] In some implementations, memory 1202 stores elements, executable modules or data structures, or subsets thereof, or extended sets thereof: operating system 12021 and application program 12022.
[0216] The operating system 12021 includes various system programs, such as the framework layer, core library layer, and driver layer, used to implement various basic business functions and handle hardware-based tasks. The application program 12022 includes various applications, such as a media player and a browser, used to implement various application functions. The program implementing the method of this embodiment can be included in the application program 12022.
[0217] In this embodiment of the invention, the program or instructions stored in the memory 1202 are invoked. Specifically, the program or instructions stored in the application program 12022 are called. The processor is used to generate a signaling message by the initiator. The signaling message includes a message header and a message body. The message header includes a message type, a message length, and a transaction identifier.
[0218] The methods disclosed in the above embodiments of the present invention, in part or in all of them, can also be applied to processor 1201, implemented by processor 1201, or implemented by processor 1201 in conjunction with other components (e.g., transceivers). Processor 1201 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above methods can be completed by the integrated logic circuit of the hardware in processor 1201 or by instructions in the form of software. The processor 1201 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present invention can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 1202. The processor 1201 reads the information in memory 1202 and, in conjunction with its hardware, completes the steps of the above method.
[0219] It is understood that the embodiments described in this invention can be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in this application, or combinations thereof.
[0220] For software implementation, the technology described in the embodiments of the present invention can be implemented by modules (e.g., procedures, functions, etc.) that perform the functions described in the embodiments of the present invention. The software code can be stored in memory and executed by processor 1201. The memory can be implemented in processor 1201 or external to processor 1201.
[0221] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0222] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0223] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0224] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0225] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for constructing a computing power identification signaling system, comprising: The initiator generates a signaling message; The signaling message includes a message header and a message body; the message header includes the message type, message length, and transaction identifier.
2. The method according to claim 1, wherein, The transaction identifier is generated by the initiator and is used in the interaction process of computing power identification operation; the transaction identifier is divided into two parts, including transaction sequence code and transaction operation parameters.
3. The method according to claim 2, wherein, The transaction sequence code is the transaction sequence number generated by the initiator; the transaction operation parameters indicate the type of transaction operation, including six operations: transaction start, execution, failure, pause, cancellation, and completion.
4. The method according to claim 3, wherein, The transaction operation parameters include the transaction initiation parameter: TransInit, the transaction execution parameter: TransExec, the transaction failure parameter: TransFail, the transaction pause parameter: TransPaus, the transaction cancellation parameter: TransCanc, and the transaction completion parameter: TransComp.
5. The method according to claim 4, wherein, When the signaling is executed successfully, the initiator receives the execution result fed back by the signaling executor, which carries the transaction execution parameters. Alternatively, if the initiator sends multiple signaling messages consecutively, the transaction execution parameters are used to keep the transaction active.
6. The method according to claim 4, wherein, When signaling execution fails, the initiator receives the execution result from the signaling executor, which carries the transaction failure parameter. The transaction is not terminated, and the initiator can continue to execute subsequent signaling.
7. The method according to claim 4, wherein, If the initiator requests the signaling executor to roll back the current transaction to the state before the transaction started, the initiator sends a message carrying the transaction cancellation parameter to the signaling executor, and the transaction will be terminated.
8. The method according to claim 4, wherein, When the signaling process is completed, the initiator sends a message carrying the transaction completion parameters to the signaling executor, and the transaction terminates.
9. The method according to claim 1, wherein, The initiator generates a signaling message, including: The initiator generates a transaction sequence code for the transaction using a sequence number generator, and constructs a transaction identifier based on the transaction sequence code and transaction operation parameters; The initiator constructs a signaling message based on the transaction identifier and the message type corresponding to the transaction; the signaling message is used to determine the computing power identification signaling.
10. The method according to claim 9, wherein, The message types include computing power identifier request CpiReq, computing power identifier generation CpiGen, computing power identifier update CpiUpd, and computing power identifier deregistration CpiDereg.
11. The method according to claim 9, wherein, If the transaction is a computing power identifier registration transaction, the message type corresponding to the transaction is a computing power identifier request (CpiReq), and the transaction operation parameter is the transaction startup parameter (TransInit); if the transaction is a computing power identifier update transaction, the message type corresponding to the transaction is a computing power identifier update (CpiUpd), and the transaction operation parameter is the transaction startup parameter (TransInit); if the transaction is a computing power identifier deregistration transaction, the message type corresponding to the transaction is a computing power identifier deregistration (CpiDereg), and the transaction operation parameter is the transaction startup parameter (TransInit).
12. The method according to claim 1, further comprising: After the initiator generates the signaling message The initiator encrypts the signaling message based on its identity and a pre-configured key to obtain the transaction's computing power identification signaling. The initiator sends the computing power identification signaling to the signaling executor; The computing power identification signaling is used to instruct the signaling executor to manage the computing power identification of computing power resources and obtain the execution result; The initiator receives the execution result sent by the signaling executor; the execution result contains a transaction identifier; If the transaction operation parameter in the transaction identifier is a transaction execution parameter and the transaction is completed, the initiator generates a transaction end signaling and sends the transaction end signaling to the signaling executor.
13. The method according to claim 12, wherein, The initiator encrypts the signaling message based on its identity and a pre-configured key to obtain the transaction's computing power identification signaling, including: The initiator concatenates the transaction sequence code and the initiator's identity identifier to obtain a concatenation result, and encrypts the concatenation result according to an asymmetric encryption algorithm and a preset public key to obtain the first encrypted ciphertext. The initiator generates a random number and performs an XOR operation on the random number and the pre-configured key to obtain the transaction key; The initiator encrypts the signaling message based on the transaction key and a symmetric encryption algorithm to obtain a second encrypted ciphertext; The initiator performs an XOR operation on the pre-configured key, the transaction sequence code, and the random number to obtain the XOR result, and then encrypts the XOR result based on a hash algorithm to obtain a hash value. The initiator constructs the computing power identification signaling based on the first encrypted ciphertext, the second encrypted ciphertext, the hash value, the random number, and the transaction sequence code.
14. The method according to claim 4, wherein, The transaction operation parameters are also used to characterize the state of the transaction, and the transaction cancellation parameters are used when the initiator requests that the current transaction be rolled back to the state before the transaction started, so as to terminate the transaction.
15. The method according to claim 10, wherein, When the attribute information of the computing power resource changes, the initiator determines that the message type is the computing power identifier update CpiUpd.
16. A computing power identification signaling construction device, comprising: The generation module is configured to generate signaling messages for the initiator; The signaling message includes a message header and a message body; the message header includes the message type, message length, and transaction identifier.
17. A communication device, comprising a memory and a processor, wherein the memory stores a computer program, wherein... When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 15.
18. A computer-readable storage medium having a computer program stored thereon, wherein, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 15.
19. A computer program product comprising a computer program, wherein, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Transaction execution method and device, computer equipment and storage medium
CN111143389A
Calculation power calling method and device
CN112465359A
Computing power sharing method, device and system, electronic equipment and storage medium
CN114021162A
Computing power resource management method, node, system and storage medium
CN114205139A
Method and device for sending computing power announcement and computing power network element node
CN115567530A