Resource configuration method, device, electronic device and readable storage medium

By receiving network slicing information and configuring resource allocation strategies based on slicing characteristics, the resource competition problem when sending terminal data is solved, and the flexibility and efficiency of data transmission are achieved.

CN115720376BActive Publication Date: 2025-09-19VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211460772.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-17
Publication Date
2025-09-19
Estimated Expiration
2042-11-17

AI Technical Summary

Technical Problem

When terminals use the same policy when sending data, resource contention occurs, resulting in data loss and affecting user experience.

Method used

The terminal receives network slice information, determines the resource allocation strategy based on the slice characteristics, configures appropriate resources for different network slices, and avoids sending data using the same strategy.

Benefits of technology

By configuring appropriate resources for different network slices, data loss is avoided and the flexibility and efficiency of data transmission are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115720376B_ABST
    Figure CN115720376B_ABST
Patent Text Reader

Abstract

The present application discloses a resource configuration method, apparatus, electronic device, and readable storage medium, belonging to the field of communication technology. The method comprises: receiving network slicing information from a network-side device, the network slicing information including slice characteristics of at least one network slice supported by the network-side device; determining a resource allocation policy corresponding to a first network slice in the at least one network slice based on the slice characteristics of the first network slice; and configuring resources for the first network slice based on the resource allocation policy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a configuration method, device, electronic device and readable storage medium for slice resources. Background Art

[0002] With the continuous development of 5G network technology and the increasing popularity of terminal applications, the commercialization of network slicing, a key feature of 5G networks, has been put on the agenda. Network slicing types mainly include low-latency slicing and high-bandwidth slicing. Operators will adopt different strategies on the network side based on the slice type to achieve the transmission characteristics of the corresponding slice.

[0003] Currently, in related technologies, the terminal will generate data while running the application, and will send the generated data directly to the network slice corresponding to the operator network. Then, the operator network will use different processing logic to transmit data of different types of network slices.

[0004] However, due to resource competition between the data sent by the terminals, data loss may occur, making the user experience substandard. Summary of the Invention

[0005] The purpose of the embodiments of the present application is to provide a resource configuration method, device, electronic device and readable storage medium, which can solve the problem of resource competition between the data sent by the terminal and the loss of data due to the use of the same strategy when the terminal sends data.

[0006] In a first aspect, an embodiment of the present application provides a resource configuration method, which includes: receiving network slicing information from a network side device, the network slicing information including slice characteristics of at least one network slice supported by the network side device; determining a resource allocation strategy corresponding to a first network slice in at least one network slice based on the slice characteristics of the first network slice; and configuring resources for the first network slice based on the resource allocation strategy.

[0007] In the second aspect, an embodiment of the present application provides a resource configuration device, which includes: a receiving module, a determination module and a configuration module; the receiving module is used to receive network slicing information from a network side device, and the network slicing information includes slice characteristics of at least one network slice supported by the above-mentioned network side device; the determination module is used to determine the resource allocation strategy corresponding to the first network slice based on the slice characteristics of the first network slice in the above-mentioned at least one network slice; the configuration module is used to configure resources for the first network slice based on the resource allocation strategy.

[0008] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0010] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect.

[0011] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method described in the first aspect.

[0012] In an embodiment of the present application, a terminal may receive network slicing information from a network-side device, the network slicing information including slicing characteristics of at least one network slice supported by the network-side device; determine a resource allocation policy corresponding to a first network slice in the at least one network slice based on the slicing characteristics of the first network slice; and configure resources for the first network slice based on the resource allocation policy. In this way, since the terminal can configure appropriate slice resources for different network slices based on the slicing characteristics corresponding to the network slices, the terminal can use different slice resource policies to send data to the operator network, thereby avoiding data loss caused by using the same policy to send data. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 This is one of the flow diagrams of a resource configuration method provided in an embodiment of the present application;

[0014] Figure 2 This is the second flow chart of a resource configuration method provided in an embodiment of the present application;

[0015] Figure 3 This is the third flow chart of a resource configuration method provided in an embodiment of the present application;

[0016] Figure 4 This is a fourth flow chart of a resource configuration method provided in an embodiment of the present application;

[0017] Figure 5 This is a system architecture diagram of a resource configuration method provided in an embodiment of the present application;

[0018] Figure 6 This is one of the structural diagrams of a resource configuration device provided in an embodiment of the present application;

[0019] Figure 7 This is the second structural diagram of a resource configuration device provided in an embodiment of the present application;

[0020] Figure 8 This is one of the hardware structure diagrams of an electronic device provided in an embodiment of the present application;

[0021] Figure 9 This is the second hardware structure diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0023] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0024] The resource configuration method, device, electronic device, and readable storage medium provided in the embodiments of the present application are described in detail below with reference to specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0025] With the continuous development of 5G network technology and the increasing popularity of terminal applications, the commercialization of network slicing, a key feature of 5G networks, has been put on the agenda. Network slicing refers to the division of the network into network channels with different characteristic dimensions based on different user needs. Different network service qualities are provided on different channels, providing specific types of network services to different users, thereby achieving a refined improvement in the user's online experience.

[0026] Network slicing types primarily include low-latency slicing and high-bandwidth slicing. For example, low-latency slicing is primarily used in gaming scenarios. This type of network slicing requires minimal bandwidth and very low latency for the data being transmitted. High-bandwidth slicing is primarily used in online video streaming scenarios. This type of network slicing requires high bandwidth and can tolerate a certain degree of latency. Operators select the appropriate slicing type based on the data transmitted from the terminal to the network and implement appropriate configuration policies to achieve the transmission characteristics of the corresponding slice.

[0027] Specifically, the terminal generates data in the process of running the application, and the terminal sends the generated data to the corresponding network slice directly to the operator network. Then, the operator network uses different processing logic to transmit data of different types of network slices. For example, after the terminal generates data by running the game application APP1 or running the video application APP2, the data of APP1 or APP2 uses the same slicing strategy to send the data of APP1 to the network slice corresponding to the operator network. Finally, the operator network uses the network-side processing logic corresponding to the low-latency slice for transmission based on the data type. Alternatively, the terminal system uses the same slicing strategy to send the data of APP2 to the operator network. Finally, the operator network uses the network-side processing logic corresponding to the high-bandwidth slice for transmission based on the data type.

[0028] As can be seen, before the application data generated by the terminal is sent to the operator network, while it is still in the terminal, there is no method to effectively ensure the slice characteristics: First, when sending data, the terminal simply sends the application data to the corresponding slice, without identifying the characteristics of the slice. The same transmission strategy is adopted for data on all types of network slices. Therefore, because the data on each network slice uses the same transmission strategy, it will compete for resources and affect each other, resulting in data loss.

[0029] In the resource configuration method provided in the embodiment of the present application, the terminal receives network slice information from the network side device, and the network slice information includes information about the slice characteristics of at least one network slice supported by the network side device, so that the terminal can determine the resource allocation strategy corresponding to each network slice based on the information about the slice characteristics of the at least one network slice, and then the terminal can configure corresponding slice resources for each network slice based on the resource allocation strategy. In this way, since the terminal can configure appropriate corresponding slice resources for different network slices based on the different slice characteristics corresponding to different network slices, the terminal can use different slice resource strategies to send data to the operator network, thereby avoiding data loss caused by using the same strategy to send data.

[0030] The resource configuration method provided in the embodiment of the present application may be implemented by a training device for a face recognition model, and the resource configuration device may be an electronic device (e.g., a terminal) or a functional module within the electronic device. The following uses a terminal as an example to illustrate the technical solution provided in the embodiment of the present application.

[0031] The present application provides a resource configuration method. Figure 1 FIG. 1 shows a flow chart of a resource configuration method provided by an embodiment of the present application. Figure 1 As shown, the resource configuration method provided in the embodiment of the present application may include the following steps 201 to 203.

[0032] Step 201: The terminal receives network slicing information from the network side device.

[0033] In an embodiment of the present application, the above-mentioned network slice information includes: slice characteristics of at least one network slice supported by the above-mentioned network side device.

[0034] In an embodiment of the present application, the above-mentioned slice characteristics can be low-latency slices, high-bandwidth slices, high-security slices, etc.

[0035] For example, after the terminal is attached to the core network, the network side device sends network slice information to the terminal, and the terminal can establish a slice feature mapping table based on the slice feature information in the network slice information.

[0036] Exemplarily, the above-mentioned slice feature mapping table is established based on the slice feature information of each network slice in the above-mentioned network slice information and stored in the terminal.

[0037] Step 202: The terminal determines a resource allocation strategy corresponding to the first network slice based on the slice characteristics of the first network slice in the at least one network slice mentioned above.

[0038] Exemplarily, the above-mentioned first network slice can be multiple network slices or one network slice.

[0039] Exemplarily, the first network slice is any network slice among the at least one network slice.

[0040] Exemplarily, the terminal receives the above-mentioned network slice information and configures different slice resources for network slices with different slice characteristics based on the information of the slice characteristics of the first network slice in the network slice information.

[0041] For example, Figure 2 As shown, the method for configuring different slice resources for network slices with different slice characteristics includes the following steps S1 to S4:

[0042] Step S1: After the terminal is inserted with the card, the terminal will be attached to the 5G core network.

[0043] Step S2: After the network attachment is successful, the network side device will report the network slice information to the terminal. The network slice information includes the data types supported and transmitted by each network slice in the network side device, as well as the characteristics of each network slice, such as high bandwidth requirements or high latency requirements.

[0044] Step S3: The terminal obtains the slice characteristics of the network slice and the data types supported for transmission by querying the slice feature mapping table.

[0045] Step S4: The terminal allocates resources to the slices based on their characteristics. For example, low-latency slices with low latency requirements are assigned higher CPU preemption privileges, shorter CPU execution times, and higher protocol stack scheduling privileges; high-bandwidth slices with high bandwidth requirements are assigned larger I / O buffers; and high-security slices with high security requirements are configured with resource replacement methods, such as hardware encryption.

[0046] Step 203: The terminal configures resources for the first network slice in at least one network slice based on the above resource allocation strategy.

[0047] In a first possible embodiment:

[0048] Optionally, in an embodiment of the present application, when the slice feature of the first network slice is a low-latency slice, the process of step 203 "the terminal configures resources for the first network slice in at least one network slice based on the resource allocation policy" includes step 203a:

[0049] Step 203a: The terminal configures high CPU permissions and a preset transmission duration for the first network slice, and only allows the first network slice to transmit data within the preset transmission duration.

[0050] Exemplarily, the above-mentioned high CPU permission is used to indicate that the above-mentioned first network slice has the highest CPU transmission permission.

[0051] Exemplarily, the preset transmission duration may be set by the system or customized by the user.

[0052] Exemplarily, the above-mentioned preset transmission duration is the priority protection period of the above-mentioned first network slice, that is, during the priority protection period, the first network slice is given priority and only allowed to transmit data.

[0053] In a second possible embodiment:

[0054] Optionally, in an embodiment of the present application, when the slice feature of the first network slice is a high-bandwidth slice, the process of step 203 "the terminal configures resources for the first network slice in at least one network slice based on the resource allocation policy" includes step 203b:

[0055] Step 203b: The terminal configures an I / O cache area for the first network slice.

[0056] In one example, when the first network slice mentioned above is unable to transmit data, the data packet to be transmitted corresponding to the first network slice is stored in the I / O cache area configured by the terminal for the first network slice.

[0057] In one example, when the first network slice can transmit data, the data packet to be transmitted corresponding to the first network slice stored in the I / O cache area is read and transmitted.

[0058] In a third possible embodiment:

[0059] Optionally, in an embodiment of the present application, when the slice feature of the first network slice is a high-security slice, the process of step 203 "the terminal configures resources for the first network slice in at least one network slice based on the resource allocation policy" includes step 203c:

[0060] Step 203c: Before transmitting data based on the first network slice, the terminal encrypts the data transmitted by the first network slice based on the hardware encryption method.

[0061] Exemplarily, the above-mentioned hardware encryption method can replace the software encryption method in the first network slice.

[0062] In the resource configuration method provided in an embodiment of the present application, a terminal may receive network slicing information from a network-side device, the network slicing information including slicing characteristics of at least one network slice supported by the network-side device; determine a resource allocation policy corresponding to a first network slice in the at least one network slice based on the slicing characteristics of the first network slice; and configure resources for the first network slice based on the resource allocation policy. In this way, since the terminal can configure appropriate corresponding slice resources for different network slices based on the different slicing characteristics corresponding to different network slices, the terminal can use different slice resource policies to send data to the operator network, thereby avoiding data loss caused by using the same policy to send data.

[0063] Optionally, in the embodiment of the present application, the resource configuration method provided in the embodiment of the present application further includes the following steps 301 and 302:

[0064] Step 301: When a terminal runs a first application, the terminal determines a target slice feature that matches a slice type corresponding to a first data packet of the first application.

[0065] Exemplarily, the first application may be any application installed in the terminal, and this embodiment of the present application does not limit this.

[0066] Exemplarily, the above-mentioned target slice characteristics are the slice characteristics of the network slice corresponding to the first data packet of the first application.

[0067] Step 302: The terminal transmits the first data packet of the first application based on the target network slice corresponding to the above-mentioned target slice characteristics.

[0068] Exemplarily, the target network slice is one or more of the at least one network slice.

[0069] In one example, the network slice information obtained by the above-mentioned terminal may also include: the data type matched by each of the above-mentioned network slices.

[0070] Exemplarily, the target network slice matches the data type corresponding to the first data packet.

[0071] It should be noted that when the target network slice corresponding to the above-mentioned first application transmits the above-mentioned first data packet, the resources used may be resources pre-configured by the system; or, after the target network slice is determined, the system may configure corresponding resources for the target network slice based on the target slice characteristics of the target network slice.

[0072] Optionally, in an embodiment of the present application, the above-mentioned first data packet includes a first tag, which is used to indicate the above-mentioned target network slice.

[0073] Exemplarily, the above-mentioned first mark can be a slice identifier of the target network slice.

[0074] In one example, after the terminal determines the network slice corresponding to the first data packet of the first application, the terminal adds a first tag to the first data packet.

[0075] Further, optionally, in an embodiment of the present application, the “transmitting the first data packet of the first application based on the target network slice corresponding to the target slice feature” in the above step 302 includes step 302a:

[0076] Step 302a: Based on the target network slice corresponding to the target slice feature, transmit the first data packet of the first application containing the first tag.

[0077] The following will use specific examples to illustrate the scenario in which the terminal runs the first application in the embodiment of the present application.

[0078] For example, Figure 3 As shown, in the scenario where the terminal runs the first application, the technical solution provided by the embodiment of the present application includes the following steps A1 to A4:

[0079] Step A1: When the first application in the terminal is running, the application may need to transmit data with the operator's network. For example, when playing a game, the terminal needs to transmit data with the game server, and when watching an online video, the terminal needs to download the video file from the video server.

[0080] In step A2, the terminal can transmit data generated by different applications through different network slices. For example, data generated by gaming applications can be transmitted through low-latency slices, while data generated by video applications can be transmitted through high-bandwidth slices. The terminal selects the corresponding network slice for transmission based on the network slice information reported by the network-side device.

[0081] Step A3. After the terminal selects the network slice corresponding to the data generated by the above application, the system marks the data packet (i.e., the above first data packet) composed of the data generated by the application with the slice information of the network slice (i.e., the above first mark), and then the terminal processes the data packet accordingly according to the mark.

[0082] Step A4: After the marking is completed, the terminal will perform the above-mentioned sending process, including the processing of the network protocol stack and the sending of data.

[0083] In this way, the terminal can select the corresponding slice resource strategy to transmit data according to the slice characteristics corresponding to different application data packets, thereby improving the flexibility of slice transmission data.

[0084] Exemplarily, based on the above resource allocation strategy, slice resource scheduling can be performed directly when slices are used to transmit data.

[0085] The following will use specific examples to illustrate the scenario of resource scheduling when the terminal sends data in the embodiment of the present application.

[0086] For example, Figure 4 As shown, in the scenario where resource scheduling is performed when the terminal sends data, the technical solution provided by the embodiment of the present application includes the following steps B1 to B16:

[0087] Step B1: Before the terminal transmits the marked data packet, the terminal first obtains the slice information marked on the current data packet (ie, the first mark mentioned above).

[0088] Step B2: The terminal obtains the slice feature information corresponding to the network slice to be used by this data packet based on the established slice feature mapping table.

[0089] In step B3, the terminal determines the slice feature information corresponding to the network slice and selects an appropriate resource scheduling path. If the network slice used is a low-latency slice, the terminal proceeds to step B4; if the network slice used is a high-bandwidth slice, the terminal proceeds to step B11; if the network slice used is a high-security slice, the terminal proceeds to step B15.

[0090] In step B4, the slice resources allocated by the terminal for the low-latency slice include high CPU preemption privileges, which can interrupt currently running low-priority tasks. Therefore, the terminal first obtains the priority of the currently executing CPU task and compares it with the priority of the low-latency slice to determine whether it can be interrupted, giving priority to sending the low-latency slice.

[0091] Step B5: The terminal determines the priority of the task currently being executed by the CPU. If the priority of the currently executed task is lower than the task of sending the low-latency slice, the terminal proceeds to step B6; otherwise, the terminal proceeds to step B7.

[0092] Step B6: The terminal determines that the priority of the task currently executed by the CPU is lower than the priority of the task of sending the low-latency slice, so it temporarily interrupts the task currently executed by the CPU and switches to executing the task of sending the low-latency slice.

[0093] Step B7: The terminal determines that the priority of the task currently executed by the CPU is higher than the priority of the task sent by the low-latency slice and cannot be interrupted, so it waits for the current task to be completed.

[0094] Step B8: After the low-latency slice sending task obtains the CPU resources, the terminal sets the CPU protection level for the currently executed task. Only tasks with a higher CPU protection level than the set level can preempt the CPU and interrupt the sending process of the current low-latency slice. Other low-level tasks cannot preempt the CPU.

[0095] Step B9. At the same time, after the sending task of the low-latency slice obtains the CPU resources, the terminal sets a priority protection period for the protocol stack. During this priority protection period, only the sending task of the low-latency slice is allowed to be executed, and the sending tasks of other types of slices must wait first.

[0096] Step B10: The terminal sends the data packet to the network protocol stack for processing, and then sends it to the operator's core network through the network card.

[0097] Step B11: The terminal has a low CPU preemption privilege in the slice resources allocated for the high-bandwidth slice, and needs to wait until the CPU completes the current task before obtaining the CPU resources.

[0098] In step B12, the terminal determines whether the protocol stack is within the protection period of the low-latency slice transmission task. If not, the terminal proceeds to step B10 and sends the data to the network protocol stack for processing. Otherwise, the terminal proceeds to step B13.

[0099] Step B13: If the protocol stack is currently unable to process the high-bandwidth sending task, since the slice resources allocated by the terminal for the high-bandwidth slice include an I / O buffer, the terminal will first put the data into the I / O buffer.

[0100] Step B14: After the protection period of the protocol stack ends and the task of sending the high-bandwidth slice can be processed, the terminal obtains the data cached in the I / O buffer, enters step B10, and sends the data to the network protocol stack for processing.

[0101] Step B15. The data of the high-security slice needs to be encrypted before being sent. Therefore, the slice resources allocated by the terminal for the high-security slice include: resource replacement, that is, the terminal will use hardware encryption instead of software encryption to perform encryption operations on the data transmitted by the high-security slice.

[0102] Step B16: Hardware encryption can provide higher encryption speed and security level. After the terminal completes data encryption, it enters step B10 and sends the data to the network protocol stack for processing.

[0103] In this way, the terminal can schedule system resources according to the characteristics of the slice without modifying the existing slice specifications. Based on the original specifications, the terminal can schedule system resources according to the characteristics of the slice without the need for active user participation, avoiding the error rate caused by user participation in changes, making the implementation plan more intelligent and user operation easier, thereby ensuring efficient data transmission.

[0104] Figure 5 This is a system architecture diagram for the resource configuration method provided in the embodiment of this application. Figure 5 As shown, the terminal in the embodiment of the present application includes a slice policy management module, a slice selection policy module and a resource scheduling module.

[0105] Specifically, the core network reports all slice information supported by the network slice to the terminal's slice policy management module, so that the slice policy management module can allocate different slice resources according to the slice characteristics of different network slices. When the terminal runs a third-party application, it generates application data. The terminal's slice selection policy selects the appropriate network slice based on the application data generated by the third-party application, and then enables the terminal's resource scheduling module to perform corresponding resource scheduling for the transmission of application data based on the slice characteristics of the network slice corresponding to the current application data.

[0106] Exemplarily, the slice policy management module is responsible for receiving the network slice information reported by the core network, establishing a mapping relationship between the characteristics of different network slices, and determining the corresponding resource allocation strategy according to the slice characteristics of different network slices. For example, a priority protection period is configured for low-latency slices, during which only low-latency slices are allowed to send data and high CPU preemption rights; a data buffer (i.e., the above-mentioned I / O buffer) is configured for high-bandwidth slices, so that even if high-bandwidth applications fail to receive data in time, data loss will not occur, thereby maintaining a higher bandwidth rate; a specific encryption and decryption method is configured for the data of high-security slices, such as replacing software implementation with hardware implementation to provide a higher level of security.

[0107] Slice selection policy module: selects appropriate slices for third-party application data based on the slice information of the network slice and the request of the third-party application.

[0108] Resource Scheduling Module: Based on the characteristics of the slice used by the terminal to send the data generated by the current application, it allocates appropriate resources to the application: CPU execution time, CPU preemption rights, I / O buffers, protocol stack scheduling rights, slice resource replacement, etc. This ensures that data transmitted on different slices can obtain the corresponding system resources.

[0109] It should be noted that the resource configuration method provided in the embodiments of the present application can be executed by a resource configuration device, an electronic device, or a functional module or entity in the electronic device. In the embodiments of the present application, the resource configuration device provided in the embodiments of the present application is described by taking the resource configuration method executed by the resource configuration device as an example.

[0110] Figure 6 FIG. 1 shows a possible structural diagram of a resource configuration device involved in an embodiment of the present application. Figure 6As shown, the resource configuration device 700 may include: a receiving module 701, a determination module 702 and a configuration module 703; the receiving module 701 is used to receive network slicing information from a network side device, and the network slicing information includes the slice characteristics of at least one network slice supported by the above-mentioned network side device; the determination module 702 is used to determine the resource allocation strategy corresponding to the first network slice based on the slice characteristics of the first network slice in the above-mentioned at least one network slice; the configuration module 703 is used to configure corresponding slice resources for each of the above-mentioned network slices based on the resource allocation strategy.

[0111] Optionally, in the embodiment of the present application, combined with Figure 6 ,like Figure 7 As shown, the above-mentioned device 700 also includes: a transmission module 704; the above-mentioned determination module 702, when the terminal runs the first application, is used to determine the target slice characteristics that match the slice type corresponding to the first data packet of the first application; the above-mentioned transmission module 704 is used to transmit the above-mentioned first data packet based on the target network slice corresponding to the target slice characteristics, and the target network slice is one of the above-mentioned at least one network slice.

[0112] Optionally, in an embodiment of the present application, the above-mentioned network slice information also includes: the data type matched by each network slice; wherein the above-mentioned target network slice matches the data type corresponding to the above-mentioned first data packet.

[0113] Optionally, in an embodiment of the present application, the above-mentioned first data packet includes a first tag, which is used to indicate the target network slice; the above-mentioned transmission module 704 is used to transmit the first data packet containing the first tag based on the target network slice corresponding to the target slice feature.

[0114] Optionally, in an embodiment of the present application, when the slice characteristic of the first network slice is a low-latency slice, the above-mentioned configuration module 703 is specifically used to configure high CPU authority and a preset transmission duration for the first network slice. Within the preset transmission duration, only the first network slice is allowed to transmit data. The high CPU authority is used to indicate that the first network slice has the highest CPU transmission authority.

[0115] Optionally, in an embodiment of the present application, when the slice characteristic of the first network slice is a high-bandwidth slice, the above-mentioned configuration module 703 is specifically used to configure an I / O cache area for the first network slice; wherein, when the first network slice cannot transmit data, the data packet to be transmitted corresponding to the first network slice is stored in the above-mentioned I / O cache area; when the first network slice can transmit data, the above-mentioned data packet to be transmitted stored in the above-mentioned I / O cache area is read and transmitted.

[0116] Optionally, in an embodiment of the present application, when the slice characteristic of the first network slice is a high-security slice, the above-mentioned configuration module 703 is specifically used to encrypt the data based on hardware encryption before transmitting the data based on the first network slice.

[0117] In the resource configuration device provided in an embodiment of the present application, the device can receive network slicing information from a network-side device, where the network slicing information includes slicing characteristics of at least one network slice supported by the network-side device; determine a resource allocation policy corresponding to a first network slice in the at least one network slice based on the slicing characteristics of the first network slice; and configure resources for the first network slice based on the resource allocation policy. In this way, since the terminal can configure appropriate corresponding slice resources for different network slices based on the different slicing characteristics corresponding to different network slices, the terminal can use different slice resource policies to send data to the operator network, thereby avoiding data loss caused by using the same policy to send data.

[0118] The resource configuration device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), an ATM or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.

[0119] The resource configuration device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0120] The resource configuration device provided in the embodiment of the present application can achieve Figures 1 to 5 To avoid repetition, the various processes implemented in the method embodiment are not described here.

[0121] Alternatively, as Figure 8 As shown, an embodiment of the present application also provides an electronic device 800, including a processor 801 and a memory 802, wherein the memory 802 stores a program or instruction that can be run on the processor 801, and when the program or instruction is executed by the processor 801, the various steps of the above-mentioned resource configuration method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0122] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0123] Figure 9 A schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

[0124] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101 , a network module 102 , an audio output unit 103 , an input unit 104 , a sensor 105 , a display unit 106 , a user input unit 107 , an interface unit 108 , a memory 109 , and a processor 110 .

[0125] Those skilled in the art will understand that the electronic device 100 may also include a power source (such as a battery) to power each component, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.

[0126] Among them, the radio frequency unit 101 is used to receive network slicing information from a network side device, and the network slicing information includes the slice characteristics of at least one network slice supported by the above-mentioned network side device; the processor 110 is used to determine the resource allocation strategy corresponding to the first network slice based on the slice characteristics of the first network slice in the above-mentioned at least one network slice; the processor 110 is used to configure corresponding slice resources for each of the above-mentioned network slices based on the resource allocation strategy.

[0127] Optionally, in an embodiment of the present application, the processor 110 is used to determine a target slice feature that matches a slice type corresponding to a first data packet of the first application when the terminal is running the first application; the radio frequency unit 101 is used to transmit the first data packet based on a target network slice corresponding to the target slice feature, where the target network slice is one of the at least one network slice.

[0128] Optionally, in an embodiment of the present application, the above-mentioned network slice information also includes: the data type matched by each network slice; wherein the above-mentioned target network slice matches the data type corresponding to the above-mentioned first data packet.

[0129] Optionally, in an embodiment of the present application, the above-mentioned first data packet includes a first tag, which is used to indicate the target network slice; the above-mentioned radio frequency unit 101 is used to transmit the first data packet containing the first tag based on the target network slice corresponding to the target slice feature.

[0130] Optionally, in an embodiment of the present application, when the slice characteristic of the first network slice is a low-latency slice, the above-mentioned processor 110 is specifically used to configure high CPU authority and a preset transmission duration for the first network slice, and only the first network slice is allowed to transmit data within the preset transmission duration. The high CPU authority is used to indicate that the first network slice has the highest CPU transmission authority.

[0131] Optionally, in an embodiment of the present application, when the slice characteristic of the first network slice is a high-bandwidth slice, the above-mentioned processor 110 is specifically used to configure an I / O cache area for the first network slice; wherein, when the first network slice cannot transmit data, the data packet to be transmitted corresponding to the first network slice is stored in the above-mentioned I / O cache area; when the first network slice can transmit data, the above-mentioned data packet to be transmitted stored in the above-mentioned I / O cache area is read and transmitted.

[0132] Optionally, in an embodiment of the present application, when the slice characteristic of the first network slice is a high-security slice, the above-mentioned processor 110 is specifically used to encrypt the data based on hardware encryption before transmitting the data based on the first network slice.

[0133] In the electronic device provided in the embodiment of the present application, the electronic device can receive network slicing information from a network-side device, where the network slicing information includes slicing characteristics of at least one network slice supported by the network-side device; determine a resource allocation policy corresponding to a first network slice in the at least one network slice based on the slicing characteristics of the first network slice; and configure resources for the first network slice based on the resource allocation policy. In this way, since the terminal can configure appropriate corresponding slice resources for different network slices based on different slicing characteristics corresponding to different network slices, the terminal can use different slice resource policies to send data to the operator network, thereby avoiding data loss caused by using the same policy to send data.

[0134] It should be understood that in an embodiment of the present application, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an operating stick, which will not be repeated here.

[0135] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0136] Processor 110 may include one or more processing units. Optionally, processor 110 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 110.

[0137] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned resource configuration method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0138] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0139] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned resource configuration method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0140] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0141] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned resource configuration method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0142] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0143] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course 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 application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0144] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A resource configuration method, applied to a terminal, characterized in that: include: Receiving network slice information from a network side device, where the network slice information includes slice characteristics of at least one network slice supported by the network side device; Determining a resource allocation strategy corresponding to a first network slice in the at least one network slice based on slice characteristics of the first network slice; configuring resources for the first network slice based on the resource allocation policy; Among them, different data types correspond to different slicing characteristics of network slices, and different slicing characteristics of network slices correspond to different resource allocation strategies.

2. The method according to claim 1, further comprising: In a case where the terminal runs a first application, determining a target slice feature that matches a slice type corresponding to a first data packet of the first application; The first data packet is transmitted based on the target network slice corresponding to the target slice feature, and the target network slice is one of the at least one network slice.

3. The method according to claim 2, characterized in that The network slice information also includes: the data type matched by each network slice; Among them, the target network slice matches the data type corresponding to the first data packet.

4. The method according to claim 2 or 3, characterized in that The first data packet includes a first tag, where the first tag is used to indicate the target network slice; The transmitting the first data packet based on the target network slice corresponding to the target slice feature includes: Based on the target network slice corresponding to the target slice feature, the first data packet containing the first tag is transmitted.

5. The method according to claim 1, wherein In a case where the slice characteristic of the first network slice is a low-latency slice, the resources configured for the first network slice based on the resource allocation policy include: High CPU authority and a preset transmission duration are configured for the first network slice. Only the first network slice is allowed to transmit data within the preset transmission duration. The high CPU authority is used to indicate that the first network slice has the highest CPU transmission authority.

6. The method according to claim 1, characterized in that In a case where the slice characteristic of the first network slice is a high-bandwidth slice, the resources configured for the first network slice based on the resource allocation policy include: Configuring an I / O buffer for the first network slice; Wherein, when the first network slice cannot transmit data, storing the data packet to be transmitted corresponding to the first network slice in the I / O buffer area; When the first network slice can transmit data, the data packet to be transmitted stored in the I / O buffer area is read and transmitted.

7. The method according to claim 1, characterized in that In a case where the slice feature of the first network slice is a high-security slice, the resources configured for the first network slice based on the resource allocation policy further include: Before transmitting data based on the first network slice, the data is encrypted based on hardware encryption.

8. A resource allocation device, characterized in that: The resource configuration device includes: a receiving module, a determining module and a configuration module; The receiving module is configured to receive network slice information from a network side device, where the network slice information includes slice characteristics of at least one network slice supported by the network side device; The determining module is configured to determine a resource allocation strategy corresponding to a first network slice in the at least one network slice received by the receiving module based on the slice characteristics of the first network slice; The configuration module is configured to configure resources for the first network slice based on the resource allocation policy determined by the determination module; Among them, different data types correspond to different slicing characteristics of network slices, and different slicing characteristics of network slices correspond to different resource allocation strategies.

9. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the resource configuration method according to any one of claims 1 to 7.

10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the resource configuration method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Data transmission method, device and electronic equipment

    CN113271592A

  • Resource slicing on a sidelink interface

    US20190357033A1