CN114430370B - Method, device, equipment and storage medium for determining network slice - Google Patents
Method, device, equipment and storage medium for determining network slice Download PDFInfo
- Publication number
- CN114430370B CN114430370B CN202011180351.7A CN202011180351A CN114430370B CN 114430370 B CN114430370 B CN 114430370B CN 202011180351 A CN202011180351 A CN 202011180351A CN 114430370 B CN114430370 B CN 114430370B
- Authority
- CN
- China
- Prior art keywords
- network slice
- application program
- target
- source
- data packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000013507 mapping Methods 0.000 claims abstract description 65
- 238000004891 communication Methods 0.000 description 14
- 238000012545 processing Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 230000008901 benefit Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application provides a method, a device, equipment and a storage medium for determining a network slice, wherein the method comprises the following steps: if a target application program needs to send a data packet, acquiring a source IP of the target application program; determining a target network slice for transmitting the data packet to be transmitted according to the source IP of the target application program and a first mapping relation of the source IP of the target application program and a network slice identifier, which is established in advance; and transmitting the data packet to be transmitted through the target network slice. The problem that in the prior art, a terminal cannot determine through which network slice an APP data packet needs to be transmitted is solved.
Description
Technical Field
The embodiment of the application relates to the technical field of internet and communication, in particular to a method, a device, equipment and a storage medium for determining a network slice.
Background
In a mobile communication network (such as a fifth generation mobile communication network, abbreviated as 5G), a physical network is divided into a plurality of virtual logical networks, each logical network may correspond to a different application scenario, and the logical networks are called network slices, for example, the network slices are defined according to user requirements, and the network slices for different applications of a terminal may be defined.
In the prior art, a terminal may receive a urs (UE Route Selection Policy, terminal routing policy) criterion from a core network, and various network slice selection schemes are defined in urs, including selecting a network slice according to an APP (application program) ID, and in the scheme of selecting a network slice according to an APP ID, urs define a mapping relationship between a network slice and an APP ID, but when an APP on the terminal needs to send a data packet, it is often impossible to determine which network slice the data packet needs to be transmitted with.
Therefore, how to effectively determine the network slice required by the APP packet is a technical problem to be solved.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for determining network slices, which are used for solving the defects that a terminal in the prior art cannot determine which network slice is required to be used for transmitting an APP data packet.
In a first aspect, an embodiment of the present application provides a method for determining a network slice, including:
if a target application program needs to send a data packet, acquiring a source IP of the target application program;
determining a target network slice for transmitting the data packet to be transmitted according to the source IP of the target application program and a first mapping relation of the source IP of the target application program and a network slice identifier, which is established in advance;
and transmitting the data packet to be transmitted through the target network slice.
One embodiment of the above invention has the following advantages or benefits:
by reestablishing the slice path when the network slice needs to transmit data, the occupation of resources is effectively reduced.
Another embodiment of the above invention has the following advantages or benefits:
by closing the slicing paths of the network slices after the network slices are used, the occupation of resources is further reduced.
In a second aspect, an embodiment of the present application provides a network slice determining apparatus, including:
the acquisition module is used for acquiring a source IP of the target application program if the target application program needs to send a data packet;
the determining module is used for determining a target network slice for transmitting the data packet to be transmitted according to the source IP of the target application program and a first mapping relation of the source IP of the target application program and a network slice identifier, which is established in advance;
and the sending module is used for transmitting the data packet to be sent through the target network slice.
In a third aspect, an embodiment of the present application provides a terminal, including: at least one processor, memory, and transceiver;
the processor, the memory and the transceiver are interconnected by a circuit;
the memory stores computer-executable instructions;
the transceiver is used for sending the data packet to be sent;
the at least one processor executes the computer-executable instructions stored by the memory such that the at least one processor performs the method as described above in the first aspect and the various possible designs of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, implement the method as described in the first aspect and the various possible designs of the first aspect.
According to the method, the device, the equipment and the storage medium for determining the network slice, the mapping relation between the APP source IP and the network slice is established in advance, so that when the APP has a data packet to be sent, the terminal can accurately determine the target network slice for transmitting the data packet, and therefore the data packet is transmitted through the target network slice, and the problem that the terminal cannot determine which network slice is required to transmit the APP data packet in the prior art is solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the prior art descriptions, it being obvious that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic diagram of an architecture of a processing system upon which embodiments of the present application are based;
fig. 2 is a flow chart of a method for determining a network slice according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of an exemplary method for determining a network slice according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a network slice determining device according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 6 is an exemplary block diagram of a terminal according to an embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In order to clearly understand the technical solutions of the present application, the prior art solutions will be described in detail first. In the prior art, when an APP on a terminal needs to send a data packet, the terminal often cannot determine which network slice the APP data packet needs to use for transmission because the urs only define the mapping relationship between the APP ID and urs.
In order to solve the above problems, the inventors creatively found that a 5G module of a terminal can be improved, and a mapping relationship between a source IP of an APP being used on the terminal and a network slice is established, so that when the APP is transmitted, the terminal can determine a target network slice to transmit the APP packet according to the established mapping relationship between the source IP of the APP and the network slice, thereby solving the problem that the terminal in the prior art cannot determine which network slice is required to be used for transmitting the APP packet. If the target application program is to send the data packet, determining the data packet for transmitting the target application program based on the established mapping relation between the source IP of the target application program and the network slice.
The processing method for determining the network slice is suitable for the terminal APP communication scene. FIG. 1 is a schematic diagram of a processing system according to an embodiment of the present application. The processing system may include a core network and terminals, as well as base stations and other related components. The core network may be deployed with a plurality of network slices, when the terminal accesses the network, the core network issues a urs criterion to the terminal, specifically, the urs criterion may be defined by interaction between the base station and the terminal, the terminal receives the urs criterion, and may select and store, according to the self installed application APP, a mapping relationship between a network slice that may need to be accessed subsequently and an application identifier of each installed APP from the urs criterion, without storing the mapping relationship defined by the entire urs criterion. When an APP on a terminal is started, the terminal can acquire a source IP of the APP and an application program identifier corresponding to the APP, establish a mapping relation between the source IP of the APP and a network slice identifier, specifically can be a mapping relation between the source IP and the network slice identifier, when the APP has a data packet to be transmitted, the terminal can analyze the APP data packet to acquire the source IP corresponding to the data packet, and determine a target network slice for transmitting the data packet based on the source IP of the data packet and the mapping relation between the source IP and the network slice identifier, so that the data packet can be transmitted through the target network slice, and the terminal can effectively determine the target network slice required by the APP data packet based on the establishment of the mapping relation between the source IP of the APP and the network slice, thereby solving the problem that the terminal cannot determine which network slice is required to transmit the APP data packet in the prior art.
Alternatively, the mapping relationship between the network slice identifier and the application program identifier may be a one-to-one relationship, or may be a one-to-many relationship, that is, one network slice identifier may correspond to multiple application program identifiers. While the same application identity can only correspond to one network slice identity.
The interaction between the terminal and the core network and between the terminal and the base station are in the prior art, and the embodiments of the present application are not repeated.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. In the following description of the embodiments, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
An embodiment of the application provides a method for determining a network slice, which is used for determining a target network slice of an APP data packet transmitted by a terminal. The execution subject of the embodiment is a determination device of network slice, which may be provided in a terminal.
As shown in fig. 2, a flow chart of a method for determining a network slice according to the present embodiment is provided, where the method includes:
step 101, if the target application program has a data packet to be sent, acquiring the source IP of the target application program.
Specifically, when the target application program needs to send a data packet (called a data packet to be sent), the terminal needs to determine which network slice is used to transmit the data packet to be sent, and the terminal can analyze the data packet to be sent to obtain the source IP of the target application program to which the data packet to be sent belongs.
Step 102, determining a target network slice for transmitting the data packet to be transmitted according to the source IP of the target application program and a first mapping relation between the source IP of the target application program and the network slice identifier, which is established in advance.
Because the data flows of different application programs are different, namely the source IP and the destination IP are different, the mapping relation between the source IP and the network slice of each application program can be established, so that the terminal can accurately determine the corresponding target network slice according to the data packet of the application program.
The mapping relationship between the source IP of each application program and the network slice may be pre-established in the terminal, specifically, the mapping relationship between the source IP and the network slice identifier may be obtained from the mapping relationship, and the first mapping relationship between the source IP of the target application program and the network slice identifier may be obtained from the mapping relationship.
After the first mapping relation between the source IP of the target application program and the network slice identifier is obtained, a target network slice corresponding to the source IP of the target application program can be determined, and the target network slice can be used for transmitting the data packet to be transmitted of the target application program.
And step 103, transmitting the data packet to be transmitted through the target network slice.
After determining the target network slice for transmitting the data packet to be transmitted, the data packet to be transmitted can be transmitted through a slice path of the target network slice.
Alternatively, the terminal may pre-establish a slice path of each network slice that it may use, so that after determining the target network slice for transmitting the data packet to be transmitted, the data packet to be transmitted may be transmitted through the slice path of the target network slice. The terminal may also send a request for establishing a slice path to the core network after determining the target network slice for transmitting the data packet to be sent, if it is determined that the slice path of the target network slice is not established, the core network responds to the request for establishing the slice path of the terminal to establish the slice path of the target network slice, and the terminal may transmit the data packet to be sent through the slice path of the target network slice. Can be specifically set according to actual requirements.
According to the network slice determining method provided by the embodiment, the mapping relation between the APP source IP and the network slice is pre-established, so that when the APP has a data packet to be sent, the terminal can accurately determine the target network slice for transmitting the data packet, and therefore the data packet is transmitted through the target network slice, and the problem that the terminal cannot determine which network slice is required to transmit the APP data packet in the prior art is solved.
Another embodiment of the present application further supplements the method provided in the above embodiment.
As shown in fig. 3, an exemplary flowchart of a method for determining a network slice according to the present embodiment is shown.
As an implementation manner, on the basis of the foregoing embodiment, optionally, before determining, according to the source IP of the target application program and the first mapping relationship between the source IP of the target application program and the network slice identifier, the target network slice for transmitting the data packet to be sent, the method further includes:
in step 2011, the source IP of the target application and the target application identifier corresponding to the target application are obtained.
In step 2012, a first mapping relationship between the source IP of the target application program and the network slice identifier is established according to the source IP of the target application program, the target application program identifier, and a second mapping relationship between the pre-stored application program identifier and the network slice identifier.
Specifically, when a target APP (i.e., a target application program) in the terminal is started, the target APP may issue its source IP and an APP ID (i.e., a target application program identifier) corresponding to the target APP to a module corresponding to the terminal, and the terminal determines a network slice identifier corresponding to the target application program identifier according to a second mapping relationship between the pre-stored application program identifier and the network slice identifier, and establishes a mapping relationship between the source IP of the target application program and the network slice identifier according to the source IP of the target application program and the target application program identifier, so as to distinguish the first mapping relationship.
In an embodiment, optionally, the method may further include:
in step 2021, the urs criteria sent by the core network are received, where the urs criteria include a third mapping relationship between the application identity and the network slice identity.
Step 2022, selecting and storing a second mapping relationship between the application identifier of each installed application and its corresponding network slice identifier from the urs criteria according to the application identifier of the installed application.
Specifically, the core network may be deployed with a plurality of network slices, when the terminal accesses the network, the core network issues a urs criterion to the terminal, where the urs criterion defines a mapping relationship between a network slice and an application identifier (such as an APP ID), and in order to distinguish the third mapping relationship, the terminal receives the urs criterion, and may select, from the urs criterion, a mapping relationship (i.e. a second mapping relationship) between a network slice that may need to be accessed subsequently and an application identifier of each installed APP according to an APP installed by itself, and store the mapping relationship, without storing the third mapping relationship defined by the entire urs criterion, so that occupation of storage resources of the terminal may be reduced.
In the urs criteria, the mapping relationship between the network slice identifier and the application identifier may be a one-to-one relationship, or may be a one-to-many relationship, that is, one network slice identifier may correspond to multiple application identifiers. While the same application identity can only correspond to one network slice identity.
In an embodiment, optionally, the method may further include:
step 2031, updating the source IP of the target application program in the first mapping relationship to the changed source IP when the source IP of the target application program is changed; and when the target application program exits or is deleted, deleting the first mapping relation between the source IP of the target application program and the network slice identifier.
Specifically, when the source IP of the target application program changes, in order to avoid an error in the subsequent packet transmission of the target application program, the source IP in the first mapping relationship between the source IP of the target application program and the network slice identifier needs to be updated, and the source IP is updated to the changed source IP.
Optionally, the terminal may monitor, in real time or at a fixed time, whether the source IP of each application program changes, and update the mapping relationship between the source IP and the network slice identifier in time. Or the application program can timely send the changed source IP and the application program identification to the terminal when the source IP is changed, so that the terminal timely updates the mapping relation between the source IP and the network slice identification.
When the target application exits or deletes, the target application no longer uses the target network slice, so the first mapping relation between the source IP of the target application and the network slice identifier needs to be deleted, so that the target network slice can be used by other applications.
As another implementation manner, on the basis of the foregoing embodiment, optionally, before transmitting the data packet to be sent through the target network slice, the method further includes:
in step 2041, a slice path is established for the target network slice.
Specifically, the terminal may send a slice path establishment request to the core network, where the slice path establishment request may include a network slice identifier, such as a target network slice identifier, for establishing a slice path, and the core network returns a slice path establishment response in response to the slice path establishment request of the terminal, where the slice path establishment response includes relevant information of the target network slice, so that the terminal may use the slice path of the target network slice based on the relevant information. The specific slicing path establishment process is the prior art, and is not described herein.
In an embodiment, optionally, establishing a slice path for the target network slice includes:
step 2051, after receiving the urs criteria sent by the core network, establishing a slice path of the target network slice according to the installed application identifier and the urs criteria; or when the target network slice needs to transmit data, establishing a slice passage of the target network slice.
Specifically, the terminal may pre-establish a slice path of each network slice that may be used by the terminal, for example, after receiving the urs p criteria sent by the core network, and establish a slice path of the target network slice according to the installed application identifier and the urs p criteria, so that after determining the target network slice for transmitting the data packet to be transmitted, the data packet to be transmitted may be transmitted through the slice path of the target network slice.
The terminal may also send a request for establishing a slice path to the core network after determining the target network slice for transmitting the data packet to be sent, if it is determined that the slice path of the target network slice is not established, the core network responds to the request for establishing the slice path of the terminal to establish the slice path of the target network slice, and the terminal may transmit the data packet to be sent through the slice path of the target network slice. I.e. the slice path of the target network slice is re-established when the target network slice needs to transmit data. Can be specifically set according to actual requirements.
In an embodiment, optionally, the method may further include:
step 2061, closing a slice path of the target network slice when the terminal exits the network and/or the application corresponding to the target network slice is deleted or exits; or the slice passage idle time of the target network slice exceeds the preset time length, and the slice passage of the target network slice is closed.
Specifically, when the terminal exits the network, or when the application corresponding to the target network slice is deleted or exited, that is, the slice path of the target network slice is no longer needed, the slice path of the target network slice may be closed. It should be noted that, since there may be a case where a plurality of applications correspond to the same network slice, the slice path of the network slice is closed when all applications do not use the slice path of the network slice.
Alternatively, a timer may be started when the slice path of the target network slice enters an idle state, so as to record the idle time of the slice path of the target network slice, and when the idle time of the slice path of the target network slice exceeds a preset duration, the slice path of the target network slice is closed.
It should be noted that, in this embodiment, each of the possible embodiments may be implemented separately, or may be implemented in any combination without conflict, which is not limited to the implementation of the present application.
According to the method for determining the network slice, when the network slice needs to transmit data, the slice path is established again, so that occupation of resources is effectively reduced; and the occupation of resources is further reduced by closing the slicing passage of the network slice after the network slice is used up.
Yet another embodiment of the present application provides a network slice determining apparatus for performing the method of the foregoing embodiment.
Fig. 4 is a schematic structural diagram of a network slice determining device according to the present embodiment. The network slice determination device 30 comprises an acquisition module 31, a determination module 32 and a transmission module 33.
The acquisition module is used for acquiring a source IP of the target application program if the target application program needs to send the data packet; the determining module is used for determining a target network slice for transmitting the data packet to be transmitted according to the source IP of the target application program and a first mapping relation of the source IP of the target application program and the network slice identifier, which is established in advance; and the sending module is used for transmitting the data packet to be sent through the target network slice.
The specific manner in which the individual modules perform the operations of the apparatus of this embodiment has been described in detail in connection with embodiments of the method and will not be described in detail herein.
According to the network slice determining device provided by the embodiment, the mapping relation between the APP source IP and the network slice is pre-established, so that when the APP has a data packet to be sent, the terminal can accurately determine the target network slice for transmitting the data packet, and therefore the data packet is transmitted through the target network slice, and the problem that the terminal cannot determine which network slice is required to transmit the APP data packet in the prior art is solved.
A further embodiment of the present application further provides a device according to the above embodiment.
As an implementation manner, on the basis of the foregoing embodiment, optionally, the obtaining module is further configured to obtain a source IP of the target application and a target application identifier corresponding to the target application;
the determining module is further configured to establish a first mapping relationship between the source IP of the target application program and the network slice identifier according to the source IP of the target application program, the target application program identifier, and a second mapping relationship between the pre-stored application program identifier and the network slice identifier.
In an embodiment, optionally, the obtaining module is further configured to receive a urs criterion sent by the core network, where the urs criterion includes a third mapping relationship between an application identifier and a network slice identifier;
and the determining module is also used for selecting and storing a second mapping relation between the application program identification of each installed application program and the corresponding network slice identification from the URSP criterion according to the application program identification of the installed application program.
In an embodiment, optionally, the determining module is further configured to:
when the source IP of the target application program is changed, updating the source IP of the target application program in the first mapping relation to the changed source IP;
and when the target application program exits or is deleted, deleting the first mapping relation between the source IP of the target application program and the network slice identifier.
As another implementation manner, on the basis of the foregoing embodiment, optionally, the determining module is further configured to:
and establishing a slice passage of the target network slice.
In an embodiment, optionally, the determining module is specifically configured to:
after receiving URSP criteria sent by a core network, establishing a slicing path of a target network slice according to the installed application program identification and the URSP criteria; or,
when the target network slice needs to transmit data, a slice path of the target network slice is established.
In an embodiment, optionally, the determining module is further configured to:
when the terminal exits the network and/or the application program corresponding to the target network slice is deleted or exits, closing a slice passage of the target network slice; or,
and the slice passage idle time of the target network slice exceeds the preset time, and the slice passage of the target network slice is closed.
The specific manner in which the individual modules perform the operations of the apparatus of this embodiment has been described in detail in connection with embodiments of the method and will not be described in detail herein.
It should be noted that, in this embodiment, each of the possible embodiments may be implemented separately, or may be implemented in any combination without conflict, which is not limited to the implementation of the present application.
According to the network slice determining device, the slice path is established when the network slice needs to transmit data, so that occupation of resources is effectively reduced; and the occupation of resources is further reduced by closing the slicing passage of the network slice after the network slice is used up.
A further embodiment of the present application provides a terminal, configured to perform the method provided in the foregoing embodiment.
Fig. 5 is a schematic structural diagram of a terminal according to the present embodiment. The terminal 50 includes: at least one processor 51, memory 52, and transceiver 53;
the processor, the memory and the transceiver are interconnected through a circuit;
the memory stores computer-executable instructions;
a transceiver for transmitting a data packet to be transmitted;
at least one processor executes computer-executable instructions stored in a memory, causing the at least one processor to perform the method as provided in any one of the embodiments above.
According to the terminal of the embodiment, the mapping relation between the APP source IP and the network slice is pre-established, so that when the APP has a data packet to be sent, the terminal can accurately determine the target network slice for transmitting the data packet, and therefore the data packet is transmitted through the target network slice, and the problem that the terminal cannot determine which network slice the APP data packet needs to be transmitted through in the prior art is solved.
Yet another embodiment of the present application provides a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement a method as provided in any of the above embodiments.
According to the computer readable storage medium of the embodiment, the mapping relation between the APP source IP and the network slice is pre-established, so that when the APP has a data packet to be sent, the terminal can accurately determine the target network slice for transmitting the data packet, thereby transmitting the data packet through the target network slice, and solving the problem that the terminal cannot determine which network slice is required to transmit the APP data packet in the prior art.
As shown in fig. 6, an exemplary block diagram of a terminal, which may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, etc., is provided for the present embodiment.
Terminal 800 can include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the terminal 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the terminal 800. Examples of such data include instructions for any application or method operating on the terminal 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the terminal 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal 800.
The multimedia component 808 includes a screen between the terminal 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 800 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the terminal 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the terminal 800. For example, the sensor assembly 814 may detect an on/off state of the terminal 800, a relative positioning of the components, such as a display and keypad of the terminal 800, a change in position of the terminal 800 or a component of the terminal 800, the presence or absence of user contact with the terminal 800, an orientation or acceleration/deceleration of the terminal 800, and a change in temperature of the terminal 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the terminal 800 and other devices, either wired or wireless. The terminal 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 800 can be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of terminal 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (8)
1. A method for determining a network slice, comprising:
if a target application program needs to send a data packet, acquiring a source IP of the target application program;
determining a target network slice for transmitting the data packet to be transmitted according to the source IP of the target application program and a first mapping relation of the source IP of the target application program and a network slice identifier, which is established in advance;
transmitting the data packet to be transmitted through the target network slice;
before determining the target network slice for transmitting the data packet to be transmitted according to the source IP of the target application program and the pre-established first mapping relation between the source IP of the target application program and the network slice identifier, the method further comprises:
acquiring a source IP of the target application program and a target application program identifier corresponding to the target application program;
establishing a first mapping relation between the source IP of the target application program and the network slice identifier according to the source IP of the target application program, the target application program identifier and a second mapping relation between the pre-stored application program identifier and the network slice identifier;
the method further comprises the steps of:
receiving URSP criteria sent by a core network, wherein the URSP criteria comprise a third mapping relation between an application program identifier and a network slice identifier;
and selecting and storing a second mapping relation between the application program identification of each installed application program and the corresponding network slice identification from the URSP criterion according to the application program identification of the installed application program.
2. The method according to claim 1, wherein the method further comprises:
when the source IP of the target application program is changed, updating the source IP of the target application program in the first mapping relation to the changed source IP;
and deleting the first mapping relation between the source IP of the target application program and the network slice identifier when the target application program exits or is deleted.
3. The method of claim 1, wherein prior to transmitting the data packet to be transmitted through the target network slice, the method further comprises:
and establishing a slice passage of the target network slice.
4. The method of claim 3, wherein the establishing a slice path for the target network slice comprises:
after receiving URSP criteria sent by a core network, establishing a slicing path of the target network slice according to the installed application program identification and the URSP criteria; or,
and when the target network slice needs to transmit data, establishing a slice passage of the target network slice.
5. The method according to claim 4, wherein the method further comprises:
when a terminal exits from a network and/or an application program corresponding to the target network slice is deleted or exits, closing a slice passage of the target network slice; or,
and the slice passage idle time of the target network slice exceeds a preset time length, and the slice passage of the target network slice is closed.
6. A network slice determination apparatus, comprising:
the acquisition module is used for acquiring a source IP of the target application program if the target application program needs to send a data packet;
the determining module is used for determining a target network slice for transmitting the data packet to be transmitted according to the source IP of the target application program and a first mapping relation of the source IP of the target application program and a network slice identifier, which is established in advance;
and the sending module is used for transmitting the data packet to be sent through the target network slice.
7. A terminal, comprising: at least one processor, memory, and transceiver;
the processor, the memory and the transceiver are interconnected by a circuit;
the memory stores computer-executable instructions;
the transceiver is used for sending the data packet to be sent;
the at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the method of any one of claims 1-5.
8. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor implement the method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011180351.7A CN114430370B (en) | 2020-10-29 | 2020-10-29 | Method, device, equipment and storage medium for determining network slice |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011180351.7A CN114430370B (en) | 2020-10-29 | 2020-10-29 | Method, device, equipment and storage medium for determining network slice |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114430370A CN114430370A (en) | 2022-05-03 |
CN114430370B true CN114430370B (en) | 2023-07-25 |
Family
ID=81308967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011180351.7A Active CN114430370B (en) | 2020-10-29 | 2020-10-29 | Method, device, equipment and storage medium for determining network slice |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114430370B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114978911B (en) * | 2022-05-20 | 2024-03-08 | 中国联合网络通信集团有限公司 | Correlation method of network slices, equipment main body, communication module and terminal equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017124003A1 (en) * | 2016-01-15 | 2017-07-20 | Idac Holdings, Inc. | Mobility management for next generation mobile network |
CN107743096A (en) * | 2017-10-13 | 2018-02-27 | 北京小米移动软件有限公司 | Network optimized approach, device, terminal and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109429277A (en) * | 2017-07-05 | 2019-03-05 | 中兴通讯股份有限公司 | The selection method of network slice, apparatus and system |
CN109391648B (en) * | 2017-08-04 | 2020-12-22 | 华为技术有限公司 | Method and device for associating application with network slice and communication system |
CN110324284B (en) * | 2018-03-30 | 2020-10-27 | 华为技术有限公司 | Method and communication device for accessing IMS |
-
2020
- 2020-10-29 CN CN202011180351.7A patent/CN114430370B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017124003A1 (en) * | 2016-01-15 | 2017-07-20 | Idac Holdings, Inc. | Mobility management for next generation mobile network |
CN107743096A (en) * | 2017-10-13 | 2018-02-27 | 北京小米移动软件有限公司 | Network optimized approach, device, terminal and storage medium |
Non-Patent Citations (3)
Title |
---|
Motorola Mobility, Lenovo.S2-161574 "Solution: PDU Sessions served by different Network Slices".3GPP tsg_sa\WG2_Arch.2016,(第TSGS2_114_Sophia_Antipolis期),全文. * |
Support of a Multi-access Session in 5G Mobile Network;Jeounglak Ha,Young-II Choi;2019 25th Asia-Pacific Conference on Communications;全文 * |
软件定义网络流量测量和性能优化的研究;石磊;中国优秀硕士学位论文数据库;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114430370A (en) | 2022-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112954761B (en) | Method, device and user equipment for cell switching | |
CN106961526B (en) | Notification message display method and device and electronic equipment | |
CN109565451B (en) | Method and device for using network slice | |
CN108702763B (en) | Method and device for sending lead code and scheduling request | |
CN110622616A (en) | Control method and device of inactivity timer | |
US11284398B2 (en) | Communication link configuration method and device | |
US20220256497A1 (en) | Methods and apparatuses for receiving paging signaling, and methods and apparatuses for transmitting paging signaling | |
CN114430920A (en) | Capability reporting method and device, and capability determining method and device | |
CN110268746B (en) | Cell switching method and device, switching configuration method and device and user equipment | |
CN109075856B (en) | Flight path configuration method and device | |
CN108476379B (en) | Information recording method and information recording apparatus | |
CN113016210A (en) | Cell determination method and cell determination device | |
CN113747395B (en) | Method and device for broadcasting and receiving configuration information of synchronous signal block | |
CN109417802B (en) | Method and device for transmitting flight information | |
CN112640569B (en) | Connection establishment method and device | |
CN114430370B (en) | Method, device, equipment and storage medium for determining network slice | |
CN104780256A (en) | Address book management method and device and intelligent terminal | |
CN106658412B (en) | Positioning method and device | |
CN110710237B (en) | Method and device for determining support information | |
CN110637502B (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN107885464B (en) | Data storage method, device and computer readable storage medium | |
CN110574403A (en) | information acquisition method and device, and information sending method and device | |
CN107039054B (en) | The way of recording and device | |
CN109451876B (en) | Information recording method and information recording apparatus | |
CN112769677A (en) | Data synchronization method, data synchronization device, electronic equipment, storage medium and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |