A screen detection method and device, vehicle and detection system
By sending random information to the display system to generate parameters, generating and judging the matching of random information in the image data, the problem of not being able to judge the correctness of the screen image in the prior art is solved, and the accuracy of image transmission of the display system is realized.
Patent Information
- Application Number
- CN202210158832.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-21
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2042-02-21
AI Technical Summary
Existing screen detection solutions cannot determine whether the image transmitted to the screen device is correct; they can only detect the status of the display system.
Random information is generated by sending random information generation parameters to the display system, receiving and judging whether the random information in the target image data matches the random information generated by the detection system, and outputting the matching image data for display.
The correctness judgment of the image transmitted from the display system to the screen device is achieved, and the screen detection failure caused by the display system failure is avoided.
Smart Images

Figure CN114528170B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of screens, in particular to a screen detection method and device, a vehicle and a detection system. BACKGROUND
[0002] In the current screen detection scheme, it is often necessary to monitor the running state of the diagnostic screen and the system in real time in the display system, so as to determine whether the display system has failed.
[0003] However, this screen detection scheme only detects the state of the display system, and cannot determine whether the image actually transmitted to the screen device is correct. SUMMARY
[0004] In view of the above problems, a screen detection method, device and vehicle, and a detection system are provided to overcome the above problems or at least partially solve the above problems, comprising:
[0005] A screen detection method applied to a detection system connected with a display system, the method comprising:
[0006] Sending a random information generation parameter to the display system, the random information generation parameter being used to generate random information;
[0007] Receiving target image data sent by the display system; the target image data being generated by first random information generated based on the random information generation parameter and an image to be displayed;
[0008] Determining whether the first random information in the target image data matches second random information generated by the detection system based on the random information generation parameter;
[0009] When the first random information in the target image data matches the second random information, outputting the image to be displayed in the target image data to display the image to be displayed.
[0010] Optionally, the first random information is a first random image, and the second random information is a second random image; the target image data is spliced from the first random image and the image to be displayed;
[0011] Determining whether the first random information in the target image data matches second random information generated by the detection system based on the random information generation parameter, comprising:
[0012] Segmenting the first random image from the target image data;
[0013] Determining whether the segmented first random image matches the second random image.
[0014] Optionally, the first random image includes a plurality of different random sub-images, the second random image includes a plurality of different random sub-images, and the image to be displayed includes a plurality of sub-images; the target image data includes a plurality of spliced images, each spliced image being spliced from one random sub-image of the first random image and one sub-image of the image to be displayed;
[0015] determining whether the first random image and the second random image are matched, includes:
[0016] acquiring the first random sub-image from the second random image;
[0017] acquiring the target spliced image from the target image data according to the target frame rate of the second random image, and splitting the second random sub-image from the target spliced image;
[0018] determining whether the first random sub-image and the split second random sub-image are matched;
[0019] when the random sub-image in the second random image and the random sub-image split from the spliced image are both matched, determining that the first random image and the second random image are matched.
[0020] Optionally, the method further includes:
[0021] when the target spliced image is not acquired from the target image data according to the target frame rate of the second random image, increasing a preset count value by a preset step;
[0022] when the comparison of the random sub-image in the second random image and the random sub-image split from the spliced image is completed, determining a target count value;
[0023] based on the target count value, performing recovery processing on the display system.
[0024] Optionally, the method further includes:
[0025] when the first random sub-image and the split second random sub-image are not matched, increasing a preset count value by a preset step;
[0026] when the comparison of the random sub-image in the second random image and the random sub-image split from the spliced image is completed, determining a target count value, determining the target count value;
[0027] based on the target count value, performing recovery processing on the display system.
[0028] Optionally, the recovery processing on the display system based on the target count value includes:
[0029] When the target count value is different from the preset count value, and the target count value does not exceed the preset threshold, performing software-level recovery on the display system;
[0030] When the target count value exceeds the preset threshold, performing hardware-level recovery on the display system.
[0031] Optionally, before sending the random information generation parameter to the display system, the method comprises
[0032] Receiving configuration information sent by the display system;
[0033] Based on the configuration information, the initialization setting is performed, and the random information generation parameter is generated.
[0034] The embodiment of the application further provides a detection system connected with the display system, the detection system comprising:
[0035] The first data transceiver unit is configured to send the random information generation parameter to the display system, and the random information generation parameter is used to generate random information;
[0036] The first image generation unit is configured to generate second random information based on the random information generation parameter, and send the second random information to the comparison unit;
[0037] The display receiving unit is configured to receive target image data sent by the display system, and send the target image data to the comparison unit; the target image data is generated based on the first random information generated by the random information generation parameter and the image to be displayed;
[0038] The comparison unit is configured to judge whether the first random information in the target image data matches the second random information; when the first random information in the target image data matches the second random information, the image to be displayed in the target image data is output to the display output unit;
[0039] The first display output unit is configured to output the image to be displayed to the screen device.
[0040] The embodiment of the application further provides a detection device of a screen, which is applied to a detection system connected with a display system, and the device comprises:
[0041] The sending module is configured to send the random information generation parameter to the display system, and the random information generation parameter is used to generate random information;
[0042] The receiving module is configured to receive target image data sent by the display system; the target image data is generated based on the first random information generated by the random information generation parameter and the image to be displayed;
[0043] The judging module is configured to judge whether the first random information in the target image data matches second random information generated by the detection system based on the random information generation parameter.
[0044] The output module is configured to output the image to be displayed in the target image data to display the image to be displayed when the first random information in the target image data matches the second random information.
[0045] Optionally, the first random information is a first random image, and the second random information is a second random image; and the target image data is spliced from the first random image and the image to be displayed.
[0046] The judging module is configured to split the first random image from the target image data and judge whether the split first random image matches the second random image.
[0047] Optionally, the first random image includes a plurality of different random sub-images, the second random image includes a plurality of different random sub-images, and the image to be displayed includes a plurality of sub-images; and the target image data includes a plurality of spliced images, each spliced image being spliced from a random sub-image of the first random image and a sub-image of the image to be displayed.
[0048] The judging module is configured to acquire a first random sub-image from the second random image, acquire a target spliced image from the target image data according to a target frame rate of the second random image, split a second random sub-image from the target spliced image, judge whether the first random sub-image matches the split second random sub-image, and determine that the split first random image matches the second random image when the random sub-image in the second random image and the random sub-image split from the spliced image are both matched.
[0049] Optionally, the device further includes:
[0050] The restoring module is configured to increase a preset count value by a preset step when a target spliced image is not acquired from the target image data according to the target frame rate of the second random image, determine a target count value after the random sub-image in the second random image and the random sub-image split from the spliced image are both compared, and perform a restoring process on the display system based on the target count value.
[0051] Optionally, the restoring module is further configured to increase the preset count value by the preset step when the first random sub-image does not match the split second random sub-image, determine a target count value after the random sub-image in the second random image and the random sub-image split from the spliced image are both compared, and perform a restoring process on the display system based on the target count value.
[0052] Optionally, the restoring module includes:
[0053] The first recovery submodule is configured to perform software-level recovery on the display system when the target count value is different from the preset count value and the target count value does not exceed the preset threshold value.
[0054] The second recovery submodule is configured to perform hardware-level recovery on the display system when the target count value exceeds the preset threshold value.
[0055] Optionally, the device further comprises:
[0056] The initialization module is configured to receive configuration information sent by the display system before sending the random information generation parameter to the display system, perform initialization setting based on the configuration information, and generate the random information generation parameter.
[0057] The embodiment of the application further provides a vehicle, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and the computer program is executed by the processor to realize the above-mentioned screen detection method.
[0058] The embodiment of the application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is executed by the processor to realize the above-mentioned screen detection method.
[0059] The embodiment of the application has the following advantages:
[0060] In the embodiment of the application, the detection system can first send a random information generation parameter to the display system, the random information generation parameter is used to generate random information, then receive target image data sent by the display system, the target image data is generated by first random information generated based on the random information generation parameter and an image to be displayed, and then judge whether the first random information in the target image data matches second random information generated by the detection system based on the random information generation parameter, when the first random information in the target image data matches the second random information, output the image to be displayed in the target image data to display the image to be displayed. Through the embodiment of the application, it is realized to judge whether the image to be transmitted to the screen device by the display system is correct based on the random information fused in the image to be displayed.
[0061] And by independently setting the detection system, the problem that the screen detection cannot be normally performed due to the failure of the display system can be effectively avoided. BRIEF DESCRIPTION OF DRAWINGS
[0062] In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the present application will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0063] Figure 1 is a step flow chart of a screen detection method according to an embodiment of the present application;
[0064] Figure 2 is a step flow chart of another screen detection method according to an embodiment of the present application;
[0065] Figure 3 is a schematic diagram of target image data according to an embodiment of the present application;
[0066] Figure 4 is a structural schematic diagram of a detection system according to an embodiment of the present application;
[0067] Figure 5 is a schematic diagram of a detection system and a display system according to an embodiment of the present application;
[0068] Figure 6 is a structural block diagram of a screen detection device according to an embodiment of the present application. DETAILED DESCRIPTION
[0069] In order to make the above-mentioned purposes, features and advantages of the present application more apparent and easy to understand, the present application will be further described in detail below with reference to the drawings and specific embodiments. Obviously, the described embodiments are some embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0070] With reference to Figure 1 , a step flow chart of a screen detection method according to an embodiment of the present application is shown, which is applied to a detection system, and the detection system can be connected with a display system.
[0071] Specifically, the method can include the following steps:
[0072] Step 101, sending a random information generation parameter to the display system, the random information generation parameter being used to generate random information;
[0073] The detection system can be used to detect screen failure (for example, screen freezing), and the display system can be used to generate and output the image to be displayed. The detection system and the display system are relatively independent systems and do not affect each other, thereby effectively avoiding the problem that the screen detection cannot be normally performed due to failure of the display system.
[0074] The random information generation parameter can refer to a parameter used to generate random information, and embodiments of the present application do not make any limitation.
[0075] The random information can refer to information generated based on the random information generation parameter, which can be fused with the image to be displayed by the display system. The random information can be, for example, a random image, a random identifier, etc., and embodiments of the present application do not make any limitation.
[0076] In actual application, the display system can first send a random information generation parameter to the detection system, so that the display system and the detection system can generate the same random information based on the same random information generation parameter.
[0077] As an example, step 101 can be performed in advance, for example, can be performed when the display system and the detection system are initialized, and embodiments of the present application do not make any limitation.
[0078] Step 102, receiving target image data sent by the display system; the target image data is generated based on the first random information generated based on the random information generation parameter and the image to be displayed;
[0079] In actual application, the display system can generate a random information based on the random information generation parameter in advance, in order to facilitate the distinction, the random information is referred to as the first random information.
[0080] When the display system needs to output the image to be displayed to the screen device for display, the display system can first generate a target image data based on the previously generated random information and the image to be displayed.
[0081] Then, the display system can send the target image data to the detection system, so that the detection system can determine whether the image transmitted by the display system to the screen device is correct.
[0082] Step 103, determining whether the first random information in the target image data matches the second random information generated by the detection system based on the random information generation parameter;
[0083] In actual application, when the display system fails, the target image data transmitted to the detection system can be abnormal, for example, frame loss, image distortion, etc.
[0084] Since the target image data is generated based on the first random information and the image to be displayed, when the target image data is abnormal, the first random information and the image to be displayed will also be abnormal; therefore, the detection system can determine whether the display system is faulty and the image to be transmitted to the screen device is correct based on the first random information in the target image data and the second random information generated by the detection system in advance.
[0085] Specifically, whether the display system is faulty and the image to be transmitted to the screen device is correct can be determined by judging whether the first random information in the target image data matches the second random information.
[0086] Step 104: When the first random information in the target image data matches the second random information, output the image to be displayed in the target image data to display the image to be displayed.
[0087] If the first random information in the target image data does not match the second random information, it can be indicated that the first random information in the target image data is abnormal, and further, it can be indicated that the image to be displayed in the target image data is also abnormal; further, it can be determined that the display system is faulty and the image to be transmitted to the screen device is incorrect.
[0088] At this time, the image to be displayed in the target image data can not be output to the screen device, so as to avoid displaying the abnormal image to be displayed to the user.
[0089] If the first random information in the target image data does not match the second random information, it can be indicated that the first random information in the target image data is not abnormal, and further, it can be indicated that the image to be displayed in the target image data is also not abnormal; further, it can be determined that the display system is not faulty and the image to be transmitted to the screen device is correct.
[0090] At this time, the image to be displayed in the target image data can be output to the screen device to display the image to be displayed to the user.
[0091] In the embodiment of the present application, the detection system can first send a random information generation parameter to the display system, the random information generation parameter being used to generate random information; then receive target image data sent by the display system; the target image data being generated based on first random information generated based on the random information generation parameter and an image to be displayed; then determine whether the first random information in the target image data matches second random information generated by the detection system based on the random information generation parameter; when the first random information in the target image data matches the second random information, output the image to be displayed in the target image data to display the image to be displayed. Through the embodiment of the present application, it is realized to determine whether the image to be transmitted to the screen device by the display system is correct based on the random information fused in the image to be displayed.
[0092] And by independently setting the detection system, it can effectively avoid the problem that the screen detection cannot be normally performed due to the failure of the display system.
[0093] Referring to Figure 2 , a step flowchart of another screen detection method according to an embodiment of the present application is shown, comprising the following steps:
[0094] Step 201, sending a random information generation parameter to the display system;
[0095] In actual application, the display system can first send a random information generation parameter to the detection system, so that the display system and the detection system can generate the same random information based on the same random information generation parameter.
[0096] In an embodiment of the present application, before sending the random information generation parameter to the display system, the following steps can also be included:
[0097] Receiving configuration information sent by the display system; performing initialization setting based on the configuration information and generating the random information generation parameter.
[0098] The configuration information can include resolution information, frame rate information, etc.; the configuration information can be set based on the processing capacity of the display system and the detection system, and the embodiment of the present application does not limit this.
[0099] The display system can first send a configuration parameter to the detection system when initializing, and the detection system can perform initialization setting based on the configuration parameter when receiving the configuration parameter.
[0100] Meanwhile, the detection system can generate a random information generation parameter based on the configuration parameter and send it to the display system, so that the display system can generate the same random information as the detection system.
[0101] It should be noted that the same random information can refer to consistent content, consistent frame rate, consistent size, and the like of the random information, and of course can also include other information being consistent, and the embodiments of the present application do not limit this.
[0102] Step 202, receiving target image data sent by the display system;
[0103] In actual application, the display system can generate the first random information based on the random information generation parameter in advance.
[0104] When the display system needs to output the image to be displayed to the screen device for display, the display system can first generate a target image data based on the previously generated random information and the image to be displayed.
[0105] Then, the display system can send the target image data to the detection system, so that the detection system judges whether the image transmitted by the display system to the screen device is correct.
[0106] Step 203, the first random information is a first random image, and the second random information is a second random image; the target image data is spliced from the first random image and the image to be displayed; and the first random image is segmented from the target image data.
[0107] In actual application, the random information can be in the form of an image; and the target image data can be spliced from the image to be displayed and the first random image by the display system.
[0108] For example, Figure 3 The image to be displayed 301 can be spliced with the first random image 302 up and down, left and right, or the first random image can be inserted in the middle of the image to be displayed, and the embodiments of the present application do not limit this.
[0109] Thus, when the detection system receives the target image data sent by the display system, the position of the first random image in the target image data can be determined first; and then the first random image is segmented from the target image data.
[0110] As an example, the first random image and the image to be displayed can also be superimposed, and the embodiments of the present application do not limit this.
[0111] Step 204, judging whether the segmented first random image matches the second random image;
[0112] The detection system can compare whether the segmented first random image matches the second random image after segmenting the first random image in the target image data, so as to determine whether the image to be displayed is correct. For example, the detection system can compare whether the segmented first random image matches the second random image based on CRC (Cyclic Redundancy Check).
[0113] In an embodiment of the present application, the first random image can include a plurality of different random sub-images, the second random image can include a plurality of different random sub-images, and the image to be displayed can include a plurality of sub-images; the target image data can include a plurality of spliced images, each spliced image can be spliced from a random sub-image of the first random image and a sub-image of the image to be displayed.
[0114] In an embodiment of the present application, the first random image can include a plurality of different random sub-images, the second random image can include a plurality of different random sub-images, and the image to be displayed can include a plurality of sub-images; the target image data can include a plurality of spliced images, each spliced image can be spliced from a random sub-image of the first random image and a sub-image of the image to be displayed.
[0115] The sub-image in the image to be displayed can be spliced with the random sub-image in the first random image to form a spliced image, and all the spliced images can form the target image data.
[0116] Since the first random image and the second random image are both generated based on the same random information generation parameter, the frame rate of the image set corresponding to the first random image is the same as the frame rate of the image set corresponding to the second random image, and the random sub-image corresponding to each same frame number is also the same.
[0117] Therefore, step 204 can be implemented through the following sub-steps:
[0118] Sub-step 11, obtaining the first random sub-image from the second random image;
[0119] First, the first random sub-image can be obtained from the image set of the second random image, or the first random sub-image can be obtained from the image set of the second random image in the order of frame numbers, and the present application does not limit this.
[0120] Sub-step 12, obtaining a target spliced image from the target image data according to a target frame rate of the second random image, and segmenting the second random sub-image from the target spliced image;
[0121] The target frame rate of the second random image can refer to the frame rate based on which the detection system generates the second random image.
[0122] In the step of acquiring the first random sub-image from the second random image, the detection system can further acquire a target sub-image from the image to be displayed according to a target frame rate.
[0123] Specifically, a target time period can be determined based on the target frame rate and the frame number corresponding to the first random sub-image; then, a spliced image within the target time period can be acquired from the image set corresponding to the target image data, and the spliced image can be taken as the target spliced image.
[0124] The target spliced image can include a sub-image in the image set corresponding to the image to be displayed, and a random sub-image in the image set corresponding to the first random image; after the target spliced image is determined, the detection system can separate the sub-image and the random sub-image in the target spliced image, and take the random sub-image as the second random sub-image.
[0125] Sub-step 13, judging whether the first random sub-image matches the second random sub-image separated out.
[0126] Then, the detection system can judge whether the first random sub-image matches the second random sub-image separated out, so as to judge whether the sub-image corresponding to the image to be displayed in the target spliced image is normal.
[0127] Sub-step 14, when the random sub-image in the second random image matches the random sub-image separated out from the spliced image, it is determined that the first random image separated out matches the second random image.
[0128] In actual application, the detection system can compare the random sub-image in the second random image with the random sub-image separated out from the spliced image respectively; if the random sub-image in the second random image matches the random sub-image separated out from the spliced image, it is determined that the first random image separated out matches the second random image.
[0129] Further, it is determined that the target image to be displayed currently output by the display system from the screen device does not appear abnormal, the display system does not have a fault, and the image to be transmitted to the screen device is correct.
[0130] Step 205, when the first random image separated out matches the second random image, the image to be displayed in the target image data is output to display the image to be displayed.
[0131] If the first random image in the target image data does not match the second random image, it can be indicated that the first random image in the target image data is abnormal, and further, it can be indicated that the image to be displayed in the target image data is also abnormal; further, it can be determined that the display system has a fault, and the image to be transmitted to the screen device is incorrect.
[0132] At this time, the image to be displayed in the target image data can be not output to the screen device, so as to avoid displaying the abnormal image to be displayed to the user.
[0133] If the first random image in the target image data does not match the second random image, it can be indicated that the first random image in the target image data is not abnormal, and further, it can be indicated that the image to be displayed in the target image data is also not abnormal; further, it can be determined that the display system has no fault, and the image to be transmitted to the screen device is correct.
[0134] At this time, the image to be displayed in the target image data can be output to the screen device, so as to display the image to the user.
[0135] In an embodiment of the present application, if the first random sub-image does not match the second random sub-image segmented, the following steps can be further included:
[0136] When the first random sub-image does not match the second random sub-image segmented, the preset count value is increased by a preset step; when the comparison of the random sub-image in the second random image and the random sub-image segmented from the spliced image is completed, the target count value is determined; and the display system is recovered based on the target count value.
[0137] The preset count value can be a value for counting the number of times of mismatching of the random sub-image, which is set in advance, for example, the preset count value can be set to 0; when a group of random sub-images do not match or there is a random sub-image that does not form a pair, the preset count value can be increased by a preset step.
[0138] The preset step can be set according to actual conditions, for example, when a group of random sub-images do not match or there is a random sub-image that does not form a pair, the preset count value is increased by 1, and the embodiment of the present application does not limit this.
[0139] In actual application, if the first random sub-image does not match the second random sub-image segmented, it can be recorded that the target image data has an abnormality; at this time, the preset count value can be increased by a preset step.
[0140] When the random sub-image in the second random image and the random sub-image segmented from the spliced image are compared, a target count value can be determined.
[0141] For example, the preset count value is 0, and the preset step is 1; if the first random sub-image is not matched with the segmented second random sub-image for three times, the target count value can be determined as 0+3=3.
[0142] After the target count value is determined, the display system can be recovered based on the target count value.
[0143] As an example, the display system can be recovered by the following steps:
[0144] When the target count value is different from the preset count value, and the target count value does not exceed the preset threshold, the display system is recovered at the software level; when the target count value exceeds the preset threshold, the display system is recovered at the hardware level.
[0145] If the target count value is different from the preset count value, and the target count value does not exceed the preset threshold, it can be indicated that the current fault of the display system is still relatively slight; at this time, the display system can be recovered only at the software level, for example, a recovery program is run.
[0146] If the target count value has exceeded the preset threshold, it can be indicated that the current fault of the display system is relatively serious; at this time, the display system can be recovered at the hardware level, for example, the display system is repaired by other systems.
[0147] In another embodiment of the present application, if the target spliced image is not acquired from the target image data according to the target frame rate of the second random image, the following steps can be further included:
[0148] When the target spliced image is not acquired from the target image data according to the target frame rate of the second random image, the preset count value is increased by a preset step; when the random sub-image in the second random image and the random sub-image segmented from the spliced image are compared, a target count value is determined; and the display system is recovered based on the target count value.
[0149] In actual application, if the target spliced image cannot be acquired from the target image data according to the target frame rate of the second random image, it can be indicated that there is no second random sub-image corresponding to the first random sub-image; at this time, it can be recorded that the target image data has an abnormality once, and the preset count value is increased by a preset step.
[0150] When the random sub-image in the second random image and the random sub-image segmented from the spliced image are compared, a target count value can be determined.
[0151] For example, the preset count value is 0, and the preset step length is 1; a total of 3 random sub-images in the second random image are detected without obtaining the corresponding target splicing image, and it can be determined that the target count value is 0+3=3.
[0152] After the target count value is determined, the display system can be recovered based on the target count value.
[0153] In the embodiment of the application, the detection system first sends random information generation parameters to the display system; then receives target image data sent by the display system; the first random information is a first random image, and the second random information is a second random image; the target image data is spliced from the first random image and an image to be displayed; the first random image is segmented from the target image data; it is judged whether the segmented first random image matches the second random image; when the segmented first random image matches the second random image, the image to be displayed in the target image data is outputted to display the image to be displayed. Through the embodiment of the application, the random image is spliced in the image to be displayed, so that the detection system can judge whether the image to be transmitted to the screen device by the display system is correct based on the received random image spliced with the image to be displayed and the random image generated by the detection system.
[0154] It should be noted that, for the method embodiments, in order to simply describe, they are all described as a series of action combinations, but those skilled in the art should know that the embodiments of the application are not limited to the order of the described actions, because according to the embodiments of the application, some steps can be performed in other order or at the same time. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions involved are not necessarily the necessary actions of the embodiments of the application.
[0155] Referring to Figure 4 , a structure schematic diagram of a detection system according to an embodiment of the application is shown, the detection system 400 is connected with a display system 500, and the detection system can include the following units:
[0156] The first data transceiver unit 401 is used for sending random information generation parameters to the display system, and the random information generation parameters are used for generating random information;
[0157] The detection system can be used for detecting screen failure, and the display system can be used for generating and outputting images to be displayed; the detection system and the display system are two relatively independent systems and do not affect each other, so that the problem that the screen detection cannot be normally performed due to the failure of the display system can be effectively avoided.
[0158] The random information generation parameter can refer to a parameter for generating random information, and embodiments of the present application do not make any limitation in this regard.
[0159] The random information can refer to information generated based on random information, which can be fused with the image to be displayed by the display system; the random information may, for example, be a random image, a random identifier, etc., and embodiments of the present application do not make any limitation in this regard.
[0160] The first data transceiver unit 401 can send the random information generation parameter generated by the detection system 400 to the display system 500.
[0161] After receiving the random information generation parameter, the display system 500 can generate first random information based on the random information generation parameter, and generate target image data according to the first random information and the image to be displayed.
[0162] As an example, the display system 500 can send configuration information to the first data transceiver unit 401 of the detection system 400 when initializing; after receiving the configuration information, the first data transceiver unit 401 can send the configuration information to the frame signal unit.
[0163] The frame signal unit can generate the random information generation parameter based on the configuration information, and send the random information generation parameter to the first image generation unit 402 to generate second random information, and to the first data transceiver unit 401 for forwarding to the display system 500 by the first data transceiver unit 401.
[0164] The first image generation unit 402 is configured to generate second random information based on the random information generation parameter, and send the second random information to the comparison unit;
[0165] After receiving the random information generation parameter, the first image generation unit 402 can first generate second random information according to the random information generation parameter.
[0166] As an example, when the first image generation unit 402 generates the second random information, the second random information can be first included in the first image generation unit 402, and then sent to the comparison unit 404 when detection is needed.
[0167] As another example, when the first image generation unit 402 generates the second random information, the second random information can also be directly sent to the comparison unit 404 and saved in the comparison unit 404, and embodiments of the present application do not make any limitation in this regard.
[0168] The display receiving unit 403 is configured to receive the target image data sent by the display system, and send the target image data to the comparison unit; the target image data is generated based on the first random information generated by the random information generation parameter and the image to be displayed.
[0169] The display system 500, after generating the target image data, can send the target image data to the display receiving unit 403 of the detection system 400; the display receiving unit 403, after receiving the target image data, can send the target image data to the comparison unit 404, so as to determine whether the image output by the display system 500 to the screen device for display is correct.
[0170] As an example, the display receiving unit 403, after receiving the target image data, can process the target image data, so as to extract the first random information in the target image data.
[0171] The comparison unit 404 is configured to determine whether the first random information in the target image data matches the second random information; when the first random information in the target image data matches the second random information, output the image to be displayed in the target image data to the first display output unit.
[0172] The comparison unit 404, after receiving the first random information, can compare whether the first random information extracted from the target image data matches the second random information.
[0173] If the first random information extracted from the target image data does not match the second random information, it can be indicated that the image output by the display system 500 to the screen device for display is incorrect. At this time, the image to be displayed in the target image data can not be output to the screen device, so as to avoid displaying the abnormal image to be displayed to the user.
[0174] If the first random information extracted from the target image data matches the second random information, it can be indicated that the image output by the display system 500 to the screen device for display is correct. At this time, the comparison unit 404 can output the received image to be displayed to the first display output unit 405.
[0175] The first display output unit 405 is configured to output the image to be displayed to the screen device.
[0176] The first display output unit 405, after receiving the image to be displayed, can output the image to be displayed to the screen device, so that the screen device can display the image to be displayed.
[0177] As Figure 5 , the detection system 400 can include the first data transceiver unit 401, the first image generation unit 402, the display receiving unit 403, the comparison unit 404, the first display output unit 405, and the frame signal unit 406 and the recovery unit 407.
[0178] The display system 500 can include a second data transceiver unit 501, a frame synchronization unit 502, a second image generation unit 503, a fusion unit 504, and a second display output unit 505, a display recovery unit 506, and a reset unit 507.
[0179] When the display system 500 is initialized, the second data transceiver unit 501 can send configuration information to the first data transceiver unit 401 of the detection system 400, which can include resolution information W*H, frame rate F, random image row number N, and preset threshold T for the count value.
[0180] After the first data transceiver unit 401 receives the configuration information, the configuration information can be sent to the frame signal unit 406; the frame signal unit 406 can generate random information generation parameters after receiving the configuration information; the random information generation parameters can include seed number R and frame rate F.
[0181] Then, the frame signal unit 406 can send the seed number R to the first data transceiver unit 401 and send it to the second data transceiver unit 501 of the display system 500 via the first data transceiver unit 401; and send the seed number R and the frame rate F to the first image generation unit 402.
[0182] In addition, the frame signal unit 406 can send the frame rate F to the frame synchronization unit 502 of the display system 500.
[0183] After the first image generation unit 402 receives the seed number R and the frame rate F, it can generate second random information including N rows of random images based on the seed number R and the frame rate F.
[0184] After the frame synchronization unit 502 of the display system receives the frame rate F, it can send the frame rate F to the second image generation unit 503; and after the second data transceiver unit 501 receives the seed number R, it can send the seed number R to the second image generation unit 503.
[0185] After the second image generation unit 503 receives the frame rate F and the seed number R, it can generate first random information including N rows of random images based on the frame rate F and the seed number R. The first random information and the second random information are the same.
[0186] After the fusion unit 504 in the display system 500 receives H rows of images to be displayed, it can fuse the first random information obtained from the second image generation unit 503 with the images to be displayed to generate target image data with the first N rows as random information and the last H rows as images to be displayed.
[0187] Then, the fusion unit 504 can send the target image data to the display receiving unit 403 of the detection system 400 through the second display output unit 505.
[0188] After receiving the target image data, the display receiving unit 403 can split each of the stitched images from the Nth row of images and the (N+1)th row of images, and send the first N rows of images (i.e., corresponding to the first random information) and the last H rows of images (i.e., corresponding to the image to be displayed) to the comparison unit 404 for comparison.
[0189] After receiving the first N rows of images and the last H rows of images, the comparison unit 404 can compare the first N rows of images with the N rows of random images generated by the detection system 400 itself.
[0190] If the first N rows of images do not match any of the N rows of random images, or there is no first N rows of images corresponding to the target time period corresponding to any of the N rows of random images, the preset count value is incremented by 1.
[0191] After all the first N rows of images are compared with all the N rows of random images, the target count value can be determined.
[0192] If the target count value is equal to the preset count value, the comparison unit 404 can send the last H rows of images to the first display output unit 405; after receiving the last H rows of images, the first display output unit 405 can output the last H rows of images to the screen device, so that the screen device displays the image to be displayed.
[0193] When the last H rows of images are output to the screen device, the comparison unit can reset the count value to the preset count value.
[0194] If the target count value is not equal to the preset count value, the comparison unit 404 can send the target count value to the recovery unit 407, so that the recovery unit 407 can recover the display system 500 based on the target technology.
[0195] If the target count value is not equal to the preset count value and is not greater than the preset threshold T, the recovery unit 407 can send an error message to the display recovery unit 506 of the display system 500, and the display recovery unit 506 can recover the display system at the software level based on the error signal.
[0196] If the target count value is greater than the preset threshold T, the recovery unit 407 can send a reset signal to the reset unit 507 of the display system 500, and the reset unit 507 can recover the display system at the hardware level based on the reset signal.
[0197] In the embodiment of the present application, the detection system can first send random information generation parameters to the display system, the random information generation parameters being used to generate random information; then receive target image data sent by the display system; the target image data being generated by first random information generated based on the random information generation parameters and an image to be displayed; then determine whether the first random information in the target image data matches second random information generated by the detection system based on the random information generation parameters; when the first random information in the target image data matches the second random information, output the image to be displayed in the target image data to display the image to be displayed. Through the embodiment of the present application, it is realized to determine whether the image to be transmitted to the screen device by the display system is correct based on the random information fused in the image to be displayed.
[0198] And by independently setting the detection system, the problem that the screen detection cannot be normally performed due to the failure of the display system can be effectively avoided.
[0199] Reference Figure 6 Fig. 1 shows a structure schematic diagram of a screen detection device in the embodiment of the present application, which is applied to a detection system, and the detection system can be connected with a display system;
[0200] Specifically, the following modules can be included:
[0201] The sending module 601 is used to send random information generation parameters to the display system, the random information generation parameters being used to generate random information;
[0202] The receiving module 602 is used to receive target image data sent by the display system; the target image data being generated by first random information generated based on the random information generation parameters and an image to be displayed;
[0203] The determining module 603 is used to determine whether the first random information in the target image data matches second random information generated by the detection system based on the random information generation parameters;
[0204] The output module 604 is used to output the image to be displayed in the target image data when the first random information in the target image data matches the second random information, so as to display the image to be displayed.
[0205] In an optional embodiment of the present application, the first random information is a first random image, and the second random information is a second random image; the target image data is spliced by the first random image and the image to be displayed;
[0206] The determining module 603 is used to split the first random image from the target image data; and determine whether the split first random image matches the second random image.
[0207] In an optional embodiment of the present application, the first random image comprises a plurality of different random sub-images, the second random image comprises a plurality of different random sub-images, and the image to be displayed comprises a plurality of sub-images; the target image data comprises a plurality of spliced images, each spliced image being spliced from a random sub-image of the first random image and a sub-image of the image to be displayed;
[0208] The judging module 603 is configured to acquire the first random sub-image from the second random image; acquire the target spliced image from the target image data according to the target frame rate of the second random image, and segment the second random sub-image from the target spliced image; judge whether the first random sub-image matches the segmented second random sub-image; and when the random sub-image in the second random image and the random sub-image segmented from the spliced image both match, determine that the segmented first random image matches the second random image.
[0209] In an optional embodiment of the present application, the device further comprises:
[0210] The restoring module is configured to increase a preset count value by a preset step when the target spliced image is not acquired from the target image data according to the target frame rate of the second random image; determine the target count value after the comparison of the random sub-image in the second random image and the random sub-image segmented from the spliced image is completed; and perform a restoring process on the display system based on the target count value.
[0211] In an optional embodiment of the present application, the restoring module is further configured to increase the preset count value by the preset step when the first random sub-image does not match the segmented second random sub-image; determine the target count value after the comparison of the random sub-image in the second random image and the random sub-image segmented from the spliced image is completed; and perform a restoring process on the display system based on the target count value.
[0212] In an optional embodiment of the present application, the restoring module comprises:
[0213] The first restoring submodule is configured to perform a software-level restoring process on the display system when the target count value is different from the preset count value and the target count value does not exceed a preset threshold.
[0214] The second restoring submodule is configured to perform a hardware-level restoring process on the display system when the target count value exceeds the preset threshold.
[0215] In an optional embodiment of the present application, the device further comprises:
[0216] The initializing module is configured to receive configuration information sent by the display system before sending the random information generation parameter to the display system; perform an initialization setting based on the configuration information, and generate the random information generation parameter.
[0217] In the embodiment of the present application, the detection system can first send random information generation parameters to the display system, the random information generation parameters being used to generate random information; then receive target image data sent by the display system; the target image data being generated based on first random information generated based on the random information generation parameters and an image to be displayed; then judge whether the first random information in the target image data matches second random information generated by the detection system based on the random information generation parameters; when the first random information in the target image data matches the second random information, output the image to be displayed in the target image data to display the image to be displayed. Through the embodiment of the present application, it is realized to judge whether the image to be transmitted to the screen device by the display system is correct based on the random information fused in the image to be displayed.
[0218] And by independently setting the detection system, the problem that the screen detection cannot be normally performed due to the failure of the display system can be effectively avoided.
[0219] The embodiment of the present application also provides a vehicle, which can include a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and the computer program is executed by the processor to realize the screen detection method as above.
[0220] The embodiment of the present application also provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is executed by the processor to realize the screen detection method as above.
[0221] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the related parts are referred to the part of the method embodiment.
[0222] Each embodiment in the specification is described in a progressive manner, and each embodiment mainly describes the difference from other embodiments, and the same and similar parts between the embodiments are referred to each other.
[0223] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a device, or a computer program product. Therefore, the embodiments of the present application can adopt a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present application can adopt a computer program product in the form of one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program codes.
[0224] The embodiments of the present application are described with reference to the flowchart illustrations and / or block diagrams of the methods, terminal devices (systems) and computer program products according to the embodiments of the present application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal devices to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal devices, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams.
[0225] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal devices to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams.
[0226] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal devices, such that a series of operational steps are carried out on the computer or other programmable terminal devices to produce a computer implemented process so that the instructions executed on the computer or other programmable terminal devices provide steps for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams.
[0227] Although preferred embodiments of the present application have been described, those skilled in the art will be able to make additional modifications and variations to these embodiments without departing from the scope of the present application. Accordingly, the appended claims are intended to encompass all such modifications and variations as falling within the scope of the present application.
[0228] Finally, it is to be understood that the terms such as first and second, and the like, herein do not denote any inherent hierarchy, or importance, but are used only to distinguish one element from another. Also, the term "comprises", "comprising", or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0229] The above provides a detailed description of the provided screen detection method, device and vehicle, and a detection system. The principles and embodiments of the present application are described herein using specific examples. The above examples are used to help understand the method and core idea of the present application. For those skilled in the art, the specific embodiments and application scope can be changed according to the idea of the present application. In summary, the content of the specification should not be understood as a limitation of the present application.
Claims
1. A method of detecting a screen, characterized by, The method is applied to a detection system connected with a display system, and comprises the following steps: sending a random information generation parameter to the display system, the random information generation parameter being used to generate random information; receiving target image data sent by the display system, the target image data being generated by first random information generated based on the random information generation parameter and an image to be displayed, the first random information being generated by the display system based on the random information generation parameter, the first random information being a first random image, and the target image data being spliced from the first random image and the image to be displayed; judging whether the first random information in the target image data matches second random information generated by the detection system based on the random information generation parameter, the second random information being a second random image; when the first random information in the target image data matches the second random information, outputting the image to be displayed in the target image data to display the image to be displayed.
2. The method of claim 1, wherein the judging whether the first random information in the target image data matches the second random information generated by the detection system based on the random information generation parameter comprises: segmenting the first random image from the target image data; and judging whether the segmented first random image matches the second random image. The first random image comprises a plurality of different random sub-images, the second random image comprises a plurality of different random sub-images, the image to be displayed comprises a plurality of sub-images, the target image data comprises a plurality of spliced images, each spliced image being spliced from a random sub-image of the first random image and a sub-image of the image to be displayed.
3. The method of claim 2, wherein, The judging whether the segmented first random image matches the second random image comprises: obtaining a first random sub-image from the second random image; obtaining a target spliced image from the target image data according to a target frame rate of the second random image, and segmenting a second random sub-image from the target spliced image; judging whether the first random sub-image matches the segmented second random sub-image; and when the random sub-image in the second random image matches the random sub-image segmented from the spliced image, determining that the segmented first random image matches the second random image. The method further comprises:
4. The method of claim 3, wherein, when a target spliced image is not obtained from the target image data according to the target frame rate of the second random image, increasing a preset count value by a preset step; when the comparison of the random sub-image in the second random image with the random sub-image segmented from the spliced image is completed, determining a target count value; and based on the target count value, performing a recovery process on the display system. The method further comprises:
5. The method of claim 3, wherein, when the first random sub-image does not match the segmented second random sub-image, increasing a preset count value by a preset step. determining a target count value when the random sub-image in the second random image and the random sub-image segmented from the spliced image are both compared; restoring the display system based on the target count value.
6. The method according to any one of claims 4-5, characterized in that, The restoration of the display system based on the target count value includes: when the target count value is different from a preset count value and the target count value does not exceed a preset threshold, performing software-level restoration on the display system; when the target count value exceeds the preset threshold, performing hardware-level restoration on the display system.
7. The method according to any one of claims 1 to 5, characterized in that, Before sending the random information generation parameter to the display system, the method includes: receiving configuration information sent by the display system; based on the configuration information, performing initialization setting and generating a random information generation parameter.
8. A detection system characterized by, The detection system is connected with the display system, and the detection system includes: a first data transceiver unit configured to send a random information generation parameter to the display system, the random information generation parameter being used to generate random information; a first image generation unit configured to generate second random information based on the random information generation parameter and send the second random information to a comparison unit, the second random information being a second random image; a display receiving unit configured to receive target image data sent by the display system and send the target image data to the comparison unit, the target image data being generated based on first random information generated by the display system based on the random information generation parameter and an image to be displayed, the first random information being a first random image, and the target image data being spliced from the first random image and the image to be displayed; a comparison unit configured to determine whether the first random information in the target image data matches the second random information; when the first random information in the target image data matches the second random information, outputting the image to be displayed in the target image data to a display output unit; a first display output unit configured to output the image to be displayed to a screen device.
9. A screen detection apparatus, characterized by comprising: The detection system is connected with the display system, and the device includes: a sending module configured to send a random information generation parameter to the display system, the random information generation parameter being used to generate random information; a receiving module configured to receive target image data sent by the display system; the target image data being generated based on first random information generated by the display system based on the random information generation parameter and an image to be displayed, the first random information being a first random image, and the target image data being spliced from the first random image and the image to be displayed; a determination module configured to determine whether the first random information in the target image data matches second random information generated by the detection system based on the random information generation parameter, the second random information being a second random image. An output module is configured to output a to-be-displayed image in the target image data for displaying the to-be-displayed image when first random information in the target image data matches the second random information.
10. A vehicle characterized by comprising: A computer program product comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the method of claim 1 to 7.
11. A computer readable storage medium, characterized in that, A computer program is stored on the computer readable storage medium, and when executed by a processor, implements the method of claim 1 to 7.
Citation Information
Patent Citations
Display control apparatus and display control method
CN109792514A