CN112351090A - Log information transmission method and device based on intelligent large screen and storage medium - Google Patents

Log information transmission method and device based on intelligent large screen and storage medium Download PDF

Info

Publication number
CN112351090A
CN112351090A CN202011184272.3A CN202011184272A CN112351090A CN 112351090 A CN112351090 A CN 112351090A CN 202011184272 A CN202011184272 A CN 202011184272A CN 112351090 A CN112351090 A CN 112351090A
Authority
CN
China
Prior art keywords
log information
intelligent large
information
sent
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011184272.3A
Other languages
Chinese (zh)
Other versions
CN112351090B (en
Inventor
徐华涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011184272.3A priority Critical patent/CN112351090B/en
Publication of CN112351090A publication Critical patent/CN112351090A/en
Application granted granted Critical
Publication of CN112351090B publication Critical patent/CN112351090B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a log information transmission method and device based on an intelligent large screen and a storage medium, and relates to the field of display equipment. The method comprises the following steps: the intelligent large screen acquires log information to be sent; packaging the log information to be sent to obtain a packaged data packet; and generating an HTTP request according to the data packet, and sending the HTTP request to the target server. According to the invention, the intelligent large screen and the server interact through the HTTP, and the intelligent large screen sends the log information generated by the intelligent application to the server through the uniform interface in the HTTP request mode, so that the interaction efficiency between the intelligent large screen and the server is improved, and the user experience is improved.

Description

Log information transmission method and device based on intelligent large screen and storage medium
Technical Field
The invention relates to the field of display equipment, in particular to a log information transmission method and device based on an intelligent large screen and a storage medium.
Background
With the development of the intelligent large screen technology, the functions of the intelligent large screen are more and more. For example, the intelligent large screen can be configured with a self-check or self-diagnosis function, which can make the user know the reason of the intelligent large screen fault more clearly when the user encounters the use fault. However, in the conventional large-screen terminal system, due to different types of devices, a uniform interface is not provided for large-screen intelligent application, and various threads need to be set for processing aiming at various interfaces at a server system end, so that the delay between the server and the intelligent large-screen system is serious, and the interaction between the large-screen system and the cloud server is slow.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a log information transmission method, a log information transmission device and a log information storage medium based on an intelligent large screen, and aims to solve the technical problems that in the prior art, a server and an intelligent large screen system are slow in interaction and serious in delay.
In order to achieve the above object, the present invention provides a log information transmission method based on an intelligent large screen, which includes:
the intelligent large screen acquires log information to be sent;
packaging the log information to be sent to obtain a packaged data packet;
and generating an HTTP request according to the data packet, and sending the HTTP request to the target server.
In addition, in order to achieve the above object, the present invention further provides a log information transmission device based on an intelligent large screen, including:
the information acquisition module is used for acquiring log information to be sent;
the encapsulation module is used for encapsulating the log information to be sent to obtain an encapsulated data packet;
and the sending module is used for generating an HTTP request according to the data packet and sending the HTTP request to the target server.
In addition, in order to achieve the above object, the present invention further provides an intelligent large screen, including: the intelligent large-screen-based log information transmission method comprises the steps of a memory, a processor and an intelligent large-screen-based log information transmission program which is stored in the memory and can run on the processor, wherein the intelligent large-screen-based log information transmission program realizes the steps of the intelligent large-screen-based log information transmission method when being executed by the processor.
In addition, in order to achieve the above object, the present invention further provides a storage medium, in which an intelligent large-screen-based log information transmission program is stored, and the steps of the above intelligent large-screen-based log information transmission method are implemented when the intelligent large-screen-based log information transmission program is executed by a processor.
In the invention, log information to be sent is acquired; packaging the log information to be sent to obtain a packaged data packet; and generating an HTTP request according to the data packet, and sending the HTTP request to the target server. The intelligent large screen and the server are interacted through the HTTP, the intelligent large screen sends the log information generated by the intelligent application to the server through the uniform interface in the HTTP request mode, therefore, the interaction efficiency between the intelligent large screen and the server is improved, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram of an intelligent large screen of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of an intelligent large-screen-based log information transmission method according to the present invention;
FIG. 3 is a schematic flowchart of a second embodiment of the method for transmitting log information based on an intelligent large screen according to the present invention;
FIG. 4 is a schematic flowchart of a third embodiment of a log information transmission method based on an intelligent large screen according to the present invention;
fig. 5 is a block diagram of a first embodiment of the device for transmitting log information based on an intelligent large screen according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of an intelligent large-screen structure of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the smart large screen may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), and the optional user interface 1003 may further include a standard wired interface and a wireless interface, and the wired interface for the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory or a Non-volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the smart large screen, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, identified as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a smart large screen-based log information transmission program therein.
In the smart large screen shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting user equipment; the intelligent large screen calls the log information transmission program based on the intelligent large screen stored in the memory 1005 through the processor 1001, and executes the log information transmission method based on the intelligent large screen provided by the embodiment of the invention.
Based on the hardware structure, the embodiment of the log information transmission method based on the intelligent large screen is provided.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of the method for transmitting log information based on an intelligent large screen, and the first embodiment of the method for transmitting log information based on an intelligent large screen is provided.
In a first embodiment, the log information transmission method based on the intelligent large screen comprises the following steps:
step S10: and the intelligent large screen acquires the log information to be sent.
It can be understood that the smart large screen refers to a display device installed with various smart applications, which has functions of data processing, data communication, program operation, and the like. In order to ensure normal use of the intelligent large screen, various system applications are generally configured to monitor the operation of the intelligent large screen. For example, the intelligent large screen can be configured with a diagnosis application for collecting corresponding fault information when the intelligent large screen has a use fault.
It should be noted that the log information to be sent refers to log information generated by the intelligent application. For example, the log information to be sent may be fault information collected by the diagnostic application when a use fault occurs in the smart large screen. Of course, log information generated for other applications may also be used, and this embodiment is not limited thereto.
In specific implementation, the log information generated by the intelligent application can be stored in a preset memory, and when the intelligent large screen detects that data is stored in the memory, the memory is read to obtain the log information to be sent. The intelligent large screen can detect the memory in real time or detect the memory according to a preset detection period, such as: the memory was checked every 15 minutes or 30 minutes.
Step S20: and the intelligent large screen packages the log information to be sent to obtain a packaged data packet.
It should be noted that, in order to facilitate information sending, when the intelligent large screen packages the log information to be sent, an xml format or a json format may be adopted. And adding packet fields to data corresponding to the log information to be sent by the intelligent large screen so as to package the data into an xml data packet or a json data packet.
During specific implementation, the intelligent large screen determines a target interface according to the information type corresponding to the log information to be sent, and determines a data format corresponding to the target interface; and packaging the log information to be sent according to the data format through the target interface to obtain a packaged data packet.
It should be noted that the log information to be sent is divided into different information types according to specific contents, taking the fault information collected by the diagnostic application as an example, the information type of the log information to be sent may be exception prompt information or warning prompt information.
It can be understood that the transmission efficiency can be improved by judging the type of the information and selecting the packaging mode of the log information to be transmitted. For example, if the information type of the log information to be sent can be the exception prompt information, determining that the target interface is an xml interface, and packaging the log information to be sent into an xml data packet in an xml interface mode. And if the information type of the log information to be sent can be warning prompt information, determining that a target interface of the log information to be sent is a json interface, and packaging the log information to be sent into a json data packet in a json interface mode.
Step S30: and the intelligent large screen generates an HTTP request according to the data packet and sends the HTTP request to the target server.
It can be understood that the target server and the smart large screen interact with each other through the POST method of HTTP. The HTTP request is divided into three parts: status line, request header, message body. The data packet is placed in the message body. The Content Type (Content-Type) is: "application/xml" or "application/json", expressed inside the request header of HTTP: "Content-Type: application/xml" or "Content-Type: application/json". The request header of HTTP needs to include "Content-Length" and the filling value is the packet Length of HTTP request or HTTP response. Wherein, the json coding format adopts UTF-8 and UTF-8 format of address format submitted by http Post.
It should be noted that the target server may be a cloud server of an intelligent large screen. The intelligent large screen sends the log information generated by the intelligent application to the cloud server so that the cloud server can record or analyze the operation information of the intelligent large screen.
In the first embodiment, log information to be sent is acquired; packaging the log information to be sent to obtain a packaged data packet; and generating an HTTP request according to the data packet, and sending the HTTP request to the target server. The intelligent large screen and the server are interacted through the HTTP, the intelligent large screen sends the log information generated by the intelligent application to the server through the uniform interface in the HTTP request mode, therefore, the interaction efficiency between the intelligent large screen and the server is improved, and the user experience is improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of a second embodiment of the log information transmission method based on an intelligent large screen according to the present invention, and the second embodiment of the log information transmission method based on an intelligent large screen according to the present invention is proposed based on the first embodiment.
In the second embodiment, before step S10, the method further includes:
step S01: the intelligent large screen obtains debugging information of a preset application program, and determines a prompt type corresponding to the debugging information.
It should be noted that the preset application program may be a diagnostic application, and the diagnostic application may be used to debug the large intelligent screen when a use fault occurs in the large intelligent screen, and determine fault information according to the debugging information. The debugging information may include exception prompt information (such as runtime exception RuntimeException, null pointer exception) or warning prompt information.
It can be understood that the package name of the debugging information can reflect the prompt type corresponding to the debugging information, and the intelligence can determine the prompt type corresponding to the debugging information by detecting the package name of the debugging information.
Step S02: and when the prompt type is matched with the preset target type, generating log information to be sent according to the debugging information.
It should be noted that the preset target type may include an exception prompt and/or a warning prompt. In order to improve the subsequent data analysis efficiency, only fault information is collected when collecting log information of intelligent application. That is, when the debugging information is an abnormal prompt or a warning prompt, the debugging information is collected to obtain the log information to be sent.
Meanwhile, in order to collect log information more accurately, when the prompt type is matched with a preset target type in specific implementation, a historical record corresponding to the prompt type is obtained; determining a prompt time interval of a prompt type according to the historical record; and when the prompt time interval is smaller than the preset time interval, acquiring a package name corresponding to the preset application program, and generating log information to be sent according to the package name and the debugging information.
It should be noted that, for the warning indication, there is a possibility of false alarm, so it is necessary to determine whether the warning indication is true. The history record corresponding to the prompt type can reflect the last time when the prompt appears, and if the prompt appears continuously in a preset time interval, the prompt can be judged to be real. Wherein the preset time interval may be 10 ms.
In addition, in order to determine the information type corresponding to the log information to be sent when the intelligent large screen is packaged, the log information to be sent is stored in different memories according to the prompt type after the log information to be sent is generated.
During specific implementation, selecting a first target memory from all preset memories according to the prompt type; and saving the debugging information to the first target memory, and modifying the identification state of the first target memory into first preset identification information. Correspondingly, the intelligent large screen acquires the log information to be sent, and the method comprises the following steps: the intelligent large screen detects the identification state of each preset storage according to the first preset identification information; and when a second target memory with the identification state matched with the first preset identification information exists, reading the second target memory to acquire the log information to be sent.
It should be noted that the first preset identification information may be a digital identification, for example, when the intelligent large screen stores the debugging information into the first target memory, the identification bit of the first target memory is set with bit number 1; or adding 1 to the identification bit of the first target memory when the intelligent large screen writes the first target memory each time.
It can be understood that, because the debugging information of different prompt types is stored in different memories, the intelligent large screen can directly determine the information type of the log information to be sent according to the second target memory when the log information to be sent is obtained. During specific implementation, if the debugging information is abnormal prompt information, the debugging information is stored in a memory A, and the identifier of the memory A is added with 1; if the debugging information is the warning prompt information, the debugging information is stored in the memory B, and the identifier of the memory B is added with 1.
In the second embodiment, the required fault information is selected and unnecessary information is filtered out by judging the prompt type corresponding to the debugging information of the preset application program, so that the effectiveness of the log information to be sent is ensured. Meanwhile, the debugging information is stored in different memories according to the prompt type, so that the intelligent large screen can determine the packaging mode more quickly when data is packaged, and the log transmission efficiency is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart of a third embodiment of the log information transmission method based on an intelligent large screen according to the present invention, and the third embodiment of the log information transmission method based on an intelligent large screen according to the present invention is proposed based on the first embodiment and the second embodiment. The present embodiment is explained based on the first embodiment.
In the third embodiment, after step S30, the method further includes:
step S40: and when receiving response information fed back by the target server based on the HTTP request, the intelligent large screen determines a third target memory according to the information type corresponding to the log information to be sent.
It can be understood that the target server feeds back response information of successful reception to the smart large screen after receiving the HTTP request. After receiving the response information, the intelligent large screen judges that the log information is successfully sent, and simultaneously backups the sent log information. And when backup is carried out, determining a third target memory according to the information type corresponding to the log information to be sent, so as to store different log information in a classified manner.
It should be noted that the response information may include an analysis result of the target server after analyzing the data packet, and the analysis result may include a failure resolution policy and the like.
Step S50: and the intelligent large screen stores the log information to be sent to a third target memory and modifies the identification state of the third target memory into second preset identification information.
It should be noted that the second preset identification information may be a digital identification, for example, when the intelligent large screen stores the debugging information into the third target memory, the identification bit of the third target memory is set to digit 1; or adding 1 to the identification bit of the third target memory each time the intelligent large screen writes the third target memory.
In addition, in order to ensure normal use of the intelligent large screen, the intelligent large screen may perform an operation according to the log information to repair the responded fault. During specific implementation, the intelligent large screen detects the identification state of each preset memory according to second preset identification information; when a fourth target memory with the identification state matched with the second preset identification information exists, reading the fourth target memory to acquire log information to be sent; and determining a target application program and an execution strategy according to the log information to be sent, and operating the target application program according to the execution strategy.
It should be noted that the target application program may be a faulty application determined according to the log information. For example, if it is determined from the log information that the time information of the smart large screen has an error, the target application may be a clock application. The execution policy may include a log information exposure operation, an application restart operation, or an application reset operation, such as a log information exposure operation of exposing fault information to a user through a display. The execution strategy can be obtained from the response information fed back by the server, and can also be obtained from the local. Of course, the execution policy may be set according to the user requirement, and this embodiment is not limited thereto.
In a third embodiment, after the intelligent large screen determines that the log information is successfully sent, the intelligent large screen stores the log information. The intelligent large screen can determine a target application program and an execution strategy according to the log information, and operate the target application program according to the execution strategy, so that the fault information is repaired.
In addition, an embodiment of the present invention further provides a storage medium, where the storage medium stores a log information transmission program based on an intelligent large screen, and the log information transmission program based on the intelligent large screen implements the steps of the above log information transmission method based on the intelligent large screen when executed by a processor.
Since the storage medium adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
In addition, an embodiment of the present invention further provides a log information transmission device based on an intelligent large screen, and referring to fig. 5, fig. 5 is a block diagram of a first embodiment of the log information transmission device based on an intelligent large screen according to the present invention.
In this embodiment, the log information transmission device based on the smart large screen includes:
the information obtaining module 10 is configured to obtain log information to be sent.
It can be understood that the intelligent large screen refers to a display device installed with various intelligent applications, and the functions of specific data processing, data communication, program operation and the like are achieved. In order to ensure normal use of the intelligent large screen, various system applications are generally configured to monitor the operation of the intelligent large screen. For example, the intelligent large screen can be configured with a diagnosis application for collecting corresponding fault information when the intelligent large screen has a use fault.
It should be noted that the log information to be sent refers to log information generated by the intelligent application. For example, the log information to be sent may be fault information collected by the diagnostic application when a use fault occurs in the smart large screen. Of course, log information generated for other applications may also be used, and this embodiment is not limited thereto.
In a specific implementation, the log information generated by the intelligent application may be stored in a preset memory, and when detecting that data is stored in the memory, the information obtaining module 10 reads the memory to obtain the log information to be sent. The intelligent large screen can detect the memory in real time or detect the memory according to a preset detection period, such as: the memory was checked every 15 minutes or 30 minutes.
And the encapsulating module 20 is configured to encapsulate the log information to be sent, so as to obtain an encapsulated data packet.
It should be noted that, for convenience of information transmission, when the encapsulation module 20 encapsulates the log information to be transmitted, an xml format or a json format may be used. The encapsulation module 20 adds a packet field to the data corresponding to the log information to be sent, so as to encapsulate the data into an xml data packet or a json data packet.
In specific implementation, the encapsulation module 20 determines a target interface according to the information type corresponding to the log information to be sent, and determines a data format corresponding to the target interface; and packaging the log information to be sent according to the data format through the target interface to obtain a packaged data packet.
It should be noted that the log information to be sent is divided into different information types according to specific contents, taking the fault information collected by the diagnostic application as an example, the information type of the log information to be sent may be exception prompt information or warning prompt information.
It can be understood that the transmission efficiency can be improved by judging the type of the information and selecting the packaging mode of the log information to be transmitted. For example, if the information type of the log information to be sent can be the exception prompt information, determining that the target interface is an xml interface, and packaging the log information to be sent into an xml data packet in an xml interface mode. And if the information type of the log information to be sent can be warning prompt information, determining that a target interface of the log information to be sent is a json interface, and packaging the log information to be sent into a json data packet in a json interface mode.
And a sending module 30, configured to generate an HTTP request according to the data packet, and send the HTTP request to the target server.
It will be appreciated that the interaction between the target server and the sending module 30 is via the POST method of HTTP, and the HTTP request is divided into three parts: status line, request header, message body. The data packet is placed in the message body. The Content Type (Content-Type) is: "application/xml" or "application/json", expressed inside the request header of HTTP: "Content-Type: application/xml" or "Content-Type: application/json". The request header of HTTP needs to include "Content-Length" and the filling value is the packet Length of HTTP request or HTTP response. Wherein, the json coding format adopts UTF-8 and UTF-8 format of address format submitted by http Post.
It should be noted that the target server may be a cloud server of an intelligent large screen. The sending module 30 sends the log information generated by the smart application to the cloud server, so that the cloud server records or analyzes the operation information of the smart large screen.
In the embodiment, log information to be sent is acquired; packaging the log information to be sent to obtain a packaged data packet; and generating an HTTP request according to the data packet, and sending the HTTP request to the target server. The intelligent large screen and the server are interacted through the HTTP, and the log information generated by the intelligent application is sent to the server through the uniform interface in the HTTP request mode, so that the interaction efficiency between the intelligent large screen and the server is improved, and the user experience is improved.
In one embodiment, the log information transmission device based on the intelligent large screen further comprises a debugging information collection module, wherein the debugging information collection module is used for acquiring debugging information of a preset application program and determining a prompt type corresponding to the debugging information; and when the prompt type is matched with the preset target type, generating log information to be sent according to the debugging information.
In an embodiment, the debugging information collecting module is further configured to obtain a history record corresponding to the prompt type when the prompt type matches the preset target type; determining a prompt time interval of a prompt type according to the historical record; and when the prompt time interval is smaller than the preset time interval, acquiring a package name corresponding to the preset application program, and generating log information to be sent according to the package name and the debugging information.
In an embodiment, the debugging information collecting module is further configured to select a first target memory from the preset memories according to the prompt type; the debugging information is stored in a first target memory, and the identification state of the first target memory is modified into first preset identification information;
correspondingly, the information obtaining module 10 is further configured to detect the identification state of each preset memory according to the first preset identification information; and when a second target memory with the identification state matched with the first preset identification information exists, reading the second target memory to acquire the log information to be sent.
In an embodiment, the intelligent large-screen-based log information transmission device further comprises a storage module, wherein the storage module is used for determining a third target storage according to an information type corresponding to the log information to be sent when receiving response information fed back by the target server based on the HTTP request; and saving the log information to be sent to a third target memory, and modifying the identification state of the third target memory into second preset identification information.
In an embodiment, the intelligent large-screen-based log information transmission device further comprises an execution module, an execution model, a storage module and a processing module, wherein the execution module is used for detecting the identification state of each preset storage according to second preset identification information; when a fourth target memory with the identification state matched with the second preset identification information exists, reading the fourth target memory to acquire log information to be sent; and determining a target application program and an execution strategy according to the log information to be sent, and operating the target application program according to the execution strategy.
Other embodiments or specific implementation manners of the intelligent large-screen-based log information transmission device of the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order, but rather the words first, second, third, etc. are to be interpreted as names.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be substantially implemented or a part contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A log information transmission method based on an intelligent large screen is characterized by comprising the following steps:
the intelligent large screen acquires log information to be sent;
packaging the log information to be sent to obtain a packaged data packet;
and generating an HTTP request according to the data packet, and sending the HTTP request to a target server.
2. The method for transmitting log information based on the intelligent large screen according to claim 1, wherein before the intelligent large screen obtains the log information to be transmitted, the method further comprises:
the method comprises the steps that an intelligent large screen obtains debugging information of a preset application program, and a prompt type corresponding to the debugging information is determined;
and generating log information to be sent according to the debugging information when the prompt type is matched with a preset target type.
3. The intelligent large-screen-based log information transmission method as claimed in claim 2, wherein the generating log information to be transmitted according to the debugging information when the prompt type matches a preset target type comprises:
when the prompt type is matched with a preset target type, acquiring a historical record corresponding to the prompt type;
determining a prompt time interval of the prompt type according to the historical record;
and when the prompt time interval is smaller than a preset time interval, acquiring a package name corresponding to the preset application program, and generating log information to be sent according to the package name and the debugging information.
4. The intelligent large-screen-based log information transmission method according to claim 2, wherein when the prompt type matches a preset target type, after generating log information to be transmitted according to the debugging information, the method further comprises:
selecting a first target memory from all preset memories according to the prompt type;
saving the debugging information to the first target memory, and modifying the identification state of the first target memory into first preset identification information;
correspondingly, the intelligent large screen acquires the log information to be sent, and the method comprises the following steps:
the intelligent large screen detects the identification state of each preset storage according to the first preset identification information;
and when a second target memory with the identification state matched with the first preset identification information exists, reading the second target memory to acquire the log information to be sent.
5. The intelligent large-screen-based log information transmission method according to any one of claims 1 to 4, wherein the encapsulating the log information to be transmitted to obtain an encapsulated data packet comprises:
determining a target interface according to the information type corresponding to the log information to be sent, and determining a data format corresponding to the target interface;
and packaging the log information to be sent according to the data format through the target interface to obtain a packaged data packet.
6. The method for transferring log information based on an intelligent large screen as claimed in claims 1-4, wherein after generating the HTTP request according to the data packet and sending the HTTP request to the target server, further comprising:
when receiving response information fed back by the target server based on the HTTP request, the intelligent large screen determines a third target memory according to the information type corresponding to the log information to be sent;
and saving the log information to be sent to the third target memory, and modifying the identification state of the third target memory into second preset identification information.
7. The intelligent large-screen-based log information transmission method according to claim 6, wherein after generating the HTTP request according to the data packet and sending the HTTP request to the target server, the method further comprises:
the intelligent large screen detects the identification state of each preset storage according to the second preset identification information;
when a fourth target memory with an identification state matched with the second preset identification information exists, reading the fourth target memory to acquire the log information to be sent;
and determining a target application program and an execution strategy according to the log information to be sent, and operating the target application program according to the execution strategy.
8. The utility model provides a log information transmission device based on intelligence large-size screen which characterized in that, the log information transmission device based on intelligence large-size screen includes:
the information acquisition module is used for acquiring log information to be sent;
the packaging module is used for packaging the log information to be sent to obtain a packaged data packet;
and the sending module is used for generating an HTTP request according to the data packet and sending the HTTP request to a target server.
9. An intelligent large screen, comprising: a memory, a processor and an intelligent large-screen based log information transmission program stored on the memory and operable on the processor, the intelligent large-screen based log information transmission program, when executed by the processor, implementing the steps of the intelligent large-screen based log information transmission method according to any one of claims 1 to 7.
10. A storage medium, wherein the storage medium stores thereon an intelligent large-screen based log information transmission program, and the intelligent large-screen based log information transmission program, when executed by a processor, implements the steps of the intelligent large-screen based log information transmission method according to any one of claims 1 to 7.
CN202011184272.3A 2020-10-29 2020-10-29 Log information transmission method and device based on intelligent large screen and storage medium Active CN112351090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011184272.3A CN112351090B (en) 2020-10-29 2020-10-29 Log information transmission method and device based on intelligent large screen and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011184272.3A CN112351090B (en) 2020-10-29 2020-10-29 Log information transmission method and device based on intelligent large screen and storage medium

Publications (2)

Publication Number Publication Date
CN112351090A true CN112351090A (en) 2021-02-09
CN112351090B CN112351090B (en) 2024-04-05

Family

ID=74357095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011184272.3A Active CN112351090B (en) 2020-10-29 2020-10-29 Log information transmission method and device based on intelligent large screen and storage medium

Country Status (1)

Country Link
CN (1) CN112351090B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2214382A1 (en) * 2009-01-30 2010-08-04 Thomson Licensing SA Method of reception of device logging information and method of transmission of device logging information
WO2012034501A1 (en) * 2010-09-17 2012-03-22 华为技术有限公司 Method, apparatus, and system for dynamic media content insertion based on http stream
JP2012073878A (en) * 2010-09-29 2012-04-12 Mitsubishi Space Software Kk Access analysis device, access analysis method and access analysis program
US20130290441A1 (en) * 2012-04-27 2013-10-31 Mobitv, Inc. Server logging module
CN105260293A (en) * 2015-11-06 2016-01-20 Tcl集团股份有限公司 Output method, output device and terminal equipment of log information
CN105357584A (en) * 2015-12-11 2016-02-24 Tcl集团股份有限公司 User behavior log classification uploading method and system based on intelligent television
CN106341259A (en) * 2016-08-26 2017-01-18 乐视控股(北京)有限公司 Fault information report method and device
WO2017201897A1 (en) * 2016-05-27 2017-11-30 深圳Tcl数字技术有限公司 Method and device for collecting fault information of smart television
CN108234245A (en) * 2018-01-09 2018-06-29 上海帝联网络科技有限公司 The screening technique of log content and daily record data, device, system, readable medium
CN108683562A (en) * 2018-05-18 2018-10-19 深圳壹账通智能科技有限公司 Abnormality detection localization method, device, computer equipment and storage medium
EP3401791A1 (en) * 2017-05-12 2018-11-14 Fujitsu Limited Log output control apparatus, log output control method, and database server
CN109992485A (en) * 2019-03-20 2019-07-09 珠海天燕科技有限公司 A kind of debugging log providing method, terminal device and server
WO2020147264A1 (en) * 2019-01-14 2020-07-23 平安科技(深圳)有限公司 Method, apparatus and device for monitoring multi-system log data, and readable storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2214382A1 (en) * 2009-01-30 2010-08-04 Thomson Licensing SA Method of reception of device logging information and method of transmission of device logging information
WO2012034501A1 (en) * 2010-09-17 2012-03-22 华为技术有限公司 Method, apparatus, and system for dynamic media content insertion based on http stream
JP2012073878A (en) * 2010-09-29 2012-04-12 Mitsubishi Space Software Kk Access analysis device, access analysis method and access analysis program
US20130290441A1 (en) * 2012-04-27 2013-10-31 Mobitv, Inc. Server logging module
CN105260293A (en) * 2015-11-06 2016-01-20 Tcl集团股份有限公司 Output method, output device and terminal equipment of log information
CN105357584A (en) * 2015-12-11 2016-02-24 Tcl集团股份有限公司 User behavior log classification uploading method and system based on intelligent television
WO2017201897A1 (en) * 2016-05-27 2017-11-30 深圳Tcl数字技术有限公司 Method and device for collecting fault information of smart television
CN106341259A (en) * 2016-08-26 2017-01-18 乐视控股(北京)有限公司 Fault information report method and device
EP3401791A1 (en) * 2017-05-12 2018-11-14 Fujitsu Limited Log output control apparatus, log output control method, and database server
CN108234245A (en) * 2018-01-09 2018-06-29 上海帝联网络科技有限公司 The screening technique of log content and daily record data, device, system, readable medium
CN108683562A (en) * 2018-05-18 2018-10-19 深圳壹账通智能科技有限公司 Abnormality detection localization method, device, computer equipment and storage medium
WO2020147264A1 (en) * 2019-01-14 2020-07-23 平安科技(深圳)有限公司 Method, apparatus and device for monitoring multi-system log data, and readable storage medium
CN109992485A (en) * 2019-03-20 2019-07-09 珠海天燕科技有限公司 A kind of debugging log providing method, terminal device and server

Also Published As

Publication number Publication date
CN112351090B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN111061628B (en) Data analysis method, system, device, computer equipment and storage medium
CN111488166B (en) Method and device for upgrading software of management unit of double-core intelligent ammeter and storage medium
CN110990255B (en) Buried point testing method and server
CN106484611B (en) Fuzzy test method and device based on automatic protocol adaptation
CN108038039B (en) Method for recording log and micro-service system
CN111506047B (en) Vehicle diagnosis method, device and storage medium
CN108399120B (en) Asynchronous message monitoring method and device
JP5198154B2 (en) Fault monitoring system, device, monitoring apparatus, and fault monitoring method
CN109658542B (en) Diagnostic parameter data verification method, diagnostic parameter data verification device, vehicle diagnostic equipment and storage medium
CN111026636A (en) Software project testing method, device, equipment and storage medium
CN112351090A (en) Log information transmission method and device based on intelligent large screen and storage medium
CN112257065A (en) Process event processing method and device
CN115981956A (en) SPDK service process monitoring method, device, equipment, storage medium and program product
CN110287099B (en) Simplified Loadrunner performance test method, server and computer readable storage medium
CN114327981A (en) Safety verification system, method and device of function safety mechanism
CN114338347A (en) Ampere platform-based fault information out-of-band acquisition method and device
CN112948276A (en) Fuzzy test method and device and electronic equipment
CN112069078A (en) ESA interface pressure testing method, device, testing equipment and storage medium
CN112416735A (en) Application program detection method and device, terminal equipment and storage medium
CN111026575B (en) Abnormality processing method and device and electronic equipment
CN113778800B (en) Error information processing method, device, system, equipment and storage medium
CN116931965B (en) Integrated stream processing method, device, electronic equipment and storage medium
CN117834757A (en) IEC104 message analysis method and device and computing equipment
CN116795724B (en) Method, system, equipment and medium for testing unmanned aerial vehicle loading equipment software interface
CN115269435A (en) Functional interface testing method, device, equipment and storage medium

Legal Events

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