Communication adaptation repair method, device, system and storage medium

By automatically checking and analyzing the configuration of the terminal system and communication module, and using the known problem database for log analysis and repair, the problem of low efficiency in repairing adaptation problems and time-consuming manual analysis in the existing technology is solved, and efficient adaptation is achieved. Comes with restoration.

CN114422330BActive Publication Date: 2024-08-30FIBOCOM WIRELESS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111641323.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2024-08-30
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

Existing methods for repairing adaptation problems between terminal systems and communication modules are inefficient and require manual analysis of logs, which consumes a lot of time.

Method used

Provide a communication adaptation repair method, including checking whether the terminal side and communication module side configurations are normal, obtaining relevant logs, analyzing the logs to determine adaptation problems, judging and repairing based on the problem analysis results, and using the known problem database to automatically update and repair.

Benefits of technology

It realizes automatic capture and analysis of logs, automatically repairs routine errors, avoids the problem of incomplete or incorrect logs, shortens the adaptation time, and improves efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114422330B
    Figure CN114422330B
Patent Text Reader

Abstract

The present application relates to a communication adaptation repair method, device, system and storage medium. The communication adaptation repair method includes: checking whether the terminal side configuration and the communication module side configuration are normal; if the check result is that the terminal side configuration is normal and the communication module side configuration is normal, then obtaining the log related to the adaptation between the terminal system and the communication module under the target directory; analyzing the log to determine whether there is an adaptation problem between the terminal system and the communication module; if the determination result is that there is an adaptation problem between the terminal system and the communication module, then based on the adaptation problem, obtaining the problem analysis result; according to the problem analysis result, judging whether the adaptation problem can be repaired; if the judgment result is that the adaptation problem can be repaired, then repairing the adaptation problem. The present application solves the problem that the existing log analysis requires manual analysis and consumes a lot of time, shortens the adaptation time of the terminal device and the communication module, and effectively improves the efficiency of handling the adaptation problem between the terminal system and the communication module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer research and development technology, and in particular to a communication adaptation repair method, device, system and storage medium. Background Art

[0002] Currently, Android devices use the AT+CP hardware architecture. The AP runs the Android system and related applications, and the CP is mainly responsible for mobile communications. Android device manufacturers often encounter problems when using the mobile communication modules provided by the manufacturer for adaptation. When analyzing the problems, they generally require Android device manufacturers to capture relevant logs and provide them to the module manufacturers for analysis. When analyzing logs, most of the time, R&D personnel are required to manually analyze the logs. However, when Android device manufacturers capture logs, there will be problems such as incorrect or incomplete captured logs, and log analysis requires manual analysis, which takes a lot of time.

[0003] During the implementation process, the inventors found that there are at least the following problems in the conventional technology: the existing repair methods for the adaptation problem between the terminal system and the communication module are inefficient. Summary of the invention

[0004] Based on this, it is necessary to provide a log analysis method, device, system and storage medium to address the above technical problems.

[0005] A communication adaptation repair method, comprising:

[0006] Check whether the terminal side configuration and the communication module side configuration are normal; if the check result shows that the terminal side configuration and the communication module side configuration are normal, obtain the logs related to the adaptation between the terminal system and the communication module in the target directory;

[0007] Analyze the log to determine whether there is an adaptation problem between the terminal system and the communication module; if the result of the determination is that there is an adaptation problem between the terminal system and the communication module, obtain a problem analysis result based on the adaptation problem;

[0008] Based on the problem analysis results, determine whether the adaptation problem can be repaired; if the judgment result is that the adaptation problem can be repaired, then repair the adaptation problem.

[0009] In one embodiment, before the step of checking whether the terminal side configuration and the communication module side configuration are normal, the step further includes:

[0010] Check whether the network is normal;

[0011] If the inspection result shows 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 methods stored in the known problem repair database on the server.

[0012] 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 of obtaining a problem analysis result based on the adaptation problem includes:

[0013] Based on the log, query whether there is a known problem stored in the local known problem database in the log; if the query result is that there is a known problem stored in the local known problem database in the log, it is determined that an adaptation problem occurs between the terminal system and the communication module;

[0014] According to the problem analysis result, it is determined whether the adaptation problem can be repaired; if the result of the determination is that the adaptation problem can be repaired, the steps for repairing the adaptation problem include:

[0015] According to the problem analysis result, a search is performed from the local known problem repair database to determine whether there is a known problem repair method for solving the adaptation problem; if the search result shows that there is a known problem repair method for solving the adaptation problem in the local known problem repair database, it is confirmed that the adaptation problem can be repaired.

[0016] In one of the embodiments, the step of checking whether the terminal side configuration and the communication module side configuration are normal includes:

[0017] Check whether the services and processes required by the terminal system are started normally, whether the RIL dial-up mode of the terminal system and the system security attributes of the terminal system are normal, and whether the communication module is enumerated normally and whether the driver of the communication module is loaded normally.

[0018] In one embodiment, it also includes:

[0019] If the result is that there is no adaptation problem between the terminal system and the communication module, the log is cleared;

[0020] If the judgment result is that the adaptation problem cannot be repaired, the problem analysis results and logs will be retained for manual analysis and repair.

[0021] In one embodiment, before the step of checking whether the terminal side configuration and the communication module side configuration are normal, the step further includes:

[0022] When the terminal system is started, capture the log;

[0023] Compress the logs and store them in the target directory.

[0024] A communication adapter repair device, comprising:

[0025] The checking module is used 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 and the communication module side configuration are normal, then obtain the logs related to the adaptation between the terminal system and the communication module in the target directory;

[0026] An analysis module is used to analyze the logs to determine whether there is an adaptation problem between the terminal system and the communication module; if the result of the determination is that there is an adaptation problem between the terminal system and the communication module, a problem analysis result is obtained based on the adaptation problem;

[0027] The repair module is used to determine whether the adaptation problem can be repaired based on the problem analysis result; if the judgment result is that the adaptation problem can be repaired, the adaptation problem is repaired.

[0028] A terminal is used to execute the steps of the above method.

[0029] A communication adaptation and repair system, comprising a communication module, a server and the above-mentioned terminal;

[0030] The communication modules are connected to the terminal and the server respectively.

[0031] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.

[0032] One of the above technical solutions has at least the following advantages and beneficial effects:

[0033] The present application checks whether the terminal side configuration and the communication module side configuration are normal. When the detection result shows that the terminal side configuration and the communication module side configuration are normal, the logs related to the adaptation between the terminal system and the communication module under the target directory are obtained; by analyzing the logs, it is determined whether there is an adaptation problem between the terminal system and the communication module. When it is determined that there is an adaptation problem between the terminal system and the communication module, a problem analysis result is generated based on the adaptation problem, and according to the problem analysis result, it is determined whether the adaptation problem can be repaired. When it is determined that the adaptation problem can be repaired, the adaptation problem is repaired. Thus, the present application can automatically and completely capture the logs generated when the terminal system and the communication module are adapted, automatically analyze whether there is an adaptation problem, and automatically repair conventional errors, avoiding the problems of wrong or incomplete captured logs when the existing manual capture of logs, and solving the problem that the existing log analysis requires manual analysis and consumes a lot of time, shortening the adaptation time of the terminal device and the communication module, and effectively improving the efficiency of analyzing and repairing the adaptation problem between the terminal system and the communication module. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0035] Figure 1 An application environment diagram of a communication adaptation repair method in an embodiment;

[0036] Figure 2 A first flow chart of a communication adaptation repair method in one embodiment;

[0037] Figure 3 A second flow chart of a communication adaptation repair method in one embodiment;

[0038] Figure 4 A third flow chart of a communication adaptation repair method in one embodiment;

[0039] Figure 5 It is a flowchart of a communication adaptation repair method in a specific embodiment;

[0040] Figure 6 It is a structural block diagram of a communication adapter repair device in one embodiment;

[0041] Figure 7 is an internal structure diagram of a terminal in one embodiment;

[0042] Figure 8 It is a structural block diagram of a communication adaptation and repair system in one embodiment. DETAILED DESCRIPTION

[0043] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0045] It should be noted that when an element is considered to be "connected" to another element, it can be directly connected to the other element, or connected to the other element through an intermediate element. In addition, the "connection" in the following embodiments should be understood as "electrical connection", "communication connection", etc. if there is transmission of electrical signals or data between the connected objects.

[0046] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" etc. specify the presence of stated features, wholes, steps, operations, components, parts or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts or combinations thereof.

[0047] The communication adaptation repair method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0048] In one embodiment, Figure 2 As shown, a communication adaptation repair method is provided, which may include:

[0049] Step 202, check whether the terminal side configuration and the communication module side configuration are normal; if the check result is that the terminal side configuration and the communication module side configuration are normal, obtain the log related to the adaptation between the terminal system and the communication module in the target directory;

[0050] The terminal system may be an Android system.

[0051] Specifically, the terminal device needs to be adapted to the communication module to obtain normal communication services; when the terminal device is adapted to the communication module, adaptation problems are often encountered. When adaptation problems occur, they need to be processed and repaired in a timely manner, otherwise it will have a certain impact on the normal communication of the terminal device.

[0052] By checking whether the relevant configuration on the terminal side is normal, and checking whether the relevant configuration on the communication module side is normal, while ensuring that the relevant configuration on the terminal side and the communication module side are normal, obtain the log log related to the adaptation between the terminal system and the communication module under the target directory (specific directory), thereby ensuring the accuracy and completeness of the subsequent log analysis and adaptation problem repair.

[0053] In one embodiment, if Figure 3 As shown, before step 202 of checking whether the terminal side configuration and the communication module side configuration are normal, the following may also be included:

[0054] Step 302, when the terminal system is started, capture logs;

[0055] Step 304: compress the log and store the compressed log in the target directory.

[0056] Specifically, when the terminal system is started, relevant logs will be generated when the terminal system and the communication module are adapted. Therefore, the logs required by the developers to analyze the adaptation of the terminal and the communication module are automatically captured, and the captured logs are compressed to a certain size and saved in a specific directory of the terminal system; because some occasional problems require a long time to capture logs, and the terminal device space is insufficient to save huge logs, the required logs are automatically captured and compressed into the target directory, which can save resources, save terminal space, and improve processing efficiency.

[0057] In one embodiment, if Figure 4 As shown, before step 202 of checking whether the terminal side configuration and the communication module side configuration are normal, the following may also be included:

[0058] Step 402, checking whether the network is normal;

[0059] Step 404: If the inspection result shows 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 methods stored in the known problem repair database on the server.

[0060] Specifically, when the terminal system is started and the required logs are captured, compressed and stored in the target directory, the network is checked to see if it is normal. When the test result shows that the network is normal, the known problems stored in the known problem database on the server are downloaded to update the local known problem database, and the known problem repair methods stored in the known problem repair database on the server are downloaded to update the local known problem repair database, thereby ensuring that the problems and repair methods stored in the local known problem database and the local known problem repair database are maintained in the latest state, laying the foundation for the preliminary, accurate and timely detection of adaptation problems between the terminal system and the communication module.

[0061] In one embodiment, step 202 of checking whether the terminal side configuration and the communication module side configuration are normal may include:

[0062] Check whether the services and processes required by the terminal system are started normally, whether the RIL (Radio Interface Layer) dialing mode of the terminal system and the system security attributes of the terminal system are normal, and whether the communication module is enumerated normally and whether the driver of the communication module is loaded normally.

[0063] Specifically, after the terminal starts to capture the required logs and stores them in the target directory, the terminal side configuration is checked separately, such as whether the services and processes required for normal communication of the terminal system are started normally, checking the RIL dial-up mode, and checking whether the terminal system security attributes are normal; at the same time, it also checks whether the communication module side configuration is normal, such as checking whether the communication module is enumerated normally, checking whether the driver is loaded normally, etc., so that when the terminal device and the communication module are normal, it is guaranteed that the required logs captured can be analyzed and repaired more accurately and completely later, reducing the impact of other factors on the accuracy of subsequent log analysis and problem repair.

[0064] Step 204, analyzing the log 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, a problem analysis result is obtained based on the adaptation problem;

[0065] Specifically, after checking the terminal side configuration and the communication module side configuration and confirming that the terminal side configuration and the communication module side configuration are normal, obtain the logs related to the adaptation between the terminal system and the communication module stored in the target directory; wherein the logs may also include the crash logs generated by the terminal system process crash; by analyzing the captured logs, determine whether there is an adaptation problem between the terminal system and the communication module; if it is determined that there is an adaptation problem between the terminal system and the communication module, obtain the problem analysis results based on the located adaptation problem, and generate a problem analysis report based on the problem analysis results, so that later developers can view the problem analysis report, thereby further optimizing the communication module.

[0066] 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:

[0067] Based on the log, query whether there is a known problem stored in the local known problem database in the log; if the query result is that there is a known problem stored in the local known problem database in the log, it is determined that an adaptation problem occurs between the terminal system and the communication module;

[0068] Specifically, based on the logs related to the adaptation between the terminal system and the communication module obtained from the target directory, and the known problems saved in the local known problem database of the terminal device; according to the known problems stored in the local known problem database, query whether there are known problems stored in the local known problem database in the log; if it is determined that there are known problems in the local known problem database in the log, it is determined that an adaptation problem occurs between the terminal system and the communication module, and thus the problem analysis results are obtained based on the known problems found; if the network connection is normal, the latest known problems have been updated in the local known problem database, so that it is possible to more accurately find out whether there are known problems; if the network connection is abnormal, the logs can also be searched through the known problems stored in the local known problem database, so as to accurately locate the adaptation problem between the terminal system and the communication module.

[0069] In one example, the communication adaptation repair method can also automatically capture 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 known problems in the local known problem database to find out whether there are known problems in the crash log generated by the communication module.

[0070] In one of the embodiments, the communication adaptation repair method may further include:

[0071] If the result of determination is that there is no adaptation problem between the terminal system and the communication module, the log is cleared.

[0072] Specifically, if no known problem stored in the local known problem database is found in the log, it is determined that there is no adaptation problem between the terminal system and the communication module, so that the problem-free logs are cleaned up, the terminal storage space is released, and the problem that some occasional problems require a long time to capture logs and the terminal device space is insufficient to save the huge logs is solved, thereby ensuring the timely capture of logs.

[0073] Step 206: determine whether the adaptation problem can be repaired based on the problem analysis result; if the determination result is that the adaptation problem can be repaired, then repair the adaptation problem.

[0074] Specifically, when the problem analysis results are obtained, it is determined whether the located adaptation problem can be repaired according to the problem analysis results. If it is confirmed that the detected adaptation problem can be repaired, the adaptation problem is automatically repaired, thereby performing a preliminary analysis and processing of the adaptation problem between the located terminal and the communication module, saving the manpower input of the communication module developers, shortening the adaptation time of the terminal system and the communication module, improving the problem repair efficiency, and ensuring the normal communication of the terminal. After the adaptation problem is repaired, a problem repair report can also be generated so that the developer can further optimize the adaptation between the terminal and the communication module, thereby further improving the processing efficiency and ensuring the accuracy of the problem repair.

[0075] In one embodiment, it is determined whether the adaptation problem can be repaired 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:

[0076] According to the problem analysis result, a search is performed from the local known problem repair database to determine whether there is a known problem repair method for solving the adaptation problem; if the search result shows that there is a known problem repair method for solving the adaptation problem in the local known problem repair database, it is confirmed that the adaptation problem can be repaired.

[0077] Specifically, when an adaptation problem is detected between the terminal and the communication module and the problem analysis results are obtained, a search is conducted from the local known problem repair database to determine whether there is a corresponding repair method for solving the adaptation problem. If a known problem repair method for solving the adaptation problem is confirmed to be found, the judgment result is confirmed to be that the adaptation problem can be fixed, and the adaptation problem is fixed using the known problem repair method found, and a problem repair report is generated for developers to review.

[0078] In one of the embodiments, the communication adaptation repair method may further include:

[0079] If the judgment result is that the adaptation problem cannot be repaired, the problem analysis results and logs will be retained for manual analysis and repair.

[0080] Specifically, if the corresponding repair method for solving the adaptation problem is not found in the local known problem repair database, the judgment result is confirmed that the adaptation problem cannot be repaired, so the log is retained and the problem analysis result or problem analysis report is obtained, waiting for the R&D personnel to manually analyze and process the log and the problem analysis result; in addition, when the judgment result is that the adaptation problem cannot be repaired, the adaptation problem can also be uploaded to the known problem database of the server in real time; and, after the R&D personnel of the terminal analyze and solve the adaptation problem that cannot be repaired, the repair method for solving the adaptation problem can also be uploaded to the known problem repair database on the server, so that the server updates the latest discovered adaptation problem and the corresponding repair method, so that the local known problem database and the local known problem repair database can be updated when the terminal is turned on next time or other terminals are turned on, so as to more accurately find and repair the adaptation problem, greatly shorten the adaptation time of the terminal and the communication module, and greatly improve the efficiency of repairing and processing the adaptation problem.

[0081] In a specific embodiment, the communication adaptation repair method can also be as follows: Figure 5 shown.

[0082] As described above, the present application obtains logs related to the adaptation between the terminal system and the communication module under the target directory by confirming that the terminal side configuration and the communication module side configuration are normal, and by analyzing the logs, searches for known problems in the local known problem database to determine whether an adaptation problem occurs between the terminal system and the communication module; when it is confirmed that an adaptation problem occurs between the terminal system and the communication module, a problem analysis result is obtained based on the adaptation problem found, and based on the problem analysis result, searches for a repair method for the adaptation problem in the local known problem repair database; if a corresponding repair method is found, the adaptation problem is repaired according to the repair method, and a problem repair report is output; if no corresponding repair method is found, the log and the problem analysis result / problem analysis report are retained for manual analysis and repair by R&D personnel. This application can automatically collect the complete logs required by developers and fix common errors, avoiding the situation in which developers are unable to analyze problems due to unfamiliarity with operations or incorrect log capture during existing manual operations. In addition, this application can perform preliminary analysis and processing of adaptation issues, shorten the adaptation time of the Android system and modules, effectively improve the efficiency of problem repair, save the manpower input of module developers, and ensure normal communication of the terminal.

[0083] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0084] Based on the same inventive concept, the embodiment of the present application also provides a communication adapter repair device for implementing the communication adapter repair method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more communication adapter repair device embodiments provided below can refer to the limitations on the communication adapter repair method above, and will not be repeated here.

[0085] In one embodiment, Figure 6 As shown, a communication adaptation repair device is provided, which may include:

[0086] The checking module 110 is used 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 and the communication module side configuration are normal, then obtain the log related to the adaptation between the terminal system and the communication module in the target directory;

[0087] The analysis module 120 is used to analyze the logs to determine whether there is an adaptation problem between the terminal system and the communication module; if the determination result is that there is an adaptation problem between the terminal system and the communication module, then based on the adaptation problem, a problem analysis result is obtained;

[0088] The repair module 130 is used to determine whether the adaptation problem can be repaired according to the problem analysis result; if the judgment result is that the adaptation problem can be repaired, the adaptation problem is repaired.

[0089] In one of the embodiments, the communication adapter repair device may further include:

[0090] The inspection module is used to check whether the network is normal;

[0091] The update module is used to update the local known problem database according to the known problems stored in the known problem database on the server, and to update the local known problem repair database according to the known problem repair methods stored in the known problem repair database on the server if the inspection result shows that the network is normal.

[0092] In one embodiment, the analysis module 120 is further used to query whether there is a known problem stored in the local known problem database in the log based on the log; if the query result is that there is a known problem stored in the local known problem database in the log, it is determined that an adaptation problem occurs between the terminal system and the communication module;

[0093] According to the problem analysis results, the repair module 130 is also used to search the local known problem repair database for a known problem repair method for solving the adaptation problem; if the search result shows that there is a known problem repair method for solving the adaptation problem in the local known problem repair database, it is confirmed that the adaptation problem can be repaired.

[0094] In one embodiment, the inspection module 110 is also used to check whether the services and processes required by the terminal system are started normally, whether the RIL dialing mode of the terminal system and the system security attributes of the terminal system are normal, and whether the communication module is enumerated normally and whether the driver of the communication module is loaded normally.

[0095] In one of the embodiments, the communication adapter repair device may further include:

[0096] A cleaning module, used for cleaning the log if the result of determination is that there is no adaptation problem between the terminal system and the communication module;

[0097] The storage module is used to retain the problem analysis results and logs if the judgment result is that the adaptation problem cannot be repaired, waiting for manual analysis and repair.

[0098] In one of the embodiments, the communication adapter repair device may further include:

[0099] The log capture module is used to capture logs when the terminal system is started;

[0100] The log compression module is used to compress the logs and store the compressed logs in the target directory.

[0101] Each module in the above-mentioned communication adapter repair device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0102] In one embodiment, a terminal is provided, whose internal structure diagram can be as follows: Figure 7As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used 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 the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a communication adaptation repair method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0103] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0104] In one embodiment, Figure 8 As shown, a communication adaptation repair system is provided, including a communication module, a server and the above-mentioned terminal;

[0105] The communication modules are connected to the terminal and the server respectively.

[0106] Specifically, when the communication module is connected to the terminal, after the terminal is turned on, it will download known problems and known problem repair methods from the known problem database of the server, and update the local known problem database and known problem repair database; when the terminal detects an adaptation problem that cannot be automatically repaired, it uploads the adaptation problem that cannot be automatically repaired to the known problem database of the server; when the server receives the adaptation problem sent by the terminal, it updates its server known problem database; when the adaptation problem that the terminal cannot automatically repair is manually repaired by the R&D personnel, the terminal will also upload the corresponding repair method to the server. After receiving the known problem repair method sent by the terminal, the server updates its server known problem repair database, so that the terminal can repair the adaptation problem with the communication module more promptly and accurately, effectively improving the processing efficiency and saving labor costs.

[0107] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0108] 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 used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0109] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0110] In the description of this specification, the description with reference to the terms "some embodiments", "other embodiments", "ideal embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example.

[0111] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0112] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A communication adaptation repair method, characterized in that: include: Check whether the network is normal; If the inspection result shows that 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; Check whether the terminal side configuration and the communication module side configuration are normal; if the check result is that the terminal side configuration and the communication module side configuration are normal, obtain the log related to the adaptation between the terminal system and the communication module in the target directory; Based on the log, query whether there is a known problem stored in the local known problem database in the log; if the query result is that the known problem stored in the local known problem database exists in the log, it is determined that 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, a problem analysis result is obtained based on the adaptation problem; According to the problem analysis result, determine whether the adaptation problem can be repaired; If the judgment result is that the adaptation problem can be repaired, the adaptation problem is repaired.

2. The communication adaptation repair method according to claim 1, characterized in that: Determining whether the adaptation problem can be repaired according to the problem analysis result; If the judgment result is that the adaptation problem can be fixed, the step of fixing the adaptation problem includes: According to the problem analysis result, searching the local known problem repair database for a known problem repair method for solving the adaptation problem; If the search result shows that there is a known problem repair method for solving the adaptation problem in the local known problem repair database, it is confirmed that the adaptation problem can be repaired.

3. The communication adaptation repair method according to claim 1, characterized in that: The step of checking whether the terminal side configuration and the communication module side configuration are normal includes: Check whether the services and processes required by the terminal system are started normally, whether the RIL dialing mode of the terminal system and the system security attributes of the terminal system are normal, and whether the communication module is enumerated normally and whether the driver of the communication module is loaded normally.

4. The communication adaptation repair method according to claim 1, characterized in that: Also includes: If the determination result is that there is no adaptation problem between the terminal system and the communication module, clearing the log; If the judgment result is that the adaptation problem cannot be repaired, the problem analysis result and the log are retained for manual analysis and repair.

5. The communication adaptation repair method according to claim 1, characterized in that: Before the step of checking whether the terminal side configuration and the communication module side configuration are normal, the method further includes: When the terminal system is started, capturing the log; The log is compressed and stored in the target directory.

6. A communication adapter repair device, characterized in that: include: The inspection module is used to check whether the network is normal; An update module, configured to update a local known problem database according to known problems stored in a known problem database on the server, and update a local known problem repair database according to known problem repair methods stored in a known problem repair database on the server, if the inspection result shows that the network is normal; A checking module, used 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 and the communication module side configuration are normal, then obtaining the log related to the adaptation between the terminal system and the communication module under the target directory; an analysis module, configured to query, based on the log, whether there is a known problem stored in the local known problem database in the log; if the query result is that there is a known problem stored in the local known problem database in the log, then determine that 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, a problem analysis result is obtained based on the adaptation problem; A repair module, used to determine whether the adaptation problem can be repaired according to the problem analysis result; If the judgment result is that the adaptation problem can be repaired, the adaptation problem is repaired.

7. The communication adapter repair device according to claim 6, characterized in that: The repair module is also used to search the local known problem repair database for a known problem repair method to solve the adaptation problem according to the problem analysis result; If the search result shows that there is a known problem repair method for solving the adaptation problem in the local known problem repair database, it is confirmed that the adaptation problem can be repaired.

8. A terminal comprising a processor and a memory, wherein the memory comprises a non-volatile storage medium, wherein the non-volatile storage medium stores an operating system and a computer program, and wherein the computer program implements the steps of the method according to any one of claims 1 to 5 when executed by the processor.

9. A communication adaptation and repair system, comprising a communication module, a server and the terminal according to claim 8; The communication modules are connected to the terminal and the server respectively.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • A method for repairing a failure of a storage device and a related device thereof

    CN109086153A

  • Monitoring method, device and system of communication system

    CN111130934A