[go: up one dir, main page]

CN114422330B - Communication adaptation repairing method, device, system and storage medium - Google Patents

Communication adaptation repairing method, device, system and storage medium Download PDF

Info

Publication number
CN114422330B
CN114422330B CN202111641323.5A CN202111641323A CN114422330B CN 114422330 B CN114422330 B CN 114422330B CN 202111641323 A CN202111641323 A CN 202111641323A CN 114422330 B CN114422330 B CN 114422330B
Authority
CN
China
Prior art keywords
adaptation
communication module
log
terminal
repair
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
CN202111641323.5A
Other languages
Chinese (zh)
Other versions
CN114422330A (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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202111641323.5A priority Critical patent/CN114422330B/en
Publication of CN114422330A publication Critical patent/CN114422330A/en
Priority to PCT/CN2022/099709 priority patent/WO2023123901A1/en
Application granted granted Critical
Publication of CN114422330B publication Critical patent/CN114422330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/0654Management of faults, events, alarms or notifications using network fault recovery
    • 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/14Network analysis or design
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Telephonic Communication Services (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The application relates to a communication adaptation repairing method, a device, a system and a storage medium. The communication adaptation repair method comprises the following steps: checking whether the terminal side configuration and the communication module side configuration are normal; if the checking result is that the configuration of the terminal side is normal and the configuration of the communication module side is normal, acquiring a log related to the adaptation between the terminal system and the communication module under the target directory; analyzing the log to determine whether an adaptation problem occurs between the terminal system and the communication module; if the determined result is that the adaptation problem occurs between the terminal system and the communication module, obtaining a problem analysis result based on the adaptation problem; judging whether the adaptation problem can be repaired according to the problem analysis result; and if the judgment result is that the adaptation problem can be repaired, repairing the adaptation problem. The application solves the problems that the existing log analysis needs manual analysis and consumes a great amount of time, shortens the adaptation time of the terminal equipment and the communication module, and effectively improves the efficiency of processing the adaptation problem between the terminal system and the communication module.

Description

Communication adaptation repairing method, device, system and storage medium
Technical Field
The present application relates to the field of computer research and development technologies, and in particular, to a communication adaptation repair method, device, system, and storage medium.
Background
AT present, android equipment adopts a hardware architecture of AT+CP, an AP runs an Android system and related applications, and the CP is mainly responsible for mobile communication. When an Android device manufacturer uses a mobile communication module provided by the manufacturer to perform adaptation, the Android device manufacturer is generally required to capture relevant logs and provide the logs to the module manufacturer for analysis when the problems are analyzed. In the log analysis, a developer is mostly required to manually perform the log analysis. While log grabbing of Android equipment manufacturers can be performed, the problems of log incomparance or log incomplete grabbing and the like exist, manual analysis is needed for log analysis, and a large amount of time is consumed.
In the implementation process, the inventor finds that at least the following problems exist in the conventional technology: the existing repairing method for the adaptation problem between the terminal system and the communication module is low in efficiency.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a log analysis method, device, system, and storage medium for solving the above-mentioned problems.
A method of communication adaptation repair, comprising:
checking whether the terminal side configuration and the communication module side configuration are normal; if the checking result is that the configuration of the terminal side is normal and the configuration of the communication module side is normal, acquiring a log related to the adaptation between the terminal system and the communication module under the target directory;
analyzing the log to determine whether an adaptation problem occurs between the terminal system and the communication module; if the determined result is that the adaptation problem occurs between the terminal system and the communication module, obtaining a problem analysis result based on the adaptation problem;
judging whether the adaptation problem can be repaired according to the problem analysis result; and if the judgment result is that the adaptation problem can be repaired, repairing the adaptation problem.
In one embodiment, before the step of checking whether the terminal side configuration and the communication module side configuration are normal, the method further includes:
Checking whether the network is normal;
If the verification result is that the network is normal, the local known problem database is updated according to the known problems stored in the known problem database on the server, and the local known problem repair database is updated according to the known problem repair method stored in the known problem repair database on the server.
In one embodiment, the log is analyzed to determine whether an adaptation problem occurs between the terminal system and the communication module; if the determined result is that an adaptation problem occurs between the terminal system and the communication module, obtaining a problem analysis result based on the adaptation problem, including:
inquiring whether a known problem stored in a local known problem database exists in the log based on the log; if the query result is that the known problems stored in the local known problem database exist in the log, determining that an adaptation problem occurs between the terminal system and the communication module;
Judging whether the adaptation problem can be repaired according to the problem analysis result; if the judging result is that the adaptation problem can be repaired, repairing the adaptation problem, including:
according to the problem analysis result, searching whether a known problem restoration method for solving the adaptation problem exists in a local known problem restoration database; if the search result is that a known problem repair method for solving the adaptation problem exists in the local known problem repair database, the adaptation problem can be repaired.
In one embodiment, the step of checking whether the terminal side configuration and the communication module side configuration are normal includes:
And respectively checking whether the service and the process required by the terminal system are normally started, whether the RIL dialing mode of the terminal system and the system security attribute of the terminal system are normal, and checking whether the communication module is normally enumerated and whether the driving of the communication module is normally loaded.
In one embodiment, the method further comprises:
if the result is that the adaptation problem does not occur between the terminal system and the communication module, cleaning the log;
if the judgment result is that the adaptation problem can not be repaired, the problem analysis result and the log are reserved for manual analysis and repair.
In one embodiment, before the step of checking whether the terminal side configuration and the communication module side configuration are normal, the method further includes:
under the condition that a terminal system is started, capturing logs;
and compressing the log, and storing the compressed log in a target directory.
A communications adaptation repair apparatus comprising:
the checking module is used for checking whether the terminal side configuration and the communication module side configuration are normal or not; if the checking result is that the configuration of the terminal side is normal and the configuration of the communication module side is normal, acquiring a log related to the adaptation between the terminal system and the communication module under the target directory;
The analysis module is used for analyzing the log and determining whether an adaptation problem occurs between the terminal system and the communication module; if the determined result is that the adaptation problem occurs between the terminal system and the communication module, obtaining a problem analysis result based on the adaptation problem;
The repair module is used for judging whether the adaptation problem can be repaired according to the problem analysis result; and if the judgment result is that the adaptation problem can be repaired, repairing the adaptation problem.
A terminal for performing the steps of the method described above.
A communication adaptation repair system comprises a communication module, a server and the terminal;
the communication module is respectively connected with the terminal and the server.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described above.
One of the above technical solutions has at least the following advantages and beneficial effects:
according to the method, whether the configuration of the terminal side and the configuration of the communication module side are normal or not is checked, and under the condition that the detection result is that the configuration of the terminal side and the configuration of the communication module side are normal, logs related to adaptation between a terminal system and the communication module under a target directory are obtained; whether the adaptation problem occurs between the terminal system and the communication module is determined by analyzing the log, a problem analysis result is generated based on the adaptation problem under the condition that the adaptation problem occurs between the terminal system and the communication module is determined, whether the adaptation problem can be repaired is judged according to the problem analysis result, and the adaptation problem is repaired under the condition that the adaptation problem can be repaired. Therefore, the application can automatically and completely grasp the logs generated under the condition that the terminal system and the communication module are adapted, automatically analyze whether the adaptation problem occurs, automatically repair the conventional error, avoid the problems that the grasped logs are not right or the grasped logs are not complete when the logs are manually grasped in the prior art, solve the problems that the prior log analysis needs manual analysis and consumes a great amount of time, shorten the adaptation time of the terminal equipment and the communication module, and effectively improve the efficiency of analyzing and repairing the adaptation problem between the terminal system and the communication module.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments or the conventional techniques of the present application, the drawings required for the descriptions of the embodiments or the conventional techniques will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
FIG. 1 is an application environment diagram of a communication adaptation repair method in one embodiment;
FIG. 2 is a first flow diagram of a communication adaptation repair method in one embodiment;
FIG. 3 is a second flow diagram of a communication adaptation repair method in one embodiment;
FIG. 4 is a third flow diagram of a communication adaptation repair method in one embodiment;
FIG. 5 is a flow chart of a communication adaptation repair method in one embodiment;
FIG. 6 is a block diagram of a communication adaptation repair device in one embodiment;
FIG. 7 is an internal block diagram of a terminal in one embodiment;
fig. 8 is a block diagram of a communication adaptation repair system in one embodiment.
Detailed Description
In order that the application may be readily understood, a more complete description of the application will be rendered by reference to the appended drawings. Embodiments of the application are illustrated in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or be connected to the other element through intervening elements. Further, "connection" in the following embodiments should be understood as "electrical connection", "communication connection", and the like if there is transmission of electrical signals or data between objects to be connected.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," and/or the like, specify the presence of stated features, integers, steps, operations, elements, components, or groups thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof.
The communication adaptation restoration method provided by the embodiment of the application can be applied to an application environment shown in figure 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, a communication adaptation repair method is provided, which may include:
Step 202, checking whether the terminal side configuration and the communication module side configuration are normal; if the checking result is that the configuration of the terminal side is normal and the configuration of the communication module side is normal, acquiring a log related to the adaptation between the terminal system and the communication module under the target directory;
the terminal system may be an Android system.
Specifically, the terminal device needs to adapt to the communication module to obtain normal communication service; when the terminal equipment is matched with the communication module, the matching problem is often encountered, the matching problem needs to be timely processed and repaired under the condition that the matching problem occurs, and otherwise, the normal communication of the terminal equipment is affected to a certain extent.
By checking whether the relevant configuration of the terminal side is normal or not and checking whether the relevant configuration of the communication module side is normal or not, under the condition that the relevant configuration of the terminal side and the relevant configuration of the communication module side are normal, logs log relevant to adaptation between a terminal system and the communication module under a target directory (specific directory) are acquired, and therefore accuracy and integrity of subsequent analysis of the logs and repair of adaptation problems are guaranteed.
In one embodiment, as shown in fig. 3, before the step 202 of checking whether the terminal side configuration and the communication module side configuration are normal, the method may further include:
Step 302, under the condition that a terminal system is started, capturing logs;
And 304, compressing the log, and storing the compressed log in a target directory.
Specifically, under the condition that the terminal system is started, related logs are generated when the terminal system and the communication module are matched, so that a developer automatically grabs the logs required by the adaptation of the terminal and the communication module for analysis, and the grabbed logs are compressed and stored under a specific directory of the terminal system according to a certain size; because long-time log grabbing is needed for some occasional problems, the space of the terminal equipment is insufficient to store huge log logs, so that resources can be saved, the space of the terminal can be saved, and the processing efficiency can be improved by automatically grabbing the needed log and compressing the grabbed log into a target directory.
In one embodiment, as shown in fig. 4, before the step 202 of checking whether the terminal side configuration and the communication module side configuration are normal, the method may further include:
Step 402, checking whether the network is normal;
If the network is normal as a result of the checking, step 404, the local known problem database is updated according to the known problems stored in the known problem database on the server, and the local known problem repair database is updated according to the known problem repair method stored in the known problem repair database on the server.
Specifically, under the condition that the terminal system is started and grabs the needed log and stores the log in the target directory after compression, whether the network is normal or not is detected, when the detection result is that the network is normal, the known problem stored in the known problem database on the download server is used for updating the local known problem database, and the known problem restoration method stored in the known problem restoration database on the download server is used for updating the local known problem restoration database, so that the problem and the restoration method stored in the local known problem database and the local known problem restoration database are ensured to be maintained in the latest state, and a foundation is laid for initially and accurately and timely detecting the adaptation problem between the terminal system and the communication module.
In one embodiment, the step 202 of checking whether the terminal side configuration and the communication module side configuration are normal may include:
And respectively checking whether the service and the process required by the terminal system are normally started, whether the RIL (Radio INTERFACE LAYER) dialing mode of the terminal system and the system security attribute of the terminal system are normal, and checking whether the communication module is normally enumerated and whether the drive of the communication module is normally loaded.
Specifically, after the terminal starts to grab the required log and stores the log in the target directory, checking the configuration of the terminal side, for example, checking whether the service and the process required by the normal communication of the terminal system are started normally, checking the RIL dialing mode, checking whether the security attribute of the terminal system is normal, and the like; meanwhile, whether the configuration of the side of the communication module is normal or not is checked, for example, whether the communication module is normally enumerated or not is checked, whether the driver is normally loaded or not is checked, and the like, so that under the condition that the terminal equipment and the communication module are normal, the follow-up analysis and the follow-up repair of the grabbed required logs are ensured, and the influence of other factors on the follow-up log analysis and the accuracy of the problem repair are reduced.
Step 204, analyzing the log to determine whether an adaptation problem occurs between the terminal system and the communication module; if the determined result is that the adaptation problem occurs between the terminal system and the communication module, obtaining a problem analysis result based on the adaptation problem;
specifically, under the condition that the configuration of the terminal side and the configuration of the communication module side are checked and the configuration of the terminal side and the configuration of the communication module side are both normal, acquiring a log which is stored under a target object and is related to the adaptation between the terminal system and the communication module; the log may further include a crash log (crash log) generated by a terminal system process crash; by analyzing the grabbed logs, whether an adaptation problem occurs between the terminal system and the communication module is determined, if the adaptation problem occurs between the terminal system and the communication module, a problem analysis result is obtained based on the positioned adaptation problem, a problem analysis report can be generated according to the problem analysis result, a later developer can check the problem analysis report conveniently, and therefore the communication module is further optimized.
In one embodiment, the log is analyzed to determine whether an adaptation problem occurs between the terminal system and the communication module; if the determination result is that an adaptation problem occurs between the terminal system and the communication module, step 204 of obtaining a problem analysis result based on the adaptation problem may include:
inquiring whether a known problem stored in a local known problem database exists in the log based on the log; if the query result is that the known problems stored in the local known problem database exist in the log, determining that an adaptation problem occurs between the terminal system and the communication module;
specifically, based on the log related to the adaptation between the terminal system and the communication module acquired from the target directory, and the known problems held in the local known problem database of the terminal device; according to the known problems stored in the local known problem database, inquiring whether the known problems stored in the local known problem database exist in the log, if the known problems stored in the local known problem database exist in the log, determining that an adaptation problem exists between the terminal system and the communication module, and accordingly obtaining a problem analysis result based on the found known problems; if the network connection is normal, the latest known problem is updated in the local known problem database, so that whether the known problem exists or not can be more accurately searched; if the network connection is abnormal, the log can be searched through the known problems stored in the local known problem database, so that the adaptation problem between the terminal system and the communication module can be accurately positioned.
In one example, the communication adaptation repair method may further automatically grab the crash log generated by the communication module in real time when the communication module crashes, and search the crash log generated by the communication module based on the known problem in the local known problem database, to find whether the known problem exists in the crash log generated by the communication module.
In one embodiment, the communication adaptation repair method may further include:
And if the result is that the adaptation problem does not occur between the terminal system and the communication module, cleaning the log.
Specifically, if the known problems stored in the local known problem database are not queried in the log, the fact that the adaptation problem does not occur between the terminal system and the communication module is determined, so that the problem-free log is cleaned, the storage space of the terminal is released, the problem that log is needed to be grabbed for a long time for some occasional problems, the space of the terminal equipment is insufficient to store huge log is solved, and timely grabbing of the log is ensured.
Step 206, judging whether the adaptive problem can be repaired according to the problem analysis result; and if the judgment result is that the adaptation problem can be repaired, repairing the adaptation problem.
Specifically, under the condition that a problem analysis result is obtained, whether the positioned adaptation problem can be repaired is judged according to the problem analysis result, if the detected adaptation problem can be repaired, the adaptation problem is automatically repaired, so that the initial analysis and the processing of the adaptation problem between the positioned terminal and the communication module are carried out, the labor investment of a developer of the communication module is saved, the adaptation time of a terminal system and the communication module is shortened, the problem repair efficiency is improved, and the normal communication of the terminal is ensured. After the adaptation problem is repaired, a problem repair report can be generated, so that a developer can further optimize the adaptation between the terminal and the communication module, the processing efficiency is further improved, and the accuracy of problem repair is guaranteed.
In one embodiment, whether the adaptive problem can be repaired is judged according to the problem analysis result; if the determination result is that the adaptation problem can be repaired, step 206 of repairing the adaptation problem may include:
according to the problem analysis result, searching whether a known problem restoration method for solving the adaptation problem exists in a local known problem restoration database; if the search result is that a known problem repair method for solving the adaptation problem exists in the local known problem repair database, the adaptation problem can be repaired.
Specifically, under the condition that an adaptation problem is detected between a terminal and a communication module and a problem analysis result is obtained, searching whether a corresponding problem repairing method for solving the adaptation problem exists or not from a local known problem repairing database, if the known problem repairing method for solving the adaptation problem is confirmed, confirming that the judgment result is that the adaptation problem can be repaired, repairing the adaptation problem through the searched known problem repairing method, and generating a problem repairing report for a developer to check.
In one embodiment, the communication adaptation repair method may further include:
if the judgment result is that the adaptation problem can not be repaired, the problem analysis result and the log are reserved for manual analysis and repair.
Specifically, if a repair method for solving the adaptation problem is not found in the local known problem repair database, confirming that the judgment result is that the adaptation problem cannot be repaired, so that the log is reserved, and a problem analysis result or a problem analysis report is obtained, and waiting for a research and development personnel to manually analyze and process the log and the problem analysis result; in addition, under the condition that the judgment result is that the adaptation problem cannot be repaired, the adaptation problem can be uploaded to a known problem database of the server in real time; after the research personnel analyze and solve the unrepairable adaptation problem, the terminal can upload the repair method for solving the adaptation problem to the known problem repair database on the server, so that the server updates the newly discovered adaptation problem and the corresponding repair method, the terminal is convenient to update the local known problem database and the local known problem repair database when the terminal is started next time or other terminals are started, the adaptation problem is further more accurately searched and repaired, the adaptation time of the terminal and the communication module is greatly shortened, and the efficiency of repairing and processing the adaptation problem is greatly improved.
In a specific embodiment, the communication adaptation repair method may also be as shown in fig. 5.
The method and the system have the advantages that under the condition that the configuration of the terminal side and the configuration of the communication module side are confirmed to be normal, the logs related to the adaptation between the terminal system and the communication module under the target directory are obtained, and whether the known problems in the local known problem database exist in the logs or not is searched through analysis of the logs, so that whether the adaptation problem occurs between the terminal system and the communication module is judged; under the condition that the adaptation problem occurs between the terminal system and the communication module is confirmed, obtaining a problem analysis result based on the searched adaptation problem, searching whether a repairing method for solving the adaptation problem exists in a local known problem repairing database according to the problem analysis result, repairing the adaptation problem according to the repairing method if the corresponding repairing method is found, and outputting a problem repairing report; if the corresponding repairing method is not found, the log and the problem analysis result/problem analysis report are reserved for manual analysis and repairing by the personnel to be researched and developed. The application can automatically collect the complete log required by the developer, and repair the conventional errors, so that the problem that the developer cannot analyze due to the fact that the operation is not done or the log is not captured in practice in the conventional manual operation is avoided.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a communication adaptation repair device for realizing the communication adaptation repair method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the communication adaptation repair device or devices provided below may be referred to the limitation of the communication adaptation repair method hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 6, a communication adaptation repair apparatus is provided, which may include:
A checking module 110 for checking whether the terminal side configuration and the communication module side configuration are normal; if the checking result is that the configuration of the terminal side is normal and the configuration of the communication module side is normal, acquiring a log related to the adaptation between the terminal system and the communication module under the target directory;
an analysis module 120, configured to analyze the log and determine whether an adaptation problem occurs between the terminal system and the communication module; if the determined result is that the adaptation problem occurs between the terminal system and the communication module, obtaining a problem analysis result based on the adaptation problem;
the repairing module 130 is configured to determine whether the adaptive problem can be repaired according to the problem analysis result; and if the judgment result is that the adaptation problem can be repaired, repairing the adaptation problem.
In one embodiment, the communication adaptation repair apparatus may further include:
the checking module is used for checking whether the network is normal or not;
And the updating module is used for updating the local known problem database according to the known problems stored in the known problem database on the server and updating the local known problem repair database according to the known problem repair method stored in the known problem repair database on the server if the checking result is that the network is normal.
In one embodiment, the analysis module 120 is further configured to query the log for the presence of a known problem stored in the local known problem database based on the log; if the query result is that the known problems stored in the local known problem database exist in the log, determining that an adaptation problem occurs between the terminal system and the communication module;
Based on the result of the problem analysis, the repair module 130 is further configured to search for whether a known problem repair method for solving the adaptation problem exists in the local known problem repair database according to the result of the problem analysis; if the search result is that a known problem repair method for solving the adaptation problem exists in the local known problem repair database, the adaptation problem can be repaired.
In one embodiment, the checking module 110 is further configured to check whether the service and the process required by the terminal system are started normally, whether the RIL dialing mode of the terminal system and the system security attribute of the terminal system are normal, and whether the communication module enumerates normally and whether the driver of the communication module loads normally, respectively.
In one embodiment, the communication adaptation repair apparatus may further include:
the cleaning module is used for cleaning the log if the determined result is that the adaptation problem does not occur between the terminal system and the communication module;
And the storage module is used for keeping the problem analysis result and the log if the judgment result is that the adaptation problem cannot be repaired, so as to be manually analyzed and repaired.
In one embodiment, the communication adaptation repair apparatus may further include:
the log grabbing module is used for grabbing logs under the condition that the terminal system is started;
The log compression module is used for compressing the log and storing the compressed log in the target directory.
The various modules in the communication adaptation repair device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
In one embodiment, a terminal is provided, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a communication adaptation repair method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, as shown in fig. 8, a communication adaptation repair system is provided, including a communication module, a server, and the terminal described above;
the communication module is respectively connected with the terminal and the server.
Specifically, under the condition of accessing the terminal, the communication module downloads the known problems and the known problem repairing method from the known problem database of the server after the terminal is started, and updates the local known problem database and the known problem repairing database; when the terminal detects the self-repairing adapting problem, uploading the self-repairing adapting problem to a known problem database of the server; when receiving an adaptation problem sent by a terminal, a server updates a database of known problems of the server; after the adaptation problem which cannot be automatically repaired by the terminal is manually repaired by a research and development personnel, the terminal also uploads a corresponding repairing method to the server, and the server updates a known problem repairing database of the server after receiving the known problem repairing method sent by the terminal, so that the terminal can repair the adaptation problem of the communication module more timely and accurately, the processing efficiency is effectively improved, and the labor cost is saved.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
The user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magneto-resistive random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
In the description of the present specification, reference to the terms "some embodiments," "other embodiments," "desired embodiments," and the like, means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic descriptions of the above terms do not necessarily refer to the same embodiment or example.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A method for communication adaptation repair, comprising:
Checking whether the network is normal;
If the network is normal as a result of the verification, updating a local known problem database according to the known problems stored in the known problem database on the server, and updating a local known problem repair database according to the known problem repair method stored in the known problem repair database on the server;
Checking whether the terminal side configuration and the communication module side configuration are normal; if the checking result is that the configuration of the terminal side is normal and the configuration of the communication module side is normal, acquiring a log related to the adaptation between the terminal system and the communication module under the target directory;
Based on the log, querying whether a known problem stored in the local known problem database exists in the log; if the query result is that the known problems stored in the local known problem database exist in the log, determining that an adaptation problem exists between the terminal system and the communication module; if the determined result is that the adaptation problem occurs between the terminal system and the communication module, obtaining a problem analysis result based on the adaptation problem;
judging whether the adaptation problem can be repaired according to the problem analysis result; and if the judging result is that the adaptation problem can be repaired, repairing the adaptation problem.
2. The communication adaptation repair method according to claim 1, wherein,
Judging whether the adaptation problem can be repaired according to the problem analysis result; if the judging result is that the adaptation problem can be repaired, repairing the adaptation problem, including:
searching whether a known problem restoration method for solving the adaptation problem exists in the local known problem restoration database according to the problem analysis result; and if the search result is that a known problem repair method for solving the adaptation problem exists in the local known problem repair database, confirming that the adaptation problem can be repaired.
3. The communication adaptation repair method according to claim 1, wherein the step of checking whether the terminal-side configuration and the communication module-side configuration are normal comprises:
And respectively checking whether the service and the process required by the terminal system are normally started, whether the RIL dialing mode of the terminal system and the system security attribute of the terminal system are normal, and checking whether the communication module is normally enumerated and whether the drive of the communication module is normally loaded.
4. The communication adaptation repair method of claim 1, further comprising:
if the determined result is that no adaptation problem exists between the terminal system and the communication module, cleaning the log;
if the judgment result is that the adaptation problem can not be repaired, the problem analysis result and the log are reserved for manual analysis and repair.
5. The communication adaptation repair method according to claim 1, wherein before the step of checking whether the terminal-side configuration and the communication module-side configuration are normal, further comprising:
Under the condition that the terminal system is started, capturing the log;
and compressing the log, and storing the compressed log under the target directory.
6. A communications adaptation repair device, comprising:
the checking module is used for checking whether the network is normal or not;
The updating module is used for updating the local known problem database according to the known problems stored in the known problem database on the server and updating the local known problem repair database according to the known problem repair method stored in the known problem repair database on the server if the checking result is that the network is normal;
The checking module is used for checking whether the terminal side configuration and the communication module side configuration are normal or not; if the checking result is that the configuration of the terminal side is normal and the configuration of the communication module side is normal, acquiring a log related to the adaptation between the terminal system and the communication module under the target directory;
The analysis module is used for inquiring whether the known problems stored in the local known problem database exist in the log or not based on the log; if the query result is that the known problems stored in the local known problem database exist in the log, determining that an adaptation problem exists between the terminal system and the communication module; if the determined result is that the adaptation problem occurs between the terminal system and the communication module, obtaining a problem analysis result based on the adaptation problem;
the repairing module is used for judging whether the adaptation problem can be repaired according to the problem analysis result; and if the judging result is that the adaptation problem can be repaired, repairing the adaptation problem.
7. The communications adaptation repair device of claim 6, wherein,
The repair module is also used for searching whether a known problem repair method for solving the adaptation problem exists in a local known problem repair database according to the problem analysis result; if the search result is that a known problem repair method for solving the adaptation problem exists in the local known problem repair database, the adaptation problem can be repaired.
8. A terminal comprising a processor and a memory, the memory comprising a non-volatile storage medium storing an operating system and a computer program which, when executed by the processor, implements the steps of the method of any one of claims 1 to 5.
9. A communication adaptation repair system comprising a communication module, a server and the terminal of claim 8;
The communication module is respectively connected with the terminal and the server.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 5.
CN202111641323.5A 2021-12-29 2021-12-29 Communication adaptation repairing method, device, system and storage medium Active CN114422330B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111641323.5A CN114422330B (en) 2021-12-29 2021-12-29 Communication adaptation repairing method, device, system and storage medium
PCT/CN2022/099709 WO2023123901A1 (en) 2021-12-29 2022-06-20 Communication adaptation repair method, apparatus and system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111641323.5A CN114422330B (en) 2021-12-29 2021-12-29 Communication adaptation repairing method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN114422330A CN114422330A (en) 2022-04-29
CN114422330B true CN114422330B (en) 2024-08-30

Family

ID=81268926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111641323.5A Active CN114422330B (en) 2021-12-29 2021-12-29 Communication adaptation repairing method, device, system and storage medium

Country Status (2)

Country Link
CN (1) CN114422330B (en)
WO (1) WO2023123901A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422330B (en) * 2021-12-29 2024-08-30 深圳市广和通无线股份有限公司 Communication adaptation repairing method, device, system and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111130934A (en) * 2019-12-20 2020-05-08 国铁吉讯科技有限公司 Monitoring method, device and system of communication system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070054662A1 (en) * 2004-09-30 2007-03-08 Siemens Aktiengesellschaft Wittelsbacherplatz 2 Reconfigurable radio system with error recognition and treatment
US7669085B2 (en) * 2005-04-15 2010-02-23 Microsoft Corporation Method and apparatus for performing wireless diagnostics and troubleshooting
CN102045181B (en) * 2009-10-10 2013-08-07 中国移动通信集团公司 Method and device for handling terminal offline fault
CN109086153A (en) * 2018-07-24 2018-12-25 郑州云海信息技术有限公司 A kind of restorative procedure and its relevant apparatus of storage device failure
CN114422330B (en) * 2021-12-29 2024-08-30 深圳市广和通无线股份有限公司 Communication adaptation repairing method, device, system and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111130934A (en) * 2019-12-20 2020-05-08 国铁吉讯科技有限公司 Monitoring method, device and system of communication system

Also Published As

Publication number Publication date
WO2023123901A1 (en) 2023-07-06
CN114422330A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
US7743292B2 (en) Apparatus and method for memory card testing
CN108650287B (en) Upgrading method and device for terminal device in Internet of things and computer readable medium
CN113495903B (en) Power time series database caching method, system, device and readable storage medium
CN108255735B (en) Associated environment testing method, electronic device and computer readable storage medium
CN114356631A (en) Fault positioning method and device, computer equipment and storage medium
CN111240897A (en) Data processing method and related equipment
CN109558331B (en) Application program defect detection method, device, equipment and storage medium
CN114422330B (en) Communication adaptation repairing method, device, system and storage medium
CN118660312B (en) Automatic test method and device suitable for wireless test of data link system
CN115495296A (en) Intelligent testing method and device for equipment, computer equipment and storage medium
CN118445096B (en) Fault handling method and fault handling system
CN109376073B (en) Test environment memory and recovery method
CN111158947A (en) Method for making pre-copy file, server and readable storage medium
CN116881135A (en) Integrated test parameter feedback method and system based on packet connection
CN110737593B (en) Intelligent capacity management method, device and storage medium
CN115987971A (en) Program file downloading method, device and electronic equipment for control unit of automobile
CN115269360A (en) Application memory testing method and device and readable storage medium
CN114218191A (en) System function migration method and device, computer equipment and storage medium
CN113918381B (en) Parameter backup method, device, equipment and storage medium
CN110750511A (en) Operation history restoration method and device, computer equipment and storage medium
CN111225075A (en) Configuration method and device for Internet of things directional access service
US20250104054A1 (en) Blockchain-based method for saving research data
CN112988498B (en) Abnormal detection method, device, computer equipment and storage medium based on power consumption
CN119946086A (en) Vehicle data collection method, device, computer equipment and storage medium
CN114428729A (en) File system testing method, system, device and medium for wireless communication module

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