Multimedia service request processing method and device, equipment and medium

By analyzing multimedia service requests and finding the target user type in HSS, combining the cache and database policies, the problem of poor performance of HSS when processing user requests is solved, and more efficient multimedia service processing is achieved.

CN119011544APending Publication Date: 2024-11-22BEIJING NERA STENTOFON COMM EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411091831.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

When HSS receives a user request, it is unable to effectively determine the corresponding response data, resulting in poor service processing performance.

Method used

By analyzing the multimedia service request sent by the client, obtaining user identity information and request content, and finding the target user type in the pre-set data storage structure, determining the target response data based on the user type and request content, and returning it to Client. If it is a temporary user, the response data is obtained from the database for the first request and stored in the cache to reduce subsequent database access; if it is a long-term user, the response data is obtained directly from the database. At the same time, the cached running information is monitored and the stored data is managed according to the cleaning policy.

Benefits of technology

It effectively improves the performance of HSS in multimedia service processing, reduces database load, improves response speed, and optimizes the processing efficiency of user requests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011544A_ABST
    Figure CN119011544A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of multimedia service processing, and discloses a multimedia service request processing method, device and equipment and a medium, which can be applied to a home subscriber server (HSS). According to the invention, the multimedia service request sent by the client can be analyzed to obtain the user identity information and the request content carried in the multimedia service request, and the corresponding target user type is searched in the preset data storage structure according to the user identity information carried in the multimedia service request; and based on the target user type and the request content, determining target response data corresponding to the multimedia service request, and returning the target response data to the client. According to the invention, when the multimedia service request sent by the user is received, the corresponding target response data is determined according to the multimedia service request and is returned to the client, so that the processing of the multimedia service request is effectively guaranteed, and the multimedia service processing performance is effectively guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multimedia service processing, and in particular to a method, device, equipment and medium for processing multimedia service requests. Background Art

[0002] IP Multimedia Subsystem (IMS) is a network architecture that provides voice and multimedia services based on IP networks. IMS can realize the integration of fixed user services, mobile user services and Internet services, as well as the integration of multimedia services such as voice, data and video, and is the core technology of the next generation network.

[0003] A Home Subscriber Server (HSS) may be a key device in the IMS and may be responsible for storing user data and service data in the IMS network.

[0004] However, when the HSS receives a user request, it is unable to effectively determine corresponding response data for the user request, resulting in poor service processing performance. Summary of the invention

[0005] The present invention provides a multimedia service request processing method, device, equipment and medium, which are used to solve the defects in the related art that when the HSS receives a user request, it cannot effectively determine the corresponding response data for the user request and the service processing performance is poor, thereby improving the multimedia service processing performance of the HSS.

[0006] In a first aspect, the present invention provides a method for processing a multimedia service request, which is applied to a home subscriber server HSS; the method comprises: Parsing the multimedia service request sent by the client to obtain the user identity information and request content carried in the multimedia service request; According to the user identity information carried in the multimedia service request, searching for a corresponding target user type in a preset data storage structure; wherein the data storage structure includes a one-to-one correspondence between multiple user types and multiple user identity information; Based on the target user type and the request content, target response data corresponding to the multimedia service request is determined, and the target response data is returned to the client.

[0007] Optionally, the target user type is a temporary user or a long-term user.

[0008] Optionally, the determining, based on the target user type and the request content, target response data corresponding to the multimedia service request includes: When the target user type is a temporary user, based on the user identity information and the request content carried in the multimedia service request, searching in a preset cache whether corresponding response data exists; If no corresponding response data is found, a corresponding operation is performed in a pre-set database according to the request content to obtain corresponding response data, and the data is used as the target response data; The returning the target response data to the client comprises: The target response data, the user identity information carried in the multimedia service request, and the request content are correspondingly stored in the cache, and the target response data is returned to the client.

[0009] Optionally, after searching in a preset cache whether corresponding response data exists, the method further includes: If the corresponding response data is found in the cache, the found response data is determined as the target response data; The returning the target response data to the client comprises: The target response data is directly returned to the client.

[0010] Optionally, the determining, based on the target user type and the request content, target response data corresponding to the multimedia service request includes: When the target user type is a long-term user, performing corresponding operations in the database based on the request content to obtain corresponding response data, and using the corresponding response data as the target response data; The returning the target response data to the client comprises: The target response data is directly returned to the client.

[0011] Optionally, after storing the target response data, the user identity information carried in the multimedia service request, and the request content in the cache correspondingly, the method further includes: Monitoring the operation information of the cache; Based on the operation information of the cache and a preset cache cleaning strategy, the target response data, the user identity information and the request content correspondingly stored in the cache are managed.

[0012] Optionally, the cache operation information includes a storage space occupancy rate, and also includes a storage time length of the target response data, the user identity information carried in the multimedia service request, and the request content corresponding to the storage in the cache; The managing the target response data, the user identity information and the request content correspondingly stored in the cache based on the cache operation information and the preset cache cleaning strategy includes: If the storage space occupancy rate is not lower than a preset occupancy rate threshold, or the storage duration is not less than a preset duration threshold, deleting the corresponding target response data, the user identity information and the request content stored in the cache; If the storage space occupancy rate is lower than the occupancy rate threshold, and the storage duration is less than the preset duration threshold, the target response data, the user identity information and the request content continue to be stored in the cache accordingly.

[0013] In a second aspect, the present invention provides a multimedia service request processing device, which is applied to a home subscriber server HSS; the device comprises: A parsing unit, used to parse the multimedia service request sent by the client to obtain the user identity information and request content carried in the multimedia service request; A search unit, configured to search for a corresponding target user type in a preset data storage structure according to the user identity information carried in the multimedia service request; wherein the data storage structure includes a one-to-one correspondence between multiple user types and multiple user identity information; a determining unit, configured to determine target response data corresponding to the multimedia service request based on the target user type and the request content; A returning unit is used to return the target response data to the client.

[0014] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the multimedia service request processing method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0015] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the multimedia service request processing method of the first aspect or any corresponding embodiment thereof.

[0016] The multimedia service request processing method, device, equipment and medium provided by the present invention can be applied to a home user server HSS, to parse the multimedia service request sent by the client to obtain the user identity information and request content carried in the multimedia service request, and to search for the corresponding target user type in a pre-set data storage structure according to the user identity information carried in the multimedia service request; wherein the data storage structure includes a one-to-one correspondence between multiple user types and multiple user identity information; based on the target user type and the request content, determine the target response data corresponding to the multimedia service request, and return the target response data to the client. When receiving a multimedia service request sent by a user, the present invention can determine the corresponding target response data according to the multimedia service request and return it to the client, effectively guaranteeing the processing of the multimedia service request, thereby effectively guaranteeing the multimedia service processing performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 A flowchart of a method for processing a multimedia service request provided by an embodiment of the present invention; Figure 2 A flowchart of another multimedia service request processing method provided by an embodiment of the present invention; Figure 3 A flowchart of another multimedia service request processing method provided by an embodiment of the present invention; Figure 4 A flowchart of another multimedia service request processing method provided by an embodiment of the present invention; Figure 5 A schematic diagram of the structure of a multimedia service request processing device provided by an embodiment of the present invention; Figure 6 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] In order to solve the defect in the related art that when the HSS receives a user request, it cannot effectively determine the corresponding response data for the user request, and the service processing performance is poor, the multimedia service request processing method, device, equipment and medium provided in this embodiment can be applied to the home user server HSS, and the multimedia service request sent by the client is parsed to obtain the user identity information and request content carried in the multimedia service request, and the corresponding target user type is searched in a pre-set data storage structure according to the user identity information carried in the multimedia service request; wherein the data storage structure includes a one-to-one correspondence between multiple user types and multiple user identity information; based on the target user type and the request content, the target response data corresponding to the multimedia service request is determined, and the target response data is returned to the client. The present invention can determine the corresponding target response data according to the multimedia service request when receiving the multimedia service request sent by the user and return it to the client, effectively guaranteeing the processing of the multimedia service request, thereby effectively guaranteeing the multimedia service processing performance.

[0021] Combine the following Figure 1-Figure 4 The multimedia service request processing method of the present invention is described.

[0022] like Figure 1 As shown, this embodiment proposes a first multimedia service request processing method, which can be applied to a home subscriber server HSS. The method may include the following steps: S101: Parse a multimedia service request sent by a client to obtain user identity information and request content carried in the multimedia service request.

[0023] The multimedia service request may carry user identity information and request content.

[0024] Specifically, the user identity information can be used to uniquely identify the user.

[0025] It should be noted that the request content can be used to instruct the HSS to process corresponding multimedia services, such as data query, modification and deletion.

[0026] Specifically, when receiving a multimedia service request sent by a client, the HSS may parse the multimedia service request to obtain user identity information and request content in the multimedia service request.

[0027] S102. Search for a corresponding target user type in a preset data storage structure according to the user identity information carried in the multimedia service request; wherein the data storage structure includes a one-to-one correspondence between multiple user types and multiple user identity information.

[0028] The target user type is the user type corresponding to the user identity information carried in the multimedia service request.

[0029] Specifically, in this embodiment, the user identity information carried in the multimedia service request may be obtained, and the user type corresponding to the user identity information may be searched in a preset data storage structure, and used as the target user type.

[0030] It should be noted that, in this embodiment, when creating a data storage structure, the user types corresponding to the plurality of user identity information may be determined respectively, and then the corresponding user identity information and user types may be stored one by one in the data table to obtain the data storage structure.

[0031] Optionally, the target user type is a temporary user or a long-term user.

[0032] It is understandable that this embodiment can determine whether a user is a temporary user or a long-term user based on the user's usage frequency, usage duration, registration information, behavior pattern, needs and purpose in the HSS, and the user's payment situation in the HSS.

[0033] S103: Determine target response data corresponding to the multimedia service request based on the target user type and the request content.

[0034] The target response data is the response data corresponding to the multimedia service request.

[0035] Specifically, this embodiment can determine the corresponding target response data according to the determined target user type and the request content in the multimedia service request.

[0036] S104: Return the target response data to the client.

[0037] Specifically, this embodiment may return the determined target response data to the client.

[0038] It should be noted that in the relevant technology, with the increase in the number of users in the IMS network and the development of platform services, the amount of data stored in the HSS is getting larger and larger. Frequent operations on the database, especially data that does not change very frequently and has a relatively large number of accesses, lead to problems such as high load pressure and low response speed in the HSS.

[0039] Optionally, in the second multimedia service request processing method proposed in this embodiment, step S103 may include: When the target user type is a temporary user, based on the user identity information and request content carried in the multimedia service request, a search is performed in a pre-set cache to determine whether corresponding response data exists; If the corresponding response data is not found, a corresponding operation is performed in a pre-set database according to the request content to obtain the corresponding response data, which is used as the target response data.

[0040] At this time, step S104 may include: The target response data, the user identity information carried in the multimedia service request, and the request content are correspondingly stored in the cache, and the target response data is returned to the client.

[0041] Optionally, the second multimedia service request processing method may further include, after searching the preset cache to see whether corresponding response data exists: If the corresponding response data is found in the cache, the found response data is determined as the target response data.

[0042] At this time, step S104 may include: Directly return the target response data to the client.

[0043] Specifically, if the user is a temporary user, this embodiment can perform corresponding operations in the database to obtain corresponding response data according to the request content in the multimedia service request when the user sends a multimedia service request to the HSS for the first time, and store the response data, the user's identity type, that is, the target user type, and the request content in the cache. Afterwards, if the user sends a multimedia service request with the same request content again, this embodiment can find the existing response data, that is, the target response data, in the cache, without accessing the database and performing database operations again, and can directly return the target response data to the client, thereby reducing the number of database accesses, reducing the database load pressure, and avoiding the problem of poor service processing performance such as low database response speed due to too much access. It can also limit temporary users' access to the database, and improve database security to a certain extent.

[0044] It can be understood that when the present embodiment determines that the user is a temporary user based on the user identity information carried in the multimedia service request, it can search in the cache whether there is corresponding response data. If it is not found, it can be explained that the multimedia service request of the user is sent for the first time. At this time, the present embodiment can access the database to determine the corresponding response data, and store the response data, user identity information and request content in the cache accordingly, so that when the user sends a multimedia service request with the same request content again, the target response data can be directly found in the cache and returned to the client. If the present embodiment finds the corresponding response data in the cache, it can be explained that the multimedia service request of the user is not sent for the first time, but at least for the second time. At this time, the present embodiment can directly find the target response data in the cache and return it to the client.

[0045] Optionally, in the third multimedia service request processing method proposed in this embodiment, step S103 may include: When the target user type is a long-term user, a corresponding operation is performed in the database based on the request content to obtain corresponding response data, which is used as the target response data.

[0046] At this time, step S104 may include: Directly return the target response data to the client.

[0047] Specifically, when it is determined that the user is a long-term user, this embodiment can directly access the database based on the request content and perform operations in the database to obtain target response data.

[0048] It should be noted that, for long-term users, this embodiment does not store the response data corresponding to their multimedia service requests in the cache, and directly accesses the database to obtain the target response data for each multimedia service request.

[0049] The multimedia service request processing method proposed in this embodiment can be applied to the home user server HSS, to parse the multimedia service request sent by the client to obtain the user identity information and request content carried in the multimedia service request, and to search for the corresponding target user type in a pre-set data storage structure according to the user identity information carried in the multimedia service request; wherein the data storage structure includes a one-to-one correspondence between multiple user types and multiple user identity information; based on the target user type and the request content, determine the target response data corresponding to the multimedia service request, and return the target response data to the client. When receiving a multimedia service request sent by a user, this embodiment can determine the corresponding target response data according to the multimedia service request and return it to the client, effectively guaranteeing the processing of the multimedia service request, thereby effectively guaranteeing the multimedia service processing performance.

[0050] based on Figure 1 This embodiment proposes a fourth multimedia service request processing method. After storing the target response data, the user identity information carried in the multimedia service request, and the request content in the cache accordingly, the method may further include: Monitor cache operation information; Based on the cache operation information and the preset cache cleaning strategy, manage the corresponding target response data, user identity information and request content stored in the cache.

[0051] Optionally, the cache operation information includes storage space occupancy rate, target response data, user identity information carried in the multimedia service request, and storage duration corresponding to the request content stored in the cache.

[0052] At this time, the above-mentioned cache-based operation information and preset cache cleaning strategy manage the corresponding target response data, user identity information and request content stored in the cache, including: If the storage space occupancy rate is not lower than the preset occupancy rate threshold, or the storage duration is not less than the preset duration threshold, the corresponding target response data, user identity information and request content stored in the cache are deleted; If the storage space occupancy rate is lower than the occupancy rate threshold and the storage duration is less than the preset duration threshold, the target response data, user identity information and request content continue to be stored in the cache accordingly.

[0053] Among them, the occupancy rate threshold and the preset duration threshold can be set by technical personnel according to actual conditions, and this embodiment does not limit this.

[0054] It is understandable that this embodiment can clear the target response data and its corresponding user identity information and request content in the cache to release the cache storage space when the cache storage space occupancy rate is high or the target response data is stored in the cache for a long time.

[0055] The multimedia service request processing method proposed in this embodiment can manage the data stored in the cache and release the storage space of the cache based on the cache operation information and cache clearing strategy.

[0056] based on Figure 1 This embodiment proposes another multimedia service request processing method. In this method, the implementation process of cache configuration includes the following steps: Through the yml configuration file, the basic functions and ports of the cache are set, and different keys are created for each cache in the program. When binding the cache key through the Application Programming Interface (API), a unique id or unique value of the binding relationship is generated, and the id or value and the storage key created in the program and the various parameter information of the API to be bound are used to generate and save the key + id or key + value in the cache, so that the program can read it later and identify the cache content.

[0057] When the socket corresponding to the listening port receives a connection request, a client structure is created, and the connection status is managed through the client structure. When a request comes in, the request command is read and buffered, parsed, and stored in the client parameter list. According to the request command, the corresponding request parameters are found, parsed, verified, and executed. The core processing thread for data reading and writing is a single-threaded model. In order to maintain the high performance of the entire system, any thread-causing blocking operations must be avoided. The client structure contains a user identity field [local_user], with a key value of true for long-term users and false for temporary users.

[0058] like Figure 2 As shown, the cache execution module can determine whether the user is a long-term user. If the user is a long-term user, the HSS database needs to be accessed to perform operations such as data query, modification, and deletion, and the corresponding operation results, i.e., response data, are obtained and returned to the client. If the user is a temporary user, the cache execution module determines whether the data exists. If there is no response data, the HSS database is accessed to obtain the response data, and the response data is stored in the cache and returned to the client. If the response data already exists, the response data is directly returned to the client.

[0059] like Figure 3 As shown, this embodiment proposes an execution example when a multimedia service request is used as a registration request.

[0060] HSS has many functions in the IMS network (registration, deregistration, authentication, location query, etc.). The following describes the process using the temporary user registration (no data in the cache execution module) as an example. The specific steps include: 1. The user equipment (UE) sends a Register message to the Proxy-Call Session Control Function (P-CSCF) of the visited network to start the registration process. This request contains the user ID, home network domain name, user information, session description information, etc. The P-CSCF processes the Register request and uses the home domain name it provides to query the Domain Name System (Domain Name System, DNS) to obtain the entry point of the Interrogating-Call Session Control Function (I-CSCF) in the home network and forward the Register message to it. Figure 3 As shown in (1)-(2).

[0061] 2. I-CSCF sends a User Authorization Request (UAR) to HSS. After authenticating the user identity and service authority, HSS determines that it is a temporary user registration and there is no data in the cache execution module. HSS instructs I-CSCF to allocate an S-CSCF to serve the UE based on the required Serving-Call Session Control Function (S-CSCF) capabilities and available S-CSCFs. At the same time, user information (International Mobile Subscriber Identity, IMSU), public identity (International Mobile Station Identity, IMPU), private identity (International Mobile Subscriber Identity, IMPI) are set with a unique key and saved in the cache, and a ResultCode (2001) message is returned. HSS sends a User Authorization Answer (UAA) to I-CSCF and returns the capability set corresponding to IMSU. I-CSCF forwards the Register message to the specified S-CSCF. Figure 3 As shown in (3)-(5).

[0062] 3. S-CSCF sends a Multimedia Authentication Request (MAR) to HSS. MAR carries information such as the authentication scheme and the number of Session Initiation Protocol (SIP) identity authentication items. It assembles the authentication vector using the IMPI obtained from the cache and the information carried by MAR. It sets the user status of the IMPU to pending authentication and updates the IMPU in the cache. At the same time, it updates the name of the long-term user S-CSCF to the IMSU in the database based on the user type and updates the IMSU in the cache. It returns a message with the result code ResultCode (2001). HSS sends a Multimedia Authentication Answer (MAA) to S-CSCF to obtain the UE's authentication information, and returns a 401 (Unauthorized) message to notify the UE to re-authenticate. Figure 3 As shown in (6)-(10).

[0063] 4. The UE re-initiates registration with authentication information. The I-CSCF sends a User Authorization Request (UAR) to the HSS again, directly reads the IMSU in the cache to obtain the name of the S-CSCF, and returns a ResultCode (2002) message. The HSS sends a UAA with authentication information to the I-CSCF. The I-CSCF forwards the Register message to the specified S-CSCF based on the name of the S-CSCF returned by the UAA. Figure 3 As shown in (11)-(15).

[0064] 5. After authentication, the S-CSCF sends a service allocation request (SAR) to set the user status of the IMPU in the HSS to registered and update the IMPU in the cache, and download relevant information of the UE (contract information, security information, etc.) from the HSS. Figure 3 As shown in (16)-(17).

[0065] 6. Finally, the S-CSCF returns the registration confirmation information and transmits it back to the UE step by step along the path of the home domain I-CSCF and the visited domain P-CSCF to complete the regular registration process.

[0066] like Figure 4 As shown, the execution process in different cases is as follows: 1. For temporary user registration: I-CSCF determines that the user is a temporary user and there is no data in the cache execution module. HSS instructs I-CSCF to allocate an S-CSCF to serve the UE and saves the corresponding user information in the cache with a unique key. The UE re-initiates registration with authentication information, and I-CSCF sends a user authorization request to HSS again.

[0067] 2. For temporary user registration: I-CSCF determines that the user is a temporary user and the cache execution module already has data, and directly reads the IMSU in the cache to obtain the name of the S-CSCF. The HSS sends the UAA carrying authentication information to the I-CSCF.

[0068] 3. For long-term user registration: I-CSCF determines that the user is a long-term user, directly accesses IMSU in the HSS database to obtain the name of S-CSCF, and HSS sends UAA carrying authentication information to I-CSCF.

[0069] It should be noted that, when a temporary user registers and the cache execution module already has data, the corresponding data such as IMSU, IMPU, IMPI will be directly obtained from the cache without accessing the HSS database, thereby improving the response speed.

[0070] It should also be noted that long-term user registration directly accesses the IMSU in the HSS database to obtain the name of the S-CSCF. The HSS sends the UAA with authentication information to the I-CSCF, and the I-CSCF forwards the Register message to the specified S-CSCF according to the name of the S-CSCF returned by the UAA. The S-CSCF returns the registration confirmation information and transmits it back to the UE step by step along the path of the home domain I-CSCF and the visited domain P-CSCF.

[0071] It should also be noted that as time goes by, the amount of user and service-related data stored in the HSS becomes larger and larger, and this embodiment optimizes the HSS. By adding a cache configuration, some frequently accessed and not frequently changed data in the HSS is saved in a faster and easier to access location, thereby improving the response speed, reducing the database load and reducing the cost, and optimizing the performance of the database network element HSS in the IMS network.

[0072] like Figure 5 As shown, this embodiment proposes another multimedia service request processing device, which can be applied to a home subscriber server HSS, and the device may include: The parsing unit 501 is used to parse the multimedia service request sent by the client to obtain the user identity information and request content carried in the multimedia service request; A search unit 502 is used to search for a corresponding target user type in a preset data storage structure according to the user identity information carried in the multimedia service request; wherein the data storage structure includes a one-to-one correspondence between multiple user types and multiple user identity information; A determination unit 503, configured to determine target response data corresponding to the multimedia service request based on the target user type and the request content; The returning unit 504 is used to return the target response data to the client.

[0073] It should be noted that the processing of the parsing unit 501, the searching unit 502, the determining unit 503 and the returning unit 504 and the beneficial effects thereof can be respectively referred to in Figure 1 Steps S101 to S104 in the above are not described in detail.

[0074] Optionally, the target user type is a temporary user or a long-term user.

[0075] Optionally, the determining unit 503 is further configured to: When the target user type is a temporary user, based on the user identity information and request content carried in the multimedia service request, a search is performed in a pre-set cache to determine whether corresponding response data exists; If the corresponding response data is not found, a corresponding operation is performed in a pre-set database according to the request content to obtain the corresponding response data, and the data is used as the target response data; The return unit 504 is further used for: The target response data, the user identity information carried in the multimedia service request, and the request content are correspondingly stored in the cache, and the target response data is returned to the client.

[0076] Optionally, the above device further comprises: A processing unit, configured to search a preset cache for corresponding response data, and if the corresponding response data is found in the cache, determine the found response data as target response data; The return unit 504 is further used for: Directly return the target response data to the client.

[0077] Optionally, the determining unit 503 is further configured to: When the target user type is a long-term user, a corresponding operation is performed in the database based on the request content to obtain corresponding response data, which is used as the target response data; The return unit 504 is further used for: Directly return the target response data to the client.

[0078] Optionally, the above device further includes: A monitoring unit, configured to monitor cache operation information after storing the target response data, the user identity information carried in the multimedia service request and the request content in the cache accordingly; The management unit is used to manage the target response data, user identity information and request content stored in the cache based on the cache operation information and the preset cache cleaning strategy.

[0079] Optionally, the cache operation information includes the storage space occupancy rate, and also includes the target response data, the user identity information carried in the multimedia service request, and the storage time corresponding to the request content stored in the cache; Snap-in, also used to: If the storage space occupancy rate is not lower than the preset occupancy rate threshold, or the storage duration is not less than the preset duration threshold, the corresponding target response data, user identity information and request content stored in the cache are deleted; If the storage space occupancy rate is lower than the occupancy rate threshold and the storage duration is less than the preset duration threshold, the target response data, user identity information and request content continue to be stored in the cache accordingly.

[0080] The multimedia service request processing device proposed in this embodiment can be applied to the home user server HSS, parse the multimedia service request sent by the client to obtain the user identity information and request content carried in the multimedia service request, and search for the corresponding target user type in a pre-set data storage structure according to the user identity information carried in the multimedia service request; wherein the data storage structure includes a one-to-one correspondence between multiple user types and multiple user identity information; based on the target user type and the request content, determine the target response data corresponding to the multimedia service request, and return the target response data to the client. When receiving a multimedia service request sent by a user, this embodiment can determine the corresponding target response data according to the multimedia service request and return it to the client, effectively guaranteeing the processing of the multimedia service request, thereby effectively guaranteeing the multimedia service processing performance.

[0081] The multimedia service request processing device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0082] The embodiment of the present invention also provides a computer device having the above Figure 5 The multimedia service request processing device shown.

[0083] See also Figure 6 , a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.

[0084] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0085] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0086] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function. The data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0087] The memory 20 may include a volatile memory, such as a random access memory. The memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive. The memory 20 may also include a combination of the above-mentioned types of memory.

[0088] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0089] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0090] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for processing multimedia service requests, characterized in that: Applied to a home subscriber server HSS; the method comprises: Parsing the multimedia service request sent by the client to obtain the user identity information and request content carried in the multimedia service request; According to the user identity information carried in the multimedia service request, searching for a corresponding target user type in a preset data storage structure; wherein the data storage structure includes a one-to-one correspondence between multiple user types and multiple user identity information; Based on the target user type and the request content, target response data corresponding to the multimedia service request is determined, and the target response data is returned to the client.

2. The method according to claim 1, characterized in that The target user type is a temporary user or a long-term user.

3. The method according to claim 2, characterized in that The determining, based on the target user type and the request content, target response data corresponding to the multimedia service request includes: When the target user type is a temporary user, based on the user identity information and the request content carried in the multimedia service request, searching in a preset cache whether corresponding response data exists; If no corresponding response data is found, a corresponding operation is performed in a pre-set database according to the request content to obtain corresponding response data, and the data is used as the target response data; The returning the target response data to the client comprises: The target response data, the user identity information carried in the multimedia service request, and the request content are correspondingly stored in the cache, and the target response data is returned to the client.

4. The method according to claim 3, characterized in that After searching in a preset cache whether there is corresponding response data, the method further includes: If the corresponding response data is found in the cache, the found response data is determined as the target response data; The returning the target response data to the client comprises: The target response data is directly returned to the client.

5. The method according to claim 3, characterized in that: The determining, based on the target user type and the request content, target response data corresponding to the multimedia service request includes: When the target user type is a long-term user, performing corresponding operations in the database based on the request content to obtain corresponding response data, and using the corresponding response data as the target response data; The returning the target response data to the client comprises: The target response data is directly returned to the client.

6. The method according to any one of claims 3 to 5, characterized in that After storing the target response data, the user identity information carried in the multimedia service request, and the request content in the cache correspondingly, the method further includes: Monitoring the operation information of the cache; Based on the operation information of the cache and a preset cache cleaning strategy, the target response data, the user identity information and the request content correspondingly stored in the cache are managed.

7. The method according to claim 6, characterized in that The cache operation information includes a storage space occupancy rate, and also includes the target response data, the user identity information carried in the multimedia service request, and the storage duration of the request content stored in the cache; The managing the target response data, the user identity information, and the request content correspondingly stored in the cache based on the cache operation information and the preset cache cleaning strategy includes: If the storage space occupancy rate is not lower than a preset occupancy rate threshold, or the storage duration is not less than a preset duration threshold, deleting the corresponding target response data, the user identity information and the request content stored in the cache; If the storage space occupancy rate is lower than the occupancy rate threshold, and the storage duration is less than the preset duration threshold, the target response data, the user identity information and the request content continue to be stored in the cache accordingly.

8. A multimedia service request processing device, characterized in that: Applicable to a home subscriber server HSS; the device comprises: A parsing unit, used to parse the multimedia service request sent by the client to obtain the user identity information and request content carried in the multimedia service request; A search unit, configured to search for a corresponding target user type in a preset data storage structure according to the user identity information carried in the multimedia service request; wherein the data storage structure includes a one-to-one correspondence between multiple user types and multiple user identity information; a determining unit, configured to determine target response data corresponding to the multimedia service request based on the target user type and the request content; A returning unit is used to return the target response data to the client.

9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the multimedia service request processing method according to any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the multimedia service request processing method according to any one of claims 1 to 7.