Application program slicing processing method, terminal equipment and related product
By determining the matching of conditions and parameters in the slice establishment request within the terminal device, the problem of anomalies caused by the terminal device blindly initiating requests is solved, resulting in more efficient slice establishment and higher-quality network services.
Patent Information
- Application Number
- CN202411876929.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-12-12
AI Technical Summary
Terminal devices blindly send slice creation requests to the network, causing abnormal crashes of chips and operating systems or network signaling storms, hindering the creation of application slices and affecting user experience.
The terminal device determines whether the slice establishment request meets the preset conditions, and if it does, sends the slice establishment request to the network-side device. After obtaining the response message, it determines whether the slice parameter information matches the application requirements and decides whether to perform the slice establishment operation.
It avoids the risks of abnormal chip and operating system crashes or network signaling storms, improves the success rate of slice creation, ensures that applications achieve the expected network performance and quality of service, and enhances the user experience.
Smart Images

Figure CN121126572A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of network slicing, and more particularly to an application slicing processing method, terminal device, and related products. Background Technology
[0002] Network slicing is a crucial function of 5G networks for providing differentiated services to industry and public customers. Users can initiate slice creation requests to the network using applications installed on their terminal devices, based on their network resource needs. However, in existing technologies, terminal devices blindly initiate slice creation requests during the process, leading to risks such as chip and operating system crashes or network signaling storms. This hinders the slice creation process for applications, preventing them from achieving the expected network performance and quality of service, severely impacting user experience. Summary of the Invention
[0003] The purpose of this application is to provide an application slicing processing method, terminal device, and related products to solve the problem in the related art where the terminal device blindly initiates a session slice establishment request to the network, thus hindering the application slice establishment.
[0004] To solve the above-mentioned technical problems, the embodiments of this application are implemented as follows: In a first aspect, embodiments of this application provide an application slicing processing method, including: In response to an application initiating a slice creation request, determine whether the slice creation request meets preset slice creation conditions; If it is determined that the slice establishment request meets the preset slice establishment conditions, the slice establishment request is sent to the network-side device, and the response message returned by the network-side device is obtained; Determine whether the slice parameter information contained in the response message matches the slice requirements of the application. Based on the determination result, determine whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
[0005] Secondly, embodiments of this application provide a terminal device, including: The response module is used to respond to a slice creation request initiated by an application and determine whether the slice creation request meets the preset slice creation conditions. The sending module is used to send the slice establishment request to the network-side device and obtain the response message returned by the network-side device when it is determined that the slice establishment request meets the preset slice establishment conditions. The determination module is used to determine whether the slice parameter information contained in the response message matches the slice requirements of the application, and based on the determination result, to determine whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
[0006] Thirdly, embodiments of this application provide an electronic device, including a processor, a communication interface, a memory, and a communication bus; wherein the processor, the communication interface, and the memory communicate with each other via the bus; the memory is used to store computer programs; and the processor is used to execute the programs stored in the memory to implement the application slicing processing method as described in the first aspect.
[0007] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the application slicing processing method as described in the first aspect.
[0008] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the application slicing processing method as described in the first aspect.
[0009] In this embodiment, firstly, in response to an application initiating a slice establishment request, it is determined whether the slice establishment request meets preset slice establishment conditions. Then, if the slice establishment request meets the preset conditions, a slice establishment request is sent to the network-side device, and a response message returned by the network-side device is obtained. Next, it is determined whether the slice parameter information contained in the message matches the application's slice requirements. Based on the determination result, it is determined whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request. Therefore, through this embodiment, the terminal device no longer blindly sends slice establishment requests to the network-side device, but can determine whether the slice establishment request meets the preset conditions. If the slice establishment request meets the preset conditions, it sends the slice establishment request to the network-side device, and finally, based on the determination result of whether the slice parameter information contained in the response message matches the application's slice requirements, it determines whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request. This not only avoids the risk of chip and operating system crashes or network signaling storms caused by the terminal device blindly initiating session establishment requests to the network, but also improves the success rate of slice establishment, enabling the application to obtain expected network performance and service quality, thus improving the user experience. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 A flowchart illustrating an application slicing method provided in this application embodiment; Figure 2 An exemplary flowchart illustrating the application slicing processing method provided in this application embodiment; Figure 3 This is a schematic diagram of the module composition of a terminal device provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0012] This application provides an application slicing processing method, a terminal device, and related products.
[0013] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.
[0014] The following detailed description, with reference to the accompanying drawings, describes an application slicing processing method, terminal device, and related products provided in the embodiments of this application.
[0015] Figure 1 This is a flowchart illustrating an application slicing method provided in an embodiment of this application. Figure 1 The method described above is executed by a terminal device, which can be a personal computer, or an electronic device such as a mobile phone, tablet, laptop, PDA, or in-vehicle electronic device. Figure 1 As shown, the application's slicing method may specifically include the following steps: S102, in response to the application initiating a slice creation request, determine whether the slice creation request meets the preset slice creation conditions.
[0016] In this embodiment of the application, the terminal device responds to the application's request to create a slice and determines whether the slice creation request meets the preset slice creation conditions, that is, whether the current application's request to create a slice is feasible.
[0017] In one embodiment, determining whether a slice creation request meets preset slice creation conditions includes: Obtain the parameter information contained in the slice creation request; the parameter information includes one or more of the following: the type of slice to be created, the application's identification information, the slice identification information, and the identification information of the network to which the terminal device is connected; Based on the slice configuration information of the terminal device and the parameter information, it is determined whether the slice establishment request meets the preset slice establishment conditions; the slice configuration information of the terminal device includes: the slice configuration information preset by the terminal device and the slice configuration information returned by the network side device.
[0018] In this embodiment of the application, based on the parameter information contained in the slice creation request initiated by the application and the slice configuration information of the terminal device, it is determined whether the slice creation request initiated by the application meets the preset slice creation conditions.
[0019] In one implementation, an application pre-deployed on the terminal device initiates a slice creation request to the terminal device's operating system via an API call. Upon receiving the request, the operating system parses the parameters included in the request, such as the requested slice type, application identification information, slice identification information, and the identification information of the network to which the terminal device is connected. The slice type refers to the slice's purpose, characteristics, or service scenario. For example, in a 5G network, slice types might include enhanced mobile broadband (eMBB), massive machine-type communications (mMTC), and ultra-reliable low-latency communications (uRLLC). Specifying the slice type in the request helps network-side devices allocate and optimize resources according to demand. The application identification information uniquely identifies the application requesting the slice. This might include the application's name, version number, developer information, or application ID. This information helps network-side devices identify and manage applications, ensuring that slices are correctly associated with the corresponding applications. The slice identification information uniquely identifies the instance of the requested slice. In a 5G network, slice identification information typically includes parameters such as S-NSSAI (Network Slice Selection Auxiliary Information - Single Network Slice Selection Information). Slice identification information helps network-side devices track and manage slice instances, ensuring the correctness and uniqueness of slices. The identification information of the network to which the terminal device is connected indicates which network or network region the slice request originated from. This may include network type (e.g., 4G, 5G), network operator information, base station ID, or access point name (APN), helping network-side devices understand the source and context of the slice request for resource allocation and slice creation.
[0020] In addition, parameter information may include IP triples. An IP triple includes an IP address, protocol type, and port number, used to uniquely identify a communication endpoint or session in network communication. In a slice establishment request, the IP triple helps network-side devices accurately associate slices with specific terminal devices or applications, thereby ensuring that slices are correctly established and meet requirements.
[0021] The pre-configured slice configuration information on terminal devices includes: Network Slice Selection Assistance Information (NSSAI), User Equipment Route Selection Policy (URSP), and Traffic Description parameters. NSSAI distinguishes different types and purposes of network slices. URSP characterizes the mapping between terminal device applications and network slices. Traffic Description describes the characteristics and attributes of network traffic. In addition to pre-configured slice information, terminal devices also obtain slice configuration information such as NSSAI, URSP, and Traffic Description from network-side devices. Furthermore, the slice configuration information of terminal devices may also include information on currently established or recently established slices, including records of successful or failed slice establishment.
[0022] After obtaining the above information, the terminal device can determine whether the slice establishment request meets the preset slice establishment conditions. During this process, the terminal device can count the frequency (frequency and number of times) of slice establishment requests initiated by the application to determine whether the frequency exceeds a preset frequency threshold. If it does, it indicates that the application needs to process a large amount of data or needs to meet specific Quality of Service (QoS) requirements, and the application has a strong demand for network slice resources. The terminal device also needs to determine whether the parameter information contained in the slice establishment request is complete. The terminal device can also parse network slice capabilities, user subscription information, and slice feature description information based on the currently preset slice configuration information or slice configuration information obtained from the network-side device, and determine whether this information is complete. By parsing NSSAI, the terminal device can obtain a list of currently available network slices and the feature description of each slice (such as service type, slice distinguisher, etc.), which helps the terminal device select network slices that meet the application's business needs. Based on URSP rules, the terminal device can select a suitable network slice for the application. When parsing URSP, the terminal device first obtains the Traffic Descriptor parameters related to the application, and then finds the Route Selection Descriptor related to data transport according to the URSP rules, which contains network slice information. By parsing NSSAI and URSP, the terminal device can understand the slicing capabilities provided by the current network-side devices, including the number, type, and characteristics of slices. The terminal device can also obtain the user's subscription information, including the list of network slices subscribed to by the user, slice priorities, etc., which helps the terminal device consider user preferences and needs when selecting network slices. Slice feature description information includes slice performance parameters (such as bandwidth, latency, jitter, etc.), service type (such as eMBB, URLLC, mMTC, etc.), and application scenarios of the slice, which helps the terminal device better understand and utilize network slice resources. The terminal device can also calculate the success rate of established or previously established slices and determine whether the success rate is greater than or equal to a preset success rate threshold. In addition, the terminal device can also determine whether the application scenario and service performance of the current slice establishment request meet expectations.
[0023] In one specific implementation, scores can be assigned to four categories of information: the frequency of slice creation requests initiated by the application, the completeness of the parameter information included in the slice creation request, the terminal device's ability to parse complete network slices, the completeness of user subscription information and slice feature description information, and whether the application scenario and business performance of the current slice creation request meet expectations. Based on the scoring results, it is determined whether the slice creation request initiated by the application meets the preset slice creation conditions. Assuming that the maximum score for each category is 100, the actual score is... The weight of each type of information is If the minimum score required for creating the slice is m (m > 0), then the final score is... If S is greater than or equal to m, the slice creation request initiated by the application is determined to meet the preset slice creation conditions; if S is less than m, the slice creation request initiated by the application is determined to not meet the preset slice creation conditions.
[0024] S104, if it is determined that the slice establishment request meets the preset slice establishment conditions, a slice establishment request is sent to the network-side device, and a response message returned by the network-side device is obtained.
[0025] In this embodiment of the application, when the slice establishment request meets the preset slice establishment conditions, the terminal device will send a slice establishment request to the network-side device and obtain the response message returned by the network-side device for the slice establishment request.
[0026] The response message returned by the network-side device confirms the slice creation status, provides relevant resource information, and may contain additional instructions or error handling information. Specifically, the response message may include a slice creation success message, the identifier of the created slice instance, resource allocation information, slice configuration information (providing slice configuration parameters such as routing policies and security policies), and error or rejection messages (providing detailed error codes and descriptions if slice creation fails, and may also include suggested solutions or a request for the end user to resubmit the request). Status update messages: After slice creation, if the slice's status changes (e.g., from active to inactive), the network-side device can send a status update message to inform the end user of the slice's current status and allow them to take appropriate action. Acknowledgment of receipt messages: The network-side device may first send an acknowledgment of receipt message to indicate that the slice establishment request has been received, allowing the end user to confirm that the request was successfully sent and received by the network-side device.
[0027] In one embodiment, sending a slice establishment request to the network-side device includes: Configure network traffic parameters that match the application in the slice creation request to obtain the configured slice creation request; Send the configured slice establishment request to the network-side device.
[0028] In one implementation, when the terminal device sends a slice establishment request to the network-side device, network traffic parameters can be inserted into the slice establishment request, and a slice establishment request configured with network traffic parameters can be sent to the network-side device.
[0029] Network traffic parameters reflect network transmission demands and characteristics, guiding the allocation of slice resources. By providing network traffic parameters, such as transmission rate, number of packets, and packet size, in the network slice establishment request, network-side devices can more accurately assess the required resource volume, thereby avoiding over-investment and resource waste, and achieving flexible and efficient resource utilization. Furthermore, network-side devices can configure corresponding performance indicators for each slice, such as bandwidth, latency, and reliability, thus improving the quality of service. In addition, it can prevent mutual interference between services and data leakage, improving network security and isolation.
[0030] In another implementation, the terminal device can also establish a Protocol Data Unit Session (PDU Session) with the network-side device, insert network traffic parameters into the established PDU Session, and send a slice establishment request to the network-side device through the established PDU Session.
[0031] S106, determine whether the slice parameter information contained in the response message matches the slice requirements of the application, and based on the determination result, determine whether to trigger the network-side device to perform slice establishment operation in response to the slice establishment request.
[0032] In this embodiment of the application, after receiving the response message returned by the network-side device, the terminal device determines whether the slice parameter information contained in the response message matches the slice requirements of the application, and determines whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request based on the determination result.
[0033] In one embodiment, the response message includes a first response message, which contains first slice parameter information; determining whether the slice parameter information contained in the response message matches the slice requirements of the application, and based on the determination result, determining whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request, including: Determine whether the first slice parameter information contained in the first response message matches the application's slice requirements; If the determination result is that the first slice parameter information matches the slice requirements of the application, the network-side device is triggered to perform a slice establishment operation in response to the slice establishment request; Otherwise, according to the preset sending rules, a slice establishment request is sent to the network-side device, and a second response message is obtained from the network-side device. Based on the second response message and the application's slice requirements, it is determined whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
[0034] In this embodiment, the terminal device determines whether the first slice parameter information contained in the first response message matches the slice requirements of the application. If the first slice parameter information contained in the first response message matches the slice requirements of the application, the network-side device is triggered to perform a slice establishment operation in response to the slice establishment request. If the first slice parameter information contained in the first response message does not match the slice requirements of the application, the terminal device sends a slice establishment request to the network-side device according to a preset sending rule, and obtains a second response message returned by the network-side device. Based on the second response message and the slice requirements of the application, the terminal device determines whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
[0035] In one implementation, the first slice parameter information may include, for example, a slice identifier (S-NSSAI): including a slice type (SST) and a slice distinguisher (SD). The SST indicates the type or purpose of the slice, such as eMBB, URLLC, MIoT, etc. The SD distinguishes different slice instances within the same slice type. A slice instance identifier (NSI ID) uniquely identifies a slice instance. There is a many-to-many relationship between slice instances and S-NSSAIs; one slice type can generate multiple slice instances, and one slice instance can correspond to multiple S-NSSAIs. Resource allocation information: network resources allocated to the slice, such as bandwidth, latency, jitter, etc. This information is a key indicator of slice performance, directly affecting the slice's behavior and quality of service in the network. Quality of Service (QoS) parameters: in addition to basic resource allocation information, other QoS parameters may be included, such as packet loss rate, throughput, priority, etc. These parameters are used to further refine the slice's QoS requirements. Security policies: security configuration information for the slice, such as encryption methods, access control policies, etc. This information is crucial for ensuring the slice's data security and privacy protection. Slice lifecycle management information: Parameters related to slice creation, modification, deletion, and other lifecycle operations. This information helps network-side devices and applications jointly manage the slice lifecycle, ensuring stable operation and timely updates. Slice isolation information: The degree of isolation or isolation policy between slices. This helps ensure that data and traffic between different slices do not interfere with each other, thereby improving network stability and security. If the first slice parameter information contained in the first response message matches the application's slice requirements, the terminal device will send corresponding feedback information to the network-side device. After receiving the feedback information, the network-side device will perform a slice establishment operation based on the first slice parameter information. The terminal device will also establish a session connection with the network-side device and, after establishing the session connection, trigger the corresponding application, enabling the application to use the network resources provided by the slice instance established by the network-side device through this session connection. During this process, the terminal device will also send control commands to the application to notify the application that the network-side device has established a slice that meets its requirements and can be used. The terminal device will also update the application's network settings, specifying the use of a specific network interface or session, and configuring any necessary QoS parameters. After receiving the control commands sent by the terminal device, the application will trigger the corresponding logic to use the slice. Once the application successfully uses a slice, it can begin transferring data through the slice. During this process, the application utilizes the network resources provided by the slice to perform its tasks, such as sending and receiving data.
[0036] In one embodiment, a slice establishment request is sent to the network-side device according to a preset sending rule, and a second response message returned by the network-side device is obtained. Based on the second response message and the application's slice requirements, it is determined whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request, including: At preset time intervals, a preset number of slice establishment requests are sent to the network-side device, and a second response message is obtained from the network-side device each time. Determine whether the second slice parameter information contained in each second response message returned by the network-side device matches the slice requirements of the application. Based on the determination result, determine whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
[0037] In this embodiment, when the terminal device determines that the first slice parameter information contained in the first response message does not match the slice requirements of the application, the terminal device will send a preset number of slice establishment requests to the network-side device at preset time intervals, and obtain the second response message returned by the network-side device each time. The terminal device will determine whether the second slice parameter information contained in the second response message returned by the network-side device each time matches the slice requirements of the application. Based on the determination result, the terminal device will determine whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request.
[0038] In one example, the terminal device can send q (q≥0) slice establishment requests to the network-side device at intervals T (T≥0), where T is, for example, 30 seconds (s), and q is, for example, 5. Each time, the terminal device receives a second response message returned by the network-side device and determines whether the second slice parameter information contained in each second response message matches the slice requirements of the application. Based on the determination result, the terminal device determines whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
[0039] Specifically, the terminal device can send a slice establishment request to the network-side device every 30 seconds, for a total of 5 slice establishment requests. Each time, it retrieves the second response message returned by the network-side device and determines whether the second slice parameter information contained in the second response message matches the application's slice requirements. Based on the determination result, the terminal device decides whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
[0040] In another embodiment, the terminal device may also adjust the parameter information in the slice establishment request according to a preset time interval, send a slice establishment request containing the adjusted parameter information to the network-side device each time, and obtain the second response message returned by the network-side device; the terminal device determines whether the second slice parameter information contained in each second response message returned by the network-side device matches the slice requirements of the application, and determines whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request based on the determination result.
[0041] Specifically, each slice establishment request sent by the terminal device to the network-side device can include adjusted parameter information. This adjusted parameter information provides a more detailed representation of the slice requirements or represents a correction to previous requirements. Upon receiving the resent slice establishment request from the terminal device, the network-side device reassesses whether the adjusted slice requirements can be met based on current network resources and policies. Accordingly, the network-side device returns a new response message containing the updated slice parameter information. If the updated slice parameter information returned by the network-side device still does not match the application's slice requirements, the terminal device can continuously adjust the parameter information in the slice establishment request and send slice establishment requests containing the adjusted parameter information to the network-side device until the updated slice parameter information returned by the network-side device matches the application's slice requirements, or the number of times the terminal device sends slice establishment requests to the network-side device reaches a preset threshold.
[0042] In one embodiment, based on the judgment result, determining whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request includes: If the determination result is that at least one second response message contains second slice parameter information that matches the slice requirements of the application, then the network-side device is triggered to perform a slice establishment operation in response to the slice establishment request. If the determination result is that the second slice parameter information contained in any second response message does not match the slice requirements of the application, then the network-side device will not be triggered to perform slice establishment operation in response to the slice establishment request.
[0043] In this embodiment, if the determination result is that at least one of the multiple second response messages contains second slice parameter information that matches the slice requirements of the application, the terminal device triggers the network-side device to perform a slice establishment operation in response to the slice establishment request. The specific triggering process can be referred to the process described in the above embodiments. If the determination result is that the second slice parameter information contained in any one of the multiple second response messages does not match the slice requirements of the application, the terminal device does not trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
[0044] In another embodiment, if the determination result is that the second slice parameter information contained in any second response message does not match the slice requirements of the application, the terminal device may no longer respond to the slice creation request initiated by the application. The terminal device can return the corresponding value or feedback information to the application through the chip or operating system to indicate that the conditions for slice creation are not met and the corresponding slice cannot be created.
[0045] In this embodiment, firstly, in response to an application initiating a slice establishment request, it is determined whether the slice establishment request meets preset slice establishment conditions. Then, if the slice establishment request meets the preset conditions, a slice establishment request is sent to the network-side device, and a response message returned by the network-side device is obtained. Next, it is determined whether the slice parameter information contained in the message matches the application's slice requirements. Based on the determination result, it is determined whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request. Therefore, through this embodiment, the terminal device no longer blindly sends slice establishment requests to the network-side device, but can determine whether the slice establishment request meets the preset conditions. If the slice establishment request meets the preset conditions, it sends the slice establishment request to the network-side device, and finally, based on the determination result of whether the slice parameter information contained in the response message matches the application's slice requirements, it determines whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request. This not only avoids the risk of chip and operating system crashes or network signaling storms caused by the terminal device blindly initiating session establishment requests to the network, but also improves the success rate of slice establishment, enabling the application to obtain expected network performance and service quality, thus improving the user experience.
[0046] Figure 2 This is an exemplary flowchart illustrating the application slicing processing method provided in the embodiments of this application, such as... Figure 2 As shown in one example, the execution subject of the application slicing processing method is the terminal device. The terminal device can be a device such as a personal computer, or an electronic device such as a mobile phone, tablet, laptop, PDA, or in-vehicle electronic device. The method specifically includes the following steps: S201: The terminal device receives a slice creation request sent by the application.
[0047] S202: The terminal device parses the parameter information in the slice establishment request, queries the preset slice configuration information and the slice configuration information obtained from the network side device.
[0048] S203: Determine whether application slice creation is feasible.
[0049] Specifically, the terminal device determines whether application slice creation is feasible based on the parameter information in the slice creation request, the preset slice configuration information, and the slice configuration information obtained from the network-side device.
[0050] If feasible, execute S205, then execute S206; otherwise, execute S204.
[0051] S204: Send feedback to the application, informing it that slice creation is not feasible.
[0052] S205: Send a slice establishment request to the network-side device and obtain the response message returned by the network-side device.
[0053] Specifically, a slice establishment request can be sent to the network-side device by establishing a PDU session with the network-side device.
[0054] S206: Determine whether the slice parameter information contained in the response message matches the application's slice requirements.
[0055] If a match is found, proceed to S207; otherwise, proceed to S208.
[0056] S207: Triggers the network-side device to perform a slice creation operation in response to the slice creation request.
[0057] S208: Initiate q (q≥0) slice establishment requests to the network-side device at intervals T (T≥0), and obtain the response message returned by the network-side device each time.
[0058] S209: Determine whether at least one of the multiple retrieved response messages contains slice parameter information that matches the application's slice requirements.
[0059] If at least one response message contains slice parameter information that matches the application's slice requirements, then execute S210; if any response message contains slice parameter information that does not match the application's slice requirements, then execute S211.
[0060] S210: Trigger the network-side device to perform a slice creation operation in response to the slice creation request.
[0061] S211: Stop responding to slice creation requests initiated by the application and return feedback information to the application to indicate that slice creation is currently not possible.
[0062] The specific implementation process and method of this embodiment can be referred to the above. Figure 1 Various embodiments and implementations of the provided application slicing processing method.
[0063] Corresponding to the application slicing processing method provided in the above embodiments, based on the same technical concept, this application also provides a terminal device. Figure 3 This is a schematic diagram of the module composition of a terminal device provided in an embodiment of this application. The terminal device is used to perform... Figure 1 The described application slicing processing method, such as Figure 3 As shown, the terminal device includes: Response module 301 is used to respond to a slice creation request initiated by an application and determine whether the slice creation request meets the preset slice creation conditions; The sending module 302 is used to send the slice establishment request to the network-side device when it is determined that the slice establishment request meets the preset slice establishment conditions, and to obtain the response message returned by the network-side device; The determination module 303 is used to determine whether the slice parameter information contained in the response message matches the slice requirements of the application, and based on the determination result, to determine whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
[0064] Optionally, the response module 301 is specifically used to obtain parameter information contained in the slice establishment request; the parameter information includes one or more of the following: the slice type to be established, the identification information of the application, the slice identification information, and the identification information of the network connected to the terminal device; Based on the slice configuration information of the terminal device and the parameter information, it is determined whether the slice establishment request meets the preset slice establishment conditions; the slice configuration information of the terminal device includes: the slice configuration information preset by the terminal device and the slice configuration information returned by the network side device.
[0065] Optionally, the sending module 302 is specifically used to configure network traffic parameters matching the application in the slice establishment request to obtain the configured slice establishment request; Send the configured slice establishment request to the network-side device.
[0066] Optionally, the response message includes a first response message, which contains first slice parameter information; the determination module 303 is specifically used to determine whether the first slice parameter information contained in the first response message matches the slice requirements of the application. If the determination result is that the first slice parameter information matches the slice requirement of the application, then the network-side device is triggered to perform a slice establishment operation in response to the slice establishment request; Otherwise, according to the preset sending rules, the slice establishment request is sent to the network-side device, and the second response message returned by the network-side device is obtained. Based on the second response message and the slice requirements of the application, it is determined whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
[0067] Optionally, the aforementioned determining module 303 is further configured to send the slice establishment request to the network-side device a preset number of times at a preset time interval, and obtain the second response message returned by the network-side device each time; Determine whether the second slice parameter information contained in each second response message returned by the network-side device matches the slice requirements of the application. Based on the determination result, determine whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request.
[0068] Optionally, the determination module 303 is further configured to trigger the network-side device to perform a slice establishment operation for the slice establishment request if the determination result is that at least one of the second slice parameter information contained in the second response message matches the slice requirement of the application. If the determination result is that the second slice parameter information contained in any of the second response messages does not match the slice requirements of the application, then the network-side device will not be triggered to perform a slice establishment operation for the slice establishment request.
[0069] In this embodiment, firstly, in response to an application initiating a slice establishment request, it is determined whether the slice establishment request meets preset slice establishment conditions. Then, if the slice establishment request meets the preset conditions, a slice establishment request is sent to the network-side device, and a response message returned by the network-side device is obtained. Next, it is determined whether the slice parameter information contained in the message matches the application's slice requirements. Based on the determination result, it is determined whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request. Therefore, through this embodiment, the terminal device no longer blindly sends slice establishment requests to the network-side device, but can determine whether the slice establishment request meets the preset conditions. If the slice establishment request meets the preset conditions, it sends the slice establishment request to the network-side device, and finally, based on the determination result of whether the slice parameter information contained in the response message matches the application's slice requirements, it determines whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request. This not only avoids the risk of chip and operating system crashes or network signaling storms caused by the terminal device blindly initiating session establishment requests to the network, but also improves the success rate of slice establishment, enabling the application to obtain expected network performance and service quality, thus improving the user experience.
[0070] The terminal device provided in this application embodiment can implement the various processes in the embodiments corresponding to the above application slicing processing method. To avoid repetition, it will not be described again here.
[0071] It should be noted that the terminal device provided in this application embodiment and the application slicing processing method provided in this application embodiment are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned application slicing processing method, and the repeated parts will not be described again.
[0072] Corresponding to the application slicing processing method provided in the above embodiments, based on the same technical concept, this application also provides an electronic device for executing the above application slicing processing method. Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application, such as... Figure 4 As shown, electronic devices can vary considerably due to differences in configuration or performance. They may include one or more processors 401 and memories 402, with the memory 402 storing one or more application programs or data. The memory 402 can be temporary or persistent storage. The application programs stored in the memory 402 may include one or more modules (not shown), each module including a series of computer-executable instructions for the electronic device. Furthermore, the processor 401 may be configured to communicate with the memory 402 and execute the series of computer-executable instructions stored in the memory 402 on the electronic device. The electronic device may also include one or more power supplies 403, one or more wired or wireless network interfaces 404, one or more input / output interfaces 405, and one or more keyboards 406.
[0073] Specifically, in this embodiment, the electronic device includes a processor, a communication interface, a memory, and a communication bus; wherein, the processor, the communication interface, and the memory communicate with each other via the bus; the memory is used to store computer programs; the processor is used to execute the programs stored in the memory to implement the following method steps: In response to an application initiating a slice creation request, determine whether the slice creation request meets preset slice creation conditions; If it is determined that the slice establishment request meets the preset slice establishment conditions, the slice establishment request is sent to the network-side device, and the response message returned by the network-side device is obtained; Determine whether the slice parameter information contained in the response message matches the slice requirements of the application. Based on the determination result, determine whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
[0074] In this embodiment, firstly, in response to an application initiating a slice establishment request, it is determined whether the slice establishment request meets preset slice establishment conditions. Then, if the slice establishment request meets the preset conditions, a slice establishment request is sent to the network-side device, and a response message returned by the network-side device is obtained. Next, it is determined whether the slice parameter information contained in the message matches the application's slice requirements. Based on the determination result, it is determined whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request. Therefore, through this embodiment, the terminal device no longer blindly sends slice establishment requests to the network-side device, but can determine whether the slice establishment request meets the preset conditions. If the slice establishment request meets the preset conditions, it sends the slice establishment request to the network-side device, and finally, based on the determination result of whether the slice parameter information contained in the response message matches the application's slice requirements, it determines whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request. This not only avoids the risk of chip and operating system crashes or network signaling storms caused by the terminal device blindly initiating session establishment requests to the network, but also improves the success rate of slice establishment, enabling the application to obtain expected network performance and service quality, thus improving the user experience.
[0075] This application embodiment also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the following method steps: In response to an application initiating a slice creation request, determine whether the slice creation request meets preset slice creation conditions; If it is determined that the slice establishment request meets the preset slice establishment conditions, the slice establishment request is sent to the network-side device, and the response message returned by the network-side device is obtained; Determine whether the slice parameter information contained in the response message matches the slice requirements of the application. Based on the determination result, determine whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
[0076] In this embodiment, firstly, in response to an application initiating a slice establishment request, it is determined whether the slice establishment request meets preset slice establishment conditions. Then, if the slice establishment request meets the preset conditions, a slice establishment request is sent to the network-side device, and a response message returned by the network-side device is obtained. Next, it is determined whether the slice parameter information contained in the message matches the application's slice requirements. Based on the determination result, it is determined whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request. Therefore, through this embodiment, the terminal device no longer blindly sends slice establishment requests to the network-side device, but can determine whether the slice establishment request meets the preset conditions. If the slice establishment request meets the preset conditions, it sends the slice establishment request to the network-side device, and finally, based on the determination result of whether the slice parameter information contained in the response message matches the application's slice requirements, it determines whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request. This not only avoids the risk of chip and operating system crashes or network signaling storms caused by the terminal device blindly initiating session establishment requests to the network, but also improves the success rate of slice establishment, enabling the application to obtain expected network performance and service quality, thus improving the user experience.
[0077] This application also provides a computer program product. When the computer program is executed by a processor, it implements the various processes of the above-described application slicing processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0078] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0079] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1A device that provides the functions specified in one or more boxes.
[0080] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0081] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0082] In a typical configuration, an electronic device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0083] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0084] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0085] It should also be noted that 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. Without further limitation, 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 said element.
[0086] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0087] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. An application slicing processing method, applied to a terminal device, characterized in that, The method includes: In response to an application initiating a slice creation request, determine whether the slice creation request meets preset slice creation conditions; If it is determined that the slice establishment request meets the preset slice establishment conditions, the slice establishment request is sent to the network-side device, and the response message returned by the network-side device is obtained; Determine whether the slice parameter information contained in the response message matches the slice requirements of the application. Based on the determination result, determine whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
2. The method according to claim 1, characterized in that, Determining whether the slice creation request meets the preset slice creation conditions includes: Obtain the parameter information contained in the slice creation request; the parameter information includes one or more of the following: the type of slice to be created, the identification information of the application, the slice identification information, and the identification information of the network to which the terminal device is connected; Based on the slice configuration information of the terminal device and the parameter information, it is determined whether the slice establishment request meets the preset slice establishment conditions; the slice configuration information of the terminal device includes: the slice configuration information preset by the terminal device and the slice configuration information returned by the network side device.
3. The method according to claim 1, characterized in that, Sending the slice establishment request to the network-side device includes: Configure network traffic parameters that match the application in the slice creation request to obtain the configured slice creation request; Send the configured slice establishment request to the network-side device.
4. The method according to claim 1, characterized in that, The response message includes a first response message, which contains first slice parameter information; The step of determining whether the slice parameter information contained in the response message matches the slice requirements of the application, and based on the determination result, deciding whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request, includes: Determine whether the first slice parameter information contained in the first response message matches the slice requirements of the application; If the determination result is that the first slice parameter information matches the slice requirement of the application, then the network-side device is triggered to perform a slice establishment operation in response to the slice establishment request; Otherwise, according to the preset sending rules, the slice establishment request is sent to the network-side device, and the second response message returned by the network-side device is obtained. Based on the second response message and the slice requirements of the application, it is determined whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
5. The method according to claim 4, characterized in that, The step of sending the slice establishment request to the network-side device according to a preset sending rule, obtaining the second response message returned by the network-side device, and determining whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request based on the second response message and the slice requirement of the application includes: At a preset time interval, a preset number of slice establishment requests are sent to the network-side device, and a second response message is obtained from the network-side device each time. Determine whether the second slice parameter information contained in each second response message returned by the network-side device matches the slice requirements of the application. Based on the determination result, determine whether to trigger the network-side device to perform a slice establishment operation for the slice establishment request.
6. The method according to claim 5, characterized in that, The step of determining whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request based on the judgment result includes: If the determination result is that at least one of the second slice parameter information contained in the second response message matches the slice requirement of the application, then the network-side device is triggered to perform a slice establishment operation in response to the slice establishment request; If the determination result is that the second slice parameter information contained in any of the second response messages does not match the slice requirements of the application, then the network-side device will not be triggered to perform a slice establishment operation for the slice establishment request.
7. A terminal device, characterized in that, include: The response module is used to respond to a slice creation request initiated by an application and determine whether the slice creation request meets the preset slice creation conditions. The sending module is used to send the slice establishment request to the network-side device and obtain the response message returned by the network-side device when it is determined that the slice establishment request meets the preset slice establishment conditions. The determination module is used to determine whether the slice parameter information contained in the response message matches the slice requirements of the application, and based on the determination result, to determine whether to trigger the network-side device to perform a slice establishment operation in response to the slice establishment request.
8. An electronic device, characterized in that, The system includes a processor, a communication interface, a memory, and a communication bus; wherein the processor, the communication interface, and the memory communicate with each other via the bus; the memory is used to store computer programs; and the processor is used to execute the programs stored in the memory to implement the steps of the application slicing processing method as described in any one of claims 1-6.
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 application slicing processing method as described in any one of claims 1-6.
10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the steps of the application slicing processing method as described in any one of claims 1-6.