CN109168137B - Abnormal offline identification method and device - Google Patents
Abnormal offline identification method and device Download PDFInfo
- Publication number
- CN109168137B CN109168137B CN201811301813.9A CN201811301813A CN109168137B CN 109168137 B CN109168137 B CN 109168137B CN 201811301813 A CN201811301813 A CN 201811301813A CN 109168137 B CN109168137 B CN 109168137B
- Authority
- CN
- China
- Prior art keywords
- signaling flow
- cell
- cell identifier
- flow
- signaling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000002159 abnormal effect Effects 0.000 title claims abstract description 176
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000011664 signaling Effects 0.000 claims abstract description 383
- 238000012545 processing Methods 0.000 claims description 15
- 238000004891 communication Methods 0.000 abstract description 10
- 230000015654 memory Effects 0.000 description 16
- 238000012360 testing method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 239000000463 material Substances 0.000 description 3
- 239000003795 chemical substances by application Substances 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000010998 test method Methods 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/20—Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
Abstract
The application provides a method and a device for identifying abnormal offline, which relate to the field of communication and are used for identifying abnormal offline events of user terminals. The method comprises the following steps: and acquiring all signaling flows in preset time. Inquiring the first set by using the starting time of the signaling flow as the sequence; if the first signaling flow is inquired and the next signaling flow of the first signaling flow is the second signaling flow, recording the cell identifier C1 in the second signaling flow and the start time T1 of the second signaling flow. Querying the third signaling flow and recording the cell identifier C2 in the third signaling flow and the start time T2 of the third signaling flow. Determining the distance between C1 and C2; the time difference between T1 and T2 is determined. And if the distance meets a first preset condition and the time difference meets a second preset condition, recording an abnormal offline event. Therefore, the abnormal offline identification method can improve the abnormal offline identification efficiency and reduce the labor cost.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for identifying abnormal offline.
Background
In the process that a user uses a data service in a 4G network, various interferences may exist to make the 4G network unstable, which causes the user to abnormally disconnect from the network and affects the user experience.
The existing abnormal off-line detection method is a field road test method, and a professional test tool is adopted to find problems through a field test method. The field test mode needs to invest a large amount of manpower, material resources and financial resources, and needs to carry out field test on a large number of roads and important scenes, so that the measurement cost is high, and the time consumption is long.
Disclosure of Invention
The embodiment of the application provides a method and a device for identifying abnormal offline, which can identify abnormal offline events by analyzing signaling flows, save cost and improve efficiency.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, the present application provides a method for identifying abnormal offline, including: s1, acquiring all signaling flows in preset time; wherein the signaling flow comprises: the starting time of the signaling flow, the ending time of the signaling flow, the type of the signaling flow, the result of the signaling flow, the user terminal identification and the cell identification; s2, sequentially inquiring a first set by using the starting time of the signaling flow; the first set is a set composed of signaling flows with the same user terminal identification; all the first sets form a second set; s3, if a first signaling flow is inquired and the next signaling flow of the first signaling flow is a second signaling flow, recording a cell identifier in the second signaling flow and the starting time of the second signaling flow; wherein, the first signaling flow is a signaling flow of paging failure; the second signaling flow is a signaling flow for reestablishing the connection; s4, inquiring a third signaling flow and recording a cell identifier in the third signaling flow and the starting time of the third signaling flow; wherein the third signaling flow is a signaling flow which is previous to the first signaling flow and has a different flow type or flow result from the first signaling flow; s5, determining a distance between a cell represented by the cell identifier in the second signaling flow and a cell represented by the cell identifier in the third signaling flow; determining a time difference between a start time of the third signaling flow and a start time of the second signaling flow; and S6, if the distance meets a first preset condition and the time difference meets a second preset condition, recording an abnormal offline event.
In a second aspect, the present application provides an apparatus for identifying abnormal offline, the apparatus comprising: the acquisition module is used for executing S1 and acquiring all signaling flows within preset time; wherein the signaling flow comprises: the starting time of the signaling flow, the ending time of the signaling flow, the type of the signaling flow, the result of the signaling flow, the user terminal identification and the cell identification; a processing module to perform: s2, sequentially inquiring a first set by using the starting time of the signaling flow; the first set is a set composed of signaling flows with the same user terminal identification; all the first sets form a second set; s3, if a first signaling flow is inquired and the next signaling flow of the first signaling flow is a second signaling flow, recording a cell identifier in the second signaling flow and the starting time of the second signaling flow; wherein, the first signaling flow is a signaling flow of paging failure; the second signaling flow is a signaling flow for reestablishing the connection; s4, inquiring a third signaling flow and recording a cell identifier in the third signaling flow and the starting time of the third signaling flow; wherein the third signaling flow is a signaling flow which is previous to the first signaling flow and has a different flow type or flow result from the first signaling flow; s5, determining a distance between a cell represented by the cell identifier in the second signaling flow and a cell represented by the cell identifier in the third signaling flow; determining a time difference between a start time of the third signaling flow and a start time of the second signaling flow; and S6, if the distance meets a first preset condition and the time difference meets a second preset condition, recording an abnormal offline event.
In a third aspect, the present application provides another apparatus for identifying abnormal offline, the apparatus comprising a processor, a communication interface, and a memory; the memory is configured to store one or more programs, where the one or more programs include computer executable instructions, and when the identification apparatus for abnormal offline is running, the processor executes the computer executable instructions stored in the memory, so as to enable the identification apparatus for abnormal offline to perform the identification method for abnormal offline described in the first aspect and any one of the implementation manners of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to perform the method for identifying abnormal offline described in the first aspect and any one of the implementations thereof.
In a fifth aspect, the present application provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the method for identifying an abnormal offline as described in the first aspect and any one of its implementations.
Compared with the prior art that a large amount of manpower, material resources and financial resources are required to be input in a field test mode, the abnormal offline identification method and the device can improve the identification efficiency of the abnormal offline event and reduce the cost.
Drawings
Fig. 1 is a flowchart of an identification method for abnormal offline according to an embodiment of the present application;
fig. 2 is a flowchart of another method for identifying abnormal offline provided by an embodiment of the present application;
fig. 3 is a schematic structural diagram of an identification apparatus for abnormal offline according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of another identification apparatus for abnormal offline provided in an embodiment of the present application.
Detailed Description
The method and apparatus for identifying abnormal offline provided by the present application will be described in detail below with reference to the accompanying drawings.
The terms "first" and "second", etc. in the description and drawings of the present application are used for distinguishing between different objects and not for describing a particular order of the objects.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the present application, the meaning of "a plurality" means two or more unless otherwise specified.
The method for identifying abnormal network disconnection provided in the embodiment of the present application may be applied to a communication network, which may be, for example, a Long Term Evolution (LTE) network, a Global System for Mobile communications (GSM), a Code Division Multiple Access (CDMA) System, a Time Division Multiple Access (TDMA) System, a Wideband Code Division Multiple Access (WCDMA) System, a Frequency Division Multiple Access (FDMA) System, an Orthogonal Frequency Division Multiple Access (OFDMA) System, a General Packet Radio Service (GPRS, General Packet Radio Service) System, a next-generation Mobile communication System, or other non-limiting communication systems.
The communication network comprises a core network and an access network, and the user equipment is accessed to the core network through the access network. The user equipment in the embodiments of the present application may be a wireless terminal or a wired terminal, and the wireless terminal may be a device providing voice and/or data connectivity to a user, a handheld device having a wireless connection function, or another processing device connected to a wireless modem. Wireless terminals, which may be mobile terminals such as mobile telephones (or "cellular" telephones) and computers having mobile terminals, such as portable, pocket, hand-held, computer-included, or vehicle-mounted mobile devices, may communicate with one or more core networks via a Radio Access Network (RAN), which may exchange language and/or data with the RAN. For example, Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs), and the like. A wireless Terminal may also be referred to as a system, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile), a Remote Station (Remote Station), an Access Point (Access Point), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Agent (User Agent), a User Device (User Device), or a User Equipment (User Equipment).
The method for identifying the abnormal offline provided by the embodiment of the application can be realized by any computer equipment. As shown in fig. 1, the method includes S101-S106:
s101, all signaling flows in a preset time are obtained.
Specifically, the signaling flow is obtained by synthesizing various signaling messages related to the signaling flow. The signaling flow comprises the following steps: the starting time of the signaling flow, the ending time of the signaling flow, the type of the signaling flow, the result of the signaling flow, the user terminal identification and the cell identification. The signaling flow is stored in a signaling platform; the signaling platform is an acquisition server located between the core network and the access network, and when a user interacts with a cell in a signaling process, the signaling platform can acquire and store the signaling process.
Optionally, the preset time may be set in a time period when the user terminal moves at a low speed, the user uses the network more frequently, or the user is influenced by network drop. Illustratively, the preset time can be selected from a time period of 10:00-11:00 or a time period of 23:00-24: 00. The preset time can be flexibly selected according to different requirements, and the method is not limited in the application.
S102, the first set is inquired by taking the starting time of the signaling flow as the sequence.
The first set is a set composed of signaling flows with the same user terminal identification; all of the first sets constitute a second set. Specifically, the method for dividing the first set and the second set includes: all signaling flows with a certain same user terminal identification are extracted to obtain a first set. Optionally, the extracted signaling flows form the first set according to the starting time of the signaling flows as an order. Thus, according to the method, all signaling flows are divided into a plurality of first sets according to the user terminal identifiers, and further, the first sets form a second set, that is, the second set comprises the first set corresponding to each user terminal identifier.
In a specific implementation of this step, the category of the signaling flow and the result of the signaling flow in the first set are sequentially queried from early to late according to the start time of the signaling flow.
If the type of the signaling flow in the first set is only one, deleting the first set; and reselecting the first set from the second set for query.
S103, if a first signaling flow is inquired and the next signaling flow of the first signaling flow is a second signaling flow, recording a cell identifier in the second signaling flow and the starting time of the second signaling flow.
Wherein, the first signaling flow is a signaling flow of paging failure; the second signaling flow is a signaling flow for reestablishing a connection.
Exemplarily, in the 4G network, the first signaling flow is a signaling flow whose flow type of signaling is paging and whose flow result of signaling is timeout; the second signaling flow is a signaling flow whose flow type is Tracking Area Update (TAU) or Attach (Attach). The process type TAU refers to a process type in which a 4G aperiodic tracking area is updated and a tracking area identification list is not changed. It should be noted that, in the 4G network, the process type paging of the first signaling process refers to paging of a data service specifically.
And when the first signaling flow is inquired, the connection between the user terminal and the 4G network fails at the moment, and the user terminal is disconnected. When the connection between the 4G network and the user terminal fails, the 4G network may continuously issue signaling until the 4G network and the user terminal reestablish the connection, so that a plurality of first signaling flows are arranged in series. When the second signaling flow is inquired, the user terminal is indicated to be re-attached to the 4G network after being detached from the 4G network. At this time, the cell identifier in the second signaling flow and the start time of the second signaling flow are recorded. The above process represents an event that the user terminal is disconnected from the 4G network and then re-connected with the 4G network. Wherein, after the user terminal leaves the 4G network, the user terminal can still choose to reside on the 2G or 3G network.
S104, inquiring a third signaling flow and recording the cell identification in the third signaling flow and the starting time of the third signaling flow.
The third signaling flow is a signaling flow which is previous to the first signaling flow and has a different flow type or flow result from the first signaling flow.
Specifically, if the flow type and the flow result of the previous signaling flow of the first signaling flow are the same as those of the first signaling flow, forward query is continued according to the starting time of the signaling flow until a signaling flow with a flow type and a flow result different from those of the first signaling flow is queried, and the signaling flow with the flow type and the flow result different from those of the first signaling flow is used as the third signaling flow.
For example, in the 4G network, when the connection between the 4G network and the user terminal fails, the 4G network may continuously issue signaling until the 4G network and the user terminal reestablish the connection, so that a plurality of first signaling flows are arranged in series. And taking the previous signaling flow of the first signaling flow in the plurality of continuously arranged signaling as a third signaling flow. Specifically, the first signaling procedure in the 4G network does not carry a cell identifier, so the method for determining the third signaling procedure in the 4G network is as follows: and inquiring a signaling flow before the first signaling flow, and taking the last signaling flow which carries the cell identifier before the first signaling flow as the third signaling flow.
S105, determining the distance between the cell represented by the cell identifier in the second signaling flow and the cell represented by the cell identifier in the third signaling flow. Determining a time difference between the start time of the third signaling flow and the start time of the second signaling flow.
Optionally, the method for calculating the distance between the cell represented by the cell identifier in the second signaling flow and the cell represented by the cell identifier in the third signaling flow includes:
and respectively inquiring the longitude and latitude of the cell represented by the cell identifier in the second signaling flow and the longitude and latitude of the cell represented by the cell identifier in the third signaling flow from a cell engineering parameter table, and calculating the distance between the cell represented by the cell identifier in the second signaling flow and the cell represented by the cell identifier in the third signaling flow according to the longitude and latitude.
And S106, if the distance meets a first preset condition and the time difference meets a second preset condition, recording an abnormal offline event.
Specifically, if the distance between the cell represented by the cell identifier in the second signaling flow and the cell represented by the cell identifier in the third signaling flow is smaller than a preset distance, and the time difference between the starting time of the third signaling flow and the starting time of the second signaling flow is greater than a first preset time and smaller than a second preset time, recording an abnormal offline event.
The preset distance is used for determining an offline event generated by the user terminal in a network coverage range; the first preset time is used for determining a offline event which can influence the experience of the user terminal; the second preset time is used for determining a offline event caused by the user terminal.
Illustratively, the preset distance is set to 10km, and when the distance is greater than 10km, it indicates that the user terminal leaves the coverage of the 4G network once and causes the user terminal to be disconnected. In this case, an abnormal offline event of the user terminal is not recorded. And setting the first preset time to be 200ms, and when the time difference is less than 200ms, the user does not obviously sense the offline event. This case also does not record an abnormal offline event of the user terminal. And setting the second preset time to be 1h, and when the time difference is greater than 1h, determining that the user terminal is disconnected due to factors such as shutdown or failure, and the like, wherein in the case, the abnormal offline event of the user terminal is not recorded. And recording an abnormal offline event only when the distance is less than 10km and the time difference is greater than 200ms and less than 1 h.
Compared with the prior art that a large amount of manpower, material resources and financial resources are required to be input in a field test mode, the abnormal offline identification method and the device can improve the identification efficiency of the abnormal offline event and reduce the cost.
In order to further determine the cause of the abnormal offline, as shown in fig. 2, after S106, the method provided in the embodiment of the present application further includes S107 to S110.
S107, repeating the processes S103-S106 until all the signaling flows in the first set are inquired.
Specifically, S107 is executed to obtain all abnormal offline events corresponding to the terminal indicated by the certain ue identifier.
And S108, repeating the processes S102-S107 until all the first sets in the second set are queried.
Specifically, S108 is executed to obtain all the abnormal offline events in the signaling flow.
And S109, respectively determining the resident cell of each user terminal.
The resident cell is a cell represented by a cell identifier with the largest occurrence number in a signaling flow of a first set corresponding to a certain user terminal or a cell with the longest residence time of the user terminal. Wherein the residence time is the sum of the process duration of the signaling processes with the same cell identifier. The duration of a certain signaling flow is the difference between the ending time and the starting time of the signaling flow.
S110, determining the reason of the abnormal offline event according to the resident cell of each user terminal, the cell identifier in the second signaling flow and the cell identifier in the third signaling flow corresponding to each abnormal offline event.
The method specifically comprises the following steps: counting the frequency of a first abnormal offline event, and if the frequency of the first abnormal offline event is greater than a first preset threshold, determining that an abnormal offline problem exists in the coverage area of the resident cell; the first abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell, the cell identifier in the third signaling flow and the cell identifier in the second signaling flow are the same.
Illustratively, the Cell identity of the resident Cell is CellresA Cell identifier in the third signaling flow is CelllastThe Cell identifier of the second signaling flow is CellupdateNumber of first abnormal offline eventsThe first predetermined threshold isIf Cellres=Celllast=CellupdateAnd if the abnormal offline event is the first abnormal offline event, the abnormal offline event is the first abnormal offline event. If it isThen Cell is determinedresThe coverage area of the represented cell has abnormal offline problem.
Counting the frequency of a second abnormal offline event, and if the frequency of the second abnormal offline event is greater than a second preset threshold, determining that an abnormal offline problem exists at the intersection of the cell represented by the cell identifier in the third signaling flow and the coverage of the cell represented by the cell identifier in the second signaling flow; the second abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell is the same as the cell identifier of the third signaling flow, and the identifier of the resident cell is different from the cell identifier in the second signaling flow.
Illustratively, the number of second abnormal offline events isThe second predetermined threshold isIf Cellres=Celllast≠CellupdateAnd if the abnormal offline event is the second abnormal offline event, the abnormal offline event is the second abnormal offline event. If it isThen Cell is determinedlastAnd CellupdateThere is an abnormal talk-around problem at the coverage intersection of the represented cells.
Counting the number of times of a third abnormal offline event, and if the number of times of the third abnormal offline event is greater than a third preset threshold, determining that an abnormal offline problem exists at the intersection of the coverage areas of the cell represented by the cell identifier in the third signaling flow and the cell represented by the cell identifier in the second signaling flow; the third abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell is the same as the cell identifier of the second signaling flow, and the cell identifier of the resident cell is different from the cell identifier of the third signaling flow.
Illustratively, the number of third abnormal offline events isThe third predetermined threshold isIf Cellres=Cellupdate≠CelllastAnd if the abnormal offline event is the third abnormal offline event, the abnormal offline event is the second abnormal offline event. If it isThen Cell is determinedlastAnd CellupdateThere is an abnormal talk-around problem at the coverage intersection of the represented cells.
Counting the number of times of a fourth abnormal offline event, and if the number of times of the fourth abnormal offline event is greater than a fourth preset threshold, determining that an abnormal offline problem exists at the intersection of the coverage areas of the residential cell, the cell represented by the cell identifier in the third signaling flow and the cell represented by the cell identifier in the second signaling flow; the fourth abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell, the cell identifier of the third signaling flow and the cell identifier of the second signaling flow are different.
Illustratively, if Cellres≠Celllast≠CellupdateAnd if the abnormal offline event is the fourth abnormal offline event, the abnormal offline event is the fourth abnormal offline event. The number of the fourth abnormal offline events isThe fourth predetermined threshold isIf it isThen Cell is determinedres、CelllastAnd CellupdateThe coverage area intersection of the cells represented by the three cell identifications has an abnormal offline problem.
According to the method for determining the reason of the abnormal offline event, the abnormal offline event is classified, the occurrence frequency of each type of abnormal offline event is compared with the preset frequency, and the reason of the abnormal offline event is obtained through analysis. Therefore, the method provided by the application can directly determine the reason of the abnormal offline event of the user through the analysis of the signaling flow, and the analysis efficiency is improved.
As shown in fig. 3, an embodiment of the present application provides an apparatus for identifying abnormal offline, where the apparatus is configured to perform the foregoing method for identifying abnormal offline, and the apparatus includes:
an obtaining module 301, configured to execute S101 and obtain all signaling flows within a preset time; wherein the signaling flow comprises: the starting time of the signaling flow, the ending time of the signaling flow, the type of the signaling flow, the result of the signaling flow, the user terminal identification and the cell identification.
A processing module 302 for performing:
s102, a first set is inquired by taking the starting time of the signaling flow as a sequence; the first set is a set composed of signaling flows with the same user terminal identification; all of the first sets constitute a second set.
S103, if a first signaling flow is inquired and the next signaling flow of the first signaling flow is a second signaling flow, recording a cell identifier in the second signaling flow and the starting time of the second signaling flow; wherein, the first signaling flow is a signaling flow of paging failure; the second signaling flow is a signaling flow for reestablishing a connection.
S104, inquiring a third signaling flow and recording a cell identifier in the third signaling flow and the starting time of the third signaling flow; the third signaling flow is a signaling flow which is previous to the first signaling flow and has a different flow type or flow result from the first signaling flow.
S105, determining the distance between the cell represented by the cell identifier in the second signaling flow and the cell represented by the cell identifier in the third signaling flow; determining a time difference between the start time of the third signaling flow and the start time of the second signaling flow.
And S106, if the distance meets a first preset condition and the time difference meets a second preset condition, recording an abnormal offline event.
Optionally, the processing module 302 is further configured to perform:
s107, repeating the processes S103-S106 until all the signaling flows in the first set are inquired.
And S108, repeating the processes S102-S107 until all the first sets in the second set are queried.
S109, respectively determining a resident cell of each user terminal; the resident cell is a cell represented by the cell identifier with the largest occurrence number in the signaling flow of the first set or a cell with the longest residence time of the user terminal.
S110, determining the reason of the abnormal offline event according to the resident cell of each user terminal, the cell identifier in the second signaling flow and the cell identifier in the third signaling flow corresponding to each abnormal offline event.
Optionally, the processing module 302 is further configured to:
counting the frequency of a first abnormal offline event, and if the frequency of the first abnormal offline event is greater than a first preset threshold, determining that an abnormal offline problem exists in the coverage area of the resident cell; the first abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell, the cell identifier in the third signaling flow and the cell identifier in the second signaling flow are the same.
Counting the frequency of a second abnormal offline event, and if the frequency of the second abnormal offline event is greater than a second preset threshold, determining that an abnormal offline problem exists at the intersection of the cell represented by the cell identifier in the third signaling flow and the coverage of the cell represented by the cell identifier in the second signaling flow; the second abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell is the same as the cell identifier in the third signaling flow, and the identifier of the resident cell is different from the cell identifier in the second signaling flow.
Counting the number of times of a third abnormal offline event, and if the number of times of the third abnormal offline event is greater than a third preset threshold, determining that an abnormal offline problem exists at the intersection of the coverage areas of the cell represented by the cell identifier in the third signaling flow and the cell represented by the cell identifier in the second signaling flow; the third abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell is the same as the cell identifier in the second signaling flow, and the cell identifier of the resident cell is different from the cell identifier in the third signaling flow.
Counting the number of times of a fourth abnormal offline event, and if the number of times of the fourth abnormal offline event is greater than a fourth preset threshold, determining that an abnormal offline problem exists at the intersection of the coverage areas of the residential cell, the cell represented by the cell identifier in the third signaling flow and the cell represented by the cell identifier in the second signaling flow; the fourth abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell, the cell identifier in the third signaling flow and the cell identifier in the second signaling flow are all different.
Optionally, the processing module 302 is further configured to:
if the flow type and the flow result of the previous signaling flow of the first signaling flow are the same as those of the first signaling flow, continuing to forward query according to the starting time of the signaling flow until the signaling flow with the flow type and the flow result different from those of the first signaling flow is queried; and taking the signaling flow with the flow type and the flow result different from the first signaling flow as the third signaling flow.
Optionally, the processing module 302 is further configured to:
and respectively inquiring the longitude and latitude of the cell represented by the cell identifier in the second signaling flow and the longitude and latitude of the cell represented by the cell identifier in the third signaling flow from a cell engineering parameter table. And calculating the distance between the cell represented by the cell identifier in the second signaling flow and the cell represented by the cell identifier in the third signaling flow according to the longitude and the latitude.
Optionally, the processing module 302 is further configured to:
and if the distance between the cell represented by the cell identifier in the second signaling flow and the cell represented by the cell identifier in the third signaling flow is less than a preset distance, and the time difference between the starting time of the third signaling flow and the starting time of the second signaling flow is greater than a first preset time and less than a second preset time, recording an abnormal offline event.
Fig. 4 shows a schematic view of another possible structure of the device for identifying abnormal offline in the above embodiment. The device includes: a processor 402 and a communication interface 403. The processor 402 is used to control and manage the actions of the device, e.g., to perform the steps performed by the processing module 302 described above, and/or other processes for performing the techniques described herein. The communication interface 403 is used to support communication between the apparatus and other network entities, for example, to perform the steps performed by the obtaining module 301. The terminal may further comprise a memory 401 and a bus 404, the memory 401 being used for storing program codes and data of the device.
The processor 402 may implement or execute various illustrative logical blocks, units, and circuits described in connection with the disclosure herein. The processor may be a central processing unit, general purpose processor, digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, units, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
The bus 404 may be an Extended Industry Standard Architecture (EISA) bus or the like. The bus 404 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
It is clear to those skilled in the art from the foregoing description of the embodiments that, for convenience and simplicity of description, the foregoing division of the functional units is merely used as an example, and in practical applications, the above function distribution may be performed by different functional units according to needs, that is, the internal structure of the device may be divided into different functional units to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
The embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed by a computer, the computer executes each step in the method flow shown in the above method embodiment.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read-Only Memory (EPROM), registers, a hard disk, an optical fiber, a portable Compact disk Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium, in any suitable combination, or as appropriate in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application.
Claims (10)
1. A method for identifying abnormal offline, the method comprising:
s1, acquiring all signaling flows in preset time; wherein the signaling flow comprises: the starting time of the signaling flow, the ending time of the signaling flow, the type of the signaling flow, the result of the signaling flow, the user terminal identification and the cell identification;
s2, sequentially inquiring a first set by using the starting time of the signaling flow; the first set is a set composed of signaling flows with the same user terminal identification; all the first sets form a second set;
s3, if a first signaling flow is inquired and the next signaling flow of the first signaling flow is a second signaling flow, recording a cell identifier in the second signaling flow and the starting time of the second signaling flow; wherein, the first signaling flow is a signaling flow of paging failure; the second signaling flow is a signaling flow for reestablishing the connection;
s4, inquiring a third signaling flow and recording a cell identifier in the third signaling flow and the starting time of the third signaling flow; wherein the third signaling flow is a signaling flow which is previous to the first signaling flow and has a different flow type or flow result from the first signaling flow;
s5, determining a distance between a cell represented by the cell identifier in the second signaling flow and a cell represented by the cell identifier in the third signaling flow; determining a time difference between a start time of the third signaling flow and a start time of the second signaling flow;
s6, if the distance meets a first preset condition and the time difference meets a second preset condition, recording an abnormal offline event;
if the distance meets a first preset condition and the time difference meets a second preset condition, recording an abnormal offline event comprises:
if the distance between the cell represented by the cell identifier in the second signaling flow and the cell represented by the cell identifier in the third signaling flow is smaller than a preset distance, and the time difference between the starting time of the third signaling flow and the starting time of the second signaling flow is larger than a first preset time and smaller than a second preset time, recording an abnormal offline event; the preset distance is used for determining an offline event generated by the user terminal in a network coverage range; the first preset time is used for determining a offline event which can influence the user terminal experience; the second preset time is used for determining a offline event caused by the user terminal.
2. The method for identifying abnormal offline according to claim 1, wherein at S6, if the distance satisfies a first preset condition and the time difference satisfies a second preset condition, the method further comprises:
s7, repeating the above processes S3-S6 until all the signaling flows in the first set are queried;
s8, repeating the above processes S2-S7 until all the first sets in the second set are queried;
s9, respectively determining the resident cell of each user terminal; the resident cell is a cell represented by a cell identifier with the largest occurrence number in a signaling flow of the first set or a cell with the longest residence time of the user terminal;
s10, determining the reason of the abnormal offline event according to the resident cell of each user terminal, the cell identification in the second signaling flow and the cell identification in the third signaling flow corresponding to each abnormal offline event.
3. The method according to claim 2, wherein the step S10 of determining the cause of the abnormal offline event according to the resident cell of each ue, the cell identifier in the second signaling flow and the cell identifier in the third signaling flow corresponding to each abnormal offline event comprises:
counting the frequency of a first abnormal offline event, and if the frequency of the first abnormal offline event is greater than a first preset threshold, determining that an abnormal offline problem exists in the coverage area of the resident cell; the first abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell, the cell identifier in the third signaling flow and the cell identifier in the second signaling flow are the same;
counting the frequency of a second abnormal offline event, and if the frequency of the second abnormal offline event is greater than a second preset threshold, determining that an abnormal offline problem exists at the intersection of the cell represented by the cell identifier in the third signaling flow and the coverage of the cell represented by the cell identifier in the second signaling flow; the second abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell is the same as the cell identifier in the third signaling flow, and the identifier of the resident cell is different from the cell identifier in the second signaling flow;
counting the number of times of a third abnormal offline event, and if the number of times of the third abnormal offline event is greater than a third preset threshold, determining that an abnormal offline problem exists at the intersection of the coverage areas of the cell represented by the cell identifier in the third signaling flow and the cell represented by the cell identifier in the second signaling flow; the third abnormal offline event is an abnormal offline event that the cell identifier of the resident cell is the same as the cell identifier in the second signaling flow, and the cell identifier of the resident cell is different from the cell identifier in the third signaling flow;
counting the number of times of a fourth abnormal offline event, and if the number of times of the fourth abnormal offline event is greater than a fourth preset threshold, determining that an abnormal offline problem exists at the intersection of the coverage areas of the residential cell, the cell represented by the cell identifier in the third signaling flow and the cell represented by the cell identifier in the second signaling flow; the fourth abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell, the cell identifier in the third signaling flow and the cell identifier in the second signaling flow are all different.
4. The method of claim 1, wherein the step of querying the third signaling flow comprises:
if the flow type and the flow result of the previous signaling flow of the first signaling flow are the same as those of the first signaling flow, continuing to forward query according to the starting time of the signaling flow until the signaling flow with the flow type and the flow result different from those of the first signaling flow is queried; and taking the signaling flow with the flow type and the flow result different from the first signaling flow as the third signaling flow.
5. The method of claim 1, wherein the determining the distance between the cell represented by the cell identifier in the second signaling flow and the cell represented by the cell identifier in the third signaling flow comprises:
respectively inquiring the longitude and latitude of a cell represented by the cell identifier in the second signaling flow and the longitude and latitude of a cell represented by the cell identifier in the third signaling flow from a cell engineering parameter table;
and calculating the distance between the cell represented by the cell identifier in the second signaling flow and the cell represented by the cell identifier in the third signaling flow according to the longitude and the latitude.
6. An apparatus for identifying abnormal offline, the apparatus comprising:
an acquisition module to perform: s1, acquiring all signaling flows in preset time; wherein the signaling flow comprises: the starting time of the signaling flow, the ending time of the signaling flow, the type of the signaling flow, the result of the signaling flow, the user terminal identification and the cell identification;
a processing module to perform:
s2, sequentially inquiring a first set by using the starting time of the signaling flow; the first set is a set composed of signaling flows with the same user terminal identification; all the first sets form a second set;
s3, if a first signaling flow is inquired and the next signaling flow of the first signaling flow is a second signaling flow, recording a cell identifier in the second signaling flow and the starting time of the second signaling flow; wherein, the first signaling flow is a signaling flow of paging failure; the second signaling flow is a signaling flow for reestablishing the connection;
s4, inquiring a third signaling flow and recording a cell identifier in the third signaling flow and the starting time of the third signaling flow; wherein the third signaling flow is a signaling flow which is previous to the first signaling flow and has a different flow type or flow result from the first signaling flow;
s5, determining a distance between a cell represented by the cell identifier in the second signaling flow and a cell represented by the cell identifier in the third signaling flow; determining a time difference between a start time of the third signaling flow and a start time of the second signaling flow;
s6, if the distance meets a first preset condition and the time difference meets a second preset condition, recording an abnormal offline event;
if the distance meets a first preset condition and the time difference meets a second preset condition, recording an abnormal offline event comprises:
if the distance between the cell represented by the cell identifier in the second signaling flow and the cell represented by the cell identifier in the third signaling flow is smaller than a preset distance, and the time difference between the starting time of the third signaling flow and the starting time of the second signaling flow is larger than a first preset time and smaller than a second preset time, recording an abnormal offline event; the preset distance is used for determining an offline event generated by the user terminal in a network coverage range; the first preset time is used for determining a offline event which can influence the user terminal experience; the second preset time is used for determining a offline event caused by the user terminal.
7. The apparatus for identifying abnormal drop-outs according to claim 6, wherein said processing module is further configured to perform:
s7, repeating the above processes S3-S6 until all the signaling flows in the first set are queried;
s8, repeating the above processes S2-S7 until all the first sets in the second set are queried;
s9, respectively determining the resident cell of each user terminal; the resident cell is a cell represented by a cell identifier with the largest occurrence number in a signaling flow of the first set or a cell with the longest residence time of the user terminal;
s10, determining the reason of the abnormal offline event according to the resident cell of each user terminal, the cell identification in the second signaling flow and the cell identification in the third signaling flow corresponding to each abnormal offline event.
8. The apparatus for identifying abnormal drop-outs according to claim 7, wherein the processing module is further configured to:
counting the frequency of a first abnormal offline event, and if the frequency of the first abnormal offline event is greater than a first preset threshold, determining that an abnormal offline problem exists in the coverage area of the resident cell; the first abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell, the cell identifier in the third signaling flow and the cell identifier in the second signaling flow are the same;
counting the frequency of a second abnormal offline event, and if the frequency of the second abnormal offline event is greater than a second preset threshold, determining that an abnormal offline problem exists at the intersection of the cell represented by the cell identifier in the third signaling flow and the coverage of the cell represented by the cell identifier in the second signaling flow; the second abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell is the same as the cell identifier in the third signaling flow, and the identifier of the resident cell is different from the cell identifier in the second signaling flow;
counting the number of times of a third abnormal offline event, and if the number of times of the third abnormal offline event is greater than a third preset threshold, determining that an abnormal offline problem exists at the intersection of the coverage areas of the cell represented by the cell identifier in the third signaling flow and the cell represented by the cell identifier in the second signaling flow; the third abnormal offline event is an abnormal offline event that the cell identifier of the resident cell is the same as the cell identifier in the second signaling flow, and the cell identifier of the resident cell is different from the cell identifier in the third signaling flow;
counting the number of times of a fourth abnormal offline event, and if the number of times of the fourth abnormal offline event is greater than a fourth preset threshold, determining that an abnormal offline problem exists at the intersection of the coverage areas of the residential cell, the cell represented by the cell identifier in the third signaling flow and the cell represented by the cell identifier in the second signaling flow; the fourth abnormal offline event is an abnormal offline event in which the cell identifier of the resident cell, the cell identifier in the third signaling flow and the cell identifier in the second signaling flow are all different.
9. The apparatus of claim 6, wherein the processing module is further configured to:
if the flow type and the flow result of the previous signaling flow of the first signaling flow are the same as those of the first signaling flow, continuing to forward query according to the starting time of the signaling flow until the signaling flow with the flow type and the flow result different from those of the first signaling flow is queried; and taking the signaling flow with the flow type and the flow result different from the first signaling flow as the third signaling flow.
10. The apparatus of claim 6, wherein the processing module is further configured to:
respectively inquiring the longitude and latitude of a cell represented by the cell identifier in the second signaling flow and the longitude and latitude of a cell represented by the cell identifier in the third signaling flow from a cell engineering parameter table;
and calculating the distance between the cell represented by the cell identifier in the second signaling flow and the cell represented by the cell identifier in the third signaling flow according to the longitude and the latitude.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811301813.9A CN109168137B (en) | 2018-11-02 | 2018-11-02 | Abnormal offline identification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811301813.9A CN109168137B (en) | 2018-11-02 | 2018-11-02 | Abnormal offline identification method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109168137A CN109168137A (en) | 2019-01-08 |
CN109168137B true CN109168137B (en) | 2021-01-05 |
Family
ID=64876539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811301813.9A Active CN109168137B (en) | 2018-11-02 | 2018-11-02 | Abnormal offline identification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109168137B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112073924B (en) * | 2020-09-07 | 2022-01-28 | Oppo(重庆)智能科技有限公司 | Signaling identification method, device, terminal and storage medium |
CN113891383B (en) * | 2021-10-09 | 2023-07-28 | 中国联合网络通信集团有限公司 | Method and device for determining network residence time duty ratio and computer storage medium |
CN114126079B (en) * | 2021-10-14 | 2022-06-10 | 荣耀终端有限公司 | Residence system and method |
CN116233876A (en) * | 2021-12-03 | 2023-06-06 | 中兴通讯股份有限公司 | Off-network detection method, off-network detection device, and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101137168A (en) * | 2007-01-10 | 2008-03-05 | 中兴通讯股份有限公司 | Device and method for detecting abnormal pull-off network of mobile terminal having call authority |
CN101137213A (en) * | 2006-12-30 | 2008-03-05 | 中兴通讯股份有限公司 | Abnormal pull-off network detecting method |
CN101883368A (en) * | 2009-05-05 | 2010-11-10 | 中兴通讯股份有限公司 | Method and device for detecting off-line of mobile station |
CN106658575A (en) * | 2016-08-03 | 2017-05-10 | 广西英伦信息技术股份有限公司 | Method of positioning LTE terminal off-network reason and off-network area |
CN106658585A (en) * | 2016-11-07 | 2017-05-10 | 浪潮通信信息系统有限公司 | Method and device for detecting target network |
CN106921982A (en) * | 2015-12-24 | 2017-07-04 | 中国移动通信集团浙江有限公司 | A kind of method and device of communication abnormality assessment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8666390B2 (en) * | 2011-08-29 | 2014-03-04 | At&T Mobility Ii Llc | Ticketing mobile call failures based on geolocated event data |
-
2018
- 2018-11-02 CN CN201811301813.9A patent/CN109168137B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101137213A (en) * | 2006-12-30 | 2008-03-05 | 中兴通讯股份有限公司 | Abnormal pull-off network detecting method |
CN101137168A (en) * | 2007-01-10 | 2008-03-05 | 中兴通讯股份有限公司 | Device and method for detecting abnormal pull-off network of mobile terminal having call authority |
CN101883368A (en) * | 2009-05-05 | 2010-11-10 | 中兴通讯股份有限公司 | Method and device for detecting off-line of mobile station |
CN106921982A (en) * | 2015-12-24 | 2017-07-04 | 中国移动通信集团浙江有限公司 | A kind of method and device of communication abnormality assessment |
CN106658575A (en) * | 2016-08-03 | 2017-05-10 | 广西英伦信息技术股份有限公司 | Method of positioning LTE terminal off-network reason and off-network area |
CN106658585A (en) * | 2016-11-07 | 2017-05-10 | 浪潮通信信息系统有限公司 | Method and device for detecting target network |
Also Published As
Publication number | Publication date |
---|---|
CN109168137A (en) | 2019-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109168137B (en) | Abnormal offline identification method and device | |
CN106385675B (en) | Multi-card multi-standby single-pass mobile terminal paging instruction method of reseptance and device | |
CN107135090B (en) | Method and device for realizing network poor quality problem positioning | |
CN112566101A (en) | 5G terminal determination method and device based on non-independent networking NSA | |
CN112188471B (en) | Communication method and device | |
CN103533604A (en) | Scanning access point in wireless fidelity network, channel selecting method, equipment and system | |
CN108390929A (en) | Obtain the method and device that user resides position | |
CN106817712B (en) | Positioning method and device and server | |
WO2021003698A1 (en) | Cell reselection method and apparatus, mobile terminal, and storage medium | |
CN111325561A (en) | Intelligent complaint processing method and device, electronic equipment and storage medium | |
CN104247518A (en) | Cell search control method, cell search control apparatus, mobile communication terminal, computer program and storage medium | |
CN104780590A (en) | Method and device used for dispatching SIM cards in multi-SIM-card system to search network | |
CN104581884A (en) | Method for searching network through mobile terminal and mobile terminal | |
CN105282830A (en) | Network access method and mobile terminal | |
CN109788504B (en) | Antenna reverse connection detection method and device | |
US20110096697A1 (en) | Automatic Selection of Geographic Area Specific Behavior | |
CN107548121B (en) | Method and device for determining access network | |
CN104135547B (en) | A kind of IP address properties verification method and system | |
CN113329094B (en) | Information push time determining method, device, equipment, medium and product | |
CN113923666B (en) | Method and device for identifying over-coverage base station, electronic equipment and storage medium | |
CN113194521B (en) | Network searching method and device for 5G communication module, computer equipment and storage medium | |
CN109743762B (en) | Method and device for starting eSRVCC function | |
CN112188591B (en) | Network access method, device, computer equipment and storage medium | |
CN102104952A (en) | Network registering methods and mobile terminals | |
CN106550431B (en) | UTRAN PLMN searching method |
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 |