CN110674368B - System debugging result information processing method and device - Google Patents

System debugging result information processing method and device Download PDF

Info

Publication number
CN110674368B
CN110674368B CN201910859750.7A CN201910859750A CN110674368B CN 110674368 B CN110674368 B CN 110674368B CN 201910859750 A CN201910859750 A CN 201910859750A CN 110674368 B CN110674368 B CN 110674368B
Authority
CN
China
Prior art keywords
debugging
result information
command
information
debugging result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910859750.7A
Other languages
Chinese (zh)
Other versions
CN110674368A (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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN201910859750.7A priority Critical patent/CN110674368B/en
Publication of CN110674368A publication Critical patent/CN110674368A/en
Application granted granted Critical
Publication of CN110674368B publication Critical patent/CN110674368B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • 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)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a processing method and a device of system debugging result information, wherein the method comprises the following steps: receiving a debugging result information inquiry instruction; and acquiring the debugging result information corresponding to the debugging command information to be queried from a storage space according to the grouping label to be queried and the debugging command information to be queried contained in the debugging result information query instruction. According to the invention, the group label, the debug command information corresponding to the group label and the debug result information corresponding to the debug command information are pre-established for storing, and when the system debug result information is queried, the debug result information is directly obtained according to the to-be-queried group label and the to-be-queried debug command information contained in the debug result information query instruction, so that the debug result information does not need to be queried in a huge system file, the debug result information query speed is high, the efficiency is high, and the system development efficiency is improved.

Description

System debugging result information processing method and device
Technical Field
The present invention relates to the field of system debugging technologies, and in particular, to a method and an apparatus for processing system debugging result information.
Background
At present, when research personnel develop problems in the development process or products, the problems are mainly positioned by a system debugging method. The existing system needs to query the debugging result information in all logs of the system after the debugging is finished, and the method can be used for locating problems, but queries the debugging result information in huge system files, so that the efficiency is low, a large amount of time is consumed, and a large amount of resources are wasted.
Accordingly, there is a need for improvement and development in the art.
Disclosure of Invention
The invention aims to solve the technical problems that the efficiency is low, time is wasted and resources are wasted by inquiring the debugging result information in all logs of a system in the prior art.
In a first aspect, an embodiment of the present invention provides a method for processing system debug result information, where the method includes:
receiving a debugging result information inquiry instruction;
obtaining debugging result information corresponding to the debugging command information to be queried from a storage space according to the grouping label to be queried and the debugging command information to be queried contained in the debugging result information query instruction;
the storage space stores the grouping label, the debugging command information corresponding to the grouping label and the debugging result information corresponding to the debugging command information.
As a further improved technical solution, the method for processing system debug result information, before the step of receiving a debug result information query instruction, includes:
establishing the storage space for storing debugging result information;
and receiving and storing the debugging result information into the storage space.
As a further improved technical solution, the processing method of the system debug result information, the step of receiving and storing the debug result information into the storage space includes:
receiving a debugging instruction, and debugging the debugging command information in the storage space according to the debugging instruction to obtain the debugging result information corresponding to the debugging command information;
and storing the debugging result information into the storage space according to the debugging command information corresponding to the debugging result information.
In a second aspect, an embodiment of the present invention provides a method for processing system debug result information, which is applied to a server, where the method includes:
receiving a debugging result information inquiry instruction sent by a client;
obtaining debugging result information corresponding to the debugging command information to be queried from a storage space according to the grouping label to be queried and the debugging command information to be queried contained in the debugging result information query instruction;
the storage space stores the grouping label, the debugging command information corresponding to the grouping label and the debugging result information corresponding to the debugging command information.
As a further improved technical solution, the method for processing system debug result information, before the step of receiving a debug result information query instruction sent by a client, includes:
receiving debugging result information sent by the client;
and storing the debugging result information in the storage space according to the debugging command information corresponding to the debugging result information.
As a further improved technical solution, the method for processing system debug result information further includes:
receiving a debugging result information printing instruction sent by the client;
and obtaining the debugging result information corresponding to the debugging command information to be printed from the storage space to print according to the grouping label to be printed and the debugging command information to be printed contained in the debugging result information printing command.
As a further improved technical solution, the method for processing system debug result information further includes:
receiving a debugging result information deleting instruction sent by the client;
and deleting the debugging result information corresponding to the debugging command information to be deleted in the storage space according to the grouping label to be deleted and the debugging command information to be deleted contained in the debugging result information deleting command.
In a third aspect, an embodiment of the present invention provides a method for processing system debug result information, applied to a client, where the method includes:
receiving a debugging result information inquiry instruction, wherein the debugging result information inquiry instruction contains a grouping label to be inquired and debugging command information to be inquired;
and sending the debugging result information inquiry instruction to a server side so that the server side obtains the debugging result information corresponding to the debugging command information to be inquired from a storage space according to the grouping label to be inquired and the debugging command information to be inquired contained in the debugging result information inquiry instruction.
As a further improved technical solution, the method for processing system debug result information, before the step of receiving a debug result information query instruction, further includes:
receiving a debugging instruction, and debugging the debugging command information in the storage space according to the debugging instruction to obtain the debugging result information corresponding to the debugging command information;
and sending the debugging result information to a server side so that the server side can store the debugging result information according to the debugging command information corresponding to the debugging result information.
In a fourth aspect, an embodiment of the present invention provides a processing apparatus for system debug result information, where the apparatus includes: the client and the server are used for receiving the information;
the client is used for receiving a debugging result information inquiry instruction, wherein the debugging result information inquiry instruction contains a grouping label to be inquired and debugging command information to be inquired; sending the debugging result information inquiry instruction to a server;
the server side is used for receiving the debugging result information inquiry command sent by the client side, and acquiring the debugging result information corresponding to the debugging result information to be inquired from the storage space according to the grouping label to be inquired and the debugging command information to be inquired contained in the debugging result information inquiry command; the storage space stores the grouping label, the debugging command information corresponding to the grouping label and the debugging result information corresponding to the debugging command information.
Compared with the prior art, the embodiment of the invention has the following advantages:
according to the invention, the group label, the debug command information corresponding to the group label and the debug result information corresponding to the debug command information are pre-established for storing, and when the system debug result information is queried, the debug result information is directly obtained according to the to-be-queried group label and the to-be-queried debug command information contained in the debug result information query instruction, so that the debug result information does not need to be queried in a huge system file, and the debug result information query speed is high and the efficiency is high.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings may be obtained according to the drawings without inventive effort to those skilled in the art.
FIG. 1 is a flowchart of a system debug result information processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a system debug result information processing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a method for processing system debug result information according to a third embodiment of the present invention;
fig. 4 is a functional schematic diagram of a processing apparatus for system debug result information in the fourth embodiment of the present invention.
Detailed Description
In order to make the present invention better understood by those skilled in the art, the following description will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Various non-limiting embodiments of the present invention are described in detail below with reference to the attached drawing figures.
Embodiment one:
referring to fig. 1, a method for processing system debug result information in a first embodiment of the present invention is shown, where the method includes:
s1, receiving a debugging result information inquiry instruction;
s2, acquiring debugging result information corresponding to the debugging command information to be queried from a storage space according to the grouping label to be queried and the debugging command information to be queried contained in the debugging result information query command.
In the embodiment of the invention, the system may be a common Android system or a linux system, and the system contains common components to be debugged, such as audio (audio), DTV server (DTV server), ATV server (ATV server), etc., and commands to be debugged, such as volume debugging in audio (audio), source time debugging in ATV server (ATV server), etc., are contained below the common components to be debugged. In order to facilitate the inquiry of the debug result information, in this embodiment, the components to be debugged in the system are grouped to obtain a grouping tag, for example, the grouping tag of sound is audio, and the grouping tag of the DTV server is DTV server. And the command to be debugged contained in the component to be debugged in the system is corresponding to the grouping tag, and debug command information corresponding to the grouping tag is obtained, for example, the debug command information contained under the grouping tag of audio comprises volume, tone quality, tone color and the like.
When specific implementation is carried out, a user can send a debugging result information inquiry instruction when required to inquire specific debugging result information, wherein the debugging result information inquiry instruction comprises a first debugging result information inquiry instruction and a second debugging result information inquiry instruction. In the foregoing steps, it is mentioned that in this embodiment, the components to be debugged of the system are grouped to obtain a grouping tag, and the command to be debugged corresponding to the lower surface of the components to be debugged is corresponding to the grouping tag to obtain the debug command information. Therefore, when the user needs to query the debug result information corresponding to the debug command information, the user needs to input a first debug result information query instruction first, and select the packet label corresponding to the debug result information to be queried. After the grouping label is selected, the corresponding debugging command information under the selected grouping label is automatically displayed, a second debugging result information inquiry instruction is further input, the debugging command information corresponding to the debugging result information to be inquired is selected, and the required debugging result information is inquired. When the user needs to query the debugging result information of the volume command under the sound box, the first debugging result information query instruction is firstly input to select the sound box in the grouping label, and all the debugging command information such as volume, tone and the like under the grouping label sound box are displayed. And then inputting a second debugging result information inquiry command to select the volume under the debugging command information, so that the debugging result information corresponding to the volume of the debugging command information can be obtained, the debugging result information is convenient to inquire, the system log does not need to be browsed, and the method is time-saving and labor-saving and saves resources.
In specific implementation, before step S1, the method further includes the steps of:
s0, establishing the storage space for storing the debugging result information, and receiving and storing the debugging result information into the storage space.
In the embodiment of the invention, in order to automatically query the debug result information according to the grouping tag and the debug command information, a storage space for storing the debug result information is also pre-established before receiving the test result information query instruction in the embodiment, and the debug result information obtained after the system is debugged in the subsequent step can be directly stored in the storage space. For convenience of inquiry, the packet tag mentioned in the previous step and the debug command information corresponding to the packet tag are also stored in the storage space.
In a specific implementation, the step of receiving and storing the debug result information in the storage space in step S0 includes:
s01, receiving a debugging instruction, and debugging the debugging command information in the storage space according to the debugging instruction to obtain the debugging result information corresponding to the debugging command information;
s02, storing the debugging result information into the storage space according to the debugging command information corresponding to the debugging result information.
In the foregoing steps, in this embodiment, the components to be debugged of the system and the debug commands corresponding to the components are grouped to obtain the grouping tag and the debug command information. Therefore, before debugging the system, two stages of instructions still need to be input to select corresponding debugging command information under the component to be debugged for debugging. In specific implementation, a first selection instruction input by a user can be received first, a component tag to be debugged is determined according to the first selection instruction, then a second selection instruction input by the user is received, and debug command information under the component tag to be debugged is determined according to the second selection instruction. And then receiving a debugging instruction, and debugging the debugging command information according to the debugging instruction to obtain the debugging result information corresponding to the debugging command information. The above-mentioned steps are still used for illustration of the "sound" of the packet label and the "volume" of the debug command information under the packet label, when the debug is needed, the first selection instruction input by the user is received first, the "sound" in the packet label is selected, then the second selection instruction input by the user is further received, the "volume" under the packet label "sound" is selected, then the debug instruction is input, the "volume" under the packet label "sound" can be debugged, and the debug result information corresponding to the debug command information "volume" is obtained after the debug is completed. And then storing the debugging result information in a storage space according to the debugging command information corresponding to the debugging result information.
Embodiment two:
referring to fig. 2, a method for processing system debug result information in an embodiment of the present invention is applied to a server, and the server receives a message and an instruction sent by a client, where the method includes:
m1, receiving a debugging result information inquiry instruction sent by a client;
m2, acquiring debugging result information corresponding to the debugging command information to be queried from a storage space according to the grouping label to be queried and the debugging command information to be queried contained in the debugging result information query command;
the storage space stores the grouping label, the debugging command information corresponding to the grouping label and the debugging result information corresponding to the debugging command information.
In one implementation manner of the embodiment of the present invention, the server may pre-establish a storage space for storing the debug result information, the packet tag mentioned in the foregoing step, and the debug command information corresponding to the packet tag. In one embodiment of the present invention, the storage space is in a json storage format with high light weight and readability. In the foregoing steps, when the client queries the debug result information, the client queries the debug result information by selecting the packet tag and the debug command information under the packet tag, so that after receiving the debug result information query instruction sent by the client, the server obtains the debug result information corresponding to the debug result information to be queried from the storage space according to the to-be-queried packet tag and the to-be-queried debug command information contained in the debug result information query instruction.
In a specific embodiment of the present invention, before step M1 in the second embodiment, the method further includes:
m00, receiving debugging result information sent by the client;
m01, storing the debugging result information in the storage space according to the debugging command information corresponding to the debugging result information.
In one implementation manner of the embodiment of the invention, after the client terminal debugs the debugging command information according to the debugging command, the client terminal sends the debugging result information to the server terminal for storage. After receiving the debugging result information sent by the client, the server saves the debugging result information into a storage space according to the debugging command information corresponding to the debugging result information. In a specific embodiment of the present invention, an external interface for providing data storage and reading functions and a global array for storing information are also provided. The method comprises the steps that debugging result information sent by a client is received by an external interface and then stored in a global array, and a server reads the debugging result information from the global array and writes the debugging result information into a storage space; of course, when the information needs to be read from the server, the server reads the information from the storage space and sends the information to the external interface, the external interface is responsible for sending the information to the server or other components, and the client, the server and the external interface coordinate to realize the debugging function of the system and ensure the high efficiency and the safety of the data read and written by the server.
In a specific embodiment of the present invention, a method for processing system debug result information in the second embodiment further includes:
m1', receiving a debugging result information printing instruction sent by the client;
m2', obtaining the debugging result information corresponding to the debugging command information to be printed from the storage space according to the group label to be printed and the debugging command information to be printed contained in the debugging result information printing command to print.
In an implementation manner of the embodiment of the present invention, the server side further provides an information printing function, and when a user needs to print the debug result information, similar to the debug result information query method mentioned in the foregoing step, the user first selects a packet tag and debug command information corresponding to the debug result information to be printed, and then issues a debug result information printing instruction. After receiving a debugging result information printing instruction sent by a client, a server obtains the debugging result information to be printed from a storage space for printing according to a grouping label and debugging command information corresponding to the debugging result information to be printed contained in the debugging result information printing instruction. In one embodiment of the present invention, a commonly used shortcut instruction is also provided, such as entering "hellp or? "means printing the content of the current query, and entering" q or quick "means exiting the current stage.
In a specific embodiment of the present invention, a method for processing system debug result information in the second embodiment further includes:
m1', receiving a debugging result information deleting instruction sent by the client;
m2', deleting the debugging result information corresponding to the debugging command information to be deleted in the storage space according to the grouping label to be deleted and the debugging command information to be deleted contained in the debugging result information deleting command.
In an implementation manner of the embodiment of the present invention, the server side further provides an information deletion function, and when a user needs to delete the debug result information, similar to the debug result information query method mentioned in the foregoing step, the user needs to first select a packet tag and debug command information corresponding to the debug result information to be deleted, and then send out a debug result information deletion instruction. After receiving a debugging result information deleting instruction sent by a client, the server acquires the debugging result information to be deleted from a storage space according to a group tag and debugging command information corresponding to the debugging result information to be deleted contained in the debugging result information deleting instruction. Of course, the server in the invention has functions of saving, reading, writing, deleting and printing, and other functions of backup, and the objects saved, read, written, deleted and printed by the server are not limited to the debugging result information, and any information which can be saved in the storage space belongs to the protection scope of the invention.
Embodiment III:
referring to fig. 3, a method for processing system debug result information in an embodiment of the present invention is applied to a client, and the client receives an instruction sent by a user and sends the received instruction to a server, where the method includes:
r1, receiving a debugging result information inquiry instruction, wherein the debugging result information inquiry instruction contains a grouping label to be inquired and debugging command information to be inquired;
r2, sending the debugging result information inquiry instruction to a server side, so that the server side obtains the debugging result information corresponding to the debugging command information to be inquired from a storage space according to the grouping label to be inquired and the debugging command information to be inquired contained in the debugging result information inquiry instruction.
In one implementation manner of the embodiment of the invention, when a user needs to debug the system or needs to process the system debugging result information, the user can enter a client by inputting an instruction, such as 'skydebug', into a serial port tool of the system, and the client obtains a packet label from a server for display through a binder communication. The user can input a first selection instruction to select the packet label which needs to be debugged or process the debug result information according to the packet label displayed by the client, after the packet label is selected, the client can acquire debug command information corresponding to the packet label selected by the user from the server, and at the moment, the client can directly display the debug command information corresponding to the packet label and also can display the debug command information according to a command input by the user. In a specific embodiment of the present invention, after the client obtains the packet label for display, the client receives a first selection instruction input by the user, where the first selection instruction includes the packet label corresponding to the debug result information to be queried. After the client analyzes the grouping label selected by the user from the first selection instruction, the client obtains the debugging command information corresponding to the grouping label from the server through binder communication, and judges whether the first selection instruction input by the user is a printing instruction such as "hellp or? If yes, printing and displaying the debugging command information corresponding to the grouping label; if the instruction input by the user is an exit instruction, such as "quick or q", the user terminal is exited.
In an implementation manner of the embodiment of the present invention, if debug command information corresponding to the packet tag is obtained in the foregoing step, it is determined that the instruction input by the user is a print instruction, for example, "hellp or? And after the step of' is finished, the debugging command information corresponding to the grouping label is further displayed. Then receiving a second selection instruction input by a user, judging whether the second selection instruction is an exit command such as 'quick or q', if yes, returning the displayed debugging command information to the previous-stage packet label; otherwise, the first selection instruction and the second selection instruction are sent to a server side, so that the server side obtains debugging result information corresponding to the debugging command information to be queried from a storage space according to the grouping label to be queried contained in the first selection instruction and the debugging command information to be queried contained in the second selection instruction.
In a specific embodiment of the present invention, before step R1 in the second embodiment, the method further includes:
r00, receiving a debugging instruction, and debugging the debugging command information in the storage space according to the debugging instruction to obtain the debugging result information corresponding to the debugging command information;
r01, the debugging result information is sent to a server side, so that the server side can store the debugging result information according to the debugging command information corresponding to the debugging result information.
In an implementation manner of the embodiment of the present invention, when a user needs to debug a system, similar to the foregoing steps, a packet tag to be debugged and debug command information corresponding to the packet tag need to be selected by a selection instruction first, and detailed steps are the same as the foregoing and are not described herein. After the debug command information is selected, the client further receives the instruction and determines whether the received instruction is a print instruction "hellp" or? Or exiting instruction "quis or q", if not, the client terminal will debug the debug command information selected by the user, obtain the result information of executing the corresponding instruction, namely debug result information, and send the debug result information to the server terminal, so that the server terminal can store the debug result information according to the debug command information corresponding to the debug result information.
Embodiment four:
referring to fig. 4, a processing apparatus for system debug result information in an embodiment of the present invention is shown, where the apparatus includes: a client 100 and a server 200;
the client 100 is configured to receive a debug result information query instruction, where the debug result information query instruction includes a packet tag to be queried and debug command information to be queried; the debug result information inquiry instruction is sent to the server 200;
the server 200 is configured to receive a debug result information query instruction sent by the client 100, and obtain debug result information corresponding to the debug result information to be queried from the storage space according to a packet label to be queried and debug command information to be queried contained in the debug result information query instruction; the storage space stores the grouping label, the debugging command information corresponding to the grouping label and the debugging result information corresponding to the debugging command information.
In one implementation manner of the embodiment of the present invention, the client is responsible for obtaining the instruction, performing system debugging, and interacting with the server or other components. The server is responsible for receiving requests from the server or each component, including information storage, information deletion, information printing and the like. The client may provide a visual environment for a user. The debugging of the whole system and the storage of the debugging data are completed uniformly through the device, the participation of system files is not needed, and the debugging of the system and the inquiry of the debugging result information are facilitated. The debugging result information is stored in a storage space of json storage format with high lightweight readability, and the debugging result information is stored in a lightweight manner and has high readability. In a specific embodiment, the device further comprises an external interface for providing functions of data storage, reading and the like. And unified service is provided for the outside through the external interface, so that the high-efficiency safety of the read-write of the debugging result information is ensured.
In summary, the present invention provides a method and an apparatus for processing system debug result information, where the method includes: receiving a debugging result information inquiry instruction; and acquiring the debugging result information corresponding to the debugging command information to be queried from a storage space according to the grouping label to be queried and the debugging command information to be queried contained in the debugging result information query instruction. According to the invention, the group label, the debug command information corresponding to the group label and the debug result information corresponding to the debug command information are pre-established for storing, and when the system debug result information is queried, the debug result information is directly obtained according to the to-be-queried group label and the to-be-queried debug command information contained in the debug result information query instruction, so that the debug result information does not need to be queried in a huge system file, the debug result information query speed is high, the efficiency is high, and the system development efficiency is improved.
It is to be understood that the system application of the present invention is not limited to the examples described above, and that modifications and variations may be made by those skilled in the art in light of the above teachings, all of which are intended to be within the scope of the invention as defined in the appended claims.

Claims (4)

1. A method for processing system debug result information, the method comprising:
receiving a debugging result information inquiry instruction;
before the step of receiving the debug result information query instruction, the method comprises the following steps:
establishing a storage space for storing debugging result information;
receiving and storing the debugging result information into the storage space;
the step of receiving and saving the debug result information to the storage space includes:
receiving a debugging instruction, and debugging the debugging command information in the storage space according to the debugging instruction to obtain the debugging result information corresponding to the debugging command information;
storing the debugging result information into the storage space according to the debugging command information corresponding to the debugging result information;
the storage space is in a json storage format with strong light weight and high readability;
setting an external interface for providing data storage and reading functions and a global array for storing information;
the debugging result information inquiry instruction comprises a first debugging result information inquiry instruction and a second debugging result information inquiry instruction;
inputting a first debugging result information inquiry command, and selecting a grouping label corresponding to the debugging result information to be inquired;
after selecting the group label, automatically displaying the corresponding debugging command information under the selected group label;
inputting a second debugging result information inquiry command, and selecting debugging command information corresponding to the debugging result information to be inquired to obtain the debugging result information;
according to the group label to be queried and the debug command information to be queried contained in the debug result information query instruction, automatically displaying the debug command information corresponding to the selected group label after selecting the group label, and acquiring the debug result information corresponding to the debug command information to be queried from a storage space; the debug result information obtained after the system is debugged is directly stored in the storage space;
the storage space stores the grouping label, the debugging command information corresponding to the grouping label and the debugging result information corresponding to the debugging command information;
the method further comprises the steps of:
receiving a debugging result information printing instruction;
obtaining debugging result information corresponding to the debugging command information to be printed from the storage space for printing according to the grouping label to be printed and the debugging command information to be printed contained in the debugging result information printing command;
the method further comprises the steps of:
receiving a debugging result information deleting instruction;
and deleting the debugging result information corresponding to the debugging command information to be deleted in the storage space according to the grouping label to be deleted and the debugging command information to be deleted contained in the debugging result information deleting command.
2. The processing method of the system debugging result information is characterized by being applied to a server, and comprises the following steps:
receiving a debugging result information inquiry instruction sent by a client;
before the step of receiving the debug result information query instruction sent by the client, the method comprises the following steps:
establishing a storage space for storing debugging result information;
receiving debugging result information sent by the client;
storing the debugging result information in the storage space according to the debugging command information corresponding to the debugging result information;
the storage space is in a json storage format with strong light weight and high readability;
setting an external interface for providing data storage and reading functions and a global array for storing information;
the debugging result information inquiry instruction comprises a first debugging result information inquiry instruction and a second debugging result information inquiry instruction;
inputting a first debugging result information inquiry command, and selecting a grouping label corresponding to the debugging result information to be inquired;
after selecting the group label, automatically displaying the corresponding debugging command information under the selected group label;
inputting a second debugging result information inquiry command, and selecting debugging command information corresponding to the debugging result information to be inquired to obtain the debugging result information;
according to the group label to be queried and the debug command information to be queried contained in the debug result information query instruction, automatically displaying the debug command information corresponding to the selected group label after selecting the group label, and acquiring the debug result information corresponding to the debug command information to be queried from a storage space; the debug result information obtained after the system is debugged is directly stored in the storage space;
the storage space stores the grouping label, the debugging command information corresponding to the grouping label and the debugging result information corresponding to the debugging command information;
the method further comprises the steps of:
receiving a debugging result information printing instruction sent by the client;
obtaining debugging result information corresponding to the debugging command information to be printed from the storage space for printing according to the grouping label to be printed and the debugging command information to be printed contained in the debugging result information printing command;
the method further comprises the steps of:
receiving a debugging result information deleting instruction sent by the client;
and deleting the debugging result information corresponding to the debugging command information to be deleted in the storage space according to the grouping label to be deleted and the debugging command information to be deleted contained in the debugging result information deleting command.
3. A method for processing system debug result information, which is applied to a client, the method comprising:
receiving a debugging result information inquiry instruction, wherein the debugging result information inquiry instruction comprises a first debugging result information inquiry instruction and a second debugging result information inquiry instruction; the debugging result information inquiry instruction contains a grouping label to be inquired and debugging command information to be inquired;
inputting a first debugging result information inquiry command, and selecting a grouping label corresponding to the debugging result information to be inquired;
after selecting the group label, automatically displaying the corresponding debugging command information under the selected group label;
inputting a second debugging result information inquiry command, and selecting debugging command information corresponding to the debugging result information to be inquired to obtain the debugging result information;
before the step of receiving the debug result information query instruction, the method further comprises the following steps:
establishing a storage space for storing debugging result information;
receiving a debugging instruction, and debugging the debugging command information in the storage space according to the debugging instruction to obtain the debugging result information corresponding to the debugging command information;
the debugging result information is sent to a server side, so that the server side stores the debugging result information according to the debugging command information corresponding to the debugging result information;
the storage space is in a json storage format with strong light weight and high readability;
setting an external interface for providing data storage and reading functions and a global array for storing information;
the debugging result information inquiry instruction is sent to a server side, so that the server side automatically displays the debugging command information corresponding to the selected grouping label after selecting the grouping label according to the grouping label to be inquired and the debugging command information to be inquired contained in the debugging result information inquiry instruction, and obtains the debugging result information corresponding to the debugging command information to be inquired from a storage space; the debug result information obtained after the system is debugged is directly stored in the storage space;
the method further comprises the steps of:
the client sends a debugging result information printing instruction to the server;
the server acquires the debugging result information corresponding to the debugging command information to be printed from the storage space according to the group label to be printed and the debugging command information to be printed contained in the debugging result information printing command and prints the debugging result information;
the method further comprises the steps of:
the client sends a debugging result information deleting instruction to the server;
and deleting the debugging result information corresponding to the debugging command information to be deleted in the storage space by the server according to the grouping label to be deleted and the debugging command information to be deleted which are contained in the debugging result information deleting instruction.
4. A processing apparatus for system debug result information, the apparatus comprising: the client and the server are used for receiving the information;
the client is used for receiving a debugging result information inquiry instruction, wherein the debugging result information inquiry instruction comprises a first debugging result information inquiry instruction and a second debugging result information inquiry instruction; inputting a first debugging result information inquiry command, and selecting a grouping label corresponding to the debugging result information to be inquired; after selecting the group label, automatically displaying the corresponding debugging command information under the selected group label; inputting a second debugging result information inquiry command, and selecting debugging command information corresponding to the debugging result information to be inquired to obtain the debugging result information; the debugging result information inquiry instruction comprises a grouping label to be inquired and debugging command information to be inquired; before the step of receiving the debug result information query instruction, the method further comprises the following steps: establishing a storage space for storing debugging result information; receiving a debugging instruction, and debugging the debugging command information in the storage space according to the debugging instruction to obtain the debugging result information corresponding to the debugging command information; the debugging result information is sent to a server side, so that the server side stores the debugging result information according to the debugging command information corresponding to the debugging result information; setting an external interface for providing data storage and reading functions and a global array for storing information; sending the debugging result information inquiry instruction to a server; the apparatus further comprises: the client sends a debugging result information printing instruction to the server; the server acquires the debugging result information corresponding to the debugging command information to be printed from the storage space according to the group label to be printed and the debugging command information to be printed contained in the debugging result information printing command and prints the debugging result information; the apparatus further comprises: the client sends a debugging result information deleting instruction to the server; the server deletes the debugging result information corresponding to the debugging command information to be deleted in the storage space according to the grouping label to be deleted and the debugging command information to be deleted contained in the debugging result information deleting command;
the server is configured to receive a debug result information query instruction sent by the client, and before the step of receiving the debug result information query instruction sent by the client, the server includes: establishing the storage space for storing debugging result information; receiving debugging result information sent by the client; storing the debugging result information in the storage space according to the debugging command information corresponding to the debugging result information; the storage space is in a json storage format with strong light weight and high readability; setting an external interface for providing data storage and reading functions and a global array for storing information; inputting a first debugging result information inquiry command, and selecting a grouping label corresponding to the debugging result information to be inquired; after selecting the group label, automatically displaying the corresponding debugging command information under the selected group label; inputting a second debugging result information inquiry command, and selecting debugging command information corresponding to the debugging result information to be inquired to obtain the debugging result information; according to the group label to be queried and the debug command information to be queried contained in the debug result information query instruction, automatically displaying the debug command information corresponding to the selected group label after selecting the group label, and acquiring the debug result information corresponding to the debug command information to be queried from the storage space; the storage space stores the grouping label, the debugging command information corresponding to the grouping label and the debugging result information corresponding to the debugging command information; the debug result information obtained after the system is debugged is directly stored in the storage space; the apparatus further comprises: receiving a debugging result information printing instruction sent by the client; obtaining debugging result information corresponding to the debugging command information to be printed from the storage space for printing according to the grouping label to be printed and the debugging command information to be printed contained in the debugging result information printing command; the apparatus further comprises: receiving a debugging result information deleting instruction sent by the client; and deleting the debugging result information corresponding to the debugging command information to be deleted in the storage space according to the grouping label to be deleted and the debugging command information to be deleted contained in the debugging result information deleting command.
CN201910859750.7A 2019-09-11 2019-09-11 System debugging result information processing method and device Active CN110674368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910859750.7A CN110674368B (en) 2019-09-11 2019-09-11 System debugging result information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910859750.7A CN110674368B (en) 2019-09-11 2019-09-11 System debugging result information processing method and device

Publications (2)

Publication Number Publication Date
CN110674368A CN110674368A (en) 2020-01-10
CN110674368B true CN110674368B (en) 2023-10-10

Family

ID=69077753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910859750.7A Active CN110674368B (en) 2019-09-11 2019-09-11 System debugging result information processing method and device

Country Status (1)

Country Link
CN (1) CN110674368B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279790A (en) * 2010-06-11 2011-12-14 国际商业机器公司 Distributed debugging method and system
WO2015184908A1 (en) * 2014-11-06 2015-12-10 中兴通讯股份有限公司 Reverse debug method, device and debugger
CN107908541A (en) * 2017-07-26 2018-04-13 平安壹钱包电子商务有限公司 Interface test method, device, computer equipment and storage medium
CN107908540A (en) * 2017-07-26 2018-04-13 平安壹钱包电子商务有限公司 Test case creation method, apparatus, computer equipment and medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257916A (en) * 2012-02-15 2013-08-21 深圳市金蝶友商电子商务服务有限公司 Method and system for displaying debugging information
CN108153676B (en) * 2017-12-26 2021-08-20 Oppo广东移动通信有限公司 Debugging management method and device, storage medium and terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279790A (en) * 2010-06-11 2011-12-14 国际商业机器公司 Distributed debugging method and system
WO2015184908A1 (en) * 2014-11-06 2015-12-10 中兴通讯股份有限公司 Reverse debug method, device and debugger
CN107908541A (en) * 2017-07-26 2018-04-13 平安壹钱包电子商务有限公司 Interface test method, device, computer equipment and storage medium
CN107908540A (en) * 2017-07-26 2018-04-13 平安壹钱包电子商务有限公司 Test case creation method, apparatus, computer equipment and medium

Also Published As

Publication number Publication date
CN110674368A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN108519967B (en) Chart visualization method and device, terminal and storage medium
KR102525502B1 (en) Method and apparatus for storing auto-drive test data, electronic device, storage medium and program
WO2016169145A1 (en) Cloud terminal log processing method, device and system
CN111159049A (en) Automatic interface testing method and system
CN106776314B (en) Test system
CN112612262A (en) Production line testing method and device for vehicle-mounted equipment, computer equipment and storage medium
CN112423135B (en) Information processing method, apparatus, computer device and storage medium for video playback
CN102043624B (en) Method for automatically programming intermediate communication interface and device
CN103049404A (en) Method and system for obtaining android cell phone model
WO2019104918A1 (en) Automatic test report management method and apparatus, device and storage medium
WO2009076827A1 (en) An automated testing method, system and a testing device
CN111125067B (en) Data maintenance method and device
CN110674368B (en) System debugging result information processing method and device
CN114465937A (en) Network card testing method, device, server, medium, and computer program product
CN113126993A (en) Automatic testing method and system applied to vehicle detection software
CN113760242A (en) Data processing method, device, server and medium
CN106375551B (en) Information interaction method, device and terminal
CN106909483B (en) A kind of test method of navigation module
CN107590076B (en) Method for acquiring service data, method and device for generating service data source
CN115599880A (en) Map legend configuration management method and terminal
CN111061977A (en) Website updating method, device and system
CN111078518B (en) Data acquisition method, terminal device and computer readable storage medium
CN114153895A (en) Construction method of real-time warehouse counting frame and real-time warehouse counting frame
CN106850546B (en) Map module software organization method of radar terminal
CN111966394A (en) ETL-based data analysis method, device, equipment and storage medium

Legal Events

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