CN114124907B - SIP signaling front-end processor, service upgrading method, device, equipment and storage medium - Google Patents

SIP signaling front-end processor, service upgrading method, device, equipment and storage medium Download PDF

Info

Publication number
CN114124907B
CN114124907B CN202010819457.0A CN202010819457A CN114124907B CN 114124907 B CN114124907 B CN 114124907B CN 202010819457 A CN202010819457 A CN 202010819457A CN 114124907 B CN114124907 B CN 114124907B
Authority
CN
China
Prior art keywords
module
service
upgraded
distribution
sip signaling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010819457.0A
Other languages
Chinese (zh)
Other versions
CN114124907A (en
Inventor
章淑敏
何宇
胡波
彭熙
刘梦晗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Zhejiang Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Zhejiang Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Zhejiang Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010819457.0A priority Critical patent/CN114124907B/en
Publication of CN114124907A publication Critical patent/CN114124907A/en
Application granted granted Critical
Publication of CN114124907B publication Critical patent/CN114124907B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Abstract

The invention discloses a method, a device, equipment and a storage medium for upgrading a Session Initiation Protocol (SIP) signaling front-end processor and a service, wherein the method comprises the following steps: when a service upgrading requirement exists, an initial module to be upgraded is selected from at least two service processing modules; setting distribution configuration information of the SIP signaling front-end processor to be distributed to at least one other service processing module except the module to be upgraded; if a new service call is received, the SIP signaling front-end processor distributes according to the distribution configuration information; waiting for the end of the service call processing distributed to the module to be upgraded; after waiting for finishing, replacing the module to be upgraded by using the updated service processing module; judging whether all the at least two service processing modules are upgraded, if yes, finishing the service upgrading; if not, selecting a new module to be upgraded from at least two service processing modules, and repeating the upgrading of the module to be upgraded. By the scheme of the invention, service upgrading can be realized on the premise of ensuring no call loss.

Description

SIP signaling front-end processor, service upgrading method, device, equipment and storage medium
Technical Field
The present invention relates to the technical field of core networks, and in particular, to a SIP signaling front-end processor, a service upgrading method, a device, equipment, and a storage medium.
Background
For telecom operators, under the network architecture of multimedia services, service diversity is wider and wider. The expansion of service diversity and the continuous expansion of the system lead the service to be upgraded into very frequent operation.
The conventional service upgrade mode is to stop the original service, upgrade the new service and restart the service, which cannot avoid affecting the ongoing service. In order to minimize the influence on the running service, engineering operators usually choose to perform system upgrade in the middle night or early morning of the lowest traffic, which has very high requirements for engineering operators, and meanwhile, the running service is suddenly interrupted due to upgrade, so that the user satisfaction has a great challenge.
Therefore, the conventional upgrade mode cannot avoid call loss for the ongoing service, so that the ongoing service is suddenly interrupted. Under the background requirement of NFV (Network Functions Virtualization) translated into network function virtualization, the traditional upgrade mode obviously cannot meet the full-service operation requirement of a new system and a new network architecture, and the lossless upgrade of multiple services becomes the problem which must be solved at present
Disclosure of Invention
In view of the foregoing, embodiments of the present invention are provided to provide a SIP signaling front-end processor, a service upgrading method, an apparatus, a device, and a storage medium that overcome or at least partially solve the foregoing problems.
According to an aspect of an embodiment of the present invention, there is provided a SIP signaling front-end processor, including: the system comprises an SIP functional module, a service configuration module, a service identification module, a designated distribution module, a load sharing module and an internal communication module; wherein, the liquid crystal display device comprises a liquid crystal display device,
the SIP functional module is used for receiving and analyzing the service call and sending the analyzed service call to the service identification module;
the service configuration module is used for receiving the appointed distribution configuration information;
the service identification module is used for setting a designated distribution identifier according to the designated distribution configuration information and forwarding a new service call received after the designated distribution identifier is set to the designated distribution module;
the appointed distribution module is used for setting a corresponding distribution model according to the appointed distribution configuration information and sending the new service call and the distribution model to the load sharing module;
the load sharing module is used for determining a target service processing module for processing the new service call according to the distribution model;
The internal communication module is used for sending the new service call to a target processing module in at least two service processing modules for processing.
According to another aspect of the embodiments of the present invention, there is provided a service upgrade method implemented based on the foregoing SIP signaling front-end processor, where the SIP signaling front-end processor is configured to distribute a plurality of service calls to at least two service processing modules for processing, and the service upgrade method includes:
step S1: when a service upgrading requirement exists, an initial module to be upgraded is selected from at least two service processing modules;
step S2: setting distribution configuration information of the SIP signaling front-end processor to be distributed to at least one other service processing module except the module to be upgraded; if a new service call is received, the SIP signaling front-end processor distributes the new service call to the at least one other service processing module for processing according to the distribution configuration information;
step S3: waiting for the end of the service call processing distributed to the module to be upgraded; after waiting for finishing, replacing the module to be upgraded by using the updated service processing module;
step S4: judging whether all the at least two service processing modules are upgraded, if yes, finishing the service upgrading; if not, selecting an unselected module to be upgraded from at least two service processing modules, and repeatedly executing the steps S2 to S4.
According to still another aspect of the embodiments of the present invention, there is provided a service upgrade apparatus implemented based on the foregoing SIP signaling front-end processor, where the SIP signaling front-end processor is configured to distribute a plurality of service calls to at least two service processing modules for processing, and includes:
the selecting module is suitable for selecting an initial module to be upgraded from at least two service processing modules when the service upgrading requirement exists; and if the at least two service processing modules are not completely upgraded, selecting an unselected module to be upgraded from the at least two service processing modules;
the setting module is suitable for setting the distribution configuration information of the SIP signaling front-end processor to be appointed to be distributed to at least one other service processing module except the module to be upgraded;
the distribution module is suitable for distributing the new service call to the at least one other service processing module for processing according to the distribution configuration information by the SIP signaling front-end processor if the new service call is received;
the waiting module is suitable for waiting for ending the service call processing distributed to the module to be upgraded;
the upgrade module is suitable for replacing the module to be upgraded by using the updated service processing module after waiting for finishing;
And the judging module is suitable for judging whether all the at least two business processing modules are upgraded, and if yes, the business upgrading is completed.
According to yet another aspect of the present invention, there is provided a computing device comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the service upgrading method.
According to still another aspect of the embodiments of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, where the executable instruction causes a processor to perform operations corresponding to the service upgrade method described above.
According to the SIP signaling front-end processor, the service upgrading method, the device, the equipment and the storage medium, the method is realized based on the SIP signaling front-end processor, when the service upgrading requirement exists, the to-be-upgraded module in at least two service processing modules is upgraded each time, and the assigned distribution configuration information is set through the SIP signaling front-end processor, so that the service call is not born in the upgrading process of the to-be-upgraded module, and the newly received service call is distributed to other service processing modules for processing, and service interruption is avoided; and for the service call distributed to the module to be upgraded, the upgrade replacement can be performed after the processing is completed, so that the normal processing of the part of service call is ensured. Therefore, the scheme of the invention can realize the service upgrading without call loss through the SIP signaling front-end processor.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and may be implemented according to the content of the specification, so that the technical means of the embodiments of the present invention can be more clearly understood, and the following specific implementation of the embodiments of the present invention will be more apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 shows a block diagram of a SIP signaling front-end processor according to an embodiment of the present invention;
fig. 2 shows a flowchart of a service upgrade method provided by an embodiment of the present invention;
fig. 3 is a flowchart of a service upgrade method according to another embodiment of the present invention;
fig. 4a shows a flow chart of a normal service call in case of two service processing modules;
FIG. 4b shows a flow chart of an upgrade process in the case of two business process modules;
Fig. 5 shows a schematic structural diagram of a service upgrading device according to an embodiment of the present invention;
FIG. 6 illustrates a schematic diagram of a computing device provided by an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 shows a block diagram of a SIP signaling front-end processor according to an embodiment of the present invention. SIP (Session Initiation Protocol ) signaling front-end processor is mainly used for service distribution, and distributes received service messages to at least two service processing modules (only two service processing modules are shown in fig. 1 by way of example, but not limited thereto) for processing. As shown in fig. 1, the SIP signaling front-end processor includes: a SIP function module 110, a service configuration module 120, a service identification module 130, a designation distribution module 140, a load sharing module 150, and an internal communication module 160.
The SIP function module 110 is configured to receive and parse a service call, and send the parsed service call to the service identification module. When the system receives the call signaling of the CSCF (Call Session Control Function ) network element, the SIP function module receives and parses the service call, where the system refers to a system where the SIP signaling front-end is located, for example, if the SIP signaling front-end is located in an AS (Application Server ) application module in an IMS (IP Multimedia Subsystem, IP multimedia system) network, the system is an AS application module.
Wherein the service configuration module 120 is configured to receive the specified distribution configuration information. The default distribution mode of the SIP signaling front-end processor provided by the invention is according to the distribution of the service load, namely, a plurality of service calls are uniformly distributed to a plurality of service processing modules, so as to realize the load balance; meanwhile, the SIP signaling front-end processor also provides a mode for distributing according to a designated distribution mode, so as to be used for carrying out service upgrading. The service configuration module 120 may set the designated distribution configuration information, and the service configuration module 120 may import the designated distribution configuration information to the service identification module 130 and the designated distribution module 140, so as to implement distribution according to the designated distribution manner.
The service identification module 130 is configured to set a specified distribution identifier according to the specified distribution configuration information, and forward a new service call received after the specified distribution identifier is set to the specified distribution module. If the service identification module 130 receives the designated distribution configuration information imported by the service configuration module 120, the designated distribution identifier is set, otherwise, the designated distribution identifier is not set; and after receiving the new service call sent by the SIP function module, it detects whether the module has the designated distribution identifier at this time, if so, it indicates that the module is at the service upgrade stage at this time, and forwards the service call to the designated distribution module 140.
The designated distribution module 140 is configured to set a corresponding distribution model according to the designated distribution configuration information, and send the new service call and the distribution model to the load sharing module 150. The designated distribution module 140, upon receiving the designated distribution configuration information imported by the service configuration module 120, generates a distribution model corresponding to the designated distribution configuration information to instruct the load sharing module 150 how to distribute the new service call.
Wherein, the load sharing module 150 is configured to determine, according to the distribution model, a target service processing module that processes the new service call. For example, if the distribution model indicates that the service call is sent to the first service processing module, it is determined that the target service processing module is the first service processing module. Then, the identification information of the target service processing module and the new service call are transmitted to the internal communication module. It should be noted that, if the distribution model indicates that the service call is distributed to a certain service processing module, the load sharing module 150 directly determines that the target service processing module is the certain service processing module according to the indication of the distribution model; if the distribution model indicates that the service call can be distributed to a plurality of service processing modules, the load sharing module 150 needs to further determine the target service processing module from the plurality of service processing modules in a load balancing manner based on the distribution model. For example, if the service processing module 1 is currently upgraded, the distribution model may instruct to distribute the service call to any one of the remaining service processing modules 2 and 3, and the load sharing module 150 may determine the target service processing module according to the load pressures of the service processing modules 2 and 3, so as to ensure load balancing.
The internal communication module 160 is configured to send the new service call to a target processing module pointed by the identification information in at least two service processing modules for processing.
The SIP signaling front-end processor can distribute the received new service call to the appointed service processing module by setting the appointed distribution configuration information through the service configuration module, and the other service processing modules do not bear the service call, so that the SIP signaling front-end processor can be used for carrying out service upgrading on the other service processing modules, and the call service is not interrupted in the upgrading process.
Meanwhile, the SIP signaling front-end processor provided by the invention can also be used for carrying out service distribution according to a default distribution mode, namely a mode of distributing service load under the condition of normal service call flow (namely non-service upgrading). As shown in fig. 1, the service identifying module 130 is further configured to forward the service call received before the specified distribution identifier is set to the load sharing module, in other words, after the service identifying module 130 receives the call service sent by the SIP function module, it detects that the specified distribution identifier does not exist in the module, and sends the call service to the load sharing module 150; the load sharing module 150 is further configured to determine a target processing module for processing the service call sent by the service identification module 130 according to the service load distribution manner, so as to ensure load balancing of at least two service processing modules in the normal service call process.
In addition, in the SIP signaling front-end processor shown in fig. 1, for the service message sent by the service processing module to the CSCF, after the internal communication module 160 receives the service message, the service message is directly sent to the CSCF by the SIP function module 110, without going through the load sharing module
The SIP signaling front-end processor shown in fig. 1 can be used for distributing service calls to at least two service processing modules in average through the SIP function module, the service identification module, the load sharing module and the internal communication module in sequence in a normal service call flow, so as to meet the performance requirement of a large-capacity SIP call service and realize the efficient processing of service calls; and in the call flow of service upgrading, the service call sequentially passes through the SIP function module, the service identification module, the appointed distribution module, the load sharing module and the internal communication module and is distributed to the appointed service processing module, and the service is not interrupted, thereby being beneficial to realizing the service upgrading without call loss. Therefore, the SIP signaling front-end processor can give consideration to the processing performance in the normal service call flow and the service upgrading without call loss.
Fig. 2 shows a flowchart of a service upgrade method provided by an embodiment of the present invention. The method is realized based on the SIP signaling front-end processor, wherein the SIP signaling front-end processor is used for distributing a plurality of service calls to at least two service processing modules for processing. As shown in fig. 2, the method comprises the steps of:
Step S210: when the service upgrading requirement exists, an initial module to be upgraded is selected from at least two service processing modules.
In this embodiment, the service processing modules are mainly exemplified by two cases, but in practical implementation, the service processing modules are not limited to this, and multiple cases can be implemented by analogy of two cases. After replacing all the service processing modules with updated service processing modules, one service upgrade is completed, and the upgraded service processing modules can be used for processing service calls.
Specifically, each time a part of service processing modules are selected as the modules to be upgraded to perform upgrading processing, the rest of service processing modules can continue to perform normal service processing so as to avoid service interruption. In this step, the module to be upgraded is selected randomly from at least two service processing modules, or by module number, or by module configuration.
Step S220: setting distribution configuration information of the SIP signaling front-end processor to be distributed to at least one other service processing module except the module to be upgraded; if a new service call is received, the SIP signaling front-end processor distributes the new service call to the at least one other service processing module for processing according to the distribution configuration information.
Specifically, the service configuration module of the SIP signaling front-end processor sets the distribution configuration information as a designated distribution mode, and designates distribution to at least one other service processing module except the to-be-upgraded module, where the to-be-upgraded module does not carry a service call, and the at least one other service processing module may be all the remaining service processing modules or may be the remaining partial service processing modules. After the designated distribution mode is set, if a new service call is received, the SIP signaling front-end unit works in a service upgrade mode at this time, that is, the new service call is distributed to at least one designated other service processing module for processing through the SIP functional module, the service identification module, the designated distribution module, the load sharing module and the internal communication module (specifically, the distribution processing can be referred to the description about the module working principle and the process of the SIP signaling front-end unit in fig. 1), wherein if at least one other service processing module is one, the new service call is directly distributed to the module, and if a plurality of service processing modules are needed, one service processing module is selected for distribution according to the service load.
For example, selecting the service processing module 1 of the two service processing modules as the module to be upgraded, setting the distribution configuration information to be designated and distributed to the service processing module 2, and then, the received new service call is processed by the SIP function module of the SIP signaling front-end processor, the service identification module, the designated and distributed module, the load sharing module and the internal communication module, and finally, distributed to the service processing module 2 for processing.
Step S230: waiting for the end of the service call processing distributed to the module to be upgraded; and after waiting for finishing, replacing the module to be upgraded by using the updated service processing module.
After setting distribution configuration information designated to be distributed to at least one other service processing module, waiting for service call processing that has been previously distributed to the module to be upgraded to end, and then performing module replacement, avoiding the influence of processing procedures that cause service calls that have been previously distributed to the module to be upgraded to set the above-described distribution configuration information, for example, causing call interruption. In other words, after the designated distribution configuration information is set, for the newly received service call, the service call is distributed to at least one other service processing module for processing through the SIP signaling front-end processor; and for the service calls distributed to the module to be upgraded, continuing to process the service calls by the module to be upgraded until all the service calls in the module to be upgraded are processed.
After the service call is assigned to be distributed to the service processing module 2, the service processing module 1 waits for the service call to be distributed to the service processing module 1 (i.e. the module to be upgraded) to complete the processing of the distributed service calls, for example, in step S220.
And after all the service calls distributed to the modules to be upgraded are processed, replacing the modules to be upgraded by the updated service processing modules prepared in advance, wherein the updated service processing modules have the service functions of upgrading.
Step S240: judging whether all the at least two business processing modules are upgraded; if yes, the service upgrading is completed, and the method is ended; if not, step S250 is performed.
After the step S220 and the step S230, the upgrade of the module to be upgraded is completed, and if at least two service processing modules are not completely upgraded, step S250 is required to be executed to select a new module to be upgraded and continue to upgrade; if at least two service processing modules are completely upgraded, the whole service is upgraded, and the method is finished.
Step S250: and selecting an unselected module to be upgraded from the at least two service processing modules, and repeatedly executing the steps S220 to S240.
And continuing to randomly select the module to be upgraded which is not selected according to the module number or the module configuration, and repeating the processes from the step S220 to the step S260 to upgrade the currently selected module to be upgraded. For example, in the case of two service processing modules, if the upgrade for the service processing module 1 is completed, the service processing module 2 is selected as a new module to be upgraded.
According to the service upgrading method provided by the embodiment, the method is realized based on the SIP signaling front-end processor disclosed in the previous embodiment, when the service upgrading requirement exists, the to-be-upgraded module in at least two service processing modules is upgraded each time, and the designated distribution configuration information is set through the SIP signaling front-end processor, so that the service call is not born in the upgrading process of the to-be-upgraded module, and the newly received service call is distributed to other service processing modules for processing, thereby avoiding service interruption; and for the service call distributed to the module to be upgraded, the upgrade replacement can be performed after the processing is completed, so that the normal processing of the part of service call is ensured. Therefore, the service upgrading without call loss can be realized through the SIP signaling front-end processor according to the scheme of the embodiment.
Fig. 3 is a flowchart of a service upgrade method according to another embodiment of the present invention. As shown in fig. 3, the method includes:
step S310: when the service upgrading requirement exists, an initial module to be upgraded is selected from at least two service processing modules.
Step S320: setting distribution configuration information of the SIP signaling front-end processor to be distributed to at least one other service processing module except the module to be upgraded; if a new service call is received, the SIP signaling front-end processor distributes the new service call to the at least one other service processing module for processing according to the distribution configuration information.
Step S330: waiting for the end of the service call processing distributed to the module to be upgraded; and after waiting for finishing, replacing the module to be upgraded by using the updated service processing module.
Step S340: and restoring the distribution configuration information of the SIP signaling front-end processor to distribute according to the service load, and carrying out service distribution by the SIP signaling front-end processor according to the restored distribution configuration information.
In this embodiment, after the upgrade of the module to be upgraded is completed, the default distribution mode (according to the service load distribution) of the SIP signaling front-end processor is restored, and in this distribution mode, the SIP signaling front-end processor sequentially passes through the SIP function module, the service identification module, the load sharing module and the internal communication module of the SIP signaling front-end processor, and the SIP signaling front-end processor distributes the service call to the currently upgraded service processing module and at least one other service processing module on average. In this way, after the upgrade of part of the service processing modules is completed, the average distribution can be restored, so that the load is equally distributed to each service processing module, so that the pressure of at least one other service processing module is shared before the next upgrade of the module to be upgraded is entered, and the upgraded module can accept a new service call.
In practice, the service processing modules before and after upgrading may not be compatible, and in some alternative embodiments, for the problem, after the to-be-upgraded module is replaced by the updated service processing module for the initial to-be-upgraded module, whether the to-be-upgraded module is compatible with the upgraded service processing module is judged, if it is judged that the to-be-upgraded module is compatible with the upgraded service processing module, after the upgrading of the to-be-upgraded module is completed each time, the distribution configuration information of the SIP signaling front-end processor is restored to be distributed according to the service load, so that the service load is distributed evenly on the premise of ensuring the compatibility. Otherwise, if the to-be-upgraded module and the upgraded service processing module are not compatible, after the upgrading of the to-be-upgraded module is completed each time, setting the distribution configuration information of the SIP signaling front-end processor to be appointed to be distributed to the upgraded service processing module, and then distributing the newly received service call to the upgraded service processing module for processing, so that the service call can be prevented from being uniformly distributed to the incompatible service processing module, and meanwhile, the updated service processing module can be ensured to be used for processing the new service call.
For example, at least two service processing modules, namely, a module 1, a module 2 and a module 3, are three, respectively, if one module to be upgraded is selected in the above order each time, that is, the module 1 is an initial module to be upgraded, after the upgrade of the module 1 is completed by using the steps S310 to S330, it is determined whether the modules 1 before and after the upgrade are compatible, if the modules 1, the modules 2 and the modules 3 are compatible, the distribution configuration information of the SIP signaling front-end processor is restored to be distributed according to the service load after the upgrade of the module 1 is completed, wherein, after the upgrade of the module 1 is completed, the service call is uniformly distributed to the modules 1, 2 and 3 after the upgrade; after the upgrade of the module 2 is completed, the service call is uniformly distributed to the upgraded module 1, the upgraded module 2 and the upgraded module 3; after the upgrade of the module 3 is completed, the service call is equally distributed to the upgraded module 1, the upgraded module 2 and the upgraded module 3. Otherwise, if not compatible, after the upgrade of the module 1, the module 2 and the module 3 is respectively finished, setting the distribution configuration information of the SIP signaling front-end processor to be appointed to be distributed to the upgraded service processing module, wherein after the upgrade of the module 1 is finished, the service call is distributed to the upgraded module 1; after the upgrade of the module 2 is completed, distributing the service to the upgraded module 1 and the upgraded module 2 (which can be equally divided); after the upgrade of the module 3 is completed, the service is distributed to the upgraded module 1, the upgraded module 2, and the upgraded module 3 (which may be equally divided).
Step S350: judging whether all the at least two business processing modules are upgraded; if yes, the service upgrading is completed, and the method is ended; if not, step S360 is performed.
Step S360: and selecting an unselected module to be upgraded from the at least two service processing modules, and repeatedly executing the steps S320 to S350.
In this embodiment, except for step S340, the steps not described in detail can be specifically referred to the corresponding steps in the embodiment corresponding to fig. 2, and will not be described herein.
According to the service upgrading method provided by the embodiment, after the upgrading of the module to be upgraded is completed each time, the distribution configuration information of the SIP signaling front-end processor can be restored to be distributed according to the service load, the SIP signaling front-end processor can distribute the service according to the restored distribution configuration information, after the upgrading of part of service processing modules is completed, the service processing modules can be restored to average distribution, the load is evenly distributed to each service processing module, so that the pressure of at least one other service processing module is shared before the next upgrading of the module to be upgraded is carried out, and meanwhile, the upgraded module can accept a new service call. Furthermore, the service load distribution can be restored only when the service load is compatible before and after upgrading through compatibility judgment, so that the service load is distributed evenly on the premise of ensuring the compatibility.
To facilitate understanding of the foregoing embodiments of the service upgrade method and the effects thereof, the following description is given with a complete SIP signaling example:
fig. 4a shows a flow chart of a normal service call in case of two service processing modules. Wherein the normal service call is a service call under the condition of non-service upgrade. As shown in fig. 4a, the specific flow is as follows:
(3 a.1) - (3 a.2): the user a and the user b initiate a call service at the same time, and an initial call message INVITE reaches the SIP signaling front-end processor;
(3 a.3) - (3 a.4): the service call processing is carried out by the load sharing function of the SIP signaling front-end processor which is averagely distributed to a first service processing module (for processing the call of the user a, the same applies below) and a second service processing module (for processing the call of the user b, the same applies below);
(3 a.5) - (3 a.8): the first service processing module and the second service processing module send out a temporary response message 100 transmission to the calls of the user a and the user b through the SIP signaling front-end processor.
(3 a.9) - (3 a.12): the first service processing module and the second service processing module send out a ringing response message 180RING to the calls of the user a and the user b, and the SIP signaling front-end processor is responsible for transmitting the ringing response message 180RING to the user a and the user b;
(3 a.13) - (3 a.16): the first service processing module and the second service processing module send response messages 200OK to the calls of the user a and the user b, and the SIP signaling front-end processor is responsible for transmitting the response messages 200OK to the user a and the user b;
(3 a.17) - (3 a.18): after receiving the response message 200OK, the user a and the user b send back a confirmation message ACK, and the confirmation message ACK reaches the SIP signaling front-end processor;
(3 a.19) - (3 a.20): the SIP signaling front-end processor forwards the confirmation message ACK to the first service processing module and the second service processing module according to the distribution information;
(3 a.21) - (3 a.28): the call release message processing of the user a and the user b is equally processed by adopting load sharing to the first service processing module and the second service processing module.
Fig. 4b shows a flow chart of the upgrade procedure in case of two service processing modules. Wherein the SIP signaling is processed as per the service call flow in fig. 4a before the upgrade (i.e. before the specified distribution mode is set). As shown in fig. 4b, the specific flow is as follows:
when the system is ready for upgrading, the SIP signaling front-end processor is provided with designated distribution, and all designated new services are distributed to a first service processing module;
(4b.1) - (4b.2): after the setting is completed, the user c and the user d initiate new call services, and an initial call message INVITE message reaches the SIP signaling front-end processor;
(4b.3) - (4b.4): the new service calls are distributed to the first service processing module for call processing through the appointed distribution function of the SIP signaling front-end processor, and the second service processing module does not bear the new service calls;
(4b.5) - (4b.28): all subsequent service calls are distributed to the first service processing module according to the designated distribution setting, the second service processing module will not receive new service calls, and only receive and process the service calls before the designated distribution setting;
after the service call established on the second service processing module before the designated distribution is set to be finished, the second service processing module can be updated. After the second service processing module is upgraded, new service calls can be received again on the second service processing module by recovering the load equipartition, and the upgrade operation of the first service processing module can be completed according to the method.
After upgrading, the SIP signaling is processed as per the service call flow in fig. 3.
Fig. 5 shows a schematic structural diagram of a service upgrading device according to an embodiment of the present invention. The device is realized based on the SIP signaling front-end processor. As shown in fig. 5, the apparatus includes:
a selecting module 510, adapted to select an initial module to be upgraded from at least two service processing modules when there is a service upgrade requirement; and if the at least two service processing modules are not completely upgraded, selecting an unselected module to be upgraded from the at least two service processing modules;
A setting module 520, adapted to set the distribution configuration information of the SIP signaling front-end processor to specify distribution to at least one other service processing module except the module to be upgraded;
a distributing module 530, adapted to distribute the new service call to the at least one other service processing module for processing according to the distributing configuration information by the SIP signaling front-end processor if the new service call is received;
a waiting module 540 adapted to wait for the end of the service call processing distributed to the module to be upgraded;
an upgrade module 550, adapted to replace the module to be upgraded with an updated service processing module after waiting to be completed;
the judging module 560 is adapted to judge whether all the at least two service processing modules are upgraded, if yes, the service upgrade is completed.
In an alternative, the setup module is further adapted to:
restoring the distribution configuration information of the SIP signaling front-end processor to distribute according to the service load;
the distribution module is further adapted to: and the SIP signaling front-end processor distributes the service according to the restored distribution configuration information.
In an alternative, the apparatus further comprises: the judging module is suitable for judging whether the to-be-upgraded module is compatible with the upgraded service processing module or not;
The setup module is further adapted to: and if the module to be upgraded is compatible with the upgraded service processing module, recovering the distribution configuration information of the SIP signaling front-end processor to be distributed according to the service load.
In an alternative, the setup module is further adapted to: if the to-be-upgraded module and the upgraded service processing module are incompatible, setting the distribution configuration information of the SIP signaling front-end processor to be appointed to be distributed to the upgraded service processing module.
In an alternative, the distribution module is further adapted to:
the SIP signaling front-end processor distributes the service call evenly to the currently upgraded service processing module and at least one other service processing module.
The embodiment of the invention provides a non-volatile computer storage medium, which stores at least one executable instruction, and the computer executable instruction can execute the service upgrading method in any of the method embodiments.
The executable instructions may be particularly useful for causing a processor to:
step S1: when a service upgrading requirement exists, an initial module to be upgraded is selected from at least two service processing modules;
Step S2: setting distribution configuration information of the SIP signaling front-end processor to be distributed to at least one other service processing module except the module to be upgraded; if a new service call is received, the SIP signaling front-end processor distributes the new service call to the at least one other service processing module for processing according to the distribution configuration information;
step S3: waiting for the end of the service call processing distributed to the module to be upgraded; after waiting for finishing, replacing the module to be upgraded by using the updated service processing module;
step S4: judging whether all the at least two service processing modules are upgraded, if yes, finishing the service upgrading; if not, selecting an unselected module to be upgraded from at least two service processing modules, and repeatedly executing the steps S2 to S4.
In one alternative, the executable instructions further cause the processor to:
and restoring the distribution configuration information of the SIP signaling front-end processor to distribute according to the service load, and carrying out service distribution by the SIP signaling front-end processor according to the restored distribution configuration information.
In one alternative, the executable instructions further cause the processor to:
Judging whether the module to be upgraded is compatible with the service processing module after upgrading;
and if the module to be upgraded is compatible with the upgraded service processing module, recovering the distribution configuration information of the SIP signaling front-end processor to be distributed according to the service load.
In an alternative manner, if the module to be upgraded and the service processing module after upgrading are not compatible, the executable instructions further cause the processor to:
and setting the distribution configuration information of the SIP signaling front-end processor to be appointed to be distributed to the service processing module which is updated.
In one alternative, the executable instructions further cause the processor to:
the SIP signaling front-end processor distributes the service call evenly to the currently upgraded service processing module and at least one other service processing module.
FIG. 6 illustrates a schematic diagram of a computing device according to an embodiment of the present invention, and the embodiment of the present invention is not limited to a specific implementation of the computing device.
As shown in fig. 6, the computing device may include: a processor 602, a communication interface (Communications Interface), a memory 606, and a communication bus 608.
Wherein: processor 602, communication interface 604, and memory 606 perform communication with each other via communication bus 608. Communication interface 604 is used to communicate with network elements of other devices, such as clients or other servers. The processor 602 is configured to execute the program 610, and may specifically perform relevant steps in the service upgrade method embodiment for a computing device.
In particular, program 610 may include program code including computer-operating instructions.
The processor 602 may be a central processing unit CPU or a specific integrated circuit ASIC (Application Specific Integrated Circuit) or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included by the computing device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
A memory 606 for storing a program 610. The memory 606 may comprise high-speed RAM memory or may further comprise non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 610 may be specifically operable to cause the processor 602 to:
Step S1: when a service upgrading requirement exists, an initial module to be upgraded is selected from at least two service processing modules;
step S2: setting distribution configuration information of the SIP signaling front-end processor to be distributed to at least one other service processing module except the module to be upgraded; if a new service call is received, the SIP signaling front-end processor distributes the new service call to the at least one other service processing module for processing according to the distribution configuration information;
step S3: waiting for the end of the service call processing distributed to the module to be upgraded; after waiting for finishing, replacing the module to be upgraded by using the updated service processing module;
step S4: judging whether all the at least two service processing modules are upgraded, if yes, finishing the service upgrading; if not, selecting an unselected module to be upgraded from at least two service processing modules, and repeatedly executing the steps S2 to S4.
In an alternative, the program 610 further causes the processor 602 to:
and restoring the distribution configuration information of the SIP signaling front-end processor to distribute according to the service load, and carrying out service distribution by the SIP signaling front-end processor according to the restored distribution configuration information.
In an alternative, the program 610 further causes the processor 602 to:
judging whether the module to be upgraded is compatible with the service processing module after upgrading;
and if the module to be upgraded is compatible with the upgraded service processing module, recovering the distribution configuration information of the SIP signaling front-end processor to be distributed according to the service load.
In an alternative manner, if the module to be upgraded and the service processing module after upgrading are not compatible, the program 610 further causes the processor 602 to:
and setting the distribution configuration information of the SIP signaling front-end processor to be appointed to be distributed to the service processing module which is updated.
In an alternative, the program 610 further causes the processor 602 to:
the SIP signaling front-end processor distributes the service call evenly to the currently upgraded service processing module and at least one other service processing module.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It will be appreciated that the teachings of embodiments of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the embodiments of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the above description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., an embodiment of the invention that is claimed, requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components according to embodiments of the present invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). Embodiments of the present invention may also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the embodiments of the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of the invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specifically stated.

Claims (10)

1. A SIP signaling front-end processor, comprising: the system comprises an SIP functional module, a service configuration module, a service identification module, a designated distribution module, a load sharing module and an internal communication module; wherein, the liquid crystal display device comprises a liquid crystal display device,
the SIP functional module is used for receiving and analyzing the service call and sending the analyzed service call to the service identification module;
the service configuration module is used for receiving the appointed distribution configuration information;
the service identification module is used for setting a designated distribution identifier according to the designated distribution configuration information and forwarding a new service call received after the designated distribution identifier is set to the designated distribution module;
the appointed distribution module is used for setting a corresponding distribution model according to the appointed distribution configuration information and sending the new service call and the distribution model to the load sharing module;
the load sharing module is used for determining a target service processing module for processing the new service call according to the distribution model;
the internal communication module is used for sending the new service call to a target processing module in at least two service processing modules for processing.
2. The SIP signaling front-end processor of claim 1, wherein the service identification module is further configured to forward a service call received before the specified distribution identifier is set to the load sharing module;
The load sharing module is further used for determining a target processing module for processing the service call sent by the service identification module according to the service load distribution mode.
3. A service upgrade method implemented based on the SIP signaling front-end processor of claim 1 or 2, wherein the SIP signaling front-end processor is configured to distribute a plurality of service calls to at least two service processing modules for processing, and includes:
step S1: when a service upgrading requirement exists, an initial module to be upgraded is selected from at least two service processing modules;
step S2: setting distribution configuration information of the SIP signaling front-end processor to be distributed to at least one other service processing module except the module to be upgraded; if a new service call is received, the SIP signaling front-end processor distributes the new service call to the at least one other service processing module for processing according to the distribution configuration information;
step S3: waiting for the end of the service call processing distributed to the module to be upgraded; after waiting for finishing, replacing the module to be upgraded by using the updated service processing module;
step S4: judging whether all the at least two service processing modules are upgraded, if yes, finishing the service upgrading; if not, selecting an unselected module to be upgraded from at least two service processing modules, and repeatedly executing the steps S2 to S4.
4. The method of claim 3, wherein after the replacing the module to be upgraded with the updated business process module, the method further comprises:
and restoring the distribution configuration information of the SIP signaling front-end processor to distribute according to the service load, and carrying out service distribution by the SIP signaling front-end processor according to the restored distribution configuration information.
5. The method of claim 4, wherein after replacing the module to be upgraded with an updated traffic processing module for an initial module to be upgraded, the method further comprises:
judging whether the module to be upgraded is compatible with the service processing module after upgrading;
the recovering the distribution configuration information of the SIP signaling front-end processor is specifically:
and if the module to be upgraded is compatible with the upgraded service processing module, recovering the distribution configuration information of the SIP signaling front-end processor to be distributed according to the service load.
6. The method of claim 5, wherein if the module to be upgraded and the upgraded business processing module are not compatible, the method further comprises:
and setting the distribution configuration information of the SIP signaling front-end processor to be appointed to be distributed to the service processing module which is updated.
7. The method according to any one of claims 4-6, wherein the SIP signaling front-end processor performing service distribution according to the restored distribution configuration information further comprises:
the SIP signaling front-end processor distributes the service call evenly to the currently upgraded service processing module and at least one other service processing module.
8. A service upgrade apparatus implemented based on the SIP signaling front-end processor of claim 1 or 2, the SIP signaling front-end processor being configured to distribute a plurality of service calls to at least two service processing modules for processing, comprising:
the selecting module is suitable for selecting an initial module to be upgraded from at least two service processing modules when the service upgrading requirement exists; and if the at least two service processing modules are not completely upgraded, selecting an unselected module to be upgraded from the at least two service processing modules;
the setting module is suitable for setting the distribution configuration information of the SIP signaling front-end processor to be appointed to be distributed to at least one other service processing module except the module to be upgraded;
the distribution module is suitable for distributing the new service call to the at least one other service processing module for processing according to the distribution configuration information by the SIP signaling front-end processor if the new service call is received;
The waiting module is suitable for waiting for ending the service call processing distributed to the module to be upgraded;
the upgrade module is suitable for replacing the module to be upgraded by using the updated service processing module after waiting for finishing;
and the judging module is suitable for judging whether all the at least two business processing modules are upgraded, and if yes, the business upgrading is completed.
9. A computing device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is configured to store at least one executable instruction, where the executable instruction causes the processor to perform the operations corresponding to the service upgrade method according to any one of claims 3-7.
10. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the service upgrade method according to any one of claims 3-7.
CN202010819457.0A 2020-08-14 2020-08-14 SIP signaling front-end processor, service upgrading method, device, equipment and storage medium Active CN114124907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010819457.0A CN114124907B (en) 2020-08-14 2020-08-14 SIP signaling front-end processor, service upgrading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010819457.0A CN114124907B (en) 2020-08-14 2020-08-14 SIP signaling front-end processor, service upgrading method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114124907A CN114124907A (en) 2022-03-01
CN114124907B true CN114124907B (en) 2023-07-21

Family

ID=80373695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010819457.0A Active CN114124907B (en) 2020-08-14 2020-08-14 SIP signaling front-end processor, service upgrading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114124907B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464713A (en) * 2002-06-06 2003-12-31 华为技术有限公司 Development service access equipment and processing method thereof
CN101964725A (en) * 2010-09-01 2011-02-02 中兴通讯股份有限公司 Method and system for realizing upgrading without interrupting service
CN105813228A (en) * 2016-03-14 2016-07-27 华为技术有限公司 Communication method and related device based on SIP over TCP/TLS
CN110798331A (en) * 2018-08-02 2020-02-14 华为技术有限公司 Equipment upgrading method and device
CN111246449A (en) * 2020-01-09 2020-06-05 维沃移动通信有限公司 Communication state updating method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050137926A1 (en) * 2003-12-17 2005-06-23 International Business Machines Corporation Method and apparatus for dynamic device allocation for managing escalation of on-demand business processes
KR20170019053A (en) * 2015-08-11 2017-02-21 삼성전자주식회사 User equipment in mobile communication system and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464713A (en) * 2002-06-06 2003-12-31 华为技术有限公司 Development service access equipment and processing method thereof
CN101964725A (en) * 2010-09-01 2011-02-02 中兴通讯股份有限公司 Method and system for realizing upgrading without interrupting service
CN105813228A (en) * 2016-03-14 2016-07-27 华为技术有限公司 Communication method and related device based on SIP over TCP/TLS
CN110798331A (en) * 2018-08-02 2020-02-14 华为技术有限公司 Equipment upgrading method and device
CN111246449A (en) * 2020-01-09 2020-06-05 维沃移动通信有限公司 Communication state updating method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
SIP协议安全机制的研究与实现;徐严;《中国优秀硕士学位论文全文数据库(电子期刊)》(第10期);全文 *
The Session Initiation Protocol (SIP) UPDATE Method;J. Rosenberg;《RFC3311》;全文 *
信令前置机解决方案-东方通信;fengruiling;《原创力文档:https://max.book118.com/html/2019/0328/6220243145002020.shtm》;全文 *

Also Published As

Publication number Publication date
CN114124907A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
US6189034B1 (en) Method and apparatus for dynamic launching of a teleconferencing application upon receipt of a call
EP2620872B1 (en) Method and device for callback processing in telecommunication capacity opening
US9083540B2 (en) Method and apparatus for listening for incoming calls on multiple port/socket combinations
CN111163130B (en) Network service system and data transmission method thereof
CN108055311B (en) HTTP asynchronous request method, device, server, terminal and storage medium
CN101326493A (en) Method and device for distributing load of multiprocessor server
CN111770122A (en) Service communication agent SCP registration method, service calling method and network equipment
CN112468574B (en) Processing method, device and system for application service publishing and subscribing mechanism
CN109815056A (en) Realize method, apparatus, storage medium and the equipment of message queue reconnection
CN114124907B (en) SIP signaling front-end processor, service upgrading method, device, equipment and storage medium
CN107438097B (en) Network request processing method and device
US20100103905A1 (en) Method and system for service link handover
CN101389069B (en) Service processing method and communication terminal
CN110740464A (en) NF service discovery method and device
CN109951532B (en) DPDK-based automatic flow model conversion device
CN111756844A (en) Multi-language message agent method and device
CN104796870B (en) The treating method and apparatus of multimedia message notification message, multimedia message receive system
US20160302055A1 (en) Information processing system
CN101453450B (en) IMS service implementing method based on customer terminal, apparatus and system thereof
CN114327466B (en) Method and system for realizing message decoupling between vehicle-mounted APP modules
US20220400229A1 (en) Conference creation method, terminal, server end, and storage medium
CN107959693B (en) Calling method, synchronous server and calling system
CN116467092A (en) Service logic processing method and device, electronic equipment and storage medium
CN108173910B (en) Method and system for managing application
CN105871984A (en) Information pushing and display method and corresponding apparatus

Legal Events

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