CN108243056B - Method and device for acquiring abnormal information - Google Patents

Method and device for acquiring abnormal information Download PDF

Info

Publication number
CN108243056B
CN108243056B CN201611230068.4A CN201611230068A CN108243056B CN 108243056 B CN108243056 B CN 108243056B CN 201611230068 A CN201611230068 A CN 201611230068A CN 108243056 B CN108243056 B CN 108243056B
Authority
CN
China
Prior art keywords
service processing
information
processing thread
service
abnormal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611230068.4A
Other languages
Chinese (zh)
Other versions
CN108243056A (en
Inventor
倪靖清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201611230068.4A priority Critical patent/CN108243056B/en
Publication of CN108243056A publication Critical patent/CN108243056A/en
Application granted granted Critical
Publication of CN108243056B publication Critical patent/CN108243056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults

Abstract

The invention discloses a method and a device for acquiring abnormal information, wherein network equipment carries out health monitoring and determines an abnormal business processing thread according to a health monitoring result, and the network equipment acquires and stores the abnormal business configuration information and the abnormal business processing information of the abnormal business processing thread. The method and the device solve the problem of low service processing performance in the existing scheme for acquiring the abnormal information of the service process of the service plane of the network element in the EPC network.

Description

Method and device for acquiring abnormal information
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a method and an apparatus for acquiring abnormal information.
Background
Long Term Evolution (LTE) networks have been widely used as a new wireless mobile communication technology. And an Evolved Packet Core (EPC) network is a bridge connecting the LTE network and the internet. In the service processing process of the EPC network element, a problem occurring in the service plane often causes a service process of the service plane to directly exit, and the root of the problem cannot be traced. Therefore, recording the service plane exception is critical to the positioning of the service plane problem in the subsequent EPC network.
At present, the conventional positioning methods of obtaining abnormal information through single step debugging, obtaining abnormal information through checking log printing, recording related abnormal information through deploying a monitoring platform, and the like are not suitable for positioning the abnormality of the service plane of the network element in the EPC network, and the main reasons are as follows: the service process of the service plane is usually implemented by a core deployed in a Remote Method Invocation (rmi) operating system, and the core of the rmi operating system cannot perform single-step debugging and cannot deploy a uniform software platform for monitoring, which may cause overhead of the system and reduce service transmission performance. The service plane processing thread in the service plane service process is mainly responsible for service data transmission, requires high performance and low delay, and can seriously affect the service plane service processing performance through log printing, so that abnormal information cannot be recorded through log printing.
Therefore, how to obtain the abnormal information of the service process of the service plane of the network element in the EPC network to ensure the service processing performance is a problem that needs to be solved urgently.
Disclosure of Invention
The invention aims to provide a method and a device for acquiring abnormal information, which aim to solve the problem of lower service processing performance in the conventional scheme for acquiring the abnormal information of the service process of the service plane of a network element in an EPC network.
The purpose of the invention is realized by the following technical scheme:
in a first aspect, a method for acquiring exception information is provided, in which a network device performs health monitoring and determines an abnormal service processing thread according to a health monitoring result, and the network device acquires and stores service configuration exception information and service processing exception information of the abnormal service processing thread.
In the embodiment of the invention, the network equipment is used for carrying out health monitoring and determining the abnormal service processing thread according to the health monitoring result, the network equipment acquires and stores the abnormal service configuration information and the abnormal service processing information of the abnormal service processing thread, and the problems can be positioned according to the abnormal service configuration information and the abnormal service processing information when the service plane of the network equipment has problems by storing the abnormal service configuration information and the abnormal service processing information of the abnormal service processing thread, so that the service processing performance of the service plane is improved.
The service configuration abnormal information comprises a data message and memory table information.
Preferably, the network device obtains and stores the service configuration exception information of the service processing thread with the exception in the following manner:
the network equipment determines the Identity (Identity, ID) of the abnormal service processing thread; the network equipment searches the data message of the abnormal service processing thread according to the ID of the abnormal service processing thread; the network equipment searches the memory table information according to the attribute information of the data message; and the network equipment stores the data message and the memory table information into a shared memory in which a service configuration process and a service processing process are interacted.
In the embodiment of the invention, the abnormal problem of the business processing thread caused by the business configuration process can be accurately positioned by determining the ID of the abnormal business processing thread and searching the data message of the abnormal business processing thread according to the ID of the abnormal business processing thread and searching the memory table information according to the attribute information of the data message, and the searched data message and the memory table information are stored in the shared memory for interaction between the business configuration process and the business processing process, so that the existing resource is used for storing the abnormal business configuration information, and the resource utilization rate is improved.
Preferably, the service configuration exception information further includes counter information, and the counter information is used to identify an execution sequence of a service processing flow of the service processing thread in which the exception occurs.
The service processing exception information comprises stack information, and the stack information is used for indicating a function call relation in a service processing flow.
Preferably, the network device obtains and stores the service processing exception information of the service processing thread with the exception in the following manner:
the network equipment determines the ID of the abnormal service processing thread; the network equipment determines a service processing thread function corresponding to the ID of the abnormal service processing thread according to the ID of the abnormal service processing thread, and determines stack information of the service processing thread function; and the network equipment stores the stack information into a shared memory for interaction between a service configuration process and a service processing process.
According to the embodiment of the invention, the problem of abnormal business processing thread caused by the business processing process can be accurately positioned by determining the ID of the abnormal business processing thread, determining the business processing thread function corresponding to the abnormal business processing thread according to the ID of the abnormal business processing thread, and determining the stack information of the business processing thread function, and the stack information is stored in the shared memory where the business configuration process and the business processing process are interacted, so that the existing resource is utilized to store the abnormal business processing information, and the resource utilization rate is improved.
Preferably, the stack information includes two-dimensional array information of the service processing thread function, and the two-dimensional array information includes module information to which the service processing thread function belongs and the service processing thread function identification information; the module to which the service processing thread function belongs is obtained by the network equipment by performing module division according to the function processing service attribute in the service processing flow; the service processing thread function identifier is used for uniquely identifying the service processing thread function.
In the embodiment of the invention, the service processing thread function is divided into the modules according to the function processing service attribute in the service processing flow, when the service plane problem is positioned, the service plane problem module can be positioned firstly according to the function processing service attribute in the service processing flow, so that the service plane problem is positioned, and the time for positioning the service plane problem is shortened.
Preferably, the ID of the service processing thread is included in a header idle area of a data packet corresponding to the service processing thread, and the data packet is stored in a data packet buffer area.
Preferably, the network device stores the service configuration exception information and the service processing exception information of the service processing thread with the exception to a nonvolatile storage medium.
In a second aspect, an apparatus for acquiring exception information is provided, and is applied to a network device, and includes:
the determining module is used for carrying out health monitoring and determining abnormal business processing threads according to health monitoring results;
and the processing module is used for acquiring and storing the abnormal service configuration information and the abnormal service processing information of the abnormal service processing thread determined by the determining module.
Preferably, the service configuration exception information obtained by the processing module includes a data packet and memory table information, and the processing module specifically obtains and stores the service configuration exception information of the service processing thread in which the exception occurs by adopting the following method:
determining the ID of the abnormal service processing thread; searching the data message of the abnormal service processing thread according to the ID of the abnormal service processing thread; searching the memory table information according to the attribute information of the data message; and storing the data message and the memory table information into a shared memory in which a service configuration process and a service processing process are interacted.
Preferably, the service configuration exception information acquired by the processing module further includes counter information, and the counter information is used to identify an execution sequence of a service processing flow of the service processing thread in which the exception occurs.
Preferably, the service processing exception information acquired by the processing module includes stack information, where the stack information is used to indicate a function call relationship in a service processing flow, and the processing module specifically acquires and stores the service processing exception information of the service processing thread in which the exception occurs, in the following manner:
determining the ID of the abnormal service processing thread; determining a service processing thread function corresponding to the abnormal service processing thread according to the ID of the abnormal service processing thread, and determining stack information of the service processing thread function; and storing the stack information into a shared memory for interaction between the service configuration process and the service processing process.
Preferably, the stack information in the service processing exception information acquired by the processing module includes two-dimensional array information of a service processing thread function, and the two-dimensional array information includes module information to which the service processing thread function belongs and service processing thread function identification information; the module to which the service processing thread function belongs is obtained by the network equipment by performing module division according to the function processing service attribute in the service processing flow; the service processing thread function identifier is used for uniquely identifying the service processing thread function.
Preferably, the ID of the service processing thread acquired by the processing module is included in a message header idle area of a data message corresponding to the service processing thread, and the data message is stored in a data message cache area.
Preferably, the processing module is further configured to:
and storing the abnormal service configuration information and the abnormal service processing information of the abnormal service processing thread into a nonvolatile storage medium.
Drawings
Fig. 1 is a flowchart of a method for obtaining exception information according to an embodiment of the present invention;
fig. 2 is a schematic view illustrating interaction between a service configuration process and a service processing process through a shared memory according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for acquiring exception information caused by an exception of a service configuration process according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a data packet structure corresponding to a service processing thread according to an embodiment of the present invention;
fig. 5 is a schematic view of a service processing flow provided in an embodiment of the present invention;
fig. 6 is a flowchart of a method for acquiring exception information caused by an exception in a service processing process according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a corresponding relationship in a two-dimensional array according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating operation of a function stack according to an embodiment of the present invention;
fig. 9 is a schematic diagram of an apparatus for acquiring exception information according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described in detail below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments, and not all embodiments, of the present invention. 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 EPC network is a bridge connecting the LTE network and the Internet, and in order to ensure the high efficiency of service transmission of a service plane in the EPC network, a service process of a network element in the EPC network is separated into a service processing process and a service configuration process. The service configuration process completes configuration of the service processing process, the service processing process completes service processing flow of service transmission, one service configuration process corresponds to one or more service processing processes, and each service processing process comprises a plurality of service processing threads. In the process of service transmission on a service plane by a network element in an EPC network, two types of service plane exceptions exist, one type is a service processing thread exception caused by a service configuration error, namely a service configuration process exception, and the other type is a service processing thread exception caused by a service processing error, namely a service processing process exception.
In order to solve the problem of low service processing performance in the existing scheme for acquiring abnormal information of a service plane service process of a network element in an EPC network, an embodiment of the invention provides a method for acquiring abnormal information.
Fig. 1 is a flowchart of a method for acquiring exception information according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
s101: and the network equipment carries out health monitoring and determines the abnormal business processing thread according to the health monitoring result.
In the embodiment of the present invention, a service configuration process and a service processing process interact through a shared memory, as shown in fig. 2, a process 1 in fig. 2 represents the service configuration process, a process 2 represents the service processing process, the process 1 and the process 2 interact through a distributed shared memory, and a network device maps interactive addresses in the shared memory to shared memory mapping regions of the process 1 and the process 2, so that the process 1 and the process 2 can both access the shared memory, and in addition, the process 1 and the process 2 in fig. 2 also have independent address spaces to store respective information. Generally, a service processing thread stores health monitoring information indicating the health of the service processing thread in a shared memory where a service configuration process and the service processing process interact with each other, and a network device performs health monitoring on the service processing thread through the shared memory where the service configuration process and the service processing process interact with each other, and determines the abnormal service processing thread according to a health monitoring result.
S102: and the network equipment acquires and stores the abnormal service configuration information and the abnormal service processing information of the abnormal service processing thread.
In the embodiment of the invention, after the network equipment determines the abnormal service processing thread, the service configuration abnormal information and the service processing abnormal information of the abnormal service processing thread are acquired and stored, so that when a problem occurs on the service plane of the network equipment, the problem can be positioned according to the service configuration abnormal information and the service processing abnormal information, and the service processing performance of the service plane is further improved. The service configuration information is used for positioning the problem caused by the service configuration process configuring the abnormal service processing thread, and the service processing information is used for positioning the problem caused by the service process processing of the service processing process to which the abnormal service processing thread belongs.
In the embodiment of the invention, two targeted processing methods are provided for solving the problem of two types of service processing thread exception caused by service configuration process exception and service processing process exception.
In the embodiment of the invention, aiming at the business processing thread abnormity caused by the business configuration process abnormity, the business processing thread abnormity is searched through the business configuration abnormity information and is stored, wherein the business configuration abnormity information comprises a data message and memory table information. The following describes in detail a method for handling exception of a business processing thread caused by exception of a business configuration process.
Fig. 3 is a flowchart of a method for acquiring exception information caused by an exception of a service configuration process according to an embodiment of the present invention, and as shown in fig. 3, the method includes:
s201: and the network equipment determines the ID of the abnormal service processing thread.
In the embodiment of the present invention, the ID of the service processing thread may be stored in the data packet corresponding to the service processing thread. Fig. 4 shows a schematic diagram of a data packet structure, and as shown in fig. 4, the ID of the service processing thread is contained in a packet header idle area of the data packet, where the packet header idle area is an idle area adjusted in the data packet by a service configuration process and a service processing process, and the idle area can store other custom information of the service processing thread in addition to the ID of the service processing thread in which an exception occurs. The data message is stored in a data message cache region, and according to the actual situation of the application, the data message is usually stored in a shared memory where a service configuration process and a service processing process interact, so that the service configuration process can access the ID of the service processing thread through the shared memory. When the business processing thread is abnormal, the network equipment searches the data message cache region through the shared memory, and determines the ID of the abnormal business processing thread in the message header idle region of the data message.
S202: and the network equipment searches the data message of the abnormal service processing thread according to the ID of the abnormal service processing thread.
S203: and the network equipment searches the memory table information according to the attribute information of the data message.
In the embodiment of the invention, the types of the data messages are different for different practical application scenes. The following description will be made in detail by taking an example in which a Network device processes an uplink service from a User Equipment (UE) to a Public Data Network (PDN) device or a Network device processes a downlink service from a PDN device to the UE. As shown in fig. 5, the UE transmits uplink traffic to the PDN device through the GTPU tunnel via an Evolved Node Base (eNodeB) on the wireless side; and the PDN equipment transmits downlink service to the eNodeB through the GTPU tunnel, and then transmits the downlink service to the UE through the eNodeB. In the above process, there are two types of data packets, one is a General Packet Radio Service (GPRS) channel Protocol User Plane (GTPU) data Packet, and the other is an Internet Protocol (IP) data Packet. And for the GTPU data message and the IP data message with different attributes, the network equipment searches the memory table information according to the attribute information of the data message. For example, when the data packet is a GTPU data packet, the network device searches a corresponding GTPU memory table; when the data packet is an IP data packet, the network device searches for a corresponding Traffic Flow Template table (TFT), and further needs to search for a corresponding routing memory table if Media Access Control (MAC) of the IP data packet is encapsulated.
S204: and the network equipment stores the data message and the memory table information into a shared memory in which a service configuration process and a service processing process are interacted.
In the embodiment of the present invention, the network device stores the acquired data packet and the memory table information in a shared memory in which a service configuration process and a service processing process interact with each other in fig. 2, and the network device stores the data packet and the memory table information by using an existing shared memory, so that no additional new resource is added, and the utilization rate of the shared memory is improved.
Preferably, in the embodiment of the present invention, the service configuration exception information further includes counter information, where the counter information is used to identify an execution sequence of a service processing flow of the service processing thread in which the exception occurs.
In the embodiment of the invention, the business processing thread exception caused by the business processing process exception is searched and stored through the business processing exception information. The following describes in detail a method for handling a business processing thread exception caused by a business processing process exception.
Fig. 6 is a flowchart of a method for acquiring exception information caused by an exception in a service processing process according to an embodiment of the present invention, and as shown in fig. 6, the method includes:
s301: and the network equipment determines the ID of the abnormal service processing thread.
In the embodiment of the present invention, the method for determining the ID of the abnormal service processing thread by the network device is the same as the above-described method for determining the ID of the abnormal service processing thread, and is not described again.
S302: and the network equipment determines a service processing thread function corresponding to the abnormal service processing thread according to the ID of the abnormal service processing thread and determines stack information of the service processing thread function.
In the embodiment of the present invention, the service processing exception information includes stack information, and the stack information is used to indicate a function call relationship in a service processing flow.
S303: and the network equipment stores the stack information into a shared memory for interaction between a service configuration process and a service processing process.
In the embodiment of the invention, the stack information comprises two-dimensional array information of the service processing thread function, wherein the two-dimensional array is constructed by a module to which the service processing thread function belongs and a service processing thread function identifier, as shown in fig. 7, the correspondence relationship of the two-dimensional array is given in the form of a rectangular coordinate system in fig. 7, the horizontal axis of the rectangular coordinate system represents the module information of the service processing thread function of one dimension of the two-dimensional array, the longitudinal axis of the rectangular coordinate system represents the service processing thread function identification information of the other dimension in the two-dimensional array, in fig. 7, the module to which the service processing thread function belongs is schematically divided into n, the service processing thread functions corresponding to the module to which the service processing thread function of each dimension belongs are identified as m, each business processing thread function is uniquely identified by m business processing thread function identifications. Namely, the two-dimensional array information includes the module information to which the service processing thread function belongs and the service processing thread function identification information. The module to which the service processing thread function belongs is obtained by the network device by performing module division according to the function processing service attribute in the service processing flow.
In the embodiment of the present invention, each service processing thread constructs stack information according to a service processing thread function call relationship, specifically, when the service processing thread function is processed, the service processing thread function pointer information is stacked, and the service processing thread function is popped after the processing is completed, as shown in fig. 8, the service processing thread functions stacked and popped in fig. 8 are service processing thread functions after modules are divided, so that the service processing thread functions are represented in the form of two-dimensional arrays [1] [1], [1] [2], [2] [2] and the like in fig. 8, where the module in fig. 8 represents a module to which the service processing thread function belongs, and the function represents a service processing thread function identifier.
In the embodiment of the present invention, the network device stores the service configuration exception information and the service processing exception information of the service processing thread in which the exception occurs in a nonvolatile storage medium. The nonvolatile storage medium is a storage medium of which information is not lost after the network equipment is interrupted or the power is cut off.
In the embodiment of the present invention, the nonvolatile storage medium storing the service configuration exception information and the service processing exception information of the service processing thread in which the exception occurs is not particularly limited, and may be a medium such as a hard disk.
The embodiment of the invention also provides a device for acquiring the abnormal information, and the composition and the application of the device for acquiring the abnormal information are described in detail below.
Fig. 9 is a schematic diagram of an apparatus for acquiring exception information according to an embodiment of the present invention, as shown in fig. 9, the apparatus includes a determining module 101 and a processing module 102, where:
the determining module 101 is configured to perform health monitoring and determine a service processing thread in which an abnormality occurs according to a health monitoring result;
a processing module 102, configured to obtain and store the service configuration exception information and the service processing exception information of the service processing thread with the exception, which are determined by the determining module 101
It should be noted that the apparatus for acquiring abnormal information in the embodiment of the present invention is applied to a network device, and the network device may be a base station.
In this embodiment of the present invention, the service configuration exception information obtained by the processing module 102 includes a data packet and memory table information, and the processing module 102 specifically obtains and stores the service configuration exception information of the service processing thread having the exception in the following manner:
determining the ID of the abnormal service processing thread; searching the data message of the abnormal service processing thread according to the ID of the abnormal service processing thread; searching the memory table information according to the attribute information of the data message; and storing the data message and the memory table information into a shared memory in which a service configuration process and a service processing process are interacted.
In this embodiment of the present invention, the service configuration exception information obtained by the processing module 102 further includes counter information, where the counter information is used to identify an execution sequence of a service processing flow of a service processing thread in which an exception occurs.
In this embodiment of the present invention, the service processing exception information obtained by the processing module 102 includes stack information, where the stack information is used to indicate a function call relationship in a service processing flow, and the processing module 102 specifically obtains and stores the service processing exception information of the service processing thread where the exception occurs by adopting the following method:
determining the ID of the abnormal service processing thread; determining a service processing thread function corresponding to the abnormal service processing thread according to the ID of the abnormal service processing thread, and determining stack information of the service processing thread function; and storing the stack information into a shared memory for interaction between the service configuration process and the service processing process.
In this embodiment of the present invention, the stack information in the service processing exception information acquired by the processing module 102 includes two-dimensional array information of a service processing thread function, where the two-dimensional array information includes module information to which the service processing thread function belongs and identification information of the service processing thread function; the module to which the service processing thread function belongs is obtained by the network equipment by performing module division according to the function processing service attribute in the service processing flow; the service processing thread function identifier is used for uniquely identifying the service processing thread function.
In this embodiment of the present invention, the ID of the service processing thread acquired by the processing module 102 is included in a packet header idle area of a data packet corresponding to the service processing thread, and the data packet is stored in a data packet cache area.
In this embodiment of the present invention, the processing module 102 is further configured to:
and storing the abnormal service configuration information and the abnormal service processing information of the abnormal service processing thread into a nonvolatile storage medium.
In the embodiment of the invention, the network equipment is used for carrying out health monitoring and determining the abnormal service processing thread according to the health monitoring result, the network equipment acquires and stores the abnormal service configuration information and the abnormal service processing information of the abnormal service processing thread, and the problems can be positioned according to the abnormal service configuration information and the abnormal service processing information when the service plane of the network equipment has problems by storing the abnormal service configuration information and the abnormal service processing information of the abnormal service processing thread, so that the service processing performance of the service plane is improved.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for obtaining exception information, comprising:
the network equipment carries out health monitoring and determines a service processing thread with abnormality according to a health monitoring result;
the network equipment acquires and stores the abnormal service configuration information and the abnormal service processing information of the abnormal service processing thread; the service configuration abnormal information comprises a data message and memory table information;
the service configuration exception information also comprises counter information, and the counter information is used for identifying the execution sequence of the service processing flow of the service processing thread with the exception;
the network device obtains and stores the abnormal service configuration information of the abnormal service processing thread, and the method comprises the following steps:
the network equipment determines the ID of the abnormal service processing thread;
the network equipment searches the data message of the abnormal service processing thread according to the ID of the abnormal service processing thread;
the network equipment searches the memory table information according to the attribute information of the data message;
and the network equipment stores the data message and the memory table information into a shared memory in which a service configuration process and a service processing process are interacted.
2. The method of claim 1, wherein the business process exception information includes stack information indicating a function call relationship in a business process flow;
the network device obtaining and storing the abnormal service processing information of the abnormal service processing thread comprises:
the network equipment determines the ID of the abnormal service processing thread;
the network equipment determines a service processing thread function corresponding to the abnormal service processing thread according to the ID of the abnormal service processing thread and determines stack information of the service processing thread function;
and the network equipment stores the stack information into a shared memory for interaction between a service configuration process and a service processing process.
3. The method according to claim 2, wherein the stack information includes two-dimensional array information of a service processing thread function, the two-dimensional array information including module information to which the service processing thread function belongs and the service processing thread function identification information;
the module to which the service processing thread function belongs is obtained by the network equipment by performing module division according to the function processing service attribute in the service processing flow;
the service processing thread function identifier is used for uniquely identifying the service processing thread function.
4. The method according to any of claims 1 to 3, wherein the ID of the service processing thread is included in a header free area of a data packet corresponding to the service processing thread, and the data packet is stored in a data packet buffer.
5. The method of claim 1, wherein the network device stores the service configuration exception information and the service processing exception information of the service processing thread in which the exception occurred in a non-volatile storage medium.
6. An apparatus for acquiring exception information, applied to a network device, includes:
the determining module is used for carrying out health monitoring and determining abnormal business processing threads according to health monitoring results;
the processing module is used for acquiring and storing the abnormal service configuration information and the abnormal service processing information of the abnormal service processing thread determined by the determining module;
the service configuration abnormal information acquired by the processing module comprises a data message and memory table information;
the service configuration exception information acquired by the processing module further includes counter information, and the counter information is used for identifying the execution sequence of the service processing flow of the service processing thread with the exception;
the processing module acquires and stores the abnormal service configuration information of the abnormal service processing thread in the following way:
determining the ID of the abnormal service processing thread;
searching the data message of the abnormal service processing thread according to the ID of the abnormal service processing thread;
searching the memory table information according to the attribute information of the data message;
and storing the data message and the memory table information into a shared memory in which a service configuration process and a service processing process are interacted.
7. The apparatus according to claim 6, wherein the service processing exception information obtained by the processing module includes stack information, and the stack information is used to indicate a function call relationship in a service processing flow;
the processing module acquires and stores the abnormal service processing information of the abnormal service processing thread in the following way:
determining the ID of the abnormal service processing thread;
determining a service processing thread function corresponding to the abnormal service processing thread according to the ID of the abnormal service processing thread, and determining stack information of the service processing thread function;
and storing the stack information into a shared memory for interaction between the service configuration process and the service processing process.
8. The apparatus according to claim 7, wherein the stack information in the service processing exception information acquired by the processing module includes two-dimensional array information of a service processing thread function, the two-dimensional array information including module information to which the service processing thread function belongs and the service processing thread function identification information;
the module to which the service processing thread function belongs is obtained by the network equipment by performing module division according to the function processing service attribute in the service processing flow;
the service processing thread function identifier is used for uniquely identifying the service processing thread function.
9. The apparatus according to any one of claims 6 to 8, wherein the ID of the service processing thread obtained by the processing module is included in a header free area of a data packet corresponding to the service processing thread, and the data packet is stored in a data packet buffer.
10. The apparatus of claim 6, wherein the processing module is further to:
and storing the abnormal service configuration information and the abnormal service processing information of the abnormal service processing thread into a nonvolatile storage medium.
CN201611230068.4A 2016-12-27 2016-12-27 Method and device for acquiring abnormal information Active CN108243056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611230068.4A CN108243056B (en) 2016-12-27 2016-12-27 Method and device for acquiring abnormal information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611230068.4A CN108243056B (en) 2016-12-27 2016-12-27 Method and device for acquiring abnormal information

Publications (2)

Publication Number Publication Date
CN108243056A CN108243056A (en) 2018-07-03
CN108243056B true CN108243056B (en) 2020-11-20

Family

ID=62702717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611230068.4A Active CN108243056B (en) 2016-12-27 2016-12-27 Method and device for acquiring abnormal information

Country Status (1)

Country Link
CN (1) CN108243056B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090658B (en) * 2019-11-08 2021-03-02 网联清算有限公司 Abnormal transaction processing method, system and equipment
CN113114788A (en) * 2020-11-11 2021-07-13 周金华 Service resource sharing method applied to cloud computing and digitization and cloud server
CN114422192B (en) * 2021-12-23 2024-03-29 武汉思普崚技术有限公司 Abnormal slow flow detection method and device for network security equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1625121A (en) * 2003-12-05 2005-06-08 中国科学技术大学 Hierarchical cooperated network virus and malice code recognition method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516001A (en) * 2003-01-08 2004-07-28 上海海尔集成电路有限公司 New-type RISC pieline microcontroller structure and its operation method
CN100336019C (en) * 2004-10-26 2007-09-05 中国科学技术大学 Operating system based on server / execution stream model
CN100361081C (en) * 2005-01-18 2008-01-09 华为技术有限公司 Method for processing multi-thread, multi-task and multi-processor
CN100373575C (en) * 2005-12-09 2008-03-05 北京北方微电子基地设备工艺研究中心有限责任公司 Method for monitoring abnormality of technology process in semiconductor equipment
CN100478911C (en) * 2006-07-25 2009-04-15 中兴通讯股份有限公司 Protection method in the time of aberrant management thread
CN103092746B (en) * 2013-02-05 2015-12-02 上海大唐移动通信设备有限公司 The localization method of thread exception and system
CN103839007B (en) * 2014-03-03 2016-08-31 珠海市君天电子科技有限公司 A kind of method and system detecting abnormal thread

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1625121A (en) * 2003-12-05 2005-06-08 中国科学技术大学 Hierarchical cooperated network virus and malice code recognition method

Also Published As

Publication number Publication date
CN108243056A (en) 2018-07-03

Similar Documents

Publication Publication Date Title
JP7168679B2 (en) Wireless communication method and device
WO2020052605A1 (en) Network slice selection method and device
CN108259347B (en) Message transmission method and device
WO2018054397A1 (en) Service function chain detection path method and device
WO2019029421A1 (en) Method and device for transmitting downlink control channel
CN108243056B (en) Method and device for acquiring abnormal information
CN106878181A (en) A kind of message transmitting method and device
CN106657434B (en) method and device for checking IP address
CN105188056A (en) Method and device for connecting WiFi (Wireless Fidelity) equipment with access point
TW201446025A (en) Wireless local area network (WLAN) traffic load measurement provisioning to wireless cellular networks
CN111263377B (en) Network configuration method, device, equipment and system and distribution network testing method and system
CN110740481A (en) Data processing method, apparatus and computer storage medium based on quality of service
WO2019129014A1 (en) Communication method, device and system
US10383160B2 (en) Data processing method, apparatus, and device
US9832714B2 (en) Method and system for network node selection based user equipment agent assisted modification of temporary identity in 3G and 4G networks
US20210367731A1 (en) Reference signal transmission method and communications apparatus
CN105763463B (en) Method and device for transmitting link detection message
US20200221471A1 (en) Resource indication method, communications apparatus, and network device
CN107086960B (en) Message transmission method and device
CN112583736A (en) Signaling message distribution method, device, equipment and medium
CN112954797B (en) Method and device for aligning downlink control information DCI
US20160092294A1 (en) Fault tracking in a telecommunications system
CN109246117A (en) A kind of analysis method, system and the relevant apparatus of pcap data message
CN112637894B (en) Resource allocation method, device, access network equipment and storage medium
CN110636644A (en) Information transmission 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