CN111757316B - Service connection method and device - Google Patents

Service connection method and device Download PDF

Info

Publication number
CN111757316B
CN111757316B CN202010582857.4A CN202010582857A CN111757316B CN 111757316 B CN111757316 B CN 111757316B CN 202010582857 A CN202010582857 A CN 202010582857A CN 111757316 B CN111757316 B CN 111757316B
Authority
CN
China
Prior art keywords
service
terminal
connection
priority
amf
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
Application number
CN202010582857.4A
Other languages
Chinese (zh)
Other versions
CN111757316A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202010582857.4A priority Critical patent/CN111757316B/en
Publication of CN111757316A publication Critical patent/CN111757316A/en
Application granted granted Critical
Publication of CN111757316B publication Critical patent/CN111757316B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Abstract

The embodiment of the application provides a service connection method and device, relates to the technical field of communication, and solves the technical problem that the service connection method in the existing dual-card terminal causes lower user experience. The method is applied to a communication system comprising a terminal and an access and mobility management function, AMF, device. The service connection method comprises the following steps: the AMF equipment firstly acquires the identifier of the first service and the identifier of the second service, and then determines the priority of the first service according to the identifier of the first service. And the AMF equipment determines the priority of the second service according to the identifier of the second service. If the priority of the first service is higher than that of the second service, the AMF equipment initiates a connection request of the first service to the terminal. The first service is a service to be connected with the AMF equipment by the terminal according to the first communication card; the second service is a service which is established by the terminal according to the second communication card and the AMF equipment; the first communication card and the second communication card are any two different communication cards in the terminal.

Description

Service connection method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a service connection method and apparatus.
Background
With the development of communication technology, the dual card terminal provides great convenience for users.
A user may install two different Universal Subscriber Identity Module (USIM) cards (e.g., USIM card 1 and USIM card 2) in the same terminal to handle different services. For example: the USIM card 1 is used for making and receiving calls, and the USIM card 2 is used for using flow services; or the USIM card 1 is used for handling work and the USIM card 2 is used for personal life.
However, at present, the dual-card terminal cannot support the simultaneous use of two different USIM cards. Under the background, when the USIM card 1 in the dual-card terminal is in a service process, the USIM card 2 cannot be normally used; or when the USIM card 1 is in a service process, after the USIM card 2 triggers the service, the service in progress of the USIM card 1 may be interrupted, which reduces user experience.
Disclosure of Invention
The application provides a service connection method and device, and solves the technical problem that the service connection method in the existing dual-card terminal causes lower user experience.
In order to achieve the purpose, the following technical scheme is adopted in the application:
in a first aspect, a service connection method is provided, which is applied to a communication system including a terminal and an access and mobility management function (AMF) device. Wherein, the terminal is connected with the AMF device in a communication mode. The service connection method comprises the following steps:
the AMF equipment firstly acquires the identifier of the first service and the identifier of the second service, and then determines the priority of the first service according to the identifier of the first service. Correspondingly, the AMF equipment determines the priority of the second service according to the identifier of the second service. If the priority of the first service is higher than that of the second service, the AMF equipment initiates a connection request of the first service to the terminal. The first service is a service to be connected with the AMF equipment by the terminal according to the first communication card; the second service is a service which is established by the terminal according to the second communication card and the AMF equipment; the first communication card and the second communication card are any two different communication cards in the terminal.
It can be seen that the AMF device may determine the service connection policy according to the priority of the first service and the priority of the second service, and if the priority of the first service is higher than the priority of the second service, the AMF device initiates a connection request of the first service to the terminal. Compared with the prior art, the method and the device can determine whether to interrupt the service which is established by the terminal through the priority of the service, reasonably distribute the connection sequence for the services corresponding to the plurality of communication cards in the multi-card terminal, and improve the user experience.
In a second aspect, a service connection apparatus is provided, which is applied to access and mobility management function AMF devices, where the AMF devices belong to a communication system including a terminal and the AMF devices; the terminal is in communication connection with the AMF equipment; the service connection device comprises: the device comprises an acquisition unit, a determination unit and a processing unit. The acquiring unit is used for acquiring the identifier of the first service and the identifier of the second service; the first service is a service for the terminal to establish connection with the AMF equipment according to the first communication card; the second service is a service which is established by the terminal according to the second communication card and the AMF equipment; the first communication card and the second communication card are any two different communication cards in the terminal; the determining unit is used for determining the priority of the first service according to the identifier of the first service acquired by the acquiring unit; the determining unit is further used for determining the priority of the second service according to the identifier of the second service acquired by the acquiring unit; and the processing unit is used for initiating a connection request of the first service to the terminal if the priority of the first service determined by the determining unit is higher than the priority of the second service determined by the determining unit.
In a third aspect, a service connection apparatus is provided that includes a memory and a processor. The memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus. When the service connection apparatus is operating, the processor executes computer-executable instructions stored in the memory to cause the service connection apparatus to perform the service connection method according to the first aspect.
The service connection device may be a network device, or may be a part of a device in the network device, such as a system on chip in the network device. The system on chip is configured to support the network device to implement the functions involved in the first aspect and any one of the possible implementations thereof, for example, to receive, determine, and offload data and/or information involved in the service connection method. The chip system includes a chip and may also include other discrete devices or circuit structures.
In a fourth aspect, a computer-readable storage medium is provided, which includes computer-executable instructions, which, when executed on a computer, cause the computer to perform the service connection method of the first aspect.
In a fifth aspect, a computer program product is provided, which comprises computer instructions that, when executed on a computer, cause the computer to perform the service connection method as described in the first aspect and its various possible implementations.
It should be noted that all or part of the above computer instructions may be stored on the first computer readable storage medium. The first computer readable storage medium may be packaged with the processor of the service connection device, or may be packaged separately from the processor of the service connection device, which is not limited in this application.
For the description of the second, third, fourth and fifth aspects of the present invention, reference may be made to the detailed description of the first aspect; in addition, for the beneficial effects described in the second aspect, the third aspect, the fourth aspect and the fifth aspect, reference may be made to beneficial effect analysis of the first aspect, and details are not repeated here.
In the present application, the names of the service connection devices do not limit the devices or function modules themselves, and in actual implementation, the devices or function modules may appear by other names. Insofar as the functions of the respective devices or functional blocks are similar to those of the present invention, they are within the scope of the claims of the present invention and their equivalents.
These and other aspects of the invention will be more readily apparent from the following description.
Drawings
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application;
fig. 2 is a schematic hardware structure diagram of a service connection apparatus according to an embodiment of the present application;
fig. 3 is a schematic hardware structure diagram of another service connection apparatus according to an embodiment of the present application;
fig. 4 is a schematic flowchart of an AMF device acquiring service priority information according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of an AMF device acquiring service connection information according to an embodiment of the present application;
fig. 6 is a schematic flowchart of determining a service connection policy by an AMF device according to an embodiment of the present application;
fig. 7 is a schematic flowchart of a service connection apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another service connection device according to an embodiment of the present application.
Detailed Description
The technical solutions in 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 obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion.
For the convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first", "second", and the like are used to distinguish the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the terms "first", "second", and the like do not limit the quantity and execution order.
To facilitate an understanding of the present application, reference will now be made to the description of the related concepts related to the embodiments of the present application.
Access and mobility management function (AMF) device
The AMF device is a device in a core network of a fifth generation mobile communication technology (5th generation mobile networks, 5G), and is mainly used for implementing management functions of a control plane, such as registration management, connection management, mobility management, user accessibility management, and management related to authentication and authorization.
Session Management Function (SMF) device
The SMF device is a device in a 5G core network, and is mainly responsible for session management related work, including establishment, modification, release, and the like, and the specific functions include Internet Protocol (IP) address allocation, selection and control of a user plane, configuration of a service route and uplink traffic guidance, determination of a session and service continuity mode, configuration of a quality of service (QoS) policy of a user port function device, and the like in a session establishment process.
Policy Control Function (PCF) device
The PCF device is a device in the 5G core network, and is mainly configured to obtain policy information signed by the user terminal, and send the policy information to the AMF device and the SMF device.
User Plane Function (UPF) device
The UPF device is a device in a 5G core network, and mainly provides service processing functions of a user plane, including service routing, packet forwarding, anchoring functions, QoS mapping and execution, identification and routing of an uplink to a data network, downlink packet buffering, notification triggering of downlink data arrival, connection with an external data network, and the like.
As described in the background art, when the USIM card 1 in a dual card terminal is in a service process, the USIM card 2 cannot be normally used; or when the USIM card 1 is in a service process, after the USIM card 2 triggers the service, the service in progress of the USIM card 1 may be interrupted, which reduces user experience.
In view of the foregoing problems, an embodiment of the present application provides a service connection method, including: the AMF equipment determines the priority of the first service and the second service according to the identifier of the first service and the identifier of the second service, and determines a service connection strategy according to the priority of the first service and the priority of the second service. Whether the service which is established by the terminal is interrupted is determined according to the priority of the service, the connection sequence is reasonably distributed for the services corresponding to a plurality of communication cards in the multi-card terminal, and the user experience is improved.
The service connection method provided by the embodiment of the present application is applicable to the communication system 10. Fig. 1 shows one configuration of the communication system 10. As shown in fig. 1, the communication system 10 includes: terminal 11, radio access network device 12, AMF device 13, UPF device 14, SMF device 15, and PCF device 16.
Wherein, the terminal 11 is in communication connection with the radio access network equipment 12. The terminal 11 is connected with the AMF device 13 through an N1 interface. The radio access network device 12 and the AMF device 13 are connected by an N2 interface. The radio access network device 12 interfaces with the UPF device 14 via an N3 interface. The UPF device 14 is connected with the SMF device 15 through an N4 interface. The SMF device 15 and the PCF device 16 are connected by an N7 interface. The AMF device 13 is connected to the SMF device 15 via an N11 interface. The AMF device 13 and the PCF device 16 are connected by an N15 interface. The above-mentioned N1 interface, N2 interface, N3 interface, N4 interface, N7 interface, N11 interface and N15 interface are all standard interfaces defined by the third generation partnership project (3 GPP).
Terminal 11 in the embodiments of the present application may refer to a device that provides voice and/or data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. A wireless terminal may communicate with one or more core networks via a Radio Access Network (RAN). The wireless terminals may be mobile terminals such as mobile phones (or "cellular" phones) and computers with mobile terminals, as well as portable, pocket, hand-held, computer-included, or vehicle-mounted mobile devices that exchange language and/or data with a wireless access network, such as cell phones, tablets, laptops, netbooks, Personal Digital Assistants (PDAs).
It should be noted that the terminal in the embodiment of the present application supports simultaneous installation of a plurality of communication cards. Because the AMF device, the UPF device, the SMF device, and the PCF device are all core network devices in the same core network, and one core network corresponds to one operator, when the terminal in the embodiment of the present application includes a plurality of communication cards, the plurality of communication cards are communication cards under the same operator.
The communication card may be a Universal Subscriber Identity Module (USIM) card, a SIM card in a global system for mobile communications (GSM) system, or a UIM card in a CDMA (code division multiple access) system, which is not limited in the embodiments of the present invention.
The radio access network device 12 in this embodiment may be a wireless Access Point (AP), a base station, a home gateway, a metropolitan area network device (e.g., a broadband access server (BRAS), a Core Router (CR), etc.), and may also be other devices for connecting a terminal and a core network.
The AMF device 13, the UPF device 14, the SMF device 15, and the PCF device 16 are all devices in a 5G core network, and specific reference may be made to the above detailed description of the AMF device, the UPF device, the SMF device, and the PCF device, which is not described herein again.
It should be noted that the embodiments of the present application may also be applied to communication systems of other mobile communication technologies, for example, a fourth generation mobile communication technology (4th generation mobile networks, 4G). When the embodiment of the present application is applied to a communication system of other mobile communication technologies, the device of the 5G core network may be a core network device having the same function in the communication system of other mobile communication technologies. For example: the function of the PCF apparatus is the same as that of a Policy and Charging Rules Function (PCRF) apparatus in the 4G core network. Therefore, when the embodiment of the present application is applied to a 4G communication system, the PCF device in the embodiment of the present application may be replaced with a PCRF device.
The basic hardware structures of the terminal 11, the radio access network device 12, the AMF device 13, the UPF device 14, the SMF device 15, and the PCF device 16 in fig. 1 are similar, and all include the elements included in the service connection apparatus shown in fig. 2. The hardware structures of the terminal 11, the radio access network device 12, the AMF device 13, the UPF device 14, the SMF device 15, and the PCF device 16 in fig. 1 will be described below by taking the service connection apparatus shown in fig. 2 as an example.
Fig. 2 shows a hardware structure diagram of a service connection apparatus according to an embodiment of the present application. As shown in fig. 2, the service connection device includes a processor 21, a memory 22, a communication interface 23, and a bus 24. The processor 21, the memory 22 and the communication interface 23 may be connected by a bus 24.
The processor 21 is a control center of the service connection device, and may be a single processor or a collective term for a plurality of processing elements. For example, the processor 21 may be a Central Processing Unit (CPU), other general-purpose processors, or the like. Wherein the general purpose processor may be a microprocessor or any conventional processor or the like.
For one embodiment, processor 21 may include one or more CPUs, such as CPU 0 and CPU 1 shown in FIG. 2.
The memory 22 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
In a possible implementation, the memory 22 may exist separately from the processor 21, and the memory 22 may be connected to the processor 21 via a bus 24 for storing instructions or program codes. The processor 21 can implement the service connection method provided by the embodiment of the present invention when calling and executing the instructions or program codes stored in the memory 22.
In another possible implementation, the memory 22 may also be integrated with the processor 21.
A communication interface 23 for connecting with other devices through a communication network. The communication network may be an ethernet network, a radio access network, a Wireless Local Area Network (WLAN), or the like. The communication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
The bus 24 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 2, but that does not indicate only one bus or one type of bus.
It should be noted that the structure shown in fig. 2 does not constitute a limitation to the service connection device. The service connection means may comprise more or less components than those shown in figure 2, or some components may be combined, or a different arrangement of components than those shown.
Fig. 3 shows another hardware structure of the service connection apparatus in the embodiment of the present application. As shown in fig. 3, the service connection device may include a processor 31 and a communication interface 32. The processor 31 is coupled to a communication interface 32.
The function of the processor 31 may refer to the description of the processor 21 above. The processor 31 also has a memory function, and the function of the memory 22 can be referred to.
The communication interface 32 is used to provide data to the processor 31. The communication interface 32 may be an internal interface of the service connection device, or may be an external interface (corresponding to the communication interface 23) of the service connection device.
It is noted that the configuration shown in fig. 2 (or fig. 3) does not constitute a limitation of the service connection device, which may comprise more or less components than those shown in fig. 2 (or fig. 3), or a combination of certain components, or a different arrangement of components, in addition to the components shown in fig. 2 (or fig. 3).
The service connection method provided by the embodiment of the present application is described in detail below with reference to the power supply device shown in fig. 1 and the service connection apparatus shown in fig. 2 (or fig. 3).
The method for providing the service connection comprises the following steps: the AMF equipment firstly acquires service connection information and service priority information, determines a currently connected service of the terminal according to the service connection information, determines the priority of a service to be connected and the priority of the connected service according to the service priority information, and determines a service connection strategy according to the priority of the service to be connected and the priority of the connected service. Therefore, the method for providing service connection in the embodiment of the present application includes: the flow of the AMF device acquiring the service priority information, the flow of the AMF device acquiring the service connection information, and the flow of the AMF device determining the service connection policy are described.
The "flow of acquiring the service priority information by the AMF device" will be described first.
As shown in fig. 4, the "flow of acquiring the service priority information by the AMF device" includes S401 to S404.
S401, the AMF equipment acquires a terminal identification of the terminal.
Specifically, when the terminal sends a registration request to the AMF device, the registration request carries a terminal identifier of the terminal. The AMF device may obtain the terminal identifier of the terminal from a registration request sent by the terminal. The terminal identification includes: a permanent subscription identifier (SUPI) and a multi-card identifier. The SUPI is a unique identification of the terminal used to label the terminal. The multi-card identifier is used for indicating that the terminal supports the simultaneous installation of a plurality of communication cards.
S402, if the AMF equipment determines that the terminal identification is the multi-card identification, the AMF equipment sends a first request message to PCF equipment.
The first request message is used for requesting to acquire service priority information. The service priority information comprises a plurality of service identifications and a plurality of priorities; the plurality of service identifications and the plurality of priorities correspond to one another. The service priority information includes: the identity and priority of the first service, the identity and priority of the second service.
If the AMF equipment determines that the terminal identifier is a multi-card identifier, a first request message for requesting to acquire service priority information is sent to the PCF equipment, so that the priority of a first service (namely, a service to be connected) and the priority of a second service (namely, a connected service) are determined according to the service priority information subsequently.
And if the AMF equipment determines that the terminal identifier is the single-card identifier, no operation is executed.
S403, the AMF device receives the service priority information sent by the PCF device.
After receiving the first request message sent by the PCF device, the PCF device sends service priority information to the AMF device.
Specifically, when the terminal signs a contract with the operator, the PCF apparatus sets different priorities for each service according to the service identifier of the terminal. Since the terminal is a multi-card terminal, the service of the terminal includes: the terminal establishes the connection or the service of the connection to be established according to the first communication card and the AMF equipment, and the terminal establishes the connection or the service of the connection to be established according to the second communication card and the AMF equipment. The first communication card and the second communication card are any two different communication cards in the terminal.
After determining the priority of each service of the terminal, the PCF device stores the service identifier and the service priority, where the storage mode may be a table form or other forms, and the application does not limit this.
Illustratively, as shown in table 1, when the PCF apparatus stores the traffic priority information in the form of a table, the traffic priority information includes: the priority corresponding to the voice service is 10 level, the priority corresponding to the WeChat service is 9 level, and the priority corresponding to the game service is 8 level.
It should be noted that, because the number of the services of the terminal is large, if the default service in the terminal services does not set the priority, the priority of the default service is the lowest, for example, level 1.
TABLE 1
Figure BDA0002553692420000091
Figure BDA0002553692420000101
S404, the AMF device determines the priority of the first service and the priority of the second service according to the service priority information.
After receiving the service priority information sent by the PCF device, the AMF device determines the priority of the first service and the priority of the second service according to the service priority information, since the service priority information includes the identifier and the priority of the first service, the identifier and the priority of the second service.
The flow of acquiring the service connection information by the AMF device will be described below.
As shown in fig. 5, the "flow of acquiring the service connection information by the AMF device" includes S501 to S505.
S501, the UPF equipment acquires service connection information of the terminal.
The service connection information is used for representing the connection state of the service of the terminal; the connection state includes: a connection to be established and an established connection.
Specifically, after the terminal successfully registers with the core network device, a Protocol Data Unit (PDU) session may be established with the UPF device through different communication cards. In this case, the UPF device performs service packet matching based on the packet detection rule and starts a timer. And when the UPF equipment receives the uplink data packet of the terminal service, the timer starts to time, and when the UPF equipment receives the next uplink data packet of the service, the timer is set to be 0 for re-timing. And then, the UPF equipment reports the data packet matching information to the SMF equipment, wherein the information comprises data packet detection rule information. Then, the SMF device forwards the data packet detection rule content reported by the UPF device to the AMF device, and the AMF device performs paging strategy rule matching based on the data packet detection rule content received from the SMF device. If the matching is successful, the connection state of the corresponding service is 'connection established'. If the UPF equipment does not receive the uplink data of the terminal service sent by the terminal within the preset time period, the timer is determined to be overtime, and the connection state of the corresponding service is changed from 'connection established' to 'connection to be established'.
It should be noted that, because the terminal is a multi-card terminal, the UPF device may obtain the service connection information of the terminal according to the services transmitted by the multiple communication cards, and the method for the UPF device to obtain the service connection information of the terminal according to the services transmitted by each communication card is the same.
Illustratively, the terminal includes a card 1 and a card 2, and the UPF device may obtain the service connection information of the terminal as shown in table 2.
TABLE 2
Figure BDA0002553692420000111
Optionally, the packet detection rule may be a packet detection rule matching the specific service, or may be a default packet detection rule (that is, all packets that do not match the packet detection rule of the specific service are matched to the default packet detection rule).
It should be noted that, in practical application, in the process of establishing a PDU session between a terminal and a UPF device, an SMF device issues a data packet detection rule to the UPF device. Multiple QoS flows can be established in each PDU session, each QoS flow corresponds to one service, and the data packet detection rule of the UPF equipment is carried out according to the QoS flow granularity.
And S502, the AMF device sends a second request message to the UPF device.
The second request message is used for requesting to acquire the service connection information.
After the UPF device acquires the service connection information of the terminal, the AMF device sends a second request message to the UPF device to acquire the service connection information.
S503, the AMF device receives the service connection information sent by the UPF device.
And S504, the AMF equipment determines that the first service is the service to be connected between the terminal and the AMF equipment according to the first communication card according to the service connection information.
After receiving the service connection information sent by the UPF device, the AMF device determines, according to the service connection information, that the first service is a service to be connected between the terminal and the AMF device according to the first communication card, because the service connection information is used to indicate a connection state of the service of the terminal.
And S505, the AMF equipment determines that the second service is the service of which the connection between the terminal and the AMF equipment is established according to the second communication card according to the service connection information.
After receiving the service connection information sent by the UPF device, the AMF device determines, according to the service connection information, that the second service is a service for which the terminal has established a connection with the AMF device according to the second communication card, because the service connection information is used to indicate a connection state of the service of the terminal.
It should be noted that the AMF device may perform S504 first, and then perform S505; or executing S505 first and then executing S504; s504 and S505 may also be executed simultaneously, which is not limited in this embodiment of the application.
The flow of determining the service connection policy by the AMF device is described below.
As shown in fig. 6, the "flow of determining the traffic connection policy by the AMF device" includes S601-S605.
S601, the AMF equipment acquires the identifier of the first service and the identifier of the second service.
The first service is a service to be established for the terminal to connect with the AMF device according to the first communication card. And the second service is the service that the terminal establishes connection with the AMF equipment according to the second communication card. The first communication card and the second communication card are any two different communication cards in the terminal.
Optionally, the AMF device may determine the connection state of the first service and the second service according to the service connection information acquired in the "process of acquiring the service connection information by the AMF device".
S602, the AMF equipment determines the priority of the first service according to the identifier of the first service.
Optionally, the AMF device may determine the priority of the first service according to the service priority information acquired in the "process of acquiring the service priority information by the AMF device".
S603, the AMF equipment determines the priority of the second service according to the identifier of the second service.
Optionally, the AMF device may determine the priority of the second service according to the service priority information acquired in the "process in which the AMF device acquires the service priority information".
It should be noted that the AMF device may perform S602 first, and then perform S603; s603 may be executed first, and then S602 is executed; s602 and S603 may also be executed simultaneously, which is not limited in this embodiment of the application.
S604, the AMF equipment judges whether the priority of the first service is higher than that of the second service.
Optionally, the AMF device may determine, according to the service priority information acquired in the "process of acquiring the service priority information by the AMF device", whether the priority of the first service is higher than the priority of the second service. If the priority of the first service is higher than that of the second service, S605 is performed. If the priority of the first service is lower than the priority of the second service, S606 is executed.
S605, the AMF device initiates a connection request of the first service to the terminal.
Illustratively, with reference to table 1 and table 2, if the first service is a voice service of the card 2 to be connected, and the second service is a wechat service of the card 1 with an established connection, as can be seen from table 1, the priority of the voice service is higher than the priority of the wechat service, and therefore, the AMF device initiates a connection request of the first service to the terminal.
And S606, the AMF equipment and the terminal maintain the connection of the second service.
Illustratively, in combination with table 1 and table 2, if the first service is a game service of the card 2 to which a connection is to be established, and the second service is a WeChat service of the card 1 to which a connection is already established, as can be seen from table 1, the priority of the game service is lower than that of the WeChat service, and therefore, the AMF device and the terminal maintain the connection of the second service.
The application provides a service connection method which is applied to a communication system comprising a terminal and an access and mobility management function (AMF) device. Wherein the terminal is in communication connection with the AMF device. The service connection method comprises the following steps: the AMF equipment firstly acquires the identifier of the first service and the identifier of the second service, and then determines the priority of the first service according to the identifier of the first service. Correspondingly, the AMF equipment determines the priority of the second service according to the identifier of the second service. If the priority of the first service is higher than that of the second service, the AMF equipment initiates a connection request of the first service to the terminal. The first service is a service to be connected with the AMF equipment by the terminal according to the first communication card; the second service is a service which is established by the terminal according to the second communication card and the AMF equipment; the first communication card and the second communication card are any two different communication cards in the terminal.
It can be seen that the AMF device may determine the service connection policy according to the priority of the first service and the priority of the second service, and if the priority of the first service is higher than the priority of the second service, the AMF device initiates a connection request of the first service to the terminal. Compared with the prior art, the method and the device can determine whether to interrupt the service which is established by the terminal through the priority of the service, reasonably distribute the connection sequence for the services corresponding to the plurality of communication cards in the multi-card terminal, and improve the user experience.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. 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, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiment of the present application, the service connection apparatus may be divided into the functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. Optionally, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and another division manner may be provided in actual implementation.
Fig. 7 is a schematic structural diagram of a service connection device 70 according to an embodiment of the present disclosure. The service connection apparatus 70 is used to solve the technical problem that the service connection method in the existing dual-card terminal results in a low user experience, for example, to execute the service connection method shown in fig. 4, 5 and 6. The service connection apparatus 70 is applied to an AMF device belonging to a communication system including a terminal and the AMF device; the terminal is in communication connection with the AMF device. The service connection device comprises: an acquisition unit 701, a determination unit 702, and a processing unit 703.
An obtaining unit 701, configured to obtain an identifier of a first service and an identifier of a second service; the first service is a service for the terminal to establish connection with the AMF equipment according to the first communication card; the second service is a service which is established by the terminal according to the second communication card and the AMF equipment; the first communication card and the second communication card are any two different communication cards in the terminal. For example, in conjunction with fig. 6, the obtaining unit 701 is configured to execute S601.
A determining unit 702, configured to determine a priority of the first service according to the identifier of the first service acquired by the acquiring unit 701. For example, in conjunction with fig. 6, the determining unit 702 is configured to perform S602.
The determining unit 702 is further configured to determine the priority of the second service according to the identifier of the second service acquired by the acquiring unit 701. For example, in connection with fig. 6, the determining unit 702 is further configured to execute S603.
The processing unit 703 is configured to initiate a connection request of the first service to the terminal if the priority of the first service determined by the determining unit 702 is higher than the priority of the second service determined by the determining unit 702. For example, in conjunction with fig. 6, the processing unit 703 is configured to execute S605.
Optionally, the processing unit 703 is further configured to maintain the connection of the second service with the terminal if the priority of the first service determined by the determining unit 702 is lower than the priority of the second service determined by the determining unit 702. For example, in conjunction with fig. 6, the processing unit 703 is also configured to execute S606.
Optionally, the communication system further includes: a policy control function PCF device; the PCF device is in communication connection with the AMF device.
The obtaining unit 701 is further configured to obtain a terminal identifier of the terminal. For example, in conjunction with fig. 4, the obtaining unit 701 is further configured to execute S401.
Referring to fig. 8 in conjunction with fig. 7, the AMF apparatus further includes: a transmitting unit 704 and a receiving unit 705.
A sending unit 704, configured to send a first request message to PCF equipment if it is determined that the terminal identifier acquired by the acquiring unit 701 is a multi-card identifier; the multi-card identifier is used for indicating that the terminal supports the simultaneous installation of a plurality of communication cards; the first request message is used for requesting to acquire service priority information; the service priority information comprises a plurality of service identifications and a plurality of priorities; the service identifiers correspond to the priorities one by one; the service priority information includes: the identity and priority of the first service, the identity and priority of the second service. For example, in conjunction with fig. 4, the sending unit 704 is configured to execute S402.
A receiving unit 705, configured to receive service priority information sent by the PCF apparatus. For example, in conjunction with fig. 4, the receiving unit 705 is configured to perform S403.
A determining unit 702, configured to determine the priority of the first service and the priority of the second service according to the service priority information received by the receiving unit 705. For example, in conjunction with fig. 4, the determining unit 702 is further configured to perform S404.
Optionally, the communication system further includes: a user port function UPF device; the UPF device is communicatively coupled to the AMF device.
A sending unit 704, configured to send a second request message to the UPF device; the second request message is used for requesting to acquire the service connection information; the service connection information is used for representing the connection state of the service of the terminal; the connection state includes: a connection to be established and an established connection. For example, in conjunction with fig. 5, the sending unit 704 is further configured to execute S502.
The receiving unit 705 is further configured to receive service connection information sent by the UPF device. For example, in conjunction with fig. 5, the receiving unit 705 is further configured to execute S503.
The determining unit 702 is further configured to determine, according to the service connection information received by the receiving unit 705, that the first service is a service to be connected between the terminal and the AMF device according to the first communication card. For example, in conjunction with fig. 5, the determining unit 702 is further configured to perform S504.
The determining unit 702 is further configured to determine, according to the service connection information received by the receiving unit 705, that the second service is a service for which the terminal has established a connection with the AMF device according to the second communication card. For example, in conjunction with fig. 5, the determining unit 702 is further configured to execute S505.
Embodiments of the present application further provide a computer-readable storage medium, which includes computer-executable instructions. When the computer executes the instructions to run on the computer, the computer is enabled to execute the steps executed by the service connection device in the service connection method provided by the embodiment.
The embodiments of the present application further provide a computer program product, where the computer program product may be directly loaded into a memory and contains a software code, and after the computer program product is loaded into a computer and executed, the computer program product can implement each step executed by a service connection device in the service connection method provided in the foregoing embodiments.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The processes or functions according to the embodiments of the present application are generated in whole or in part when the computer-executable instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). Computer-readable storage media can be any available media that can be accessed by a computer or data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, 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 embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other division ways in actual implementation. For example, various elements or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. 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 invention 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 method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A service connection method is characterized in that the service connection method is applied to a communication system comprising a terminal and an access and mobility management function (AMF) device; the terminal is in communication connection with the AMF equipment; the service connection method comprises the following steps:
the AMF equipment acquires the identifier of the first service and the identifier of the second service; the first service is a service to be connected with the AMF equipment by the terminal according to a first communication card; the second service is a service which is established by the terminal according to a second communication card and the AMF equipment; the first communication card and the second communication card are any two different communication cards in the terminal;
the AMF equipment determines the priority of the first service according to the identifier of the first service;
the AMF equipment determines the priority of the second service according to the identifier of the second service;
if the priority of the first service is higher than that of the second service, the AMF equipment initiates a connection request of the first service to the terminal;
the communication system further comprises: a policy control function, PCF, device; the PCF equipment is in communication connection with the AMF equipment; the service connection method further comprises the following steps:
the AMF equipment acquires a terminal identifier of the terminal;
if the AMF equipment determines that the terminal identification is a multi-card identification, a first request message is sent to the PCF equipment; the multi-card identifier is used for indicating that the terminal supports the simultaneous installation of a plurality of communication cards; the first request message is used for requesting to acquire service priority information; the service priority information comprises a plurality of service identifications and a plurality of priorities; the service identifications correspond to the priorities one by one; the service priority information includes: the identification and priority of the first service, the identification and priority of the second service;
the AMF equipment receives the service priority information sent by the PCF equipment; when the service priority information is the contract between the terminal and the operator, the PCF equipment is determined according to the plurality of service identifiers of the terminal;
the AMF equipment determines the priority of the first service and the priority of the second service according to the service priority information;
the communication system further comprises: a User Port Function (UPF) device; the UPF equipment is in communication connection with the AMF equipment; the service connection method further comprises the following steps:
the AMF equipment sends a second request message to the UPF equipment; the second request message is used for requesting to acquire service connection information; the service connection information is used for representing the connection state of the service of the terminal; the connection state includes: a connection to be established and an established connection;
the AMF equipment receives the service connection information sent by the UPF equipment;
the AMF equipment determines that the first service is a service to be connected between the terminal and the AMF equipment according to the first communication card according to the service connection information;
and the AMF equipment determines that the second service is the service which is established by the terminal according to the second communication card and the AMF equipment according to the service connection information.
2. The service connection method according to claim 1, wherein the service connection method further comprises:
and if the priority of the first service is lower than that of the second service, the AMF equipment and the terminal keep the connection of the second service.
3. A service connection device is characterized in that the service connection device is applied to access and mobility management function (AMF) equipment, and the AMF equipment belongs to a communication system comprising a terminal and the AMF equipment; the terminal is in communication connection with the AMF equipment; the service connection device comprises: the device comprises an acquisition unit, a determination unit and a processing unit;
the acquiring unit is used for acquiring the identifier of the first service and the identifier of the second service; the first service is a service to be connected with the AMF equipment by the terminal according to a first communication card; the second service is a service which is established by the terminal according to a second communication card and the AMF equipment; the first communication card and the second communication card are any two different communication cards in the terminal;
the determining unit is configured to determine the priority of the first service according to the identifier of the first service acquired by the acquiring unit;
the determining unit is further configured to determine the priority of the second service according to the identifier of the second service acquired by the acquiring unit;
the processing unit is configured to initiate a connection request of the first service to the terminal if the priority of the first service determined by the determining unit is higher than the priority of the second service determined by the determining unit;
the communication system further comprises: a policy control function, PCF, device; the PCF equipment is in communication connection with the AMF equipment;
the acquiring unit is further configured to acquire a terminal identifier of the terminal;
the AMF device further includes: a transmitting unit and a receiving unit;
the sending unit is configured to send a first request message to the PCF device if it is determined that the terminal identifier obtained by the obtaining unit is a multi-card identifier; the multi-card identifier is used for indicating that the terminal supports the simultaneous installation of a plurality of communication cards; the first request message is used for requesting to acquire service priority information; the service priority information comprises a plurality of service identifications and a plurality of priorities; the service identifications correspond to the priority levels one by one; the service priority information includes: the identification and priority of the first service, the identification and priority of the second service;
the receiving unit is configured to receive the service priority information sent by the PCF device; when the service priority information is the contract between the terminal and the operator, the PCF equipment is determined according to the plurality of service identifiers of the terminal;
the determining unit is configured to determine the priority of the first service and the priority of the second service according to the service priority information received by the receiving unit;
the communication system further comprises: a User Port Function (UPF) device; the UPF equipment is in communication connection with the AMF equipment;
the sending unit is further configured to send a second request message to the UPF device; the second request message is used for requesting to acquire service connection information; the service connection information is used for representing the connection state of the service of the terminal; the connection state includes: a connection to be established and an established connection;
the receiving unit is further configured to receive the service connection information sent by the UPF device;
the determining unit is further configured to determine, according to the service connection information received by the receiving unit, that the first service is a service to be established by the terminal according to the first communication card and the AMF device;
the determining unit is further configured to determine, according to the service connection information received by the receiving unit, that the second service is a service for which the terminal has established a connection with the AMF device according to the second communication card.
4. Service connection arrangement according to claim 3,
the processing unit is further configured to maintain the connection of the second service with the terminal if the priority of the first service determined by the determining unit is lower than the priority of the second service determined by the determining unit.
5. A service connection device comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus;
the processor executes the computer-executable instructions stored by the memory to cause the service connection apparatus to perform the service connection method of claim 1 or 2 when the service connection apparatus is running.
6. A computer-readable storage medium, comprising computer-executable instructions that, when executed on a computer, cause the computer to perform the service connection method of claim 1 or 2.
CN202010582857.4A 2020-06-23 2020-06-23 Service connection method and device Active CN111757316B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010582857.4A CN111757316B (en) 2020-06-23 2020-06-23 Service connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010582857.4A CN111757316B (en) 2020-06-23 2020-06-23 Service connection method and device

Publications (2)

Publication Number Publication Date
CN111757316A CN111757316A (en) 2020-10-09
CN111757316B true CN111757316B (en) 2022-08-19

Family

ID=72676867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010582857.4A Active CN111757316B (en) 2020-06-23 2020-06-23 Service connection method and device

Country Status (1)

Country Link
CN (1) CN111757316B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143832B (en) * 2021-12-07 2023-09-05 中国联合网络通信集团有限公司 Service processing method, device and storage medium
CN114553937A (en) * 2022-01-12 2022-05-27 北京达佳互联信息技术有限公司 Data acquisition method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109417729A (en) * 2016-07-30 2019-03-01 华为技术有限公司 A kind of service data transmission method and equipment
CN110267327A (en) * 2019-05-08 2019-09-20 中国联合网络通信集团有限公司 Business transmitting method and device
CN110519802A (en) * 2018-05-21 2019-11-29 华为技术有限公司 A kind of data processing method, sending method and device
CN110581809A (en) * 2019-09-27 2019-12-17 腾讯科技(深圳)有限公司 Data processing method, multi-SIM card service function management entity and terminal equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110214459B (en) * 2017-03-01 2021-02-12 华为技术有限公司 Service processing method and device
US10548045B2 (en) * 2018-02-09 2020-01-28 Verizon Patent and Licensing I nc. Systems and methods for tracking and calculating aggregate maximum bit rate across multiple sessions

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109417729A (en) * 2016-07-30 2019-03-01 华为技术有限公司 A kind of service data transmission method and equipment
CN110519802A (en) * 2018-05-21 2019-11-29 华为技术有限公司 A kind of data processing method, sending method and device
CN110267327A (en) * 2019-05-08 2019-09-20 中国联合网络通信集团有限公司 Business transmitting method and device
CN110581809A (en) * 2019-09-27 2019-12-17 腾讯科技(深圳)有限公司 Data processing method, multi-SIM card service function management entity and terminal equipment

Also Published As

Publication number Publication date
CN111757316A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN107770815B (en) MEC method and equipment based on position
US11032858B2 (en) Network access method, terminal, access network, and core network
CN111757315B (en) Service connection method and device
EP2875668B1 (en) Technique for load balancing between cellular network subscriptions in a router having both short range and cellular communication interfaces
US9473877B2 (en) Uplink/downlink transmission method for small amount of data, and corresponding terminal and mobility management unit
KR102305866B1 (en) Measuring interval configuration method, apparatus, apparatus, terminal and system
WO2022152238A1 (en) Communication method and communication apparatus
CN112399523B (en) URSP checking method and device
CN113938845A (en) Context management method and device
CN111884836B (en) Service transmission method and device
CN111757316B (en) Service connection method and device
CN109429366B (en) PDU session processing method and device
WO2020034697A1 (en) Communication method and device
US8938232B2 (en) Method and system for allowing a user of a mobile terminal to beneficiate services of a foreign mobile network as a regular subscriber thereof
EP3567927A1 (en) Access method, and terminal
CN115669185A (en) Data transmission method, device and storage medium
JP2021508418A (en) How to connect network components, communication terminals, communication terminals and how to use communication networks
CN114401507A (en) Data transmission method, device and storage medium
EP2595444B1 (en) Method and system for allowing a user of a mobile terminal to benefit from services of a foreign mobile network as a regular subscriber thereof
CN114080000A (en) Network slice determining method and device, core network equipment and terminal
CN112399633B (en) Unicast bearer establishment method, unicast bearer establishment device and storage medium
CN114125038B (en) Service scheduling method, device and storage medium
CN111586757B (en) PDU session establishment method and device
CN113473564B (en) Network slice switching method, PDU session establishing method and device
EP4156795A1 (en) Network slice rejection at tai and amf level

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