Movatterモバイル変換


[0]ホーム

URL:


CN113190410A - Log collection method, system, client and storage medium - Google Patents

Log collection method, system, client and storage medium
Download PDF

Info

Publication number
CN113190410A
CN113190410ACN202110507049.6ACN202110507049ACN113190410ACN 113190410 ACN113190410 ACN 113190410ACN 202110507049 ACN202110507049 ACN 202110507049ACN 113190410 ACN113190410 ACN 113190410A
Authority
CN
China
Prior art keywords
log
client
thread
remote device
configuration information
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
CN202110507049.6A
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.)
Shanghai Simcom Wireless Solutions Co Ltd
Original Assignee
Shanghai Simcom Wireless Solutions Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Simcom Wireless Solutions Co LtdfiledCriticalShanghai Simcom Wireless Solutions Co Ltd
Priority to CN202110507049.6ApriorityCriticalpatent/CN113190410A/en
Publication of CN113190410ApublicationCriticalpatent/CN113190410A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例涉及通信领域,公开了一种日志收集方法、系统、客户端和存储介质,所述日志收集方法应用于客户端,所述客户端与至少一个客户服务器存在用于业务数据传输的通信连接,所述方法包括:接收所述客户服务器转发的来自远端设备的日志控制消息,其中所述日志控制消息包含客户配置信息;根据所述客户配置信息创建用于获取日志文件的日志捕捉线程;将通过所述日志捕捉线程获取到的日志文件发送至所述远端设备或所述远端设备指定的日志保存设备。应用于日志收集过程中,实现模组日志信息的远程获取。

Figure 202110507049

Embodiments of the present invention relate to the field of communications, and disclose a log collection method, system, client, and storage medium. The log collection method is applied to a client, and the client and at least one client server have a log for service data transmission. communication connection, the method includes: receiving a log control message from a remote device forwarded by the client server, wherein the log control message includes client configuration information; creating a log capture for obtaining a log file according to the client configuration information thread; sending the log file obtained through the log capture thread to the remote device or a log storage device designated by the remote device. It is used in the process of log collection to realize remote acquisition of module log information.

Figure 202110507049

Description

Translated fromChinese
日志收集方法、系统、客户端和存储介质Log collection method, system, client and storage medium

技术领域technical field

本发明实施例涉及通信领域,特别涉及一种日志收集方法、系统、客户端和存储介质。Embodiments of the present invention relate to the field of communications, and in particular, to a log collection method, system, client and storage medium.

背景技术Background technique

目前,模组产品作为通信设备的一部分,部署范围非常广,部署场景多种多样,可能遇到各种故障和问题,有些问题由于模组产品部署场景地处偏远或环境特殊,问题点分布比较离散,对模组日志信息收集产生了很多困扰。传统的模组日志信息收集方法是大多人工现场采集。At present, as a part of communication equipment, module products are deployed in a wide range and in various deployment scenarios. Various faults and problems may be encountered. Some problems are due to the remote location of module product deployment scenarios or special environments, and the distribution of problem points is relatively Discrete, causing a lot of trouble for the collection of module log information. The traditional method of collecting module log information is mostly manual on-site collection.

然而,由于大多模组产品被设置在通信设备内部,不一定预留USB接口,无法进行日志信息收集,需要进行额外的操作(如:飞线)。另外,无线通信环境复杂,同一批次设备在不同地点,不同场景,问题现象表现不同,需要具体问题具体分析,这就要求每一个点都需要人工现场收集信息。总之,人工现场采集日志信息在实际应用过程中限制较多,还需要耗费许多人力。However, since most of the module products are installed inside the communication device, the USB interface is not necessarily reserved, and log information cannot be collected, and additional operations (such as flying leads) are required. In addition, the wireless communication environment is complex. The same batch of equipment is located in different locations and in different scenarios, and the problem phenomenon is different. Specific analysis of specific problems is required, which requires manual on-site information collection at each point. In short, manual on-site collection of log information has many limitations in the actual application process, and requires a lot of manpower.

发明内容SUMMARY OF THE INVENTION

本发明实施方式的目的在于提供一种日志收集方法、系统、客户端和存储介质,实现日志信息的远程收集。The purpose of the embodiments of the present invention is to provide a log collection method, system, client and storage medium to realize remote collection of log information.

为解决上述技术问题,本发明的实施方式提供了一种日志收集方法,应用于客户端,所述客户端与至少一个客户服务器存在用于业务数据传输的通信连接,所述方法包括:接收所述客户服务器转发的来自远端设备的日志控制消息,其中所述日志控制消息包含客户配置信息;根据所述客户配置信息创建用于获取日志文件的日志捕捉线程;将通过所述日志捕捉线程获取到的日志文件发送至所述远端设备或所述远端设备指定的日志保存设备。In order to solve the above technical problems, an embodiment of the present invention provides a log collection method, which is applied to a client, where the client has a communication connection with at least one client server for service data transmission, and the method includes: receiving all the logs. The log control message from the remote device forwarded by the client server, wherein the log control message includes client configuration information; create a log capture thread for acquiring log files according to the client configuration information; will be obtained through the log capture thread The received log file is sent to the remote device or the log storage device designated by the remote device.

本发明的实施方式还提供了一种日志收集系统,包括:远端设备、客户端以及至少一个客户服务器;所述远端设备与所述客户服务器通信连接,所述客户服务器与所述客户端存在用于业务数据传输的通信连接;其中,An embodiment of the present invention further provides a log collection system, including: a remote device, a client, and at least one client server; the remote device is connected in communication with the client server, and the client server is connected to the client There is a communication connection for service data transmission; wherein,

远端设备,用于经客户服务器向客户端发送日志控制消息;The remote device is used to send log control messages to the client via the client server;

所述客户端,用于接收所述客户服务器转发的来自所述远端设备的日志控制消息,其中所述日志控制消息包含客户配置信息,根据所述客户配置信息创建用于获取日志文件的日志捕捉线程,将通过所述日志捕捉线程获取到的日志文件发送至所述远端设备或所述远端设备指定的日志保存设备。The client is configured to receive a log control message from the remote device forwarded by the client server, wherein the log control message includes client configuration information, and a log for obtaining a log file is created according to the client configuration information A capture thread, which sends the log file obtained through the log capture thread to the remote device or a log storage device designated by the remote device.

本发明的实施方式还提供了一种客户端,包括:Embodiments of the present invention also provide a client, including:

至少一个处理器;以及,at least one processor; and,

与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行以上所述的日志收集方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the log collection method described above.

本发明的实施方式还提供了一种计算机可读存储介质,存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现以上所述的日志收集方法。An embodiment of the present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program implements the above-mentioned log collection method when executed by a processor.

本发明实施方式相对于现有技术而言,通过接收客户服务器转发的来自远端设备发送的日志控制消息,开始启动日志收集流程,客户端通过获取日志控制消息中的客户配置信息,创建日志捕捉线程获取日志文件,将获取到的日志文件发送给远端设备或远端设备指定的日志保存设备。对于需要收集日志文件的远端设备来说,只需发送日志控制消息即可获取日志文件,并不用关心待收集日志文件的目标对象内部如何实现,实现了日志的远程收集,过程简单快速。Compared with the prior art, the embodiment of the present invention starts the log collection process by receiving the log control message forwarded by the client server and sent from the remote device, and the client creates the log capture by acquiring the client configuration information in the log control message. The thread obtains the log file, and sends the obtained log file to the remote device or the log storage device specified by the remote device. For remote devices that need to collect log files, log files can be obtained only by sending log control messages, and there is no need to care about how the target object of the log files to be collected is implemented.

另外,本发明实施方式提供的日志收集方法,所述客户端包括Modem侧处理器和AP侧处理器;所述根据所述客户配置信息创建用于获取日志文件的日志捕捉线程,包括:将接收的所述客户配置信息发送给所述Modem侧处理器;所述Modem侧处理器通过预先规定的通信接口消息将所述客户配置信息发送给所述AP侧处理器;所述AP侧处理器根据所述客户配置信息创建用于获取所述日志文件的日志捕捉线程。通过客户端中的Modem侧处理器接收客户配置信息并转发给AP侧处理器,由AP侧处理器创建日志捕捉线程,快速实现日志捕捉。In addition, in the log collection method provided by the embodiment of the present invention, the client includes a Modem side processor and an AP side processor; the creating a log capture thread for acquiring log files according to the client configuration information includes: receiving The client configuration information is sent to the Modem-side processor; the Modem-side processor sends the client configuration information to the AP-side processor through a predetermined communication interface message; the AP-side processor is based on The client configuration information creates a log capture thread for obtaining the log file. The client configuration information is received by the modem-side processor in the client and forwarded to the AP-side processor. The AP-side processor creates a log capture thread to quickly realize log capture.

另外,本发明实施方式提供的日志收集方法,所述将通过所述日志捕捉线程获取到的日志文件发送至所述远端设备或所述远端设备指定的日志保存设备,包括:当所述远端设备为服务器时,将通过所述日志捕捉线程获取到的日志文件,经所述客户服务器发送至所述远端设备;当所述远端设备为客户端时,将通过所述日志捕捉线程获取到的日志文件直接发送至所述远端设备指定的日志保存设备。获取到的日志文件需要占据庞大的存储空间,当远端设备为客户端,无法完整存储庞大的日志文件,需要存储到远端设备预先指定的日志保存设备中。In addition, in the log collection method provided by the embodiment of the present invention, the sending the log file obtained through the log capture thread to the remote device or the log storage device designated by the remote device includes: when the log file is When the remote device is a server, the log file obtained by the log capture thread will be sent to the remote device through the client server; when the remote device is a client, the log file will be captured by the log The log file obtained by the thread is directly sent to the log storage device designated by the remote device. The obtained log files need to occupy a huge storage space. When the remote device is a client, it cannot completely store the huge log files. It needs to be stored in the log storage device pre-specified by the remote device.

另外,本发明实施方式提供的日志收集方法,所述当所述远端设备为客户端时,将通过所述日志捕捉线程获取到的日志文件直接发送至所述远端设备指定的日志保存设备,包括:当所述远端设备为客户端时,根据所述客户配置信息,创建日志传输线程,其中所述客户配置信息包含用于指定日志保存设备的日志保存信息;通过所述日志传输线程与所述指定的日志保存设备建立通信连接;将通过所述日志捕捉线程获取到的日志文件,经所述日志传输线程直接发送至所述指定的日志保存设备。通过日志传输线程将日志文件直接发送至远端设备指定的日志保存设备中,不经客户服务器转发,传输过程更加快捷。In addition, in the log collection method provided by the embodiment of the present invention, when the remote device is a client, the log file obtained through the log capture thread is directly sent to the log storage device designated by the remote device , including: when the remote device is a client, creating a log transmission thread according to the client configuration information, wherein the client configuration information includes log storage information for specifying a log storage device; through the log transmission thread A communication connection is established with the designated log storage device; the log file obtained through the log capture thread is directly sent to the designated log storage device through the log transmission thread. The log file is directly sent to the log storage device designated by the remote device through the log transmission thread, without being forwarded by the client server, and the transmission process is faster.

另外,本发明实施方式提供的日志收集方法,所述将通过所述日志捕捉线程获取到的日志文件发送至所述远端设备或所述远端设备指定的日志保存设备之后,还包括:接收所述客户服务器转发的来自远端设备发送的日志捕捉终止消息;根据所述日志捕捉终止消息终止所述日志捕捉线程的日志文件获取。In addition, in the log collection method provided by the embodiment of the present invention, after the log file obtained through the log capture thread is sent to the remote device or a log storage device designated by the remote device, the method further includes: receiving The log capture termination message sent by the remote device forwarded by the client server; and the log file acquisition of the log capture thread is terminated according to the log capture termination message.

另外,本发明实施方式提供的日志收集系统,所述客户端包括Modem侧处理器和AP侧处理器;所述Modem侧处理器用于接收所述客户端发送的所述客户配置信息,并通过预先规定的通信接口消息将所述客户配置信息发送给所述AP侧处理器;所述AP侧处理器,用于根据所述客户配置信息创建用于获取日志文件的日志捕捉线程。In addition, in the log collection system provided by the embodiment of the present invention, the client includes a Modem-side processor and an AP-side processor; the Modem-side processor is configured to receive the client configuration information sent by the client, and pre- The specified communication interface message sends the client configuration information to the AP-side processor; the AP-side processor is configured to create a log capture thread for acquiring log files according to the client configuration information.

附图说明Description of drawings

一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings, and these exemplifications do not constitute limitations of the embodiments, and elements with the same reference numerals in the drawings are denoted as similar elements, Unless otherwise stated, the figures in the accompanying drawings do not constitute a scale limitation.

图1是本发明的第一实施方式提供的日志收集方法的流程图;1 is a flowchart of a log collection method provided by a first embodiment of the present invention;

图2是本发明的第二实施方式提供的日志收集方法的流程图;2 is a flowchart of a log collection method provided by a second embodiment of the present invention;

图3是本发明的第三实施方式提供的日志收集方法的流程图;3 is a flowchart of a log collection method provided by a third embodiment of the present invention;

图4是本发明的第四实施方式提供的日志收集方法的流程图一;4 is a flowchart 1 of a log collection method provided by a fourth embodiment of the present invention;

图5是本发明的第四实施方式提供的日志收集方法的流程图二;5 is a second flowchart of a log collection method provided by a fourth embodiment of the present invention;

图6是本发明的第五实施方式提供的日志收集方法的流程图;6 is a flowchart of a log collection method provided by a fifth embodiment of the present invention;

图7是本发明的第六实施方式提供的日志收集系统的结构示意图;7 is a schematic structural diagram of a log collection system provided by a sixth embodiment of the present invention;

图8是本发明的第六实施方式提供的日志收集系统中客户端702的结构示意图;8 is a schematic structural diagram of aclient 702 in a log collection system provided by a sixth embodiment of the present invention;

图9是本发明的第七实施方式提供的客户端的结构示意图。FIG. 9 is a schematic structural diagram of a client provided by a seventh embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本发明各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请所要求保护的技术方案。以下各个实施例的划分是为了描述方便,不应对本发明的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合相互引用。In order to make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art can appreciate that, in the various embodiments of the present invention, many technical details are set forth in order for the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present application can be realized. The following divisions of the various embodiments are for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention, and the various embodiments may be combined with each other and referred to each other on the premise of not contradicting each other.

本发明的第一实施方式涉及一种日志收集方法,应用于客户端,客户端与至少一个客户服务器存在用于业务数据传输的通信连接,具体流程如图1所示,包括:The first embodiment of the present invention relates to a log collection method, which is applied to a client. The client and at least one client server have a communication connection for service data transmission. The specific process is shown in FIG. 1 , including:

步骤101,接收客户服务器转发的来自远端设备的日志控制消息,其中日志控制消息包含客户配置信息。Step 101: Receive a log control message from a remote device forwarded by the client server, where the log control message includes client configuration information.

具体地说,本实施方式中的远端设备可以是服务器,或客户端等用于发起日志收集的网络设备,客户端为待收集日志文件的目标对象,客户端与至少一个客户服务器存在用于业务数据传输的通信连接,需要说明的是,客户端与客户服务器之间在日志远程收集过程中也需要完成客户的正常业务,因此客户端与客户服务器一直保持通信连接,有数据交互,远端设备借用这条连接,只需与客户服务器建立连接即可开始日志远程收集的流程。Specifically, the remote device in this embodiment may be a server, or a network device such as a client for initiating log collection, the client is the target object of the log file to be collected, and the client and at least one client server exist for For the communication connection of business data transmission, it should be noted that the client and the client server also need to complete the normal business of the client during the remote log collection process. Therefore, the client and the client server always maintain a communication connection. The device borrows this connection and only needs to establish a connection with the client server to start the process of remote log collection.

另外,远端设备和客户服务器的通信连接可以是TCP连接,或UDP连接,或IP连接等任一种连接方式,当然用户设备和远端设备消息的发送接收遵循相应的通信协议和消息封装格式。需要说明的是,在建立TCP/IP连接之前,需要先进行PPP(Point to PointProtocol)拨号,PPP即点对点协议。In addition, the communication connection between the remote device and the client server can be a TCP connection, a UDP connection, or an IP connection. Of course, the sending and receiving of messages between the user device and the remote device follows the corresponding communication protocol and message encapsulation format. . It should be noted that, before establishing a TCP/IP connection, you need to perform PPP (Point to Point Protocol) dial-up. PPP is a point-to-point protocol.

步骤102,根据客户配置信息创建用于获取日志文件的日志捕捉线程。Step 102: Create a log capture thread for acquiring log files according to the client configuration information.

具体地说,客户配置信息可以包含日志配置信息,日志问题信息,日志保存服务器信息等等,当然此处仅为具体的举例说明,实际使用过程中可以包含其他信息。另外,日志文件的收集一般来说用于在设备发生故障时分析判断故障原因,因此,本实施方式中的客户配置信息可以通过发起日志信息收集的客户手动输入日志配置信息,日志问题信息,日志保存服务器信息等,也可以当故障发生时,自动触发日志收集流程,远端设备自动配置与故障类型相匹配的日志配置信息、日志问题信息、日志保存服务器信息等客户配置信息。Specifically, the client configuration information may include log configuration information, log problem information, log storage server information, etc. Of course, this is only a specific example, and other information may be included in the actual use process. In addition, the collection of log files is generally used to analyze and determine the cause of the failure when a device fails. Therefore, the customer configuration information in this embodiment can be manually input by the customer who initiates log information collection. Log configuration information, log problem information, log Save server information, etc., or automatically trigger the log collection process when a fault occurs, and the remote device automatically configures the log configuration information, log problem information, log storage server information and other customer configuration information that matches the fault type.

步骤103,将通过日志捕捉线程获取到的日志文件发送至远端设备或远端设备指定的日志保存设备。Step 103: Send the log file obtained through the log capture thread to the remote device or the log storage device designated by the remote device.

具体地说,当远端设备需要收集客户端中某一模组或单元的日志文件时,日志捕捉线程则通过监听该模组或单元的各个通信端口获取改模组或单元的日志文件。也就是说,可以根据客户配置信息来确定所创建的日志捕捉线程获取日志文件的具体目标对象。Specifically, when the remote device needs to collect log files of a module or unit in the client, the log capture thread obtains the log files of the module or unit by monitoring each communication port of the module or unit. That is to say, the specific target object from which the created log capture thread obtains the log file can be determined according to the client configuration information.

另外,完整的日志文件一般需要占据庞大的存储空间,如果将所有日志文件一起发送会导致传输效率极低,耗费大量时间,一旦通信连接中断或故障,则需要重新传输所有日志文件。因此,在日志文件传输时可以将日志文件分割为多个子文件进行传输,或者进行编码处理打包为特定格式的日志文件,或者进行压缩处理。In addition, the complete log file generally needs to occupy a huge storage space. If all log files are sent together, the transmission efficiency will be extremely low and it will take a lot of time. Once the communication connection is interrupted or faulty, all log files need to be retransmitted. Therefore, when the log file is transmitted, the log file can be divided into multiple sub-files for transmission, or the log file can be packaged into a log file of a specific format through encoding processing, or compressed.

本发明实施方式相对于现有技术而言,通过接收客户服务器转发的来自远端设备发送的日志控制消息,开始启动日志收集流程,客户端通过获取日志控制消息中的客户配置信息,创建日志捕捉线程获取日志文件,将获取到的日志文件发送给远端设备或远端设备指定的日志保存设备。对于需要收集日志文件的远端设备来说,只需发送日志控制消息即可获取日志文件,并不用关心待收集日志文件的目标对象内部如何实现,实现了日志的远程收集,过程简单快速。Compared with the prior art, the embodiment of the present invention starts the log collection process by receiving the log control message forwarded by the client server and sent from the remote device, and the client creates the log capture by acquiring the client configuration information in the log control message. The thread obtains the log file, and sends the obtained log file to the remote device or the log storage device specified by the remote device. For remote devices that need to collect log files, log files can be obtained only by sending log control messages, and there is no need to care about how the target object of the log files to be collected is implemented.

本发明的第二实施方式涉及一种日志收集方法,应用于客户端,客户端与至少一个客户服务器存在用于业务数据传输的通信连接,客户端还包括Modem侧处理器和AP侧处理器,如图2所示,具体包括:The second embodiment of the present invention relates to a log collection method, which is applied to a client, where the client has a communication connection with at least one client server for service data transmission, and the client further includes a Modem side processor and an AP side processor, As shown in Figure 2, it includes:

步骤201,接收客户服务器转发的来自远端设备的日志控制消息,其中日志控制消息包含客户配置信息。Step 201: Receive a log control message from a remote device forwarded by the client server, where the log control message includes client configuration information.

本实施方式中步骤201与第一实施方式中步骤101大致相同,此处就不一一赘述了。Step 201 in this embodiment is substantially the same asstep 101 in the first embodiment, and will not be repeated here.

步骤202,将接收的客户配置信息发送给Modem侧处理器。Step 202: Send the received client configuration information to the Modem side processor.

具体地说,在本实施方式中接收客户配置信息的具体是客户端中的微控制单元,微控制单元将接收的客户配置信息以AT指令的方式发送给Modem侧处理器。Specifically, in this embodiment, it is the micro-control unit in the client that receives the client configuration information, and the micro-control unit sends the received client configuration information to the Modem-side processor in the form of an AT command.

步骤203,Modem侧处理器通过预先规定的通信接口消息将客户配置信息发送给AP侧处理器。Step 203, the Modem side processor sends the client configuration information to the AP side processor through a predetermined communication interface message.

具体地说,Modem侧处理器和AP侧处理器通过预先规定的通信接口消息进行通信,以高通平台提供的Modem侧处理器和AP侧处理器为例,两者之间通过QMI(QualcommMessage Interface)消息通信,QMI是高通平台提供的一种多处理器进程间通信的功能接口,也就是说Modem侧处理器和AP侧处理器通信需要遵循QMI协议。当然,也可以采用其他平台的处理器,则处理器间消息传输遵循相应的通信接口协议。Specifically, the Modem-side processor and the AP-side processor communicate through predetermined communication interface messages. Taking the Modem-side processor and the AP-side processor provided by the Qualcomm platform as an example, QMI (Qualcomm Message Interface) is used between the two. Message communication, QMI is a functional interface for multi-processor inter-process communication provided by the Qualcomm platform, that is to say, the communication between the Modem side processor and the AP side processor needs to follow the QMI protocol. Of course, processors of other platforms may also be used, and message transmission between processors follows a corresponding communication interface protocol.

步骤204,AP侧处理器根据客户配置信息创建用于获取日志文件的日志捕捉线程。Step 204, the AP side processor creates a log capture thread for acquiring the log file according to the client configuration information.

具体地说,AP侧处理器中在接收到Modem侧处理器发送的包含客户配置信息的通信接口消息时,会启动日志捕捉程序,读取通信接口消息中的客户配置信息,然后创建日志捕捉线程,监听待收集日志文件的目标对象各个端口,目标对象可以是整个客户端,也可以是客户端中某一个模组或单元。另外,当日志捕捉线程监听到端口有输出时,可以读取当前时间,并且以当前时间为文件名保存日志文件。当然日志文件名的设置也可以采用其他形式,比如:以故障/问题类型,故障对象等形式。Specifically, when the AP-side processor receives the communication interface message containing the client configuration information sent by the Modem-side processor, it will start the log capture program, read the client configuration information in the communication interface message, and then create a log capture thread. , listen to each port of the target object of the log file to be collected. The target object can be the entire client, or a module or unit in the client. In addition, when the log capture thread listens to output from the port, it can read the current time and save the log file with the current time as the file name. Of course, the setting of the log file name can also take other forms, such as: in the form of fault/problem type, fault object, etc.

步骤205,将通过日志捕捉线程获取到的日志文件发送至远端设备或远端设备指定的日志保存设备。Step 205: Send the log file obtained through the log capture thread to the remote device or the log storage device designated by the remote device.

本实施方式中步骤205与第一实施方式中步骤103大致相同,此处就不一一赘述了。Step 205 in this embodiment is substantially the same asstep 103 in the first embodiment, and details are not repeated here.

本发明实施方式相对于现有技术而言,通过接收客户服务器转发的来自远端设备发送的日志控制消息,开始启动日志收集流程,客户端中的AP侧处理器根据客户配置信息,创建日志捕捉线程,监听待收集日志文件的目标对象各个端口,将获取到的日志文件发送给远端设备或远端设备指定的日志保存设备。对于需要收集日志文件的远端设备来说,只需发送日志控制消息即可收集到客户端,或客户端内各个模组(单元)的日志文件,整个过程快速简单。Compared with the prior art, the embodiment of the present invention starts the log collection process by receiving the log control message forwarded by the client server and sent from the remote device, and the AP side processor in the client creates the log capture process according to the client configuration information. The thread monitors each port of the target object whose log files are to be collected, and sends the obtained log files to the remote device or the log storage device specified by the remote device. For the remote device that needs to collect log files, it only needs to send log control messages to collect the log files of the client or each module (unit) in the client. The whole process is fast and simple.

本发明的第三实施方式涉及一种日志收集方法,应用于客户端,客户端与至少一个客户服务器存在用于业务数据传输的通信连接,如图3所示,具体包括:The third embodiment of the present invention relates to a log collection method, which is applied to a client, and the client and at least one client server have a communication connection for service data transmission, as shown in FIG. 3 , which specifically includes:

步骤301,接收客户服务器转发的来自远端设备的日志控制消息,其中日志控制消息包含客户配置信息。Step 301: Receive a log control message from a remote device forwarded by the client server, where the log control message includes client configuration information.

本实施方式中步骤301与第一实施方式中步骤101大致相同,此处就不一一赘述了。Step 301 in this embodiment is substantially the same asstep 101 in the first embodiment, and will not be repeated here.

步骤302,根据客户配置信息创建用于获取日志文件的日志捕捉线程。Step 302: Create a log capture thread for acquiring log files according to the client configuration information.

本实施方式中步骤302与第一实施方式中步骤102大致相同,此处就不一一赘述了。Step 302 in this embodiment is substantially the same asstep 102 in the first embodiment, and will not be repeated here.

步骤303,当远端设备为服务器时,将通过日志捕捉线程获取到的日志文件,经客户服务器发送至远端设备。Step 303, when the remote device is a server, send the log file obtained through the log capture thread to the remote device via the client server.

具体地说,完整的日志文件一般需要占据庞大的存储空间,当远端设备为服务器时,就可以存储下所有日志文件。因此,客户端将日志文件经原路,即经客户服务器发送至远端设备。另外,在传输过程中如果将所有日志文件一起发送会导致传输效率极低,耗费大量时间,一旦通信连接中断或故障,则需要重新传输所有日志文件。因此,在日志文件传输时可以将日志文件分割为多个子文件进行传输,或者进行编码处理打包为特定格式的日志文件,或者进行压缩处理。Specifically, a complete log file generally needs to occupy a huge storage space. When the remote device is a server, all log files can be stored. Therefore, the client sends the log file to the remote device via the original route, that is, via the client server. In addition, if all log files are sent together during the transmission process, the transmission efficiency will be extremely low, and it will take a lot of time. Once the communication connection is interrupted or fails, all log files need to be retransmitted. Therefore, when the log file is transmitted, the log file can be divided into multiple sub-files for transmission, or the log file can be packaged into a log file of a specific format through encoding processing, or compressed.

本发明实施方式相对于现有技术而言,通过接收客户服务器转发的来自远端设备发送的日志控制消息,开始启动日志收集流程,客户端通过获取日志控制消息中的客户配置信息,创建日志捕捉线程获取日志文件,当远端设备为服务器时,客户端将获取到的日志文件经客户服务器转发给远端设备。对于需要收集日志文件的远端设备来说,只需发送日志控制消息即可获取日志文件,并不用关心待收集日志文件的目标对象内部如何实现,实现了日志的远程收集,过程简单快速。Compared with the prior art, the embodiment of the present invention starts the log collection process by receiving the log control message forwarded by the client server and sent from the remote device, and the client creates the log capture by acquiring the client configuration information in the log control message. The thread obtains the log file. When the remote device is the server, the client forwards the obtained log file to the remote device through the client server. For remote devices that need to collect log files, log files can be obtained only by sending log control messages, and there is no need to care about how the target object of the log files to be collected is implemented.

本发明的第四实施方式涉及一种日志收集方法,应用于客户端,客户端与至少一个客户服务器存在用于业务数据传输的通信连接,如图4所示,具体包括:The fourth embodiment of the present invention relates to a log collection method, which is applied to a client, where a communication connection exists between the client and at least one client server for service data transmission, as shown in FIG. 4 , and specifically includes:

步骤401,接收客户服务器转发的来自远端设备的日志控制消息,其中日志控制消息包含客户配置信息。Step 401: Receive a log control message from a remote device forwarded by the client server, where the log control message includes client configuration information.

本实施方式中步骤401与第一实施方式中步骤101大致相同,此处就不一一赘述了。Step 401 in this embodiment is substantially the same asstep 101 in the first embodiment, and will not be repeated here.

步骤402,根据客户配置信息创建用于获取日志文件的日志捕捉线程。Step 402: Create a log capture thread for acquiring log files according to the client configuration information.

具体地说,客户端中包含Modem侧处理器和AP侧处理器,客户端将客户配置信息通过AT指令经Modem侧处理器发送至AP侧处理器,AP侧处理器用于根据客户配置信息创建日志捕捉线程。Specifically, the client includes a Modem-side processor and an AP-side processor. The client sends the client configuration information to the AP-side processor through the AT command through the Modem-side processor, and the AP-side processor is used to create a log based on the client configuration information. Capture thread.

步骤403,当远端设备为客户端时,将通过日志捕捉线程获取到的日志文件直接发送至所述远端设备指定的日志保存设备。Step 403, when the remote device is a client, directly send the log file obtained through the log capture thread to the log storage device designated by the remote device.

需要说明的是,完整的日志文件一般需要占据庞大的存储空间,当远端设备为客户端时,是无法完整存储下所有日志文件,且即使能存储下庞大的日志文件,此时的远端设备已处于满负载状态,已无法执行其他任务,如日志文件的读取、日志文件的分析等任务。因此,需要事先指定一存储空间极大的专门用于日志保存的设备,比如,日志保存服务器等。It should be noted that a complete log file generally needs to occupy a huge storage space. When the remote device is a client, it cannot completely store all log files, and even if it can store huge log files, the remote The device is fully loaded and cannot perform other tasks, such as reading log files and analyzing log files. Therefore, it is necessary to designate in advance a device dedicated to log storage with a large storage space, such as a log storage server.

进一步地,如图5所示,步骤403具体包括:Further, as shown in Figure 5, step 403 specifically includes:

步骤501,当远端设备为客户端时,根据客户配置信息,创建日志传输线程,其中客户配置信息包含用于指定日志保存设备的日志保存信息。Step 501 , when the remote device is a client, create a log transmission thread according to the client configuration information, where the client configuration information includes log storage information for specifying a log storage device.

具体地说,日志传输线程的创建也是由AP侧处理器完成,具体过程与日志捕捉线程的创建基本相同。需要说明的是,客户端是否创建日志传输线程由日志保存信息来指示,当日志保存信息为远端设备本身时,则无需创建;当日志保存信息为远端设备指定的日志保存设备时,则需要创建。Specifically, the creation of the log transmission thread is also completed by the AP side processor, and the specific process is basically the same as the creation of the log capture thread. It should be noted that whether the client creates a log transmission thread is indicated by the log storage information. When the log storage information is the remote device itself, it does not need to be created; when the log storage information is the log storage device specified by the remote device, then needs to be created.

步骤502,通过日志传输线程与远端设备指定的日志保存设备建立通信连接。Step 502: Establish a communication connection with the log storage device designated by the remote device through the log transmission thread.

具体地说,客户端和日志保存设备之间的通信连接可以是TCP连接,或UDP连接,或IP连接等任一种连接方式,当然客户端和日志保存设备之间日志文件的发送接收遵循相应的通信协议和消息封装格式。需要说明的是,在建立TCP/IP连接之前,需要先进行PPP(Point to Point Protocol)拨号,PPP即点对点协议。Specifically, the communication connection between the client and the log storage device can be a TCP connection, or a UDP connection, or an IP connection. communication protocol and message encapsulation format. It should be noted that before establishing a TCP/IP connection, PPP (Point to Point Protocol) dialing needs to be performed first, PPP is a point-to-point protocol.

步骤503,将通过日志捕捉线程获取到的日志文件,经日志传输线程直接发送至指定的日志保存设备。Instep 503, the log file obtained through the log capture thread is directly sent to the designated log storage device through the log transmission thread.

具体地说,当日志捕捉线程监听到目标对象端口有日志文件输出时,立即发送消息通知日志传输线程开始传输日志文件。而日志捕捉线程和日志传输线程之间通过互斥锁进行通信。Specifically, when the log capture thread listens to the log file output from the target object port, it immediately sends a message to notify the log transfer thread to start transferring log files. The log capture thread and the log transfer thread communicate through a mutex.

本发明实施方式相对于现有技术而言,通过接收客户服务器转发的来自远端设备发送的日志控制消息,开始启动日志收集流程,客户端通过获取日志控制消息中的客户配置信息,创建日志捕捉线程获取日志文件,当远端设备为客户端时,日志文件经日志传输线程直接发送至远端设备指定的日志保存设备。对于需要收集日志文件的远端设备来说,只需发送日志控制消息即可获取日志文件,并不用关心待收集日志文件的目标对象内部如何实现,实现了日志的远程收集,过程简单快速。Compared with the prior art, the embodiment of the present invention starts the log collection process by receiving the log control message forwarded by the client server and sent from the remote device, and the client creates the log capture by acquiring the client configuration information in the log control message. The thread obtains the log file. When the remote device is the client, the log file is directly sent to the log storage device specified by the remote device through the log transmission thread. For remote devices that need to collect log files, log files can be obtained only by sending log control messages, and there is no need to care about how the target object of the log files to be collected is implemented.

本发明的第五实施方式涉及一种日志收集方法,应用于客户端,客户端与至少一个客户服务器存在用于业务数据传输的通信连接,如图6所示,具体包括:The fifth embodiment of the present invention relates to a log collection method, which is applied to a client, and the client and at least one client server have a communication connection for service data transmission, as shown in FIG. 6 , which specifically includes:

步骤601,接收客户服务器转发的来自远端设备的日志控制消息,其中日志控制消息包含客户配置信息。Step 601: Receive a log control message from a remote device forwarded by the client server, where the log control message includes client configuration information.

步骤602,根据客户配置信息创建用于获取日志文件的日志捕捉线程。Step 602: Create a log capture thread for acquiring log files according to the client configuration information.

步骤603,将通过日志捕捉线程获取到的日志文件发送至远端设备或远端设备指定的日志保存设备。Step 603: Send the log file obtained through the log capture thread to the remote device or the log storage device designated by the remote device.

步骤604,接收客户服务器转发的来自远端设备发送的日志捕捉终止消息。Step 604: Receive a log capture termination message sent by the remote device and forwarded by the client server.

步骤605,根据日志捕捉终止消息终止日志捕捉线程的日志文件获取。Step 605: Terminate the log file acquisition of the log capture thread according to the log capture termination message.

在本实施方式中,日志捕捉的终止也是由远端设备发起,具体地远端设备发送日志捕捉终止消息,用户设备的微控制单元MCU接收日志捕捉终止消息,微控制单元通过AT指令将日志捕捉终止消息发送给通信模组中的Modem侧处理器,Modem侧处理器通过通信接口消息将日志捕捉终止信息发送给通信模组中的AP侧处理器,最终由AP侧处理器终止日志捕捉。整个日志捕捉终止流程与启动日志捕捉流程基本一样,具体细节在此不做赘述。In this embodiment, the termination of log capture is also initiated by the remote device. Specifically, the remote device sends a log capture termination message, the micro control unit MCU of the user equipment receives the log capture termination message, and the micro control unit uses the AT command to capture the log. The termination message is sent to the Modem-side processor in the communication module, and the Modem-side processor sends log capture termination information to the AP-side processor in the communication module through a communication interface message, and finally the AP-side processor terminates log capture. The entire log capture termination process is basically the same as the start log capture process, and the specific details are not repeated here.

另外,上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。In addition, the steps of the above various methods are divided only for the purpose of describing clearly. During implementation, they can be combined into one step or some steps can be split and decomposed into multiple steps, as long as they include the same logical relationship, they are all protected by this patent. Within the scope of the patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs, but not changing the core design of the algorithm and process are all within the protection scope of this patent.

本发明的第六实施方式涉及一种日志收集系统,如图7所示,包括:远端设备701、客户端702以及至少一个客户服务器703;所述远端设备701与所述客户服务器703通信连接,所述客户服务器703与所述客户端702存在用于业务数据传输的通信连接;其中,The sixth embodiment of the present invention relates to a log collection system, as shown in FIG. 7 , including: aremote device 701 , aclient 702 and at least oneclient server 703 ; theremote device 701 communicates with theclient server 703 connection, there is a communication connection between theclient server 703 and theclient 702 for service data transmission; wherein,

远端设备701,用于经客户服务器703向客户端发送日志控制消息。Theremote device 701 is configured to send a log control message to the client via theclient server 703 .

所述客户端702,用于接收所述客户服务器703转发的来自所述远端设备的日志控制消息,其中所述日志控制消息包含客户配置信息,根据所述客户配置信息创建用于获取日志文件的日志捕捉线程,将通过所述日志捕捉线程获取到的日志文件发送至所述远端设备或所述远端设备指定的日志保存设备。Theclient 702 is configured to receive a log control message from the remote device forwarded by theclient server 703, wherein the log control message includes client configuration information, and a log file is created and used to obtain a log file according to the client configuration information The log capture thread sends the log file obtained through the log capture thread to the remote device or the log storage device designated by the remote device.

需要说明的是,如图7(a)所示,当远端设备701为服务器时,可以存储下完整的所有日志文件,因此,远端设备701发送日志控制消息,经客户服务器703转发给客户端702,开始日志收集。而客户端702收集完的日志文件经原路,即客户服务器703返回给远端设备701。如图7(b)所示,当远端设备701为客户端时,此时远端设备701没有庞大的存储空间以供日志文件存储,因此远端设备701发送日志控制消息,经客户服务器703转发给客户端702,开始日志收集。而客户端702收集完的日志文件直接发送给指定的日志保存设备704。It should be noted that, as shown in FIG. 7( a ), when theremote device 701 is a server, it can store all complete log files. Therefore, theremote device 701 sends a log control message, which is forwarded to the client via theclient server 703Terminal 702, start log collection. The log files collected by theclient 702 are returned to theremote device 701 through the original path, that is, theclient server 703 . As shown in FIG. 7(b), when theremote device 701 is a client, theremote device 701 does not have a huge storage space for log file storage, so theremote device 701 sends a log control message to theclient server 703 Forwarded to theclient 702 to start log collection. The log files collected by theclient 702 are directly sent to the designatedlog storage device 704 .

进一步地,如图8所示,客户端702包含:Further, as shown in FIG. 8, theclient 702 includes:

Modem侧处理器801,用于接收所述客户端702发送的所述客户配置信息,并通过预先规定的通信接口消息将所述客户配置信息发送给所述AP侧处理器;Themodem side processor 801 is configured to receive the client configuration information sent by theclient 702, and send the client configuration information to the AP side processor through a predetermined communication interface message;

所述AP侧处理器802,用于接收Modem侧处理器801发送的客户配置信息,根据所述客户配置信息创建用于获取日志文件的日志捕捉线程。The AP-side processor 802 is configured to receive client configuration information sent by the Modem-side processor 801, and create a log capture thread for acquiring log files according to the client configuration information.

不难发现,本实施方式中的模块为与第一实施方式相对应的系统实施例,因此本实施方式可与第一实施方式互相配合实施。第一实施方式中提到的相关技术细节在本实施方式中依然有效,为了减少重复,这里不再赘述。相应地,本实施方式中提到的相关技术细节也可应用在第一实施方式中。It is not difficult to find that the modules in this embodiment are system examples corresponding to the first embodiment, so this embodiment can be implemented in cooperation with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the related technical details mentioned in this embodiment can also be applied to the first embodiment.

需要说明的是,本实施方式所提供的日志收集系统,只描述了主要设备和主要模块,不代表不包含其他为了实现本发明日志收集方法的基础模块或单元。It should be noted that the log collection system provided by this embodiment only describes the main equipment and main modules, which does not mean that it does not include other basic modules or units for implementing the log collection method of the present invention.

本发明第七实施方式涉及一种客户端,如图9所示,包括:The seventh embodiment of the present invention relates to a client, as shown in FIG. 9 , including:

至少一个处理器901;以及,at least oneprocessor 901; and,

与所述至少一个处理器901通信连接的存储器902;其中,amemory 902 in communication with the at least oneprocessor 901; wherein,

所述存储器902存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器901执行,以使所述至少一个处理器901能够执行本发明第一至第四实施方式所述的日志收集方法。Thememory 902 stores instructions executable by the at least one processor, and the instructions are executed by the at least oneprocessor 901 to enable the at least oneprocessor 901 to execute the first to fourth embodiments of the present invention The method of log collection described in the method.

其中,存储器和处理器采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器和存储器的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器处理的数据通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器。The memory and the processor are connected by a bus, and the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors and various circuits of the memory. The bus may also connect together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides the interface between the bus and the transceiver. A transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other devices over a transmission medium. The data processed by the processor is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor.

处理器负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器可以被用于存储处理器在执行操作时所使用的数据。The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. Instead, memory may be used to store data used by the processor in performing operations.

本发明第八实施方式涉及一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述方法实施例。The eighth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The above method embodiments are implemented when the computer program is executed by the processor.

即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method for implementing the above embodiments can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium and includes several instructions to make a device ( It may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.

本领域的普通技术人员可以理解,上述各实施方式是实现本发明的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。Those skilled in the art can understand that the above-mentioned embodiments are specific examples for realizing the present invention, and in practical applications, various changes in form and details can be made without departing from the spirit and the spirit of the present invention. scope.

Claims (10)

CN202110507049.6A2021-05-102021-05-10Log collection method, system, client and storage mediumPendingCN113190410A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110507049.6ACN113190410A (en)2021-05-102021-05-10Log collection method, system, client and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110507049.6ACN113190410A (en)2021-05-102021-05-10Log collection method, system, client and storage medium

Publications (1)

Publication NumberPublication Date
CN113190410Atrue CN113190410A (en)2021-07-30

Family

ID=76980941

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110507049.6APendingCN113190410A (en)2021-05-102021-05-10Log collection method, system, client and storage medium

Country Status (1)

CountryLink
CN (1)CN113190410A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115209394A (en)*2022-05-312022-10-18深圳市广和通无线股份有限公司Log capture method, device, equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101043375A (en)*2007-03-152007-09-26华为技术有限公司Distributed system journal collecting method and system
CN101227643A (en)*2008-01-212008-07-23中兴通讯股份有限公司Terminal log conveying system and method
CN101930468A (en)*2010-08-312010-12-29中兴通讯股份有限公司File acquisition method and system
CN103914485A (en)*2013-01-072014-07-09上海宝信软件股份有限公司System and method for remotely collecting, retrieving and displaying application system logs
CN104252405A (en)*2013-06-262014-12-31腾讯科技(深圳)有限公司Log information output method and device
CN104346265A (en)*2013-07-292015-02-11比亚迪股份有限公司Terminal equipment and acquisition method and device for log information thereof
CN106100879A (en)*2016-06-072016-11-09青岛海信移动通信技术股份有限公司Mobile terminal journal obtaining method and device
CN107181633A (en)*2017-07-272017-09-19郑州云海信息技术有限公司A kind of method and system of long-range acquisition business diary
CN109558284A (en)*2018-12-032019-04-02浪潮电子信息产业股份有限公司BMC fault analysis positioning method, device, equipment and readable storage medium
CN109885548A (en)*2019-02-222019-06-14网易(杭州)网络有限公司Log inquiring method, device, storage medium and electronic device
CN110134540A (en)*2019-05-212019-08-16苏州浪潮智能科技有限公司A kind of log information collection method, device, equipment and readable storage medium storing program for executing
CN110912998A (en)*2019-11-262020-03-24福建汉特云智能科技有限公司Vehicle problem troubleshooting system and method based on remote equipment terminal
CN112350861A (en)*2020-10-292021-02-09深圳市广和通无线股份有限公司Log obtaining method and device, computer equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101043375A (en)*2007-03-152007-09-26华为技术有限公司Distributed system journal collecting method and system
CN101227643A (en)*2008-01-212008-07-23中兴通讯股份有限公司Terminal log conveying system and method
CN101930468A (en)*2010-08-312010-12-29中兴通讯股份有限公司File acquisition method and system
CN103914485A (en)*2013-01-072014-07-09上海宝信软件股份有限公司System and method for remotely collecting, retrieving and displaying application system logs
CN104252405A (en)*2013-06-262014-12-31腾讯科技(深圳)有限公司Log information output method and device
CN104346265A (en)*2013-07-292015-02-11比亚迪股份有限公司Terminal equipment and acquisition method and device for log information thereof
CN106100879A (en)*2016-06-072016-11-09青岛海信移动通信技术股份有限公司Mobile terminal journal obtaining method and device
CN107181633A (en)*2017-07-272017-09-19郑州云海信息技术有限公司A kind of method and system of long-range acquisition business diary
CN109558284A (en)*2018-12-032019-04-02浪潮电子信息产业股份有限公司BMC fault analysis positioning method, device, equipment and readable storage medium
CN109885548A (en)*2019-02-222019-06-14网易(杭州)网络有限公司Log inquiring method, device, storage medium and electronic device
CN110134540A (en)*2019-05-212019-08-16苏州浪潮智能科技有限公司A kind of log information collection method, device, equipment and readable storage medium storing program for executing
CN110912998A (en)*2019-11-262020-03-24福建汉特云智能科技有限公司Vehicle problem troubleshooting system and method based on remote equipment terminal
CN112350861A (en)*2020-10-292021-02-09深圳市广和通无线股份有限公司Log obtaining method and device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115209394A (en)*2022-05-312022-10-18深圳市广和通无线股份有限公司Log capture method, device, equipment and storage medium
CN115209394B (en)*2022-05-312024-08-30深圳市广和通无线股份有限公司Log grabbing method, device, equipment and storage medium

Similar Documents

PublicationPublication DateTitle
CN111752799A (en)Service link tracking method, device, equipment and storage medium
CN108494575B (en) A method and system for modeling the operation mode of power communication network based on graph database
CN108023879A (en)A kind of NB-IOT device data acquisition system and methods based on block chain
CN114554618B (en)Wireless access point device, equipment access method, equipment and storage medium
CN111031018B (en) A substation network security monitoring client system and its realization method
CN111464419A (en) A data transmission control method based on bus network communication
WO2025112525A1 (en)Power distribution internet of things terminal debugging and testing system
CN103368771A (en)Collecting method and device for fault site information of multi-node server system
CN113190410A (en)Log collection method, system, client and storage medium
CN105607606A (en)Data acquisition device and data acquisition method based on double-mainboard framework
CN112399446A (en)Edge gateway communication method, device, computer equipment and storage medium
CN116074095A (en)Log analysis method, device, equipment and storage medium
CN110362548B (en)Log extraction method and related equipment
CN109039427B (en)Ship monitoring management device
CN109474386B (en)Signaling tracking method, system, network element equipment and storage medium
CN108289165B (en)Method and device for realizing camera control based on mobile phone and terminal equipment
CN110830790A (en)Method and device for intelligently building automatic testing networking environment
CN113965447B (en)Online cloud diagnosis method, device, system, equipment and storage medium
CN104735097A (en)Information collecting method and system
CN114578738A (en) A remote centralized monitoring method and system for cable channel
CN115767576A (en)Method and device for detecting network connection of equipment, storage medium and electronic device
CN111522642A (en)Method for acquiring state monitoring data of wind turbine generator, query method and electronic equipment
CN106921807B (en)A kind of telephone operation machine system and its self checking method
CN213403038U (en)Data transfer unit DTU device
JP5312124B2 (en) Network management method and system, and network management system program

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20210730

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp