CN113038523B - Terminal identification method and device - Google Patents
Terminal identification method and device Download PDFInfo
- Publication number
- CN113038523B CN113038523B CN202110496177.5A CN202110496177A CN113038523B CN 113038523 B CN113038523 B CN 113038523B CN 202110496177 A CN202110496177 A CN 202110496177A CN 113038523 B CN113038523 B CN 113038523B
- Authority
- CN
- China
- Prior art keywords
- target terminal
- field
- terminal
- volte service
- signaling data
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1101—Session protocols
- H04L65/1104—Session initiation protocol [SIP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention provides a terminal identification method and a device, wherein the method comprises the following steps: according to the model approval number of the terminal equipment and a pre-established terminal identification library, preliminarily judging all the terminal equipment, and determining a target terminal supporting the VoLTE service on hardware; then collecting Session Initiation Protocol (SIP) interface signaling data of the target terminal and S1 control plane S1-MME interface signaling data; and identifying whether the target terminal supports the VoLTE service on software or not according to the SIP interface signaling data and the S1-MME interface signaling data. And the terminal which is not supported by hardware supporting software is dynamically identified in real time based on the information of each flow of the signaling, so that the identification efficiency and accuracy are improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of mobile communication, in particular to a terminal identification method and device.
Background
A Voice over Long-Term Evolution (VoLTE) Voice bearer is an IMS-based Voice service. Compared with 2G and 3G voice communication, the VoLTE technology has essential difference, so that the connection waiting time of a 4G user is shorter when the voice communication service is initiated, the quality of an audio and video communication effect is higher, and the communication disconnection rate of the VoLTE technology is close to zero. Therefore, to enhance the network usage experience of users, more and more terminal devices support VoLTE technology in hardware and software. However, there are also cases where some terminal devices do not support the VoLTE technology in both hardware and software or support VoLTE technology in hardware. Therefore, in order to improve the audio and video call quality of all terminal devices, it is necessary to identify whether hardware and software of the terminal device support the VoLTE technology, so as to perform software upgrade on a terminal that is supported by hardware but not supported by software.
In the related technology, the method for identifying the terminal equipment mainly adopts a crawler means to obtain information generated by the terminal equipment in the communication process, and judges whether hardware and software of the terminal equipment support the VoLTE technology or not according to the information crawled by the crawler.
However, crawling terminal devices for information by crawlers is limited and has some hysteresis, making terminal identification inefficient and inaccurate.
Disclosure of Invention
The embodiment of the invention provides a terminal identification method and device, which aim to solve the problems of low efficiency and inaccuracy in identifying whether a terminal supports a VoLTE technology in the prior art.
A first aspect of an embodiment of the present invention provides a terminal identification method, including:
determining a target terminal according to a model approval number of terminal equipment and a pre-established terminal identification library, wherein the target terminal is a terminal supporting a long-term evolution voice bearer VoLTE service on hardware;
collecting Session Initiation Protocol (SIP) interface signaling data of the target terminal and S1 control plane S1-MME interface signaling data;
and determining whether the target terminal supports the VoLTE service on software or not according to the SIP interface signaling data and the S1-MME interface signaling data.
Optionally, the acquiring session initiation protocol SIP interface signaling data and S1 control plane S1-MME interface signaling data of the target terminal includes:
acquiring the attachment ticket information generated by the target terminal in the attachment process and the connection information in the Packet Data Network (PDN) connection process through the S1-MME interface;
and collecting SIP call ticket information through the SIP interface.
Optionally, the determining, according to the SIP interface signaling data and the S1-MME interface signaling data, whether the target terminal supports the VoLTE service on software includes:
respectively extracting a first field, a second field and a third field from the attached call ticket information, wherein the first field is a field for indicating that the target terminal supports the VoLTE service capability and the voice service priority, the second field is used for indicating whether a network of the target terminal supports the VoLTE service and whether the target terminal has signed up for the VoLTE service, and the third field is used for indicating whether the target terminal supports the voice fallback to a 2G or 3G network in a call state;
if the target terminal meets the following preset conditions within a preset time range, determining that the target terminal does not support the VoLTE service on software, wherein the preset conditions comprise:
the value of the first field indicates that the target terminal supports the VoLTE service and the priority of the voice service is higher than that of other services;
the value of the second field indicates that the network of the target terminal supports VoLTE service and the target terminal has signed up for the VoLTE service;
the value of the third field indicates that the target terminal supports voice fallback to a 2G or 3G network in a call state;
the connection information in the PDN connection flow does not contain IP multimedia subsystem IMS information;
and the registration information is not recorded in the SIP call ticket.
Optionally, the method further comprises:
determining a VoLTE service support index of the target terminal;
the preset conditions further include:
and in the preset time range, the VoLTE service support index of the target terminal is smaller than a preset threshold value.
Optionally, the determining, by the terminal identification library, the model approval numbers of all terminal devices supporting the VoLTE service on hardware, and according to the model approval numbers of the terminal devices and a pre-established terminal identification library, a target terminal includes:
obtaining a model approval number of a terminal device currently logging in a 4G network;
and judging whether the model approval number exists in the terminal identification library, if so, determining the terminal equipment corresponding to the model approval number as a target terminal.
Optionally, the first field is a vdp _ us field, the second field is an imsvops field, and the third field is a srvcc field.
A second aspect of an embodiment of the present invention provides a terminal identification apparatus, including:
the determining module is used for determining a target terminal according to the model approval number of the terminal equipment and a pre-established terminal identification library, wherein the target terminal is a terminal supporting the long-term evolution voice bearer VoLTE service on hardware;
the acquisition module is used for acquiring Session Initiation Protocol (SIP) interface signaling data and S1 control plane S1-MME interface signaling data of the target terminal;
and the processing module is used for determining whether the target terminal supports the VoLTE service on software according to the SIP interface signaling data and the S1-MME interface signaling data.
A third aspect of an embodiment of the present invention provides a computer apparatus, including: at least one processor and a memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the terminal identification method according to the first aspect of the embodiment of the present invention.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, where a computer execution instruction is stored in the computer-readable storage medium, and when a processor executes the computer execution instruction, the method for identifying a terminal according to the first aspect of the embodiments of the present invention is implemented.
A fifth aspect of the embodiments of the present invention provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the terminal identification method according to the first aspect of the embodiments of the present invention.
The embodiment of the invention provides a terminal identification method and a device, wherein the method comprises the steps of firstly, carrying out preliminary judgment on all terminal equipment according to the model approval number of the terminal equipment and a pre-established terminal identification library to determine a target terminal supporting VoLTE service on hardware; then collecting Session Initiation Protocol (SIP) interface signaling data of the target terminal and S1 control plane S1-MME interface signaling data; and identifying whether the target terminal supports the VoLTE service on software or not according to the SIP interface signaling data and the S1-MME interface signaling data. And the terminal which is not supported by hardware supporting software is dynamically identified in real time based on the information of each flow of the signaling, so that the identification efficiency and accuracy are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a diagram illustrating an application scenario of a terminal identification method according to an exemplary embodiment of the present invention;
fig. 2 is a flowchart illustrating a terminal identification method according to an exemplary embodiment of the present invention;
fig. 3 is a flowchart illustrating a terminal identification method according to another exemplary embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal identification device according to an exemplary embodiment of the present invention;
fig. 5 is a schematic diagram of a computer device according to an exemplary embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all the embodiments. 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.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Voice over Long-Term Evolution (VoLTE) is an IMS-based Voice service. Compared with 2G and 3G voice communication, the VoLTE technology has essential difference, so that the connection waiting time of a 4G user is shorter when the voice communication service is initiated, the quality of an audio and video communication effect is higher, and the communication disconnection rate of the VoLTE technology is close to zero. Therefore, to enhance the network usage experience of users, more and more terminal devices support VoLTE technology in hardware and software. However, there are also cases where some terminal devices do not support the VoLTE technology in both hardware and software or support VoLTE technology in hardware. Therefore, in order to improve the audio and video call quality of all terminal devices, it is necessary to identify whether hardware and software of the terminal device support the VoLTE technology, so as to perform software upgrade on a terminal that is supported by hardware but not supported by software.
In the related technology, the method for identifying the terminal equipment mainly adopts a crawler means to obtain information generated by the terminal equipment in the communication process, and judges whether hardware and software of the terminal equipment support the VoLTE technology or not according to the information crawled by the crawler. However, crawling terminal devices for information by crawlers is limited and has some hysteresis, making terminal identification inefficient and inaccurate.
Aiming at the defect, the technical scheme of the invention mainly comprises the following steps: firstly, according to the model approval number of the terminal equipment and a pre-established terminal identification library, preliminarily judging all the terminal equipment and determining a target terminal supporting VoLTE service on hardware; then collecting Session Initiation Protocol (SIP) interface signaling data of the target terminal and S1 control plane S1-MME interface signaling data; and identifying whether the target terminal supports the VoLTE service on software or not according to the SIP interface signaling data and the S1-MME interface signaling data. And terminals which are not supported by hardware supporting software are dynamically identified in real time based on each flow information of the signaling, so that the identification efficiency and accuracy are improved.
Fig. 1 is a diagram illustrating an application scenario of a terminal identification method according to an exemplary embodiment of the present invention.
As shown in fig. 1, an application scenario provided by this embodiment includes at least one user terminal and a base station, where the at least one user terminal communicates with the base station through an LTE network.
Fig. 2 is a flowchart illustrating a terminal identification method according to an exemplary embodiment of the present invention, where an execution main body of the method provided in this embodiment may be a base station in the embodiment illustrated in fig. 1 or another server having a signaling processing function.
As shown in fig. 2, the method provided by the present embodiment may include the following steps.
S201, determining a target terminal according to the model approval number of the terminal equipment and a pre-established terminal identification library, wherein the target terminal is a terminal supporting the VoLTE service of the long-term evolution voice bearer on hardware.
The model approval number is the first six digits of an International Mobile Equipment Identity (IMEI), generally represents a model, each terminal corresponds to a unique IMEI, and according to the IMEI of the terminal, the terminal can know what brand and model the terminal is, and whether the terminal supports the VoLTE service.
Specifically, the terminal identification library comprises model approval numbers of all terminal devices supporting VoLTE service on hardware, and obtains the model approval number of the terminal device currently logging in the 4G network; and judging whether the model approval number exists in the terminal identification library, if so, indicating that the terminal equipment corresponding to the model approval number is a target terminal supporting the VoLTE service on hardware.
S202, collecting session initiation protocol SIP interface signaling data of the target terminal and S1 control plane S1-MME interface signaling data.
In an LTE network, network elements are communicatively connected to each other through an interface, and session initiation protocol SIP interface signaling data and S1 control plane S1-MME interface signaling data are collected, where the S1-MME interface is an interface between a base station and a Mobility Management Entity (MME).
Specifically, the method comprises the steps of collecting the attachment ticket information generated by the target terminal in the attachment flow and the connection information in the Packet Data Network (PDN) connection flow through the S1-MME interface; and collecting SIP call ticket information through the SIP interface.
And S203, determining whether the target terminal supports the VoLTE service on software or not according to the SIP interface signaling data and the S1-MME interface signaling data.
Specifically, a first field, a second field and a third field are respectively extracted from the attach ticket information, where the first field is a field indicating that the target terminal supports the VoLTE service capability and the voice service priority, the second field is used to indicate whether the network of the target terminal supports the VoLTE service and whether the target terminal has signed up for the VoLTE service, and the third field is used to indicate whether the target terminal supports a voice fallback to a 2G or 3G network in a call state.
In a possible embodiment, if the target terminal meets the following preset conditions within a preset time range, it is determined that the target terminal does not support the VoLTE service on software, where the preset conditions include: the value of the first field indicates that the target terminal supports the VoLTE service and the priority of the voice service is higher; the value of the second field indicates that the network of the target terminal supports VoLTE service and the target terminal has signed up for the VoLTE service; the value of the third field indicates that the target terminal supports voice fallback to a 2G or 3G network in a call state; the connection information in the PDN connection flow does not contain IP multimedia subsystem IMS information; and the registration type information is not recorded in the SIP call ticket.
In the embodiment, firstly, according to the model approval number of the terminal equipment and a pre-established terminal identification library, all the terminal equipment is preliminarily judged, and a target terminal supporting VoLTE service on hardware is determined; then collecting Session Initiation Protocol (SIP) interface signaling data of the target terminal and S1 control plane S1-MME interface signaling data; and identifying whether the target terminal supports the VoLTE service on software or not according to the SIP interface signaling data and the S1-MME interface signaling data. And the terminal which is not supported by hardware supporting software is dynamically identified in real time based on the information of each flow of the signaling, so that the identification efficiency and accuracy are improved.
In one possible embodiment, the method further comprises: determining a VoLTE service support index of the target terminal; the preset conditions further include: and in the preset time range, the VoLTE service support index of the target terminal is smaller than a preset threshold value.
Specifically, if the target terminal meets the five conditions in the preset time range and the VoLTE service support index of the target terminal is smaller than the preset threshold, it is determined that the target terminal does not support the VoLTE service on software.
For a clearer understanding of the present application, the entire flow of the terminal identification method will be described below.
As shown in fig. 3, the flow of the method provided by this embodiment includes the following steps.
S301, judging whether the terminal equipment supports the VoLTE service on hardware or not, and if so, continuing to execute the step S302; and if the judgment result is negative, the terminal equipment is not processed.
Specifically, the model approval number is the first six digits of the international mobile equipment identity code, generally represents the model, each terminal corresponds to a unique IMEI, and according to the IMEI of the terminal, the brand and model of the terminal can be known, and whether the terminal supports VoLTE service or not can be known. The terminal identification library comprises model approval numbers of all terminal equipment supporting VoLTE service on hardware, and the model approval number of the terminal equipment currently logging in the 4G network is obtained; and judging whether the model approval number exists in the terminal identification library, if so, indicating that the terminal equipment corresponding to the model approval number is a target terminal supporting the VoLTE service on hardware.
S302, judging whether the adhesion ticket information generated by the target terminal in the adhesion flow, the connection information in the PDN connection flow and the SIP ticket information in the IMS registration flow meet preset conditions, if so, executing the step S303.
Specifically, session Initiation Protocol (SIP) interface signaling data and S1 control plane (S1-MME) interface signaling data are collected, that is, the attachment ticket information generated by the target terminal in the attachment flow and the connection information in the Packet Data Network (PDN) connection flow are collected through the S1-MME interface; and collecting SIP call ticket information through the SIP interface.
Further, a first field, a second field and a third field are respectively extracted from the attach ticket information, wherein the first field is a field indicating that the target terminal supports the VoLTE service capability and the voice service priority, the second field is used for indicating whether the network of the target terminal supports the VoLTE service and whether the target terminal has signed up for the VoLTE service, and the third field is used for indicating whether the target terminal supports the voice fallback to a 2G or 3G network in a call state.
Wherein the preset conditions include: the value of the first field indicates that the target terminal supports the VoLTE service and the priority of the voice service is higher; the value of the second field indicates that the network of the target terminal supports VoLTE service and the target terminal has signed up for the VoLTE service; the value of the third field indicates that the target terminal supports voice fallback to a 2G or 3G network in a call state; the connection information in the PDN connection flow does not contain IP multimedia subsystem IMS information; and the registration information is not recorded in the SIP call ticket.
Specifically, based on the interface signaling data of the target terminal, the VoLTE capability of the target terminal and the voice service priority are analyzed and judged (i.e. the first field vdp _ uus field), and a record that the terminal supports the VoLTE service and has voice priority in the Attach ticket is found. Then, a field (i.e. the first field in this embodiment) indicating the VoLTE capability of the target terminal and the priority of the voice service is first located in the attached ticket information, and if the target value of the first field indicates that the terminal supports VoLTE and the voice priority is higher, the next field is determined. The next field is the second field imsvops field, and the analysis and judgment (that is, the second field imsvops field) is performed based on the 1 st bit (lowest bit) of the first byte (highest byte) of the Attach call ticket information EMS _ NFS, so as to find the record that the network supports VoLTE and the user has signed the VoLTE subscription. And then, based on S1-MME signaling data, finding a field for judging whether the voice falls back to the 2G/3G network in the terminal attachment flow information, namely a third field srvcc field, and further judging the VoLTE support capability of the target terminal according to the third field. And finally, based on whether the VoLTE information is used in the terminal signaling or not, finding out that the registration information such as Register, calling, re-Register and the like does not exist in the Procedure Type of the Procedure Type in the SIP protocol ticket without containing IMS/IMS information in the connection information in the PDN connection flow.
In a possible case of this embodiment, the first field is a vdp _ uus field, the second field is an imsvops field, and the third field is an srvcc field, where if the value of the first field is "03", it indicates that the target terminal supports the VoLTE service and the priority of the voice service is higher; if the value of the second field is '1', the network of the target terminal supports the VoLTE service and the target terminal signs the VoLTE service; if the value of the third field is 1, the target terminal supports voice fallback to a 2G or 3G network in the call state. Meanwhile, based on whether the VoLTE information is used in the terminal signaling or not for analysis and judgment, the PDN flow does not contain IMS/IMS information, and the record of Register, calling and Re-Register registration information does not appear in the Procedure Type process Type in the SIP protocol ticket.
S303, judging whether the VoLTE service support index of the target terminal is smaller than a preset threshold value, if so, determining that the target terminal does not support the VoLTE service on hardware support software.
Specifically, according to the identifier of the target terminal, a VoLTE service support index of a Tracking Area (TAC) where the target terminal of the user is located is obtained in a communication system database, the size of the VoLTE service support index of the target terminal and a preset threshold is judged, and if the VoLTE service support index of the target terminal is smaller than the preset threshold on the basis that the target terminal meets the preset condition, it is determined that the VoLTE service is not supported on hardware and software of the target terminal.
The VoLTE service support index is a ratio of terminals supporting VoLTE service to all terminals in a TAC area.
The preset threshold may be set according to an actual situation, for example, set to 30%, and when the VoLTE service support index of the target terminal is less than 30%, it indicates that the target terminal does not support the VoLTE service on software.
In the embodiment, the condition that the terminal can support the volt capability is analyzed in real time from call ticket flows of terminal user signaling information, PDN connection, attachment and the like based on SIP interface signaling and S1-MME interface signaling data of the terminal, so that the terminal which is not supported by hardware support software is dynamically identified, and the identification efficiency and accuracy are improved.
In a possible embodiment, if the preset conditions are met within a cumulative number of days (for example, 3 days or 5 days) of the same target terminal, and the VoLTE service support index of the TAC region where the target terminal of the user is located is smaller than the preset threshold, it is determined that the terminal does not support the VoLTE service on hardware and software.
In the embodiment, the signaling information of the target terminal is analyzed by accumulating multiple days, the VoLTE service support index in the TAC area is determined, and the accuracy of terminal identification is further improved.
Fig. 4 is a schematic structural diagram of a terminal identification apparatus according to an exemplary embodiment of the present invention.
As shown in fig. 4, the apparatus provided in this embodiment includes: a determining module 401, an acquiring module 402 and a processing module 403; the determining module 401 is configured to determine a target terminal according to a model approval number of a terminal device and a pre-established terminal identification library, where the target terminal is a terminal that supports a long term evolution voice over lte service on hardware; an acquiring module 402, configured to acquire session initiation protocol SIP interface signaling data and S1 control plane S1-MME interface signaling data of the target terminal; a processing module 403, configured to determine, according to the SIP interface signaling data and the S1-MME interface signaling data, whether the target terminal supports the VoLTE service on software.
Further, the acquisition module is specifically configured to:
acquiring the attachment ticket information generated by the target terminal in the attachment flow and the connection information in the Packet Data Network (PDN) connection flow through the S1-MME interface;
and collecting SIP call ticket information through the SIP interface.
Further, the processing module is specifically configured to:
respectively extracting a first field, a second field and a third field from the attached call ticket information, wherein the first field is a field for indicating that the target terminal supports the VoLTE service capability and the voice service priority, the second field is used for indicating whether a network of the target terminal supports the VoLTE service and whether the target terminal has signed up for the VoLTE service, and the third field is used for indicating whether the target terminal supports the voice fallback to a 2G or 3G network in a call state;
if the target terminal meets the following preset conditions within a preset time range, determining that the target terminal does not support the VoLTE service on software, wherein the preset conditions comprise:
the value of the first field indicates that the target terminal supports the VoLTE service and the priority of the voice service is higher;
the value of the second field indicates that the network of the target terminal supports VoLTE service and the target terminal has signed up for the VoLTE service;
the value of the third field indicates that the target terminal supports voice fallback to a 2G or 3G network in a call state;
the connection information in the PDN connection flow does not contain IP multimedia subsystem IMS information;
and the registration information is not recorded in the SIP call ticket.
Further, the processing module is further configured to: determining a VoLTE service support index of the target terminal; the preset conditions further include: and in the preset time range, the VoLTE service support index of the target terminal is smaller than a preset threshold value.
Further, the terminal identification library includes model approval numbers of all terminal devices supporting the VoLTE service on hardware, and the determining module is specifically configured to:
obtaining a model approval number of a terminal device currently logging in a 4G network;
and judging whether the model approval number exists in the terminal identification library, if so, determining that the terminal equipment corresponding to the model approval number is a target terminal.
Further, the first field is a vdp _ uus field, the second field is an imsvops field, and the third field is an srvcc field.
The detailed description of the method embodiments above may be referred to for specific functional implementation of each module provided in this embodiment.
Fig. 5 is a schematic hardware structure diagram of a computer device according to an embodiment of the present invention. As shown in fig. 5, the present embodiment provides a computer apparatus 50 including: at least one processor 501 and memory 502. The processor 501 and the memory 502 are connected by a bus 503.
In a specific implementation process, the at least one processor 501 executes the computer-executable instructions stored in the memory 502, so that the at least one processor 501 executes the terminal identification method in the foregoing method embodiment.
For a specific implementation process of the processor 501, reference may be made to the above method embodiments, which implement the similar principle and technical effect, and this embodiment is not described herein again.
In the embodiment shown in fig. 5, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise high speed RAM memory, and may also include non-volatile storage NVM, such as at least one disk memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
Another embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the terminal identification method in the above method embodiment is implemented.
Another embodiment of the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the terminal identification method according to the first aspect of the embodiment of the present invention.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the spirit of the corresponding technical solutions of the embodiments of the present invention.
Claims (7)
1. A terminal identification method, comprising:
determining a target terminal according to a model approval number of terminal equipment and a pre-established terminal identification library, wherein the target terminal is a terminal supporting a long-term evolution voice bearer VoLTE service on hardware;
collecting Session Initiation Protocol (SIP) interface signaling data of the target terminal and S1 control plane S1-MME interface signaling data;
determining whether the target terminal supports the VoLTE service on software or not according to the SIP interface signaling data and the S1-MME interface signaling data;
the collecting Session Initiation Protocol (SIP) interface signaling data and S1 control plane (S1-MME) interface signaling data of the target terminal includes:
acquiring the attachment ticket information generated by the target terminal in the attachment process and the connection information in the Packet Data Network (PDN) connection process through the S1-MME interface;
collecting SIP call ticket information through the SIP interface;
the determining whether the target terminal supports the VoLTE service on software according to the SIP interface signaling data and the S1-MME interface signaling data includes:
extracting a first field, a second field and a third field from the attached call ticket information respectively, wherein the first field is a field for indicating that the target terminal supports the VoLTE service capability and the voice service priority, the second field is used for indicating whether a network of the target terminal supports the VoLTE service and whether the target terminal has signed up the VoLTE service, and the third field is used for indicating whether the target terminal supports the voice fallback to a 2G or 3G network in a call state;
if the target terminal meets the following preset conditions within a preset time range, determining that the target terminal does not support the VoLTE service on software, wherein the preset conditions comprise:
the value of the first field indicates that the target terminal supports the VoLTE service and the priority of the voice service is higher than that of other services;
the value of the second field indicates that the network of the target terminal supports VoLTE service and the target terminal has signed up for the VoLTE service;
the value of the third field indicates that the target terminal supports voice fallback to a 2G or 3G network in a call state;
the connection information in the PDN connection flow does not contain IP multimedia subsystem IMS information;
and the registration type information is not recorded in the SIP call ticket.
2. The method of claim 1, further comprising:
determining a VoLTE service support index of the target terminal;
the preset conditions further include:
and in the preset time range, the VoLTE service support index of the target terminal is smaller than a preset threshold value.
3. The method according to any one of claims 1-2, wherein the terminal identification library includes model approval numbers of all terminal devices supporting VoLTE service on hardware, and the determining of the target terminal according to the model approval numbers of the terminal devices and the pre-established terminal identification library comprises:
obtaining a model approval number of a terminal device currently logging in a 4G network;
and judging whether the model approval number exists in the terminal identification library, if so, determining the terminal equipment corresponding to the model approval number as a target terminal.
4. The method according to claim 1 or 2, wherein the first field is a vdp _ uus field, the second field is an imsvops field, and the third field is a srvcc field.
5. A terminal identification device, comprising:
the determining module is used for determining a target terminal according to the model approval number of the terminal equipment and a pre-established terminal identification library, wherein the target terminal is a terminal supporting the long-term evolution voice bearer VoLTE service on hardware;
the acquisition module is used for acquiring Session Initiation Protocol (SIP) interface signaling data and S1 control plane S1-MME interface signaling data of the target terminal;
the processing module is used for determining whether the target terminal supports the VoLTE service on software according to the SIP interface signaling data and the S1-MME interface signaling data;
the acquisition module is specifically configured to acquire, through the S1-MME interface, the attach ticket information generated by the target terminal in the attach flow and the connection information in the packet data network PDN connection flow; collecting SIP call ticket information through the SIP interface;
the processing module is specifically configured to extract a first field, a second field, and a third field from the attach ticket information, where the first field is a field indicating that the target terminal supports the VoLTE service capability and the voice service priority, the second field is used to indicate whether a network of the target terminal supports the VoLTE service and whether the target terminal has signed up for the VoLTE service, and the third field is used to indicate whether the target terminal supports a voice fallback to a 2G or 3G network in a call state; if the target terminal meets the following preset conditions within a preset time range, determining that the target terminal does not support the VoLTE service on software, wherein the preset conditions comprise: the value of the first field indicates that the target terminal supports the VoLTE service and the priority of the voice service is higher than that of other services; the value of the second field indicates that the network of the target terminal supports VoLTE service and the target terminal has signed up for the VoLTE service; the value of the third field indicates that the target terminal supports voice fallback to a 2G or 3G network in a call state; the connection information in the PDN connection flow does not contain IP multimedia subsystem IMS information; and the registration type information is not recorded in the SIP call ticket.
6. A computer device, comprising: at least one processor and memory;
the memory stores computer execution instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the terminal identification method of any of claims 1-4.
7. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, which when executed by a processor, implement the terminal identification method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110496177.5A CN113038523B (en) | 2021-05-07 | 2021-05-07 | Terminal identification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110496177.5A CN113038523B (en) | 2021-05-07 | 2021-05-07 | Terminal identification method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113038523A CN113038523A (en) | 2021-06-25 |
CN113038523B true CN113038523B (en) | 2022-11-01 |
Family
ID=76455021
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110496177.5A Active CN113038523B (en) | 2021-05-07 | 2021-05-07 | Terminal identification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113038523B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114780172B (en) * | 2022-04-15 | 2024-02-27 | 深圳优美创新科技有限公司 | Identification method and device of external camera, intelligent display screen and storage medium |
CN115551032B (en) * | 2022-09-05 | 2024-03-15 | 中国联合网络通信集团有限公司 | Service processing method, device, equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108141741A (en) * | 2015-11-06 | 2018-06-08 | 华为技术有限公司 | A kind of voice roaming method, mobile management network element and access network elements |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104811978B (en) * | 2015-04-15 | 2018-05-29 | 珠海世纪鼎利科技股份有限公司 | The method of IMSI and IMEI matching errors in a kind of quick detection LTE signalings |
KR102106044B1 (en) * | 2015-09-15 | 2020-04-29 | 후아웨이 테크놀러지 컴퍼니 리미티드 | Service processing method, service processing device, and communication system |
CN106454804B (en) * | 2016-11-21 | 2020-03-24 | 中国联合网络通信集团有限公司 | Method and device for acquiring terminal capability |
CN112087744B (en) * | 2020-08-21 | 2023-07-25 | 宜通世纪科技股份有限公司 | Method, system, device and storage medium for identifying terminal model |
CN112566101B (en) * | 2020-12-08 | 2023-01-24 | 中国联合网络通信集团有限公司 | 5G terminal determination method and device based on non-independent networking NSA |
-
2021
- 2021-05-07 CN CN202110496177.5A patent/CN113038523B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108141741A (en) * | 2015-11-06 | 2018-06-08 | 华为技术有限公司 | A kind of voice roaming method, mobile management network element and access network elements |
Also Published As
Publication number | Publication date |
---|---|
CN113038523A (en) | 2021-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113038523B (en) | Terminal identification method and device | |
CN112738791B (en) | User information correlation backfill method, device, equipment and medium based on 5G core network | |
CN105188036A (en) | Method for analyzing fallback and returned signalling of LTE (Long Term Evolution) subscriber in CS (circuit-switched) domain | |
CN113412608B (en) | Content pushing method and device, server and storage medium | |
WO2016041171A1 (en) | Method and apparatus for determining terminal roaming status, terminal and server | |
US20220103506A1 (en) | Message reminding method, apparatus, control device and storage medium | |
US10341290B2 (en) | Method and system for presenting recommendation information | |
CN107567074B (en) | Network connection method, device and terminal | |
CN113329338B (en) | User flow behavior processing method and device, electronic equipment and storage medium | |
CN104883705A (en) | Problem positioning method for data service complaints and device thereof | |
CN110599004A (en) | Risk control method, equipment, medium and device | |
US10015727B2 (en) | Automatic detection of a network operator for a mobile network device | |
CN113052425A (en) | Rework risk index determination method and device based on big data | |
CN109815351B (en) | Information query method and related product | |
CN114205820B (en) | Suspicious user detection method, suspicious user detection device and suspicious user detection computer equipment carrying pseudo base station | |
CN113079052B (en) | Model training method, device, equipment and storage medium, and method and device for identifying data of Internet of things | |
CN115988549A (en) | Terminal independent networking resident quality determination method, equipment and storage medium | |
CN111343105B (en) | Cutoff identification method and device based on deep learning | |
CN114793325A (en) | Short message charging method and device for VoLTE terminal user and electronic equipment | |
CN113379347A (en) | Express delivery warehouse-out management method and device, electronic equipment and storage medium | |
CN113163361A (en) | Vehicle information processing method and device and server | |
CN112866979A (en) | User information association method, device, equipment and medium based on 5G service interface | |
CN112689295B (en) | Service identification method, device, computing equipment and storage medium for paging message | |
CN108235268B (en) | Method and device for acquiring use times of IMEI (international mobile equipment identity) of call terminal | |
CN108770013B (en) | Network monitoring method and device |
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 |