CN113993149A - Processing method and device of communication diagnosis log and readable storage medium - Google Patents

Processing method and device of communication diagnosis log and readable storage medium Download PDF

Info

Publication number
CN113993149A
CN113993149A CN202111165977.5A CN202111165977A CN113993149A CN 113993149 A CN113993149 A CN 113993149A CN 202111165977 A CN202111165977 A CN 202111165977A CN 113993149 A CN113993149 A CN 113993149A
Authority
CN
China
Prior art keywords
communication
log
diagnosis
rule table
presetting
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.)
Pending
Application number
CN202111165977.5A
Other languages
Chinese (zh)
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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202111165977.5A priority Critical patent/CN113993149A/en
Publication of CN113993149A publication Critical patent/CN113993149A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • 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/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a processing method, a device and a readable storage medium of a communication diagnosis log, wherein the processing method comprises the following steps: presetting a capturing rule table of a communication diagnosis log, wherein capturing rules corresponding to different scene types of a communication system are stored in the capturing rule table; acquiring a current scene type of a communication system; and grabbing a target communication diagnosis log corresponding to the current scene type based on the grabbing rule table. According to the method and the device, the current scene type of the communication system is obtained by presetting the capturing rule table of the communication diagnosis logs in which the capturing rules corresponding to different scene types of the communication system are stored, and the target communication diagnosis logs corresponding to the current scene type are captured based on the capturing rule table, so that the required communication diagnosis logs can be accurately captured, the communication diagnosis logs are prevented from being lost, and the storage space of the communication diagnosis logs is saved.

Description

Processing method and device of communication diagnosis log and readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a communication diagnostic log, and a readable storage medium.
Background
In a communication system, it is important that a mobile phone chip has strong diagnostic capability. And the problem of various communication systems can be solved as soon as possible by grabbing the required communication diagnosis log.
Usually, the amount of the communication log in the communication system is large, and once problems occur, such as hanging, unavailable SIM card, abnormal data service, crash, and the like, the problems that occur specifically need to be located through the communication log. The existing communication log is easy to lose and not easy to locate. If the required communication diagnosis log is captured in a recurrent mode, the recurrent possibility and the effectiveness are insufficient due to the change of network configuration.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and device for processing a communication diagnostic log, and a readable storage medium, in order to overcome the defects that the possibility of recurrence and the lack of effectiveness exist in the prior art when a recurrence mode is adopted to capture a required communication diagnostic log.
The invention solves the technical problems through the following technical scheme:
a method of processing a communication diagnostic log, the method comprising:
presetting a capturing rule table of a communication diagnosis log, wherein capturing rules corresponding to different scene types of a communication system are stored in the capturing rule table;
acquiring the current scene type of the communication system;
and grabbing a target communication diagnosis log corresponding to the current scene type based on the grabbing rule table.
Preferably, the step of capturing the rule table of the preset communication diagnosis log includes:
and presetting the log level of the communication diagnosis log obtained under the different scene types.
Preferably, the step of capturing the rule table of the preset communication diagnosis log further includes:
and presetting the log function of the communication diagnosis log obtained under the different scene types.
Preferably, the step of capturing the rule table of the preset communication diagnosis log further includes:
and presetting the stored SIM card type and/or the module type of the communication diagnosis log acquired under different scene types.
Preferably, the step of obtaining the current scene type of the communication system includes:
and acquiring the current scene type of the communication system according to the activity track information of the user and/or the test case of the operator.
Preferably, the scene type includes at least one of standby, SIM card specific test, audio call, video call, internet access, file transfer protocol download, long term evolution voice bearer data concurrency, and power consumption test service.
Preferably, after the step of fetching the target communication diagnosis log corresponding to the current scene type based on the fetching rule table, the processing method further includes:
storing the target communication diagnostic log.
Preferably, after the step of storing the target communication diagnostic log, the processing method further includes:
and analyzing the obtained target communication diagnosis log.
A processing system of communication diagnosis logs comprises a preset module, an acquisition module and a grabbing module;
the preset module is used for presetting a capturing rule table of the communication diagnosis log, and capturing rules corresponding to different scene types of the communication system are stored in the capturing rule table;
the obtaining module is used for obtaining the current scene type of the communication system;
and the grabbing module is used for grabbing the target communication diagnosis log corresponding to the current scene type based on the grabbing rule table.
Preferably, the preset module comprises a first preset unit;
the first presetting unit is used for presetting the log level of the communication diagnosis log acquired under different scene types.
Preferably, the preset module comprises a second preset unit;
the second preset unit is used for presetting the log function of the communication diagnosis log acquired under different scene types.
Preferably, the preset module comprises a third preset unit;
the third preset unit is configured to preset the stored SIM card type and/or the module type of the communication diagnosis log obtained in the different scene types.
Preferably, the obtaining module is specifically configured to obtain the current scene type of the communication system according to the activity track information of the user and/or the test case of the operator.
Preferably, the scene type includes at least one of standby, SIM card specific test, audio call, video call, internet access, file transfer protocol download, long term evolution voice bearer data concurrency, and power consumption test service.
Preferably, the processing system further comprises a memory module;
the storage module is used for storing the target communication diagnosis log.
Preferably, the processing system further comprises an analysis module;
the analysis module is used for analyzing the obtained target communication diagnosis log.
An electronic device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the processing method of the communication diagnosis log.
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the above-described method of processing a communication diagnostic log.
The positive progress effects of the invention are as follows:
according to the method and the device, the current scene type of the communication system is obtained by presetting the capturing rule table of the communication diagnosis logs in which the capturing rules corresponding to different scene types of the communication system are stored, and the target communication diagnosis logs corresponding to the current scene type are captured based on the capturing rule table, so that the required communication diagnosis logs can be accurately captured, the communication diagnosis logs are prevented from being lost, and the storage space of the communication diagnosis logs is saved.
Drawings
Fig. 1 is a flowchart of a communication diagnostic log processing method according to embodiment 1 of the present invention.
Fig. 2 is a flowchart of a communication diagnostic log processing method according to embodiment 2 of the present invention.
Fig. 3 is a block diagram of a processing system for communicating a diagnostic log according to embodiment 3 of the present invention.
Fig. 4 is a block diagram of a processing system for communicating a diagnostic log according to embodiment 4 of the present invention.
Fig. 5 is a schematic structural diagram of an electronic device according to embodiment 5 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
As shown in fig. 1, a method for processing a communication diagnosis log according to this embodiment includes:
step 101, presetting a capturing rule table of a communication diagnosis log, wherein capturing rules corresponding to different scene types of a communication system are stored in the capturing rule table;
in this embodiment, the communication diagnostic logs under different scene types are different in demand, some scene types require more communication diagnostic logs, and some scene types require less communication diagnostic logs.
In this embodiment, the scenario type includes at least one of standby, SIM card specific test, audio call, video call, internet access, file transfer protocol download (that is, FTP download), long term evolution voice bearer data concurrence (that is, volume + data concurrence), and power consumption test service (for example, the functional test service is a sleep scenario). It should be noted that the standby includes power-on and self-registration; the audio call may be a voice (long term evolution voice over bearer) audio call service, and the video call may be a voice video call service.
102, acquiring the current scene type of a communication system;
in this embodiment, a plurality of scene types are predefined, and in an external field test or an operator test, the predefined scene types are used for the test, and flexible multiple selection of the scene types is also supported. The present embodiment may determine the current scene type of the communication system from predefined scene types.
Specifically, a log operation interface of a terminal device (e.g., a mobile phone) is provided with a plurality of different scene types, for example, the log operation interface of the terminal device is provided with a plurality of different scene types such as standby, SIM card special test, audio call, video call, internet access, file transfer protocol download, long term evolution voice bearer data concurrency, power consumption test service, and the like, when the scene type required to be used by the communication system is determined, the scene type required to be used by the communication system is clicked on the log operation interface of the terminal device, and the system can obtain the current scene type of the communication system. Illustratively, when a user clicks the scene type of the "special test for the SIM card" on the log operation interface of the terminal device, the current scene type of the communication system acquired by the system is the "special test for the SIM card".
It should be noted that, in a case where a scene type that the communication system needs to use cannot be determined or is unknown, the acquired current scene type of the communication system is a default scene type.
And 103, grabbing a target communication diagnosis log corresponding to the current scene type based on the grabbing rule table.
According to the method and the device, the current scene type of the communication system is obtained by presetting the capturing rule table in which the communication diagnosis logs of the capturing rules corresponding to different scene types of the communication system are stored, and the target communication diagnosis logs corresponding to the current scene type are captured based on the capturing rule table, so that the required communication diagnosis logs can be accurately captured, the communication diagnosis logs are prevented from being lost, and the storage space of the communication diagnosis logs is saved.
Example 2
The processing method of the communication diagnosis log of the embodiment is a further improvement of the embodiment 1, and specifically comprises the following steps:
step 101 comprises:
and presetting the log levels of the communication diagnosis logs acquired under different scene types.
In this embodiment, the communication system automatically configures the log level of the corresponding communication diagnostic log in different scene types.
In this embodiment, the log level of the communication diagnostic log is set according to an actual situation, and the log level of the communication diagnostic log is usually set to 4 levels, or may be set to other number of levels, which is not specifically limited herein.
For example, the log level of the communication diagnostic log is set to 4 levels, and the 4 levels are respectively:
level (Level existing in some case) 0: obvious errors, such as memory allocation failure/Timer creation failure/pre-Assert parameter printing, etc.;
level 1: debug (computer troubleshooting) important information printing;
level 2: debugging general information by a Debug;
level 3: debug details.
In an implementation scenario, step 101 further includes:
and presetting the log function of the communication diagnosis logs acquired under different scene types.
In this embodiment, the communication system automatically configures the log function of the corresponding communication diagnostic log in different scene types.
In this embodiment, the log function of the communication diagnosis log is classified according to the actual situation, for example, the log function may be classified into the following types:
NR MAC Configuration (NR-MAC Configuration); NR MAC DL Transport Block (NR-MAC-DL Transport Block); NR MAC UL Transport Block (NR-MAC-UL Transport Block); NR PLMN Search Request (NR PLMN Search Request); NR PLMN Search Response; NR RRC Paging UE (NR RRC EU Paging); NR RRC OTA Message (NR RRC OTA Message); NR RRC MIB Message (NR RRC MIB Message).
In an implementation scenario, step 101 further includes:
and presetting the stored SIM card type and/or the module type of the communication diagnosis log acquired under different scene types.
In this embodiment, the communication system automatically configures the stored SIM card type and/or the module type of the corresponding communication diagnostic log in different scene types.
It should be noted that the number of levels of each module may be different, some modules may be divided into 4 log levels, some modules may be divided into 2 log levels, and each module may be divided into a plurality of log functions, and compared with the log level, the module may be divided into a plurality of log functions.
It should be noted that the communication diagnostic log of a single SIM card may be captured, or the communication diagnostic logs of multiple SIM cards may be captured (for example, the communication diagnostic log of the SIM1 card may be captured only, the communication diagnostic log of the SIM2 card may be captured only, and the communication diagnostic logs of the SIM1 and the SIM2 card may be captured only). When the communication diagnosis log is captured, the communication diagnosis log is captured in a plurality of combination modes of sub-module type, sub-log function type, sub-log level, sub-scene type and sub-stored SIM card type, so that the output of redundant communication diagnosis logs is greatly reduced, the pressure of communication diagnosis log channels is reduced, and the communication diagnosis log is prevented from being lost.
In one implementation, step 102 includes:
and acquiring the current scene type of the communication system according to the activity track information of the user and/or the test case of the operator.
In the embodiment, the current scene type of the communication system can be obtained according to daily activity tracks of a user for making a call, sending a short message, sending a WeChat and the like; or when the operator performs the test, the current scene type of the communication system may also be obtained according to the test case of the operator or the test specification of the operator.
In an implementation scenario, as shown in fig. 2, the processing method further includes:
step 104, storing a target communication diagnosis log;
in the embodiment, when it is determined that the target communication diagnosis log corresponding to the current scene type needs to be fetched based on the fetch rule table, storing the output target communication diagnosis log, wherein the specific storage mode of the target communication diagnosis log is internal storage space of the terminal equipment (such as EMMC (embedded multimedia card) and the like), SIM card or PC (personal computer), the target diagnosis log can be stored in the internal storage space of the terminal device, the SIM card or the PC, and specifically, which storage method is selected according to the actual situation, it should be noted that, when the target communication diagnosis log is stored specifically, if the internal storage space of the terminal device (such as a mobile phone) is insufficient, the target communication diagnosis log is transferred into the SIM card or the PC.
And 105, analyzing the acquired target communication diagnosis log.
In this embodiment, the target communication diagnostic log is obtained from the internal storage space of the terminal device or the SIM card or the PC, and the obtained target communication diagnostic log is analyzed, so as to accurately locate the problem occurring in the communication system, thereby quickly solving the problem occurring in the communication system and improving the efficiency of processing the problem in the communication system.
The embodiment integrates the sub-module type/sub-log functional type/sub-log level/sub-scene type/sub-saved SIM card type together to form a plurality of combination modes, and the combination modes are not coupled with each other.
Example 3
As shown in fig. 3, the processing system for communication diagnostic logs includes a presetting module 1, an obtaining module 2, and a capturing module 3;
the system comprises a presetting module 1, a communication diagnosis module and a communication diagnosis module, wherein the presetting module is used for presetting a capturing rule table of a communication diagnosis log, and capturing rules corresponding to different scene types of a communication system are stored in the capturing rule table;
in this embodiment, the communication diagnostic logs under different scene types are different in demand, some scene types require more communication diagnostic logs, and some scene types require less communication diagnostic logs.
In this embodiment, the scenario type includes at least one of standby, SIM card specific test, audio call, video call, internet access, file transfer protocol download (that is, FTP download), long term evolution voice bearer data concurrence (that is, volume + data concurrence), and power consumption test service (for example, the functional test service is a sleep scenario). It should be noted that the standby includes power-on and self-registration; the audio call may be a voice audio call service and the video call may be a voice video call service.
The obtaining module 2 is used for obtaining the current scene type of the communication system;
in this embodiment, a plurality of scene types are predefined, and in an external field test or an operator test, the predefined scene types are used for the test, and flexible multiple selection of the scene types is also supported. The present embodiment may determine the current scene type of the communication system from predefined scene types.
Specifically, a log operation interface of a terminal device (e.g., a mobile phone) is provided with a plurality of different scene types, for example, the log operation interface of the terminal device is provided with a plurality of different scene types such as standby, SIM card special test, audio call, video call, internet access, file transfer protocol download, long term evolution voice bearer data concurrency, power consumption test service, and the like, when the scene type required to be used by the communication system is determined, the scene type required to be used by the communication system is clicked on the log operation interface of the terminal device, and the system can obtain the current scene type of the communication system. Illustratively, when a user clicks the scene type of the "special test for the SIM card" on the log operation interface of the terminal device, the current scene type of the communication system acquired by the system is the "special test for the SIM card".
It should be noted that, in a case where a scene type that the communication system needs to use cannot be determined or is unknown, the acquired current scene type of the communication system is a default scene type.
And the grabbing module 3 is used for grabbing the target communication diagnosis log corresponding to the current scene type based on the grabbing rule table.
According to the method and the device, the current scene type of the communication system is obtained by presetting the capturing rule table in which the communication diagnosis logs of the capturing rules corresponding to different scene types of the communication system are stored, and the target communication diagnosis logs corresponding to the current scene type are captured based on the capturing rule table, so that the required communication diagnosis logs can be accurately captured, the communication diagnosis logs are prevented from being lost, and the storage space of the communication diagnosis logs is saved.
Example 4
As shown in fig. 4, the processing system of the communication diagnostic log of the present embodiment is a further improvement of embodiment 3, specifically: the preset module 1 comprises a first preset unit 11;
the first presetting unit 11 is configured to preset log levels of communication diagnostic logs acquired under different scene types.
In this embodiment, the communication system automatically configures the log level of the corresponding communication diagnostic log in different scene types.
In this embodiment, the log level of the communication diagnostic log is set according to an actual situation, and the log level of the communication diagnostic log is usually set to 4 levels, or may be set to other number of levels, which is not specifically limited herein.
For example, the log level of the communication diagnostic log is set to 4 levels, and the 4 levels are respectively:
level 0: obvious errors, such as memory allocation failure/Timer creation failure/pre-Assert parameter printing, etc.;
level 1: printing important Debug debugging information;
level 2: debugging general information by a Debug;
level 3: debug details.
In an implementation scenario, as shown in fig. 4, the default module 1 further includes a second default unit 12;
and the second preset unit 12 is configured to preset a log function of the communication diagnosis log acquired under different scene types.
In this embodiment, the communication system automatically configures the log function of the corresponding communication diagnostic log in different scene types.
In this embodiment, the log function of the communication diagnosis log is classified according to the actual situation, for example, the log function may be classified into the following types:
NR MAC Configuration (NR-MAC Configuration); NR MAC DL Transport Block (NR-MAC-DL Transport Block); NR MAC UL Transport Block (NR-MAC-UL Transport Block); NR PLMN Search Request (NR PLMN Search Request); NR PLMN Search Response; NR RRC Paging UE (NR RRC EU Paging); NR RRC OTA Message (NR RRC OTA Message); NR RRC MIB Message (NR RRC MIB Message).
In an implementation scheme, as shown in fig. 4, the default module 1 further includes a third default unit 13;
and a third presetting unit 13, configured to preset the stored SIM card type and/or the module type of the communication diagnostic log obtained in different scene types.
In this embodiment, the communication system automatically configures the stored SIM card type and/or the module type of the corresponding communication diagnostic log in different scene types.
It should be noted that the number of levels of each module may be different, some modules may be divided into 4 log levels, some modules may be divided into 2 log levels, and each module may be divided into a plurality of log functions, and compared with the log level, the module may be divided into a plurality of log functions.
It should be noted that the communication diagnostic log of a single SIM card may be captured, or the communication diagnostic logs of multiple SIM cards may be captured (for example, the communication diagnostic log of the SIM1 card may be captured only, the communication diagnostic log of the SIM2 card may be captured only, and the communication diagnostic logs of the SIM1 and the SIM2 card may be captured only). When the communication diagnosis log is captured, the communication diagnosis log is captured in a plurality of combination modes of sub-module type, sub-log function type, sub-log level, sub-scene type and sub-stored SIM card type, so that the output of redundant communication diagnosis logs is greatly reduced, the pressure of communication diagnosis log channels is reduced, and the communication diagnosis log is prevented from being lost.
In an implementable scheme, the obtaining module 2 is specifically configured to obtain the current scene type of the communication system according to the activity track information of the user and/or the test case of the operator.
In the embodiment, the current scene type of the communication system can be obtained according to daily activity tracks of a user for making a call, sending a short message, sending a WeChat and the like; or when the operator performs the test, the current scene type of the communication system may also be obtained according to the test case of the operator or the test specification of the operator.
In an implementable version, as shown in fig. 4, the processing system further comprises a storage module 4 and an analysis module 5;
the storage module 4 is used for storing a target communication diagnosis log;
in this embodiment, when it is determined that a target communication diagnostic log corresponding to a current scene type needs to be captured based on a capture rule table, the output target communication diagnostic log is stored, where a specific storage manner of the target communication diagnostic log includes an internal storage space (e.g., EMMC, etc.) of a terminal device, a SIM card, or a PC, that is, the target communication diagnostic log may be stored in the internal storage space of the terminal device, the target communication diagnostic log may also be stored in the SIM card, and the target communication diagnostic log may also be stored in the PC.
And the analysis module 5 is used for analyzing the acquired target communication diagnosis log.
In this embodiment, the target communication diagnostic log is obtained from the internal storage space of the terminal device or the SIM card or the PC, and the obtained target communication diagnostic log is analyzed, so as to accurately locate the problem occurring in the communication system, thereby quickly solving the problem occurring in the communication system and improving the efficiency of processing the problem in the communication system.
The embodiment integrates the sub-module type/sub-log functional type/sub-log level/sub-scene type/sub-saved SIM card type together to form a plurality of combination modes, and the combination modes are not coupled with each other.
Example 5
Fig. 5 is a schematic structural diagram of an electronic device according to embodiment 5 of the present invention. The electronic device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, and the processor executes the program to implement the processing method of the communication diagnosis log in any one of the embodiments 1 or 2. The electronic device 30 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 5, the electronic device 30 may be embodied in the form of a general purpose computing device, which may be, for example, a server device. The components of the electronic device 30 may include, but are not limited to: the at least one processor 31, the at least one memory 32, and a bus 33 connecting the various system components (including the memory 32 and the processor 31).
The bus 33 includes a data bus, an address bus, and a control bus.
The memory 32 may include volatile memory, such as Random Access Memory (RAM)321 and/or cache memory 322, and may further include Read Only Memory (ROM) 323.
Memory 32 may also include a program/utility 325 having a set (at least one) of program modules 324, such program modules 324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 31 executes various functional applications and data processing, such as a processing method of a communication diagnostic log in any one of embodiments 1 or 2 of the present invention, by executing the computer program stored in the memory 32.
The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). Such communication may be through input/output (I/O) interfaces 35. Also, model-generating device 30 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via network adapter 36. As shown in FIG. 5, network adapter 36 communicates with the other modules of model-generating device 30 via bus 33. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the model-generating device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
In addition, the electronic device may also be implemented in the form of an electronic chip, on which a memory, processor-related electronic components, and an operating program stored on the memory and executable on the processor are provided.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 6
The present embodiment provides a computer-readable storage medium on which a computer program is stored, the program implementing a processing method of a communication diagnostic log in any one of embodiments 1 or 2 when executed by a processor.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the present invention can also be implemented in the form of a program product including program code for causing a terminal device to execute a processing method for implementing the communication diagnosis log in any one of embodiments 1 or 2 when the program product is run on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may execute entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. A method for processing a communication diagnostic log, the method comprising:
presetting a capturing rule table of a communication diagnosis log, wherein capturing rules corresponding to different scene types of a communication system are stored in the capturing rule table;
acquiring the current scene type of the communication system;
and grabbing a target communication diagnosis log corresponding to the current scene type based on the grabbing rule table.
2. The method for processing communication diagnostic logs according to claim 1, wherein the step of presetting the capturing rule table of the communication diagnostic logs comprises the following steps:
and presetting the log level of the communication diagnosis log obtained under the different scene types.
3. The method for processing communication diagnostic logs according to claim 1, wherein the step of presetting the capturing rule table of the communication diagnostic logs further comprises:
and presetting the log function of the communication diagnosis log obtained under the different scene types.
4. The method for processing communication diagnostic logs according to claim 1, wherein the step of presetting the capturing rule table of the communication diagnostic logs further comprises:
and presetting the stored SIM card type and/or the module type of the communication diagnosis log acquired under different scene types.
5. The method of claim 1, wherein the step of obtaining a current context type of the communication system comprises:
and acquiring the current scene type of the communication system according to the activity track information of the user and/or the test case of the operator.
6. The method of claim 1, wherein the scene type comprises at least one of standby, SIM card specific testing, audio call, video call, internet access, file transfer protocol download, long term evolution voice bearer data concurrency, and power consumption testing services.
7. The method for processing communication diagnosis logs according to claim 1, wherein after the step of grabbing the target communication diagnosis log corresponding to the current scene type based on the grabbing rule table, the method further comprises:
storing the target communication diagnostic log.
8. The method of processing a communication diagnostic log of claim 7, wherein after the step of storing the target communication diagnostic log, the method further comprises:
and analyzing the obtained target communication diagnosis log.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of processing a communication diagnostic log of any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method for processing a communication diagnostic log according to any one of claims 1 to 8.
CN202111165977.5A 2021-09-30 2021-09-30 Processing method and device of communication diagnosis log and readable storage medium Pending CN113993149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111165977.5A CN113993149A (en) 2021-09-30 2021-09-30 Processing method and device of communication diagnosis log and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111165977.5A CN113993149A (en) 2021-09-30 2021-09-30 Processing method and device of communication diagnosis log and readable storage medium

Publications (1)

Publication Number Publication Date
CN113993149A true CN113993149A (en) 2022-01-28

Family

ID=79737506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111165977.5A Pending CN113993149A (en) 2021-09-30 2021-09-30 Processing method and device of communication diagnosis log and readable storage medium

Country Status (1)

Country Link
CN (1) CN113993149A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115951660A (en) * 2023-02-28 2023-04-11 中国第一汽车股份有限公司 Vehicle diagnosis method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038231A (en) * 2017-12-26 2018-05-15 广东欧珀移动通信有限公司 log processing method, device, terminal device and storage medium
CN108170585A (en) * 2017-12-26 2018-06-15 广东欧珀移动通信有限公司 log processing method, device, terminal device and storage medium
CN109325734A (en) * 2018-09-05 2019-02-12 江苏鸿信系统集成有限公司 A kind of finance robot system
CN109726186A (en) * 2018-12-29 2019-05-07 咪咕文化科技有限公司 A kind of method and device of retrieval error log, computer readable storage medium
CN113392297A (en) * 2020-03-12 2021-09-14 上海云盾信息技术有限公司 Method, system and equipment for crawling data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038231A (en) * 2017-12-26 2018-05-15 广东欧珀移动通信有限公司 log processing method, device, terminal device and storage medium
CN108170585A (en) * 2017-12-26 2018-06-15 广东欧珀移动通信有限公司 log processing method, device, terminal device and storage medium
CN109325734A (en) * 2018-09-05 2019-02-12 江苏鸿信系统集成有限公司 A kind of finance robot system
CN109726186A (en) * 2018-12-29 2019-05-07 咪咕文化科技有限公司 A kind of method and device of retrieval error log, computer readable storage medium
CN113392297A (en) * 2020-03-12 2021-09-14 上海云盾信息技术有限公司 Method, system and equipment for crawling data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115951660A (en) * 2023-02-28 2023-04-11 中国第一汽车股份有限公司 Vehicle diagnosis method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN113505014B (en) Fault diagnosis file acquisition method and device
US20090204667A1 (en) User-Initiated Computer Support Using Out-Of-Band Network
CN104333890A (en) Signal transmission control method, device and electronic equipment
CN111400127B (en) Service log monitoring method and device, storage medium and computer equipment
CN114077525A (en) Abnormal log processing method and device, terminal equipment, cloud server and system
US8806277B1 (en) Systems and methods for fetching troubleshooting data
CN112506755B (en) Log acquisition method, device, computer equipment and storage medium
CN108924043A (en) System monitoring method, gateway communication, gateway apparatus, service processing equipment
CN114363144B (en) Fault information association reporting method and related equipment for distributed system
CN111698343A (en) PXE equipment positioning method and device
CN110784879A (en) Network mode switching test method, system, equipment and medium of communication module
CN111625383A (en) Process abnormal event processing method and device, electronic equipment and storage medium
CN109802842B (en) Application topology generation method and related equipment
CN113993149A (en) Processing method and device of communication diagnosis log and readable storage medium
CN115543746A (en) Graphics processor monitoring method, system and device and electronic equipment
CN105446853A (en) Application management method and terminal
CN110543398A (en) method and system for recording fault information
CN113190399A (en) Log storage method and device, computer equipment and storage medium
CN111278047B (en) Method, system, electronic device and medium for processing CSI of non-serving cell
CN115348191B (en) Internet of things terminal data acquisition method and device in wireless VPDN (virtual private digital network)
CN111376255B (en) Robot data acquisition method and device and terminal equipment
CN109901950A (en) A kind of method and device for evading application crash
CN115543759A (en) Log lookup method and device for operating system, electronic device and storage medium
CN115599311A (en) Polarity inversion method and apparatus, storage medium, and electronic apparatus
CN112835766A (en) Application monitoring method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination