CN112783724A - Log capture debugging method and system, intelligent device and storage medium - Google Patents

Log capture debugging method and system, intelligent device and storage medium Download PDF

Info

Publication number
CN112783724A
CN112783724A CN202110102397.5A CN202110102397A CN112783724A CN 112783724 A CN112783724 A CN 112783724A CN 202110102397 A CN202110102397 A CN 202110102397A CN 112783724 A CN112783724 A CN 112783724A
Authority
CN
China
Prior art keywords
debugging
log
module
instruction
captured
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
CN202110102397.5A
Other languages
Chinese (zh)
Other versions
CN112783724B (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.)
Shanghai Sunmi Technology Group Co Ltd
Citaq Co Ltd
Original Assignee
Shanghai Sunmi Technology Group Co Ltd
Citaq Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Sunmi Technology Group Co Ltd, Citaq Co Ltd filed Critical Shanghai Sunmi Technology Group Co Ltd
Priority to CN202110102397.5A priority Critical patent/CN112783724B/en
Publication of CN112783724A publication Critical patent/CN112783724A/en
Application granted granted Critical
Publication of CN112783724B publication Critical patent/CN112783724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3072Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a log capture debugging method, a log capture debugging system, intelligent equipment and a storage medium, wherein the method comprises the following steps: acquiring contents to be captured aiming at different services; capturing log information from a corresponding service log according to the content to be captured; and combining the captured log information into an appointed instruction set, carrying out instruction pushing, enabling the terminal to analyze the pushed appointed instruction set, executing each analyzed debugging instruction, and obtaining a corresponding debugging result. According to the scheme, necessary debugging logs can be selectively and remotely captured according to service requirements, capture of log files is avoided, the consumed flow is high, the debugging speed is low, the condition of debugging disconnection is avoided, in addition, log capture and debugging of different services can be simultaneously carried out according to debugging requirements, and flexibility and expandability are achieved.

Description

Log capture debugging method and system, intelligent device and storage medium
Technical Field
The invention relates to the technical field of log capture, in particular to a log capture debugging method, a log capture debugging system, intelligent equipment and a storage medium.
Background
When the intelligent device terminal is debugged, the log is required to be captured. The existing method for debugging the intelligent equipment comprises the steps of remotely executing a logcat instruction to capture a log and remotely executing an adb instruction to debug. However, as the number of the customized functions of the intelligent device terminal increases, the existing debugging method is not suitable for log capture of the customized service. Specifically, when log capture is performed by executing a logcat instruction remotely, only a logcat file is not enough for analyzing complex system problems, and the log file of the system is large, so that the consumed flow under a mobile network is large; when the adb instruction is remotely executed for debugging, the client device needs to be connected in real time for debugging, and the conditions of slow speed and frequent disconnection exist. Therefore, a log capture debugging method is needed, which can remotely capture necessary debugging logs according to service needs and is suitable for customized services.
Disclosure of Invention
The invention aims to provide a log grabbing and debugging method, a system, intelligent equipment and a storage medium, the scheme can selectively and remotely grab necessary debugging logs according to service requirements, can avoid the situations of overlarge grabbed log files, more consumed flow and slow debugging speed and debugging disconnection, can also simultaneously grab and debug logs of different services according to debugging requirements, and has flexibility and expandability.
The technical scheme provided by the invention is as follows:
the invention provides a log capture debugging method, which comprises the following steps:
acquiring contents to be captured aiming at different services;
capturing log information from a corresponding service log according to the content to be captured;
and combining the captured log information into an appointed instruction set, carrying out instruction pushing, enabling the terminal to analyze the pushed appointed instruction set, executing each analyzed debugging instruction, and obtaining a corresponding debugging result.
Due to the fact that each customized service is different, an engineer selects different contents to be captured according to functions to be debugged according to the different customized services, captures log information from corresponding service logs according to the contents to be captured, combines the captured log information to obtain an appointed instruction set, pushes the appointed instruction set to a terminal to be analyzed, can analyze each debugging instruction, and then respectively executes debugging to obtain a test result. According to the scheme, necessary debugging logs can be selectively and remotely grabbed according to service needs, the situation that log files are too large and the consumed flow is more can be avoided being grabbed, the debugging speed is slow, the debugging disconnection condition is caused, in addition, the log grabbing and debugging of different services can be simultaneously carried out according to the debugging requirements, and the flexibility and the expandability are realized.
Specifically, in this embodiment, the functions of the service a, the service B, and the service C are debugged simultaneously, log information such as a system database may be selected from the log a, content such as a system file may be selected from the log B, information such as a system status dump (backup) may be selected from the log C, and these information may be combined into an appointed instruction set for pushing.
After the terminal receives the pushed appointed instruction set through the push service, the terminal analyzes the appointed instruction set to obtain corresponding debugging instructions, and then executes the debugging instructions to obtain corresponding function debugging results. In this embodiment, function debugging of three customized services is performed, in other embodiments, debugging of more different services can be performed according to actual debugging requirements, and of course, single or log capture debugging of conventional services can also be performed by the method.
Further, the combining the captured log information into an agreed instruction set specifically includes:
generating a corresponding debugging instruction according to the captured log information;
and combining the debugging instructions generated at the same time or within a preset time period to obtain the appointed instruction set.
Specifically, when the appointed instruction sets are combined, corresponding debugging instructions can be generated according to log information captured by different services, and then the debugging instructions generated at the same time or within a preset time period are combined. When the requirement on debugging efficiency is high, debugging instructions generated at the same time or within a short preset time period can be combined; and when the requirement on debugging efficiency is not high, the debugging instructions generated in a longer preset time period can be combined so as to debug more services at the same time.
Further, after obtaining each debugging result, the method further includes:
and summarizing the debugging results and uploading the debugging results.
Specifically, after the debugging results of each function debugging are obtained, the debugging results can be uploaded after being gathered, so that the uploading efficiency is improved.
Further, the terminal analyzes the pushed agreed instruction set, and executes each analyzed debugging instruction, which specifically includes:
presetting different execution modules according to execution authorities corresponding to different debugging instructions;
and sending each analyzed debugging instruction to the corresponding execution module for instruction execution.
Specifically, when instructions are executed, different execution authorities required by different debugging instructions are different, different execution modules can be preset according to different execution authorities, after each debugging instruction is analyzed, each debugging instruction is sent to the execution module corresponding to the authority to execute the instructions, and therefore multiple functional tests can be guaranteed to be simultaneously executed.
In addition, the invention also provides a log capture debugging system, which comprises:
a cloud end; the terminal is in communication connection with the cloud end;
the cloud comprises:
the acquisition module is used for acquiring contents to be captured aiming at different services;
the capturing module is connected with the acquiring module and used for capturing log information from the corresponding service log according to the content to be captured;
the pushing module is connected with the grabbing module and used for combining the grabbed log information into an appointed instruction set and pushing the appointed instruction set to the terminal;
the terminal includes:
the analysis module is used for analyzing the appointed instruction set pushed by the pushing module;
and the execution module is connected with the analysis module and used for executing each analyzed debugging instruction to obtain a corresponding debugging result.
Due to the fact that each customized service is different, an engineer selects different contents to be captured according to functions to be debugged according to the different customized services, the contents to be captured selected by the engineer are obtained through the obtaining module, log information is captured from corresponding service logs according to the capturing module, the captured log information is combined to obtain an appointed instruction set, the appointed instruction set is pushed to a terminal through the pushing module and then is analyzed through the analyzing module, each debugging instruction can be obtained, and then execution of the instruction is carried out through the executing module respectively, and therefore a test result can be obtained. According to the scheme, necessary debugging logs can be selectively and remotely grabbed according to service needs, the situation that log files are too large and the consumed flow is more can be avoided being grabbed, the debugging speed is slow, the debugging disconnection condition is caused, in addition, the log grabbing and debugging of different services can be simultaneously carried out according to the debugging requirements, and the flexibility and the expandability are realized.
Further, the pushing module generates a corresponding debugging instruction according to the captured log information, and combines the debugging instructions generated at the same time or within a predetermined time period to obtain the appointed instruction set.
Specifically, when the appointed instruction sets are combined, corresponding debugging instructions can be generated according to log information captured by different services, and then the debugging instructions generated at the same time or within a preset time period are combined. When the requirement on debugging efficiency is high, debugging instructions generated at the same time or within a short preset time period can be combined; and when the requirement on debugging efficiency is not high, the debugging instructions generated in a longer preset time period can be combined so as to debug more services at the same time.
Further, the terminal further includes:
the summarizing module is connected with the execution module and is used for summarizing the debugging results;
and the uploading module is connected with the summarizing module and used for uploading the summarized debugging results.
Specifically, after the debugging results of each function debugging are obtained, the debugging results can be uploaded after being gathered, so that the uploading efficiency is improved.
Furthermore, the number of the execution modules is several, and the execution modules correspond to different debugging instructions according to the execution authority;
and the analysis module sends each analyzed debugging instruction to the corresponding execution module for instruction execution.
Specifically, when instructions are executed, different execution authorities required by different debugging instructions are different, different execution modules can be preset according to different execution authorities, after each debugging instruction is analyzed, each debugging instruction is sent to the execution module corresponding to the authority to execute the instructions, and therefore multiple functional tests can be guaranteed to be simultaneously executed.
In addition, the present invention also provides an intelligent device, comprising:
the memory is used for storing the running program;
and the processor is used for executing the running program stored in the memory and realizing the operation executed by the log capture debugging method.
In addition, the invention also provides a storage medium, wherein at least one instruction is stored in the storage medium, and the instruction is loaded and executed by the processor to realize the operation executed by the log capture debugging method.
According to the log capturing and debugging method, the log capturing and debugging system, the intelligent device and the storage medium provided by the invention, different contents to be captured are selected according to different customized services, log information is captured from corresponding service logs according to the contents to be captured, the captured log information is combined, an appointed instruction set can be obtained, the appointed instruction set is pushed to a terminal and then analyzed, each debugging instruction can be analyzed, and then debugging is respectively executed, so that a test result can be obtained. According to the scheme, necessary debugging logs can be selectively and remotely grabbed according to service needs, the situation that log files are too large and the consumed flow is more can be avoided being grabbed, the debugging speed is slow, the debugging disconnection condition is caused, in addition, the log grabbing and debugging of different services can be simultaneously carried out according to the debugging requirements, and the flexibility and the expandability are realized.
Drawings
The foregoing features, technical features, advantages and embodiments of the present invention will be further explained in the following detailed description of the preferred embodiments, which is to be read in connection with the accompanying drawings.
FIG. 1 is a schematic overall flow diagram of an embodiment of the present invention;
FIG. 2 is a schematic diagram of instruction pushing according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a terminal instruction execution parsing according to an embodiment of the present invention;
FIG. 4 is a system architecture diagram of an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an intelligent device according to an embodiment of the present invention.
Reference numbers in the figures: 1-cloud end; 11-an acquisition module; 12-a grabbing module; 13-a push module; 2-a terminal; 21-an analysis module; 22-an execution module; 23-a summary module; 24-an upload module; 100-a memory; 200-a processor; 300-a communication interface; 400-a communication bus; 500-input/output interface.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
Example 1
An embodiment of the present invention, as shown in fig. 1, provides a log capture debugging method, including:
and S1, acquiring the contents to be grabbed aiming at different services.
And S2, capturing log information from the corresponding service log according to the content to be captured.
And S3, combining the captured log information into an appointed instruction set, carrying out instruction pushing, enabling the terminal to analyze the pushed appointed instruction set, executing each analyzed debugging instruction, and obtaining a corresponding debugging result.
Due to the fact that each customized service is different, an engineer selects different contents to be captured according to functions to be debugged according to the different customized services, captures log information from corresponding service logs according to the contents to be captured, combines the captured log information to obtain an appointed instruction set, pushes the appointed instruction set to a terminal to be analyzed, can analyze each debugging instruction, and then respectively executes debugging to obtain a test result. According to the scheme, necessary debugging logs can be selectively and remotely grabbed according to service needs, the situation that log files are too large and the consumed flow is more can be avoided being grabbed, the debugging speed is slow, the debugging disconnection condition is caused, in addition, the log grabbing and debugging of different services can be simultaneously carried out according to the debugging requirements, and the flexibility and the expandability are realized.
Specifically, as shown in fig. 2, in this embodiment, the functions of the service a, the service B, and the service C are debugged simultaneously, log information such as a system database may be selected from the log a, content such as a system file may be selected from the log B, information such as a system state dump (backup) may be selected from the log C, and these information may be combined into an appointed instruction set for pushing.
As shown in fig. 3, after receiving the pushed appointed instruction set through the push service, the terminal parses the appointed instruction set to obtain corresponding debugging instructions, and then executes the debugging instructions, so as to obtain corresponding function debugging results. In this embodiment, function debugging of three customized services is performed, in other embodiments, debugging of more different services can be performed according to actual debugging requirements, and of course, single or log capture debugging of conventional services can also be performed by the method.
Preferably, after obtaining the respective debugging results, the method further includes the steps of:
and S4, summarizing the debugging results and uploading.
Specifically, after the debugging results of each function debugging are obtained, the debugging results can be uploaded after being gathered, so that the uploading efficiency is improved.
Example 2
In an embodiment of the present invention, on the basis of embodiment 1, combining captured log information into an appointed instruction set specifically includes:
and S31, generating a corresponding debugging instruction according to the captured log information.
And S32, combining the debugging instructions generated at the same time or within a preset time period to obtain a convention instruction set.
Specifically, when the appointed instruction sets are combined, corresponding debugging instructions can be generated according to log information captured by different services, and then the debugging instructions generated at the same time or within a preset time period are combined. When the requirement on debugging efficiency is high, debugging instructions generated at the same time or within a short preset time period can be combined; and when the requirement on debugging efficiency is not high, the debugging instructions generated in a longer preset time period can be combined so as to debug more services at the same time.
Preferably, the terminal analyzes the pushed agreed instruction set, and executes each analyzed debugging instruction, and specifically includes:
and S33, presetting different execution modules according to the execution authorities corresponding to different debugging instructions.
And S34, sending each analyzed debugging instruction to a corresponding execution module for instruction execution.
Specifically, during instruction execution, different execution modules (such as Root, Shell, System, and the like) can be preset according to different execution authorities because the execution authorities required by different debugging instructions are different, and after each debugging instruction is analyzed, each debugging instruction is sent to the execution module with the corresponding authority to execute the instruction, so that multiple function tests can be performed at the same time.
Example 3
In an embodiment of the present invention, as shown in fig. 4, the present invention further provides a log capture debugging system, which includes a cloud 1 and a terminal 2 in communication connection with the cloud 1.
The cloud 1 comprises an acquisition module 11, a capture module 12 and a push module 13.
The acquiring module 11 is configured to acquire contents to be captured for different services; the capturing module 12 is connected to the obtaining module 11, and is configured to capture log information from a corresponding service log according to content to be captured.
The pushing module 13 is connected to the capturing module 12, and is configured to combine the captured log information into an agreed instruction set, and push the agreed instruction set to the terminal 2.
The terminal 2 comprises a parsing module 21 and an execution module 22.
The analysis module 21 is configured to analyze the agreed instruction set pushed by the pushing module 13; the execution module 22 is connected to the parsing module 21, and is configured to execute each parsed debugging instruction to obtain a corresponding debugging result.
Due to the fact that each customized service is different, an engineer selects different contents to be captured according to functions to be debugged according to the different customized services, the contents to be captured selected by the engineer are obtained through the obtaining module 11, log information is captured from corresponding service logs according to the capturing module 12, the captured log information is combined, an appointed instruction set can be obtained, the appointed instruction set is pushed to the terminal 2 through the pushing module 13 and then is analyzed through the analyzing module 21, debugging instructions can be obtained, and then execution of the instructions is carried out through the executing module 22 respectively, and therefore test results can be obtained. According to the scheme, necessary debugging logs can be selectively and remotely grabbed according to service needs, the situation that log files are too large and the consumed flow is more can be avoided being grabbed, the debugging speed is slow, the debugging disconnection condition is caused, in addition, the log grabbing and debugging of different services can be simultaneously carried out according to the debugging requirements, and the flexibility and the expandability are realized.
Specifically, as shown in fig. 2, in this embodiment, the functions of the service a, the service B, and the service C are debugged simultaneously, log information such as a system database may be selected from the log a, content such as a system file may be selected from the log B, information such as a system state dump (backup) may be selected from the log C, and these information may be combined into an appointed instruction set for pushing.
As shown in fig. 3, after receiving the pushed appointed instruction set through the push service, the terminal parses the appointed instruction set to obtain corresponding debugging instructions, and then executes the debugging instructions, so as to obtain corresponding function debugging results. In this embodiment, function debugging of three customized services is performed, in other embodiments, debugging of more different services can be performed according to actual debugging requirements, and of course, single or log capture debugging of conventional services can also be performed by the method.
Preferably, the terminal 2 further includes a summarizing module 23 and an uploading module 24.
The summarizing module 23 is connected with the execution module 22 and is used for summarizing all debugging results; the uploading module 24 is connected with the summarizing module 23 and is used for uploading summarized debugging results.
Specifically, after the debugging results of each function debugging are obtained, the debugging results can be uploaded after being gathered, so that the uploading efficiency is improved.
Example 4
In an embodiment of the present invention, on the basis of embodiment 3, the pushing module 13 generates a corresponding debugging instruction according to the captured log information, and combines the debugging instructions generated at the same time or within a predetermined time period to obtain an appointed instruction set.
Specifically, when the appointed instruction sets are combined, corresponding debugging instructions can be generated according to log information captured by different services, and then the debugging instructions generated at the same time or within a preset time period are combined. When the requirement on debugging efficiency is high, debugging instructions generated at the same time or within a short preset time period can be combined; and when the requirement on debugging efficiency is not high, the debugging instructions generated in a longer preset time period can be combined so as to debug more services at the same time.
Preferably, the number of the execution modules 22 is several, and the execution modules correspond to different debugging instructions according to the execution authority; the parsing module 21 sends each parsed debugging instruction to the corresponding execution module 22 for instruction execution.
Specifically, during instruction execution, different execution modules (such as Root, Shell, System, and the like) can be preset according to different execution authorities because the execution authorities required by different debugging instructions are different, and after each debugging instruction is analyzed, each debugging instruction is sent to the execution module with the corresponding authority to execute the instruction, so that multiple function tests can be performed at the same time.
Example 5
In addition, as shown in fig. 5, the present invention further provides an intelligent device, which includes a memory 100 and a processor 200, where the memory 100 is used to store an execution program, and the processor 200 is used to execute the execution program stored in the memory, so as to implement the operations performed by the log capture debugging method according to any one of embodiments 1 to 2.
Specifically, the smart device may further include a communication interface 300, a communication bus 400 and an input/output interface 500, wherein the processor 200, the memory 100, the input/output interface 500 and the communication interface 300 complete communication with each other through the communication bus 400.
A communication bus 400 is a circuit that connects the elements described and enables transmission between these elements. For example, the processor 200 receives commands from other elements through the communication bus 400, decrypts the received commands, and performs calculations or data processing according to the decrypted commands. The memory 100 may include program modules such as a kernel (kernel), middleware (middleware), an Application Programming Interface (API), and applications. The program modules may be comprised of software, firmware or hardware, or at least two of the same. The input/output interface 500 forwards commands or data entered by a user via an input/output device (e.g., sensor, keyboard, touch screen). The communication interface 300 connects the smart device with other network devices, user devices, networks. For example, the communication interface 300 may be connected to a network by wire or wirelessly to connect to external other network devices or user devices. The wireless communication may include at least one of: wireless fidelity (WiFi), Bluetooth (BT), Near Field Communication (NFC), Global Positioning Satellite (GPS) and cellular communications, among others. The wired communication may include at least one of: universal Serial Bus (USB), high-definition multimedia interface (HDMI), asynchronous transfer standard interface (RS-232), and the like. The network may be a telecommunications network and a communications network. The communication network may be a computer network, the internet of things, a telephone network. The smart device may connect to the network through the communication interface 300 and the protocol by which the smart device communicates with other network devices may be supported by at least one of an application, an Application Programming Interface (API), middleware, a kernel, and a communication interface.
Example 6
In addition, the present invention further provides a storage medium, where at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the operation performed by the log capture debugging method according to any one of embodiments 1 to 2. For example, the storage medium may be a read-only memory (ROM), a Random Access Memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like. They may be implemented in program code that is executable by a computing device such that it may be stored in a memory device and executed by the computing device, or they may be separately fabricated into various integrated circuit modules, or multiple modules or steps thereof may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A log grabbing and debugging method is characterized by comprising the following steps:
acquiring contents to be captured aiming at different services;
capturing log information from a corresponding service log according to the content to be captured;
and combining the captured log information into an appointed instruction set, carrying out instruction pushing, enabling the terminal to analyze the pushed appointed instruction set, executing each analyzed debugging instruction, and obtaining a corresponding debugging result.
2. The log capture debugging method of claim 1, wherein the combining of the captured log information into an agreed instruction set specifically comprises:
generating a corresponding debugging instruction according to the captured log information;
and combining the debugging instructions generated at the same time or within a preset time period to obtain the appointed instruction set.
3. The log crawling debugging method of claim 1, wherein after obtaining each debugging result, the method further comprises:
and summarizing the debugging results and uploading the debugging results.
4. The log capture debugging method of claim 1, wherein the terminal parses the pushed agreed instruction set and executes each parsed debugging instruction, and specifically comprises:
presetting different execution modules according to execution authorities corresponding to different debugging instructions;
and sending each analyzed debugging instruction to the corresponding execution module for instruction execution.
5. A log crawling debugging system, comprising:
a cloud end; the terminal is in communication connection with the cloud end;
the cloud comprises:
the acquisition module is used for acquiring contents to be captured aiming at different services;
the capturing module is connected with the acquiring module and used for capturing log information from the corresponding service log according to the content to be captured;
the pushing module is connected with the grabbing module and used for combining the grabbed log information into an appointed instruction set and pushing the appointed instruction set to the terminal;
the terminal includes:
the analysis module is used for analyzing the appointed instruction set pushed by the pushing module;
and the execution module is connected with the analysis module and used for executing each analyzed debugging instruction to obtain a corresponding debugging result.
6. The log crawling debugging system of claim 5, wherein: and the pushing module generates corresponding debugging instructions according to the captured log information, and combines the debugging instructions generated at the same time or within a preset time period to obtain the appointed instruction set.
7. The log crawling debugging system of claim 5, wherein the terminal further comprises:
the summarizing module is connected with the execution module and is used for summarizing the debugging results;
and the uploading module is connected with the summarizing module and used for uploading the summarized debugging results.
8. The log crawling debugger system of claim 5, wherein: the number of the execution modules is a plurality, and the execution modules correspond to different debugging instructions according to the execution authority;
and the analysis module sends each analyzed debugging instruction to the corresponding execution module for instruction execution.
9. A smart device, comprising:
the memory is used for storing the running program;
a processor for executing the running program stored in the memory to implement the operations executed by the log capture debugging method according to any one of claims 1 to 4.
10. A storage medium, characterized by: the storage medium has stored therein at least one instruction that is loaded and executed by a processor to implement the operations performed by the log grab debugging method of any one of claims 1 to 4.
CN202110102397.5A 2021-01-26 2021-01-26 Log grabbing and debugging method, system, intelligent device and storage medium Active CN112783724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110102397.5A CN112783724B (en) 2021-01-26 2021-01-26 Log grabbing and debugging method, system, intelligent device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110102397.5A CN112783724B (en) 2021-01-26 2021-01-26 Log grabbing and debugging method, system, intelligent device and storage medium

Publications (2)

Publication Number Publication Date
CN112783724A true CN112783724A (en) 2021-05-11
CN112783724B CN112783724B (en) 2023-06-27

Family

ID=75757753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110102397.5A Active CN112783724B (en) 2021-01-26 2021-01-26 Log grabbing and debugging method, system, intelligent device and storage medium

Country Status (1)

Country Link
CN (1) CN112783724B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113515683A (en) * 2021-07-09 2021-10-19 深圳创维-Rgb电子有限公司 Log capture method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043375A (en) * 2007-03-15 2007-09-26 华为技术有限公司 Distributed system journal collecting method and system
CN107071569A (en) * 2016-12-30 2017-08-18 武汉斗鱼网络科技有限公司 The method and system of application are debugged on a kind of Android TV
CN108108285A (en) * 2017-12-26 2018-06-01 广东欧珀移动通信有限公司 Log processing method, device, storage medium and terminal device
CN108153647A (en) * 2017-12-26 2018-06-12 广东欧珀移动通信有限公司 log processing method, device, terminal device and storage medium
CN108170585A (en) * 2017-12-26 2018-06-15 广东欧珀移动通信有限公司 log processing method, device, terminal device and storage medium
CN111506497A (en) * 2020-03-12 2020-08-07 平安科技(深圳)有限公司 Service logic debugging method, device, equipment and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043375A (en) * 2007-03-15 2007-09-26 华为技术有限公司 Distributed system journal collecting method and system
CN107071569A (en) * 2016-12-30 2017-08-18 武汉斗鱼网络科技有限公司 The method and system of application are debugged on a kind of Android TV
CN108108285A (en) * 2017-12-26 2018-06-01 广东欧珀移动通信有限公司 Log processing method, device, storage medium and terminal device
CN108153647A (en) * 2017-12-26 2018-06-12 广东欧珀移动通信有限公司 log processing method, device, terminal device and storage medium
CN108170585A (en) * 2017-12-26 2018-06-15 广东欧珀移动通信有限公司 log processing method, device, terminal device and storage medium
CN111506497A (en) * 2020-03-12 2020-08-07 平安科技(深圳)有限公司 Service logic debugging method, device, equipment and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113515683A (en) * 2021-07-09 2021-10-19 深圳创维-Rgb电子有限公司 Log capture method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112783724B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN107592238B (en) Automatic test method and system of interface, service terminal and memory
CN108199942B (en) Automobile diagnosis method, device, equipment, system and diagnosis connecting equipment
CN109246671A (en) Data transmission method, apparatus and system
CN110727697B (en) Data processing method and device, storage medium and electronic device
CN103577320A (en) Testing method and system of remote terminals
CN109831746B (en) Method and device for data transmission based on Bluetooth broadcast and Bluetooth equipment
US11740997B2 (en) Method and apparatus for debugging a device
CN102571820A (en) Method used for transmitting data, compression server and terminal
CN111159265B (en) ETL data migration method and system
CN112783724B (en) Log grabbing and debugging method, system, intelligent device and storage medium
CN112270536B (en) POS-based aggregated payment method, system and related device
CN113992644B (en) Internet of things system based on no-service technology and data processing method thereof
CN102307116A (en) System and method for generating monitoring information
CN113438226B (en) Message generating and analyzing method, device and system based on hybrid transmission protocol
CN113507530B (en) Data forwarding method, related system and device and storage medium
CN115134254A (en) Network simulation method, device, equipment and storage medium
CN111061518B (en) Data processing method, system, terminal equipment and storage medium based on drive node
CN113806156A (en) Test method, system, device and storage medium
CN112423068A (en) Smart television debugging method and device, mobile terminal and readable storage medium
CN113434154A (en) Android application packaging method and device, storage medium and electronic device
CN111464596A (en) Data processing system, method, apparatus, computer device and storage medium
CN110971696A (en) System and method for realizing virtual electronic card communication
CN117785097B (en) Communication method, device and equipment for vehicle-mounted device and android display terminal and storage medium
CN114500302B (en) ICE service arrangement method, ICE service arrangement device, terminal equipment and storage medium
CN113094278B (en) Method, device, equipment and computer readable storage medium for debugging mobile terminal

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