CN114422330A - 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
CN114422330A
CN114422330A CN202111641323.5A CN202111641323A CN114422330A CN 114422330 A CN114422330 A CN 114422330A CN 202111641323 A CN202111641323 A CN 202111641323A CN 114422330 A CN114422330 A CN 114422330A
Authority
CN
China
Prior art keywords
adaptation
communication module
terminal
log
side configuration
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.)
Granted
Application number
CN202111641323.5A
Other languages
Chinese (zh)
Other versions
CN114422330B (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

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/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 repairing 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 terminal side configuration is normal and the communication module side configuration 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 the 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 or not according to the problem analysis result; and if the judgment result is that the adaptation problem can be repaired, repairing the adaptation problem. The method and the device solve the problems that the existing log analysis needs manual analysis and consumes a large amount of time, shorten the adaptation time of the terminal equipment and the communication module, and effectively improve 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 method, an apparatus, a system, and a storage medium for communication adaptation repair.
Background
AT present, an Android device adopts an AT + CP hardware architecture, an AP runs an Android system and related applications, and a CP is mainly responsible for mobile communication. Android equipment manufacturers often encounter problems when using mobile communication modules provided by manufacturers to carry out adaptation, and generally require the Android equipment manufacturers to capture relevant logs and provide the logs for the module manufacturers to carry out analysis when analyzing the problems. Most of the log analysis requires the research personnel to manually carry out the log analysis. And Android equipment manufacturers can have the problems that the captured logs are not aligned or the captured logs are not complete when capturing the logs, and the log analysis needs manual analysis and consumes a large amount of time.
In the implementation process, the inventor finds that at least the following problems exist in the conventional technology: the existing repairing method aiming at the adaptation problem between the terminal system and the communication module has lower efficiency.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a log analysis method, device, system and storage medium.
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 terminal side configuration is normal and the communication module side configuration 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 the 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 or not 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;
and if the network is normal, 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.
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 the adaptation problem occurs between the terminal system and the communication module, obtaining a problem analysis result based on the adaptation problem, wherein the step comprises the following steps of:
based on the log, inquiring whether the log has known problems stored in a local known problem database; if the query result is that the log has known problems stored in a local known problem database, determining that the adaptation problem occurs between the terminal system and the communication module;
judging whether the adaptation problem can be repaired or not according to the problem analysis result; if the judgment result is that the adaptation problem can be repaired, the step of repairing the adaptation problem comprises the following steps:
according to the problem analysis result, whether a known problem repairing method for solving the adaptation problem exists is searched from a local known problem repairing database; and if the search result is that the known problem repairing method for solving the adaptation problem exists in the local known problem repairing 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:
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 whether the communication module is normally enumerated and whether the drive of the communication module is normally loaded are respectively checked.
In one embodiment, the method further comprises the following steps:
if the determined result is that no adaptation problem occurs between the terminal system and the communication module, cleaning the log;
if the judgment result is that the adaptation problem cannot 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:
capturing logs under the condition that a terminal system is started;
and compressing the log, and storing the compressed log in a target directory.
A communication 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 terminal side configuration is normal and the communication module side configuration 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 the 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 is used for judging whether the adaptive problem can be repaired or not 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 above method.
A communication adaptation repairing 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, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
One of the above technical solutions has at least the following advantages and beneficial effects:
the method comprises the steps of checking whether the terminal side configuration and the communication module side configuration are normal or not, and acquiring a log related to adaptation between a terminal system and a communication module under a target directory under the condition that the detection result is that the terminal side configuration and the communication module side configuration are both normal; whether the adaptation problem occurs between the terminal system and the communication module is determined through analyzing the log, under the condition that the adaptation problem occurs between the terminal system and the communication module, a problem analysis result is generated based on the adaptation problem, whether the adaptation problem can be repaired is judged according to the problem analysis result, and under the condition that the adaptation problem can be repaired, the adaptation problem is repaired. Therefore, the method and the device can automatically and completely grab the logs generated under the condition that the terminal system and the communication module are matched, automatically analyze whether the matching problem occurs or not, automatically repair the conventional errors, avoid the problems that the grabbed logs are not matched or the grabbed logs are not complete when the logs are grabbed manually at present, solve the problems that the existing log analysis needs manual analysis and consumes a large amount of time, shorten the matching time of the terminal device and the communication module, and effectively improve the efficiency of analyzing and repairing the matching problem between the terminal system and the communication module.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional technologies of the present application, the drawings used in the descriptions of the embodiments or the conventional technologies will be briefly introduced below, it is obvious that the drawings in the following descriptions are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an application environment of a communication adaptation repair method in one embodiment;
FIG. 2 is a first flowchart of a communication adaptation repair method according to an embodiment;
FIG. 3 is a diagram illustrating a second process of a communication adaptation repair method according to an embodiment;
fig. 4 is a third flowchart of a communication adaptation repair method in an embodiment;
FIG. 5 is a flow diagram of a communication adaptation repair method in a specific embodiment;
FIG. 6 is a block diagram of a communication adaptation repair apparatus 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 and repair system in one embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Embodiments of the present application are set forth 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 present 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 is understood to mean "electrical connection", "communication connection", or the like, if there is a transfer of electrical signals or data between the connected objects.
As used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises/comprising," "includes" or "including," etc., specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof.
The communication adaptation repairing method provided by the embodiment of the application can be applied to the application environment shown in fig. 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 the 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, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The server 104 may be implemented as a stand-alone server or as a server cluster comprised 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 terminal side configuration is normal and the communication module side configuration is normal, acquiring a log related to the adaptation between the terminal system and the communication module under the target directory;
the terminal system can be an Android system.
Specifically, the terminal device needs to be adapted to the communication module to obtain a normal communication service; adaptation problems often occur when terminal equipment is adapted with a communication module, the adaptation problems need to be processed and repaired in time under the condition of the adaptation problems, and otherwise, normal communication of the terminal equipment can be influenced to a certain extent.
By checking whether the terminal side related configuration is normal or not and checking whether the communication module side related configuration is normal or not, under the condition that the terminal side configuration and the communication module side related configuration are both normal, the log related to the adaptation between the terminal system and the communication module under the target directory (specific directory) is obtained, and therefore the accuracy and the integrity of the subsequent log analysis and the adaptation problem repair 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, capturing logs under the condition that a terminal system is started;
and step 304, compressing the log, and storing the compressed log under a target directory.
Specifically, under the condition that the terminal system is started, a related log is generated when the terminal system is matched with the communication module, so that the log required by a developer for analyzing the matching of the terminal and the communication module is automatically captured, and the captured log is compressed and stored in a specific directory of the terminal system according to a certain size; because some occasional problems need to be captured for a long time, the terminal equipment is insufficient in space to store huge log logs, and therefore resources can be saved, terminal space can be saved, and processing efficiency can be improved by automatically capturing required logs and compressing the captured logs 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;
and step 404, if the network is normal, 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 methods stored in the known problem repair database on the server.
Specifically, whether the network is normal or not is detected under the condition that a terminal system is started, required logs are captured, compressed and stored in a target directory, when the detection result is that the network is normal, the local known problem database is updated by downloading known problems stored in the known problem database on the server, and the local known problem recovery database is updated by downloading known problem recovery methods stored in the known problem recovery database on the server, so that the problems stored in the local known problem database and the local known problem recovery database and the recovery methods are maintained in the latest state, and a foundation is laid for 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:
whether the service and the process required by the terminal system are started normally, whether the RIL (Radio Interface Layer) dialing mode of the terminal system and the system security attribute of the terminal system are normal, and whether the communication module is enumerated normally and the drive of the communication module is loaded normally are respectively checked.
Specifically, after the terminal starts to capture a required log and stores the log in a target log, the terminal side configuration is respectively checked, for example, whether the service and the process required by normal communication of the terminal system are normally started or not is checked, the RIL dialing mode is checked, whether the security attribute of the terminal system is normal or not is checked, and the like; meanwhile, whether the configuration of the communication module side is normal or not can be checked, for example, whether the communication module is enumerated normally or not, whether the driver is loaded normally or not and the like are checked, so that under the condition that the terminal equipment and the communication module are both normal, the fact that the required log which is captured can be analyzed and repaired more accurately and more perfectly is guaranteed, and the influence of other factors on the accuracy of subsequent log analysis and problem repair is reduced.
Step 204, analyzing the log, and determining whether the 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 terminal side configuration and the communication module side configuration are checked and the terminal side configuration and the communication module side configuration are both normal, a log related to adaptation between a terminal system and a communication module, which is stored under a target directory, is acquired; wherein, the log may also include a crash log (crash log) generated by the terminal system process crash; whether the adaptation problem occurs between the terminal system and the communication module is determined by analyzing the captured logs, if the adaptation problem occurs between the terminal system and the communication module, a problem analysis result is obtained based on the located adaptation problem, a problem analysis report can be generated according to the problem analysis result, and a developer in the later stage can check the problem analysis report conveniently, so that 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, the step 204 of obtaining a problem analysis result based on the adaptation problem may include:
based on the log, inquiring whether the log has known problems stored in a local known problem database; if the query result is that the log has known problems stored in a local known problem database, determining that the adaptation problem occurs between the terminal system and the communication module;
specifically, the method comprises the steps of acquiring logs related to adaptation between a terminal system and a communication module from a target directory and known problems stored in a local known problem database of the terminal equipment; according to known problems stored in a local known problem database, inquiring whether known problems stored in the local known problem database exist in the log or not, and if the known problems in the local known problem database exist in the log, determining that an adaptation problem occurs between the terminal system and the communication module, so that a problem analysis result is obtained based on the found known problems; if the network connection is normal, the latest known problems are updated in the local known problem database, so that whether the known problems exist can be searched more accurately; 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 repairing method may further automatically capture a 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 problems in the local known problem database to find whether there is a known problem in the crash log generated by the communication module.
In one embodiment, the communication adaptation repair method may further include:
and if the determined result is that no adaptation problem occurs 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 inquired in the log, it is determined that no adaptation problem occurs between the terminal system and the communication module, so that the problem-free log is cleaned, the storage space of the terminal is released, the problems that the log needs to be captured for a long time for some occasional problems, and the space of the terminal equipment is not enough to store a huge log are solved, and the log can be captured in time.
Step 206, 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.
Specifically, under the condition of obtaining a problem analysis result, whether the located adaptation problem can be repaired is judged according to the problem analysis result, if the detected adaptation problem can be repaired, the detected adaptation problem is automatically repaired aiming at the adaptation problem, so that the adaptation problem occurring between the located terminal and the communication module is preliminarily analyzed and processed, the labor input of communication module developers 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 adaptive problem is repaired, a problem repair report can be generated, so that developers can further optimize the adaptation between the terminal and the communication module, the processing efficiency is further improved, and the problem repair accuracy is guaranteed.
In one embodiment, whether the adaptation problem can be repaired is judged according to the problem analysis result; if the determination result is that the adaptation problem can be repaired, the step 206 of repairing the adaptation problem may include:
according to the problem analysis result, whether a known problem repairing method for solving the adaptation problem exists is searched from a local known problem repairing database; and if the search result is that the known problem repairing method for solving the adaptation problem exists in the local known problem repairing database, the adaptation problem can be repaired.
Specifically, under the condition that the adaptation problem is detected to occur between the terminal and the communication module and the problem analysis result is obtained, whether a repairing method corresponding to the adaptation problem exists is searched from a local known problem repairing database, if the known problem repairing method solving the adaptation problem is confirmed to be searched, the adaptation problem is confirmed to be repaired according to the judgment result, the adaptation problem is repaired through the searched known problem repairing method, and a problem repairing report is generated so that a developer can check the problem.
In one embodiment, the communication adaptation repair method may further include:
if the judgment result is that the adaptation problem cannot be repaired, the problem analysis result and the log are reserved for manual analysis and repair.
Specifically, if a repair method corresponding to the adaptation problem is not found in the local known problem repair database, the judgment result is determined as 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, so that research personnel are waited to manually analyze and process the log and the problem analysis result; in addition, under the condition that the adaptation problem cannot be repaired according to the judgment result, the adaptation problem can be uploaded to a known problem database of the server in real time; moreover, after the research and development personnel analyze and solve the adaptation problems which cannot be repaired, the terminal can upload the repair method for solving the adaptation problems to the known problem repair database on the server, so that the server updates the newly found adaptation problems and the corresponding repair method, the local known problem database and the local known problem repair database are conveniently updated when the terminal is started next time or other terminals are started, the adaptation problems are searched and repaired more accurately, the adaptation time of the terminal and a communication module is greatly shortened, and the efficiency of repairing and processing the adaptation problems is greatly improved.
In a specific embodiment, the communication adaptation repair method can also be as shown in fig. 5.
In the above, by confirming that the terminal side configuration and the communication module side configuration are normal, the method obtains the log related to the adaptation between the terminal system and the communication module under the target directory, and searches whether the log has the known problem in the local known problem database by analyzing the log, so as to judge whether the adaptation problem occurs between the terminal system and the communication module; under the condition that the adaptation problem is confirmed to occur between the terminal system and the communication module, obtaining a problem analysis result based on the searched adaptation problem, searching whether a repair method for solving the adaptation problem exists in a local known problem repair database or not according to the problem analysis result, if the corresponding repair method is searched, repairing the adaptation problem according to the repair method, and outputting a problem repair report; if the corresponding repairing method is not found, the log and the problem analysis result/problem analysis report are reserved so as to wait for the research and development personnel to perform manual analysis and repair. This application can the required complete log of automatic collection developer, repair conventional mistake simultaneously, the unable analysis problem's of developer condition because of the operation is not ripe or log snatchs actually not right and lead to when having avoided current manual operation, and, this application can carry out preliminary analysis and processing to the adaptation problem, shorten the adaptation time of Android system and module, effectively improve the prosthetic efficiency of problem, practice thrift module developer's human input, the normal communication at terminal has been guaranteed.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a communication adaptation repairing apparatus for implementing the communication adaptation repairing method. The implementation scheme for solving the problem provided by the apparatus is similar to the implementation scheme described in the above method, so specific limitations in one or more embodiments of the communication adaptive repair apparatus provided below may refer to the limitations in the above communication adaptive repair method, and details are not described here.
In one embodiment, as shown in fig. 6, there is provided a communication adaptation repair apparatus, which may include:
a checking module 110, configured to check whether the terminal side configuration and the communication module side configuration are normal; if the checking result is that the terminal side configuration is normal and the communication module side configuration 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;
a repairing module 130, configured to determine 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, the communication adaptation repair apparatus may further include:
the checking module is used for checking whether the network is normal;
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 network is normal.
In one embodiment, the analysis module 120 is further configured to query the log for known problems stored in the local database of known problems based on the log; if the query result is that the log has known problems stored in a local known problem database, determining that the adaptation problem occurs between the terminal system and the communication module;
according to the problem analysis result, the repairing module 130 is further configured to search, according to the problem analysis result, from a local known problem repairing database, whether a known problem repairing method for solving the adaptation problem exists; and if the search result is that the known problem repairing method for solving the adaptation problem exists in the local known problem repairing database, the adaptation problem can be repaired.
In one embodiment, the checking module 110 is further configured to check whether the services and processes 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 whether the communication module is normally enumerated and the driver of the communication module is normally loaded, respectively.
In one embodiment, the communication adaptation repair apparatus may further include:
the clearing module is used for clearing the log if the determined result is that the terminal system and the communication module are not adaptive;
and the storage module is used for keeping the problem analysis result and the log to be analyzed and repaired manually if the judgment result is that the adaptation problem cannot be repaired.
In one embodiment, the communication adaptation repair apparatus may further include:
the log capturing module is used for capturing logs under the condition that the terminal system is started;
and the log compression module is used for compressing the log and storing the compressed log under a target log.
The modules in the communication adaptation and repair device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In one embodiment, a terminal is provided, an 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 comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication 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, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, as shown in fig. 8, a communication adaptation and repair system is provided, which includes a communication module, a server, and the above-mentioned terminal;
the communication module is respectively connected with the terminal and the server.
Specifically, under the condition that the communication module is accessed to the terminal, after the terminal is started, the communication module downloads the known problems and the known problem repairing method from the known problem database of the server side, and updates the local known problem database and the known problem repairing database; when the terminal detects the adaptation problem which can not be automatically repaired, the terminal uploads the adaptation problem which can not be automatically repaired to a known problem database of the server; when the server receives the adaptation problem sent by the terminal, updating a database of known problems of the server; after the adaptation problems which cannot be automatically repaired by the terminal are manually repaired by research and development personnel, the terminal uploads the corresponding repairing method to the server, and the server updates the 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 problems of the communication module more timely and accurately, the processing efficiency is effectively improved, and the labor cost is saved.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the 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), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
In the description herein, references to the description of "some embodiments," "other embodiments," "desired embodiments," etc., mean 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, a schematic description of the above terminology may not necessarily refer to the same embodiment or example.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for 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 terminal side configuration is normal and the communication module side configuration is normal, acquiring a log related to the adaptation between the terminal system and the communication module under a 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 or not according to the problem analysis result; and if the judgment result is that the adaptation problem can be repaired, repairing the adaptation problem.
2. 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, the method further comprises:
checking whether the network is normal;
and if the network is normal, 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.
3. The communication adaptation restoration method according to claim 2, wherein the log is analyzed to determine whether an adaptation problem occurs between the terminal system and the communication module; if the result of the determination is that the adaptation problem occurs between the terminal system and the communication module, obtaining a problem analysis result based on the adaptation problem, including:
querying whether the log has known problems stored in the local known problem database or not based on the log; if the query result is that the log has known problems stored in the local known problem database, determining that an adaptation problem occurs between the terminal system and the communication module;
judging whether the adaptation problem can be repaired or not according to the problem analysis result; if the judgment result is that the adaptation problem can be repaired, the step of repairing the adaptation problem comprises the following steps:
according to the problem analysis result, whether a known problem repairing method for solving the adaptation problem exists or not is searched from the local known problem repairing database; and if the search result indicates that the known problem repairing method for solving the adaptation problem exists in the local known problem repairing database, the adaptation problem can be repaired.
4. 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.
5. The communication adaptation repair method according to claim 1, further comprising:
if the determined result is that no adaptation problem occurs between the terminal system and the communication module, cleaning the log;
if the judgment result is that the adaptation problem cannot be repaired, the problem analysis result and the log are reserved for manual analysis and repair.
6. 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, the method further comprises:
capturing the log under the condition that the terminal system is started;
and compressing the log, and storing the compressed log in the target directory.
7. A communication 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 terminal side configuration is normal and the communication module side configuration is normal, acquiring a log related to the adaptation between the terminal system and the communication module under a target directory;
the analysis module is used for analyzing the log and determining whether the terminal system and the communication module have adaptation problems or not; 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 adaptive problem can be repaired or not according to the problem analysis result; and if the judgment result is that the adaptation problem can be repaired, repairing the adaptation problem.
8. A terminal, characterized by being adapted to perform the steps of the method of any of claims 1 to 6.
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, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
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 true CN114422330A (en) 2022-04-29
CN114422330B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023123901A1 (en) * 2021-12-29 2023-07-06 深圳市广和通无线股份有限公司 Communication adaptation repair method, apparatus and system, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086153A (en) * 2018-07-24 2018-12-25 郑州云海信息技术有限公司 A kind of restorative procedure and its relevant apparatus of storage device failure
CN111130934A (en) * 2019-12-20 2020-05-08 国铁吉讯科技有限公司 Monitoring method, device and system of communication system

Family Cites Families (4)

* 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
CN114422330B (en) * 2021-12-29 2024-08-30 深圳市广和通无线股份有限公司 Communication adaptation repairing method, device, system and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086153A (en) * 2018-07-24 2018-12-25 郑州云海信息技术有限公司 A kind of restorative procedure and its relevant apparatus of storage device failure
CN111130934A (en) * 2019-12-20 2020-05-08 国铁吉讯科技有限公司 Monitoring method, device and system of communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023123901A1 (en) * 2021-12-29 2023-07-06 深圳市广和通无线股份有限公司 Communication adaptation repair method, apparatus and system, and storage medium

Also Published As

Publication number Publication date
CN114422330B (en) 2024-08-30
WO2023123901A1 (en) 2023-07-06

Similar Documents

Publication Publication Date Title
CN109240886B (en) Exception handling method, exception handling device, computer equipment and storage medium
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
CN107644075B (en) Method and device for collecting page information
CN110688305B (en) Test environment synchronization method, device, medium and electronic equipment
CN114356631A (en) Fault positioning method and device, computer equipment and storage medium
CN109558331B (en) Application program defect detection method, device, equipment and storage medium
CN114422330A (en) Communication adaptation repairing method, device, system and storage medium
CN112148337A (en) Firmware upgrading method and device
CN118427277A (en) Data processing method and device and related equipment
WO2020024201A1 (en) Patching program checking method, and terminal device and computer-readable storage medium
CN109522174B (en) Method, device, terminal and storage medium for controlling adb enabling
CN115454827B (en) Compatibility detection method, system, equipment and medium
CN116303072A (en) Full-link performance test method and device
CN112817620B (en) Controller terminal program updating method, device, computer equipment and storage medium
CN113505076A (en) File coverage detection method and device
CN114677049A (en) Detection equipment process detection method and device and computer equipment
CN115080417A (en) Test case automatic generation method, electronic equipment and storage medium
CN110737593B (en) Intelligent capacity management method, device and storage medium
CN105512232A (en) Data storage method and device
US20200257662A1 (en) Junk Feature Acquisition Method, Apparatus, Server and Readable Storage Medium
CN110784479B (en) Data verification method and device, electronic equipment and storage medium
CN114690988B (en) Test method and device and electronic equipment
CN107566469B (en) User information uploading method and device and computer readable storage medium
CN118585215A (en) Information updating method, device, network equipment and storage medium

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