CN116545777B - User category switching method and device, storage medium and electronic equipment - Google Patents

User category switching method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116545777B
CN116545777B CN202310822481.3A CN202310822481A CN116545777B CN 116545777 B CN116545777 B CN 116545777B CN 202310822481 A CN202310822481 A CN 202310822481A CN 116545777 B CN116545777 B CN 116545777B
Authority
CN
China
Prior art keywords
user
category
user terminal
user category
subscription data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310822481.3A
Other languages
Chinese (zh)
Other versions
CN116545777A (en
Inventor
彭莉
马金兰
朱晓洁
雷多萍
刘智德
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202310822481.3A priority Critical patent/CN116545777B/en
Publication of CN116545777A publication Critical patent/CN116545777A/en
Application granted granted Critical
Publication of CN116545777B publication Critical patent/CN116545777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/104Grouping of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure provides a user class switching method, a device, a storage medium and electronic equipment, and relates to the technical field of computers and communication. The user category switching method applied to the data warehouse module comprises the following steps: receiving a second switching request sent by a user category management module; the user category management module responds to a first switching request initiated by the user terminal, and sends a second switching request after updating the current user category attribution identifier of the user terminal; the first switching request is used for requesting to switch the user terminal from the first user category to the second user category; acquiring second subscription data of a second user category subscribed by the user terminal from the stored service subscription data according to the current user category attribution identifier of the user terminal; and sending the second subscription data to a service management module, so that the service management module provides the service under the second user category to the user terminal based on the second subscription data. The method and the device improve the convenience of switching between different user categories.

Description

User category switching method and device, storage medium and electronic equipment
Technical Field
The disclosure relates to the technical field of computers and communications, and in particular relates to a user category switching method, a user category switching device, a computer readable storage medium and electronic equipment.
Background
When using communication or internet services, users may need to accept services with different identities. For example, a user may need to receive corresponding services in the form of general public users, corporate customer service center operators, government agency temporary volunteers, and the like, respectively. Each identity may be referred to as a class of users, with the types of communications or internet traffic to which the different classes of users relate generally being different.
In the related art, services of different user categories are mutually independent, and convenient switching among the different user categories is difficult to realize.
Disclosure of Invention
The disclosure provides a user category switching method, a device, a computer readable storage medium and an electronic device, so as to solve the problem that the related technology is difficult to realize convenient switching between different user categories to at least a certain extent.
According to a first aspect of the present disclosure, there is provided a user class switching method applied to a data warehouse module, the method comprising: receiving a second switching request sent by a user category management module; the user category management module responds to a first switching request initiated by a user terminal, and sends a second switching request after updating the current user category attribution identifier of the user terminal; the first switching request is used for requesting to switch the user terminal from a first user category to a second user category, and the second switching request comprises a current user category attribution identifier of the user terminal; acquiring second subscription data of the second user category subscribed by the user terminal from stored service subscription data according to the current user category attribution identifier of the user terminal; and sending the second subscription data to a service management module, so that the service management module provides the service under the second user category to the user terminal based on the second subscription data.
According to a second aspect of the present disclosure, there is provided a user category switching method applied to a user category management module, the method comprising: responding to a first switching request initiated by a user terminal, and updating the current user category attribution identification of the user terminal; the first switching request is used for requesting to switch the user terminal from a first user category to a second user category; generating a second switching request comprising the current user category attribution identification of the user terminal after updating the current user category attribution identification of the user terminal; and sending the second switching request to a data warehouse module, so that the data warehouse module acquires second subscription data of the second user category of the user terminal from stored service subscription data according to the current user category attribution identification of the user terminal, and sends the second subscription data to a service management module, and further, the service management module provides services under the second user category for the user terminal based on the second subscription data.
According to a third aspect of the present disclosure, there is provided a user class switching apparatus provided to a data warehouse module, the apparatus comprising: a second handover request receiving unit configured to receive a second handover request transmitted by the user category management module; the user category management module responds to a first switching request initiated by a user terminal, and sends a second switching request after updating the current user category attribution identifier of the user terminal; the first switching request is used for requesting to switch the user terminal from a first user category to a second user category, and the second switching request comprises a current user category attribution identifier of the user terminal; a second subscription data obtaining unit, configured to obtain second subscription data of the second user category subscribed by the user terminal from stored service subscription data according to the current user category attribution identifier of the user terminal; and the second subscription data sending unit is configured to send the second subscription data to a service management module, so that the service management module provides the service under the second user category to the user terminal based on the second subscription data.
According to a fourth aspect of the present disclosure, there is provided a user category switching device provided to a user category management module, the device including: the system comprises a current user category attribution identification updating unit, a current user category attribution identification updating unit and a user terminal, wherein the current user category attribution identification updating unit is configured to respond to a first switching request initiated by the user terminal; the first switching request is used for requesting to switch the user terminal from a first user category to a second user category; a second handover request generating unit configured to generate a second handover request including a current user category home identifier of the user terminal after updating the current user category home identifier of the user terminal; and the second switching request sending unit is configured to send the second switching request to a data warehouse module, so that the data warehouse module obtains second subscription data of the second user category signed by the user terminal from stored service subscription data according to the current user category attribution identification of the user terminal, and sends the second subscription data to a service management module, and further the service management module provides services under the second user category for the user terminal based on the second subscription data.
According to a fifth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the user class switching method of the first or second aspect and possible implementations thereof.
According to a sixth aspect of the present disclosure, there is provided an electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the user class switching method of the first or second aspect described above and possible implementations thereof via execution of the executable instructions.
The technical scheme of the present disclosure has the following beneficial effects:
on the one hand, the user terminal can have at least two user categories such as a first user category, a second user category and the like, so that the same user terminal can have the identities of multiple user categories and accept the services of multiple business types. On the other hand, the convenience of switching the user terminal among different user categories is improved, when the user category is switched, the interaction process between the user terminal and each module of the network end or the service end is simplified, the pressure of the network end or the service end is reduced, the time and the operation cost of the user are reduced, and the user experience is improved.
Drawings
Fig. 1 shows a system architecture diagram of an operating environment of the present exemplary embodiment.
Fig. 2 shows a flowchart of a user category switching method applied to a data warehouse module in the present exemplary embodiment.
Fig. 3 shows an interactive flow chart of user class switching in the present exemplary embodiment.
Fig. 4 shows a flowchart of signing up a preset user category in the present exemplary embodiment.
Fig. 5 shows an interactive flowchart for signing a preset user category in the present exemplary embodiment.
Fig. 6 shows a flowchart of registration as the first user category in the present exemplary embodiment.
Fig. 7 shows an interaction flow diagram registered as the first user category in the present exemplary embodiment.
Fig. 8 shows a flowchart of a user category switching method applied to the user category management module in the present exemplary embodiment.
Fig. 9 is a schematic diagram showing the configuration of a user class switching device provided in a data warehouse module in the present exemplary embodiment.
Fig. 10 is a schematic diagram showing the configuration of a user class switching device provided in the user class management module in the present exemplary embodiment.
Fig. 11 shows a schematic structural diagram of an electronic device in the present exemplary embodiment.
Detailed Description
Exemplary embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings.
The drawings are schematic illustrations of the present disclosure and are not necessarily drawn to scale. Some of the block diagrams shown in the figures may be functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in hardware modules or integrated circuits, or in networks, processors or microcontrollers. Embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein. The described features, structures, or characteristics of the disclosure may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough description of embodiments of the present disclosure. However, it will be recognized by one skilled in the art that one or more of the specific details may be omitted, or other methods, components, devices, steps, etc. may be used instead of one or more of the specific details in implementing the aspects of the present disclosure.
An operator or internet service provider may offer a plurality of service types, each corresponding to a user category. For example, in multimedia communication services, services of different service types such as audio, video, AR (Augmented Reality ), VR (Virtual Reality), holographic communication, etc. may be provided, a user who receives an audio service is one user category, a user who receives a video service is another user category, and so on.
Currently, users may not be able to simultaneously belong to different user categories using the same user identification. Moreover, the services of different user categories are mutually independent, and if a user wants to switch from one user category to another user category, the processes of service registration, initialization and the like are usually required to be carried out again under the latter user category, which is complicated. That is, it is difficult to achieve a convenient handoff between different user categories. Therefore, the pressure of the network side or the service side can be increased, the time and the operation cost of the user side can be increased, and the user experience is affected.
In view of the foregoing, exemplary embodiments of the present disclosure provide a user category switching method capable of improving convenience in switching between different user categories.
Fig. 1 shows a system architecture diagram of an operating environment of the present exemplary embodiment. The system architecture 100 may include a user terminal 110, a user category management module 120, a traffic management module 130, and a data warehouse module 140. The user terminal 110 may be a mobile phone, a personal computer, a tablet computer, an intelligent wearable device, or the like, and in an embodiment, the present disclosure may be applied to a multimedia communication service, and the user terminal 110 may be a multimedia communication terminal. The user category management module 120, the service management module 130, and the data warehouse module 140 may be functional modules on an entity network element or an entity device. The user category management module 120 is responsible for managing user categories and subscribers of each user category, and may include switching user categories, opening or closing accounts of subscribers of the user categories, and the like. The service management module 130 is configured to provide service under one or more specific user categories, for example, the service management module 130 may be a session management module, and provide session services to the user terminal 110. The data warehouse module 140 is configured to manage and process data in the data warehouse, and may include service subscription data of different user categories subscribed to by the user terminal 110, information of the user terminal 110, and the like. The user terminal 110 and each module, or between different modules, may form a connection through a wired or wireless communication link for data transmission.
Fig. 2 shows a flow of a user category switching method performed by the data warehouse module 140, which may include the following steps S210 to S230:
step S210, receiving a second switching request sent by the user category management module 120; the user category management module 120 responds to the first switching request initiated by the user terminal 110, and sends a second switching request after updating the home identifier of the current user category of the user terminal 110; the first switching request is used for requesting to switch the user terminal 110 from the first user category to the second user category, and the second switching request comprises the attribution identifier of the current user category of the user terminal 110;
step S220, according to the attribution identification of the current user category of the user terminal 110, second subscription data of the user terminal 110 subscribing to a second user category is obtained from the stored service subscription data;
in step S230, the second subscription data is sent to the service management module 130, so that the service management module 130 provides the service under the second user category to the user terminal 110 based on the second subscription data.
Based on the method shown in fig. 2, on one hand, the user terminal can have at least two user categories, such as a first user category, a second user category, and the like, so that the same user terminal can have identities of multiple user categories and accept services of multiple business types. On the other hand, the convenience of switching the user terminal among different user categories is improved, when the user category is switched, the interaction process between the user terminal and each module of the network end or the service end is simplified, the pressure of the network end or the service end is reduced, the time and the operation cost of the user are reduced, and the user experience is improved.
Each step in fig. 2 is described in detail below.
Referring to fig. 2, in step S210, a second handover request transmitted by the user category management module 120 is received; the user category management module 120 responds to the first switching request initiated by the user terminal 110, and sends a second switching request after updating the home identifier of the current user category of the user terminal 110; the first handover request is for requesting a handover of the user terminal 110 from the first user category to the second user category, and the second handover request includes a home identity of a current user category of the user terminal 110.
The first user category and the second user category can be any two user categories in preset user categories. The preset user category refers to a user category supporting user category switching, for example, the user category may be a user category corresponding to multiple service types provided by the same operator or an internet service provider. The first user category and the second user category are two different user categories, for example, the first user category may be government emergency volunteers and the second user category may be an enterprise customer service center operator.
The user terminal 110 initiates a first handover request in response to a trigger operation of user class handover. For example, the user terminal 110 logs into a website or applet managed by the user category, and initiates the first switching request when selecting to switch from the first user category to the second user category, or when switching from the application of the first user category to the application of the second user category, or when the user terminal 110 switches from the interface of the first user category to the interface of the second user category in the application. In one embodiment, the ue 110 may be configured to log in only one user class at a time, so that when the ue 110 logs in to the first user class, if it needs to log in to the second user class, the ue may initiate the first handover request. The first handover request is transmitted by the user terminal 110 to the user category management module 120. In one embodiment, the user terminal 110 may also send a login request to the user category management module 120 to login to the second user category, and the user category management module 120 may identify the login request as the first handover request if it detects that the user terminal 110 has logged into the first user category.
The current user category home identifier is used to identify a user category of the user terminal 110 that is currently logged in or requests to log in, and may be a category identifier of the user category, or may be a unique identifier of each user category, or may be an identifier generated by combining a user identifier of the user terminal 110 and a category identifier of the user category. The first handover request may include a user identifier of the user terminal 110, such as a mobile phone number, an account number of the user, an IMEI (International Mobile Equipment Identity ), a MAC (Media Access Control, which is translated into a media access control address), and other device identification information. After receiving the first handover request, the user category management module 120 may update the current user category home identifier of the user terminal 110, where the user category home identifier of the user terminal 110 is the user category home identifier of the first user category, and the user category home identifier of the user terminal 110 is the user category home identifier of the second user category.
In one embodiment, after the user category management module 120 receives the first handover request, the user category management module 120 may determine, according to the user identifier of the user terminal 110 and the category identifier of the second user category, a user category home identifier of the second user category to which the user terminal 110 belongs, and use the user category home identifier as the current user category home identifier, so as to complete updating of the current user category home identifier. For example, the user identifier of the user terminal 110 and the category identifier of the second user category may be combined into one character string, which is used as the user category attribution identifier; the user identifier of the user terminal 110 and the category identifier of the second user category may be combined, and then the combined character string may be processed (e.g., hashed), and the processing result (e.g., hashed result) may be used as the user category attribute identifier. Thus, the user identification and the category identification are combined to form the user category attribution identification, so that the user category attribution identification has uniqueness, and one user identification can generate a plurality of user category attribution identifications by combining different category identifications, so that one user can have the identities of a plurality of user categories.
After updating the current user category attribution identifier of the user terminal 110, the user category management module 120 generates a second handover request based on the updated current user category attribution identifier, where the second handover request includes the current user category attribution identifier. The user category management module 120 sends a second handoff request to the data warehouse module 140. The data warehouse module 140 receives the second handover request, and can obtain information that the user terminal 110 requests to switch to the second user category.
With continued reference to fig. 2, in step S220, second subscription data of the user terminal 110 subscribed to the second user category is obtained from the stored service subscription data according to the current user category home identifier of the user terminal 110.
The data warehouse can store the service subscription data of different user categories subscribed by different user terminals 110, so as to realize the unified storage of the service subscription data of different user categories, thereby facilitating the subsequent searching and the switching of the user categories. When storing service subscription data, the user category attribution identifier (such as a merging character string of the user identifier and the category identifier, or a hash operation result of the merging character string, etc.) may be used as an index, or the "user identifier+category identifier" may be used as an index. If the user category attribution identifier is used as an index, the index can be realized through one field, so that the efficiency of storage and subsequent searching is improved.
The second subscription data refers to service subscription data of the user terminal 110 subscribing to the second user category. The data warehouse module 140 obtains the current user category attribution identifier of the user terminal 110 from the second handover request, and searches whether the second subscription data exists in the stored service subscription data according to the current user category attribution identifier. If so, the user terminal 110 signs up for the second user category, and may provide services in the second user category, and obtain the second sign-up data for subsequent processing. If not, indicating that the user terminal 110 does not sign up for the second user category, the feedback information rejecting the second handover request may be sent to the user category management module 120, and the user category management module 120 further sends the feedback information rejecting the first handover request to the user terminal 110.
With continued reference to fig. 2, in step S230, the second subscription data is sent to the service management module 130, so that the service management module 130 provides the service under the second user category to the user terminal 110 based on the second subscription data.
In the case that the data warehouse module 140 finds the second subscription data, the second subscription data is sent to the service management module 130, and after receiving the second subscription data, the service management module 130 determines that the service under the second user category can be provided to the user terminal 110. Thus, the user terminal 110 can obtain the service in the second user category, and switch from the first user category to the second user category is realized.
In one embodiment, the interactive flow of user class switching may be shown with reference to fig. 3, and includes the following steps:
in step S301, the user terminal 110 initiates a first handover request requesting a handover from a first user category to a second user category.
In step S302, the user category management module 120 updates the current user category home identifier of the user terminal 110 in response to receiving the first handover request, and generates a second handover request, where the second handover request includes the updated current user category home identifier.
In step S303, the user category management module 120 sends a second handover request to the data warehouse module 140.
In step S304, after receiving the second handover request, the data warehouse module 140 obtains second subscription data according to the current user category home identifier, where the second subscription data is service subscription data of the user terminal 110 subscribed to the second user category.
In step S305, if the second subscription data is obtained, which indicates that the ue 110 has subscribed to the second user category, the data warehouse module 140 sends a handover success feedback to the ue category management module 120, and the ue category management module 120 sends the handover success feedback to the ue 110 to inform the ue 110 that the handover to the second user category is successful.
In step S306, the data warehouse module 140 sends the second subscription data to the service management module 130 to inform the service management module 130 about the information that the user terminal 120 switches to the second user class.
In step S307, the service management module 130 updates the service subscription data of the user terminal 110 to the second subscription data.
In step S308, the user terminal 110 sends a service request to the service management module 130, where the service request is a service request under the second user category.
In step S309, the traffic management module 130 triggers related traffic services according to the second subscription data to provide services under the second user category to the user terminal 110.
In one embodiment, referring to fig. 4, the user category switching method may further include the following steps S410 and S420:
step S410, receiving subscription information of a preset user category, including a first user category or a second user category, sent by the user category management module 120, for the user terminal 110 to sign up;
step S420, new service subscription data is generated according to the subscription information and updated into the service subscription data, wherein the new service subscription data comprises a user category attribution identifier of a preset user category to which the user terminal 110 belongs.
Fig. 4 is a process of signing up the preset user category by the ue 110, which may be performed before the user category is switched, for example, before step S210. For example, the user terminal 110 switches from the first user category to the second user category, requiring a subscription to the first user category and the second user category in advance.
The preset user category refers to a user category supporting user category switching, and can be a first user category or a second user category, and can also be other user categories supporting switching. Subscription may be initiated by the user terminal 110 or the user category management module 120. For example, the user terminal 110 may request a subscription preset user category from the user category management module 120 and transmit subscription information. Or, the user may submit the subscription information in an offline manner, and the staff in charge of subscription enters the subscription information into the user category management module 120, and the user category management module 120 initiates subscription. The subscription information may include a user identifier of the user terminal 110, a category identifier of a preset user category, a related account password, text, image, audio or video data, etc. of the subscription performed by the user, and subscription information of other aspects.
The subscriber category management module 120 transmits the subscription information to the data warehouse module 140. After receiving the data warehouse module 140, the data warehouse module generates new service subscription data, where the new service subscription data includes a user category attribution identifier of a preset user category to which the user terminal 110 belongs, and updates the new service subscription data to existing service subscription data, for example, the new service subscription data may be added to the service subscription data set to form a new record.
In one embodiment, the data warehouse module 140 may store the new service subscription data in the service subscription data with the user identifier of the user terminal 110 as the primary index, so that the service subscription data of the user terminal 110 is added with the service subscription data under the preset user category, for example, the service subscription data with the category identifier of the preset user category as the secondary index is added in the service subscription data of the user terminal 110.
In one embodiment, after generating the new service subscription data and updating the new service subscription data into the service subscription data, the data warehouse module 140 may send the subscription success feedback to the user category management module 120, and the user category management module 120 may further send the subscription success feedback to the user terminal 110, so as to inform the user terminal 110 that the subscription is successful.
In one embodiment, the subscription information may include a user identifier of the user terminal and a category identifier of a preset user category; the generating new service subscription data according to the subscription information may include the following steps:
and generating a user category attribution identifier of the preset user category to which the user terminal 110 belongs according to the user identifier of the user terminal 110 and the category identifier of the preset user category, and generating new service subscription data by taking the user category attribution identifier as an index.
The data warehouse module 140 may combine the user identifier of the user terminal 110 and the category identifier of the preset user category, use the combined character string as the user category attribution identifier of the preset user category to which the user terminal 110 belongs, or perform processing such as hash operation on the combined character string, and use the hash operation result and the like as the user category attribution identifier of the preset user category to which the user terminal 110 belongs. And generating new service subscription data by taking the user category attribution identifier as an index, wherein the information except the identifier in the subscription information can be taken as data corresponding to the user category attribution identifier to generate the new service subscription data taking the user category attribution identifier as the index. Therefore, only one index field is set in the new service subscription data, the user identification of the user terminal 110 and the category identification of the preset user category can be indexed, and the two index fields are not required to be set for the user identification and the category identification, thereby being beneficial to simplifying the flow of service subscription data and subsequent searching of related service subscription data and improving the efficiency.
In one embodiment, the interaction flow for signing up the preset user category may be shown with reference to fig. 5, and includes the following steps:
in step S501, the user category management module 120 initiates a subscription process of the user terminal 110 for subscribing to a preset user category, and obtains subscription information.
In step S502, the user category management module 120 sends the subscription information to the data warehouse module 140.
In step S503, after receiving the subscription information, the data warehouse module 140 generates new service subscription data according to the subscription information, including the user category attribution identifier of the preset user category, and updates the new service subscription data to the existing service subscription data.
In step S504, the data warehouse module 140 sends a subscription success feedback to the user category management module 120, and the user category management module 120 sends a subscription success feedback to the user terminal 110.
Fig. 4 or fig. 5 may be a flow of each subscription, and thus, in the service subscription data stored in the data repository, each record may use the corresponding user category home identifier as an index, so as to facilitate searching for the corresponding service subscription data when performing the user category switching, for example, to facilitate the data repository module 140 searching for the second subscription data in step S220.
In one embodiment, before receiving the second handover request sent by the user class management module 120, referring to fig. 6, the user class handover method may further include the following steps S610 to S630:
step S610, receiving a registration request sent by the service management module 130 for requesting the user terminal 110 to register as the first user class;
step S620, under the condition that the authentication of the registration request is successful, according to the user category attribution identification of the first user category to which the user terminal 110 is attributed, acquiring first subscription data of the first user category to which the user terminal 110 is subscribed from the stored service subscription data;
in step S630, the first subscription data is sent to the service management module 130, so that the service management module 130 determines that the user terminal 110 is successfully registered based on the first subscription data.
Fig. 6 is a process of registering the user terminal 110 as the first user category, which may be performed after the user terminal 110 has subscribed to the first user category. For example, the user terminal 110 may trigger a request to register as the first user category each time it is powered on in case of having subscribed to the first user category. Alternatively, the user terminal 110 triggers a request to register as the first user category when logging into an application or interface of the first user category in the case of having subscribed to the first user category.
The user terminal 110 may initiate registration with the service management module 130, and the service management module 130 obtains a registration request and sends it to the data warehouse module 140. The registration request may include a user identification of the user terminal 110, a category identification of the first user category, or a user category home identification of the first user category to which the user terminal 110 is assigned. And related account passwords, information for authentication and the like can be also included.
After receiving the registration request, the data warehouse module 140 performs authentication, such as checking the verification code in the registration request, checking the identity of the user terminal 110, and so on. And under the condition that the authentication is successful, searching whether the first subscription data exists in the stored service subscription data according to the user category attribution identification of the first user category attribution by the user terminal 110. The first subscription data is first subscription data of the user terminal 110 subscribing to the first user category. If so, the user terminal 110 may acquire the first subscription data to perform subsequent processing. If not, it indicates that the user terminal 110 does not sign up for the first user category.
In one embodiment, if the authentication of the registration request is unsuccessful, or the first subscription data is not found, a registration unsuccessful feedback may be sent to the service management module 130, where the feedback may further include a cause (such as an error code) of the unsuccessful, and the service management module 130 may further send the registration unsuccessful feedback to the user terminal 110.
The data warehouse module 140 sends the first subscription data to the service management module 130 when the first subscription data is acquired, and the service management module 130 receives the first subscription data, which means that the user terminal 110 is successfully registered. The service management module 130 may send registration success feedback to the user terminal 110. Next, the traffic management module 130 may provide the user terminal 110 with the service under the first user category.
In one embodiment, the interaction flow registered as the first user category may be as shown with reference to fig. 7, comprising the steps of:
in step S701, the user terminal 110 initiates registration as the first user category.
In step S702, the service management module 130 obtains a registration request.
In step S703, the service management module 130 transmits a registration request to the data warehouse module 140.
In step S704, the data warehouse module 140 performs authentication after receiving the registration request, and obtains the first subscription data according to the user category home identifier of the first user category to which the user terminal 110 belongs if the authentication is successful.
In step S705, the data warehouse module 140 sends the first subscription data to the service management module 130.
In step S706, the service management module 130 records the first subscription data of the user terminal 110.
In step S707, the service management module 130 sends a registration success feedback to the user terminal 110.
Fig. 8 shows a flow of a user category switching method performed by the user category management module 120, which may include the following steps S810 to S830:
step S810, in response to the first switching request initiated by the user terminal 110, updating the current user category attribution identification of the user terminal 110; the first switching request is for requesting switching of the user terminal 110 from the first user category to the second user category;
step S820, after updating the current user category attribution identification of the user terminal 110, generating a second handover request including the current user category attribution identification of the user terminal 110;
in step S830, the second handover request is sent to the data warehouse module 140, so that the data warehouse module 140 obtains the second subscription data of the second user category subscribed by the user terminal 110 from the stored service subscription data according to the current user category attribution identifier of the user terminal 110, and sends the second subscription data to the service management module 130, so that the service management module 130 provides the service under the second user category to the user terminal 110 based on the second subscription data.
In one embodiment, the first handover request includes a user identification of the user terminal 110 and a category identification of the second user category. The updating the current user category home identifier of the user terminal 110 in response to the first handover request initiated by the user terminal 110 may include the following steps:
In response to the first handover request, a user category home identifier of the second user category to which the user terminal 110 belongs is generated according to the user identifier of the user terminal 110 and the category identifier of the second user category, and the current user category home identifier of the user terminal 110 is updated to the user category home identifier.
The user category management module 120 may combine the user identifier of the user terminal 110 and the category identifier of the second user category, and use the combined character string as the user category attribution identifier of the second user category attributed to the user terminal 110, or perform hash operation on the combined character string to obtain the user category attribution identifier of the second user category attributed to the user terminal 110. Further, the current user category home identifier is updated to the user category home identifier, so that the current user category home identifier includes information of the user identifier of the user terminal 110 and the category identifier of the second user category, and the data warehouse module 140 conveniently searches the second subscription data according to the current user category home identifier.
In one embodiment, the network side or the service side may be deployed as a multimedia communication service side, and may further include any one or more of the following modules in addition to the user category management module 120, the service management module 130, and the data repository 140:
And the media computing power resource scheduling module is used for distributing corresponding target media computing power modules for each media based on the media type identification in the service request and the functions and performances of each media computing power module in the idle state currently.
QoS (Quality of Service ) rules engine module, by setting QoS rules, allows services to adhere to the rules to guarantee quality of service.
And the sensitive media security management and control module is used for managing and controlling sensitive media information such as privacy and the like.
Therefore, the user category switching scheme in the present exemplary embodiment can share the infrastructure of the multimedia communication service end, and provide the user with multi-user category attribution and switching of the unified user identifier by using the infrastructure of the multimedia communication end, so as to reduce the service deployment cost and improve the service deployment range and efficiency.
Exemplary embodiments of the present disclosure also provide a user category switching device that may be provided to the data warehouse module 140. Referring to fig. 9, the user category switching device 900 may include the following program elements:
a second handover request receiving unit 910 configured to receive a second handover request transmitted by the user category management module 120; the user category management module 120 responds to the first switching request initiated by the user terminal 110, and sends a second switching request after updating the home identifier of the current user category of the user terminal 110; the first switching request is used for requesting to switch the user terminal 110 from the first user category to the second user category, and the second switching request comprises the attribution identifier of the current user category of the user terminal 110;
A second subscription data obtaining unit 920, configured to obtain second subscription data of the second user category subscribed by the user terminal 110 from the stored service subscription data according to the home identifier of the current user category of the user terminal 110;
the second subscription data sending unit 930 is configured to send the second subscription data to the service management module 130, so that the service management module 130 provides the service under the second user category to the user terminal 110 based on the second subscription data.
In one embodiment, the user class switching apparatus 900 may further include a subscription processing unit configured to:
receiving subscription information of a preset user category, which is sent by the user category management module 120 and is signed by the user terminal 110, wherein the preset user category comprises a first user category or a second user category;
and generating new service subscription data according to the subscription information and updating the new service subscription data into the service subscription data, wherein the new service subscription data comprises a user category attribution identifier of a preset user category to which the user terminal 110 belongs.
In one embodiment, the subscription information includes a user identification of the user terminal 110 and a category identification of a preset user category; the generating new service subscription data according to the subscription information includes:
And generating a user category attribution identifier of the preset user category to which the user terminal 110 belongs according to the user identifier of the user terminal 110 and the category identifier of the preset user category, and generating new service subscription data by taking the user category attribution identifier as an index.
In one embodiment, the user class switching apparatus 900 may further include a registration processing unit configured to: before receiving the second handover request sent by the user class management module 120, the user terminal 110 sent by the service management module 130 requests a registration request for registering as the first user class; under the condition that the authentication of the registration request is successful, acquiring first subscription data of the first user category subscribed by the user terminal 110 from the stored service subscription data according to the user category attribution identifier of the first user category attribution by the user terminal 110; the first subscription data is sent to the service management module 130, so that the service management module 130 determines that the user terminal 110 is successfully registered based on the first subscription data.
The exemplary embodiments of the present disclosure also provide another user category switching device, which may be disposed in the user category management module 120. Referring to fig. 10, the user category switching device 1000 may include the following program elements:
A current user category home identity updating unit 1010 configured to update a current user category home identity of the user terminal 110 in response to a first handover request initiated by the user terminal 110; the first switching request is for requesting switching of the user terminal 110 from the first user category to the second user category;
a second handover request generating unit 1020 configured to generate a second handover request including the current user category home identifier of the user terminal 110 after updating the current user category home identifier of the user terminal 110;
the second handover request sending unit 1030 is configured to send a second handover request to the data warehouse module 140, so that the data warehouse module 140 obtains second subscription data of the user terminal 110 subscribed to the second user category from the stored service subscription data according to the current user category attribution identifier of the user terminal 110, and sends the second subscription data to the service management module 130, and further, the service management module 130 provides services under the second user category to the user terminal 110 based on the second subscription data.
In one embodiment, the first handover request includes a user identification of the user terminal 110 and a category identification of the second user category; the updating the current user category home identifier of the user terminal 110 in response to the first handover request initiated by the user terminal 110 includes:
In response to the first handover request, a user category home identifier of the second user category to which the user terminal 110 belongs is generated according to the user identifier of the user terminal 110 and the category identifier of the second user category, and the current user category home identifier of the user terminal 110 is updated to the user category home identifier.
The specific details of each part in the above apparatus are already described in the method part embodiments, and the details not disclosed can refer to the embodiment content of the method part, so that the details are not repeated.
Exemplary embodiments of the present disclosure also provide a computer readable storage medium, which may be implemented in the form of a program product comprising program code for causing an electronic device to carry out the steps according to the various exemplary embodiments of the disclosure as described in the above section of the "exemplary method" when the program product is run on the electronic device. In an alternative embodiment, the program product may be implemented as a portable compact disc read only memory (CD-ROM) and comprises program code and may run on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Exemplary embodiments of the present disclosure also provide an electronic device, such as may be any one or more of the user terminal 110, the user category management module 120, the traffic management module 130, and the data warehouse module 140 described above. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as program code. The processor performs the method of the present exemplary embodiment by executing the executable instructions.
An electronic device is illustrated in the form of a general purpose computing device with reference to fig. 11. It should be understood that the electronic device 1100 illustrated in fig. 11 is merely an example and should not be taken as limiting the functionality and scope of use of the disclosed embodiments.
As shown in fig. 11, an electronic device 1100 may include: processor 1110, memory 1120, bus 1130, I/O (input/output) interface 1140, network adapter 1150.
The memory 1120 may include volatile memory such as RAM 1121, cache unit 1122, and nonvolatile memory such as ROM 1123. Memory 1120 may also include one or more program units 1124, such program units 1124 including, but not limited to: an operating system, one or more application programs, other program elements, and program data, each or some combination of which may include an implementation of a network environment. For example, the program unit 1124 may include the various units in the apparatus described above.
Bus 1130 is used to enable connections between the different components of electronic device 1100 and may include a data bus, an address bus, and a control bus.
The electronic device 1100 may communicate with one or more external devices 1200 (e.g., keyboard, mouse, external controller, etc.) via the I/O interface 1140.
The electronic device 1100 may communicate with one or more networks through a network adapter 1150, e.g., the network adapter 1150 may provide mobile communication solutions such as 3G/4G/5G or wireless communication solutions such as wireless local area network, bluetooth, near field communication, etc. The network adapter 1150 may communicate with other units of the electronic device 1100 over the bus 1130.
Although not shown in fig. 11, other hardware and/or software elements may also be provided in electronic device 1100, including, but not limited to: displays, microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
It should be noted that although in the above detailed description several units or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, in accordance with exemplary embodiments of the present disclosure, the features and functions of two or more units or units described above may be embodied in one unit or unit. Conversely, the features and functions of one unit or unit described above may be further divided into a plurality of units or units to be embodied.
Those skilled in the art will appreciate that the various aspects of the present disclosure may be implemented as a system, method, or program product. Accordingly, various aspects of the disclosure may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," unit "or" system. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A user class switching method, characterized by being applied to a data warehouse module, the method comprising:
receiving a second switching request sent by a user category management module; the user category management module responds to a first switching request initiated by a user terminal, and sends a second switching request after updating the current user category attribution identifier of the user terminal; the first switching request is used for requesting to switch the user terminal from a first user category to a second user category, and the second switching request comprises a current user category attribution identifier of the user terminal;
acquiring second subscription data of the second user category subscribed by the user terminal from stored service subscription data according to the current user category attribution identifier of the user terminal;
and sending the second subscription data to a service management module, so that the service management module provides the service under the second user category to the user terminal based on the second subscription data.
2. The method according to claim 1, wherein the method further comprises:
receiving subscription information of a preset user category, which is sent by the user category management module and used for signing the user terminal, wherein the preset user category comprises the first user category or the second user category;
And generating new service subscription data according to the subscription information and updating the new service subscription data into the service subscription data, wherein the new service subscription data comprises a user category attribution identifier of the user terminal attributing to the preset user category.
3. The method according to claim 2, wherein the subscription information comprises a user identification of the user terminal and a category identification of the preset user category; the generating new service subscription data according to the subscription information includes:
and generating a user category attribution identifier of the user terminal attributing to the preset user category according to the user identifier of the user terminal and the category identifier of the preset user category, and generating the new service subscription data by taking the user category attribution identifier as an index.
4. The method of claim 1, wherein prior to receiving the second handover request sent by the user class management module, the method further comprises:
receiving a registration request which is sent by the service management module and is requested to be registered as a first user category by the user terminal;
under the condition that the authentication of the registration request is successful, acquiring first subscription data of the user terminal subscription of the first user category from stored service subscription data according to a user category attribution identifier of the user terminal attribution of the first user category;
And sending the first subscription data to the service management module, so that the service management module determines that the user terminal is successfully registered based on the first subscription data.
5. A method for switching user categories, which is applied to a user category management module, the method comprising:
responding to a first switching request initiated by a user terminal, and updating the current user category attribution identification of the user terminal; the first switching request is used for requesting to switch the user terminal from a first user category to a second user category;
generating a second switching request comprising the current user category attribution identification of the user terminal after updating the current user category attribution identification of the user terminal;
and sending the second switching request to a data warehouse module, so that the data warehouse module acquires second subscription data of the second user category of the user terminal from stored service subscription data according to the current user category attribution identification of the user terminal, and sends the second subscription data to a service management module, and further, the service management module provides services under the second user category for the user terminal based on the second subscription data.
6. The method of claim 5, wherein the first handover request includes a user identification of the user terminal and a category identification of the second user category; the updating the current user category attribution identification of the user terminal in response to the first switching request initiated by the user terminal comprises the following steps:
responding to the first switching request, generating a user category attribution identifier of the user terminal attributing to the second user category according to the user identifier of the user terminal and the category identifier of the second user category, and updating the current user category attribution identifier of the user terminal to the user category attribution identifier.
7. A user class switching device, disposed in a data warehouse module, the device comprising:
a second handover request receiving unit configured to receive a second handover request transmitted by the user category management module; the user category management module responds to a first switching request initiated by a user terminal, and sends a second switching request after updating the current user category attribution identifier of the user terminal; the first switching request is used for requesting to switch the user terminal from a first user category to a second user category, and the second switching request comprises a current user category attribution identifier of the user terminal;
A second subscription data obtaining unit, configured to obtain second subscription data of the second user category subscribed by the user terminal from stored service subscription data according to the current user category attribution identifier of the user terminal;
and the second subscription data sending unit is configured to send the second subscription data to a service management module, so that the service management module provides the service under the second user category to the user terminal based on the second subscription data.
8. A subscriber category switching device, disposed in a subscriber category management module, the device comprising:
the system comprises a current user category attribution identification updating unit, a current user category attribution identification updating unit and a user terminal, wherein the current user category attribution identification updating unit is configured to respond to a first switching request initiated by the user terminal; the first switching request is used for requesting to switch the user terminal from a first user category to a second user category;
a second handover request generating unit configured to generate a second handover request including a current user category home identifier of the user terminal after updating the current user category home identifier of the user terminal;
And the second switching request sending unit is configured to send the second switching request to a data warehouse module, so that the data warehouse module obtains second subscription data of the second user category signed by the user terminal from stored service subscription data according to the current user category attribution identification of the user terminal, and sends the second subscription data to a service management module, and further the service management module provides services under the second user category for the user terminal based on the second subscription data.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method of any one of claims 1 to 6.
10. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any one of claims 1 to 6 via execution of the executable instructions.
CN202310822481.3A 2023-07-05 2023-07-05 User category switching method and device, storage medium and electronic equipment Active CN116545777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310822481.3A CN116545777B (en) 2023-07-05 2023-07-05 User category switching method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310822481.3A CN116545777B (en) 2023-07-05 2023-07-05 User category switching method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN116545777A CN116545777A (en) 2023-08-04
CN116545777B true CN116545777B (en) 2023-09-26

Family

ID=87454650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310822481.3A Active CN116545777B (en) 2023-07-05 2023-07-05 User category switching method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116545777B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889619A (en) * 2005-12-27 2007-01-03 华为技术有限公司 Metering method in 3G mobile communication system
CN101583113A (en) * 2008-07-07 2009-11-18 中兴通讯股份有限公司 Charging method and system for distinguishing user charging rules
CN101909248A (en) * 2009-06-04 2010-12-08 中兴通讯股份有限公司 User access method and system, user management method and system of closed user group
CN112654033A (en) * 2020-12-15 2021-04-13 中国联合网络通信集团有限公司 Service opening method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2002309082A1 (en) * 2002-06-05 2003-12-22 Nokia Corporation Method of performing handover by using different handover parameters for different traffic and user classes in a communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889619A (en) * 2005-12-27 2007-01-03 华为技术有限公司 Metering method in 3G mobile communication system
CN101583113A (en) * 2008-07-07 2009-11-18 中兴通讯股份有限公司 Charging method and system for distinguishing user charging rules
CN101909248A (en) * 2009-06-04 2010-12-08 中兴通讯股份有限公司 User access method and system, user management method and system of closed user group
CN112654033A (en) * 2020-12-15 2021-04-13 中国联合网络通信集团有限公司 Service opening method and device

Also Published As

Publication number Publication date
CN116545777A (en) 2023-08-04

Similar Documents

Publication Publication Date Title
CN111918274B (en) Code number configuration and management method and device, electronic equipment and readable storage medium
CN115002769B (en) Flow diversion method, core network element, electronic equipment and medium
CN111885190B (en) Service request processing method and system
WO2023236497A1 (en) Authentication method and apparatus, storage medium, and electronic device
CN116782345A (en) Communication method, communication device, storage medium, and electronic apparatus
WO2023138335A1 (en) Differentiated control method and apparatus for user terminal, and related device
CN116545777B (en) User category switching method and device, storage medium and electronic equipment
CN109451497B (en) Wireless network connection method and device, electronic equipment and storage medium
CN113497764B (en) Service routing method, system, computer storage medium and electronic device
CN114980262A (en) Access gateway selection method and device, storage medium and electronic equipment
CN113934554A (en) RPC cross-language communication method and device, storage medium and electronic equipment
CN115460000B (en) Session processing method, network device, terminal device and medium
CN114828010B (en) Method for safely accessing network slice based on application attribute and related equipment
US11876866B2 (en) Method for assisting unregistered user device to access end-to-end call service of private network and communication system
WO2024113926A1 (en) Sensing data processing method, apparatus, electronic device and readable medium
CN117241320A (en) Application data distribution method and device, electronic equipment and storage medium
KR102249697B1 (en) System and method for communicating using content delivery network and edge computing in a complex network environment
CN115118775B (en) Browser access request processing method and device and electronic equipment
CN115277176B (en) Communication method, communication device, storage medium, and electronic apparatus
CN116151903B (en) Service processing method and device based on sales promotion management system
CN114760350B (en) Service realization method, device, equipment and medium in 5G network indirect communication scene
CN117135723A (en) Intelligent equipment network distribution method, system, equipment and storage medium
WO2024093534A1 (en) Npn identification method and apparatus, and related device
CN117156523A (en) Private network access method, network element, equipment and medium based on near field communication network
CN117909561A (en) Model management method, model management device, storage medium, and electronic apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant