CN114095952A - Method for establishing network connection and electronic equipment - Google Patents

Method for establishing network connection and electronic equipment Download PDF

Info

Publication number
CN114095952A
CN114095952A CN202010860485.7A CN202010860485A CN114095952A CN 114095952 A CN114095952 A CN 114095952A CN 202010860485 A CN202010860485 A CN 202010860485A CN 114095952 A CN114095952 A CN 114095952A
Authority
CN
China
Prior art keywords
network
apn
slicing
slice
application
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.)
Granted
Application number
CN202010860485.7A
Other languages
Chinese (zh)
Other versions
CN114095952B (en
Inventor
邢斌
贾艳红
毛宇锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010860485.7A priority Critical patent/CN114095952B/en
Publication of CN114095952A publication Critical patent/CN114095952A/en
Application granted granted Critical
Publication of CN114095952B publication Critical patent/CN114095952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0077Transmission or use of information for re-establishing the radio link of access information of target access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/165Performing reselection for specific purposes for reducing network power consumption

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a method and electronic equipment for establishing network connection, which generate identifiers for at least part of slice networks in newly-added slice networks, and generate an association relation according to the ApnSetting and the ApnContext corresponding to the identifiers and the slice networks, so that the ApnSetting and the ApnContext can be determined according to the identifiers, and the ApnSetting and the ApnContext do not need to be determined firstly and then determined for each slice network, which means that the same ApnSetting can correspond to at least two slice networks, thereby providing a solution for ensuring that the number of apnsetings does not exceed the upper limit when the number of the slice networks supported by the terminal equipment is increased.

Description

Method for establishing network connection and electronic equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method for establishing a network connection and an electronic device.
Background
The slicing network is a plurality of end-to-end networks which are virtualized by an operator on the basis of a general hardware through a slicing technology, and each network has different network functions so as to adapt to different types of service requirements of users. For example, after purchasing physical resources, an enhanced mobile broadband (eMBB) slice network is virtualized by using the physical resources for a video playing service scenario, and an ultra-reliable and low latency communication (URLLC) slice network is virtualized by using the physical resources for a game service scenario.
The 3rd generation partnership project (3 GPP) protocol specifies that each terminal device supports 8 slice networks, and the purpose of creating a slice network is to enable a user to enjoy the high-quality services provided by the slice network after the terminal device establishes a connection with the slice network.
Disclosure of Invention
The embodiment of the application provides a method for establishing network connection and electronic equipment, and the method can enable the electronic equipment to support as many sliced networks as possible on the premise that the quantity of Access Point Name (APN) configuration information (ApnSetting) does not exceed an upper limit.
In a first aspect, a method for establishing a network connection is provided, including: detecting an operation of a user for accessing a first application, and determining that the first application has the use right of a first slice network in response to the operation for accessing the first application; acquiring an association relationship and determining an identifier corresponding to the first slicing network, wherein the association relationship comprises a correspondence between at least two slicing networks, at least one identifier, at least one Access Point Name (APN) configuration information and at least two APN context information, the at least two APN context information are in one-to-one correspondence with the at least two slicing networks, the number of the APN configuration information in the association relationship is smaller than that of the APN context information in the association relationship, and the at least two slicing networks comprise the first slicing network; determining APN configuration information and APN context information corresponding to the first slice network according to the identifier corresponding to the first slice network and the association relation; and establishing connection with the first slice network according to the APN configuration information and the APN context information corresponding to the first slice network.
Based on the technical scheme, the identification is generated for at least part of the newly added slice networks, and the association relationship is generated according to the ApnSetting and the ApnContext information (ApnContext) corresponding to the identification and the slice networks, so that the ApnSetting and the ApnContext can be determined according to the identification, and the ApnSetting and the ApnContext do not need to be determined for each slice network first and then, the ApnContext means that the same ApnSetting can correspond to at least two slice networks, and the situation that the ApnSetting quantity does not exceed the upper limit when the quantity of the slice networks supported by the terminal equipment is increased is avoided.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: detecting an operation of accessing a second application by a user, and determining that the second application has the use right of a second slicing network in response to the operation of accessing the second application; determining APN configuration information corresponding to the second slicing network according to the network capacity of the second slicing network; determining APN context information corresponding to the second slicing network according to the APN configuration information corresponding to the second slicing network and the incidence relation; and establishing connection with the second slicing network according to the APN configuration information and the APN context information corresponding to the second slicing network.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, the method further includes: generating the at least one identification according to network capabilities of at least part of the at least two slicing networks; and generating the association relation according to the at least one identifier, the APN configuration information and the context information of the at least two APNs.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, the determining an identifier corresponding to the first slice network includes: and determining the identifier corresponding to the first cut network according to the network capability of the first cut network.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, a sum of a number of identifiers in the association relationship and a number of APN configuration information in the association relationship is equal to a number of APN context information in the association relationship.
In a second aspect, an electronic device is provided, comprising: one or more processors; a memory; a plurality of application programs; and one or more programs, wherein the one or more programs are stored in the memory, which when executed by the processor, cause the electronic device to perform the steps of: detecting an operation of a user for accessing a first application, and determining that the first application has the use right of a first slice network in response to the operation for accessing the first application; acquiring an association relationship and determining an identifier corresponding to the first slicing network, wherein the association relationship comprises a correspondence between at least two slicing networks, at least one identifier, at least one Access Point Name (APN) configuration information and at least two APN context information, the at least two APN context information are in one-to-one correspondence with the at least two slicing networks, the number of the APN configuration information in the association relationship is smaller than that of the APN context information in the association relationship, and the at least two slicing networks comprise the first slicing network; determining APN configuration information and APN context information corresponding to the first slice network according to the identifier corresponding to the first slice network and the association relation; and establishing connection with the first slice network according to the APN configuration information and the APN context information corresponding to the first slice network.
Based on the technical scheme, the identification is generated for at least part of the newly-added slice networks, and the association relationship is generated according to the ApnSetting and the ApnContext corresponding to the identification and the slice networks, so that the ApnSetting and the ApnContext can be determined according to the identification, and the ApnSetting and the ApnContext do not need to be determined for each slice network, which means that the same ApnSetting can correspond to at least two slice networks, thereby avoiding the number of ApnSetting from exceeding the upper limit when the number of the slice networks supported by the terminal equipment is increased.
With reference to the second aspect, in certain implementations of the second aspect, the one or more programs, when executed by the processor, cause the electronic device to perform the steps of: detecting an operation of accessing a second application by a user, and determining that the second application has the use right of a second slicing network in response to the operation of accessing the second application; determining APN configuration information corresponding to the second slicing network according to the network capacity of the second slicing network; determining APN context information corresponding to the second slicing network according to the APN configuration information corresponding to the second slicing network and the incidence relation; and establishing connection with the second slicing network according to the APN configuration information and the APN context information corresponding to the second slicing network.
With reference to the second aspect and the foregoing implementations, in some implementations of the second aspect, the one or more programs, when executed by the processor, cause the electronic device to perform the steps of: generating the at least one identification according to network capabilities of at least part of the at least two slicing networks; and generating the association relation according to the at least one identifier, the APN configuration information and the context information of the at least two APNs.
With reference to the second aspect and the foregoing implementations, in some implementations of the second aspect, the one or more programs, when executed by the processor, cause the electronic device to perform the steps of: and determining the identifier corresponding to the first cut network according to the network capability of the first cut network.
With reference to the second aspect and the foregoing implementation manners, in some implementation manners of the second aspect, a sum of the number of identifiers in the association relationship and the number of APN configuration information in the association relationship is equal to the number of APN context information in the association relationship.
In a third aspect, the present application provides an apparatus, included in an electronic device, that has functionality to implement the above aspects and possible implementations of the above aspects. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-described functions. Such as a detection module or unit, a processing module or unit, etc.
In a fourth aspect, the present application provides an electronic device comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors and the one or more memories are configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform a method of establishing a network connection in any of the possible implementations of any of the aspects described above.
In a fifth aspect, the present application provides a computer-readable storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform any one of the possible methods for establishing a network connection of the above aspects.
In a sixth aspect, the present application provides a computer program product, which, when run on an electronic device, causes the electronic device to perform any one of the possible methods for establishing a network connection according to any one of the above aspects.
Drawings
Fig. 1 is a schematic structural diagram of an example of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a block diagram of a software structure of the electronic device 100 according to the embodiment of the present application;
fig. 3 is a schematic interaction flow diagram of a method for establishing a network connection according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
In an Android (Android) architecture, Access Point Name (APN) configuration information (ApnSetting) corresponding to a network to be connected can be found according to Network Capability (NC) of the network to be connected, ApnContext information (ApnContext) can be found according to ApnSetting, and network connection with the network to be connected can be established according to ApnSetting and ApnContext. The scheme needs NC and ApnSetting to be in one-to-one correspondence, namely, the number of ApnSetting needed by the NC is corresponding to the number of ApnSetting needed by the NC.
The 3rd generation partnership project (3 GPP) protocol specifies that each electronic device needs to support 8 slice networks, and 8 slice networks correspond to 8 network capabilities, which means that 8 ApnSetting needs to be added on the basis of the above scheme.
However, the Android architecture has a limit on the number of ApnSetting, and if 8 ApnSetting is added, the number of ApnSetting will exceed the upper limit of the number of ApnSetting, so that if the number of ApnSetting is guaranteed not to exceed the upper limit, the number of slice networks supported by the electronic device will be affected.
The embodiment of the application provides a method for establishing network connection, which generates an identifier for at least part of slice networks in a newly-added slice network, and generates an association relation according to ApnSetting and ApnContext corresponding to the identifier and the slice network, so that the ApnSetting and the ApnContext can be determined according to the identifier, and the ApnSetting and the ApnContext do not need to be determined firstly and then determined for each slice network, which means that the same ApnSetting can correspond to at least two slice networks, thereby preventing the number of ApnSetting from exceeding an upper limit when the number of the slice networks supported by terminal equipment is increased.
The method for establishing network connection provided by the embodiment of the application can be applied to electronic devices provided with temperature measurement modules, such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, Augmented Reality (AR)/Virtual Reality (VR) devices, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, Personal Digital Assistants (PDAs), and the like. Optionally, the temperature measurement module may include an infrared temperature sensor, and the like, and the embodiment of the present application does not limit any specific type of the electronic device.
For example, fig. 1 is a schematic structural diagram of an example of an electronic device 100 provided in the embodiment of the present application. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The embodiment of the application takes a mobile phone with an Android system of a layered architecture as an example, and exemplifies a software structure of the mobile phone. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, which are an application layer, an application framework layer, a system operation layer, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, the application packages may include Applications (APPs) such as video, games, browsers, contacts, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 2, the application framework layer may include an initialization module, a slice management module, a data service module, a communication module, and the like.
The system operation layer includes various types of wireless interfaces.
The kernel layer is a layer between hardware and software, including various network drivers. For example, the core layer includes at least sensor drive, camera drive, display drive, and the like.
For convenience of understanding, in the following embodiments of the present application, a mobile phone having a structure shown in fig. 1 and fig. 2 is taken as an example, and a method for establishing a network connection provided in the embodiments of the present application is specifically described in conjunction with the accompanying drawings and application scenarios.
Fig. 3 is a schematic interaction flow diagram of method 200. Each step of the method 200 is described in detail below.
The slice management module 201 detects an operation of a user to access the first application, and determines that the first application is provided with the right to use the first slice network in response to the operation of accessing the first application.
For example, a vendor of a video application or a user using the video application subscribes to an eMBB slice network from an operator. When a user launches a video application (e.g., a first application) on a handset, a slice management module of the handset detects an operation of the user to access the video application (e.g., an operation to access the first application), and in response to this operation, the slice management module determines that the video application is provided with usage rights of an eMBB slice network (e.g., the first slice network).
It should be noted that the video application may be an application installed on the mobile phone, or may also be a website of the video application, which is not limited in this embodiment of the application.
202, the slice management module sends a first slice network connection request to the data traffic module.
A slice management module of the handset sends an eMBB slice network connection request (e.g., a first slice network connection request) to a data traffic module of the handset.
And 203, the data service module sends a first slice network connection request to the communication module.
And the data service module of the mobile phone sends an eMB B slice network connection request to the communication module of the mobile phone.
204, the communication module obtains an association relationship and determines an identifier corresponding to the first slicing network, where the association relationship includes at least two slicing networks, at least one identifier, a correspondence between at least one APN configuration information and at least two APN context information, the at least two APN context information correspond to the at least two slicing networks one to one, and the at least one identifier includes an identifier corresponding to the first slicing network.
Alternatively, the association relationship may be generated by:
in order to avoid that the number of the apnseting exceeds the upper limit of the number of the apnseting specified by the Android architecture in the Android architecture due to the increase of the number of the slice networks, when the mobile phone is started, an identifier can be generated for at least part of the slice networks in the newly added slice networks, and an association relationship is generated according to the apnseting and the ApnContext corresponding to the identifier and the slice networks, so that the apnseting and the ApnContext can be determined according to the identifier, and the apnseting and the ApnContext do not need to be determined firstly and then for each slice network, which means that the same apnseting can correspond to at least two slice networks, thereby preventing the number of the apnseting from exceeding the upper limit when the number of the slice networks supported by the terminal equipment is increased.
For example, the mobile phone needs to support 8 newly added slice networks, and when the mobile phone starts, the initialization module generates an identifier for at least part of the 8 newly added slice networks, and generates an association relationship according to the identifier and corresponding ApnSetting and ApnContext of the slice networks.
In one implementation, the initialization module generates identifiers for 8 slice networks, in other words, the initialization module generates one identifier for each of 8 slice networks, and generates association relationships between ApnSetting and 8 ApnContext, where the ApnSetting and the ApnContext are greater than or equal to 1 and less than 8, according to the 8 identifiers.
For example, the association relationship may be as shown in table one.
Watch 1
Figure BDA0002646561820000051
Figure BDA0002646561820000061
It can be seen that, in the first table, the identifiers corresponding to any two slice networks are different, and the apncontexts corresponding to any two slice networks are different, and the apnsetings corresponding to any two slice networks are the same and are apnset 1, in other words, in the case of adding 8 slice networks, by generating one identifier for each slice network, determining apnseting and ApnContext according to the identifiers, determining ApnContext according to apnseting is avoided, so that 8 slice networks can correspond to one apnseting, thereby achieving the purpose of reducing the number of apnsetings.
As another example, the association may be as shown in Table two.
Watch two
Slicing network 1 Identification 1 ApnSetting1 ApnContext1
Slicing network 2 Identification 2 ApnSetting2 ApnContext2
Slicing network 3 Identification 3 ApnSetting3 ApnContext3
Slicing network 4 Sign 4 ApnSetting4 ApnContext4
Slicing network 5 Mark 5 ApnSetting5 ApnContext5
Slicing network 6 Sign 6 ApnSetting6 ApnContext6
Slicing network 7 Identification 7 ApnSetting7 ApnContext7
Slicing network 8 Sign 8 ApnSetting6 ApnContext8
It can be seen that, in table two, the identifiers corresponding to any two slice networks are different, and the apncontexts corresponding to any two slice networks are different, and the apnseting corresponding to the slice network 6 and the slice network 8 are the same and are ApnSetting, in other words, under the condition that 8 slice networks are newly added, by generating one identifier for each slice network, ApnSetting and ApnContext are determined according to the identifiers, the ApnContext is prevented from being determined according to ApnSetting, so that part of the 8 slice networks can correspond to one ApnSetting, and the purpose of reducing the number of apnsetings is achieved.
The above description is only an exemplary description of the association relationship shown in table one and table two, and the present embodiment does not limit this. For example, in a specific implementation, the number of ApnSetting may be other values as long as the number of ApnSetting is ensured to be greater than or equal to 1 and less than 8.
In another implementation, the initialization module generates identifiers for part of the 8 slice networks, in other words, the initialization module generates one identifier for each of the slice networks whose number is greater than or equal to 1 and less than 8, and generates association relationships between ApnSetting whose number is greater than or equal to 1 and less than 8 and 8 ApnContext according to the identifiers whose number is greater than or equal to 1 and less than 8.
For example, the association relationship may be as shown in table three.
Watch III
Figure BDA0002646561820000062
Figure BDA0002646561820000071
It can be seen that, in table three, each of the identifier 1 to the identifier 4 corresponds to one ApnContext, each of the identifier 1 to the identifier 4 corresponds to ApnSetting6, each of the identifier 5 to the identifier 8 corresponds to one ApnSetting, and each corresponds to one ApnContext, in other words, under the condition that 8 slice networks are newly added, by generating an identifier for a part of the slice networks, determining apnsettings and apncontexts of the part of the slice networks according to the identifier, for another part of the slice networks without the identifier, first determining apnsettings according to network capabilities of the slice networks, and then determining apncontexts according to the apnsettings, it is avoided that apncontexts are determined according to the apnsettings for all the slice networks, thereby achieving the purpose of reducing the number of apnsettings.
The above-mentioned association shown in table three is only used as an exemplary description, and the embodiment of the present application is not limited thereto. For example, in a specific implementation, the number of the tags may be other values as long as the number of the tags is guaranteed to be greater than or equal to 1 and less than 8, and the number of ApnSetting may also be other values as long as the number of ApnSetting is guaranteed to be greater than or equal to 1 and less than 8.
It should be noted that, the sum of the number of identifiers and the number of ApnSetting in the association relationship shown in table three is equal to the number of sliced networks, but this does not limit the embodiment of the present application at all, and in a specific implementation, it is only required to ensure that the number of identifiers is greater than or equal to 1 and less than 8, and that the number of ApnSetting is greater than or equal to 1 and less than 8.
Optionally, when generating the association relationship, the identifier corresponding to the slice network may be generated according to the network capability of the slice network, for example, the identifier corresponding to the slice network may be generated through the following two implementation manners.
Mode 1
The network capabilities of the slice network are mapped to strings or numbers.
For example, 1 is used as the identifier of the slice network 1, 2 is used as the identifier of the slice network 2, and so on, and n is used as the identifier of the slice network n.
Mode 2
And generating the corresponding identifier of the slice network according to the network capability of the slice network and a constant.
For example, a value corresponding to the network capability of the slice network is basically operated with a constant, and the operation result is used as the identifier corresponding to the slice network.
205, the communication module determines APN configuration information and APN context information corresponding to the first slice network according to the identifier and association relationship corresponding to the first slice network.
For example, the association relationship is as shown in table one, where it is assumed that 8 slice networks in table one include an eMBB slice network, the communication module determines that an identifier corresponding to the eMBB slice network is identifier 1, and determines ApnSetting1 and ApnContext1 corresponding to identifier 1 of the eMBB slice network in the association relationship as ApnSetting and ApnContext corresponding to the eMBB slice network according to the association relationship shown in table one and identifier 1 corresponding to the eMBB slice network.
Optionally, the communication module may determine the identifier corresponding to the eMBB slice network according to the network capability of the eMBB slice network, please refer to the foregoing related description specifically, and details are not described here for brevity.
206. And the communication module transparently transmits the ApnSetting and the ApnContext corresponding to the first slice network to the modem through a wireless interface.
For example, the communication module transparently transmits ApnSetting1 and ApnContext1 corresponding to the eMBB slice network to the modem through the wireless interface.
207, the modem establishes the first slice network connection according to the ApnSetting and the ApnContext corresponding to the first slice network.
For example, the modem establishes an eMBB slice network connection with the network device according to ApnSetting1 and ApnContext1 corresponding to the eMBB slice network.
Optionally, the method 200 may further include:
and 208, the slice management module detects the operation of accessing the second application by the user, and determines that the second application has the use right of the second slice network in response to the operation of accessing the second application.
For example, a vendor of a gaming application or a user using a video application has subscribed to the URLLC slice network with the operator. When a user starts a game application (e.g., a second application) on the mobile phone, the slice management module of the mobile phone detects an operation of the user to access the game application (e.g., an operation to access the second application), and in response to the operation, the slice management module determines that the game application is provided with the use right of the URLLC slice network (e.g., the second slice network).
It should be noted that the game application may be an application installed on the mobile phone, or may also be a website of the game application, which is not limited in this embodiment of the present application.
209, the slice management module sends a first slice network connection request to the data traffic module.
For example, the slice management module of the handset sends a URLLC slice network connection request (e.g., a second slice network connection request) to the data traffic module of the handset.
The data traffic module sends a second sliced network connection request to the communication module 210.
For example, the data service module of the mobile phone sends a URLLC slice network connection request to the communication module of the mobile phone.
And 211, the communication module determines ApnSetting corresponding to the second slice network according to the network capability of the second slice network.
For example, a communication module of the mobile phone determines the network capability of the URLLC slice network, and determines ApnSetting of the URLLC slice network according to the network capability of the URLLC slice network.
212, the communication module determines ApnContext corresponding to the second slice network according to ApnSetting and the association relation corresponding to the second slice network.
For example, the association relationship is shown in table three, where it is assumed that 8 slice networks in table three include URLLC slice networks, the communication module determines that ApnSetting corresponding to the URLLC slice networks is ApnSetting6, and determines ApnContext6 corresponding to ApnSetting6 of the URLLC slice networks in the association relationship as ApnContext corresponding to the URLLC slice networks according to the association relationship shown in table three and ApnSetting6 corresponding to the URLLC slice networks.
213, the communication module transparently transmits ApnSetting and ApnContext corresponding to the second slice network to the modem through the wireless interface.
For example, the communication module transparently transmits ApnSetting6 and ApnContext6 corresponding to the URLLC slice network to the modem through the wireless interface.
214, according to ApnSetting and ApnContext6 corresponding to the second slice network, establishing connection with the second slice network.
For example, the modem establishes a URLLC slice network connection with the network device according to ApnSetting6 and ApnContext6 corresponding to the URLLC slice network.
It should be noted that the above method is only described as an example for generating an identifier corresponding to a slice network, but the embodiment of the present application is not limited to this, and in a specific implementation, other information may be used instead of the role played by the identifier in the method 200, for example, an association relationship between the slice network, SNSSAI, apnetting and ApnContext may be generated by using a network slice selection assistance information (SNSSAI) identifier in the method 200, and apnetting and apnontext corresponding to the slice network may be determined by using SNSSAI.
It should be further noted that the method 200 for generating the identifier corresponding to the slice network and determining ApnSetting and ApnContext corresponding to the slice network according to the identifier to achieve the purpose of reducing the number of apnsettings may also be applied to release slice network connection when a user is detected to quit a certain application, for example, by generating the identifier for the slice network, determining ApnSetting and ApnContext corresponding to the slice network according to the identifier, and then releasing slice network connection according to ApnSetting and ApnContext. For a more detailed description of the application of the method 200 in releasing the slice network connection, reference is made to the foregoing related description, and for brevity, no further description is provided here.
It will be appreciated that the electronic device, in order to implement the above-described functions, comprises corresponding hardware and/or software modules for performing the respective functions. The present application is capable of being implemented in hardware or a combination of hardware and computer software in conjunction with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, with the embodiment described in connection with the particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The present embodiment may perform functional module division on the electronic device according to the above method example, for example, each functional module, such as a detection unit, a processing unit, and the like, may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware. It should be noted that the division of the modules in this embodiment is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The electronic device provided by the embodiment is used for executing the method for establishing the network connection, so that the same effect as the implementation method can be achieved.
In case of an integrated unit, the electronic device may further comprise a processing module, a storage module and a communication module. The processing module can be used for controlling and managing the action of the electronic equipment. The memory module may be used to support the electronic device in executing stored program codes and data, etc. The communication module can be used for supporting the communication between the electronic equipment and other equipment.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 1.
The present embodiment also provides a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are run on an electronic device, the electronic device is caused to execute the above related method steps to implement the method for establishing a network connection in the above embodiments.
The present embodiment also provides a computer program product, which when running on a computer, causes the computer to execute the relevant steps described above, so as to implement the method for establishing a network connection in the above embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the method for establishing the network connection in the above method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A method of establishing a network connection, comprising:
detecting an operation of a user for accessing a first application, and determining that the first application has the use right of a first slice network in response to the operation for accessing the first application;
acquiring an association relationship and determining an identifier corresponding to the first slicing network, wherein the association relationship comprises a correspondence between at least two slicing networks, at least one identifier, at least one Access Point Name (APN) configuration information and at least two APN context information, the at least two APN context information are in one-to-one correspondence with the at least two slicing networks, the number of the APN configuration information in the association relationship is smaller than that of the APN context information in the association relationship, and the at least two slicing networks comprise the first slicing network;
determining APN configuration information and APN context information corresponding to the first slice network according to the identifier corresponding to the first slice network and the association relation;
and establishing connection with the first slice network according to the APN configuration information and the APN context information corresponding to the first slice network.
2. The method of claim 1, further comprising:
detecting an operation of accessing a second application by a user, and determining that the second application has the use right of a second slicing network in response to the operation of accessing the second application;
determining APN configuration information corresponding to the second slicing network according to the network capacity of the second slicing network;
determining APN context information corresponding to the second slicing network according to the APN configuration information corresponding to the second slicing network and the incidence relation;
and establishing connection with the second slicing network according to the APN configuration information and the APN context information corresponding to the second slicing network.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
generating the at least one identification according to network capabilities of at least part of the at least two slicing networks;
and generating the association relation according to the at least one identifier, the APN configuration information and the context information of the at least two APNs.
4. The method according to any of claims 1 to 3, wherein the determining the corresponding identity of the first cut network comprises:
and determining the identifier corresponding to the first cut network according to the network capability of the first cut network.
5. The method according to any of claims 1 to 4, wherein the sum of the number of identities in the association and the number of APN configuration information in the association equals the number of APN context information in the association.
6. An electronic device, characterized in that the electronic device comprises:
one or more processors; a memory; a plurality of application programs; and one or more programs, wherein the one or more programs are stored in the memory, which when executed by the processor, cause the electronic device to perform the steps of: detecting an operation of a user for accessing a first application, and determining that the first application has the use right of a first slice network in response to the operation for accessing the first application; acquiring an association relationship and determining an identifier corresponding to the first slicing network, wherein the association relationship comprises a correspondence between at least two slicing networks, at least one identifier, at least one Access Point Name (APN) configuration information and at least two APN context information, the at least two APN context information are in one-to-one correspondence with the at least two slicing networks, the number of the APN configuration information in the association relationship is smaller than that of the APN context information in the association relationship, and the at least two slicing networks comprise the first slicing network; determining APN configuration information and APN context information corresponding to the first slice network according to the identifier corresponding to the first slice network and the association relation; and establishing connection with the first slice network according to the APN configuration information and the APN context information corresponding to the first slice network.
7. The electronic device of claim 6, wherein the one or more programs, when executed by the processor, cause the electronic device to perform the steps of:
detecting an operation of accessing a second application by a user, and determining that the second application has the use right of a second slicing network in response to the operation of accessing the second application;
determining APN configuration information corresponding to the second slicing network according to the network capacity of the second slicing network;
determining APN context information corresponding to the second slicing network according to the APN configuration information corresponding to the second slicing network and the incidence relation;
and establishing connection with the second slicing network according to the APN configuration information and the APN context information corresponding to the second slicing network.
8. The electronic device of claim 6 or 7, wherein the one or more programs, when executed by the processor, cause the electronic device to perform the steps of:
generating the at least one identification according to network capabilities of at least part of the at least two slicing networks;
and generating the association relation according to the at least one identifier, the APN configuration information and the context information of the at least two APNs.
9. The electronic device of any of claims 6-8, wherein the one or more programs, when executed by the processor, cause the electronic device to perform the steps of:
and determining the identifier corresponding to the first cut network according to the network capability of the first cut network.
10. The electronic device of any of claims 6-9, wherein a sum of a number of identities in the association and a number of APN configuration information in the association is equal to a number of APN context information in the association.
11. A computer-readable storage medium, in which a computer program or instructions are stored, which, when executed by a communication apparatus, carry out a method of establishing a network connection according to any one of claims 1 to 5.
12. A computer program product, characterized in that it causes a computer to carry out the method of establishing a network connection according to any one of claims 1 to 5, when said computer program product is run on the computer.
CN202010860485.7A 2020-08-24 2020-08-24 Method for establishing network connection and electronic equipment Active CN114095952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010860485.7A CN114095952B (en) 2020-08-24 2020-08-24 Method for establishing network connection and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010860485.7A CN114095952B (en) 2020-08-24 2020-08-24 Method for establishing network connection and electronic equipment

Publications (2)

Publication Number Publication Date
CN114095952A true CN114095952A (en) 2022-02-25
CN114095952B CN114095952B (en) 2024-05-10

Family

ID=80295693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010860485.7A Active CN114095952B (en) 2020-08-24 2020-08-24 Method for establishing network connection and electronic equipment

Country Status (1)

Country Link
CN (1) CN114095952B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937363A (en) * 2017-03-16 2017-07-07 国家计算机网络与信息安全管理中心 A kind of method and device of accessing terminal to network
US20180152877A1 (en) * 2015-05-21 2018-05-31 Samsung Electronics Co., Ltd. Internet protocol address preservation in mobile operator networks
CN109923937A (en) * 2016-10-11 2019-06-21 日本电气株式会社 For the method for session management parameter maintenance, conversation management functional node, user-plane function node and user equipment and computer readable recording medium therein

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180152877A1 (en) * 2015-05-21 2018-05-31 Samsung Electronics Co., Ltd. Internet protocol address preservation in mobile operator networks
CN109923937A (en) * 2016-10-11 2019-06-21 日本电气株式会社 For the method for session management parameter maintenance, conversation management functional node, user-plane function node and user equipment and computer readable recording medium therein
CN106937363A (en) * 2017-03-16 2017-07-07 国家计算机网络与信息安全管理中心 A kind of method and device of accessing terminal to network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUAWEI: "R3-161751 "Key principles for Support of Network Slicing in RAN"", 3GPP TSG_RAN\\WG3_IU, no. 3 *
任驰;马瑞涛;: "网络切片网络切片:构建可定制化的5G网络", 中兴通讯技术, no. 01 *

Also Published As

Publication number Publication date
CN114095952B (en) 2024-05-10

Similar Documents

Publication Publication Date Title
US11800004B2 (en) Executing applications in conjunction with other devices
CN107861814B (en) Resource allocation method and equipment
CN112055424B (en) Electronic device and method for switching electronic device
CN106332307B (en) Method for accessing application program to network and mobile terminal
KR102107132B1 (en) Access point connection method of electronic apparatus and electronic appparatus thereof
US10021103B2 (en) Service authorization methods and apparatuses
US20170244574A1 (en) Electronic device and method for registering smart home device in smart home system
CN107766747B (en) Method for verifying integrity of application program installation package, mobile terminal and server
CN112544092B (en) Electronic device, external electronic device, and method of managing embedded subscriber identification module of external electronic device
KR101754680B1 (en) Method, apparatus and system of recovering an operating system on a portable communication device
KR20150099236A (en) Apparatus and method for providing push service based on location
US9729815B2 (en) Method and electronic device for controlling content integrity using numerical data
US10284614B2 (en) Method for downloading contents of electronic device and electronic device thereof
US10237087B2 (en) Method for controlling transmission speed and electronic device thereof
US20180123783A1 (en) Electronic device and method for operating the same
CN111212461A (en) Electronic device and method of operating the same
US10075798B2 (en) Method for providing audio and electronic device adapted to the same
KR20150089393A (en) Method for controlling a battery charge and an electronic device
KR20150104697A (en) Method and apparatus for grouping of personal electronic device using qr code and system therefor
US20160019602A1 (en) Advertisement method of electronic device and electronic device thereof
CN114095952A (en) Method for establishing network connection and electronic equipment
KR20160077851A (en) Apparatus and method for providing security for memory of in electronics device
CN114884990A (en) Screen projection method and device based on virtual screen
CN111182153B (en) System language setting method and device, storage medium and mobile terminal
CN105302733B (en) A kind of method and device of Memory Allocation

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