Display status monitoring method, device, electronic device and readable storage medium
Through the communication connection between the server and the display terminal, display samples are automatically received and compared, which solves the inconvenient problem of display terminal status monitoring in the existing technology and realizes efficient monitoring and abnormality detection of the display status.
Patent Information
- Application Number
- CN202111420289.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-26
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-11-26
AI Technical Summary
In the existing technology, status monitoring of display terminals is relatively inconvenient and requires additional monitoring devices, resulting in complex equipment configuration and inconvenient monitoring.
Through the communication connection between the server and the display terminal, the display sample returned by the display terminal is received, compared with the pre-delivered target content, and a prompt message with a difference greater than the preset threshold is generated to determine abnormal display status, which improves the convenience of monitoring.
It realizes automatic monitoring and abnormality detection of display status, simplifies equipment configuration, and improves the convenience and efficiency of monitoring.
Smart Images

Figure CN114143534B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of Internet of Things, and in particular to a display status monitoring method, device, electronic device and readable storage medium. Background Art
[0002] Various exhibition venues usually have display terminals for content display. For example, a museum may have display terminals for exhibits to play introduction videos related to the exhibits. In the related art, usually an additional monitoring device is set up to monitor the display screen of the display terminal, and then the monitoring screen is sent back by the monitoring device to determine whether there is an abnormality in the display status. This method requires the display terminal to be specifically set up with cameras and other monitoring equipment, so it is inconvenient to monitor the display status. Summary of the invention
[0003] The embodiments of the present invention provide a display status monitoring method, device, electronic device and readable storage medium to solve the problem that it is inconvenient to monitor the display status.
[0004] To solve the above problems, the present invention is achieved as follows:
[0005] In a first aspect, an embodiment of the present invention provides a display status monitoring method, which is applied to a server, wherein the server is communicatively connected with a display terminal, and comprises the following steps:
[0006] receiving a display sample of a display target content returned by the display terminal, wherein the target content is sent by the server to the display terminal;
[0007] Comparing the target content sent down with the display sample;
[0008] When the difference between the display sample and the target content sent down is greater than a preset difference threshold, a prompt message is generated, where the prompt message is used to prompt that the display of the target content is abnormal.
[0009] In some embodiments, there are multiple display terminals, and before receiving the display sample for the target content returned by the display terminal, the method further includes:
[0010] Receiving content data to be displayed;
[0011] Sending target content to the display terminal, wherein the target content is determined according to the corresponding relationship between the content data and the display terminal;
[0012] A presentation plan for the target content is sent to the presentation terminal.
[0013] In some embodiments, comparing the sent target content with the display sample includes:
[0014] Extracting original data corresponding to the display sample from the target content stored in the server;
[0015] The similarity between the original data and the display sample is calculated.
[0016] In some embodiments, the target content is a video file, and extracting original data corresponding to the display sample from the target content stored in the server includes:
[0017] Determining a display time point corresponding to the display image according to the display plan of the target content and the display sample;
[0018] A video clip is extracted from the target content stored in the server as the original data, wherein the video clip covers the display time point, and the duration of a portion of the video clip located before the display time point and a portion located after the display time point are both not less than a preset duration threshold.
[0019] In some embodiments, the calculating the similarity between the original data and the display sample includes:
[0020] Acquiring display parameters of the display terminal;
[0021] adjusting the raw data according to the display parameters;
[0022] The similarity between the adjusted original data and the displayed sample is calculated.
[0023] In some embodiments, after generating the prompt information, the method further includes:
[0024] According to the correspondence between the display terminal and the mobile terminal, a prompt message is sent to the mobile terminal corresponding to the display terminal.
[0025] In some embodiments, after sending the prompt message to the mobile terminal corresponding to the display terminal, the method further includes:
[0026] receiving a control instruction from the mobile terminal;
[0027] Sending a clearing instruction to the display terminal according to the control instruction, wherein the clearing instruction is used to control the clearing of content data to be displayed stored in the display terminal;
[0028] Receiving an execution result returned by the display terminal according to the clear instruction;
[0029] The target content is sent to the presentation terminal according to the execution result.
[0030] In a second aspect, an embodiment of the present invention further provides a display status monitoring device, which is applied to a server, wherein the server is communicatively connected with a display terminal, and the display status monitoring device comprises:
[0031] A display sample receiving module, used to receive a display sample of a display target content returned by the display terminal, wherein the target content is sent by the server to the display terminal;
[0032] A comparison module, used for comparing the target content sent down with the display sample;
[0033] The prompt information generating module is used to generate prompt information when the difference between the display sample and the target content sent is greater than a preset difference threshold, wherein the prompt information is used to prompt that the display of the target content is abnormal.
[0034] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising: a memory, a processor, and a program stored in the memory and executable on the processor; the processor is used to read the program in the memory to implement the steps in the method described in the first aspect above.
[0035] In a fourth aspect, an embodiment of the present invention further provides a readable storage medium for storing a program, wherein the program, when executed by a processor, implements the steps in the method described in the first aspect.
[0036] In an embodiment of the present invention, display samples are automatically collected by the display terminal and transmitted back to the server. The server compares the display samples with the target content sent to the display terminal, thereby determining whether there is an abnormality in the display status based on the difference between the generated samples and the target content, thereby improving the convenience of display status monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0038] Figure 1 is a flow chart of a display status monitoring method provided by an embodiment of the present invention;
[0039] Figure 2 is a schematic diagram of the workflow of the display status monitoring method provided by an embodiment of the present invention;
[0040] Figure 3 is another flow chart of the display status monitoring method provided by an embodiment of the present invention;
[0041] Figure 4 is a structural schematic diagram of a display status monitoring device provided by an embodiment of the present invention;
[0042] Figure 5 It is a schematic diagram of the structure of an electronic device provided by the implementation of the present invention. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] The terms "first", "second" etc. in the embodiments of the present invention are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. In addition, the terms "include" and "have" and any variation thereof are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or units need not be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment. In addition, "and / or" is used in the present application to represent at least one of the connected objects, such as A and / or B and / or C, which represents 7 situations including single A, single B, single C, and A and B all exist, B and C all exist, A and C all exist, and A, B and C all exist.
[0045] An embodiment of the present invention provides a display status monitoring method.
[0046] In one embodiment, the method is applied to a server, and the server is communicatively connected with a display terminal. It should be understood that here, the number of display terminals is usually multiple and distributed in different locations in a specific place.
[0047] For example, when applied in a museum, multiple display terminals can be set up for different collections, and under the control of the server, each display terminal can be controlled to play content related to the collection; for another example, when set up in a shopping mall, advertisements or promotional information of nearby products can be played through display terminals set up in different locations.
[0048] like Figure 1 As shown, in one embodiment, the method includes the following steps:
[0049] Step 101: receiving a display sample of the display target content returned by the display terminal.
[0050] In this embodiment, the target content is pre-sent by the server to the display terminal so that the display terminal can play the corresponding content.
[0051] In some embodiments, before step 101, the method further includes:
[0052] Receiving content data to be displayed;
[0053] Sending target content to the display terminal, wherein the target content is determined according to the corresponding relationship between the content data and the display terminal;
[0054] A presentation plan for the target content is sent to the presentation terminal.
[0055] In this embodiment, the content data to be displayed is firstly saved to the server. Specifically, the server may receive the content data via network transmission, or directly obtain the content data via a data interface through hardware such as a memory.
[0056] After acquiring the content data, the target content to be displayed by each display terminal is determined from the content data according to the location of the display terminal. At the same time, a corresponding display plan can be generated according to the target content to be displayed to control the display terminal to display the target content according to the display plan.
[0057] The target content may be in various formats, specifically, video files, pictures, audio files, etc. The display plan may be set as required, for example, it may be set to play periodically, play in a loop, play at a specified time, etc.
[0058] After receiving the display plan and target content, the display terminal displays the target content according to the display plan.
[0059] During the display process, the display terminal collects display samples, which can be understood as its display status. For example, an internal recording operation can be performed by accessing the playback channel of the display terminal to use the recording file as a display sample, a screenshot can be taken of the display interface of the display terminal to use the picture as a display sample, or the display screen of the display terminal can be recorded to use a video file as a display sample.
[0060] After collecting the display samples, the display terminal sends the display samples to the server.
[0061] Step 102: Compare the sent target content with the display sample.
[0062] After receiving the display sample, the server compares the display sample with the target content sent to the display terminal. It can be understood that the display terminal displays content based on the target content sent by the server to the display terminal. Therefore, if the display status is normal, the extracted display sample will be included in the target content. Therefore, by comparing the display sample with the sent target content, it can be determined whether the display terminal displays content normally.
[0063] In some embodiments, step 102 specifically includes:
[0064] Extracting original data corresponding to the display sample from the target content stored in the server;
[0065] The similarity between the original data and the display sample is calculated.
[0066] After receiving the display sample, the server extracts the original data corresponding to the target content from the sent target content, and compares the original data with the display sample to determine the difference between the original data and the display sample.
[0067] In some embodiments, extracting original data corresponding to the display sample from the target content stored in the server includes:
[0068] Determining a display time point corresponding to the display image according to the display plan of the target content and the display sample;
[0069] A video clip is extracted from the target content stored in the server as the original data.
[0070] In an exemplary embodiment, the target content is a video file, and the display sample is a screenshot. When the display terminal extracts the display sample, it extracts it at a specific display time point. For example, it may be the display time point 1 minute after the start of playback according to the display plan. Obviously, the specific display time point can be set as needed.
[0071] After determining the display time point, a video clip including the display time point is extracted based on the delivered target content, the video clip covers the display time point, and the duration of the part of the video clip before the display time point and the part of the video clip after the display time point are not less than the preset duration threshold.
[0072] Exemplarily, the preset duration threshold is set to 5 seconds, and the extracted original data is a video clip from 55 seconds to 1 minute and 5 seconds.
[0073] Due to the influence of various factors such as data caching speed, data transmission speed, performance or working status of the playback device itself, the actual display status of the target content on the display terminal may be different from the display plan. Therefore, in this embodiment, the video clip including the display time point is further extracted to ensure that the extracted original data contains the extracted display sample.
[0074] It is understandable that when the display sample is a video file, the video clip covering the video file can also be extracted.
[0075] The similarity between the original data and the display sample can be calculated in different ways. For example, the similarity between the two can be calculated using a hash algorithm of image similarity.
[0076] In one embodiment, the characteristic object in the display sample is first extracted, and then it is detected whether the characteristic object exists in the original data. For example, the display sample is an image, and the image is first segmented to determine the first object existing in the image. Next, the second objects appearing in the video clip serving as the original data are extracted, and then it is determined whether the second objects contain the first objects. Obviously, the more first objects are contained in the second objects, the higher the similarity between the original data and the display sample.
[0077] In some embodiments, the calculating the similarity between the original data and the display sample includes:
[0078] Acquiring display parameters of the display terminal;
[0079] adjusting the raw data according to the display parameters;
[0080] The similarity between the adjusted original data and the displayed sample is calculated.
[0081] It is understandable that due to differences in the display parameters of the display terminal itself, there may be differences between the display sample and the original data. For example, if the display effect of the display terminal itself is poor, or the resolution of the display terminal is different from the resolution of the target content, then after taking a screenshot of the display interface of the display terminal, although the content of the screenshot is consistent with the image frame at the same time point in the original data, there will still be differences in their actual states.
[0082] In this embodiment, display parameters of the display terminal are further obtained. The display parameters may include display parameters such as resolution and refresh rate. Based on the display parameters, the actual display state is simulated to obtain adjusted original data. In this way, the similarity with the display sample is calculated based on the adjusted original data, which can improve the accuracy of the similarity calculation.
[0083] Step 103: When the difference between the display sample and the target content sent down is greater than a preset difference threshold, a prompt message is generated, wherein the prompt message is used to prompt that the display of the target content is abnormal.
[0084] In this embodiment, the preset difference threshold can be set as needed. For example, when calculating the similarity by hash value, the preset difference threshold can be set to 90%. When determining the similarity by the number of objects, the difference in the number of objects can be set to no more than 10%. During implementation, the preset difference threshold can be set as needed to determine the difference between the display sample and the target content issued, and further generate prompt information.
[0085] In some embodiments, after generating the prompt information, the method further includes:
[0086] According to the correspondence between the display terminal and the mobile terminal, a prompt message is sent to the mobile terminal corresponding to the display terminal.
[0087] Here, the mobile terminal can be held by relevant staff, for example, it can be a mobile phone, etc. When an abnormality is detected in a display terminal, a prompt message can be sent to the relevant staff who maintains the display terminal according to the corresponding relationship. After receiving the prompt message, the relevant staff can go to the display terminal to check whether there is a fault in the display terminal and eliminate possible abnormalities in time.
[0088] In some embodiments, after sending a prompt message to the mobile terminal corresponding to the display terminal, the method further includes:
[0089] receiving a control instruction from the mobile terminal;
[0090] Sending a clearing instruction to the display terminal according to the control instruction, wherein the clearing instruction is used to control the clearing of content data to be displayed stored in the display terminal;
[0091] Receiving an execution result returned by the display terminal according to the clear instruction;
[0092] The target content is sent to the presentation terminal according to the execution result.
[0093] In this embodiment, remote troubleshooting can also be attempted. Specifically, relevant staff can send control instructions through a mobile terminal. Based on the control instructions, the server can be remotely controlled to send a clear instruction to the display terminal to clear the original content data in the display terminal, and re-send the target content after the original content data is cleared.
[0094] Based on the above operations, it is equivalent to performing an initialization operation to eliminate content display anomalies caused by factors such as file copy errors and cache errors, which helps to improve the convenience of troubleshooting to a certain extent.
[0095] In an embodiment of the present invention, display samples are automatically collected by the display terminal and transmitted back to the server. The server compares the display samples with the target content sent to the display terminal, thereby determining whether there is an abnormality in the display status based on the difference between the generated samples and the target content, thereby improving the convenience of display status monitoring.
[0096] like Figure 2 and Figure 3 As shown, the technical solution of this embodiment can be summarized as follows: first, the content data to be displayed is acquired, then the target content to be displayed by the display terminal is determined according to the content data to be displayed, and the target content is sent to the designated display terminal.
[0097] Different display terminals display content based on the target content they receive. When displaying content, the display terminal captures and uploads display samples. After the server receives the display samples uploaded by the display terminal, it compares the display samples, specifically, compares the display samples with the distributed target content.
[0098] If an anomaly is found between the display sample and the target content issued, a prompt message is generated and further sent to the mobile terminal. Here, the mobile terminal refers to a mobile terminal held by relevant staff, so that the relevant staff can understand the existing anomalies in time. Furthermore, the extracted display sample can also be sent to the mobile terminal to display the existing anomalies on the mobile terminal.
[0099] The embodiment of the present invention further provides a display status monitoring device, which is applied to a server, and the server is communicatively connected with a display terminal.
[0100] like Figure 4 As shown, in one embodiment, the display status monitoring device 400 includes:
[0101] The display sample receiving module 401 is used to receive the display sample of the display target content returned by the display terminal, wherein the target content is sent by the server to the display terminal;
[0102] A comparison module 402 is used to compare the target content sent down with the display sample;
[0103] The prompt information generating module 403 is used to generate prompt information when the difference between the display sample and the target content sent is greater than a preset difference threshold, wherein the prompt information is used to indicate that the display of the target content is abnormal.
[0104] In some embodiments, the number of the display terminals is multiple, and further includes:
[0105] A content data receiving module, used for receiving content data to be displayed;
[0106] A target content sending module, used to send target content to the display terminal, wherein the target content is determined according to the corresponding relationship between the content data and the display terminal;
[0107] The display plan sending module is used to send the display plan for the target content to the display terminal.
[0108] In some embodiments, the comparison module 402 includes:
[0109] An extraction submodule, used for extracting original data corresponding to the display sample from the target content stored in the server;
[0110] The calculation submodule is used to calculate the similarity between the original data and the display sample.
[0111] In some embodiments, the target content is a video file, and the extraction submodule includes:
[0112] A time point determination unit, configured to determine a display time point corresponding to the display image according to the display plan of the target content and the display sample;
[0113] An extraction unit is used to extract a video clip from the target content stored in the server as the original data, wherein the video clip covers the display time point, and the duration of the part of the video clip located before the display time point and the part located after the display time point are not less than a preset duration threshold.
[0114] In some embodiments, the computing submodule includes:
[0115] A display parameter acquisition unit, used to acquire the display parameters of the display terminal;
[0116] an adjustment unit, configured to adjust the original data according to the display parameter;
[0117] The calculation unit is used to calculate the similarity between the adjusted original data and the display sample.
[0118] In some embodiments, it also includes:
[0119] The prompt message sending module is used to send a prompt message to the mobile terminal corresponding to the display terminal according to the corresponding relationship between the display terminal and the mobile terminal.
[0120] In some embodiments, it also includes:
[0121] A control instruction receiving module, used for receiving a control instruction from the mobile terminal;
[0122] A clearing instruction sending module, used for sending a clearing instruction to the display terminal according to the control instruction, wherein the clearing instruction is used for controlling the clearing of content data to be displayed stored in the display terminal;
[0123] An execution result returning module, used for receiving the execution result returned by the display terminal according to the clearing instruction;
[0124] The target content sending module is further used to send the target content to the display terminal according to the execution result.
[0125] The display status monitoring device 400 of this embodiment can implement each step of the above-mentioned display status monitoring method embodiment and can achieve basically the same technical effects, which will not be described in detail here.
[0126] The embodiment of the present invention also provides an electronic device. Figure 5 , the electronic device may include a processor 501, a memory 502, and a program 5021 stored in the memory 502 and executable on the processor 501. When the program 5021 is executed by the processor 501, Figure 1 Any steps in the corresponding method embodiments and achieving the same beneficial effects will not be repeated here.
[0127] Those skilled in the art will appreciate that all or part of the steps of implementing the above-mentioned embodiment method can be completed by hardware associated with program instructions, and the program can be stored in a readable medium.
[0128] The embodiment of the present invention further provides a readable storage medium, wherein a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the above Figure 1 Any steps in the corresponding method embodiments can achieve the same technical effect and will not be repeated here to avoid repetition.
[0129] The storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0130] The above is a preferred implementation of the embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A display status monitoring method, characterized in that: Applied to a server, the server is communicatively connected with a display terminal, comprising the following steps: receiving a display sample of a display target content returned by the display terminal, wherein the target content is sent by the server to the display terminal; Comparing the target content sent down with the display sample; When the difference between the display sample and the target content sent is greater than a preset difference threshold, generating prompt information, the prompt information is used to prompt that the display of the target content is abnormal; The comparing the target content sent down with the display sample includes: Extracting original data corresponding to the display sample from the target content stored in the server; The target content is a video file, and extracting original data corresponding to the display sample from the target content stored in the server includes: Determining a display time point corresponding to a display image according to the display plan of the target content and the display sample; Extracting a video clip from the target content stored in the server as the original data, wherein the video clip covers the display time point, and the duration of a portion of the video clip located before the display time point and a portion of the video clip located after the display time point are both not less than a preset duration threshold; The similarity between the original data and the display sample is calculated by a hash algorithm of image similarity.
2. The method according to claim 1, characterized in that There are multiple display terminals. Before receiving the display samples of the target content returned by the display terminals, the method further includes: Receiving content data to be displayed; Sending target content to the display terminal, wherein the target content is determined according to the corresponding relationship between the content data and the display terminal; A presentation plan for the target content is sent to the presentation terminal.
3. The method according to claim 1, characterized in that The calculating the similarity between the original data and the display sample includes: Acquiring display parameters of the display terminal; adjusting the raw data according to the display parameters; The similarity between the adjusted original data and the displayed sample is calculated.
4. The method according to claim 1, characterized in that: After the prompt information is generated, the method further includes: According to the correspondence between the display terminal and the mobile terminal, a prompt message is sent to the mobile terminal corresponding to the display terminal.
5. The method according to claim 4, characterized in that After sending the prompt message to the mobile terminal corresponding to the display terminal, the method further includes: receiving a control instruction from the mobile terminal; Sending a clearing instruction to the display terminal according to the control instruction, wherein the clearing instruction is used to control the clearing of content data to be displayed stored in the display terminal; Receiving an execution result returned by the display terminal according to the clear instruction; The target content is sent to the presentation terminal according to the execution result.
6. A display status monitoring device, characterized in that: Applied to a server, the server is communicatively connected with a display terminal, and the display status monitoring device comprises: A display sample receiving module, used to receive a display sample of a display target content returned by the display terminal, wherein the target content is sent by the server to the display terminal; A comparison module, used for comparing the target content sent down with the display sample; A prompt information generating module, configured to generate prompt information when the difference between the display sample and the target content sent is greater than a preset difference threshold, wherein the prompt information is used to indicate that the display of the target content is abnormal; The comparison module comprises: An extraction submodule, used for extracting original data corresponding to the display sample from the target content stored in the server; The extraction submodule comprises: A time point determination unit, configured to determine a display time point corresponding to a display image according to a display plan of the target content and the display sample; an extraction unit, configured to extract a video segment from the target content stored in the server as the original data, wherein the video segment covers the display time point, and the duration of the portion of the video segment located before the display time point and the portion of the video segment located after the display time point are both not less than a preset duration threshold; The calculation submodule is used to calculate the similarity between the original data and the display sample; wherein the similarity between the original data and the display sample is calculated by a hash algorithm of image similarity.
7. An electronic device comprising: A memory, a processor, and a program stored in the memory and executable on the processor; wherein the processor is used to read the program in the memory to implement the steps in the display status monitoring method as described in any one of claims 1 to 5.
8. A readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps in the display status monitoring method according to any one of claims 1 to 5 are implemented.
