Calling method, device, equipment and storage medium
By filtering and modifying the number length based on the called number length threshold in the VPN service platform, the problem of excessive load during peak periods of the VPN service platform is solved, effectively reducing the load and stability of user calls are achieved.
Patent Information
- Application Number
- CN202211551708.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-05
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2042-12-05
AI Technical Summary
During the peak period of VPN service platforms, the load is too high, resulting in users being unable to make calls. This is mainly because when a large number of users request services, the hardware processing capacity reaches its limit, and service call limit and overload alarms occur.
By filtering the calling service based on the length threshold of the called number in the calling user's service call session control function network element, the calling service is filtered based on the length threshold, and the number length is modified when necessary to reduce the load on the VPN service platform, including directly sending or modifying the number to meet the length threshold to reduce the load.
Effectively reduce the load on the VPN service platform, avoid the risk of users being unable to call, ensure that the calling user's services are not affected, and reduce the platform's processing pressure.
Smart Images

Figure CN116248796B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technologies, and in particular to a calling method, apparatus, device, and storage medium. Background Art
[0002] The Voiceover Long-Term Evolution (VoTlE) service based on a Virtual Private Network (VPN) establishes a VPN and uses abbreviated dialing and a dedicated numbering plan to provide voice calls to internal members of the same group network and home network, and enables functions such as short number dialing.
[0003] In current call methods, any call from a VPN service platform user dialing the same short or long number within the same network, or a non-network long number, triggers the VPN service platform. However, with the rapid growth of traffic, the VPN service platform can be constantly flooded with user requests. During peak hours, the VPN service platform can become overloaded, and hardware processing capacity can reach its limits. This excessive load on the VPN service platform can lead to numerous call restrictions and overload alarms, preventing users from making calls. Summary of the Invention
[0004] The present disclosure provides a calling method, apparatus, device and storage medium for reducing the load of a VPN service platform, so as to solve the problem in the prior art of excessive load on the VPN service platform caused by an increase in users during peak usage periods.
[0005] To achieve the above objectives, the present disclosure adopts the following technical solutions:
[0006] In a first aspect, a calling method is provided, which is applied to a service call session control function network element of a calling user, where the calling user is a user of a virtual private network (VPN) service platform, and the method comprises:
[0007] Receiving a calling service initiated by a calling user, the calling service including a first Session Initiation Protocol (SIP) request message; the first SIP request message is used to request a call to a called user, the first SIP request message including a calling number of the calling user and a first called number corresponding to the called user;
[0008] Based on the first rule and the first called number, the called user is called; wherein the first rule is used to filter the target calling service processed by the VPN service platform, and the length of the first called number in the first SIP request message included in the target calling service is less than the first length threshold.
[0009] In conjunction with the first aspect, in one possible implementation, calling the called user based on the first rule and the first called number includes:
[0010] When the length of the first called number is greater than or equal to the first length threshold, a first SIP request message is sent to a serving call session control function network element of the called user.
[0011] In conjunction with the first aspect, in one possible implementation, calling the called user based on the first rule and the first called number includes:
[0012] When the length of the first called number is less than the first length threshold, a call service processing request message is sent to the VPN service platform; the call service processing request message is used to request the VPN service platform to modify the first called number to a second called number with a length greater than the first length threshold;
[0013] The second called number is obtained from the VPN service platform, and a second SIP request message is sent to the service call session control function network element of the called user. The second SIP request message is used to request a call to the called user. The second SIP request message includes the calling number of the calling user and the second called number.
[0014] In combination with the above first aspect, in a possible implementation, the first rule is configured in a trigger rule IFC subscribed by the calling user.
[0015] In combination with the above first aspect, in a possible implementation, the calling user and the called user are in the same VPN service group.
[0016] In a second aspect, a calling method is provided, which is applied to a service call session control function network element of a called user, where the called user is a user of a virtual private network (VPN) service platform, and the method includes:
[0017] Receiving a calling service initiated by a calling user, the calling service including a Session Initiation Protocol (SIP) request message; the SIP request message is used to request a call to a called user, and the SIP request message includes a first calling number corresponding to the calling user and a called number of the called user;
[0018] Based on the SIP request message, the second rule and the calling method, the called user is called; the calling method includes a direct call or a call forwarding; the second rule is used to filter the target call forwarding service processed by the VPN service platform, and the target call forwarding service is a call forwarding service in which the calling user and the call forwarding user are not in the same VPN service group at the time of call forwarding, and the length of the calling number is less than the first length threshold.
[0019] In conjunction with the second aspect, in one possible implementation, calling the called user based on the SIP request message, the second rule, and the calling mode includes:
[0020] In response to a call to a called user using a call forwarding call mode, and the call forwarding user and the calling user are not in the same VPN service group, adding a call forwarding identifier to a SIP request message, and sending the SIP request message with the added call forwarding identifier to the VPN service platform; wherein the call forwarding identifier is used to instruct the VPN service platform to modify the first calling number to a second calling number that is greater than a length threshold;
[0021] Receive the second calling number from the VPN service platform;
[0022] A SIP request message including the second calling number and the called number of the called user is sent to the call forwarding user.
[0023] In combination with the above second aspect, in a possible implementation, the call forwarding identifier is carried in the P-Served-User header field in the SIP request message.
[0024] In conjunction with the second aspect, in one possible implementation, calling the called user based on the SIP request message, the second rule, and the calling mode includes:
[0025] In response to a call to a called user in a direct call mode, and the called user and the calling user are in the same VPN service group, a SIP request message is sent to the called user.
[0026] In combination with the above second aspect, in a possible implementation, the second rule is configured in a trigger rule IFC subscribed by the called user.
[0027] In combination with the above second aspect, in a possible implementation, the calling user and the called user are in the same VPN service group.
[0028] In a third aspect, a calling device is provided, which is applied to a service call session control function network element of a calling user, where the calling user is a user of a virtual private network (VPN) service platform, and the device includes:
[0029] A first calling service receiving module, configured to receive a calling service initiated by a calling user, the calling service including a first Session Initiation Protocol (SIP) request message; the first SIP request message is used to request a call to a called user, the first SIP request message including a calling number of the calling user and a first called number corresponding to the called user;
[0030] The first calling module is used to call the called user based on the first rule and the first called number; wherein the first rule is used to filter the target calling service processed by the VPN service platform, and the length of the first called number in the first SIP request message included in the target calling service is less than the first length threshold.
[0031] In conjunction with the third aspect, in one possible implementation, the calling module includes:
[0032] The first SIP request message sending unit is configured to send a first SIP request message to a service call session control function network element of a called user when the length of the first called number is greater than or equal to a first length threshold.
[0033] In conjunction with the third aspect, in one possible implementation, the calling module includes:
[0034] a call service processing request message sending unit, configured to send a call service processing request message to the VPN service platform when the length of the first called number is less than a first length threshold; the call service processing request message is used to request the VPN service platform to modify the first called number to a second called number with a length greater than the first length threshold;
[0035] The second SIP request message sending unit is used to obtain a second called number from the VPN service platform and send a second SIP request message to the service call session control function network element of the called user. The second SIP request message is used to request a call to the called user. The second SIP request message includes the calling number of the calling user and the second called number.
[0036] In combination with the third aspect above, in a possible implementation, the first rule is configured in a trigger rule IFC subscribed by the calling user.
[0037] In combination with the third aspect above, in a possible implementation, the calling user and the called user are in the same VPN service group.
[0038] In a fourth aspect, a calling device is provided, which is applied to a service call session control function network element of a called user, wherein the called user is a user of a virtual private network (VPN) service platform, and the device includes:
[0039] A second calling service receiving module is used to receive a calling service initiated by a calling user, wherein the calling service includes a Session Initiation Protocol (SIP) request message; the SIP request message is used to request a call to a called user, and the SIP request message includes a first calling number corresponding to the calling user and a called number of the called user;
[0040] The second calling module is used to call the called user based on the SIP request message, the second rule and the calling method; the calling method includes direct calling or call forwarding; the second rule is used to filter the target call forwarding service processed by the VPN service platform, and the target call forwarding service is a call forwarding service in which the calling user and the call forwarding user are not in the same VPN service group at the time of call forwarding, and the length of the calling number is less than the first length threshold.
[0041] In conjunction with the fourth aspect, in one possible implementation, the second calling module includes:
[0042] a third SIP request message sending unit configured to, in response to a call to a called user using a call forwarding call mode, add a call forwarding identifier to a SIP request message and send the SIP request message with the call forwarding identifier added to the VPN service platform; wherein the call forwarding identifier is used to instruct the VPN service platform to modify the first calling number to a second calling number greater than a length threshold;
[0043] A second calling number receiving unit, configured to receive a second calling number from the VPN service platform;
[0044] The fourth SIP request message sending unit is configured to send a SIP request message including the second calling number and the called number of the called user to the call forwarding user.
[0045] In combination with the fourth aspect above, in a possible implementation, the call forwarding identifier is carried in a P-Served-User header field in a SIP request message.
[0046] In conjunction with the fourth aspect, in one possible implementation, the second calling module includes:
[0047] The fifth SIP request message sending unit is configured to send a SIP request message to the called user in response to a direct call being used to call the called user and the called user and the calling user being in the same VPN service group.
[0048] In combination with the fourth aspect above, in a possible implementation, the second rule is configured in a trigger rule IFC subscribed by the called user.
[0049] In combination with the fourth aspect above, in a possible implementation, the calling user and the called user are in the same VPN service group.
[0050] In the fifth aspect, a calling device is provided, which includes: a processor and a memory; wherein the memory is used to store computer execution instructions, and when the calling device is running, the processor executes the computer execution instructions stored in the memory to enable the calling device to execute the calling method described in the first aspect and any possible implementation of the first aspect.
[0051] In the sixth aspect, the present disclosure provides a computer-readable storage medium, which stores instructions. When the instructions in the computer-readable storage medium are executed by the processor of the calling device, the calling device is able to execute the calling method described in the first aspect and any possible implementation of the first aspect.
[0052] In the seventh aspect, a calling device is provided, which includes: a processor and a memory; wherein the memory is used to store computer execution instructions, and when the calling device is running, the processor executes the computer execution instructions stored in the memory to enable the calling device to execute the calling method described in the second aspect and any possible implementation of the second aspect.
[0053] In an eighth aspect, the present disclosure provides a computer-readable storage medium, in which instructions are stored. When the instructions in the computer-readable storage medium are executed by a processor of a calling device, the calling device is enabled to execute the calling method described in the second aspect and any possible implementation of the second aspect.
[0054] In this disclosure, the names of the calling devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those disclosed in this disclosure, they are within the scope of the claims of this disclosure and their equivalents.
[0055] These and other aspects of the present disclosure will become more apparent from the following description.
[0056] The technical solution provided by the present disclosure brings at least the following beneficial effects: The calling method provided by the present application is applied to a service call session control function network element of a calling user, where the calling user is a user of a virtual private network (VPN) service platform. The method comprises: receiving a calling service initiated by the calling user, the calling service comprising a first Session Initiation Protocol (SIP) request message; the first SIP request message being used to request a call to a called user, the first SIP request message comprising a calling number of the calling user and a first called number corresponding to the called user; and calling the called user based on a first rule and the first called number; wherein the first rule is used to filter target calling services processed by the VPN service platform, wherein the length of the first called number in the first SIP request message included in the target calling service is less than a first length threshold. After the service call session control function network element of the calling user receives the calling service initiated by the host user, the service call session control function network element of the calling user filters the calling services processed by the VPN service platform based on the length of the called number, so that called numbers less than the first length threshold are sent to the VPN service platform for processing. By utilizing the routing transformation of the SIP request message for the calling service, the service of the VPN service platform can be unblocked, the load of the VPN platform can be reduced, and the risk of excessive platform load due to excessive number of users can be effectively avoided to a certain extent, so as to ensure that the calling user's call service is not affected. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 A flowchart of a calling method provided by the present disclosure;
[0058] Figure 2 A schematic diagram of the internal flow of a calling method provided by the present disclosure;
[0059] Figure 3 A schematic diagram of the internal process of another calling method provided by the present disclosure;
[0060] Figure 4 A flowchart of another calling method provided by the present disclosure;
[0061] Figure 5 A schematic diagram of the internal flow of another calling method provided by the present disclosure;
[0062] Figure 6 A schematic diagram of the internal process of another calling method provided by the present disclosure;
[0063] Figure 7 A schematic diagram of the structure of a calling device provided by the present disclosure;
[0064] Figure 8 A schematic structural diagram of another calling device provided by the present disclosure;
[0065] Figure 9A schematic diagram of the hardware structure of a calling device provided by the present disclosure. DETAILED DESCRIPTION
[0066] The calling method, device, and storage medium provided by the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0067] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0068] The terms "first", "second" and "third" in the specification and drawings of the present disclosure are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.
[0069] Furthermore, the terms "including," "having," and any variations thereof, as used in the description of this disclosure are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.
[0070] It should be noted that in the embodiments of the present disclosure, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present disclosure should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0071] The following explains the terms and technologies involved in this application.
[0072] 1. Call Session Control Function (CSCF)
[0073] The CSCF network element is a functional entity within the IP Multimedia Subsystem (IMS) and the core of the entire IMS network. It is responsible for signaling control during multimedia call sessions. It manages user authentication within the IMS network, quality of service on the IMS bearer plane, coordinates with other network entities to control SIP sessions, and performs service negotiation and resource allocation. The CSCF network element is primarily responsible for functions closely related to user services, such as registration and authentication, session control, routing management, network management, and billing. Based on their functionality, they are categorized as Proxy CSCF (P-CSCF), Interrogating CSCF (I-CSCF), Serving CSCF (S-CSCF), and Emergency CSCF (E-CSCF). Essentially, these are SIP servers that handle SIP signaling.
[0074] 2. Virtual Private Network (VPN) service platform
[0075] The VPN service platform is a platform for providing VPN services. By establishing a virtual private network, VPN services use abbreviated dialing, dedicated numbering plans, and other methods to provide voice calls to internal members of group network customers or home network customers, enabling short number dialing. In addition, VPN services also provide some basic voice call functions such as call forwarding and caller ID.
[0076] 3. Session Initiation Protocol (SIP) request message
[0077] The Session Initiation Protocol (SIP) is a multimedia communication protocol developed by the Internet Engineering Task Force (IETF). It is an application-layer signaling control protocol used to create, modify, and release sessions involving one or more participants. These sessions can be Internet multimedia conferencing, IP telephony, or multimedia distribution. Participants in a session can communicate via multicast, mesh unicast, or a combination of the two. The SIP protocol is a client / server protocol, so there are two types of SIP messages: SIP request messages and SIP response messages. SIP request messages are messages sent by the SIP client to the server to activate specific operations. For example, commonly used SIP request messages include: request messages used to indicate that the calling user has initiated a session request and invited other users to join a session; request messages used to indicate that an established call has been terminated, etc.
[0078] 4. Trombone and Cornet
[0079] A long number is a user's actual number on the public switched telephone network. Currently, the most common type is an 11-digit mobile phone number. This number can be used to call any other user's mobile phone. A short number is a number assigned to a user after they join a group or home network. This short number can only be used to establish calls with users within the same group or home network.
[0080] 5. Triggering Rules (Initial Filter Criteria, IFC)
[0081] The initial filtering rules of the IMS network represent service triggering information, describing when to use a specific application server (AS) to handle a specific service. Specifically, they describe how to select a specific AS based on an incoming SIP request message. The S-CSCF analyzes incoming SIP request messages and processes them based on the Service Point Trigger (SPT) in the IFC, thereby triggering the service.
[0082] 6. Call forwarding and caller ID in VPN services
[0083] VPN users within a VPN service network can forward calls to another number. This other number can be a VPN user within the VPN service network or a number on the public switched telephone network. When a VPN user within a VPN service network forwards a call from the original caller to another number, the number displayed on the incoming caller ID is the original caller number.
[0084] In the prior art, when a VPN calling user makes a call, the calling service is triggered to the VPN service platform based on the IFC of the VPN service to which the user has subscribed. The calling service initiated by the calling user includes the called number of the called user. When the called user is in the same VPN service group as the calling user, the called number in the calling service can be either a VPN short number or a long number. However, when the called user is not in the same VPN service group as the calling user, the called number in the calling service can only be a long number. Since the calling user is in the VPN service group, all call services initiated by the calling user in these different situations will be uploaded to the VPN service platform. The VPN platform then determines whether the calling and called user are in the same group based on service logic and then makes subsequent calls to the called user.
[0085] Because VPN services allow users within a network to call each other using short numbers, which are easier to remember and convenient to dial, VPN services offer the advantage of lower call charges than regular service calls. Furthermore, VPN users can be managed centrally, attracting a large number of users. With the rapid growth of service volume, the VPN service platform is constantly flooded with requests for service. This surge in VPN users leads to excessive load on the VPN service platform during peak hours, with hardware processing capacity nearing its limit. In existing network routing, calls from VPN users to the same short or long number within the network, as well as to non-network long numbers, trigger the VPN platform, causing overload. This leads to numerous call restrictions and overload alarms, preventing users from making VPN calls.
[0086] In order to solve the technical problem that a large number of VPN users using the VPN at the same time causes the VPN platform to be overloaded, which further causes users to be unable to make normal calls, the present application provides a calling method.
[0087] like Figure 1 As shown, the method is applied to the service call session control function network element of the calling user, and the calling user is a user of the virtual private network VPN service platform. The method includes the following steps:
[0088] Step S110: receiving a calling service initiated by a calling user, where the calling service includes a first Session Initiation Protocol (SIP) request message.
[0089] The calling user can initiate a calling service by dialing the mobile phone number of the called user. The calling service initiated by the calling user includes a first SIP request message. The first SIP request message is used to request a call to the called user. The first SIP request message includes the calling number of the calling user and the first called number corresponding to the called user.
[0090] Step S120: Based on the first rule and the first called number, call the called user.
[0091] The first rule is used to filter a target calling service processed by the VPN service platform, and the length of the first called number in the first SIP request message included in the target calling service is less than a first length threshold.
[0092] As a possible implementation, the first rule is configured in the trigger rule IFC that the calling user has subscribed to. Based on this, when the calling user initiates a calling service, the calling service can be triggered according to the IFC.
[0093] For example, after calling user A dials the phone number of called user B, the service call session control function network element of calling user A receives a calling service initiated by calling user A. The calling service includes a first SIP request message for requesting called user B. The first SIP request message includes the first called number of called user B dialed by calling user A. The service call session control function network element of calling user A calls called user B based on the first rule in the trigger rule IFC subscribed to by the calling user and the first SIP request message. The first rule can filter out target calling services processed by the VPN service platform. For example, if the length of called user B's first called number is less than a first length threshold, the calling service initiated by calling user A to called user B is a target calling service that needs to be processed by the VPN service platform.
[0094] Based on the first rule and the first called number in the first SIP request message, the target calling service that needs to be processed by the VPN service platform can be filtered out from all calling services, and then the called user can be called based on the filtering result. Among them, the length of the first called number in the first SIP request message included in the target calling service is less than the first length threshold, which means that the calling user of the target calling service is initiated by calling the VPN service short number of the called user belonging to the same VPN service group. At this time, the target calling service can be sent to the VPN service platform for processing. For example, the VPN service platform modifies the short number to a second called number whose length is greater than the first length threshold, and then calls the called user based on the second called number. By filtering the target calling service that needs to be processed by the VPN service platform through the first rule, the load of the VPN service platform can be reduced.
[0095] Please see Figure 2 In a possible implementation, step S120 of calling the called user based on the first rule and the first called number includes the following steps:
[0096] Step S1210: When the length of the first called number is greater than or equal to a first length threshold, a first SIP request message is sent to a serving call session control function network element of the called user.
[0097] Specifically, for example, if the first length threshold is 11, then if the first called number of called user B is an 11-digit number, it means that the phone number dialed by calling user A is a long number. In this case, the service call session control function network element of calling user A can directly send the first SIP request message to the service call session control function network element of called user B. In other words, regardless of whether called user B and calling user A are users of the same VPN service group, the outgoing call service initiated by calling user A to called user B does not need to be processed by the VPN service platform.
[0098] Please see Figure 3 In combination with the first aspect above, in one possible implementation, step S120 of calling the called user based on the first rule and the first called number includes the following steps:
[0099] Step S1221: If the length of the first called number is less than the first length threshold, a call service processing request message is sent to the VPN service platform; the call service processing request message is used to request the VPN service platform to change the first called number to a second called number with a length greater than the first length threshold;
[0100] Step S1222: Obtain the second called number from the VPN service platform, and send a second SIP request message to the service call session control function network element of the called user. The second SIP request message is used to request a call to the called user. The second SIP request message includes the calling number of the calling user and the second called number.
[0101] Specifically, for example, if the first length threshold is 11, then when the first called number of called user B is a 4-digit number, it means that the phone number dialed by calling user A to called user B is a short number. In this case, the service call session control function network element of calling user A cannot directly send the first SIP request message to the service call session control function network element of called user B. The calling service initiated by calling user A to called user B must be processed by the VPN service platform. The service call session control function network element of calling user A sends a call service processing request message to the VPN service platform to request the VPN service platform to modify the first called number to a second called number with a length greater than the first length threshold, that is, to modify the 4-digit short number to a long number with 11 digits. After obtaining the long number from the VPN service platform, a second SIP request message can be sent to the service call session control function network element of called user B based on the second called number.
[0102] In a possible implementation, the calling user and the called user are in the same VPN service group.
[0103] Based on this, when calling user A calls called user B, if calling user A dials called user B's long number, the VPN service platform does not need to process the call. However, if calling user A dials called user B's short number, the VPN service platform does. Furthermore, if the calling user and called user are not in the same VPN service group, calling user A can only dial called user B's long number, in which case the VPN service platform does not need to process the call. By determining the length of the called number, calls that require VPN service platform processing can be filtered out, thereby reducing the load on the VPN service platform.
[0104] Please see Figure 4 The present application provides a calling method, which is applied to a service call session control function network element of a called user, where the called user is a user of a virtual private network (VPN) service platform, and the method comprises the following steps:
[0105] Step S210: receiving a calling service initiated by a calling user, where the calling service includes a Session Initiation Protocol SIP request message.
[0106] The SIP request message is used to request a call to a called user. The SIP request message includes a first calling number corresponding to the calling user and a called number of the called user.
[0107] A calling user can initiate a calling service by dialing the called user's mobile phone number. The calling service initiated by the calling user includes a SIP request message. The first SIP request message is used to request a call to the called user. The first SIP request message includes the calling user's first calling number and the called number corresponding to the called user. The called user's service call session control function network element receives the calling service initiated by the calling user.
[0108] Step S220: calling the called user based on the SIP request message, the second rule, and the calling mode.
[0109] Among them, the call method includes direct call or call forwarding; the second rule is used to filter the target call forwarding service processed by the VPN service platform. The target call forwarding service is a call forwarding service in which the calling user and the call forwarding user are not in the same VPN service group when the call is forwarded, and the length of the calling number is less than the first length threshold.
[0110] After receiving the outgoing call service initiated by the calling user, the service call session control function network element of the called user can call the called user. Specifically, the called user is called based on the SIP request message, the second rule, and the calling method. The second rule is used to filter the target call forwarding services processed by the VPN service platform. The target call forwarding services are call forwarding services where the calling user and the call forwarding user are not in the same VPN service group at the time of call forwarding, and the length of the calling number is less than the first length threshold, thereby reducing the load on the VPN service platform.
[0111] In a possible implementation, the second rule is configured in the trigger rule IFC subscribed by the called user. Based on this, after receiving the calling service initiated by the calling user, the service call session control function network element of the called user can trigger the calling service according to the IFC.
[0112] For example, after calling user A dials the phone number of called user B, called user B's service call session control function network element receives a calling service initiated by calling user A. This calling service includes a SIP request message for requesting called user B. The SIP request message includes calling user A's first calling number and called user B's called number. Called user B's service call session control function network element calls called user B based on the SIP request message, the second rule, and the call method in the trigger rule IFC to which the called user has subscribed. The call method includes direct calling or call forwarding. The second rule is used to filter target call forwarding services processed by the VPN service platform. Target call forwarding services are call forwarding services where the calling user and the call forwarding user are not in the same VPN service group at the time of call forwarding, and the length of the calling number is less than a first length threshold. The second rule can filter out target call forwarding services processed by the VPN service platform. For example, if the called user B is in a call and has activated the call forwarding service, the call forwarding user of the called user B is C, that is, the call initiated by the calling user A to the called user B is forwarded to the call forwarding user C. Among them, the call forwarding service in which the calling user A and the call forwarding user C are not in the same VPN service group and the length of the calling number is less than the first length threshold requires the VPN service platform to process the call forwarding service, thereby reducing the load of the VPN service platform.
[0113] Please see Figure 5 In one possible implementation, step S220 of calling the called user based on the SIP request message, the second rule, and the calling mode includes the following steps:
[0114] Step S2211: In response to calling the called user using call forwarding, and the call forwarding user and the calling user are not in the same VPN service group, add a call forwarding identifier in the SIP request message, and send the SIP request message with the call forwarding identifier added to the VPN service platform.
[0115] The call forwarding identifier is used to instruct the VPN service platform to modify the first calling number to a second calling number that is greater than a length threshold.
[0116] Step S2212: Receive a second calling number from the VPN service platform.
[0117] Step S2213: Send a SIP request message including the second calling number and the called number of the called user to the call forwarding user.
[0118] In a possible implementation, the calling user and the called user are in the same VPN service group.
[0119] Specifically, for example, if the second length threshold is 11, then if calling user A's first caller number is a four-digit number, this indicates that calling user A and called user B are in the same VPN service group. In this case, called user B's service call session control function network element cannot directly send a SIP request message with the first caller number to the service call session control function network element of call forwarding user C. Therefore, the call service initiated by calling user A to called user B and directed to call forwarding user C must be processed by the VPN service platform. Called user B's service call session control function network element sends a SIP request message with a call forwarding identifier added to the VPN service platform, requesting the VPN service platform to modify the first caller number to a second caller number with a length greater than the first length threshold, that is, to modify the four-digit short number to an 11-digit long number. After obtaining the second caller number from the VPN service platform, a SIP request message including the second caller number and the called number of called user B is sent to call forwarding user C.
[0120] When calling user A calls called user B and sends a call forwarding request, if calling user A and called user B are not in the same VPN service group, the first calling number included in the calling service initiated by calling user A is a long number, which does not need to be processed by the VPN service platform, thereby reducing the load on the VPN service platform.
[0121] In a possible implementation, the call forwarding identifier is carried in the P-Served-User header field in the SIP request message.
[0122] Please see Figure 6 In one possible implementation, step S220 of calling the called user based on the SIP request message, the second rule, and the calling mode includes the following steps:
[0123] Step S2220: In response to the call being made to the called user in a direct call manner and the called user and the calling user being in the same VPN service group, a SIP request message is sent to the called user.
[0124] Specifically, for example, if the second length threshold is 11, then when the first caller number of calling user A is an 11-digit number, it means that calling user A and called user B are not in the same VPN service group. At this time, the service call session control function network element of called user B can directly call call forwarding user C without going through the VPN service platform.
[0125] It can be seen that the above mainly introduces the technical solutions provided by the embodiments of the present disclosure from the perspective of methods. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the modules and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this disclosure.
[0126] The disclosed embodiments can divide the calling device into functional modules based on the above-described method examples. For example, different functional modules can be divided according to their functions, or two or more functions can be integrated into a single processing module. These integrated modules can be implemented as either hardware or software functional modules. The module division in the disclosed embodiments is illustrative and represents only one logical functional division. In actual implementation, other division methods may be employed.
[0127] like Figure 7 As shown, a calling device 700 provided in an embodiment of the present disclosure is applied to a service call session control function network element of a calling user, where the calling user is a user of a virtual private network (VPN) service platform. The device includes:
[0128] A first calling service receiving module 710 is configured to receive a calling service initiated by a calling user, the calling service including a first Session Initiation Protocol (SIP) request message; the first SIP request message is used to request a call to a called user, and the first SIP request message includes a calling number of the calling user and a first called number corresponding to the called user;
[0129] The first calling module 720 is used to call the called user based on the first rule and the first called number; wherein the first rule is used to filter the target calling service processed by the VPN service platform, and the length of the first called number in the first SIP request message included in the target calling service is less than the first length threshold.
[0130] Optionally, in a possible implementation, the calling module includes:
[0131] The first SIP request message sending unit is configured to send a first SIP request message to a service call session control function network element of a called user when the length of the first called number is greater than or equal to a first length threshold.
[0132] Optionally, in a possible implementation, the calling module includes:
[0133] a call service processing request message sending unit, configured to send a call service processing request message to the VPN service platform when the length of the first called number is less than a first length threshold; the call service processing request message is used to request the VPN service platform to modify the first called number to a second called number with a length greater than the first length threshold;
[0134] The second SIP request message sending unit is used to obtain a second called number from the VPN service platform and send a second SIP request message to the service call session control function network element of the called user. The second SIP request message is used to request a call to the called user. The second SIP request message includes the calling number of the calling user and the second called number.
[0135] In combination with the third aspect above, in a possible implementation, the first rule is configured in a trigger rule IFC subscribed by the calling user.
[0136] Optionally, in a possible implementation, the calling user and the called user are in the same VPN service group.
[0137] like Figure 8 As shown, a calling device 800 provided in an embodiment of the present disclosure is applied to a service call session control function network element of a called user, where the called user is a user of a virtual private network (VPN) service platform. The device includes:
[0138] The second calling service receiving module 810 is configured to receive a calling service initiated by a calling user, wherein the calling service includes a Session Initiation Protocol (SIP) request message; the SIP request message is used to request a call to a called user, and the SIP request message includes a first calling number corresponding to the calling user and a called number of the called user;
[0139] The second call module 820 is used to call the called user based on the SIP request message, the second rule and the calling method; the calling method includes direct calling or call forwarding; the second rule is used to filter the target call forwarding service processed by the VPN service platform, and the target call forwarding service is a call forwarding service in which the calling user and the call forwarding user are not in the same VPN service group at the time of call forwarding, and the length of the calling number is less than the first length threshold.
[0140] Optionally, in a possible implementation, the second calling module includes:
[0141] a third SIP request message sending unit, configured to, in response to a call to a called user using a call forwarding call mode, and the call forwarding user and the calling user are not in the same VPN service group, add a call forwarding identifier to a SIP request message, and send the SIP request message with the added call forwarding identifier to the VPN service platform; wherein the call forwarding identifier is used to instruct the VPN service platform to modify the first calling number to a second calling number that is greater than a length threshold;
[0142] A second calling number receiving unit, configured to receive a second calling number from the VPN service platform;
[0143] The fourth SIP request message sending unit is configured to send a SIP request message including the second calling number and the called number of the called user to the call forwarding user.
[0144] Optionally, in a possible implementation, the call forwarding identifier is carried in a P-Served-User header field in a SIP request message.
[0145] Optionally, in a possible implementation, the second calling module includes:
[0146] The fifth SIP request message sending unit is configured to send a SIP request message to the called user in response to a direct call being used to call the called user and the called user and the calling user being in the same VPN service group.
[0147] Optionally, in a possible implementation, the second rule is configured in a trigger rule IFC subscribed by the called user.
[0148] Optionally, in a possible implementation, the calling user and the called user are in the same VPN service group.
[0149] The present disclosure provides a calling device for executing the method required by any device in the aforementioned data integrity determination system. The calling device may be any of the calling devices described in this disclosure, or a module within a calling device; or a chip within a calling device; or any other device for executing the calling method, which is not limited in this disclosure.
[0150] When implemented by hardware, the specific implementation of the calling device in the embodiment of the present application is as follows: Figure 9 As shown, Figure 9 This is a schematic diagram of the structure of a call device provided in an embodiment of the present disclosure. The call device 900 includes at least one processor 901, a communication line 902, and at least one communication interface 904. It may also include a memory 903. The processor 901, the memory 903, and the communication interface 904 may be connected via the communication line 902.
[0151] The processor 901 can be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present disclosure, such as one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs).
[0152] The communication link 902 may include a pathway for transmitting information between the aforementioned components.
[0153] The communication interface 904 is used to communicate with other devices or communication networks and can use any transceiver-like device, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.
[0154] The memory 903 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to include or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0155] In one possible design, memory 903 can exist independently of processor 901, that is, memory 903 can be a memory external to processor 901. In this case, memory 903 can be connected to processor 901 via communication line 902 to store execution instructions or application code, and processor 901 controls execution to implement the calling method provided in the following embodiments of this disclosure. In another possible design, memory 903 can also be integrated with processor 901, that is, memory 903 can be an internal memory of processor 901. For example, memory 903 is a high-speed cache that can be used to temporarily store some data and instruction information.
[0156] As an implementation method, the processor 901 may include one or more CPUs, such as Figure 9 As another implementation, the calling device 900 may include multiple processors, such as Figure 9 As another implementation, the calling device 900 may further include an output device 905 and an input device 906.
[0157] Through the description of the above embodiments, those skilled in the art will clearly understand that for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the network node can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-described systems, modules, and network nodes can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0158] The embodiment of the present disclosure further provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes each step in the method flow shown in the above method embodiment.
[0159] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read-Only Memory (EPROM), registers, hard disks, optical fibers, portable Compact Disc Read-Only Memory (CD-ROM), optical storage devices, magnetic storage devices, or any other form of computer-readable storage medium known in the art in any suitable combination thereof. An exemplary storage medium is coupled to a processor so that the processor can read information from and write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and storage medium may be located in an Application Specific Integrated Circuit (ASIC). In the embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
[0160] Embodiments of the present disclosure provide a chip comprising a processor and a communication interface, the communication interface coupled to the processor, and the processor configured to execute a computer program or instructions to implement the calling method described in the aforementioned method embodiment. Since the apparatus, device, computer-readable storage medium, and computer program product described in the embodiments of the present disclosure can be applied to the aforementioned method, the technical effects achievable therefrom can also be referenced to the aforementioned method embodiment, and the embodiments of the present disclosure will not be further elaborated herein.
[0161] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0162] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0163] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0164] The above are only specific embodiments of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or replacements within the technical scope disclosed in the present disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.
Claims
1. A calling method, characterized in that: A service call session control function network element applied to a calling user, wherein the calling user is a user of a virtual private network (VPN) service platform, and the method comprises: Receiving a calling service initiated by a calling user, the calling service including a first Session Initiation Protocol (SIP) request message; the first SIP request message is used to request a call to a called user, the first SIP request message including a calling number of the calling user and a first called number corresponding to the called user; Based on the first rule and the first called number, the called user is called; wherein the first rule is used to filter the target calling service processed by the VPN service platform, and the length of the first called number in the first SIP request message included in the target calling service is less than the first length threshold.
2. The method according to claim 1, characterized in that The calling the called user based on the first rule and the first called number includes: In a case where the length of the first called number is greater than or equal to a first length threshold, the first SIP request message is sent to a serving call session control function network element of the called user.
3. The method according to claim 1, characterized in that The calling the called user based on the first rule and the first called number includes: When the length of the first called number is less than a first length threshold, a call service processing request message is sent to the VPN service platform; the call service processing request message is used to request the VPN service platform to modify the first called number to a second called number with a length greater than the first length threshold; Obtain the second called number from the VPN service platform, and send a second SIP request message to the service call session control function network element of the called user, where the second SIP request message is used to request a call to the called user, and the second SIP request message includes the calling number of the calling user and the second called number.
4. The method according to any one of claims 1 to 3, characterized in that The first rule is configured in the trigger rule IFC of the calling user's subscription.
5. The method according to claim 1, wherein The calling user and the called user are in the same VPN service group.
6. A calling method, characterized in that: A service call session control function network element applied to a called user, wherein the called user is a user of a virtual private network (VPN) service platform, and the method comprises: Receiving a calling service initiated by a calling user, the calling service including a Session Initiation Protocol (SIP) request message; the SIP request message is used to request a call to a called user, the SIP request message including a first calling number corresponding to the calling user and a called number of the called user; Based on the SIP request message, the second rule and the calling method, the called user is called; the calling method includes a direct call or a call forwarding; the second rule is used to filter the target call forwarding service processed by the VPN service platform, and the target call forwarding service is a call forwarding service in which the calling user and the call forwarding user are not in the same VPN service group at the time of call forwarding, and the length of the calling number is less than a first length threshold.
7. The method according to claim 6, characterized in that The calling the called user based on the SIP request message, the second rule, and the calling mode includes: In response to a call being made to the called user using a call forwarding call mode, and the call forwarding user and the calling user being in a different VPN service group, adding a call forwarding identifier to the SIP request message, and sending the SIP request message with the added call forwarding identifier to the VPN service platform; wherein the call forwarding identifier is used to instruct the VPN service platform to modify the first calling number to a second calling number that is greater than the length threshold; receiving the second calling number from the VPN service platform; A SIP request message including the second calling number and the called number of the called user is sent to the call forwarding user.
8. The method according to claim 7, characterized in that The call forwarding identifier is carried in the P-Served-User header field in the SIP request message.
9. The method according to claim 7 or 8, characterized in that The calling the called user based on the SIP request message, the second rule, and the calling mode includes: In response to calling the called user in a direct calling manner and the called user and the calling user being in the same VPN service group, the SIP request message is sent to the called user.
10. The method according to claim 6, characterized in that The second rule is configured in the trigger rule IFC of the called user's subscription.
11. The method according to claim 6, characterized in that The calling user and the called user are in the same VPN service group.
12. A calling device, characterized in that: A service call session control function network element applied to a calling user, wherein the calling user is a user of a virtual private network (VPN) service platform, and the device comprises: A first calling service receiving module, configured to receive a calling service initiated by a calling user, wherein the calling service includes a first Session Initiation Protocol (SIP) request message; the first SIP request message is used to request a call to a called user, and the first SIP request message includes a calling number of the calling user and a first called number corresponding to the called user; A first calling module is used to call the called user based on a first rule and the first called number; wherein the first rule is used to filter the target calling service processed by the VPN service platform, and the length of the first called number in the first SIP request message included in the target calling service is less than a first length threshold.
13. A calling device, characterized in that: A service call session control function network element applied to a called user, wherein the called user is a user of a virtual private network (VPN) service platform, and the device comprises: A second calling service receiving module is configured to receive a calling service initiated by a calling user, wherein the calling service includes a Session Initiation Protocol (SIP) request message; the SIP request message is used to request a call to a called user, and the SIP request message includes a first calling number corresponding to the calling user and a called number of the called user; The second calling module is used to call the called user based on the SIP request message, the second rule and the calling method; the calling method includes a direct call or a call forwarding; the second rule is used to filter the target call forwarding service processed by the VPN service platform, and the target call forwarding service is a call forwarding service in which the calling user and the call forwarding user are not in the same VPN service group at the time of call forwarding, and the length of the calling number is less than the first length threshold.
14. A calling device, characterized in that: include: A processor and a memory; wherein the memory is used to store computer-executable instructions, and when the calling device is running, the processor executes the computer-executable instructions stored in the memory to enable the calling device to execute the calling method described in any one of claims 1-5 or 6-11.
15. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions. When the instructions in the computer-readable storage medium are executed by a processor of a calling device, the calling device executes the calling method according to any one of claims 1 to 5 or 6 to 11.
Citation Information
Patent Citations
Call connection realizing method in intelligent network system
CN1802007A
VPN call and terminal registration method and distributed digital colony network
CN1845620A