CN113132348B - Automatic discovery method and device for local area network SIP terminal - Google Patents

Automatic discovery method and device for local area network SIP terminal Download PDF

Info

Publication number
CN113132348B
CN113132348B CN202110260101.2A CN202110260101A CN113132348B CN 113132348 B CN113132348 B CN 113132348B CN 202110260101 A CN202110260101 A CN 202110260101A CN 113132348 B CN113132348 B CN 113132348B
Authority
CN
China
Prior art keywords
terminal
address
sip
telephone number
element information
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
CN202110260101.2A
Other languages
Chinese (zh)
Other versions
CN113132348A (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.)
Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
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 Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd filed Critical Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
Priority to CN202110260101.2A priority Critical patent/CN113132348B/en
Publication of CN113132348A publication Critical patent/CN113132348A/en
Application granted granted Critical
Publication of CN113132348B publication Critical patent/CN113132348B/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
    • 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
    • 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/1066Session management
    • H04L65/1073Registration or de-registration

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a local area network SIP terminal automatic discovery method and a device thereof, comprising the following steps: analyzing an SIP registration signaling in a local area network to acquire an IP address and a telephone number of an SIP terminal; acquiring a home page screenshot of corresponding terminal equipment according to an IP address of the SIP terminal, and analyzing to obtain home page element information; and matching the first page element information with the pre-stored first page element information, and if the first page element information is not matched with the pre-stored first page element information, considering the first page element information as a new SIP terminal. The application can automatically find the SIP terminal and automatically identify the terminal type, manufacturer name and version number information.

Description

Automatic discovery method and device for local area network SIP terminal
Technical Field
The application relates to the technical field of local area networks, in particular to an automatic discovery method and device for a local area network SIP terminal.
Background
The IP multimedia subsystem (IP Multimedia Subsystem, IMS) is an IP-based network system architecture for providing services such as audio and multimedia services, and is the core of the development of the next generation network (Next Generation Network, NGN). Session Initiation Protocol (SIP) is the basic control protocol of IMS.
SIP terminals are IMS access terminal devices implementing the SIP protocol, and are commonly known as IP phones and integrated access devices (Integrated Access Device) IADs.
The manufacturers and models of SIP terminals are numerous, and are currently collected and input into a user's system mainly by manual offline. Every time a SIP terminal is newly added or eliminated in the network, related personnel needs to be notified to perform a change operation in the user system, which is time-consuming, laborious and prone to error.
Disclosure of Invention
In order to solve the problems, the application provides an automatic discovery method and device for a local area network SIP terminal, which solve the problem that the SIP terminal cannot automatically discover.
In order to achieve the above object, the present application adopts the following technical scheme: an automatic discovery method for a local area network SIP terminal comprises the following steps:
analyzing an SIP registration signaling in a local area network to acquire an IP address and a telephone number of an SIP terminal;
acquiring a home page screenshot of corresponding terminal equipment according to an IP address of the SIP terminal, and analyzing to obtain home page element information;
and matching the first page element information with the pre-stored first page element information, and if the first page element information is not matched with the pre-stored first page element information, considering the first page element information as a new SIP terminal.
Further, the parsing the SIP registration signaling in the local area network to obtain the IP address and the phone number of the SIP terminal includes:
mirroring the network traffic of the MGCF and the P-CSCF ports on the IMS network switch, stripping Ethernet frames in mirrored traffic data, and sequentially obtaining an IP message, a UDP message and a SIP message;
if the SIP message is a REGISTER signaling, extracting the IP address and the telephone number of the terminal from the SIP message header field;
and inquiring the memory database according to the telephone number and the terminal IP address to judge whether the received REGISTER signaling is repeated, and if not, storing the analyzed telephone number and the terminal IP address into the local disk database as a record.
Further, the method includes that the memory database is queried according to the telephone number and the terminal IP address to judge whether the received REGISTER signaling is repeated or not, and the method includes:
searching a cache variable in the memory database by taking the telephone number as a key name, if the cache variable does not exist, creating the cache variable, taking the telephone number as the key name, taking the IP address as a key value, and setting the survival time of the cache variable;
if the buffer variable exists, acquiring the value of the buffer variable, and if the value of the buffer variable is the same as the resolved terminal IP address, judging the REGISTER signaling as repeated signaling; if the value of the buffer variable is different from the resolved terminal IP address, updating the value of the buffer variable to be a new IP address, and resetting the survival time of the buffer variable.
Further, the home page element information includes: terminal type, manufacturer name and version number; the terminal types include IP phones and IADs.
Further, the IAD type in the terminal type is also determined by the following method:
and searching the corresponding telephone numbers in the local disk database according to the terminal IP address, and if a plurality of telephone numbers are searched, the terminal type corresponding to the terminal IP address is IAD.
Further, the telephone number is retrieved from the local disk database according to the IP address of the terminal, and if only one telephone number exists, the department corresponding to the telephone number is the affiliated department of the terminal corresponding to the IP address; if the telephone numbers are a plurality of telephone numbers, if the telephone numbers exceeding the set proportion belong to the same department, judging the department of the terminal corresponding to the IP address as the department.
Further, the method for eliminating the SIP terminal comprises the following steps: after a new SIP terminal is found, the first page element information, the IP address and the telephone number corresponding to the new SIP terminal are stored as one record, and if one record is not updated within a set time, the corresponding SIP terminal is eliminated.
An automatic discovery device for a local area network SIP terminal, comprising:
the SIP signaling analysis module is used for analyzing the SIP registration signaling in the local area network and acquiring the IP address and the telephone number of the SIP terminal;
the terminal data acquisition module is used for acquiring a home page screenshot of corresponding terminal equipment according to the IP address of the SIP terminal;
the picture identification module is used for analyzing the home page screenshot to obtain home page element information;
and the terminal identification module is used for matching the home page element information with the pre-stored home page element information, and if the home page element information is not matched with the pre-stored home page element information, the terminal identification module is considered as a new SIP terminal, and the home page element information, the IP address and the telephone number corresponding to the new SIP terminal are stored as a record.
Further, the parsing the SIP registration signaling in the local area network to obtain the IP address and the phone number of the SIP terminal includes:
mirroring the network traffic of the MGCF and the P-CSCF ports on the IMS network switch, stripping Ethernet frames in mirrored traffic data, and sequentially obtaining an IP message, a UDP message and a SIP message;
if the SIP message is a REGISTER signaling, extracting the IP address and the telephone number of the terminal from the SIP message header field;
inquiring a memory database according to the telephone number and the terminal IP address to judge whether the received REGISTER signaling is repeated, if not, storing the analyzed telephone number and the terminal IP address into a local disk database as a record;
the method for judging whether the received REGISTER signaling is repeated or not by inquiring the memory database according to the telephone number and the terminal IP address comprises the following steps:
searching a cache variable in the memory database by taking the telephone number as a key name, if the cache variable does not exist, creating the cache variable, taking the telephone number as the key name, taking the IP address as a key value, and setting the survival time of the cache variable;
if the buffer variable exists, acquiring the value of the buffer variable, and if the value of the buffer variable is the same as the resolved terminal IP address, judging the REGISTER signaling as repeated signaling; if the value of the cache variable is different from the resolved terminal IP address, updating the value of the cache variable to be a new IP address, and resetting the survival time of the cache variable;
the home page element information includes: terminal type, manufacturer name and version number; the terminal types include IP phones and IADs.
Further, the IAD type in the terminal type is also determined by the following method:
searching corresponding telephone numbers in a local disk database according to the terminal IP address, and if a plurality of telephone numbers are searched, the terminal type corresponding to the terminal IP address is IAD;
the method also comprises the steps of judging the department to which the SIP terminal belongs:
according to the IP address of the terminal, retrieving the telephone number from a local disk database, and if only one telephone number exists, the department corresponding to the telephone number is the department of the terminal corresponding to the IP address; if the telephone numbers are a plurality of telephone numbers, if the telephone numbers exceeding the set proportion belong to the same department, judging the department of the terminal corresponding to the IP address as the department.
The application has the beneficial effects that: the application acquires the IP address and the telephone number of the SIP terminal by analyzing the SIP registration signaling; acquiring a home page screenshot of corresponding terminal equipment according to an IP address of the SIP terminal, and analyzing to obtain home page element information; and matching the first page element information with the pre-stored first page element information, and if the first page element information is not matched with the pre-stored first page element information, considering the first page element information as a new SIP terminal. The application can automatically find the SIP terminal, does not depend on manual work, has high accuracy, and automatically identifies the terminal type, manufacturer name and version number information.
Drawings
FIG. 1 is a schematic flow chart of a method in an embodiment of the application.
Detailed Description
The application is further described below with reference to the accompanying drawings. The following examples are only for more clearly illustrating the technical aspects of the present application, and are not intended to limit the scope of the present application.
Example 1:
as shown in fig. 1, a local area network SIP terminal auto-discovery method includes the steps of:
analyzing a SIP registration (REGISTER) signaling in a local area network to acquire an IP address and a telephone number of a SIP terminal;
the specific method comprises the following steps:
1) Mirroring the network traffic of the MGCF and the P-CSCF ports on the IMS network switch, stripping Ethernet frames in mirrored traffic data, and sequentially obtaining an IP message, a UDP message and a SIP message;
2) If the SIP message is a REGISTER signaling, extracting the IP address and the telephone number of the terminal from the SIP message header field Contact, wherein the message of a non-REGISTER signaling is ignored;
3) Inquiring a memory database according to the telephone number and the terminal IP address to judge whether the received REGISTER signaling is repeated, if not, storing the analyzed telephone number and the terminal IP address into a local disk database as a record;
and the memory database stores a cache variable taking the telephone number as a key name and the IP address as a key value, and sets the survival time.
The online SIP terminal will send REGISTER signaling over a period of several minutes, using the in-memory database to filter those repeated content signaling.
Since in an actual environment, one phone number corresponds to only one IP address, and one IP address corresponds to one or more phone numbers, the buffer variable created in the in-memory database uses the phone number as a key name and the IP address as its value.
Inquiring the memory database according to the telephone number and the terminal IP address to judge whether the received REGISTER signaling is repeated, the method comprises the following steps:
1) Searching a cache variable in the memory database by taking the telephone number as a key name, if the cache variable does not exist, creating the cache variable, taking the telephone number as the key name, taking the IP address as a key value, and setting the survival time of the cache variable to be one day; storing the IP address and the telephone number into a local disk database;
if the buffer variable is the same as the resolved IP address, the REGISTER signaling is considered to be repeated signaling in a short time, and the corresponding IP address and telephone number are not saved in the local disk database.
If the obtained value of the cache variable is different from the resolved IP address, updating the value of the cache variable to be a new IP address, resetting the survival time of the cache variable to be one day, and storing the IP address and the telephone number into a local disk database.
And step two, acquiring a home page screenshot of the corresponding terminal equipment according to the IP address of the SIP terminal.
Each SIP terminal provides a management page for a user to configure, and information such as a manufacturer name, a version number and the like of the terminal is usually displayed on a first page of the management page.
And establishing HTTP connection with corresponding terminal equipment according to the IP address of the SIP terminal to obtain the home page data of the terminal, and drawing a home page screenshot of the terminal through the home page data.
And thirdly, analyzing the screenshot of the home page of the terminal through a machine learning technology to obtain the element information of the home page, and storing the element information into a local disk database.
The home page element information includes: type, manufacturer name and version number of the terminal;
the key elements in the screenshot of the home page of the terminal are analyzed by adopting a multi-layer convolutional neural network algorithm, the position, the color and the text content of a button are analyzed by analyzing the position, the color and the size of a login frame in the screenshot, and meanwhile, the position and the specific content of the title text on the screenshot are also analyzed to obtain the type, the name and the version number of the terminal.
The terminal type comprises an IP telephone and an IAD, and besides judging and acquiring from the home screen shot, whether the terminal type is the IAD can also be judged automatically according to the following method:
each terminal will have an IP address and several telephone numbers, where an IP phone can only have one telephone number and an IAD will have one or more telephone numbers.
And searching the corresponding telephone numbers in the local disk database according to the IP address of the terminal, and if a plurality of telephone numbers are searched, considering the type of the terminal corresponding to the IP address as IAD.
The department to which the SIP terminal belongs can be further judged:
the name of the department to which each telephone number belongs is stored in the local disk database in advance, and if more than 50% of telephone numbers retrieved according to the IP address of the terminal belong to a certain department, the department to which the terminal corresponding to the IP address belongs is considered as the department. If the telephone number searched by the IP address is only one, the department corresponding to the telephone number is the department corresponding to the terminal corresponding to the IP address.
And storing the information and the IP address of the terminal as a record into a local disk database.
And step four, matching the home page element information with the home page element information pre-stored in the local disk database, and if the home page element information is not matched with the home page element information, considering the home page element information as a new SIP terminal.
The home page element information of terminals of a specific manufacturer, a specific type and a specific version is usually fixed and is input into the home page element information of terminals of a certain type and a certain version of terminals of a certain manufacturer in advance.
According to the matching of the first page element information and the pre-input data, the type, manufacturer name and version number of the terminal corresponding to the IP address can be identified.
If the two SIP terminals do not match, the user is prompted to find a new unknown SIP terminal.
And storing the identified manufacturer name, terminal type, version number, the department and IP address into a local disk database for viewing by a user, and taking the system time at the time as the effective time of the record.
The eliminated SIP terminal is a SIP terminal that has been eliminated because the REGISTER signaling is not sent again, that is, the effective time of the record is not updated again, and thus the terminal corresponding to the record that has not been updated for a long time can be considered as the effective time.
Example 2:
an automatic discovery device for a local area network SIP terminal, comprising:
the SIP signaling analysis module is used for analyzing the SIP registration signaling in the local area network and acquiring the IP address and the telephone number of the SIP terminal;
the terminal data acquisition module is used for acquiring a home page screenshot of corresponding terminal equipment according to the IP address of the SIP terminal;
the picture identification module is used for analyzing the home page screenshot to obtain home page element information;
and the terminal identification module is used for matching the home page element information with the pre-stored home page element information, and if the home page element information is not matched with the pre-stored home page element information, the terminal identification module is considered as a new SIP terminal, and the home page element information, the IP address and the telephone number corresponding to the new SIP terminal are stored as a record.
The analyzing the SIP registration signaling in the local area network to obtain the IP address and the phone number of the SIP terminal includes:
mirroring the network traffic of the MGCF and the P-CSCF ports on the IMS network switch, stripping Ethernet frames in mirrored traffic data, and sequentially obtaining an IP message, a UDP message and a SIP message;
if the SIP message is a REGISTER signaling, extracting the IP address and the telephone number of the terminal from the SIP message header field;
inquiring a memory database according to the telephone number and the terminal IP address to judge whether the received REGISTER signaling is repeated, if not, storing the analyzed telephone number and the terminal IP address into a local disk database as a record;
the method for judging whether the received REGISTER signaling is repeated or not by inquiring the memory database according to the telephone number and the terminal IP address comprises the following steps:
searching a cache variable in the memory database by taking the telephone number as a key name, if the cache variable does not exist, creating the cache variable, taking the telephone number as the key name, taking the IP address as a key value, and setting the survival time of the cache variable;
if the buffer variable exists, acquiring the value of the buffer variable, and if the value of the buffer variable is the same as the resolved terminal IP address, judging the REGISTER signaling as repeated signaling; if the value of the cache variable is different from the resolved terminal IP address, updating the value of the cache variable to be a new IP address, and resetting the survival time of the cache variable;
the home page element information includes: terminal type, manufacturer name and version number; the terminal types include IP phones and IADs.
The IAD type in the terminal types is also judged by the following method:
searching corresponding telephone numbers in a local disk database according to the terminal IP address, and if a plurality of telephone numbers are searched, the terminal type corresponding to the terminal IP address is IAD;
the method also comprises the steps of judging the department to which the SIP terminal belongs:
according to the IP address of the terminal, retrieving the telephone number from a local disk database, and if only one telephone number exists, the department corresponding to the telephone number is the department of the terminal corresponding to the IP address; if the telephone numbers are a plurality of telephone numbers, if the telephone numbers exceeding the set proportion belong to the same department, judging the department of the terminal corresponding to the IP address as the department.
After a new SIP terminal is found, the first page element information, the IP address and the telephone number corresponding to the new SIP terminal are stored as one record, and if one record is not updated within a set time, the corresponding SIP terminal is eliminated.
It will be appreciated by those skilled in the art that 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 foregoing is merely a preferred embodiment of the present application, and it should be noted that modifications and variations could be made by those skilled in the art without departing from the technical principles of the present application, and such modifications and variations should also be regarded as being within the scope of the application.

Claims (2)

1. An automatic discovery method for a local area network SIP terminal is characterized by comprising the following steps:
analyzing an SIP registration signaling in a local area network to acquire an IP address and a telephone number of an SIP terminal;
establishing HTTP connection with corresponding terminal equipment according to the IP address of the SIP terminal to obtain home page data of the terminal, drawing a home page screenshot of the corresponding terminal equipment through the home page data, and analyzing to obtain home page element information, wherein the home page element information comprises: type, manufacturer name and version number of the terminal;
matching the first page element information with the pre-stored first page element information, and if the first page element information is not matched with the first page element information, considering the first page element information as a new SIP terminal;
the analyzing the SIP registration signaling in the local area network to obtain the IP address and the phone number of the SIP terminal includes:
mirroring the network traffic of the MGCF and the P-CSCF ports on the IMS network switch, and stripping Ethernet frames in mirrored traffic data to obtain SIP messages;
if the SIP message is a REGISTER signaling, extracting the IP address and the telephone number of the terminal from the SIP message header field;
inquiring a memory database according to the telephone number and the terminal IP address, judging whether the received REGISTER signaling is repeated, if not, storing the analyzed telephone number and the terminal IP address into a local disk database as a record;
the method includes inquiring a memory database according to a telephone number and a terminal IP address, judging whether the received REGISTER signaling is repeated or not, and the method includes:
searching a cache variable in the memory database by taking the telephone number as a key name, if the cache variable does not exist, creating the cache variable, taking the telephone number as the key name, taking the IP address as a key value, and setting the survival time of the cache variable;
if the buffer variable exists, acquiring the value of the buffer variable, and if the value of the buffer variable is the same as the resolved terminal IP address, judging the REGISTER signaling as repeated signaling; if the value of the cache variable is different from the resolved terminal IP address, updating the value of the cache variable to be a new IP address, and resetting the survival time of the cache variable;
the terminal type comprises an IP telephone and an IAD;
the IAD type in the terminal types is also judged by the following method:
searching corresponding telephone numbers in a local disk database according to the terminal IP address, and if a plurality of telephone numbers are searched, the terminal type corresponding to the terminal IP address is IAD;
the method for judging the department to which the SIP terminal belongs comprises the following steps:
according to the IP address of the terminal, retrieving the telephone number from a local disk database, and if only one telephone number exists, the department corresponding to the telephone number is the department of the terminal corresponding to the IP address; if the telephone numbers are a plurality of telephone numbers, if the telephone numbers exceeding the set proportion belong to the same department, judging the department of the terminal corresponding to the IP address as the department;
the method for eliminating the SIP terminal comprises the following steps: after a new SIP terminal is found, the first page element information, the IP address and the telephone number corresponding to the new SIP terminal are stored as one record, and if one record is not updated within a set time, the corresponding SIP terminal is eliminated.
2. An automatic discovery device for a local area network SIP terminal is characterized in that: comprising the following steps:
the SIP signaling analysis module is used for analyzing the SIP registration signaling in the local area network and acquiring the IP address and the telephone number of the SIP terminal;
the terminal data acquisition module is used for establishing HTTP connection with the corresponding terminal equipment according to the IP address of the SIP terminal to acquire the home page data of the terminal, and drawing a home page screenshot of the corresponding terminal equipment through the home page data;
the picture identification module is used for analyzing the home screen shot to obtain home element information, wherein the home element information comprises: type, manufacturer name and version number of the terminal;
the terminal identification module is used for matching the home page element information with the pre-stored home page element information, and if the home page element information is not matched with the pre-stored home page element information, the terminal identification module is considered as a new SIP terminal;
the analyzing the SIP registration signaling in the local area network to obtain the IP address and the phone number of the SIP terminal includes:
mirroring the network traffic of the MGCF and the P-CSCF ports on the IMS network switch, and stripping Ethernet frames in mirrored traffic data to obtain SIP messages;
if the SIP message is a REGISTER signaling, extracting the IP address and the telephone number of the terminal from the SIP message header field;
inquiring a memory database according to the telephone number and the terminal IP address, judging whether the received REGISTER signaling is repeated, if not, storing the analyzed telephone number and the terminal IP address into a local disk database as a record;
the method includes inquiring a memory database according to a telephone number and a terminal IP address, judging whether the received REGISTER signaling is repeated or not, and the method includes:
searching a cache variable in the memory database by taking the telephone number as a key name, if the cache variable does not exist, creating the cache variable, taking the telephone number as the key name, taking the IP address as a key value, and setting the survival time of the cache variable;
if the buffer variable exists, acquiring the value of the buffer variable, and if the value of the buffer variable is the same as the resolved terminal IP address, judging the REGISTER signaling as repeated signaling; if the value of the cache variable is different from the resolved terminal IP address, updating the value of the cache variable to be a new IP address, and resetting the survival time of the cache variable;
the terminal type comprises an IP telephone and an IAD;
the IAD type in the terminal types is also judged by the following method:
searching corresponding telephone numbers in a local disk database according to the terminal IP address, and if a plurality of telephone numbers are searched, the terminal type corresponding to the terminal IP address is IAD;
the method for judging the department to which the SIP terminal belongs comprises the following steps:
according to the IP address of the terminal, retrieving the telephone number from a local disk database, and if only one telephone number exists, the department corresponding to the telephone number is the department of the terminal corresponding to the IP address; if the telephone numbers are a plurality of telephone numbers, if the telephone numbers exceeding the set proportion belong to the same department, judging the department of the terminal corresponding to the IP address as the department;
the method for eliminating the SIP terminal comprises the following steps: after a new SIP terminal is found, the first page element information, the IP address and the telephone number corresponding to the new SIP terminal are stored as one record, and if one record is not updated within a set time, the corresponding SIP terminal is eliminated.
CN202110260101.2A 2021-03-10 2021-03-10 Automatic discovery method and device for local area network SIP terminal Active CN113132348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110260101.2A CN113132348B (en) 2021-03-10 2021-03-10 Automatic discovery method and device for local area network SIP terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110260101.2A CN113132348B (en) 2021-03-10 2021-03-10 Automatic discovery method and device for local area network SIP terminal

Publications (2)

Publication Number Publication Date
CN113132348A CN113132348A (en) 2021-07-16
CN113132348B true CN113132348B (en) 2023-10-24

Family

ID=76772873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110260101.2A Active CN113132348B (en) 2021-03-10 2021-03-10 Automatic discovery method and device for local area network SIP terminal

Country Status (1)

Country Link
CN (1) CN113132348B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617498A (en) * 2003-11-11 2005-05-18 华为技术有限公司 Hatching method for next generation network terminal
CN1953465A (en) * 2005-10-20 2007-04-25 华为技术有限公司 A method and installation to acquire access information
CN101355435A (en) * 2007-07-26 2009-01-28 耐通信息科技(上海)有限公司 System and method for managing IP voice video apparatus
CN101834737A (en) * 2010-03-04 2010-09-15 杭州华三通信技术有限公司 Discovery method of IP telephone and equipment
CN102487546A (en) * 2010-12-01 2012-06-06 中兴通讯股份有限公司 Registration method of session initiation protocol (SIP) terminal and system thereof
JP2014011662A (en) * 2012-06-29 2014-01-20 Toshiba Corp Telephone system, telephone terminal, server device, and telephone system control method
CN103618739A (en) * 2013-12-09 2014-03-05 中国联合网络通信集团有限公司 Data processing method and device of reinforced S-CSCF server
CN110912885A (en) * 2019-11-21 2020-03-24 国网江苏省电力有限公司信息通信分公司 Method and system for instantly notifying missed calls of multiple accounts in IMS network
CN112231679A (en) * 2020-09-29 2021-01-15 新华三信息安全技术有限公司 Terminal equipment verification method and device and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582798B (en) * 2009-06-19 2012-01-11 中兴通讯股份有限公司 Method for remote network management on voice home gateway terminal and system
US10986602B2 (en) * 2018-02-09 2021-04-20 Intel Corporation Technologies to authorize user equipment use of local area data network features and control the size of local area data network information in access and mobility management function

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617498A (en) * 2003-11-11 2005-05-18 华为技术有限公司 Hatching method for next generation network terminal
CN1953465A (en) * 2005-10-20 2007-04-25 华为技术有限公司 A method and installation to acquire access information
CN101355435A (en) * 2007-07-26 2009-01-28 耐通信息科技(上海)有限公司 System and method for managing IP voice video apparatus
CN101834737A (en) * 2010-03-04 2010-09-15 杭州华三通信技术有限公司 Discovery method of IP telephone and equipment
CN102487546A (en) * 2010-12-01 2012-06-06 中兴通讯股份有限公司 Registration method of session initiation protocol (SIP) terminal and system thereof
JP2014011662A (en) * 2012-06-29 2014-01-20 Toshiba Corp Telephone system, telephone terminal, server device, and telephone system control method
CN103618739A (en) * 2013-12-09 2014-03-05 中国联合网络通信集团有限公司 Data processing method and device of reinforced S-CSCF server
CN110912885A (en) * 2019-11-21 2020-03-24 国网江苏省电力有限公司信息通信分公司 Method and system for instantly notifying missed calls of multiple accounts in IMS network
CN112231679A (en) * 2020-09-29 2021-01-15 新华三信息安全技术有限公司 Terminal equipment verification method and device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种结合移动IP和SIP实现IP网络移动性管理的优化方案;邹青松;陈前斌;聂能;;计算机科学(第08期);全文 *
邹青松 ; 陈前斌 ; 聂能 ; .一种结合移动IP和SIP实现IP网络移动性管理的优化方案.计算机科学.2006,(08),全文. *

Also Published As

Publication number Publication date
CN113132348A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
US10547523B2 (en) Systems and methods for extracting media from network traffic having unknown protocols
CN108803967B (en) Chat window display method and device and electronic equipment
US8761757B2 (en) Identification of communication devices in telecommunication networks
CN105376335B (en) Collected data uploading method and device
CN107222369A (en) Recognition methods, device, switch and the storage medium of application program
JP2009017298A (en) Data analysis apparatus
CN105407316A (en) Implementation method for intelligent camera system, intelligent camera system, and network camera
CN105553770B (en) Data acquisition control method and device
CN110912885B (en) Method and system for instantly notifying missed calls of multiple accounts in IMS network
CN113132348B (en) Automatic discovery method and device for local area network SIP terminal
CN113190232B (en) Data analysis method, device and storage medium
CN105323128B (en) method, device and system for accessing front-end equipment to server
CN103475532A (en) Hardware detection method and system thereof
CN111722883A (en) Method and device for updating interface address and computer readable storage medium
CN111211939A (en) Device and method for realizing efficient flow table counting based on network processor
CN116260742A (en) Signaling capturing method and device, nonvolatile storage medium and electronic equipment
CN110489256A (en) A kind of delay machine positioning restorative procedure and system
CN114070761A (en) Protocol message detection method, device and electronic equipment
CN113973111A (en) Data forwarding method and device, gateway equipment and computer readable storage medium
CN105721885B (en) Method, device and system for processing transcoding data
JP2016014980A (en) Log acquisition extraction system
CN108632478A (en) Statistics calling detailed single method, apparatus, electronic equipment and readable storage medium storing program for executing
CN114500215B (en) Centralized management method, device and equipment of storage equipment and readable storage medium
CN106469086B (en) Event processing method and device
CN116866214B (en) Regional network quality analysis system based on statistical session

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