Business processing method and apparatus, network device, and storage medium

By including indicator tags in HTTP request messages, NAF/AP can accurately determine the processing stage, solving the problem of NAF/AP's inability to process correctly and improving the system's security and compatibility.

CN117729539BActive Publication Date: 2026-11-27CHINA MOBILE COMM LTD RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211093563.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-08
Publication Date
2026-11-27
Estimated Expiration
2042-09-08

AI Technical Summary

Technical Problem

In the existing GBA and AKMA authentication mechanisms, NAF/AP cannot make the correct processing according to the current stage of the authentication process, resulting in abnormal situations and security issues, such as HTTP 404 error responses and business authorization operations being bypassed.

Method used

By including indicator markers in the request line, request headers, and message body of the HTTP request message, NAF/AP can determine the current processing stage and perform corresponding operations according to different stages, thus avoiding the occurrence of abnormal situations.

Benefits of technology

It improves the security and compatibility of the business processing system, prevents abnormal situations from occurring, and enhances the security and compatibility of the GBA and AKMA authentication mechanisms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117729539B_ABST
    Figure CN117729539B_ABST
Patent Text Reader

Abstract

The application provides a service processing method and device, network equipment and a storage medium, and belongs to the technical field of network security. The service processing method provided by the application comprises the following steps: receiving a first message sent by a first device; determining a current processing stage according to the first message, or performing a first operation according to the first message. The method can determine the processing stage or perform the first operation, thereby avoiding abnormal situations or security problems caused by processing stage cognition errors in the processing process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of network security technology, and in particular to a business processing method, apparatus, network device, and storage medium. Background Technology

[0002] GBA (Generic Bootstrapping Architecture) is a generic authentication architecture based on the root key of 4G / 5G networks, defined by the 3GPP (3rd Generation Partnership Project) standards organization. Utilizing the standard AKA (Authentication and Key Agreement) protocol, GBA enables two-way authentication and key sharing between the UE (User Equipment) and the network.

[0003] Based on the 3GPP GBA specification, GSMA defines an enhanced GBA system and secure communication mechanism, enabling operators to provide open network security capabilities to terminals and application service providers. The enhanced GBA system uses a shared key between the terminal's USIM (Universal Subscriber Identity Module) card and the 4G / 5G network as the root of trust. It achieves mutual authentication between the terminal and the application server (Server) without requiring any pre-installed security credentials, and negotiates and shares session keys to ensure end-to-end communication security for business applications. In the enhanced GBA process, the NAF / AP network element is deployed on the operator's network side and needs to perform the correct processing according to the current stage of the GBA process. For example, in the third stage, the NAF / AP needs to respond directly to the received HTTP message; while in the fourth stage, the NAF / AP needs to forward the HTTP message to the Server for processing.

[0004] However, the HTTP messages forwarded by NAF / AP to the Server will cause the Server to treat them as an exception and return an HTTP 404 error response, ultimately causing the enhanced GBA business process to be terminated in the third stage; secondly, it will cause the enhanced GBA mechanism to be bypassed in the fourth stage of business authorization operations, resulting in security issues.

[0005] Similarly, a similar problem exists in the 3GPP AKMA authentication mechanism. The core processing network elements of AKMA (such as AAP, AF, AAnF, etc.) cannot make the correct processing according to the current stage of the AKMA authentication process, resulting in abnormal situations in the AKMA authentication mechanism. Summary of the Invention

[0006] This invention proposes a service processing method, apparatus, network device, and storage medium to solve abnormal situations or security problems in service processing in the prior art.

[0007] To solve the above-mentioned technical problems, the present invention is implemented as follows:

[0008] In a first aspect, embodiments of the present invention provide a business processing method, the method comprising:

[0009] Receive the first message sent by the first device;

[0010] The current processing stage is determined based on the first message, or the first operation is performed based on the first message.

[0011] Optionally, the first message includes first information indicating the current processing stage.

[0012] Optionally, the first message is an HTTP request message, and the first information is carried in at least one of the request line, request header, and message body of the HTTP request message.

[0013] Optionally, determining the current processing stage based on the first message, or performing the first operation based on the first message, includes:

[0014] The current processing stage is determined based on the value of the first information in the first message, or the first operation is performed based on the value of the first information in the first message.

[0015] Optionally, determining the current processing stage based on the first message, or performing the first operation based on the first message, includes:

[0016] The current processing stage is determined based on whether the first message includes the second information or not.

[0017] Alternatively, depending on whether the first message includes the second information or not, the first operation is performed.

[0018] Optionally, the first message is an HTTP request message, and the second information is the message body of the HTTP request message.

[0019] Optionally, the first message is an HTTP request message, and the second information is at least one specific field located in at least one of the request line, request header, and message body of the HTTP request message.

[0020] Optionally, determining the current processing stage based on the first message includes:

[0021] The current GBA processing stage is determined based on the first message.

[0022] Optionally, the first operation includes:

[0023] Send a second message;

[0024] Or send a third message;

[0025] Or ignore the first message and do nothing.

[0026] Optionally, sending the second message includes: sending a second message in response to the first message.

[0027] Optionally, sending the third message includes: sending a third message to the second device;

[0028] The third message includes at least one of the following:

[0029] The third message is the same as the first message;

[0030] The third message includes part or all of the content of the first message;

[0031] The third message includes part or all of the content of the first message, and also includes third information corresponding to the second device.

[0032] Secondly, embodiments of the present invention provide a business processing method, the method comprising:

[0033] A first message is sent so that a third device can determine the current processing stage based on the first message, or perform a first operation based on the first message.

[0034] Optionally, the first message includes first information indicating the current processing stage.

[0035] Optionally, the first message is an HTTP request message, and the first information is carried in at least one of the request line, request header, and message body of the HTTP request message.

[0036] Optionally, the first message may include the second information or may not include the second information.

[0037] Optionally, the first message is an HTTP request message, and the second information is the message body of the HTTP request message.

[0038] Optionally, the first message is an HTTP request message, and the second information is at least one specific field located in at least one of the request line, request header, and message body of the HTTP request message.

[0039] Thirdly, embodiments of the present invention provide a business processing apparatus, the apparatus comprising:

[0040] The receiving module is used to receive the first message sent by the first device;

[0041] The first processing module is used to determine the current processing stage based on the first message, or to perform a first operation based on the first message.

[0042] Fourthly, embodiments of the present invention provide a user equipment, including:

[0043] The sending module is used to send a first message, which allows a third device to determine the current processing stage or perform a first operation based on the first message.

[0044] Fifthly, embodiments of the present invention provide a network device, including: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the service processing method described in the first or second aspect.

[0045] In a sixth aspect, embodiments of the present invention provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the business processing method described in the first or second aspect.

[0046] The beneficial effects of the technical solution provided by the embodiments of the present invention include at least the following: receiving a first message sent by a first device; determining the current processing stage based on the first message, or performing a first operation based on the first message; enabling the determination of the processing stage, or the execution of the first operation, thereby avoiding abnormal situations or security problems caused by errors in the understanding of the processing stage during the processing process. Attached Figure Description

[0047] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0048] Figure 1 A flowchart of a business processing method provided in an embodiment of the present invention;

[0049] Figure 2 This is a schematic diagram of a GBA authentication process provided in an embodiment of the present invention;

[0050] Figure 3This is a schematic diagram of an AKMA certification process provided in an embodiment of the present invention;

[0051] Figure 4 This is a schematic diagram of an HTTP request message format provided in an embodiment of the present invention;

[0052] Figure 5 A flowchart of another business processing method provided in an embodiment of the present invention;

[0053] Figure 6 This is a schematic diagram of the structure of a business processing device provided in an embodiment of the present invention;

[0054] Figure 7 A schematic diagram of the structure of a user equipment provided in an embodiment of the present invention;

[0055] Figure 8 A schematic diagram of the structure of a network device provided in an embodiment of the present invention;

[0056] Figure 9 This is a schematic diagram illustrating the stage determination of the GBA certification process, as provided in an embodiment of the present invention. Detailed Implementation

[0057] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0058] To facilitate understanding of the technical solution of this invention, the English abbreviations and technical terms appearing in the embodiments are first introduced:

[0059] UE, User Equipment;

[0060] Server;

[0061] HTTP stands for Hypertext Transfer Protocol.

[0062] BSF, Bootstrapping Server Function, is a general service function.

[0063] HSS, Home Subscriber Server, is the server belonging to the subscriber.

[0064] NAF, Network Application Function;

[0065] AP, Authentication Proxy;

[0066] GBA, Generic Bootstrapping Architecture;

[0067] AKA, Authentication and Key Agreement;

[0068] AKMA, Authentication and Key Management for Applications;

[0069] AF, Application Function;

[0070] AAP, AKMA Application Function Proxy;

[0071] AAnF, AKMA Anchor Function;

[0072] A-KID, AKMA Key Identifier;

[0073] AF_ID, Application Function Identifier.

[0074] Please refer to Figure 1 , Figure 1 This invention provides a flowchart of a business processing method according to an embodiment of the present invention. The method includes:

[0075] Step 11: Receive the first message sent by the first device;

[0076] Step 12: Determine the current processing stage based on the first message, or perform the first operation based on the first message.

[0077] Specifically, the processing stage here may correspond to different concepts in different implementation scenarios.

[0078] For example, Figure 2The illustration shows that the GBA authentication process includes: Step 1: Initialization of Bootstrapping; Step 2: Bootstrapping; Step 3: Bootstrapped Security Association Usage; Step 4: Application Security Association Usage. The method provided in this embodiment of the invention can determine whether it is currently in the third or fourth stage based on the first message.

[0079] For example, Figure 3 This illustrates that the AKMA certification process includes: the security association usage phase (also known as the AKMA security association usage phase, corresponding to...) Figure 3 Steps 1-5), application security association usage phase (corresponding to...) Figure 3 (Step 6 and subsequent steps in the text). The names of the stages here are merely examples; in practical applications, those skilled in the art may use different names for each stage depending on the circumstances. The method provided in this embodiment of the invention can determine whether it is currently in the security association usage stage or the application security association usage stage based on the first message. Alternatively, in practical applications, those skilled in the art may not divide the stages but can determine to execute the first operation based on the first message.

[0080] For example, in the prerequisite phase of AKMA authentication, the UE performs master authentication with AUSF and AAnF and establishes K AKMA .

[0081] The subsequent steps following AKMA certification step 6 include:

[0082] 1. The UE sends an application layer session establishment request, which includes the exported A-KID in the application session establishment request message.

[0083] 2. If AAP does not have an activity context associated with A-KID, AAP selects AAnF and sends a key request message to AAnF, which includes A-KID and AF_ID.

[0084] 3. AAnF from K AKMA Derivation of key K AF .

[0085] 4. AAnF sends a key response message to AAP, which contains the key K. AF A-KID and AF_ID.

[0086] 5. AAP sends an application layer session establishment response message to the UE.

[0087] 6. The UE sends an application layer session establishment request, which includes the exported A-KID in the application session establishment request message.

[0088] 7. AAP interacts with AF according to the key acquisition method, supporting two key acquisition methods: the first is that AAP actively pushes the key to AF, and the second is that AF actively requests the key from AAP.

[0089] 8. After AAP and AF exchange keys, send an application layer session establishment response message to UE.

[0090] 9. Secure interaction of subsequent business data between UE and AF.

[0091] The stages here can also be referred to as steps, processes, procedures, etc.

[0092] In some embodiments, the first message includes first information indicating the current processing stage.

[0093] Specifically, the first information is also the first identifier; the current processing stage can be determined by the first identifier, or the first operation can be performed based on the first identifier. The first identifier can be set according to the different processes and the types of the first messages, depending on the specific circumstances.

[0094] In some embodiments, the first message is an HTTP request message, and the first information is carried in at least one of the request line, request headers, and message body of the HTTP request message. Specifically, the request line of the HTTP request message can also be referred to as the request line, etc.

[0095] The HTTP request header here can also be called header, message header, etc.

[0096] The message body here can also be referred to as the request body, request data, body, entity body, etc.

[0097] The initial information can be carried in the request line, request header, or part of the request body. The initial information can be divided into multiple parts, which can be scattered in one or more parts of the request line, request header, or request body; or they can be scattered in discontinuous positions in the request line, request header, or request body.

[0098] For example, in an enhanced GBA system, on the UE side, by carrying a first identifier in the HTTP request message sent by the UE, referencing Figure 2The "Network Application Function / Authentication Agent, NAF / AP" in the system knows the current stage of the GBA process and then performs the correct operation.

[0099] For example, refer to Figure 4 This illustrates the format of an HTTP request message, which primarily consists of a request line, request headers, and a request body (i.e., the message body). The HTTP request header contains several header fields, each consisting of key / value pairs, one pair per line, with the key and value separated by a colon ":". Typical header fields include User-Agent, Accept, and Host. The request body of the HTTP message contains the business data.

[0100] In some embodiments, determining the current processing stage based on the first message, or performing the first operation based on the first message, includes:

[0101] The current processing stage is determined based on the value of the first information in the first message, or the first operation is performed based on the value of the first information in the first message.

[0102] For example, when using the request line or request header in an HTTP request message as the primary identifier to indicate different stages of the process, taking the GBA authentication process as an example, provided that the value specification requirements are met, existing elements in the request line or request header can be selected as the indicator. The indication methods include:

[0103] Use explicit numbers to indicate different stages, such as 3 for the third stage and 4 for the fourth stage;

[0104] Use explicit characters to indicate different stages, such as stage3 for the third stage and stage4 for the fourth stage.

[0105] In some embodiments, determining the current processing stage based on the first message, or performing the first operation based on the first message, includes:

[0106] The current processing stage is determined based on whether the first message includes the second information or not.

[0107] Alternatively, depending on whether the first message includes the second information or not, the first operation is performed.

[0108] For example, when using the request line or request header in an HTTP request message as the primary identifier to indicate different stages of the process, take the GBA authentication process as an example:

[0109] Use explicit identifiers (numbers or characters) to indicate the third stage, and use implicit identifiers (without indicator identifiers) to indicate the fourth stage; use explicit identifiers (numbers or characters) to indicate the fourth stage, and use implicit identifiers (without indicator identifiers) to indicate the third stage.

[0110] For example, when using the request body in an HTTP request message to indicate different stages of a process, such as the GBA authentication process, this can be indicated by whether or not a message body is included.

[0111] This is indicated by whether or not a message body is included; specifically, the message body of an HTTP request message contains business data. Figure 2 The illustrated GBA authentication process shows that when the HTTP request message sent by the UE contains application layer service data, it indicates that the message needs to be sent and received by the server, and in this case, the NAF / AP should forward the message to the server. When the HTTP request message sent by the UE does not contain application layer service data, it indicates that the message does not need to be processed by the server, and the NAF / AP should not forward the message to the server.

[0112] Based on the above principles, when sending an HTTP request message, the UE can decide whether to include a message body depending on the stage. For example, in stage three, the HTTP request message sent by the UE should not include a message body; in stage four, the HTTP request message sent by the UE should include a message body. Therefore, the NAF / AP can determine the current stage of the GBA authentication process based on whether the HTTP request message sent by the UE includes a message body. After receiving the HTTP request message from the UE, the NAF / AP first performs HTTP Digest authentication on the message using the GBA session key. After successful authentication, the NAF / AP adds a judgment mechanism: if the HTTP request message sent by the UE does not include a message body, it indicates that the current stage is stage three, and the NAF / AP should reply to the UE with an HTTP 200 OK response, while not forwarding the message to the server; if the HTTP request message sent by the UE includes a message body, the current stage is stage four, and the NAF / AP should process it according to the pre-set Ks_NAF* key acquisition method.

[0113] In some embodiments, the first message is an HTTP request message, and the second information is the message body of the HTTP request message.

[0114] It should be noted that in the current GBA authentication process, the HTTP request messages in both the third and fourth stages contain message bodies, causing the NAF / AP to be unable to distinguish the current processing stage, resulting in the problem mentioned in the background. In the method provided by this embodiment: in the third stage of the GBA authentication process, since no business data needs to be transmitted in this stage, the HTTP request message sent by the terminal does not carry a message body; in the fourth stage of the GBA authentication process, since business data needs to be transmitted, the HTTP request message sent by the terminal carries a message body. By observing whether or not a message body is carried, the receiving end can easily determine the current GBA authentication process. Furthermore, this method is simple for the terminal to implement, requiring only a choice between carrying or not carrying a message body, and has low modification costs; it is easy for network-side devices to determine, has good compatibility, and is easy to deploy on a large scale.

[0115] In some embodiments, the first message is an HTTP request message, and the second information is at least one specific field located in at least one of the request line, request header, and message body of the HTTP request message.

[0116] For example, the second information is a field that can be located somewhere in the request line, request header, or message body;

[0117] Alternatively, the second information may consist of multiple fields, which may be located in a continuous or non-contiguous position in the request line, request header, and message body; or they may be scattered in multiple places in the request line, request header, and message body.

[0118] For example, the URL in the request line can be used, with a new indicator value added as an identifier. When the URL is "URI; stage3", it indicates that the current stage is the third stage; when the URL is "URI; stage4", it indicates that the current stage is the fourth stage. After receiving the HTTP request message from the UE, the NAF / AP first performs HTTP Digest authentication on the message using the GBA session key. After successful authentication, the NAF / AP adds a judgment mechanism to determine the current stage of the GBA authentication process based on the URL in the message. If it is determined that the current stage is the third stage, the NAF / AP should reply to the UE with an HTTP 200 OK response and not forward the message to the server; if it is determined that the current stage is the fourth stage, the NAF / AP should process it according to the pre-configured Ks_NAF* key acquisition method.

[0119] For example, indications can be provided using existing fields in the request header, such as existing fields in the HTTP request message, to indicate different stages of the GBA authentication process. For instance, the Host field in the request header could be used, with a new indication value appended to the field value. A Host field value of "ServerFQDN; stage3" would indicate the current stage as stage three, and a Host field value of "ServerFQDN; stage4" would indicate the current stage as stage four.

[0120] For example, indications can be provided by adding new fields to the request header. These new header fields in the HTTP request message serve as identifiers to indicate different stages of the GBA authentication process. For instance, adding a header field named "gba-stage" to the request header would indicate that the current stage is the third stage when the field value is "stage3" and the current stage is the fourth stage when the field value is "stage4".

[0121] This can be achieved through the following fields:

[0122] GET / HTTP / 1.1

[0123] Host:xxxxxx

[0124] Accept:* / *

[0125] User-Agent:3gpp-gba

[0126] Xxxxxx ......

[0128] gba-stage:stage3 / stage4.

[0129] For example, the request body in the HTTP request message can also be used to indicate the process stage in another way. For example, when the UE sends an HTTP request message, it can carry a message body in the third and fourth stages. By adding a field to the message body as an indicator, the current stage of the GBA authentication process can be indicated. The implementation method and processing flow are the same as the other implementation methods described above.

[0130] In some embodiments, determining the current processing stage based on the first message includes:

[0131] The current GBA processing stage is determined based on the first message.

[0132] In some embodiments, the first operation includes:

[0133] Send a second message;

[0134] Or send a third message;

[0135] Or ignore the first message and do nothing.

[0136] Specifically, send a second message, as shown in the reference. Figure 2 The GBA authentication process shown corresponds to sending the second message. Figure 2 Sending HTTP 200K in the third stage; see reference Figure 3 The AKAM certification process shown corresponds to Figure 3 Step 5, "Application Layer Session Establishment Response," is shown in the diagram.

[0137] Specifically, send a third message, as shown in the reference. Figure 2 The GBA authentication process shown corresponds to sending a third message. Figure 2 The HTTP request message shown in step four of the middle stage can be either option 1 or option 2; see reference. Figure 3 The AKAM certification process shown corresponds to Figure 3 The steps shown are optional method 1 or optional method 2 of the HTTP request message.

[0138] Taking the GBA authentication process as an example, on the UE side, when the UE sends an HTTP request message, the application software or modem fills in the value used as an indicator. On the NAF / AP side, a new judgment mechanism is added to determine the current stage of the GBA authentication process based on the indicator in the HTTP message, and then take appropriate action.

[0139] In addition, when the NAF / AP forwards the UE's HTTP request message to the Server in the fourth stage, the following processing method can be selected:

[0140] Preserve the indicator in the message;

[0141] The indicator in the message is deleted before it is forwarded to the server to avoid the indicator added to the existing element from affecting normal business.

[0142] In some embodiments, sending the second message includes sending a second message in response to the first message.

[0143] In some embodiments, sending the third message includes: sending a third message to the second device;

[0144] The third message includes at least one of the following:

[0145] The third message is the first message;

[0146] The third message includes part or all of the content of the first message;

[0147] The third message includes part or all of the content of the first message, and also includes third information corresponding to the second device. It is worth noting that the third information can have several forms. When this embodiment of the invention is applied to a GBA process, the third information is the GBA application layer session key. When this embodiment of the invention is applied to an AKMA process, the third information can be a key provided to the corresponding server (i.e., the second device). It should be noted that the above two are merely examples; in practice, the third information is not limited to keys and can also be other information used by the second device. Of course, the third message can also include other information such as the key's lifespan.

[0148] In summary, the business processing method provided by the embodiments of the present invention can achieve the following technical effects:

[0149] It can identify the stage of the process that is clearly defined by the first message or execute the first operation at each stage of the business process, thereby preventing bypass of the process stage, improving the security of the business system, enhancing the compatibility of the business processing system, and avoiding the occurrence of some abnormal situations.

[0150] Specifically, in the GBA authentication process, the NAF / AP can clearly distinguish between the third and fourth stages of the enhanced GBA authentication process through UE indication, preventing the business authorization operation in the fourth stage from being bypassed and improving the security of the enhanced GBA system; eliminating the HTTP 404 error response returned by the server for handling abnormal situations, avoiding abnormal termination of the enhanced GBA business process; reducing the impact on the existing standard GBA processing mechanism, avoiding the need to modify the terminal modem chip, and improving the compatibility and feasibility of the enhanced GBA mechanism.

[0151] Secondly, in the AKAM authentication process, the first message can determine whether the current stage is the security association usage stage or the application security association usage stage, avoiding the occurrence of abnormal situations and thus improving the security and compatibility of business processes.

[0152] refer to Figure 9 This is a schematic diagram illustrating the stage judgment of the GBA authentication process provided in an embodiment of the present invention, combined with... Figure 9 as well as Figure 2 , Figure 3 The business processing method provided in the embodiments of the present invention will be further explained as follows:

[0153] Figure 9 The diagram illustrates how the NAF / AP performs a stage determination and corresponding message processing flow when it receives an HTTP request message from the UE during the GBA authentication process. Figure 9 The stage determination shown in the diagram corresponds to Figure 2 The specific steps for determining the stage after HTTP Digest verification in the third or fourth stage are as follows:

[0154] Step 901: The NAF / AP receives an HTTP request message sent by the UE;

[0155] Step 902: NAF / AP uses the GBA session key to perform HTTP Digest authentication on the received HTTP request message;

[0156] Step 903: After authentication is successful, NAF / AP checks the stage indicated by the indicator identifiers (request line, request header, message body) in the HTTP request message;

[0157] Step 904: When the determination result is that the HTTP request is in the third stage, the NAF / AP replies to the UE with HTTP 200 OK and will not forward the HTTP request message sent by the UE to the Server.

[0158] Step 905: When the determination result is that the HTTP request is in the fourth stage, NAF / AP shall take the corresponding processing method according to the set key acquisition method (the processing method includes: the server actively requests from NAF / AP, or NAF / AP actively pushes to the server);

[0159] Step 906: Proceed with the subsequent processing.

[0160] In steps 901-906 above, a "stage determination" step was added to the GBA certification process, see reference. Figure 2 In the third or fourth stage of the GBA authentication process, after HTTP Digest verification, a stage determination step is used to determine the business stage.

[0161] It is worth noting that, reference Figure 3 In the AKMA authentication process, after steps "4. Key Response Message" and "6. Application Layer Session Establishment Request (A-KID)," a new "Stage Determination" step is added. The new "Stage Determination" step corresponds to the stage determination step added to the business process processing in this invention. The "Stage Determination" step is used to determine the business stage.

[0162] Figure 5 This invention illustrates another business processing method provided by an embodiment of the present invention, the method comprising:

[0163] Step 51: Send a first message so that the third device can determine the current processing stage based on the first message, or perform a first operation based on the first message.

[0164] Specifically, Figure 5 The service processing method shown is applied to a user equipment (UE), which can send messages or requests to other devices through this method. Optionally, the first message includes first information indicating the current processing stage.

[0165] Optionally, the first message is an HTTP request message, and the first information is carried in at least one of the request line, request header, and message body of the HTTP request message.

[0166] Optionally, the first message may include the second information or may not include the second information.

[0167] Optionally, the first message is an HTTP request message, and the second information is the message body of the HTTP request message.

[0168] Optionally, the first message is an HTTP request message, and the second information is at least one specific field located in at least one of the request line, request header, and message body of the HTTP request message.

[0169] In summary, the service processing method provided by the embodiments of the present invention can correspond to the service processing method provided in the first aspect of the present invention, and can be applied to the user equipment terminal corresponding to the service processing method, thereby achieving all the technical effects of the service processing method provided in the first aspect of the present application, which will not be repeated here.

[0170] refer to Figure 6 This invention provides a business processing device 60, which includes:

[0171] Receiver module 61 is used to receive the first message sent by the first device;

[0172] Processing module 62 is used to determine the current processing stage based on the first message, or to perform a first operation based on the first message.

[0173] Optionally, the first message includes first information indicating the current processing stage.

[0174] Optionally, the first message is an HTTP request message, and the first information is carried in at least one of the request line, request header, and message body of the HTTP request message.

[0175] Optionally, the processing module 62 is further configured to:

[0176] The current processing stage is determined based on the value of the first information in the first message, or the first operation is performed based on the value of the first information in the first message.

[0177] Optionally, the processing module 62 is further configured to:

[0178] The current processing stage is determined based on whether the first message includes the second information or not.

[0179] Alternatively, depending on whether the first message includes the second information or not, the first operation is performed.

[0180] Optionally, the first message is an HTTP request message, and the second information is the message body of the HTTP request message.

[0181] Optionally, the first message is an HTTP request message, and the second information is at least one specific field located in at least one of the request line, request header, and message body of the HTTP request message.

[0182] Optionally, the processing module 62 is further configured to:

[0183] The current GBA processing stage is determined based on the first message.

[0184] Optionally, the first operation includes:

[0185] Send a second message;

[0186] Or send a third message;

[0187] Or ignore the first message and do nothing.

[0188] Optionally, the processing module 62 is further configured to send a second message, including sending a second message in response to the first message.

[0189] Optionally, the processing module 62 is further configured to send a third message, including sending a third message to the second device;

[0190] The third message includes at least one of the following:

[0191] The third message is the first message;

[0192] The third message includes part or all of the content of the first message;

[0193] The third message includes part or all of the content of the first message, and also includes third information corresponding to the second device.

[0194] This invention provides a business processing device 60 that can implement a business processing method provided in this invention and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0195] Fourthly, embodiments of the present invention provide a user equipment 70, the user equipment comprising:

[0196] Sending module 71 is used to send a first message, which is used by the third device to determine the current processing stage.

[0197] Processing module 72 performs a first operation based on the first message.

[0198] Optionally, the first message includes first information indicating the current processing stage.

[0199] Optionally, the first message is an HTTP request message, and the first information is carried in at least one of the request line, request header, and message body of the HTTP request message.

[0200] Optionally, the first message may include the second information or may not include the second information.

[0201] Optionally, the first message is an HTTP request message, and the second information is the message body of the HTTP request message.

[0202] Optionally, the first message is an HTTP request message, and the second information is at least one specific field located in at least one of the request line, request header, and message body of the HTTP request message.

[0203] This invention provides a user equipment 70 that can implement another service processing method provided in this invention and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0204] Please refer to Figure 8 This invention also provides a network device 80, including a processor 81, a memory 82, and a computer program stored in the memory 82 and executable on the processor 81. When the computer program is executed by the processor 81, it implements the various processes of the above-described service processing method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0205] This invention also provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the various processes of the above-described business processing method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0206] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0207] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0208] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of the present invention.

Claims

1. A business processing method applied to NAF / AP, characterized in that, The method includes: Receive a first message sent by a first device; wherein the first device is a terminal, and the first message is an HTTP request message; The current processing stage is determined based on the first message, and a first operation is performed based on the first message, including: If the first message does not contain a message body, it is determined that the current state is in the third stage of Enhanced GBA, and the NAF / AP replies to the first device with a second message; the second message is HTTP 200 OK; If the first message contains a message body, it is determined that the current stage is Enhanced GBA Phase 4, and NAF / AP sends a third message to the second device; the third message is an HTTP request message; wherein, the second device is a server.

2. The business processing method according to claim 1, characterized in that, The second information is the message body of the HTTP request message, and the second information is at least one specific field, which is located in at least one of the request line, request header, and message body of the HTTP request message.

3. The method according to claim 1, characterized in that, in, The third message includes at least one of the following: The third message is the same as the first message; The third message includes part or all of the content of the first message; The third message includes part or all of the content of the first message, and also includes third information corresponding to the second device.

4. A business processing method, applied to a first device, characterized in that, The method includes: A first message is sent so that a third device can determine the current processing stage based on the first message and perform a first operation based on the first message; the third device is a NAF / AP, and the first message is an HTTP request message; The third device receives a second message, wherein the second message is a response from the third device when it determines that it is currently in the third stage of Enhanced GBA, without a message body, and the second message is an HTTP 200 OK.

5. The method according to claim 4, characterized in that, The message body of the HTTP request message is second information, which is at least one specific field located in at least one of the request line, request header, and message body of the HTTP request message.

6. A service processing apparatus, applied to NAF / AP, characterized in that, The device includes: A receiving module is used to receive a first message sent by a first device; wherein the first device is a terminal, and the first message is an HTTP request message; A first processing module is configured to determine the current processing stage based on the first message, and to perform a first operation based on the first message, including: If the first message does not contain a message body, it is determined that the current state is Enhanced GBA Phase 3, and the NAF / AP replies to the first device with a second message; the second message includes 200 OK. If the first message contains a message body, it is determined that the current stage is Enhanced GBA Phase 4, and NAF / AP sends a third message to the second device; the third message is an HTTP request message; wherein, the second device is a server.

7. A user equipment, characterized in that, The user equipment includes: A sending module is used to send a first message, which allows a third device to determine the current processing stage based on the first message and to perform a first operation based on the first message; the third device is a NAF / AP, and the first message is an HTTP request message; The user equipment is also used for: The third device receives a second message, wherein the second message is a response from the third device when it determines that it is currently in the third stage of Enhanced GBA, without a message body, and the second message is an HTTP 200 OK.

8. A network device, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the business processing method as described in any one of claims 1 to 3 or 4 to 5.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the business processing method as described in any one of claims 1 to 3 or 4 to 5.

Citation Information

Patent Citations

  • Business processing method, device and system and storage medium

    CN113518348A

  • Method and device for processing regional information in terminal equipment

    CN114827347A