CN113419912A - Interactive log system based on master and slave devices, realization method and interactive log system - Google Patents

Interactive log system based on master and slave devices, realization method and interactive log system Download PDF

Info

Publication number
CN113419912A
CN113419912A CN202110718452.3A CN202110718452A CN113419912A CN 113419912 A CN113419912 A CN 113419912A CN 202110718452 A CN202110718452 A CN 202110718452A CN 113419912 A CN113419912 A CN 113419912A
Authority
CN
China
Prior art keywords
log
slave device
service module
master
slave
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.)
Pending
Application number
CN202110718452.3A
Other languages
Chinese (zh)
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.)
Rockchip Electronics Co Ltd
Original Assignee
Rockchip 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 Rockchip Electronics Co Ltd filed Critical Rockchip Electronics Co Ltd
Priority to CN202110718452.3A priority Critical patent/CN113419912A/en
Publication of CN113419912A publication Critical patent/CN113419912A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2294Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by remote test
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications

Abstract

The invention relates to the field of embedded equipment, in particular to an interactive log system based on master and slave equipment, an implementation method and an interactive log system. The interactive log system based on the master-slave device comprises: the system comprises a master device and a slave device, wherein the master device is connected with the slave device; the master device includes: the system comprises a main device log service module and a log system; the slave device includes: a slave device log service module; the slave device log service module is used for acquiring a log of a slave device and sending the log of the slave device to the master device log service module; the master device log service module is used for: and receiving the log of the slave equipment, and sending the log of the slave equipment to the log system. Through the system, the slave computer can realize the efficient output of the log to the master device log system by arranging the master device log service module on the software layer, does not need extra hardware and software expenses, and is simple to realize and low in cost.

Description

Interactive log system based on master and slave devices, realization method and interactive log system
Technical Field
The invention relates to the field of embedded equipment, in particular to an interactive log system based on master and slave equipment, an implementation method and an interactive log system.
Background
Large electronic systems contain many subsystems. Some subsystems have very limited resources and are extremely difficult to develop and debug. As common typical examples: a BOX system and a WIFI subsystem; television system and wisdom camera subsystem etc.. Large electronic systems (BOX system/television system/mobile phone system, etc.) have abundant software and hardware resources, and are very convenient to develop and debug. Development and debugging of a resource-limited subsystem (such as a WIFI subsystem/an intelligent camera subsystem) are extremely difficult, especially in the whole machine development stage.
The subsystem is connected with the main system through an interface (such as SDIO/UART and the like), and the interface part is responsible for service data communication (such as WiFi and network data transmission through the SDIO interface). On one hand, the IO resources of the subsystem are limited, so that a debugging interface is not led out frequently, and on the other hand, the main system is designed to be simplified, so that the debugging interface of the subsystem is not led out frequently; therefore, when the subsystem encounters a problem, the debugging is difficult, the debugging interface leading out of the subsystem is often needed to be speculated or dismounted through information on the main system to debug and locate the problem, and the operation is complex.
Disclosure of Invention
Therefore, it is necessary to provide an interactive log system based on a master device and a slave device to solve the problem that the debugging of the subsystem with limited resources is difficult. The specific technical scheme is as follows:
an interactive logging system based on a master-slave device, comprising: the system comprises a master device and a slave device, wherein the master device is connected with the slave device;
the master device includes: the system comprises a main device log service module and a log system;
the slave device includes: a slave device log service module;
the slave device log service module is used for acquiring a log of a slave device and sending the log of the slave device to the master device log service module;
the master device log service module is used for: and receiving the log of the slave equipment, and sending the log of the slave equipment to the log system.
Further, the log system is configured to: and receiving the log of the slave device and outputting the log of the slave device.
Further, the master device log service module is further configured to: receiving an interactive instruction sent by a remote terminal, and sending the interactive instruction to the slave equipment log service module;
the slave device logging service module is further to: receiving the interactive execution, executing the interactive execution, and outputting a processing result to the main equipment log service module;
the master device log service module is further configured to: receiving the processing result and sending the processing result to a log system;
the logging system is to: and sending the processing result to the remote terminal.
Further, the master device is further configured to: after establishing a connection with the slave device, negotiating logging rules with the slave device, the logging rules including, but not limited to, one or more of: log classification, log output mode and log operation control;
the log rankings include one or more of: debug, info, error, total;
the log output pattern includes one or more of: outputting and dumping;
the log operation control includes one or more of: starting, stopping and updating parameters.
Further, the log system is further configured to: and performing hierarchical printing on the received logs of the slave devices according to log hierarchy.
Further, the master device has a log output capability, and the slave device does not have the log output capability;
the master device includes: a set-top box, a tablet, a smart speaker; the slave device includes: WIFI module, BT, GPS and NFC;
the connection mode of the master device and the slave device includes, but is not limited to, any one of the following: USB interface, SDIO high-speed interface.
In order to solve the technical problem, an interactive log system is also provided, and the specific technical scheme is as follows:
an interactive logging system comprising: the system comprises a main device, a slave device and a remote terminal, wherein the main device is respectively connected with the slave device and the remote terminal;
the master devices include, but are not limited to: the system comprises a main device log service module and a log system;
the slave device includes: a slave device log service module;
the remote terminal is configured to: sending an interactive instruction to the slave device log service module;
the master device log service module is used for: receiving an interactive instruction sent by a remote terminal, and sending the interactive instruction to the slave equipment log service module;
the slave device logging service module is configured to: receiving the interactive execution, executing the interactive execution, and outputting a processing result to the main equipment log service module;
the master device log service module is used for: receiving the processing result and sending the processing result to the log system;
the logging system is to: and sending the processing result to the remote terminal.
In order to solve the technical problem, a method for realizing an interactive log based on master and slave equipment is also provided, and the specific technical scheme is as follows:
a method for realizing interactive log based on master-slave equipment comprises the following steps:
the method comprises the following steps that a slave device log service module obtains a log of a slave device and sends the log of the slave device to a master device log service module;
the master device log service module receives the log of the slave device and sends the log of the slave device to a log system;
the main device log service module and the log system are installed in the main device;
the slave device log service module is installed in the slave device.
Further, the method also comprises the following steps:
the master equipment log service module receives an interactive instruction sent by a remote terminal and sends the interactive instruction to the slave equipment log service module;
the slave equipment log service module receives the interactive execution and executes the interactive execution, and outputs a processing result to the master equipment log service module;
the main equipment log service module receives the processing result and sends the processing result to a log system;
and the log system sends the processing result to the remote terminal.
Further, before the "slave device log service module obtains the log of the slave device", the method specifically includes the following steps: after the master device establishes a connection with the slave device, negotiating a logging rule with the slave device, wherein the logging rule includes, but is not limited to, one or more of the following: log classification, log output mode and log operation control;
the log rankings include one or more of: debug, info, error, total;
the log output pattern includes one or more of: outputting and dumping;
the log operation control includes one or more of: starting, stopping and updating parameters.
The invention has the beneficial effects that: an interactive logging system based on a master-slave device, comprising: the system comprises a master device and a slave device, wherein the master device is connected with the slave device; the master devices include, but are not limited to: the system comprises a main device log service module and a log system; the slave device includes: a slave device log service module; the slave device log service module is used for acquiring a log of a slave device and sending the log of the slave device to the master device log service module; the master device log service module is used for: receiving the log of the slave equipment, and sending the log of the slave equipment to the log system; the logging system is to: and receiving the log of the slave device and outputting the log of the slave device. Through the system, the logs can be efficiently output to the main equipment log system by arranging the main equipment log service module in the slave on the software level, the slave can be debugged in an auxiliary mode, extra hardware and software expenses are not needed, and the system is simple to implement and low in cost.
Furthermore, the log of the slave device is output through the log system of the master device, so that a third party can quickly obtain the log of the slave device, and further analyze the log of the slave device.
Furthermore, the master device can receive and forward the interactive execution of the remote terminal to the slave device, the slave device can execute the interactive instruction, and an execution result is returned to the remote terminal through the master device, so that the interaction between the slave device and the remote terminal is realized.
Furthermore, after the connection between the master device and the slave device is established, the master device negotiates with the slave device about the log rule, and both the log classification and the output mode of the master device are configurable, so that the flexibility of a log system of the master device is improved.
Drawings
FIG. 1 is a block diagram of an interactive logging system based on a master-slave device according to an embodiment;
FIG. 2 is a block diagram of an interactive logging system, in accordance with an illustrative embodiment;
FIG. 3 is a flowchart illustrating a method for implementing an interactive log based on a master device and a slave device according to an embodiment;
FIG. 4 is a flow diagram illustrating log processing by a master device and a slave device, in accordance with an exemplary embodiment;
fig. 5 is a flowchart illustrating an interaction instruction processing of the log service modules of the master device and the slave device according to the embodiment.
Description of reference numerals:
100. an interactive log system based on master and slave devices,
101. master device 1011, master device log service module 1012, log system,
102. a slave device, 1021, a slave device log service module,
200. an interactive logging system for logging of a plurality of objects,
201. master device, 2011, master device log service module, 2012, log system,
202. the slave device, 2021, slave device log service module,
203. and a remote terminal.
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Referring to fig. 1, in the present embodiment, the master device 101 refers to a complete embedded system, and has a complete log system 1012, and the log system 1012 of the master device 101 has an output capability, which can be output to other terminals, such as: a PC host. Slave device 102 refers to an incomplete embedded system and has no log output capability. The following is developed:
a master-slave device based interactive logging system 100, comprising: a master device 101 and a slave device 102, wherein the master device 101 is connected with the slave device 102; the master device 101 includes: a master device log service module 1011, a log system 1012; the slave device 102 includes: a slave device log service module 1021; the slave device log service module 1021 is configured to obtain a log of a slave device 102, and send the log of the slave device 102 to the master device log service module 1011; the master device log service module 1011 is configured to: receive the log of the slave device 102, and send the log of the slave device 102 to the log system 1012.
The following description is given by taking the master device 101 as a set-top box and the slave device 102 as a WIFI module: the set top box and the WIFI module are connected together through a USB/SDIO high-speed interface. The slave equipment log service module 1021 runs in the WIFI module; the set top box runs a master log service module 1011. Therefore, under the condition that hardware is not added, the log of the WIFI module can be forwarded to the log system 1012 of the set top box through the USB/SDIO channel.
It should be noted that, except that the above-mentioned master device 101 is a set-top box, the slave device 102 is a WIFI module. The master device 101 also includes, but is not limited to: flat panel, smart speakers; the slave device 102 also includes, but is not limited to: BT, GPS, NFC.
In practical application, a log daemon program can be run on the main device 101 side; establishing and logging session handshakes with the slave device 102; the log daemon receives the log of the slave device 102; the logging daemon writes the logs to the logging system 1012 (output or dump) of the primary device 101; the journal system 1012 supports hierarchical journal printing.
A master-slave device based interactive logging system 100, comprising: a master device 101 and a slave device 102, wherein the master device 101 is connected with the slave device 102; the master device 101 includes but is not limited to: a master device log service module 1011, a log system 1012; the slave device 102 includes: a slave device log service module 1021; the slave device log service module 1021 is configured to obtain a log of a slave device 102, and send the log of the slave device 102 to the master device log service module 1011; the master device log service module 1011 is configured to: receiving the log of the slave device 102, sending the log of the slave device 102 to the log system 1012; the logging system 1012 is configured to: receiving the log of the slave device 102, and outputting the log of the slave device 102. Through the system, the master device log service module 1011 arranged on the software layer in the slave device can efficiently output the logs to the master device 101 log system 1012, and the slave device 102 can be debugged in an auxiliary manner, so that extra hardware and software expenses are not needed, and the system is simple to implement and low in cost.
Further, the log system 1012 is configured to: receiving the log of the slave device 102, and outputting the log of the slave device 102. The log of the slave device 102 is output through the log system 1012 of the master device 101, so that a third party can quickly obtain the log of the slave device 102, and further analyze the log of the slave device 102.
Further, the master device log service module 1011 is further configured to: receiving an interactive instruction sent by a remote terminal, and sending the interactive instruction to the slave device log service module 1021; the slave device log service module 1021 is further configured to: receiving the interactive execution and executing the interactive execution, and outputting a processing result to the master device log service module 1011; the master device log service module 1011 is further configured to: receiving the processing result and sending the processing result to a log system 1012; the logging system 1012 is configured to: and sending the processing result to the remote terminal. The master device 101 may receive and forward the interactive execution of the remote terminal to the slave device 102, and the slave device 102 may execute the interactive instruction and return an execution result to the remote terminal through the master device 101, thereby implementing the interaction between the slave device 102 and the remote terminal.
Further, the master device 101 is further configured to: upon establishing a connection with the slave device 102, negotiating logging rules with the slave device 102, the logging rules including, but not limited to, one or more of: log classification, log output mode and log operation control; the log rankings include one or more of: debug, info, error, total; the log output pattern includes one or more of: outputting and dumping; the log operation control includes one or more of: starting, stopping and updating parameters.
After the connection between the master device 101 and the slave device 102 is established, the master device 101 negotiates with the slave device 102 about the log rule, and both the log classification and the output mode of the master device 101 are configurable, thereby improving the flexibility of the log system 1012 of the master device 101.
Further, the log system 1012 is further configured to: the received logs of the slave device 102 are printed hierarchically according to the log hierarchy.
Referring to fig. 2, in the present embodiment, an interactive log system 200 is implemented as follows:
an interactive logging system 200, comprising: the system comprises a master device 201, a slave device 202 and a remote terminal 203, wherein the master device 201 is connected with the slave device 202 and the remote terminal 203 respectively;
the master device 201 includes but is not limited to: a master log service module 2011, a log system 2012;
the slave device 202 includes: slave device log service module 2021;
the remote terminal 203 is configured to: sending an interaction instruction to the slave device log service module 2021;
the master device log service module 2011 is configured to: receiving an interactive instruction sent by the remote terminal 203, and sending the interactive instruction to the slave device log service module 2021;
the slave device log service module 2021 is configured to: receiving the interactive execution and executing the interactive execution, and outputting a processing result to the master device log service module 2011;
the master device log service module 2011 is configured to: receiving the processing result and sending the processing result to the log system 2012;
the log system 2012 is configured to: and sending the processing result to the remote terminal 203.
With the above interactive logging system 200, the remote terminal 203 device implements interactive control of the slave device 202 through the master device 201.
The following description is given by taking the master device 201 as a set-top box and the slave device 202 as a WIFI module: the set top box and the WIFI module are connected together through a USB/SDIO high-speed interface. The slave device log service module 2021 runs in the WIFI module; the set-top box runs a master log service module 2011. Therefore, under the condition that hardware is not added, the log of the WIFI module can be forwarded to the log system 2012 of the set top box through the USB/SDIO channel.
It should be noted that, except that the above-mentioned master device 201 is a set-top box, the slave device 202 is a WIFI module. The master device 201 also includes, but is not limited to: flat panel, smart speakers; the slave device 202 also includes, but is not limited to: BT, GPS, NFC.
In practical application, the log daemon may be run on the main device 201 side; establishing and slave device 202 log session handshakes; the log daemon receives the log of the slave device 202; the logging daemon writes the logs to the logging system 2012 (output or dump) of the master device 201; the journal system 1012 supports hierarchical journal printing.
Further, the log system 2012 is configured to: receiving the log of the slave device 202, and outputting the log of the slave device 202. The log of the slave device 202 is output through the log system 2012 of the master device 201, so that a third party can quickly obtain the log of the slave device 202, and further analyze the log of the slave device 202.
Further, the master device 201 is further configured to: after establishing a connection with the slave device 202, negotiating logging rules with the slave device 202, the logging rules including, but not limited to, one or more of: log classification, log output mode and log operation control; the log rankings include one or more of: debug, info, error, total; the log output pattern includes one or more of: outputting and dumping; the log operation control includes one or more of: starting, stopping and updating parameters.
After the connection between the master device 201 and the slave device 202 is established, the master device 201 negotiates with the slave device 202 for a log rule, and both the log classification and the output mode of the master device 201 are configurable, so that the flexibility of the log system 2012 of the master device 201 is improved.
Referring to fig. 3 to 5, an interactive logging method based on a master device and a slave device can be applied to the above-mentioned interactive logging system based on a master device and a slave device, or an interactive logging system. The method comprises the following specific steps:
step S301: and the slave equipment log service module acquires the log of the slave equipment and sends the log of the slave equipment to the master equipment log service module.
Step S302: the master device log service module receives the log of the slave device and sends the log of the slave device to a log system; the main device log service module and the log system are installed in the main device; the slave device log service module is installed in the slave device.
The following description is developed by taking the master device as a set top box and the slave device as a WIFI module: the set top box and the WIFI module are connected together through a USB/SDIO high-speed interface. The WIFI module runs a slave device log service module; and the set-top box runs a main device log service module. Therefore, under the condition that hardware is not added, the log of the WIFI module can be forwarded to a log system of the set top box through the USB/SDIO channel.
It should be noted that, except that the above-mentioned master device is a set-top box, the slave device is a WIFI module. The master device also includes, but is not limited to: flat panel, smart speakers; the slave devices also include, but are not limited to: BT, GPS, NFC.
In practical application, as shown in fig. 4, the following may be used:
step S401: and the main equipment side runs a log daemon.
Step S402: establish and slave device log session handshakes.
Step S403: the log daemon receives the log of the slave device.
Step S404: the logging daemon writes the log to the logging system (output or dump) of the master device.
Step S405: and the log system performs graded printing on the log according to the grading rule.
A method for realizing interactive log based on master-slave equipment comprises the following steps: the method comprises the following steps that a slave device log service module obtains a log of a slave device and sends the log of the slave device to a master device log service module; the master device log service module receives the log of the slave device and sends the log of the slave device to a log system; the main device log service module and the log system are installed in the main device; the slave device log service module is installed in the slave device. By the method, the slave computer can efficiently output the log to the master device log system by arranging the master device log service module on the software layer, does not need extra hardware and software expenses, and is simple to implement and low in cost.
Further, the method also comprises the following steps: the log system receives the log of the slave device and outputs the log of the slave device. And outputting the log of the slave equipment through a log system of the master equipment, so that a third party can quickly obtain the log of the slave equipment and further analyze the log of the slave equipment.
Referring to fig. 5, further, the method further includes the steps of:
step S501: and the master equipment log service module receives an interactive instruction sent by a remote terminal and sends the interactive instruction to the slave equipment log service module.
Step S502: and the slave equipment log service module receives the interactive execution and executes the interactive execution, and outputs a processing result to the master equipment log service module.
Step S503: and the main equipment log service module receives the processing result and sends the processing result to a log system.
Step S504: and the log system sends the processing result to the remote terminal.
The master device can receive and forward the interactive execution of the remote terminal to the slave device, the slave device can execute the interactive instruction, and an execution result is returned to the remote terminal through the master device, so that the interaction between the slave device and the remote terminal is realized.
Further, before the "slave device log service module obtains the log of the slave device", the method specifically includes the following steps: after the master device establishes a connection with the slave device, negotiating a logging rule with the slave device, wherein the logging rule includes, but is not limited to, one or more of the following: log classification, log output mode and log operation control;
the log rankings include one or more of: debug, info, error, total;
the log output pattern includes one or more of: outputting and dumping;
the log operation control includes one or more of: starting, stopping and updating parameters.
After the connection between the master device and the slave device is established, the master device negotiates with the slave device about the log rule, and both the log classification and the output mode of the master device are configurable, so that the flexibility of a log system of the master device is improved.
It should be noted that, although the above embodiments have been described herein, the invention is not limited thereto. Therefore, based on the innovative concepts of the present invention, the technical solutions of the present invention can be directly or indirectly applied to other related technical fields by making changes and modifications to the embodiments described herein, or by using equivalent structures or equivalent processes performed in the content of the present specification and the attached drawings, which are included in the scope of the present invention.

Claims (10)

1. An interactive logging system based on a master device and a slave device, comprising: the system comprises a master device and a slave device, wherein the master device is connected with the slave device;
the master device includes: the system comprises a main device log service module and a log system;
the slave device includes: a slave device log service module;
the slave device log service module is used for acquiring a log of a slave device and sending the log of the slave device to the master device log service module;
the master device log service module is used for: and receiving the log of the slave equipment, and sending the log of the slave equipment to the log system.
2. The master-slave device based interactive logging system of claim 1,
the logging system is to: and receiving the log of the slave device and outputting the log of the slave device.
3. The master-slave device based interactive logging system of claim 1, wherein the master device logging service module is further configured to: receiving an interactive instruction sent by a remote terminal, and sending the interactive instruction to the slave equipment log service module;
the slave device logging service module is further to: receiving the interactive execution, executing the interactive execution, and outputting a processing result to the main equipment log service module;
the master device log service module is further configured to: receiving the processing result and sending the processing result to a log system;
the logging system is to: and sending the processing result to the remote terminal.
4. The master-slave device based interactive logging system of claim 1, wherein the master device is further configured to: after establishing a connection with the slave device, negotiating logging rules with the slave device, the logging rules including, but not limited to, one or more of: log classification, log output mode and log operation control;
the log rankings include one or more of: debug, info, error, total;
the log output pattern includes one or more of: outputting and dumping;
the log operation control includes one or more of: starting, stopping and updating parameters.
5. The master-slave device based interactive logging system of claim 1, wherein the logging system is further configured to: and performing hierarchical printing on the received logs of the slave devices according to log hierarchy.
6. The interactive logging system as claimed in any one of claims 1 to 5, wherein said master device has logging output capability, and said slave device has no logging output capability;
the master devices include, but are not limited to: a set-top box, a tablet, a smart speaker; the slave devices include, but are not limited to: WIFI module, BT, GPS and NFC;
the connection mode of the master device and the slave device includes, but is not limited to, any one of the following: USB interface, SDIO high-speed interface.
7. An interactive logging system, comprising: the system comprises a main device, a slave device and a remote terminal, wherein the main device is respectively connected with the slave device and the remote terminal;
the master devices include, but are not limited to: the system comprises a main device log service module and a log system;
the slave device includes: a slave device log service module;
the remote terminal is configured to: sending an interactive instruction to the slave device log service module;
the master device log service module is used for: receiving an interactive instruction sent by a remote terminal, and sending the interactive instruction to the slave equipment log service module;
the slave device logging service module is configured to: receiving the interactive execution, executing the interactive execution, and outputting a processing result to the main equipment log service module;
the master device log service module is used for: receiving the processing result and sending the processing result to the log system;
the logging system is to: and sending the processing result to the remote terminal.
8. A method for realizing interactive log based on master-slave equipment is characterized by comprising the following steps:
the method comprises the following steps that a slave device log service module obtains a log of a slave device and sends the log of the slave device to a master device log service module;
the master device log service module receives the log of the slave device and sends the log of the slave device to a log system;
the main device log service module and the log system are installed in the main device;
the slave device log service module is installed in the slave device.
9. The method for implementing master-slave device-based interactive logging as claimed in claim 8, further comprising the steps of:
the master equipment log service module receives an interactive instruction sent by a remote terminal and sends the interactive instruction to the slave equipment log service module;
the slave equipment log service module receives the interactive execution and executes the interactive execution, and outputs a processing result to the master equipment log service module;
the main equipment log service module receives the processing result and sends the processing result to a log system;
and the log system sends the processing result to the remote terminal.
10. The method according to claim 8, wherein before the slave device log service module obtains the log of the slave device, the method further comprises: after the master device establishes a connection with the slave device, negotiating a logging rule with the slave device, wherein the logging rule includes, but is not limited to, one or more of the following: log classification, log output mode and log operation control;
the log rankings include one or more of: debug, info, error, total;
the log output pattern includes one or more of: outputting and dumping;
the log operation control includes one or more of: starting, stopping and updating parameters.
CN202110718452.3A 2021-06-28 2021-06-28 Interactive log system based on master and slave devices, realization method and interactive log system Pending CN113419912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110718452.3A CN113419912A (en) 2021-06-28 2021-06-28 Interactive log system based on master and slave devices, realization method and interactive log system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110718452.3A CN113419912A (en) 2021-06-28 2021-06-28 Interactive log system based on master and slave devices, realization method and interactive log system

Publications (1)

Publication Number Publication Date
CN113419912A true CN113419912A (en) 2021-09-21

Family

ID=77717028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110718452.3A Pending CN113419912A (en) 2021-06-28 2021-06-28 Interactive log system based on master and slave devices, realization method and interactive log system

Country Status (1)

Country Link
CN (1) CN113419912A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321210A (en) * 2008-07-04 2008-12-10 深圳华为通信技术有限公司 Long-range control method, primary device and far-end equipment
US20140101106A1 (en) * 2012-10-09 2014-04-10 Hon Hai Precision Industry Co., Ltd. Log server and log file storage method
CN107132819A (en) * 2016-02-26 2017-09-05 欧姆龙株式会社 Obtain the apparatus and method of daily record data
CN110087220A (en) * 2019-05-29 2019-08-02 上海驰盈机电自动化技术有限公司 A kind of Communication of Muti-robot System and tele-control system
CN110597687A (en) * 2019-08-27 2019-12-20 厦门亿联网络技术股份有限公司 Log processing method and device
CN111176967A (en) * 2019-12-28 2020-05-19 北京浪潮数据技术有限公司 Query method and device for remote out-of-band SSD log information and BMC
CN111274059A (en) * 2020-01-21 2020-06-12 浙江大华技术股份有限公司 Software exception handling method and device for slave equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321210A (en) * 2008-07-04 2008-12-10 深圳华为通信技术有限公司 Long-range control method, primary device and far-end equipment
US20140101106A1 (en) * 2012-10-09 2014-04-10 Hon Hai Precision Industry Co., Ltd. Log server and log file storage method
CN107132819A (en) * 2016-02-26 2017-09-05 欧姆龙株式会社 Obtain the apparatus and method of daily record data
CN110087220A (en) * 2019-05-29 2019-08-02 上海驰盈机电自动化技术有限公司 A kind of Communication of Muti-robot System and tele-control system
CN110597687A (en) * 2019-08-27 2019-12-20 厦门亿联网络技术股份有限公司 Log processing method and device
CN111176967A (en) * 2019-12-28 2020-05-19 北京浪潮数据技术有限公司 Query method and device for remote out-of-band SSD log information and BMC
CN111274059A (en) * 2020-01-21 2020-06-12 浙江大华技术股份有限公司 Software exception handling method and device for slave equipment

Similar Documents

Publication Publication Date Title
CN107678778B (en) Hybrid-based compatible method, adapter, operation device and system
CN102866925B (en) Communication method and system for middleware and user interface
CN102694866A (en) Service request broker system in distributed network environment
CN104298579A (en) Logic chip and board card device with same
CN110727581B (en) Crash positioning method and electronic equipment
WO2022100540A1 (en) Unmanned aerial vehicle system fault diagnosis method and apparatus, electronic device, and storage medium
CN111782530B (en) Remote debugging method, device, system, electronic equipment and storage medium
CN111413888B (en) Semi-physical simulation method and system
CN114205230A (en) Method, system, medium and electronic device for configuring cloud native network element
CN114510452A (en) SOC (System on chip) integration method and device and electronic equipment
CN101964923A (en) Configuration system and method for interactive commands
KR20050034661A (en) Automatic testing system for mobile software and service
CN107172013B (en) Data transmission method and system
CN113419912A (en) Interactive log system based on master and slave devices, realization method and interactive log system
CN116149808A (en) Robot flow automatic management system and method
CN115981928A (en) Processor remote debugging method, system and storage medium
CN114745313A (en) Terminal remote testing method and device, electronic equipment and readable medium
CN114741275A (en) Equipment debugging method, device and equipment
CN113656152A (en) Local simulation method, system, medium and electronic device based on container cloud environment
CN112511636A (en) Data transmission system, method, device, computer equipment and storage medium
CN112039850A (en) Communication protocol configuration method of intelligent display control terminal test equipment
CN106850546B (en) Map module software organization method of radar terminal
CN110968566A (en) Migration tool-based domestic application system migration method
CN113395293B (en) Network socket realizing method based on RPC
CN109871288A (en) Execute method, apparatus, equipment and the medium of android system order

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210921