[go: up one dir, main page]

WO2020259290A1 - Method and apparatus for managing user group - Google Patents

Method and apparatus for managing user group Download PDF

Info

Publication number
WO2020259290A1
WO2020259290A1 PCT/CN2020/095434 CN2020095434W WO2020259290A1 WO 2020259290 A1 WO2020259290 A1 WO 2020259290A1 CN 2020095434 W CN2020095434 W CN 2020095434W WO 2020259290 A1 WO2020259290 A1 WO 2020259290A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
user group
matching
identifier
group
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.)
Ceased
Application number
PCT/CN2020/095434
Other languages
French (fr)
Chinese (zh)
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
Publication of WO2020259290A1 publication Critical patent/WO2020259290A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Definitions

  • This application relates to the field of communications, and in particular to a method and device for managing user groups.
  • the network elements in the mobile communication network need to provide differentiated functions to meet the different needs of hundreds of operators around the world. For example: the subscribed bandwidth of flood-in users is changed to 5Mbps; enterprise users choose a specific gateway; public safety service personnel paging in the registered area, and the paging is retransmitted 3 times; ordinary personnel first paging through the nearest base station and paging If the call is unsuccessful, paging in the registered area twice, etc. It should be noted that the network element realizes the above-mentioned differentiation by configuring different function control parameters.
  • the network element distinguishes different users through user identification parameters.
  • different functions have different function control parameters and corresponding user identification parameters.
  • the network element needs to look up the table to match the user identification parameters and obtain the corresponding function control. parameter.
  • operators need to add user identification parameters for a certain function, technicians need to develop a new set of complete solutions.
  • function A supports user identification parameters based on the international mobile subscriber identification number (IMSI) prefix.
  • IMSI international mobile subscriber identification number
  • function B supports MSISDN prefix as User identification parameters.
  • technicians need to develop function B to support IMSI prefixes, so that the network element supports the matching of new user identification parameters and corresponds to the new user identification parameters
  • the function B controls the acquisition of parameters, which increases the development cost and also affects the commercial time for operators' customized requirements.
  • the present application provides a method and device for managing user groups. By decoupling the relationship between user identification parameters and function control parameters, the development cost of specific functions and the commercial time required by operators for customization are reduced.
  • a method for managing a user group including: obtaining a first user ID of a user; matching a first user group to which the user belongs according to the first user ID, and obtaining a corresponding first user group The first user group identifier; when the user's business process is executed, the first configuration parameter is determined according to the first user group identifier; the business process action is controlled according to the first configuration parameter.
  • the user group and the configuration parameter establish an association relationship through the user group identifier. Since the user group and the configuration parameters are independent information, the modification of the user group will not affect the use of the configuration parameters. For example, when the network element newly supports a user group whose identification type is the MSISDN prefix, the first configuration parameter can be used when the network element executes the service process of the user in the user group corresponding to the MSISDN prefix without changing.
  • the network element using the above method only needs to be developed once when the user identification changes, and can be applied
  • the configuration parameters for all functions can reduce development costs and improve development efficiency.
  • the user group and configuration parameters in the above method are mutually independent information, the user group and configuration parameters can be flexibly combined, and a user group can be associated with multiple configuration parameters to provide a user with different service requirements, thus being able to respond flexibly Different network scenarios are especially suitable for network slicing in 5G communication systems.
  • the method further includes: creating the first user group A user group, the first user group includes the first user group identifier and a first matching rule, the first matching rule is used to match the first user identifier and the first user group; The first configuration parameter associated with the first user group.
  • the adding the first configuration parameter associated with the first user group includes: associating the first configuration parameter with the first user group through the first user group identifier.
  • the above solution can be interpreted as: the network element stores the association relationship between the first user group identifier and the first configuration parameter, and the network element stores the association relationship between the first user group identifier and the first user group.
  • the first matching rule includes a first matching record and an identification type.
  • the matching the first user group to which the user belongs according to the first user ID to obtain the first user group ID corresponding to the first user group includes: according to the ID type in a plurality of matching rules , Determining at least one matching rule that is the same as the identification type of the first user identification from the plurality of matching rules, the at least one matching rule includes at least one matching record; according to the first user identification, from the A first matching record that matches the first user ID is determined in at least one matching record; the first user group ID is obtained according to the first user group corresponding to the first matching record.
  • the first matching rule further includes a priority parameter
  • the priority parameter is used to indicate the priority of the first matching record in the first matching rule
  • the method further includes: acquiring the user The second user identification; according to the identification types in the multiple matching rules, determine from the multiple matching rules at least one matching rule that is the same as the identification type of the second user identification, the at least one matching rule Including at least one matching record; according to the second user identifier, from at least one matching record included in at least one matching rule that is the same as the identifier type of the second user identifier, the second user identifier that matches the second user identifier is determined Match records;
  • the obtaining the first user group identifier according to the first user group corresponding to the first matching record includes: when the priority corresponding to the first matching record is higher than the priority corresponding to the second matching record At the time of level, the first user group identifier is obtained according to the first user group corresponding to the first matching record.
  • the network element determines the first user ID. After the two matching records, one matching record needs to be selected from the two matching records to avoid possible errors when performing subsequent steps (for example, the control actions corresponding to the two user groups are contradictory).
  • the configuration parameter associated with the first user group includes a priority parameter
  • the priority parameter is used to indicate the priority of the configuration parameter associated with the first user group
  • the method further includes: obtaining all The second user identifier of the user; according to the identifier types in the multiple matching rules, at least one matching rule that is the same as the identifier type of the second user identifier is determined from the multiple matching rules, and the at least one The matching rule includes at least one matching record; according to the second user identifier, it is determined from at least one matching record included in at least one matching rule that is the same as the identifier type of the second user identifier that matches the second user identifier A second matching record; obtaining a second user group identifier according to the second user group corresponding to the second matching record; determining a second configuration parameter according to the second user group identifier when executing the business process of the user;
  • the controlling the service flow action according to the first configuration parameter includes: when the first priority of the first configuration parameter is higher than the second priority of the second configuration parameter, according to the first configuration parameter Control business process actions.
  • the method further includes: receiving the first user group; and receiving the first configuration parameter associated with the first user group.
  • the first user group is a default user group, wherein the default user group can match any user, and users matched to the first user group cannot be matched to those outside the first user group Other user groups.
  • the function control parameters of other users can be the same, so that the network element can match the user ID of other users to the default user group. Ensure that other users' functions are normal.
  • the default user group can reduce the number of user group records on the network element and reduce configuration complexity.
  • the device may be a network element or a chip.
  • the device may include a processing unit and a communication unit.
  • the processing unit may be a processor, and the communication unit may be a transceiver;
  • the network element may also include a storage unit, and the storage unit may be a memory;
  • the storage unit is used to store instructions, and the processing unit executes the The instructions stored in the storage unit enable the network element to execute the method described in the first aspect.
  • the processing unit may be a processor, and the communication unit may be an input/output interface, a pin or a circuit, etc.; the processing unit executes the instructions stored in the storage unit so that the chip executes the first aspect
  • the storage unit may be a storage unit (for example, a register, a cache, etc.) in the chip, or a storage unit (for example, a read-only memory, a random access memory, etc.) located outside the chip.
  • the present application provides a computer-readable storage medium in which a computer program is stored.
  • the processor executes the method described in the first aspect.
  • the present application provides a computer program product, the computer program product comprising: computer program code, when the computer program code is executed by a processor, the processor executes the method described in the first aspect.
  • Figure 1 is a schematic diagram of a communication system suitable for the present application
  • Figure 2 is a schematic diagram of a method for managing user groups provided by the present application.
  • Figure 3 is a schematic diagram of another method for managing user groups provided by the present application.
  • Fig. 4 is a schematic diagram of a device for managing user groups provided by the present application.
  • FIG. 1 is a schematic diagram of a communication system suitable for this application.
  • the communication system 100 includes a network element 110 and a terminal device 120.
  • the terminal device 120 can communicate with the network device 110.
  • the terminal device 120 may communicate with the network element 110 through radio waves, and may also communicate with the network element 110 through optical fibers or cables.
  • the terminal device 120 may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, for example, the third-generation partnership project (3 rd Generation partnership project, 3GPP) defined user equipment (user equipment, UE), mobile station (mobile station, MS), soft terminal, home gateway, set-top box, etc.
  • 3GPP Third-generation partnership project
  • Network element 110 may conform to specifications 3GPP access network device or the core network device, e.g., the fifth generation (5 th generation, 5G) communication system, a base station (GNB) or access and mobility management function (access and mobility management function, AMF).
  • the network element 110 may also be a non-3GPP (non-3GPP) network device, such as an access gateway (AGF).
  • the network element 110 may also be a relay station, an access point, a vehicle-mounted device, a wearable device, and other types of devices.
  • the communication system 100 is only an example, and the communication system applicable to the present application is not limited to this.
  • the network element 110 needs to develop a new type of user identity that supports the above-mentioned functions, which increases the development cost and also affects the commercial time of the operator's customization requirements.
  • the user group-based management method provided by this application will be introduced.
  • the network elements and terminal devices below are no longer accompanied by reference signs.
  • Figure 2 shows a method of managing user groups of the present application.
  • the method 100 may be executed by a network element, and the method includes:
  • S110 Acquire a first user identifier of the user.
  • the first user identification is information identifying the user, and the network element may identify the user based on the first user identification.
  • This application does not limit the specific content of the first user identification.
  • the identification type of the first user identification includes at least one of the following types:
  • IMSI international mobile subscriber identification number
  • SUPI subscription permanent identity
  • Mobile International Subscriber ID mobile subscriber international ISDN number, MSISDN
  • General public user identification (generic public subscription identifier, GPSI);
  • Type allocation code of international mobile equipment identity (international mobile equipment identity type allocation code, IMEI TAC);
  • Subscription group ID (subscribe group ID);
  • UE usage type User usage type
  • Data network name (data network name, DNN);
  • Access point name access point name, APN
  • Network slice selection assistance information (network slice selection assistance information, NSSAI);
  • Tracking area identity (tracking area identity, TAI);
  • Routing area identity (RAI).
  • the network element may obtain the first user identification from a signaling message related to the user, or may obtain the first user identification from other messages.
  • the network element After the network element obtains the first user ID, it can perform the following steps to determine the user group to which the user belongs.
  • S120 Match the first user group to which the user belongs according to the first user ID, and obtain the first user group ID corresponding to the first user group.
  • the user group includes but is not limited to the user group identifier, the user group name and matching rules, and the matching rule includes but is not limited to the identifier type and matching records.
  • One user group can contain one or more matching rules.
  • the identification type in the matching rule includes at least one of the following types:
  • MSISDN prefix or MSISDN number segment
  • GPSI prefix or GPSI number segment
  • Subscription group identification prefix or subscription group identification number segment or subscription group identification list
  • TAI prefix or TAI number segment or TAI list
  • RAI prefix or RAI number segment or RAI list
  • the network element may determine at least one matching record from the multiple matching rules according to the identification type in the multiple matching rules, where the type of the matching rule to which the at least one matching record belongs is the same as the identification of the first user ID The same type; then match the first user ID with the at least one matching record, and determine the first matching record that matches the first user ID; then, according to the first matching record corresponding to the The first user group obtains the first user group identifier.
  • IMSI corresponds to IMSI prefix or IMSI number segment
  • SUPI corresponds to SUPI prefix or SUPI number segment
  • MSISDN corresponds to MSISDN prefix or MSISDN number segment
  • GPSI corresponds to GPSI prefix or GPSI number segment
  • IMEI TAC corresponds to IMEI TAC
  • the contracted group ID corresponds to the contracted group ID prefix or the contracted group ID number segment or the contracted group ID list
  • User usage type corresponds to user usage type prefix or user usage type number segment or user usage type list
  • DNN corresponds to DNN prefix or DNN list
  • APN corresponds to the APN prefix or APN list
  • TAI corresponds to the TAI prefix or TAI number segment or TAI list
  • RAI corresponds to RAI prefix or RAI number segment or RAI list.
  • Table 1 shows one form of user groups, and this application does not limit the specific forms of all user groups including the first user group.
  • the identification type and matching record in a record can be referred to as a matching rule, for example, "IMSI prefix” and "1234567" are the first matching rule.
  • the number "1" in the first column is the first user group ID.
  • the user group name can be filled with different names according to the requirements of the operator, for example, very important person (VIP) customers or ordinary customers; optionally, the user group name can also be empty.
  • VIP very important person
  • each user group can also contain more information.
  • the identity type of the first user identity acquired by the network element is IMSI
  • the content of the first user identity is 12345674007788.
  • the network element selects at least one matching record whose identification type is the IMSI prefix from the three user groups in Table 1, that is, matching record 1234567; subsequently, the network element matches the first user identification with at least one matching record, and determines the matching record 1234567 Is the first matching record matching the first user ID; subsequently, the first user group ID is obtained according to the first user group corresponding to the first matching record, that is, the record of the first matching record 1234567 is determined User group ID 1 is the first user group ID
  • Each user group in Table 1 may be configured by the technician in the network element, that is, the network element may receive and store the user group input by the technician.
  • the user group can be a file, part of the records in the file, or a table, etc., configured on the network element.
  • the first user group is a default user group, where the default user group can match any user identifier.
  • the network element may match the first user identifier to the first user group to obtain the first user group identifier.
  • the function control parameters of other users can be the same, so that the network element can match the user ID of other users to the default user group. Ensure that other users' functions are normal.
  • the default user group can reduce the number of user group records on the network element and reduce configuration complexity.
  • the above-mentioned solution is a scenario where the network element obtains a user identity (ie, the first user identity).
  • the same user can have multiple user identities at the same time, such as mobile phone number, IMSI and IMEI at the same time.
  • the network element may obtain multiple user identities of the same user at the same time (or within a short period of time). The processing method after the network element obtains multiple user identities will be described below.
  • the method 100 further includes:
  • the at least one matching rule includes at least one matching record
  • the second matching record is determined from at least one matching record included in at least one matching rule of the same type as the second user identification.
  • first and second only refer to two different individuals of the same type of object, and there are no other limitations other than that.
  • the second user ID and the first user ID represent two different user IDs, and there are no other restrictions.
  • the method for the network element to determine the second matching record matching the second user ID according to the second user ID is the same as the method for determining the first matching record matching the first user ID according to the first user ID. Repeat it again.
  • the network element determines the first user ID. After the two matching records, one matching record needs to be selected from the two matching records to avoid possible errors when performing subsequent steps (for example, the control actions corresponding to the two user groups are contradictory). Alternatively, the network element may not make a selection at this time, and make a selection when the subsequent steps are executed. The solution will be described in detail below.
  • the network element needs to make a selection after determining the second matching record, the network element can select the target user group from the user groups corresponding to the multiple matching records according to the priority of the multiple matching records. For this reason, the matching rule also Contains a priority parameter, which is used to indicate the priority of the matching record in the matching rule.
  • the user group corresponding to the first matching record is determined as the target user group, and the first user group corresponding to the first matching record is obtained The first user group ID.
  • the first user group identifier may be stored in the user context. Subsequently, the following steps can be performed.
  • the network element determines the configuration parameters selected by the gateway according to the user's first user group identifier, such as selecting a designated gateway.
  • the user's encryption strategy is determined according to the user's first user ID.
  • the size of the quality of service parameter QoS is determined according to the first user identification of the user.
  • S140 Control the business process action according to the first configuration parameter.
  • the network element executes the user's business process, it needs to determine the action corresponding to the business process according to the configuration parameters, so as to control the business process action.
  • the first configuration parameter can be determined according to the first user group identifier.
  • Table 2 shows an example of configuration parameters.
  • the encryption algorithm, the integrity protection algorithm, and the bandwidth are all configuration parameters, and the configuration parameters applicable to this application may also include other parameters.
  • This application does not limit the number and specific content of configuration parameters.
  • it may be received by the network element through the communication interface, for example, the configuration parameter may be input by a technician.
  • the configuration parameter can be a file, or part of the records in the file, or a table, etc., to be configured on the network element.
  • the network element When executing the user's business process, the network element can read the first user group identifier "1" from the user context, and determine from Table 2 that the first configuration parameter is EEA1 encryption algorithm, EIA1 integrity according to the first user group identifier Protection algorithm and 1Gbps bandwidth. Subsequently, based on the EEA1 encryption algorithm, EIA1 integrity protection algorithm and 1Gbps bandwidth control user business process actions.
  • the method 100 further includes:
  • the second configuration parameter is determined according to the second user group identifier.
  • S140 includes:
  • the configuration parameters also include a priority parameter, which is used to indicate the priority of the configuration parameter.
  • the second configuration parameter is, for example, the configuration parameter corresponding to the user group identifier "2" in Table 2.
  • the network element may determine the priority of each configuration parameter according to the priority parameters in Table 2 (not shown in Table 2).
  • the action of the network element to control the service flow may be to generate egress signaling, and send the egress signaling to other devices or modules, so as to implement specific functions of the user.
  • the network element may also not generate egress signaling and execute the business process locally.
  • Fig. 3 shows a possible flow of the network element provided in this application when executing the method 100.
  • the operation and maintenance management station can pre-configure the user group management database including Table 1 and the function management database including Table 2 for the network elements.
  • the network element executes S110 and obtains ingress signaling through the user signaling processing unit.
  • the ingress signaling includes the first user identifier of the user, and the user signaling processing unit may send the first user identifier to the function execution unit.
  • the network element executes S120 through the function execution unit, performs matching processing on the user group management database, determines the first user group corresponding to the first user identifier, and obtains the first user group identifier. Subsequently, the network element executes S130 through the function execution unit, and searches the function management database for the first configuration parameter corresponding to the first user group identifier.
  • the network element executes S140, and the function execution unit may send the first configuration parameter to the user signaling processing unit, or the function execution unit may generate a corresponding configuration command according to the first configuration parameter and send it to the user information.
  • the processing unit so that the user signaling processing unit generates egress signaling according to the first configuration parameter or configuration command.
  • the first configuration parameter can be used when the network element executes the service process of the user in the user group corresponding to the MSISDN prefix without changing.
  • the network element of the application method 100 only needs to be developed once when the user identification changes, and then it can be applied. For all configuration parameters, it can reduce development costs and improve development efficiency.
  • the user group and configuration parameters in the method 100 are mutually independent information, the user group and configuration parameters can be flexibly combined, and a user group can be associated with multiple configuration parameters to provide a user with different service requirements, thus being able to respond flexibly Different network scenarios are especially suitable for network slicing in 5G communication systems.
  • Network slicing in a 5G communication system is essentially that operators provide multiple virtual networks, and each virtual network provides different service requirements, such as delay, bandwidth, security, and reliability, to flexibly respond to different network applications Scenes.
  • service requirements such as delay, bandwidth, security, and reliability
  • APN network identifier (Network Identifier, NI) is a user of 5gnet, and the session bandwidth is 2Gbps.
  • Step 1.1 the network element creates a user group and defines the matching rules of the user group.
  • the user group is identified by the user group identifier, and the matching rule includes the identification type and the matching record.
  • the network element stores the user group and its corresponding matching rule in the user group management database.
  • the network element creates user group A, user group B, and user group C, which are identified by user group identifiers 1, 2 and 3.
  • Matching rules corresponding to user group A user group type: IMSI prefix, user group record: 12345.
  • Matching rules corresponding to user group B user group type: IMEITAC, user group record: 12345678.
  • Matching rules corresponding to user group C user group type: APNNI, user group record: 5gnet.
  • Step 1.2 The network element adds configuration parameters associated with the user group.
  • the network element stores the configuration parameters of the user group in the function management database.
  • the configuration parameters are used to provide feature differentiation capabilities.
  • the operation and maintenance management station can pre-configure the user group list and configuration parameters associated with the user group to the network element.
  • the network element performs step 1.1 and step 1.2 according to the user group list and the configuration parameters associated with the user group.
  • the user group rule list contains one or more user group rules, including but not limited to user group identification, user group name, identification type, and matching records.
  • the user group list is shown in Table 4, and the configuration parameters associated with the user group are shown in Table 5.
  • the user group list or the configuration parameters associated with the user group can be a file, part of the records in the file, or a table, etc., configured to the network element.
  • Step 1.3 the network element matches the user group to which the user belongs, and stores the matched user group identifier in the user context.
  • the network element obtains the user ID of the user, and matches the user ID with matching records of the same ID type according to the type of the user ID. If the matching is successful, the user group ID of the corresponding user group is obtained; if the matching fails, the default user is obtained The user group ID of the group.
  • the network element selects at least one matching record whose user group type is IMSI prefix from Table 4 to match the IMSI, and IMSI 12345674007788 can match the IMSI prefix 12345 Therefore, it is determined that the user group ID corresponding to the above-mentioned user ID is "1".
  • the default user group can be a record that can match any user ID.
  • the user ID cannot match any user group except the default user group, the user ID is considered to belong to the default user group.
  • Step 1.4 When executing the business process of a specific user, the function execution unit of the network element obtains the configuration parameters associated with the user group according to the user group identifier of the user group to which the user belongs, and controls the business process actions according to the configuration parameters.
  • the network element needs to select the user’s SMF, determine the configuration parameters associated with the user group according to the user group identifier "1" of the user group to which the user belongs, and select the Internet
  • the protocol (Internet protocol, IP) address is SMF with 10.10.10.10.
  • the configuration parameters associated with the matching rules or user groups also include priority, correspondingly:
  • the network element selects the user group ID corresponding to the matching record with the highest priority according to the priority corresponding to the multiple matching records on the matching, and controls the business process action according to its associated configuration parameter value;
  • the network element obtains configuration parameters associated with multiple user groups according to the user group identifiers corresponding to different matching records on the matching, and controls the business process actions according to the priority in the configuration parameters and the configuration parameter value with the highest priority.
  • the apparatus for managing user groups includes hardware structures and/or software modules corresponding to various functions.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • This application may divide the device for managing user groups into functional units according to the foregoing method examples.
  • each function may be divided into each functional unit, or two or more functions may be integrated into one processing unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in this application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • Fig. 4 shows a schematic structural diagram of an apparatus for managing user groups provided by this application.
  • the apparatus 400 for managing user groups can be used to implement the methods described in the foregoing method embodiments.
  • the apparatus 400 for managing user groups may be a chip or a network device.
  • the device 400 includes one or more processors 401, and the one or more processors 401 can support the device 400 for managing user groups to implement the method in the method embodiment corresponding to FIG. 2.
  • the processor 401 may be a general-purpose processor or a special-purpose processor.
  • the processor 401 may be a central processing unit (CPU).
  • the CPU can be used to control the device 400 (for example, a network device), execute a software program, and process data of the software program.
  • the device 400 may further include a communication unit 405 to implement signal input (reception) and output (transmission).
  • the apparatus 400 may be a chip, and the communication unit 405 may be an input and/or output circuit of the chip, or the communication unit 405 may be a communication interface of the chip, and the chip may be used as a terminal device or a network device or other wireless communication equipment made of.
  • the device 400 may include one or more memories 402, on which a program 404 is stored, and the program 404 can be run by the processor 401 to generate an instruction 403 so that the processor 401 executes the method described in the foregoing method embodiment according to the instruction 403.
  • the memory 402 may also store data.
  • the processor 401 may also read data stored in the memory 402 (for example, the content in the table described above). The data may be stored at the same storage address as the program 404, and the data may also be stored in the same storage address as the program 404. 404 is stored in a different storage address.
  • the processor 401 and the memory 402 may be provided separately or integrated together, for example, integrated on a single board or a system on chip (SOC).
  • SOC system on chip
  • the device 400 may also include an antenna 406.
  • the communication unit 405 is used to implement the transceiver function of the device 400 through the antenna 406.
  • the processor 401 is configured to obtain the first user identification of the user through the communication unit 405;
  • the processor 401 is further configured to: match a first user group to which the user belongs according to the first user ID, and obtain a first user group ID corresponding to the first user group;
  • the processor 401 is further configured to:
  • the first user group includes the first user group identifier and a first matching rule, and the first matching rule is used to match the first user identifier and the first user group ;
  • the processor 401 is specifically configured to:
  • the processor 401 is specifically configured to:
  • the at least one matching rule includes at least one matching record
  • the first matching rule further includes a priority parameter, where the priority parameter is used to indicate the priority of the first matching record in the first matching rule, and the processor 401 is further configured to:
  • the at least one matching rule includes at least one matching record
  • the processor 401 is specifically configured to:
  • the configuration parameter associated with the first user group includes a priority parameter
  • the priority parameter is used to indicate the priority of the configuration parameter associated with the first user group
  • the processor 401 is further configured to :
  • the at least one matching rule includes at least one matching record
  • the processor 401 is specifically configured to:
  • the communication unit 405 is further configured to:
  • the processor 401 may be a CPU, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices , For example, discrete gates, transistor logic devices, or discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • This application also provides a computer program product, which, when executed by the processor 401, implements the communication method described in any method embodiment in this application.
  • the computer program product may be stored in the memory 402, for example, a program 404, and the program 404 is finally converted into an executable object file that can be executed by the processor 401 through processing processes such as preprocessing, compilation, assembly, and linking.
  • This application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the communication method described in any method embodiment in this application is implemented.
  • the computer program can be a high-level language program or an executable target program.
  • the computer-readable storage medium is, for example, the memory 402.
  • the memory 402 may be a volatile memory or a non-volatile memory, or the memory 402 may include both a volatile memory and a non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electronic Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • static random access memory static random access memory
  • dynamic RAM dynamic random access memory
  • synchronous dynamic random access memory synchronous DRAM, SDRAM
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory serial DRAM, SLDRAM
  • direct rambus RAM direct rambus RAM, DR RAM
  • the disclosed system, device, and method may be implemented in other ways. For example, some features of the method embodiments described above may be ignored or not implemented.
  • the device embodiments described above are merely illustrative.
  • the division of units is only a logical function division. In actual implementation, there may be other division methods, and multiple units or components may be combined or integrated into another system.
  • the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the foregoing coupling includes electrical, mechanical, or other forms of connection.
  • the size of the sequence number of each process does not mean the order of execution.
  • the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • system and “network” in this article are often used interchangeably in this article.
  • the term “and/or” in this article is only an association relationship describing associated objects, which means that there can be three types of relationships. For example, A and/or B can mean that there is A alone, and both A and B exist. There are three cases of B.
  • the character “/” in this text generally indicates that the associated objects before and after are in an "or” relationship.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are a method and apparatus for managing a user group. A user group and a user group identifier have an association relationship, and the user group identifier and a configuration parameter (i.e., a function control parameter) have an association relationship; therefore, an association relationship is established between the user group and the configuration parameter by means of the user group identifier. Since the user group and the configuration parameter are mutually independent pieces of information, the modification of the user group does not affect the use of the configuration parameter. For example, when a user group, the identifier type of which is an MSISDN prefix, is added and supported by a network element, the configuration parameter can be used, without being modified, when the network element executes a service process for a user in the user group corresponding to the MSISDN prefix. Therefore, the method and the apparatus can reduce development costs and improve development efficiency, and are particularly applicable to a network slice in a 5G communication system.

Description

管理用户组的方法和装置Method and device for managing user groups

本申请要求于2019年06月28日提交中国专利局、申请号为201910571710.2、申请名称为“管理用户组的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on June 28, 2019, with application number 201910571710.2, and the application title is "Method and Apparatus for Managing User Groups", the entire content of which is incorporated into this application by reference .

技术领域Technical field

本申请涉及通信领域,尤其涉及一种管理用户组的方法和装置。This application relates to the field of communications, and in particular to a method and device for managing user groups.

背景技术Background technique

移动通信网络中的网元需要提供差异化功能来满足全球数百家运营商的不同需求。例如:漫入用户的签约带宽改为5Mbps;企业用户选择特定的网关;公共安全服务人员在注册区域内寻呼,寻呼重发3次;一般人员先通过最近的基站寻呼1次,寻呼不成功时在注册区域内寻呼2次等。需要说明的是,网元通过配置不同的功能控制参数来实现上述的差异化。The network elements in the mobile communication network need to provide differentiated functions to meet the different needs of hundreds of operators around the world. For example: the subscribed bandwidth of flood-in users is changed to 5Mbps; enterprise users choose a specific gateway; public safety service personnel paging in the registered area, and the paging is retransmitted 3 times; ordinary personnel first paging through the nearest base station and paging If the call is unsuccessful, paging in the registered area twice, etc. It should be noted that the network element realizes the above-mentioned differentiation by configuring different function control parameters.

网元通过用户识别参数对不同的用户加以区分。现有技术中,不同的功能有不同的功能控制参数和与其对应的用户识别参数,在执行一个功能的流程到达控制点时,网元需要查表进行用户识别参数匹配,并获得相应的功能控制参数。当运营商对某功能需要新增用户识别参数时,技术人员需要新开发一套完整的方案。例如,功能A支持基于国际移动用户识别码(international mobile subscriber identification number,IMSI)前缀的用户识别参数,当需要新增基于移动台国际用户识别码(mobile subscriber international ISDN number,MSISDN)前缀作为用户识别参数,技术人员需要开发支持MSISDN前缀的功能A,以便于网元支持新增用户识别参数的匹配和该新增用户识别参数对应的功能控制参数的获取;又例如,功能B支持基于MSISDN前缀作为用户识别参数,当需要新增基于IMSI前缀的用户识别参数时,技术人员又需要开发功能B支持IMSI前缀的功能,以便于网元支持新增用户识别参数的匹配和该新增用户识别参数对应的功能B控制参数的获取,从而增加了开发成本,也影响运营商定制需求的商用时间。The network element distinguishes different users through user identification parameters. In the prior art, different functions have different function control parameters and corresponding user identification parameters. When the process of executing a function reaches the control point, the network element needs to look up the table to match the user identification parameters and obtain the corresponding function control. parameter. When operators need to add user identification parameters for a certain function, technicians need to develop a new set of complete solutions. For example, function A supports user identification parameters based on the international mobile subscriber identification number (IMSI) prefix. When it is necessary to add a mobile subscriber international subscriber identification number (mobile subscriber international ISDN number, MSISDN) prefix as the user identification Technical personnel need to develop function A that supports the MSISDN prefix, so that the network element supports the matching of new user identification parameters and the acquisition of function control parameters corresponding to the new user identification parameters; for example, function B supports MSISDN prefix as User identification parameters. When it is necessary to add user identification parameters based on IMSI prefixes, technicians need to develop function B to support IMSI prefixes, so that the network element supports the matching of new user identification parameters and corresponds to the new user identification parameters The function B controls the acquisition of parameters, which increases the development cost and also affects the commercial time for operators' customized requirements.

发明内容Summary of the invention

本申请提供了一种管理用户组的方法和装置,通过解耦用户识别参数与功能控制参数之间的关联关系,降低了特定功能的开发成本和运营商定制需求的商用时间。The present application provides a method and device for managing user groups. By decoupling the relationship between user identification parameters and function control parameters, the development cost of specific functions and the commercial time required by operators for customization are reduced.

第一方面,提供了一种管理用户组的方法,包括:获取用户的第一用户标识;根据所述第一用户标识匹配所述用户所属的第一用户组,获得所述第一用户组对应的第一用户组标识;在执行所述用户的业务流程时,根据所述第一用户组标识确定第一配置参数;根据所述第一配置参数控制业务流程动作。In a first aspect, a method for managing a user group is provided, including: obtaining a first user ID of a user; matching a first user group to which the user belongs according to the first user ID, and obtaining a corresponding first user group The first user group identifier; when the user's business process is executed, the first configuration parameter is determined according to the first user group identifier; the business process action is controlled according to the first configuration parameter.

用户组与用户组标识之间存在关联关系,用户组标识与配置参数(即,功能控制参数) 之间存在关联关系,因此,用户组与配置参数之间通过用户组标识建立了关联关系。由于用户组与配置参数为相互独立的信息,因此,对用户组的修改不会影响配置参数的使用。例如,网元新增支持标识类型为MSISDN前缀的用户组时,第一配置参数无需更改即可在网元执行该MSISDN前缀对应的用户组中用户的业务流程时被使用。There is an association relationship between the user group and the user group identifier, and there is an association relationship between the user group identifier and the configuration parameter (ie, function control parameter). Therefore, the user group and the configuration parameter establish an association relationship through the user group identifier. Since the user group and the configuration parameters are independent information, the modification of the user group will not affect the use of the configuration parameters. For example, when the network element newly supports a user group whose identification type is the MSISDN prefix, the first configuration parameter can be used when the network element executes the service process of the user in the user group corresponding to the MSISDN prefix without changing.

由此可见,相比于现有技术中各个功能中的用户识别参数改变均需重新开发一套完整的软件的方案,应用上述方法的网元在用户标识改变时仅需一次开发,就可以应用于所有功能的配置参数能够减小开发成本,提高开发效率。此外,由于上述方法中的用户组与配置参数为相互独立的信息,用户组与配置参数可以灵活组合,一个用户组可以关联多个配置参数,为一个用户提供不同的服务需求,从而能够灵活应对不同的网络场景,尤其适用于5G通信系统中的网络切片。It can be seen that, compared with the existing technology in which the user identification parameter changes in each function require a new development of a complete set of software solutions, the network element using the above method only needs to be developed once when the user identification changes, and can be applied The configuration parameters for all functions can reduce development costs and improve development efficiency. In addition, since the user group and configuration parameters in the above method are mutually independent information, the user group and configuration parameters can be flexibly combined, and a user group can be associated with multiple configuration parameters to provide a user with different service requirements, thus being able to respond flexibly Different network scenarios are especially suitable for network slicing in 5G communication systems.

可选地,所述根据所述第一用户标识匹配所述用户所属的第一用户组,获得所述第一用户组对应的第一用户组标识之前,所述方法还包括:创建所述第一用户组,所述第一用户组包含所述第一用户组标识和第一匹配规则,所述第一匹配规则用于匹配所述第一用户标识和所述第一用户组;增加与所述第一用户组关联的所述第一配置参数。Optionally, before the matching the first user group to which the user belongs according to the first user ID, and obtaining the first user group ID corresponding to the first user group, the method further includes: creating the first user group A user group, the first user group includes the first user group identifier and a first matching rule, the first matching rule is used to match the first user identifier and the first user group; The first configuration parameter associated with the first user group.

可选地,所述增加与所述第一用户组关联的所述第一配置参数,包括:通过所述第一用户组标识将所述第一配置参数与所述第一用户组关联。Optionally, the adding the first configuration parameter associated with the first user group includes: associating the first configuration parameter with the first user group through the first user group identifier.

上述方案可以被解释为:网元保存第一用户组标识与第一配置参数之间的关联关系,以及,网元保存第一用户组标识与第一用户组之间的关联关系。The above solution can be interpreted as: the network element stores the association relationship between the first user group identifier and the first configuration parameter, and the network element stores the association relationship between the first user group identifier and the first user group.

可选地,所述第一匹配规则包含第一匹配记录和标识类型。Optionally, the first matching rule includes a first matching record and an identification type.

可选地,所述根据所述第一用户标识匹配所述用户所属的第一用户组,获得所述第一用户组对应的第一用户组标识,包括:根据多个匹配规则中的标识类型,从所述多个匹配规则中确定与所述第一用户标识的标识类型相同的至少一个匹配规则,所述至少一个匹配规则包括至少一个匹配记录;根据所述第一用户标识,从所述至少一个匹配记录中确定与所述第一用户标识匹配的第一匹配记录;根据所述第一匹配记录对应的所述第一用户组获得所述第一用户组标识。Optionally, the matching the first user group to which the user belongs according to the first user ID to obtain the first user group ID corresponding to the first user group includes: according to the ID type in a plurality of matching rules , Determining at least one matching rule that is the same as the identification type of the first user identification from the plurality of matching rules, the at least one matching rule includes at least one matching record; according to the first user identification, from the A first matching record that matches the first user ID is determined in at least one matching record; the first user group ID is obtained according to the first user group corresponding to the first matching record.

可选地,所述第一匹配规则还包括优先级参数,所述优先级参数用于指示所述第一匹配规则中的第一匹配记录的优先级,所述方法还包括:获取所述用户的第二用户标识;根据所述多个匹配规则中的标识类型,从所述多个匹配规则中确定与所述第二用户标识的标识类型相同的至少一个匹配规则,所述至少一个匹配规则包括至少一个匹配记录;根据所述第二用户标识,从与所述第二用户标识的标识类型相同的至少一个匹配规则包括的至少一个匹配记录中确定与所述第二用户标识匹配的第二匹配记录;Optionally, the first matching rule further includes a priority parameter, and the priority parameter is used to indicate the priority of the first matching record in the first matching rule, and the method further includes: acquiring the user The second user identification; according to the identification types in the multiple matching rules, determine from the multiple matching rules at least one matching rule that is the same as the identification type of the second user identification, the at least one matching rule Including at least one matching record; according to the second user identifier, from at least one matching record included in at least one matching rule that is the same as the identifier type of the second user identifier, the second user identifier that matches the second user identifier is determined Match records;

所述根据所述第一匹配记录对应的所述第一用户组获得所述第一用户组标识,包括:当所述第一匹配记录对应的优先级高于所述第二匹配记录对应的优先级时,根据所述第一匹配记录对应的所述第一用户组获得所述第一用户组标识。The obtaining the first user group identifier according to the first user group corresponding to the first matching record includes: when the priority corresponding to the first matching record is higher than the priority corresponding to the second matching record At the time of level, the first user group identifier is obtained according to the first user group corresponding to the first matching record.

由于第二用户标识与第一用户标识对应相同的用户(例如,同一条信令中包含第一用户标识和第二用户标识),不同用户标识对应的用户组可能不同,因此,网元确定第二匹配记录后,需要从两个匹配记录中选择一个匹配记录,以避免执行后续步骤时可能出现的错误(例如,两个用户组对应的控制动作矛盾)。Since the second user ID and the first user ID correspond to the same user (for example, the same signaling includes the first user ID and the second user ID), the user groups corresponding to different user IDs may be different. Therefore, the network element determines the first user ID. After the two matching records, one matching record needs to be selected from the two matching records to avoid possible errors when performing subsequent steps (for example, the control actions corresponding to the two user groups are contradictory).

可选地,所述第一用户组关联的配置参数中包含优先级参数,所述优先级参数用于指 示所述第一用户组关联的配置参数的优先级,所述方法还包括:获取所述用户的第二用户标识;根据所述多个匹配规则中的标识类型,从所述多个匹配规则中确定与所述第二用户标识的标识类型相同的至少一个匹配规则,所述至少一个匹配规则包括至少一个匹配记录;根据所述第二用户标识,从与所述第二用户标识的标识类型相同的至少一个匹配规则包括的至少一个匹配记录中确定与所述第二用户标识匹配的第二匹配记录;根据所述第二匹配记录对应的第二用户组获得第二用户组标识;在执行所述用户的业务流程时,根据所述第二用户组标识确定第二配置参数;Optionally, the configuration parameter associated with the first user group includes a priority parameter, and the priority parameter is used to indicate the priority of the configuration parameter associated with the first user group, and the method further includes: obtaining all The second user identifier of the user; according to the identifier types in the multiple matching rules, at least one matching rule that is the same as the identifier type of the second user identifier is determined from the multiple matching rules, and the at least one The matching rule includes at least one matching record; according to the second user identifier, it is determined from at least one matching record included in at least one matching rule that is the same as the identifier type of the second user identifier that matches the second user identifier A second matching record; obtaining a second user group identifier according to the second user group corresponding to the second matching record; determining a second configuration parameter according to the second user group identifier when executing the business process of the user;

所述根据所述第一配置参数控制业务流程动作,包括:当所述第一配置参数的第一优先级高于所述第二配置参数的第二优先级时,根据所述第一配置参数控制业务流程动作。The controlling the service flow action according to the first configuration parameter includes: when the first priority of the first configuration parameter is higher than the second priority of the second configuration parameter, according to the first configuration parameter Control business process actions.

上述方案可以避免执行后续步骤时可能出现的错误,例如,两个配置参数对应的控制动作矛盾导致执行出现错误。The above solution can avoid errors that may occur when performing subsequent steps. For example, the control actions corresponding to the two configuration parameters are contradictory, leading to errors in execution.

可选地,所述创建所述第一用户组之前,所述方法还包括:接收所述第一用户组;接收与所述第一用户组关联的所述第一配置参数。Optionally, before the creation of the first user group, the method further includes: receiving the first user group; and receiving the first configuration parameter associated with the first user group.

可选地,所述第一用户组为缺省用户组,其中,所述缺省用户组能够匹配任意用户,匹配到所述第一用户组的用户不能匹配到所述第一用户组外的其他用户组。Optionally, the first user group is a default user group, wherein the default user group can match any user, and users matched to the first user group cannot be matched to those outside the first user group Other user groups.

在一些可能的场景中,除了一些特殊用户需要提供差异化功能控制参数外,其他用户的功能控制参数都可以相同,这样网元可以通过可以将其他用户的用户标识匹配到缺省用户组,来保证其他用户的功能正常。缺省用户组可以减少网元上的用户组记录的数量,降低配置复杂度。In some possible scenarios, except for some special users who need to provide differentiated function control parameters, the function control parameters of other users can be the same, so that the network element can match the user ID of other users to the default user group. Ensure that other users' functions are normal. The default user group can reduce the number of user group records on the network element and reduce configuration complexity.

第二方面,提供了一种管理用户组的装置,该装置可以是网元,也可以是芯片。该装置可以包括处理单元和通信单元。当该装置是网元时,处理单元可以是处理器,通信单元可以是收发器;该网元还可以包括存储单元,该存储单元可以是存储器;该存储单元用于存储指令,处理单元执行该存储单元所存储的指令,以使该网元执行第一方面所述的方法。当该装置是芯片时,处理单元可以是处理器,通信单元可以是输入/输出接口、管脚或电路等;该处理单元执行存储单元所存储的指令,以使该芯片执行第一方面所述的方法,该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。In the second aspect, a device for managing user groups is provided. The device may be a network element or a chip. The device may include a processing unit and a communication unit. When the device is a network element, the processing unit may be a processor, and the communication unit may be a transceiver; the network element may also include a storage unit, and the storage unit may be a memory; the storage unit is used to store instructions, and the processing unit executes the The instructions stored in the storage unit enable the network element to execute the method described in the first aspect. When the device is a chip, the processing unit may be a processor, and the communication unit may be an input/output interface, a pin or a circuit, etc.; the processing unit executes the instructions stored in the storage unit so that the chip executes the first aspect In the method, the storage unit may be a storage unit (for example, a register, a cache, etc.) in the chip, or a storage unit (for example, a read-only memory, a random access memory, etc.) located outside the chip.

第三方面,本申请提供了一种计算机可读存储介质,该计算机可读存储介质中存储了计算机程序,该计算机程序被处理器执行时,使得处理器执行第一方面所述的方法。In a third aspect, the present application provides a computer-readable storage medium in which a computer program is stored. When the computer program is executed by a processor, the processor executes the method described in the first aspect.

第四方面,本申请提供了一种计算机程序产品,该计算机程序产品包括:计算机程序代码,当该计算机程序代码被处理器运行时,使得处理器执行第一方面所述的方法。In a fourth aspect, the present application provides a computer program product, the computer program product comprising: computer program code, when the computer program code is executed by a processor, the processor executes the method described in the first aspect.

附图说明Description of the drawings

图1是一种适用于本申请的通信系统的示意图;Figure 1 is a schematic diagram of a communication system suitable for the present application;

图2是本申请提供的一种管理用户组的方法的示意图;Figure 2 is a schematic diagram of a method for managing user groups provided by the present application;

图3是本申请提供的另一种管理用户组的方法的示意图;Figure 3 is a schematic diagram of another method for managing user groups provided by the present application;

图4是本申请提供的一种管理用户组的装置的示意图。Fig. 4 is a schematic diagram of a device for managing user groups provided by the present application.

具体实施方式Detailed ways

下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below in conjunction with the drawings.

首先介绍本申请的应用场景,图1是一种适用于本申请的通信系统的示意图。First, the application scenario of this application is introduced. Fig. 1 is a schematic diagram of a communication system suitable for this application.

通信系统100包括网元110和终端设备120。终端设备120可以与网络设备110进行通信。例如,终端设备120可以通过无线电波与网元110进行通信,也可以通过光纤或电缆与网元110进行通信。The communication system 100 includes a network element 110 and a terminal device 120. The terminal device 120 can communicate with the network device 110. For example, the terminal device 120 may communicate with the network element 110 through radio waves, and may also communicate with the network element 110 through optical fibers or cables.

在本申请中,终端设备120可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备,例如,第三代合作伙伴计划(3 rd generation partnership project,3GPP)所定义的用户设备(user equipment,UE),移动台(mobile station,MS),软终端,家庭网关,机顶盒等等。 In this application, the terminal device 120 may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, for example, the third-generation partnership project (3 rd Generation partnership project, 3GPP) defined user equipment (user equipment, UE), mobile station (mobile station, MS), soft terminal, home gateway, set-top box, etc.

网元110可以是符合3GPP规范的接入网设备或核心网设备,例如,第五代(5 th generation,5G)通信系统中的基站(gNB)或接入和移动性管理功能(access and mobility management function,AMF)。网元110也可以是非3GPP(non-3GPP)的网络设备,例如接入网关(access gateway,AGF)。网元110还可以是中继站、接入点、车载设备、可穿戴设备以及其它类型的设备。 Network element 110 may conform to specifications 3GPP access network device or the core network device, e.g., the fifth generation (5 th generation, 5G) communication system, a base station (GNB) or access and mobility management function (access and mobility management function, AMF). The network element 110 may also be a non-3GPP (non-3GPP) network device, such as an access gateway (AGF). The network element 110 may also be a relay station, an access point, a vehicle-mounted device, a wearable device, and other types of devices.

通信系统100仅是举例说明,适用本申请的通信系统不限于此。The communication system 100 is only an example, and the communication system applicable to the present application is not limited to this.

运营商需要为不同的用户提供差异化的功能,不同的差异化功能有不同的功能控制参数和与其对应的用户识别参数。当网元110执行与用户相关的业务流程到达某功能的控制点时,网元可以基于该用户的标识查表进行用户识别参数匹配,并获得相应的功能控制参数。然而,网络中存在多种不同类型的用户标识,如手机号码是一种用户标识,IMSI也是一种用户标识,当运营商期望在某功能的用户识别参数中增加对新的类型的用户标识的支持,网元110需要开发支持上述功能的新的类型的用户标识,增加了开发成本,也影响运营商定制需求的商用时间。下面,将介绍本申请提供的基于用户组的管理方法。为了简洁,下文中的网元和终端设备不再附带附图标记。Operators need to provide differentiated functions for different users. Different differentiated functions have different function control parameters and corresponding user identification parameters. When the network element 110 executes a user-related business process and reaches the control point of a certain function, the network element can perform user identification parameter matching based on the user's identity lookup table, and obtain corresponding function control parameters. However, there are many different types of user IDs in the network. For example, a mobile phone number is a user ID, and an IMSI is also a user ID. When the operator expects to add a new type of user ID to the user identification parameters of a certain function Yes, the network element 110 needs to develop a new type of user identity that supports the above-mentioned functions, which increases the development cost and also affects the commercial time of the operator's customization requirements. Next, the user group-based management method provided by this application will be introduced. For the sake of brevity, the network elements and terminal devices below are no longer accompanied by reference signs.

图2示出了本申请的一种管理用户组的方法。方法100可以由网元执行,该方法包括:Figure 2 shows a method of managing user groups of the present application. The method 100 may be executed by a network element, and the method includes:

S110,获取用户的第一用户标识。S110: Acquire a first user identifier of the user.

第一用户标识为标识用户的一个信息,网元可以基于第一用户标识识别用户。本申请对第一用户标识的具体内容不做限定,例如,第一用户标识的标识类型包括以下类型中的至少一种:The first user identification is information identifying the user, and the network element may identify the user based on the first user identification. This application does not limit the specific content of the first user identification. For example, the identification type of the first user identification includes at least one of the following types:

国际移动用户识别码(international mobile subscriber identification number,IMSI);International mobile subscriber identification number (international mobile subscriber identification number, IMSI);

用户永久标识(subscription permanent identifier,SUPI);User permanent identity (subscription permanent identifier, SUPI);

移动台国际用户识别码(mobile subscriber international ISDN number,MSISDN);Mobile International Subscriber ID (mobile subscriber international ISDN number, MSISDN);

通用公共用户标识(generic public subscription identifier,GPSI);General public user identification (generic public subscription identifier, GPSI);

国际移动设备识别码的类型分配码(international mobile equipment identity type allocation code,IMEI TAC);Type allocation code of international mobile equipment identity (international mobile equipment identity type allocation code, IMEI TAC);

签约群组标识(subscribe group ID);Subscription group ID (subscribe group ID);

用户使用类型(UE usage type);User usage type (UE usage type);

数据网络名称(data network name,DNN);Data network name (data network name, DNN);

接入点名称(access point name,APN);Access point name (access point name, APN);

网络切片选择辅助信息(network slice selection assistance information,NSSAI);Network slice selection assistance information (network slice selection assistance information, NSSAI);

跟踪区域标识(tracking area identity,TAI);Tracking area identity (tracking area identity, TAI);

路由区域标识(routing area identity,RAI)。Routing area identity (RAI).

可选地,网元可以从用户相关的信令消息中获取第一用户标识,也可以从其它消息中获取第一用户标识。Optionally, the network element may obtain the first user identification from a signaling message related to the user, or may obtain the first user identification from other messages.

网元获取第一用户标识后,可以执行下述步骤,确定用户所属的用户组。After the network element obtains the first user ID, it can perform the following steps to determine the user group to which the user belongs.

S120,根据第一用户标识匹配用户所属的第一用户组,获得第一用户组对应的第一用户组标识。S120: Match the first user group to which the user belongs according to the first user ID, and obtain the first user group ID corresponding to the first user group.

网元上可以有一个或者多个用户组,用户组包含但不限于用户组标识,用户组名称和匹配规则,匹配规则包含但不限于标识类型和匹配记录。其中一个用户组可以包含一个或者多个匹配规则。There may be one or more user groups on the network element. The user group includes but is not limited to the user group identifier, the user group name and matching rules, and the matching rule includes but is not limited to the identifier type and matching records. One user group can contain one or more matching rules.

其中匹配规则中的标识类型包括以下类型中的至少一种:The identification type in the matching rule includes at least one of the following types:

IMSI前缀或IMSI号段;IMSI prefix or IMSI number segment;

SUPI前缀或SUPI号段;SUPI prefix or SUPI number segment;

MSISDN前缀或MSISDN号段;MSISDN prefix or MSISDN number segment;

GPSI前缀或GPSI号段;GPSI prefix or GPSI number segment;

IMEI TAC;IMEI TAC;

签约群组标识前缀或签约群组标识号段或签约群组标识列表;Subscription group identification prefix or subscription group identification number segment or subscription group identification list;

用户使用类型前缀或用户使用类型号段或用户使用类型列表;User use type prefix or user use type number segment or user use type list;

DNN前缀或者DNN列表;DNN prefix or DNN list;

APN前缀或者APN列表;APN prefix or APN list;

NSSAI;NSSAI;

TAI前缀或TAI号段或TAI列表;TAI prefix or TAI number segment or TAI list;

RAI前缀或RAI号段或RAI列表。RAI prefix or RAI number segment or RAI list.

可选地,网元可以根据多个匹配规则中的标识类型,从该多个匹配规则中确定至少一个匹配记录,其中,该至少一个匹配记录所属的匹配规则的类型与第一用户标识的标识类型相同;随后将所述第一用户标识与所述至少一个匹配记录匹配,确定与所述第一用户标识匹配的所述第一匹配记录;随后,根据所述第一匹配记录对应的所述第一用户组获得所述第一用户组标识。Optionally, the network element may determine at least one matching record from the multiple matching rules according to the identification type in the multiple matching rules, where the type of the matching rule to which the at least one matching record belongs is the same as the identification of the first user ID The same type; then match the first user ID with the at least one matching record, and determine the first matching record that matches the first user ID; then, according to the first matching record corresponding to the The first user group obtains the first user group identifier.

需要说明的是,第一用户标识的标识类型和匹配规则中的标识类型的对应关系为:It should be noted that the corresponding relationship between the identification type of the first user identification and the identification type in the matching rule is:

IMSI对应IMSI前缀或IMSI号段;IMSI corresponds to IMSI prefix or IMSI number segment;

SUPI对应SUPI前缀或SUPI号段;SUPI corresponds to SUPI prefix or SUPI number segment;

MSISDN对应MSISDN前缀或MSISDN号段;MSISDN corresponds to MSISDN prefix or MSISDN number segment;

GPSI对应GPSI前缀或GPSI号段;GPSI corresponds to GPSI prefix or GPSI number segment;

IMEI TAC对应IMEI TAC;IMEI TAC corresponds to IMEI TAC;

签约群组标识对应签约群组标识前缀或签约群组标识号段或签约群组标识列表;The contracted group ID corresponds to the contracted group ID prefix or the contracted group ID number segment or the contracted group ID list;

用户使用类型对应用户使用类型前缀或用户使用类型号段或用户使用类型列表;User usage type corresponds to user usage type prefix or user usage type number segment or user usage type list;

DNN对应DNN前缀或者DNN列表;DNN corresponds to DNN prefix or DNN list;

APN对应APN前缀或者APN列表;APN corresponds to the APN prefix or APN list;

TAI对应TAI前缀或TAI号段或TAI列表;TAI corresponds to the TAI prefix or TAI number segment or TAI list;

RAI对应RAI前缀或RAI号段或RAI列表。RAI corresponds to RAI prefix or RAI number segment or RAI list.

表1示出了用户组的一种形式,本申请对包括第一用户组在内的全部用户组的具体形式不作限定。Table 1 shows one form of user groups, and this application does not limit the specific forms of all user groups including the first user group.

表1Table 1

Figure PCTCN2020095434-appb-000001
Figure PCTCN2020095434-appb-000001

表1中,一条记录中的标识类型和匹配记录可以称为一个匹配规则,例如,“IMSI前缀”和“1234567”即第一匹配规则。第一列中的数字“1”即第一用户组标识。用户组名称可以根据运营商的需求填充不同的名称,例如,重要(very important person,VIP)客户或者普通客户;可选地,用户组名称也可以为空。可选地,各个用户组还可以包含更多的信息。In Table 1, the identification type and matching record in a record can be referred to as a matching rule, for example, "IMSI prefix" and "1234567" are the first matching rule. The number "1" in the first column is the first user group ID. The user group name can be filled with different names according to the requirements of the operator, for example, very important person (VIP) customers or ordinary customers; optionally, the user group name can also be empty. Optionally, each user group can also contain more information.

作为一个可选的示例,网元获取的第一用户标识的标识类型为IMSI,该第一用户标识的内容为12345674007788。则网元从表1中的3个用户组中选择标识类型为IMSI前缀的至少一个匹配记录,即匹配记录1234567;随后,网元将第一用户标识与至少一个匹配记录匹配,确定匹配记录1234567为与第一用户标识匹配的第一匹配记录;随后,根据所述第一匹配记录对应的所述第一用户组获得所述第一用户组标识,即确定第一匹配记录1234567所在的记录的用户组标识1为第一用户组标识As an optional example, the identity type of the first user identity acquired by the network element is IMSI, and the content of the first user identity is 12345674007788. Then the network element selects at least one matching record whose identification type is the IMSI prefix from the three user groups in Table 1, that is, matching record 1234567; subsequently, the network element matches the first user identification with at least one matching record, and determines the matching record 1234567 Is the first matching record matching the first user ID; subsequently, the first user group ID is obtained according to the first user group corresponding to the first matching record, that is, the record of the first matching record 1234567 is determined User group ID 1 is the first user group ID

表1中的各个用户组可以是技术人员配置在网元中的,即,网元可以接收并存储技术人员输入的用户组。用户组可以是一个文件,或者文件中的部分记录,或者一张表等形式配置到网元上。Each user group in Table 1 may be configured by the technician in the network element, that is, the network element may receive and store the user group input by the technician. The user group can be a file, part of the records in the file, or a table, etc., configured on the network element.

可选地,第一用户组为缺省用户组,其中,缺省用户组可以匹配任意用户标识。当第一用户标识无法匹配到除第一用户组之外的其他用户组时,网元可以将第一用户标识匹配到第一用户组,获得第一用户组标识。Optionally, the first user group is a default user group, where the default user group can match any user identifier. When the first user identifier cannot be matched to other user groups except the first user group, the network element may match the first user identifier to the first user group to obtain the first user group identifier.

在一些可能的场景中,除了一些特殊用户需要提供差异化功能控制参数外,其他用户的功能控制参数都可以相同,这样网元可以通过可以将其他用户的用户标识匹配到缺省用户组,来保证其他用户的功能正常。缺省用户组可以减少网元上的用户组记录的数量,降低配置复杂度。In some possible scenarios, except for some special users who need to provide differentiated function control parameters, the function control parameters of other users can be the same, so that the network element can match the user ID of other users to the default user group. Ensure that other users' functions are normal. The default user group can reduce the number of user group records on the network element and reduce configuration complexity.

上文所述方案为网元获取一个用户标识(即,第一用户标识)的场景。在一些情况中,同一个用户可以同时有多个用户标识,如同时有手机号、IMSI和IMEI。网元可能同时(或者,在较短的时段内)获取同一个用户的多个用户标识,下面将介绍网元获取多个用户标识后的处理方法。The above-mentioned solution is a scenario where the network element obtains a user identity (ie, the first user identity). In some cases, the same user can have multiple user identities at the same time, such as mobile phone number, IMSI and IMEI at the same time. The network element may obtain multiple user identities of the same user at the same time (or within a short period of time). The processing method after the network element obtains multiple user identities will be described below.

若网元获取多个用户标识,则方法100还包括:If the network element obtains multiple user identities, the method 100 further includes:

获取用户的第二用户标识;Acquiring the second user ID of the user;

根据多个匹配规则中的标识类型,从所述多个匹配规则中确定与第二用户标识的标识类型相同的至少一个匹配规则,所述至少一个匹配规则包括至少一个匹配记录;Determining at least one matching rule that is the same as the identification type of the second user identifier from the multiple matching rules according to the identification types in the multiple matching rules, the at least one matching rule includes at least one matching record;

根据第二用户标识,从与第二用户标识的类型相同的至少一个匹配规则包括的至少一 个匹配记录中确定第二匹配记录。According to the second user identification, the second matching record is determined from at least one matching record included in at least one matching rule of the same type as the second user identification.

在本申请中,“第一”、“第二”等词语仅表示相同类型的对象的两个不同的个体,除此之外,并无其它限定。例如,第二用户标识与第一用户标识表示两个不同的用户标识,除此之外并无其它限定。In this application, terms such as "first" and "second" only refer to two different individuals of the same type of object, and there are no other limitations other than that. For example, the second user ID and the first user ID represent two different user IDs, and there are no other restrictions.

网元根据第二用户标识确定与所述第二用户标识匹配的第二匹配记录的方法与根据第一用户标识确定与所述第一用户标识匹配的第一匹配记录的方法相同,在此不再赘述。The method for the network element to determine the second matching record matching the second user ID according to the second user ID is the same as the method for determining the first matching record matching the first user ID according to the first user ID. Repeat it again.

由于第二用户标识与第一用户标识对应相同的用户(例如,同一条信令中包含第一用户标识和第二用户标识),不同用户标识对应的用户组可能不同,因此,网元确定第二匹配记录后,需要从两个匹配记录中选择一个匹配记录,以避免执行后续步骤时可能出现的错误(例如,两个用户组对应的控制动作矛盾)。或者,网元此时也可以不做选择,待执行后续步骤时再做选择,下文会详细描述该方案。Since the second user ID and the first user ID correspond to the same user (for example, the same signaling includes the first user ID and the second user ID), the user groups corresponding to different user IDs may be different. Therefore, the network element determines the first user ID. After the two matching records, one matching record needs to be selected from the two matching records to avoid possible errors when performing subsequent steps (for example, the control actions corresponding to the two user groups are contradictory). Alternatively, the network element may not make a selection at this time, and make a selection when the subsequent steps are executed. The solution will be described in detail below.

若网元需要在确定第二匹配记录之后做出选择,则网元可以根据多个匹配记录的优先级从该多个匹配记录对应的用户组中选择目标用户组,为此,匹配规则中还包含优先级参数,该优先级参数用于指示该匹配规则中的匹配记录的优先级。If the network element needs to make a selection after determining the second matching record, the network element can select the target user group from the user groups corresponding to the multiple matching records according to the priority of the multiple matching records. For this reason, the matching rule also Contains a priority parameter, which is used to indicate the priority of the matching record in the matching rule.

例如,当第一匹配记录对应的优先级高于第二匹配记录对应的优先级时,确定第一匹配记录对应的用户组为目标用户组,并根据第一匹配记录对应的第一用户组获得第一用户组标识。For example, when the priority corresponding to the first matching record is higher than the priority corresponding to the second matching record, the user group corresponding to the first matching record is determined as the target user group, and the first user group corresponding to the first matching record is obtained The first user group ID.

网元确定第一用户组标识之后,可以将第一用户组标识存储于用户上下文中。随后,可以执行下述步骤。After the network element determines the first user group identifier, the first user group identifier may be stored in the user context. Subsequently, the following steps can be performed.

S130,在执行用户的业务流程时,根据第一用户组标识确定第一配置参数。S130: When executing the user's business process, determine the first configuration parameter according to the first user group identifier.

举例来说,在用户的会话建立流程中,网元收到会话建立请求后,根据用户的第一用户组标识,确定网关选择的配置参数,如选择指定的网关。For example, in the user's session establishment process, after receiving the session establishment request, the network element determines the configuration parameters selected by the gateway according to the user's first user group identifier, such as selecting a designated gateway.

或者,在用户附着流程中,收到用户的附着请求后,根据用户的第一用户标识,确定用户的加密策略。Or, in the user attachment process, after receiving the user's attachment request, the user's encryption strategy is determined according to the user's first user ID.

或者,在签约数据更新流程中,根据用户的第一用户标识,确定服务质量参数QoS的大小。Alternatively, in the subscription data update process, the size of the quality of service parameter QoS is determined according to the first user identification of the user.

S140,根据所述第一配置参数控制业务流程动作。S140: Control the business process action according to the first configuration parameter.

网元在执行用户的业务流程时,需要根据配置参数确定该业务流程对应的动作,以便于控制业务流程动作。When the network element executes the user's business process, it needs to determine the action corresponding to the business process according to the configuration parameters, so as to control the business process action.

在本申请中,用户组标识与配置参数之间存在关联关系,网元确定了第一用户组标识后,即可根据第一用户组标识确定第一配置参数。In this application, there is an association relationship between the user group identifier and the configuration parameter. After the network element determines the first user group identifier, the first configuration parameter can be determined according to the first user group identifier.

表2示出了配置参数的一个示例。Table 2 shows an example of configuration parameters.

表2Table 2

用户组标识User group ID 加密算法Encryption Algorithm 完整性保护算法Integrity protection algorithm 带宽bandwidth 11 EEA1EEA1 EIA1EIA1 1Gbps1Gbps 22 EEA2EEA2 EIA2EIA2 2.5Gbps2.5Gbps 33 EEA3EEA3 EIA3EIA3 2Gbps2Gbps

表2中,加密算法、完整性保护算法以及带宽均属于配置参数,适用于本申请的配置参数还可以包含其它参数。本申请对配置参数的数量和具体内容不做限定。可选地,可以 是网元通过通信接口接收到的,例如,配置参数可以是技术人员输入的。配置参数可以是一个文件,或者文件中的部分记录,或者一张表等形式配置到网元上。In Table 2, the encryption algorithm, the integrity protection algorithm, and the bandwidth are all configuration parameters, and the configuration parameters applicable to this application may also include other parameters. This application does not limit the number and specific content of configuration parameters. Optionally, it may be received by the network element through the communication interface, for example, the configuration parameter may be input by a technician. The configuration parameter can be a file, or part of the records in the file, or a table, etc., to be configured on the network element.

在执行用户的业务流程时,网元可以从用户上下文中读取第一用户组标识“1”,并根据第一用户组标识从表2中确定第一配置参数为EEA1加密算法、EIA1完整性保护算法和1Gbps带宽。随后,基于EEA1加密算法、EIA1完整性保护算法和1Gbps带宽控制用户的业务流程动作。When executing the user's business process, the network element can read the first user group identifier "1" from the user context, and determine from Table 2 that the first configuration parameter is EEA1 encryption algorithm, EIA1 integrity according to the first user group identifier Protection algorithm and 1Gbps bandwidth. Subsequently, based on the EEA1 encryption algorithm, EIA1 integrity protection algorithm and 1Gbps bandwidth control user business process actions.

可选地,网元确定第二匹配记录后,方法100还包括:Optionally, after the network element determines the second matching record, the method 100 further includes:

根据第二匹配记录对应的第二用户组获得第二用户组标识;Obtaining the second user group identifier according to the second user group corresponding to the second matching record;

在执行用户的业务流程时,根据第二用户组标识确定第二配置参数。When the user's business process is executed, the second configuration parameter is determined according to the second user group identifier.

其中,S140包括:Among them, S140 includes:

当第一配置参数的优先级高于第二配置参数的优先级时,根据第一配置参数控制业务流程动作。为此,配置参数中还包含优先级参数,该优先级参数用于指示该配置参数的优先级。When the priority of the first configuration parameter is higher than the priority of the second configuration parameter, control the business process action according to the first configuration parameter. To this end, the configuration parameters also include a priority parameter, which is used to indicate the priority of the configuration parameter.

第二配置参数例如是表2中用户组标识“2”对应的配置参数。网元可以根据表2中的优先级参数(表2中未示出)确定各个配置参数的优先级。The second configuration parameter is, for example, the configuration parameter corresponding to the user group identifier "2" in Table 2. The network element may determine the priority of each configuration parameter according to the priority parameters in Table 2 (not shown in Table 2).

上述方案可以避免执行后续步骤时可能出现的错误,例如,两个配置参数对应的控制动作矛盾导致执行出现错误。The above solution can avoid errors that may occur when performing subsequent steps. For example, the control actions corresponding to the two configuration parameters are contradictory, leading to errors in execution.

S140中,网元控制业务流程动作可以是生成出口信令,向其它设备或模块发送该出口信令,以实现用户的特定功能。网元也可以不生成出口信令,在本地执行业务流程。In S140, the action of the network element to control the service flow may be to generate egress signaling, and send the egress signaling to other devices or modules, so as to implement specific functions of the user. The network element may also not generate egress signaling and execute the business process locally.

图3示出了本申请提供的网元在执行方法100时的一种可能的流程。Fig. 3 shows a possible flow of the network element provided in this application when executing the method 100.

操作维护管理台可以预先为网元配置包含表1的用户组管理数据库和包含表2的功能管理数据库。网元执行S110,通过用户信令处理单元获取入口信令,该入口信令包含用户的第一用户标识,用户信令处理单元可以将第一用户标识发送至功能执行单元。网元通过功能执行单元执行S120,在用户组管理数据库进行匹配处理,确定第一用户标识对应的第一用户组,并获得第一用户组标识。随后,网元通过功能执行单元执行S130,在功能管理数据库中搜寻第一用户组标识对应的第一配置参数。获取第一配置参数后,网元执行S140,功能执行单元可以将第一配置参数发送至用户信令处理单元,或者,功能执行单元可以根据第一配置参数生成相应的配置命令,发送至用户信令处理单元,以便于用户信令处理单元根据第一配置参数或者配置命令生成出口信令。The operation and maintenance management station can pre-configure the user group management database including Table 1 and the function management database including Table 2 for the network elements. The network element executes S110 and obtains ingress signaling through the user signaling processing unit. The ingress signaling includes the first user identifier of the user, and the user signaling processing unit may send the first user identifier to the function execution unit. The network element executes S120 through the function execution unit, performs matching processing on the user group management database, determines the first user group corresponding to the first user identifier, and obtains the first user group identifier. Subsequently, the network element executes S130 through the function execution unit, and searches the function management database for the first configuration parameter corresponding to the first user group identifier. After obtaining the first configuration parameter, the network element executes S140, and the function execution unit may send the first configuration parameter to the user signaling processing unit, or the function execution unit may generate a corresponding configuration command according to the first configuration parameter and send it to the user information. Command the processing unit so that the user signaling processing unit generates egress signaling according to the first configuration parameter or configuration command.

由上文各个实施例可知,用户组与用户组标识之间存在关联关系,用户组标识与配置参数之间存在关联关系,因此,用户组与配置参数之间通过用户组标识建立了关联关系。由于用户组与配置参数为相互独立的信息,因此,对用户组的修改不会影响配置参数的使用。It can be seen from the above embodiments that there is an association relationship between the user group and the user group identifier, and there is an association relationship between the user group identifier and the configuration parameter. Therefore, the user group and the configuration parameter establish an association relationship through the user group identifier. Since the user group and the configuration parameters are independent information, the modification of the user group will not affect the use of the configuration parameters.

例如,网元新增支持标识类型为MSISDN前缀的用户组时,第一配置参数无需更改即可在网元执行该MSISDN前缀对应的用户组中用户的业务流程时被使用。For example, when the network element newly supports a user group whose identification type is the MSISDN prefix, the first configuration parameter can be used when the network element executes the service process of the user in the user group corresponding to the MSISDN prefix without changing.

由此可见,相比于现有技术中各个功能中的用户识别参数改变均需重新开发一套完整的软件的方案,应用方法100的网元在用户标识改变时仅需一次开发,就可以应用于所有的配置参数,能够减小开发成本,提高开发效率。此外,由于方法100中的用户组与配置参数为相互独立的信息,用户组与配置参数可以灵活组合,一个用户组可以关联多个配置 参数,为一个用户提供不同的服务需求,从而能够灵活应对不同的网络场景,尤其适用于5G通信系统中的网络切片。5G通信系统中的网络切片,本质上就是运营商提供多个虚拟网络,每一个虚拟网络提供不同的服务需求,比如时延、带宽、安全性和可靠性等,以灵活的应对不同的网络应用场景。通过本发明的用户组的管理方法,通过不同的用户组支持不同的配置空间,差异化提供不同的服务需求,实现网络切片功能,能够节省网络切片的运维和部署成本。It can be seen that, compared to the existing technology where the user identification parameter changes in each function require a new development of a complete set of software solutions, the network element of the application method 100 only needs to be developed once when the user identification changes, and then it can be applied. For all configuration parameters, it can reduce development costs and improve development efficiency. In addition, because the user group and configuration parameters in the method 100 are mutually independent information, the user group and configuration parameters can be flexibly combined, and a user group can be associated with multiple configuration parameters to provide a user with different service requirements, thus being able to respond flexibly Different network scenarios are especially suitable for network slicing in 5G communication systems. Network slicing in a 5G communication system is essentially that operators provide multiple virtual networks, and each virtual network provides different service requirements, such as delay, bandwidth, security, and reliability, to flexibly respond to different network applications Scenes. Through the user group management method of the present invention, different configuration spaces are supported through different user groups, different service requirements are provided differentially, the network slicing function is realized, and the operation, maintenance and deployment cost of the network slicing can be saved.

下面,再举出一个方法100应用在5G通信系统中的示例。In the following, another example of the application of the method 100 in a 5G communication system is given.

运营商A、B和C有如下三个需求:Operators A, B and C have the following three requirements:

运营商A:IMSI前缀为12345的用户,选择会话管理单元(session management function,SMF)10.10.10.10。Operator A: Users whose IMSI prefix is 12345, select the session management unit (session management function, SMF) 10.10.10.10.

运营商B:IMEI TAC为12345678的用户,加密算法选择SNOW 3G。Operator B: Users whose IMEI TAC is 12345678, and the encryption algorithm selects Snow 3G.

运营商C:APN网络标识(network identifier,NI)为5gnet的用户,会话带宽为2Gbps。Operator C: APN network identifier (Network Identifier, NI) is a user of 5gnet, and the session bandwidth is 2Gbps.

步骤1.1,网元创建用户组,定义用户组的匹配规则。Step 1.1, the network element creates a user group and defines the matching rules of the user group.

其中,用户组由用户组标识标识,匹配规则包含标识类型和匹配记录。网元将用户组和其对应的匹配规则存储到用户组管理数据库。Among them, the user group is identified by the user group identifier, and the matching rule includes the identification type and the matching record. The network element stores the user group and its corresponding matching rule in the user group management database.

针对本实施例的场景,网元创建用户组A、用户组B和用户组C,由用户组标识1、2和3标识。For the scenario of this embodiment, the network element creates user group A, user group B, and user group C, which are identified by user group identifiers 1, 2 and 3.

用户组A对应的匹配规则:用户组类型:IMSI前缀,用户组记录:12345。Matching rules corresponding to user group A: user group type: IMSI prefix, user group record: 12345.

用户组B对应的匹配规则:用户组类型:IMEITAC,用户组记录:12345678。Matching rules corresponding to user group B: user group type: IMEITAC, user group record: 12345678.

用户组C对应的匹配规则:用户组类型:APNNI,用户组记录:5gnet。Matching rules corresponding to user group C: user group type: APNNI, user group record: 5gnet.

步骤1.2,网元增加与用户组关联的配置参数,网元将用户组的配置参数存储到功能管理数据库,配置参数用于提供特性的差异化能力。Step 1.2: The network element adds configuration parameters associated with the user group. The network element stores the configuration parameters of the user group in the function management database. The configuration parameters are used to provide feature differentiation capabilities.

表3table 3

用户组标识User group ID 配置参数Configuration parameter 11 SMF:10.10.10.10SMF: 10.10.10.10 22 SNOW 3GSNOW 3G 33 2Gbps2Gbps

需要说明的是,操作维护管理台可以将用户组列表和用户组关联的配置参数预先配置到网元上。网元根据用户组列表和用户组关联的配置参数执行步骤1.1和步骤1.2。用户组规则列表包含一个或者多个用户组规则,包含但不限于用户组标识、用户组名称、标识类型和匹配记录。It should be noted that the operation and maintenance management station can pre-configure the user group list and configuration parameters associated with the user group to the network element. The network element performs step 1.1 and step 1.2 according to the user group list and the configuration parameters associated with the user group. The user group rule list contains one or more user group rules, including but not limited to user group identification, user group name, identification type, and matching records.

例如,用户组列表如表4所示,与用户组关联的配置参数如表5所示。For example, the user group list is shown in Table 4, and the configuration parameters associated with the user group are shown in Table 5.

表4Table 4

用户组标识User group ID 用户组名称User group name 标识类型Logo type 匹配记录Match record 11 用户组AUser Group A IMSI前缀IMSI prefix 1234512345 22 用户组BUser Group B IMEI TACIMEI TAC 1234567812345678 33 用户组CUser Group C APNNIAPNNI 5gnet5gnet

表5table 5

用户组标识User group ID 加密算法Encryption Algorithm SMFSMF 带宽bandwidth 11  To 10.10.10.1010.10.10.10  To 22 SNOW 3GSNOW 3G  To  To 33  To  To 2Gbps2Gbps

用户组列表或用户组关联的配置参数可以是一个文件,或者文件中的部分记录,或者一张表等形式配置到网元。The user group list or the configuration parameters associated with the user group can be a file, part of the records in the file, or a table, etc., configured to the network element.

步骤1.3,网元匹配用户所属的用户组,将匹配上的用户组标识存储在用户上下文中。Step 1.3, the network element matches the user group to which the user belongs, and stores the matched user group identifier in the user context.

网元获取用户的用户标识,根据用户标识的类型,将用户标识与标识类型相同的匹配记录匹配,若匹配成功,则获得相应的用户组的用户组标识;若匹配失败,则获取缺省用户组的用户组标识。The network element obtains the user ID of the user, and matches the user ID with matching records of the same ID type according to the type of the user ID. If the matching is successful, the user group ID of the corresponding user group is obtained; if the matching fails, the default user is obtained The user group ID of the group.

例如,网元获取的用户对应的用户标识为“IMSI,12345674007788”,则网元从表4中选择用户组类型为IMSI前缀的至少一个匹配记录与该IMSI匹配,IMSI 12345674007788能够匹配上IMSI前缀12345的匹配记录,从而确定了上述用户标识对应的用户组标识为“1”。For example, if the user ID corresponding to the user acquired by the network element is "IMSI, 12345674007788", the network element selects at least one matching record whose user group type is IMSI prefix from Table 4 to match the IMSI, and IMSI 12345674007788 can match the IMSI prefix 12345 Therefore, it is determined that the user group ID corresponding to the above-mentioned user ID is "1".

缺省用户组可以是一种可以匹配上任意用户标识的记录,当用户标识无法匹配到除缺省用户组之外的任意用户组时,则认为用户标识归属缺省用户组。The default user group can be a record that can match any user ID. When the user ID cannot match any user group except the default user group, the user ID is considered to belong to the default user group.

步骤1.4,在执行特定用户的业务流程时,网元的功能执行单元根据用户所属的用户组的用户组标识,获得与该用户组关联的配置参数,根据该配置参数控制业务流程动作。Step 1.4: When executing the business process of a specific user, the function execution unit of the network element obtains the configuration parameters associated with the user group according to the user group identifier of the user group to which the user belongs, and controls the business process actions according to the configuration parameters.

例如,在分组数据单元(packet data unit,PDU)会话建立流程中,网元需要选择用户的SMF,根据用户所属的用户组的用户组标识“1”确定与用户组关联的配置参数,选择互联网协议(internet protocol,IP)地址为10.10.10.10的SMF。For example, in the process of establishing a packet data unit (PDU) session, the network element needs to select the user’s SMF, determine the configuration parameters associated with the user group according to the user group identifier "1" of the user group to which the user belongs, and select the Internet The protocol (Internet protocol, IP) address is SMF with 10.10.10.10.

另外,因为用户同时具有多个标识,如IMSI,MSISDN和IMEI等,同一个用户的不同标识可能同时匹配到不同的匹配记录。为此,匹配规则或者用户组关联的配置参数中还包含优先级,相应的:In addition, because the user has multiple identities at the same time, such as IMSI, MSISDN, IMEI, etc., different identities of the same user may be matched to different matching records at the same time. For this reason, the configuration parameters associated with the matching rules or user groups also include priority, correspondingly:

-网元根据匹配上的多个匹配记录对应的优先级,选择优先级最高的匹配记录对应的用户组标识,根据其关联的配置参数值控制业务流程动作;或者-The network element selects the user group ID corresponding to the matching record with the highest priority according to the priority corresponding to the multiple matching records on the matching, and controls the business process action according to its associated configuration parameter value; or

-网元根据匹配上的不同的匹配记录对应的用户组标识,获取多个用户组关联的配置参数,根据配置参数中的优先级,根据优先级最高的配置参数值控制业务流程动作。-The network element obtains configuration parameters associated with multiple user groups according to the user group identifiers corresponding to different matching records on the matching, and controls the business process actions according to the priority in the configuration parameters and the configuration parameter value with the highest priority.

上文详细介绍了本申请提供的管理用户组的方法的示例。可以理解的是,管理用户组的装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The example of the method for managing user groups provided by this application is described in detail above. It can be understood that, in order to realize the above-mentioned functions, the apparatus for managing user groups includes hardware structures and/or software modules corresponding to various functions. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.

本申请可以根据上述方法示例对管理用户组的装置进行功能单元的划分,例如,可以将各个功能划分为各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。 需要说明的是,本申请中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。This application may divide the device for managing user groups into functional units according to the foregoing method examples. For example, each function may be divided into each functional unit, or two or more functions may be integrated into one processing unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in this application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.

图4示出了本申请提供的一种管理用户组的装置的结构示意图。管理用户组的装置400可用于实现上述方法实施例中描述的方法。该管理用户组的装置400可以是芯片或网络设备。Fig. 4 shows a schematic structural diagram of an apparatus for managing user groups provided by this application. The apparatus 400 for managing user groups can be used to implement the methods described in the foregoing method embodiments. The apparatus 400 for managing user groups may be a chip or a network device.

装置400包括一个或多个处理器401,该一个或多个处理器401可支持管理用户组的装置400实现图2所对应方法实施例中的方法。处理器401可以是通用处理器或者专用处理器。例如,处理器401可以是中央处理器(central processing unit,CPU)。CPU可以用于对装置400(例如,网络设备)进行控制,执行软件程序,处理软件程序的数据。装置400还可以包括通信单元405,用以实现信号的输入(接收)和输出(发送)。The device 400 includes one or more processors 401, and the one or more processors 401 can support the device 400 for managing user groups to implement the method in the method embodiment corresponding to FIG. 2. The processor 401 may be a general-purpose processor or a special-purpose processor. For example, the processor 401 may be a central processing unit (CPU). The CPU can be used to control the device 400 (for example, a network device), execute a software program, and process data of the software program. The device 400 may further include a communication unit 405 to implement signal input (reception) and output (transmission).

例如,装置400可以是芯片,通信单元405可以是该芯片的输入和/或输出电路,或者,通信单元405可以是该芯片的通信接口,该芯片可以作为终端设备或网络设备或其它无线通信设备的组成部分。For example, the apparatus 400 may be a chip, and the communication unit 405 may be an input and/or output circuit of the chip, or the communication unit 405 may be a communication interface of the chip, and the chip may be used as a terminal device or a network device or other wireless communication equipment made of.

装置400中可以包括一个或多个存储器402,其上存有程序404,程序404可被处理器401运行,生成指令403,使得处理器401根据指令403执行上述方法实施例中描述的方法。可选地,存储器402中还可以存储有数据。可选地,处理器401还可以读取存储器402中存储的数据(例如,上文所述的表格中的内容),该数据可以与程序404存储在相同的存储地址,该数据也可以与程序404存储在不同的存储地址。The device 400 may include one or more memories 402, on which a program 404 is stored, and the program 404 can be run by the processor 401 to generate an instruction 403 so that the processor 401 executes the method described in the foregoing method embodiment according to the instruction 403. Optionally, the memory 402 may also store data. Optionally, the processor 401 may also read data stored in the memory 402 (for example, the content in the table described above). The data may be stored at the same storage address as the program 404, and the data may also be stored in the same storage address as the program 404. 404 is stored in a different storage address.

处理器401和存储器402可以单独设置,也可以集成在一起,例如,集成在单板或者系统级芯片(system on chip,SOC)上。The processor 401 and the memory 402 may be provided separately or integrated together, for example, integrated on a single board or a system on chip (SOC).

装置400还可以包括天线406。通信单元405用于通过天线406实现装置400的收发功能。The device 400 may also include an antenna 406. The communication unit 405 is used to implement the transceiver function of the device 400 through the antenna 406.

在一种可能的设计中,处理器401用于通过通信单元405获取用户的第一用户标识;In a possible design, the processor 401 is configured to obtain the first user identification of the user through the communication unit 405;

处理器401还用于:根据所述第一用户标识匹配所述用户所属的第一用户组,获得所述第一用户组对应的第一用户组标识;The processor 401 is further configured to: match a first user group to which the user belongs according to the first user ID, and obtain a first user group ID corresponding to the first user group;

在执行所述用户的业务流程时,根据所述第一用户组标识确定第一配置参数;When executing the user's business process, determine the first configuration parameter according to the first user group identifier;

根据所述第一配置参数控制业务流程动作。Control business process actions according to the first configuration parameter.

可选地,所述处理器401还用于:Optionally, the processor 401 is further configured to:

创建所述第一用户组,所述第一用户组包含所述第一用户组标识和第一匹配规则,所述第一匹配规则用于匹配所述第一用户标识和所述第一用户组;Create the first user group, the first user group includes the first user group identifier and a first matching rule, and the first matching rule is used to match the first user identifier and the first user group ;

增加与所述第一用户组关联的所述第一配置参数。Adding the first configuration parameter associated with the first user group.

可选地,所述处理器401具体用于:Optionally, the processor 401 is specifically configured to:

通过所述第一用户组标识将所述第一配置参数与所述第一用户组关联。Associating the first configuration parameter with the first user group through the first user group identifier.

可选地,所述处理器401具体用于:Optionally, the processor 401 is specifically configured to:

根据多个匹配规则中的标识类型,从所述多个匹配规则中确定与所述第一用户标识的标识类型相同的至少一个匹配规则,所述至少一个匹配规则包括至少一个匹配记录;Determining at least one matching rule that is the same as the identification type of the first user identifier from the multiple matching rules according to the identification types in the multiple matching rules, the at least one matching rule includes at least one matching record;

根据所述第一用户标识,从所述至少一个匹配记录中确定与所述第一用户标识匹配的第一匹配记录;Determine, from the at least one matching record, a first matching record matching the first user identifier according to the first user identifier;

根据所述第一匹配记录对应的所述第一用户组获得所述第一用户组标识。Obtaining the first user group identifier according to the first user group corresponding to the first matching record.

可选地,所述第一匹配规则还包括优先级参数,所述优先级参数用于指示所述第一匹配规则中的第一匹配记录的优先级,所述处理器401还用于:Optionally, the first matching rule further includes a priority parameter, where the priority parameter is used to indicate the priority of the first matching record in the first matching rule, and the processor 401 is further configured to:

通过所述通信单元获取所述用户的第二用户标识;Acquiring the second user identifier of the user through the communication unit;

根据所述多个匹配规则中的标识类型,从所述多个匹配规则中确定与所述第二用户标识的标识类型相同的至少一个匹配规则,所述至少一个匹配规则包括至少一个匹配记录;Determining at least one matching rule that is the same as the identification type of the second user identifier from the plurality of matching rules according to the identification type in the plurality of matching rules, the at least one matching rule includes at least one matching record;

根据所述第二用户标识,从与所述第二用户标识的标识类型相同的至少一个匹配规则包括的至少一个匹配记录中确定与所述第二用户标识匹配的第二匹配记录;Determining, according to the second user ID, a second matching record matching the second user ID from at least one matching record included in at least one matching rule having the same ID type as the second user ID;

所述处理器401具体用于:The processor 401 is specifically configured to:

当所述第一匹配记录对应的优先级高于所述第二匹配记录对应的优先级时,根据所述第一匹配记录对应的所述第一用户组获得所述第一用户组标识。When the priority corresponding to the first matching record is higher than the priority corresponding to the second matching record, obtaining the first user group identifier according to the first user group corresponding to the first matching record.

可选地,所述第一用户组关联的配置参数中包含优先级参数,所述优先级参数用于指示所述第一用户组关联的配置参数的优先级,所述处理器401还用于:Optionally, the configuration parameter associated with the first user group includes a priority parameter, and the priority parameter is used to indicate the priority of the configuration parameter associated with the first user group, and the processor 401 is further configured to :

通过所述通信单元获取所述用户的第二用户标识;Acquiring the second user identifier of the user through the communication unit;

根据所述多个匹配规则中的标识类型,从所述多个匹配规则中确定与所述第二用户标识的标识类型相同的至少一个匹配规则,所述至少一个匹配规则包括至少一个匹配记录;Determining at least one matching rule that is the same as the identification type of the second user identifier from the plurality of matching rules according to the identification type in the plurality of matching rules, the at least one matching rule includes at least one matching record;

根据所述第二用户标识,从与所述第二用户标识的标识类型相同的至少一个匹配规则包括的至少一个匹配记录中确定与所述第二用户标识匹配的第二匹配记录;Determining, according to the second user ID, a second matching record matching the second user ID from at least one matching record included in at least one matching rule having the same ID type as the second user ID;

根据所述第二匹配记录对应的第二用户组获得第二用户组标识;Obtaining a second user group identifier according to the second user group corresponding to the second matching record;

在执行所述用户的业务流程时,根据所述第二用户组标识确定第二配置参数;When executing the user's business process, determine a second configuration parameter according to the second user group identifier;

所述处理器401具体用于:The processor 401 is specifically configured to:

当所述第一配置参数的第一优先级高于所述第二配置参数的第二优先级时,根据所述第一配置参数控制业务流程动作。When the first priority of the first configuration parameter is higher than the second priority of the second configuration parameter, control the service flow action according to the first configuration parameter.

可选地,所述通信单元405还用于:Optionally, the communication unit 405 is further configured to:

接收所述第一用户组;Receiving the first user group;

接收与所述第一用户组关联的所述第一配置参数。Receiving the first configuration parameter associated with the first user group.

处理器401执行上述步骤的具体方式可以参见上述方法实施例中的相关描述。For the specific manner in which the processor 401 executes the foregoing steps, reference may be made to the relevant description in the foregoing method embodiment.

应理解,上述方法实施例的各步骤可以通过处理器401中的硬件形式的逻辑电路或者软件形式的指令完成。处理器401可以是CPU、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其它可编程逻辑器件,例如,分立门、晶体管逻辑器件或分立硬件组件。It should be understood that each step of the foregoing method embodiment may be completed by a logic circuit in the form of hardware or instructions in the form of software in the processor 401. The processor 401 may be a CPU, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices , For example, discrete gates, transistor logic devices, or discrete hardware components.

本申请还提供了一种计算机程序产品,该计算机程序产品被处理器401执行时实现本申请中任一方法实施例所述的通信方法。This application also provides a computer program product, which, when executed by the processor 401, implements the communication method described in any method embodiment in this application.

该计算机程序产品可以存储在存储器402中,例如是程序404,程序404经过预处理、编译、汇编和链接等处理过程最终被转换为能够被处理器401执行的可执行目标文件。The computer program product may be stored in the memory 402, for example, a program 404, and the program 404 is finally converted into an executable object file that can be executed by the processor 401 through processing processes such as preprocessing, compilation, assembly, and linking.

本申请还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被计算机执行时实现本申请中任一方法实施例所述的通信方法。该计算机程序可以是高级语言程序,也可以是可执行目标程序。This application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the communication method described in any method embodiment in this application is implemented. The computer program can be a high-level language program or an executable target program.

该计算机可读存储介质例如是存储器402。存储器402可以是易失性存储器或非易失 性存储器,或者,存储器402可以同时包括易失性存储器和非易失性存储器。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。The computer-readable storage medium is, for example, the memory 402. The memory 402 may be a volatile memory or a non-volatile memory, or the memory 402 may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electronic Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) ) And direct memory bus random access memory (direct rambus RAM, DR RAM).

本领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit may refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的方法实施例的一些特征可以忽略,或不执行。以上所描述的装置实施例仅仅是示意性的,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,多个单元或组件可以结合或者可以集成到另一个系统。另外,各单元之间的耦合或各个组件之间的耦合可以是直接耦合,也可以是间接耦合,上述耦合包括电的、机械的或其它形式的连接。In the several embodiments provided in this application, the disclosed system, device, and method may be implemented in other ways. For example, some features of the method embodiments described above may be ignored or not implemented. The device embodiments described above are merely illustrative. The division of units is only a logical function division. In actual implementation, there may be other division methods, and multiple units or components may be combined or integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the foregoing coupling includes electrical, mechanical, or other forms of connection.

应理解,在本申请的各种实施例中,各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请的实施例的实施过程构成任何限定。It should be understood that in the various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application. The implementation process constitutes any limitation.

另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中的术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, the terms "system" and "network" in this article are often used interchangeably in this article. The term "and/or" in this article is only an association relationship describing associated objects, which means that there can be three types of relationships. For example, A and/or B can mean that there is A alone, and both A and B exist. There are three cases of B. In addition, the character "/" in this text generally indicates that the associated objects before and after are in an "or" relationship.

总之,以上所述仅为本申请技术方案的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。In short, the above descriptions are only preferred embodiments of the technical solutions of the present application, and are not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the protection scope of this application.

Claims (21)

一种管理用户组的方法,其特征在于,包括:A method for managing user groups, characterized in that it includes: 获取用户的第一用户标识;Obtain the first user ID of the user; 根据所述第一用户标识匹配所述用户所属的第一用户组,获得所述第一用户组对应的第一用户组标识;Match the first user group to which the user belongs according to the first user ID, and obtain the first user group ID corresponding to the first user group; 在执行所述用户的业务流程时,根据所述第一用户组标识确定第一配置参数;When executing the user's business process, determine the first configuration parameter according to the first user group identifier; 根据所述第一配置参数控制业务流程动作。Control business process actions according to the first configuration parameter. 根据权利要求1所述的方法,其特征在于,所述根据所述第一用户标识匹配所述用户所属的第一用户组,获得所述第一用户组对应的第一用户组标识之前,所述方法还包括:The method according to claim 1, wherein before the first user group to which the user belongs is matched according to the first user ID, and the first user group ID corresponding to the first user group is obtained, all The method also includes: 创建所述第一用户组,所述第一用户组包含所述第一用户组标识和第一匹配规则,所述第一匹配规则用于匹配所述第一用户标识和所述第一用户组;Create the first user group, the first user group includes the first user group identifier and a first matching rule, and the first matching rule is used to match the first user identifier and the first user group ; 增加与所述第一用户组关联的所述第一配置参数。Adding the first configuration parameter associated with the first user group. 根据权利要求2所述的方法,其特征在于,所述增加与所述第一用户组关联的所述第一配置参数,包括:The method according to claim 2, wherein the adding the first configuration parameter associated with the first user group comprises: 通过所述第一用户组标识将所述第一配置参数与所述第一用户组关联。Associating the first configuration parameter with the first user group through the first user group identifier. 根据权利要求2或3所述的方法,其特征在于,所述第一匹配规则包含第一匹配记录和标识类型。The method according to claim 2 or 3, wherein the first matching rule includes a first matching record and an identification type. 根据权利要求1至4中任一项所述的方法,其特征在于,所述根据所述第一用户标识匹配所述用户所属的第一用户组,获得所述第一用户组对应的第一用户组标识,包括:The method according to any one of claims 1 to 4, wherein the first user group to which the user belongs is matched according to the first user identifier, and the first user group corresponding to the first user group is obtained. User group ID, including: 根据多个匹配规则中的标识类型,从所述多个匹配规则中确定与所述第一用户标识的标识类型相同的至少一个匹配规则,所述至少一个匹配规则包括至少一个匹配记录;Determining at least one matching rule that is the same as the identification type of the first user identifier from the multiple matching rules according to the identification types in the multiple matching rules, the at least one matching rule includes at least one matching record; 根据所述第一用户标识,从所述至少一个匹配记录中确定与所述第一用户标识匹配的第一匹配记录;Determine, from the at least one matching record, a first matching record matching the first user identifier according to the first user identifier; 根据所述第一匹配记录对应的所述第一用户组获得所述第一用户组标识。Obtaining the first user group identifier according to the first user group corresponding to the first matching record. 根据权利要求5所述的方法,其特征在于,所述第一匹配规则还包括优先级参数,所述优先级参数用于指示所述第一匹配规则中的第一匹配记录的优先级,所述方法还包括:The method according to claim 5, wherein the first matching rule further comprises a priority parameter, and the priority parameter is used to indicate the priority of the first matching record in the first matching rule, so The method also includes: 获取所述用户的第二用户标识;Acquiring the second user ID of the user; 根据所述多个匹配规则中的标识类型,从所述多个匹配规则中确定与所述第二用户标识的标识类型相同的至少一个匹配规则,所述至少一个匹配规则包括至少一个匹配记录;Determining at least one matching rule that is the same as the identification type of the second user identifier from the plurality of matching rules according to the identification type in the plurality of matching rules, the at least one matching rule includes at least one matching record; 根据所述第二用户标识,从与所述第二用户标识的标识类型相同的至少一个匹配规则包括的至少一个匹配记录中确定与所述第二用户标识匹配的第二匹配记录;Determining, according to the second user ID, a second matching record matching the second user ID from at least one matching record included in at least one matching rule having the same ID type as the second user ID; 所述根据所述第一匹配记录对应的所述第一用户组获得所述第一用户组标识,包括:The obtaining the first user group identifier according to the first user group corresponding to the first matching record includes: 当所述第一匹配记录对应的优先级高于所述第二匹配记录对应的优先级时,根据所述第一匹配记录对应的所述第一用户组获得所述第一用户组标识。When the priority corresponding to the first matching record is higher than the priority corresponding to the second matching record, obtaining the first user group identifier according to the first user group corresponding to the first matching record. 根据权利要求5所述的方法,其特征在于,所述第一用户组关联的配置参数中包含优先级参数,所述优先级参数用于指示所述第一用户组关联的配置参数的优先级,所述 方法还包括:The method according to claim 5, wherein the configuration parameter associated with the first user group includes a priority parameter, and the priority parameter is used to indicate the priority of the configuration parameter associated with the first user group , The method further includes: 获取所述用户的第二用户标识;Acquiring the second user ID of the user; 根据所述多个匹配规则中的标识类型,从所述多个匹配规则中确定与所述第二用户标识的标识类型相同的至少一个匹配规则,所述至少一个匹配规则包括至少一个匹配记录;Determining at least one matching rule that is the same as the identification type of the second user identifier from the plurality of matching rules according to the identification type in the plurality of matching rules, the at least one matching rule includes at least one matching record; 根据所述第二用户标识,从与所述第二用户标识的标识类型相同的至少一个匹配规则包括的至少一个匹配记录中确定与所述第二用户标识匹配的第二匹配记录;Determining, according to the second user ID, a second matching record matching the second user ID from at least one matching record included in at least one matching rule having the same ID type as the second user ID; 根据所述第二匹配记录对应的第二用户组获得第二用户组标识;Obtaining a second user group identifier according to the second user group corresponding to the second matching record; 在执行所述用户的业务流程时,根据所述第二用户组标识确定第二配置参数;When executing the user's business process, determine a second configuration parameter according to the second user group identifier; 所述根据所述第一配置参数控制业务流程动作,包括:The controlling business process actions according to the first configuration parameter includes: 当所述第一配置参数的第一优先级高于所述第二配置参数的第二优先级时,根据所述第一配置参数控制业务流程动作。When the first priority of the first configuration parameter is higher than the second priority of the second configuration parameter, control the service flow action according to the first configuration parameter. 根据权利要求2至7中任一项所述的方法,其特征在于,所述创建所述第一用户组之前,所述方法还包括:The method according to any one of claims 2 to 7, wherein before said creating said first user group, said method further comprises: 接收所述第一用户组;Receiving the first user group; 接收与所述第一用户组关联的所述第一配置参数。Receiving the first configuration parameter associated with the first user group. 根据权利要求1至8中任一项所述的方法,其特征在于,所述第一用户组为缺省用户组,其中,所述缺省用户组能够匹配任意用户,匹配到所述第一用户组的用户不能匹配到所述第一用户组外的其他用户组。The method according to any one of claims 1 to 8, wherein the first user group is a default user group, and wherein the default user group can match any user and match the first user group. Users of the user group cannot be matched to other user groups except the first user group. 根据权利要求1至9中任一项所述的方法,其特征在于,所述第一匹配规则中的标识类型包括以下类型中的至少一种:The method according to any one of claims 1 to 9, wherein the identification type in the first matching rule includes at least one of the following types: 国际移动用户识别码IMSI前缀或IMSI号段;International Mobile Subscriber Identity Code IMSI prefix or IMSI number segment; 用户永久标识SUPI前缀或SUPI号段;The user permanently identifies the SUPI prefix or SUPI number segment; 移动台国际用户识别码MSISDN前缀或MSISDN号段;Mobile station international subscriber identification code MSISDN prefix or MSISDN number segment; 通用公共用户标识GPSI前缀或GPSI号段;General public user identification GPSI prefix or GPSI number segment; 国际移动设备识别码的类型分配码IMEI TAC;Type allocation code IMEI TAC of International Mobile Equipment Identity; 签约群组标识前缀或签约群组标识号段或签约群组标识列表;Subscription group identification prefix or subscription group identification number segment or subscription group identification list; 用户使用类型前缀或用户使用类型号段或用户使用类型列表;User use type prefix or user use type number segment or user use type list; 数据网络名称DNN前缀或者DNN列表;Data network name DNN prefix or DNN list; 接入点名称APN前缀或者APN列表;Access point name APN prefix or APN list; 网络切片选择辅助信息NSSAI;Network slice selection auxiliary information NSSAI; 跟踪区域标识TAI前缀或TAI号段或TAI列表;Tracking area identification TAI prefix or TAI number segment or TAI list; 路由区域标识RAI前缀或RAI号段或RAI列表。The routing area identifies the RAI prefix or RAI number segment or RAI list. 一种管理用户组的装置,其特征在于,包括通信单元和处理单元,所述处理单元用于:A device for managing user groups, characterized by comprising a communication unit and a processing unit, the processing unit being used for: 通过所述通信单元获取用户的第一用户标识;Acquiring the first user identification of the user through the communication unit; 根据所述第一用户标识匹配所述用户所属的第一用户组,获得所述第一用户组对应的第一用户组标识;Match the first user group to which the user belongs according to the first user ID, and obtain the first user group ID corresponding to the first user group; 在执行所述用户的业务流程时,根据所述第一用户组标识确定第一配置参数;When executing the user's business process, determine the first configuration parameter according to the first user group identifier; 根据所述第一配置参数控制业务流程动作。Control business process actions according to the first configuration parameter. 根据权利要求11所述的装置,其特征在于,所述处理单元还用于:The device according to claim 11, wherein the processing unit is further configured to: 创建所述第一用户组,所述第一用户组包含所述第一用户组标识和第一匹配规则,所述第一匹配规则用于匹配所述第一用户标识和所述第一用户组;Create the first user group, the first user group includes the first user group identifier and a first matching rule, and the first matching rule is used to match the first user identifier and the first user group ; 增加与所述第一用户组关联的所述第一配置参数。Adding the first configuration parameter associated with the first user group. 根据权利要求12所述的装置,其特征在于,所述处理单元具体用于:The device according to claim 12, wherein the processing unit is specifically configured to: 通过所述第一用户组标识将所述第一配置参数与所述第一用户组关联。Associating the first configuration parameter with the first user group through the first user group identifier. 根据权利要求12或13所述的装置,其特征在于,所述第一匹配规则包含第一匹配记录和标识类型。The device according to claim 12 or 13, wherein the first matching rule comprises a first matching record and an identification type. 根据权利要求11至14中任一项所述的装置,其特征在于,所述处理单元具体用于:The device according to any one of claims 11 to 14, wherein the processing unit is specifically configured to: 根据多个匹配规则中的标识类型,从所述多个匹配规则中确定与所述第一用户标识的标识类型相同的至少一个匹配规则,所述至少一个匹配规则包括至少一个匹配记录;Determining at least one matching rule that is the same as the identification type of the first user identifier from the multiple matching rules according to the identification types in the multiple matching rules, the at least one matching rule includes at least one matching record; 根据所述第一用户标识,从所述至少一个匹配记录中确定与所述第一用户标识匹配的第一匹配记录;Determine, from the at least one matching record, a first matching record matching the first user identifier according to the first user identifier; 根据所述第一匹配记录对应的所述第一用户组获得所述第一用户组标识。Obtaining the first user group identifier according to the first user group corresponding to the first matching record. 根据权利要求15所述的装置,其特征在于,所述第一匹配规则还包括优先级参数,所述优先级参数用于指示所述第一匹配规则中的第一匹配记录的优先级,所述处理单元还用于:The device according to claim 15, wherein the first matching rule further comprises a priority parameter, and the priority parameter is used to indicate the priority of the first matching record in the first matching rule, so The processing unit is also used for: 通过所述通信单元获取所述用户的第二用户标识;Acquiring the second user identifier of the user through the communication unit; 根据所述多个匹配规则中的标识类型,从所述多个匹配规则中确定与所述第二用户标识的标识类型相同的至少一个匹配规则,所述至少一个匹配规则包括至少一个匹配记录;Determining at least one matching rule that is the same as the identification type of the second user identifier from the plurality of matching rules according to the identification type in the plurality of matching rules, the at least one matching rule includes at least one matching record; 根据所述第二用户标识,从与所述第二用户标识的标识类型相同的至少一个匹配规则包括的至少一个匹配记录中确定与所述第二用户标识匹配的第二匹配记录;Determining, according to the second user ID, a second matching record matching the second user ID from at least one matching record included in at least one matching rule having the same ID type as the second user ID; 所述处理单元具体用于:The processing unit is specifically used for: 当所述第一匹配记录对应的优先级高于所述第二匹配记录对应的优先级时,根据所述第一匹配记录对应的所述第一用户组获得所述第一用户组标识。When the priority corresponding to the first matching record is higher than the priority corresponding to the second matching record, obtaining the first user group identifier according to the first user group corresponding to the first matching record. 根据权利要求15所述的装置,其特征在于,所述第一用户组关联的配置参数中包含优先级参数,所述优先级参数用于指示所述第一用户组关联的配置参数的优先级,所述处理单元还用于:The apparatus according to claim 15, wherein the configuration parameter associated with the first user group includes a priority parameter, and the priority parameter is used to indicate the priority of the configuration parameter associated with the first user group , The processing unit is further used for: 通过所述通信单元获取所述用户的第二用户标识;Acquiring the second user identifier of the user through the communication unit; 根据所述多个匹配规则中的标识类型,从所述多个匹配规则中确定与所述第二用户标识的标识类型相同的至少一个匹配规则,所述至少一个匹配规则包括至少一个匹配记录;Determining at least one matching rule that is the same as the identification type of the second user identifier from the plurality of matching rules according to the identification type in the plurality of matching rules, the at least one matching rule includes at least one matching record; 根据所述第二用户标识,从与所述第二用户标识的标识类型相同的至少一个匹配规则包括的至少一个匹配记录中确定与所述第二用户标识匹配的第二匹配记录;Determining, according to the second user ID, a second matching record matching the second user ID from at least one matching record included in at least one matching rule having the same ID type as the second user ID; 根据所述第二匹配记录对应的第二用户组获得第二用户组标识;Obtaining a second user group identifier according to the second user group corresponding to the second matching record; 在执行所述用户的业务流程时,根据所述第二用户组标识确定第二配置参数;When executing the user's business process, determine a second configuration parameter according to the second user group identifier; 所述处理单元具体用于:The processing unit is specifically used for: 当所述第一配置参数的第一优先级高于所述第二配置参数的第二优先级时,根据所述第一配置参数控制业务流程动作。When the first priority of the first configuration parameter is higher than the second priority of the second configuration parameter, control the service flow action according to the first configuration parameter. 根据权利要求12至17中任一项所述的装置,其特征在于,所述通信单元还用于:The device according to any one of claims 12 to 17, wherein the communication unit is further configured to: 接收所述第一用户组;Receiving the first user group; 接收与所述第一用户组关联的所述第一配置参数。Receiving the first configuration parameter associated with the first user group. 根据权利要求11至18中任一项所述的装置,其特征在于,所述第一用户组为缺省用户组,其中,所述缺省用户组能够匹配任意用户,匹配到所述第一用户组的用户不能匹配到所述第一用户组外的其他用户组。The device according to any one of claims 11 to 18, wherein the first user group is a default user group, wherein the default user group can match any user and match the first user group. Users of the user group cannot be matched to other user groups except the first user group. 根据权利要求11至19中任一项所述的装置,其特征在于,所述第一匹配规则中的标识类型包括以下类型中的至少一种:The device according to any one of claims 11 to 19, wherein the identification type in the first matching rule includes at least one of the following types: 国际移动用户识别码IMSI前缀或IMSI号段;International Mobile Subscriber Identity Code IMSI prefix or IMSI number segment; 用户永久标识SUPI前缀或SUPI号段;The user permanently identifies the SUPI prefix or SUPI number segment; 移动台国际用户识别码MSISDN前缀或MSISDN号段;Mobile station international subscriber identification code MSISDN prefix or MSISDN number segment; 通用公共用户标识GPSI前缀或GPSI号段;General public user identification GPSI prefix or GPSI number segment; 国际移动设备识别码的类型分配码IMEI TAC;Type allocation code IMEI TAC of International Mobile Equipment Identity; 签约群组标识前缀或签约群组标识号段或签约群组标识列表;Subscription group identification prefix or subscription group identification number segment or subscription group identification list; 用户使用类型前缀或用户使用类型号段或用户使用类型列表;User use type prefix or user use type number segment or user use type list; 数据网络名称DNN前缀或者DNN列表;Data network name DNN prefix or DNN list; 接入点名称APN前缀或者APN列表;Access point name APN prefix or APN list; 网络切片选择辅助信息NSSAI;Network slice selection auxiliary information NSSAI; 跟踪区域标识TAI前缀或TAI号段或TAI列表;Tracking area identification TAI prefix or TAI number segment or TAI list; 路由区域标识RAI前缀或RAI号段或RAI列表。The routing area identifies the RAI prefix or RAI number segment or RAI list. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储了计算机程序,当所述计算机程序被处理器执行时,使得处理器执行权利要求1至10中任一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor executes any one of claims 1 to 10 The method described.
PCT/CN2020/095434 2019-06-28 2020-06-10 Method and apparatus for managing user group Ceased WO2020259290A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910571710.2A CN112153579A (en) 2019-06-28 2019-06-28 Method and device for managing user group
CN201910571710.2 2019-06-28

Publications (1)

Publication Number Publication Date
WO2020259290A1 true WO2020259290A1 (en) 2020-12-30

Family

ID=73869007

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/095434 Ceased WO2020259290A1 (en) 2019-06-28 2020-06-10 Method and apparatus for managing user group

Country Status (2)

Country Link
CN (1) CN112153579A (en)
WO (1) WO2020259290A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116028107B (en) * 2023-02-28 2023-08-11 广州市高科通信技术股份有限公司 Custom-based device parameter management method, apparatus and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585519A (en) * 2004-06-04 2005-02-23 中兴通讯股份有限公司 Charging information collecting and charging method of digital cluster system
CN1684420A (en) * 2004-04-16 2005-10-19 华为技术有限公司 Method for realizing group data service charging and controlling service cut-in
CN101938674A (en) * 2010-09-19 2011-01-05 中兴通讯股份有限公司 Method and system for realizing call barring service
WO2011123755A1 (en) * 2010-04-02 2011-10-06 Interdigital Patent Holdings, Inc. Group procedures for machine type communications devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016090576A1 (en) * 2014-12-10 2016-06-16 华为技术有限公司 Management method for wireless communication system and related apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1684420A (en) * 2004-04-16 2005-10-19 华为技术有限公司 Method for realizing group data service charging and controlling service cut-in
CN1585519A (en) * 2004-06-04 2005-02-23 中兴通讯股份有限公司 Charging information collecting and charging method of digital cluster system
WO2011123755A1 (en) * 2010-04-02 2011-10-06 Interdigital Patent Holdings, Inc. Group procedures for machine type communications devices
CN101938674A (en) * 2010-09-19 2011-01-05 中兴通讯股份有限公司 Method and system for realizing call barring service

Also Published As

Publication number Publication date
CN112153579A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
US11582596B2 (en) Method for updating policy information, network device and terminal device
US10505718B1 (en) Systems, devices, and techniques for registering user equipment (UE) in wireless networks using a native blockchain platform
CN108574969B (en) Connection processing method and device in multi-access scenario
EP3910913B1 (en) Data transmission method, device, and system
EP3487196B1 (en) Privacy managing entity selection in communication system
KR102648031B1 (en) Session management method and device
CN108702381B (en) Message transmission method and core network interface equipment
CN111132238B (en) Network access method and device
WO2019076167A1 (en) Method for transmitting data, terminal device, session management function (smf) device
WO2020048469A1 (en) Communication method and apparatus
EP4319232A1 (en) Communication method and apparatus
CN115989689B (en) Methods and apparatus for user equipment authentication and authorization procedures in edge data networks
WO2021138822A1 (en) Subscription information acquisition method and device
US12238154B2 (en) Multicast session establishment method and network device
CN115334490B (en) Network Slice Admission Control (NSAC) discovery and roaming enhancements
CN115843447B (en) Network authentication for user equipment access to edge data networks
CN114189844B (en) Terminal cross-region communication method, network element equipment and storage medium
WO2021248971A1 (en) Network access method, electronic device, and storage medium
EP2564555B1 (en) Managing access gateways
US20220263674A1 (en) Communication method and related apparatus
CN116210252A (en) Network operations to receive user consent for edge computation
WO2020259290A1 (en) Method and apparatus for managing user group
JP2023552243A (en) Method and device for transmitting user identifiers
JP7675852B2 (en) Data acquisition method and system, and device therefor
WO2023116356A1 (en) Information configuration method and apparatus, and related devices and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20833297

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20833297

Country of ref document: EP

Kind code of ref document: A1