CN110912885B - Method and system for instantly notifying missed calls of multiple accounts in IMS network - Google Patents

Method and system for instantly notifying missed calls of multiple accounts in IMS network Download PDF

Info

Publication number
CN110912885B
CN110912885B CN201911146840.8A CN201911146840A CN110912885B CN 110912885 B CN110912885 B CN 110912885B CN 201911146840 A CN201911146840 A CN 201911146840A CN 110912885 B CN110912885 B CN 110912885B
Authority
CN
China
Prior art keywords
called
calling
record
value
user
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
CN201911146840.8A
Other languages
Chinese (zh)
Other versions
CN110912885A (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.)
Nari Information and Communication Technology Co
Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
Nari Information and Communication Technology Co
Information and Telecommunication Branch of State Grid Jiangsu Electric Power 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 Nari Information and Communication Technology Co, Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd filed Critical Nari Information and Communication Technology Co
Priority to CN201911146840.8A priority Critical patent/CN110912885B/en
Publication of CN110912885A publication Critical patent/CN110912885A/en
Application granted granted Critical
Publication of CN110912885B publication Critical patent/CN110912885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1043Gateway controllers, e.g. media gateway control protocol [MGCP] controllers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The invention discloses a method and a system for instantly notifying missed calls of multiple accounts in an IMS network, which sequentially strip Ethernet frames in mirror image flow data on an IMS network switch to obtain an SIP message; analyzing the SIP message, extracting a calling identifier, a calling number and a called number from a header field of the SIP message, and storing the calling number and the called number into a memory queue after duplication elimination; and acquiring calling and called numbers from the memory queue, and sending a notification message to notify the user in time if the called user subscribes the missed call instant notification service. The missed call in the IMS administrative switching network can be processed immediately, and the telephone terminal user is not restricted by the fixed telephone any more; aiming at a communication system with a single user and multiple accounts, carrying out integration notification; only providing service for the subscribed users, avoiding invalid notification and saving server resources; the content of the notification message is detailed information, so that the office staff can conveniently process the notification message in real time.

Description

Method and system for instantly notifying missed calls of multiple accounts in IMS network
Technical Field
The invention relates to the technical field of communication, in particular to a method and a system for instantly notifying missed calls of multiple accounts based on user identities in an IMS network.
Background
An IP Multimedia Subsystem (IMS) is an IP-based network system architecture for providing services such as audio and Multimedia services. IMS as a development core of Next Generation Networks (NGN) can implement functions such as conference calls, video conferences, real-time messaging, and multimedia services. With the continuous improvement of the IMS technology, the building and use of the IMS system network in the administrative switching network are becoming more mature, but some aspects still have some disadvantages.
At present, an IMS administrative office network is mainly used for daily landline telephone service, and when a user leaves an office, the user cannot immediately know the missed call condition. Meanwhile, the IMS administrative switching network supports a user with multiple terminals (fixed line, soft line, etc.), and multiple terminals ring at the same time when a call comes, so that missed calls from multiple terminals need to be integrated.
Disclosure of Invention
The invention mainly aims to solve the problem that missed calls cannot be processed immediately at office telephone terminals of an IMS (IP multimedia subsystem) administrative switching network.
The specific technical scheme is as follows: a method for instant notification of missed calls of multiple accounts in an IMS network comprises the following steps:
sequentially stripping Ethernet frames in the mirror image flow data on the IMS network switch to obtain an SIP message;
analyzing the SIP message, extracting a calling identifier, a calling number and a called number from a header field of the SIP message, and storing the calling number and the called number into a memory queue after duplication elimination;
and acquiring calling and called numbers from the memory queue, and sending a notification message to notify the user in time if the called user subscribes the missed call instant notification service.
Further, the mirror flow data is: and mirroring the network traffic of the MGCF and the P-CSCF port on the IMS network switch to obtain mirrored traffic data.
Further, the SIP message is analyzed, the calling identification, the calling number and the called number are extracted from the header field of the SIP message, and after the duplication is removed, the calling number and the called number are stored in a memory queue, and the specific process comprises the following steps:
if the SIP message is an INVITE request, sequentially extracting a Call unique identifier, a calling number and a called number From a header field Call-ID, From and To of the SIP message;
using the Call-ID as a key to search records from a hash table of a memory database, if the records exist, indicating that the records are repeated messages and not processed; if the value does not exist, the Call-ID is used as a key, the Call-ID, the calling number and the called number are used as values, the record is stored in a hash table of a memory database, and the survival time of the record is set by the key value;
giving an initial reference variable value as 1, searching records from a hash table of a memory database by taking a calling number and a called number as keys, if the records exist, acquiring the value of the record into the reference variable and increasing the value of the reference variable by 1; storing the record into a hash table of a memory database by taking the calling number and the called number as keys and the reference variable value as a value, and setting the survival time of the record by the key value pair;
if the SIP message is a response message, extracting a response state code From a state line of the SIP message, if the extracted state codes are 480, 486 and 487, indicating that the telephone is not connected, and extracting a calling number and a called number From a From header field and a To header field of the SIP message with the state codes of 480, 486 and 487; searching records from a hash table of a memory database by taking a calling number and a called number as keys, if the records exist, acquiring a value of the records into a temporary variable, and reducing the value of the temporary variable by 1; storing the record into a hash table of a memory database by taking the calling number and the called number as keys and taking the temporary variable value as a value, and setting the survival time of the record by the key value pair; and storing the calling number and the called number in a memory queue.
Further, the calling number and the called number are obtained from the memory queue, if the called user subscribes the missed call instant notification service, a notification message is sent to notify the user in time, and the specific process is as follows:
acquiring a record from the head of the queue, searching the record from a hash table of a memory database by taking a calling number and a called number as keys, if the record exists, acquiring the value of the record to a temporary variable, and if the temporary variable is more than 0, not processing the record; if the temporary variable is equal to 0, searching the related information of the called user in the user data table according to the called number, and determining whether to send the notification information to the user according to whether the user subscribes the missed call instant notification service.
Further, if the called user opens the missed call instant notification service, searching the relevant information of the calling user from the preset address list according to the calling number, generating missed call notification information, and sending the missed call notification information to the terminal equipment of the called user.
A multi-account missed call instant notification system in an IMS network is characterized by comprising: IMS network switch, missed call server and user terminal equipment;
the missed call server is used for analyzing SIP messages in the mirror flow of the IMS network switch; extracting a calling identifier, a calling number and a called number from a header field of the SIP message, and storing the calling number and the called number into a memory queue after removing the duplication; and acquiring calling and called numbers from the memory queue, and sending a notification message to notify the user terminal equipment in time if the called user subscribes the missed call instant notification service.
Further, the IMS network switch mirror traffic is: and copying the port traffic of IMS network elements P-CSCF and MGCF on an IMS network switch in an IMS core network through a port mirroring technology to obtain mirrored traffic.
Further, the method extracts the calling identifier, the calling number and the called number from the header field of the SIP message, and after removing the duplication, stores the calling number and the called number in a memory queue, and specifically includes: if the SIP message is an INVITE request, sequentially extracting a Call unique identifier, a calling number and a called number From a header field Call-ID, From and To of the SIP message;
using the Call-ID as a key to search records from a hash table of a memory database, if the records exist, indicating that the records are repeated messages and not processed; if the value does not exist, the Call-ID is used as a key, the Call-ID, the calling number and the called number are used as values, the record is stored in a hash table of a memory database, and the survival time of the record is set by the key value;
giving an initial reference variable value as 1, searching records from a hash table of a memory database by taking a calling number and a called number as keys, if the records exist, acquiring the value of the record into the reference variable and increasing the value of the reference variable by 1; storing the record into a hash table of a memory database by taking the calling number and the called number as keys and the reference variable value as a value, and setting the survival time of the record by the key value pair;
if the SIP message is a response message, extracting a response state code From a state line of the SIP message, if the extracted state codes are 480, 486 and 487, indicating that the telephone is not connected, and extracting a calling number and a called number From a From header field and a To header field of the SIP message with the state codes of 480, 486 and 487; searching records from a hash table of a memory database by taking a calling number and a called number as keys, if the records exist, acquiring a value of the records into a temporary variable, and reducing the value of the temporary variable by 1; storing the record into a hash table of a memory database by taking the calling number and the called number as keys and taking the temporary variable value as a value, and setting the survival time of the record by the key value pair; and storing the calling number and the called number in a memory queue.
Further, the calling number and the called number are obtained from the memory queue, if the called user subscribes the missed call instant notification service, a notification message is sent to notify the user terminal equipment in time, and the specific process is as follows:
acquiring a record from the head of the queue, searching the record from a hash table of a memory database by taking a calling number and a called number as keys, if the record exists, acquiring the value of the record to a temporary variable, and if the temporary variable is more than 0, not processing the record; if the temporary variable is equal to 0, searching the related information of the called user in the user data table according to the called number, and determining whether to send the notification information to the user terminal equipment according to whether the user subscribes the missed call instant notification service.
Further, if the called user opens the missed call instant notification service, searching the relevant information of the calling user from the preset address list according to the calling number, generating missed call notification information, and sending the missed call notification information to the terminal equipment of the called user.
The invention has the beneficial effects that:
the missed call of the office telephone terminal of the IMS administrative switching network can be processed immediately;
the invention can comprehensively process all the flows outside the domain in the domain, and only processes the mirrored flow, without affecting the normal processing of the source flow by the equipment;
missed calls in the IMS administrative switching network can be processed immediately, and a telephone terminal user is not restricted by a fixed telephone any more; aiming at a communication system with a single user and multiple accounts, carrying out integration notification; only providing service for the subscribed users, avoiding invalid notification and saving server resources; the content of the notification message is detailed information, so that the office staff can conveniently process the notification message in real time; an open interface of the missed calls is provided, which is beneficial to the expansion of other services;
the invention uses IMS core network element to analyze the multi-account terminal call signaling under each user, integrates to form a data packet describing the missed call event structure, matches the missed call in the data packet with the address book data table in the database, obtains the detailed information of the name, department, etc. of the missed call and informs the called person. The invention is helpful for providing the missed call information to the office staff in real time and improving the processing timeliness of the office call.
Drawings
FIG. 1 is a flowchart illustrating a method for instant notification of missed calls according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an instant missed call notification system according to an embodiment of the present invention;
FIG. 3 is a flowchart of metadata (caller ID, caller number, callee number, etc.) re-duplication in an embodiment of the present invention;
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely illustrative of some, but not all, of the embodiments of the invention, and that the preferred embodiments of the invention are shown in the drawings. This invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather should be construed as broadly as the present disclosure is set forth in order to provide a more thorough understanding thereof. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
referring to fig. 1, a method for instantly notifying missed calls of multiple accounts in an IMS network includes the following steps:
step S1: mirroring the network traffic of MGCF and P-CSCF ports on the IMS network switch;
step S2: and sequentially stripping the Ethernet frames in the mirror image flow data to sequentially obtain an IP message, a UDP message and an SIP message.
Specifically, the obtained mirror image flow is in a form of transmitting an ethernet frame at a link layer, the data part in the ethernet frame is extracted to be an IP message transmitted at a network layer, then the data part in the IP message is extracted to be a UDP message at a transmission layer, and finally the data part in the UDP message is extracted to obtain an SIP message at an application layer.
Step S3: analyzing the SIP message according to the standard SIP protocol, extracting metadata (calling identification, calling number, called number and the like) from the header field of the SIP message, and storing tuples (calling number and called number) into a memory queue after duplication is removed.
Specifically, as shown in fig. 3, according to the standard SIP protocol,
if the SIP message is an INVITE request, a Call unique identifier, a calling number and a called number are sequentially extracted From the header fields Call-ID, From and To of the SIP message.
Because repeated messages exist in the network, the repeated messages need to be removed, and the method can be carried out as follows:
and (4) searching records from a hash table of the memory database by taking the Call-ID as a key, and if the records exist, indicating that the records are repeated messages and need to be discarded without processing. If the key value does not exist, the Call-ID is used as the key, the tuple (Call-ID, calling number and called number) is used as the value, the record is stored in the hash table of the memory database, and the survival time of the key value to the record is set to be 40 seconds, so that the key value record in the hash table can be automatically deleted by the memory database under the condition that the INVITE request does not respond, and the memory leakage is avoided.
Because a plurality of network elements in the IMS network will generate a plurality of requests for the same Call, although Call-IDs are different, they still belong to duplicate records, and it is also necessary to perform a culling operation on them, which can be performed as follows.
An initial reference variable value is given as 1, a record is searched from a hash table of memory data by taking a tuple (calling number and called number) as a key, if the record exists, the value of the record is acquired into the reference variable, and the value of the reference variable is increased by 1. The records are stored in a hash table of a memory database by taking tuples (calling numbers and called numbers) as keys and reference variable values as values, and the survival time of the records of the key value pairs is set to be 40 seconds, so that the key value records in the hash table can be automatically deleted by the memory database under the condition of processing abnormity, and memory leakage is avoided.
If the SIP message is a response message, extracting a response status code from a status line of the SIP message, and if the extracted status codes are 480, 486 and 487, indicating that the telephone is not connected, wherein 480 represents temporal unavailable, 486 represents busy, and 487 represents request terminated; then, the calling number and the called number are extracted From the From and To header fields of the SIP messages with the state codes of 480, 486 and 487. And searching records from a hash table of a memory database by taking tuples (calling numbers and called numbers) as keys, and if the records exist, acquiring the values of the records into a temporary variable and reducing the value of the temporary variable by 1. The records are stored in a hash table of a memory database by taking tuples (calling numbers and called numbers) as keys and temporary variable values as values, and the survival time of the key value pair records is set to be 40 seconds, so that the key value records in the hash table can be automatically deleted by the memory database under the condition of processing abnormity, and memory leakage is avoided. Then, the tuple (calling number, called number, current timestamp) is saved in the memory queue. The current timestamp is the time when the missed call occurred and is included in the message of the notification.
Step S4: and acquiring tuple from the head of the memory queue, extracting the called number, searching the related information of the called user in a user data table, and determining whether to send notification information to the user according to whether the user subscribes the missed call instant notification service.
Specifically, according to the queue first-in first-out principle, a tuple record is obtained from the head of the queue, and the record is searched from the hash table of the memory data by taking the tuple (calling number and called number) as a key. If the message exists, acquiring the value of the message into a temporary variable, and if the temporary variable is larger than 0, indicating that the number of the requests and the response numbers of the same communication are not matched, and the message is incomplete, skipped and not processed; if the temporary variable is equal to 0, the multiple requests and responses of the same call are completed, the related information of the called party is searched in the user data table according to the called number, and whether to send the notification information to the user is determined according to whether the user subscribes the missed call instant notification service.
Step S5: and for the user who subscribes the missed call instant notification service, generating notification information according to the matching of the calling number with a preset address book data table, calling a third-party notification platform interface, sending the notification information, and notifying the user terminal equipment in time.
Specifically, if the called user opens the missed call instant notification service, relevant information of the calling user, including information of name, department, unit and the like, is searched in a preset address book data table according to the calling number, missed call notification information is generated according to the information of the calling user and is sent to the terminal equipment of the called user, and the missed call instant notification service is convenient for the called user to check.
Example 2:
as shown in fig. 2, an instant notification system for missed calls of multiple accounts in an IMS network includes: IMS network switch, missed call server and user terminal equipment;
copying port flow of an IMS network element P-CSCF (proxy call session control function) and an MGCF (media gateway control function) on an IMS network switch in an IMS core network to a specified port through a port mirroring technology, acquiring flow data from the specified port by a missed call server, analyzing and analyzing an SIP message in the IMS network switch mirroring flow; extracting a calling identifier, a calling number and a called number from a header field of the SIP message, and storing the calling number and the called number into a memory queue after removing the duplication; acquiring calling and called numbers from a memory queue, and if a called user subscribes a missed call instant notification service, sending a notification message to notify the user in time; and informing user terminal equipment such as a mobile phone terminal, a personal PC (personal computer) terminal and the like of the missed call information through a third party informing platform interface. The system has the advantages of instantly processing missed call messages and feeding back detailed information to the terminal user.
The MGCF port is an out-of-domain traffic port in the IMS core network, and the P-CSCF port is an in-domain traffic port in the IMS core network. By using the port mirroring technology, when a SIP (session Initiation protocol) protocol signaling message (a calls B, which may generate a SIP protocol) borne by the IP network passes through the MGCF port and the P-CSCF port, the mirroring port copies a message traffic passing through the source port. The method has the advantages that all traffic outside the domain in the domain can be processed comprehensively, only the mirrored traffic is processed, and the normal processing of the source traffic by the equipment is not influenced.
The mirror flow of the IMS network switch is as follows: and copying the port traffic of IMS network elements P-CSCF and MGCF on an IMS network switch in an IMS core network through a port mirroring technology to obtain mirrored traffic.
Extracting a calling identifier, a calling number and a called number from a header field of an SIP message, and storing the calling number and the called number into a memory queue after removing duplication, wherein the method specifically comprises the following steps:
if the SIP message is an INVITE request, sequentially extracting a Call unique identifier, a calling number and a called number From a header field Call-ID, From and To of the SIP message;
using the Call-ID as a key to search records from a hash table of a memory database, if the records exist, indicating that the records are repeated messages and not processed; if the value does not exist, the Call-ID is used as a key, the Call-ID, the calling number and the called number are used as values, the record is stored in a hash table of a memory database, and the survival time of the record is set by the key value;
giving an initial reference variable value as 1, searching records from a hash table of a memory database by taking a calling number and a called number as keys, if the records exist, acquiring the value of the record into the reference variable and increasing the value of the reference variable by 1; storing the record into a hash table of a memory database by taking the calling number and the called number as keys and the reference variable value as a value, and setting the survival time of the record by the key value pair;
if the SIP message is a response message, extracting a response state code From a state line of the SIP message, if the extracted state codes are 480, 486 and 487, indicating that the telephone is not connected, and extracting a calling number and a called number From a From header field and a To header field of the SIP message with the state codes of 480, 486 and 487; searching records from a hash table of a memory database by taking a calling number and a called number as keys, if the records exist, acquiring a value of the records into a temporary variable, and reducing the value of the temporary variable by 1; storing the record into a hash table of a memory database by taking the calling number and the called number as keys and taking the temporary variable value as a value, and setting the survival time of the record by the key value pair; and storing the calling number and the called number in a memory queue.
Obtaining calling and called numbers from a memory queue, if a called user subscribes a missed call instant notification service, sending a notification message to notify the user terminal equipment in time, and the specific process is as follows:
acquiring a record from the head of the queue, searching the record from a hash table of a memory database by taking a calling number and a called number as keys, if the record exists, acquiring the value of the record to a temporary variable, and if the temporary variable is more than 0, not processing the record; if the temporary variable is equal to 0, searching the related information of the called user in the user data table according to the called number, and determining whether to send the notification information to the user terminal equipment according to whether the user subscribes the missed call instant notification service.
If the called user opens the missed call instant notification service, searching the relevant information of the calling user from the preset address list according to the calling number, generating missed call notification information, and sending the missed call notification information to the terminal equipment of the called user.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (6)

1. A method for instant notification of missed calls of multiple accounts in an IMS network is characterized by comprising the following steps:
sequentially stripping Ethernet frames in the mirror image flow data on the IMS network switch to obtain an SIP message;
analyzing the SIP message, extracting a calling identifier, a calling number and a called number from a header field of the SIP message, and storing the calling number and the called number into a memory queue after duplication elimination;
acquiring calling and called numbers from a memory queue, and if a called user subscribes a missed call instant notification service, sending a notification message to notify the user in time;
analyzing the SIP message, extracting the calling identifier, the calling number and the called number from the header field of the SIP message, and storing the calling number and the called number into a memory queue after duplication removal, wherein the specific process comprises the following steps:
if the SIP message is an INVITE request, sequentially extracting a Call unique identifier, a calling number and a called number From a header field Call-ID, From and To of the SIP message;
using the Call-ID as a key to search records from a hash table of a memory database, if the records exist, indicating that the records are repeated messages and not processed; if the value does not exist, the Call-ID is used as a key, the Call-ID, the calling number and the called number are used as values, the record is stored in a hash table of a memory database, and the survival time of the record is set by the key value;
giving an initial reference variable value as 1, searching records from a hash table of a memory database by taking a calling number and a called number as keys, if the records exist, acquiring the value of the record into the reference variable and increasing the value of the reference variable by 1; storing the record into a hash table of a memory database by taking the calling number and the called number as keys and the reference variable value as a value, and setting the survival time of the record by the key value pair;
if the SIP message is a response message, extracting a response state code From a state line of the SIP message, if the extracted state codes are 480, 486 and 487, indicating that the telephone is not connected, and extracting a calling number and a called number From a From header field and a To header field of the SIP message with the state codes of 480, 486 and 487; searching records from a hash table of a memory database by taking a calling number and a called number as keys, if the records exist, acquiring a value of the records into a temporary variable, and reducing the value of the temporary variable by 1; storing the record into a hash table of a memory database by taking the calling number and the called number as keys and taking the temporary variable value as a value, and setting the survival time of the record by the key value pair; storing the calling number and the called number in a memory queue;
obtaining calling and called numbers from a memory queue, if a called user subscribes a missed call instant notification service, sending a notification message to notify the user in time, and the specific process is as follows:
acquiring a record from the head of the queue, searching the record from a hash table of a memory database by taking a calling number and a called number as keys, if the record exists, acquiring the value of the record to a temporary variable, and if the temporary variable is more than 0, not processing the record; if the temporary variable is equal to 0, searching the related information of the called user in the user data table according to the called number, and determining whether to send the notification information to the user according to whether the user subscribes the missed call instant notification service.
2. The method for instantly notifying the missed call of multiple accounts in the IMS network according to claim 1, wherein the mirror traffic data is: and mirroring the network traffic of the MGCF and the P-CSCF port on the IMS network switch to obtain mirrored traffic data.
3. The method as claimed in claim 1, wherein if the called user opens the missed call instant notification service, the method searches the relevant information of the calling user from a preset address book data table according to the calling number, generates missed call notification information, and sends the missed call notification information to the terminal device of the called user.
4. A multi-account missed call instant notification system in an IMS network is characterized by comprising: IMS network switch, missed call server and user terminal equipment;
the missed call server is used for analyzing SIP messages in the mirror flow of the IMS network switch; extracting a calling identifier, a calling number and a called number from a header field of the SIP message, and storing the calling number and the called number into a memory queue after removing the duplication; obtaining calling and called numbers from a memory queue, and if a called user subscribes a missed call instant notification service, sending a notification message to notify user terminal equipment in time;
extracting a calling identifier, a calling number and a called number from a header field of an SIP message, and storing the calling number and the called number into a memory queue after removing duplication, wherein the method specifically comprises the following steps:
if the SIP message is an INVITE request, sequentially extracting a Call unique identifier, a calling number and a called number From a header field Call-ID, From and To of the SIP message;
using the Call-ID as a key to search records from a hash table of a memory database, if the records exist, indicating that the records are repeated messages and not processed; if the value does not exist, the Call-ID is used as a key, the Call-ID, the calling number and the called number are used as values, the record is stored in a hash table of a memory database, and the survival time of the record is set by the key value;
giving an initial reference variable value as 1, searching records from a hash table of a memory database by taking a calling number and a called number as keys, if the records exist, acquiring the value of the record into the reference variable and increasing the value of the reference variable by 1; storing the record into a hash table of a memory database by taking the calling number and the called number as keys and the reference variable value as a value, and setting the survival time of the record by the key value pair;
if the SIP message is a response message, extracting a response state code From a state line of the SIP message, if the extracted state codes are 480, 486 and 487, indicating that the telephone is not connected, and extracting a calling number and a called number From a From header field and a To header field of the SIP message with the state codes of 480, 486 and 487; searching records from a hash table of a memory database by taking a calling number and a called number as keys, if the records exist, acquiring a value of the records into a temporary variable, and reducing the value of the temporary variable by 1; storing the record into a hash table of a memory database by taking the calling number and the called number as keys and taking the temporary variable value as a value, and setting the survival time of the record by the key value pair; storing the calling number and the called number in a memory queue;
obtaining calling and called numbers from a memory queue, if a called user subscribes a missed call instant notification service, sending a notification message to notify the user terminal equipment in time, and the specific process is as follows:
acquiring a record from the head of the queue, searching the record from a hash table of a memory database by taking a calling number and a called number as keys, if the record exists, acquiring the value of the record to a temporary variable, and if the temporary variable is more than 0, not processing the record; if the temporary variable is equal to 0, searching the related information of the called user in the user data table according to the called number, and determining whether to send the notification information to the user terminal equipment according to whether the user subscribes the missed call instant notification service.
5. The system according to claim 4, wherein the IMS network switch mirror traffic is: and copying the port traffic of IMS network elements P-CSCF and MGCF on an IMS network switch in an IMS core network through a port mirroring technology to obtain mirrored traffic.
6. The system according to claim 4, wherein if the called user opens the missed call notification service, the system searches the relevant information of the calling user from a preset address book data table according to the calling number to generate missed call notification information, and sends the missed call notification information to the terminal device of the called user.
CN201911146840.8A 2019-11-21 2019-11-21 Method and system for instantly notifying missed calls of multiple accounts in IMS network Active CN110912885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911146840.8A CN110912885B (en) 2019-11-21 2019-11-21 Method and system for instantly notifying missed calls of multiple accounts in IMS network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911146840.8A CN110912885B (en) 2019-11-21 2019-11-21 Method and system for instantly notifying missed calls of multiple accounts in IMS network

Publications (2)

Publication Number Publication Date
CN110912885A CN110912885A (en) 2020-03-24
CN110912885B true CN110912885B (en) 2020-09-15

Family

ID=69818491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911146840.8A Active CN110912885B (en) 2019-11-21 2019-11-21 Method and system for instantly notifying missed calls of multiple accounts in IMS network

Country Status (1)

Country Link
CN (1) CN110912885B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132348B (en) * 2021-03-10 2023-10-24 国网江苏省电力有限公司信息通信分公司 Automatic discovery method and device for local area network SIP terminal
CN113114855B (en) * 2021-04-09 2023-01-06 山东欧飞凌信息技术有限公司 Zombie number retrieval method based on IMS call signaling
CN114006888B (en) * 2021-10-29 2023-05-05 中电福富信息科技有限公司 Call information pushing method and system based on IMS communication capability open AS platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931904A (en) * 2009-06-26 2010-12-29 中国电信股份有限公司 Method and system for multimedia call-missing remind as well as SIP (Session Initiation Protocol) server thereof
CN102083026A (en) * 2009-11-27 2011-06-01 中国移动通信集团设计院有限公司 Incoming call reminding platform, incoming call reminding method and internet protocol (IP) multimedia subsystem
CN103369474A (en) * 2013-05-31 2013-10-23 华为技术有限公司 Miscall reminding method and device
CN108270908A (en) * 2016-12-30 2018-07-10 中移(杭州)信息技术有限公司 The based reminding method and device of a kind of missed call
CN108632478A (en) * 2017-03-24 2018-10-09 北京京东尚科信息技术有限公司 Statistics calling detailed single method, apparatus, electronic equipment and readable storage medium storing program for executing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8180036B2 (en) * 2004-09-30 2012-05-15 Alcatel Lucent Method and apparatus for accessing missed call information
US20140297805A1 (en) * 2013-03-29 2014-10-02 Alcatel-Lucent India Limited Method and apparatus for assigning priority levels to streams by a network element in a communications network
CN103618747B (en) * 2013-12-11 2016-09-21 中国联合网络通信集团有限公司 A kind of method and system realizing SIP information service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931904A (en) * 2009-06-26 2010-12-29 中国电信股份有限公司 Method and system for multimedia call-missing remind as well as SIP (Session Initiation Protocol) server thereof
CN102083026A (en) * 2009-11-27 2011-06-01 中国移动通信集团设计院有限公司 Incoming call reminding platform, incoming call reminding method and internet protocol (IP) multimedia subsystem
CN103369474A (en) * 2013-05-31 2013-10-23 华为技术有限公司 Miscall reminding method and device
CN108270908A (en) * 2016-12-30 2018-07-10 中移(杭州)信息技术有限公司 The based reminding method and device of a kind of missed call
CN108632478A (en) * 2017-03-24 2018-10-09 北京京东尚科信息技术有限公司 Statistics calling detailed single method, apparatus, electronic equipment and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN110912885A (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN110912885B (en) Method and system for instantly notifying missed calls of multiple accounts in IMS network
US9531782B2 (en) Dynamic management of collaboration sessions using real-time text analytics
US8135125B2 (en) Multi-party information analysis in a VoIP system
US8588377B2 (en) Method and system for grouping voice messages
US7200213B2 (en) Systems and methods for an operator system service
US8588111B1 (en) System and method for passive communication recording
US10320972B2 (en) Enhanced session initiation protocol recording
US20080037723A1 (en) Peer-to-peer broadcasting in a VoIP system
US7852784B2 (en) Estimating endpoint performance in unified communication systems
TWI569619B (en) Message recording server, message data management system and method thereof
US9491297B1 (en) Methods and systems for managing telecommunications
CN102075737A (en) Video monitoring conversation method
CN110620849B (en) Centralized sorting method and system for IMS telephone terminal call records
US20150189078A1 (en) Call recording with interaction metadata correlation
US8437266B2 (en) Flow through call control
US20080003941A1 (en) VoIP two-way broadcasting
US20140362738A1 (en) Voice conversation analysis utilising keywords
US10931719B2 (en) Early media handling
US7564846B2 (en) Method of collecting communication system information
CN110943938A (en) Real-time recording method and system for IMS switching network telephone terminal
US11805399B2 (en) Computer-implemented method of optimizing bandwidth in a PSAP environment and communication network
US20170302722A1 (en) Systems and methods for improving media data communications over a network
WO2016037489A1 (en) Method, device and system for monitoring rcs spam messages
US9167085B2 (en) System and method for coordinated call-back revocation
JP5662735B2 (en) How to improve call tracing

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