CN109871679A - Data display method, system, device and medium - Google Patents
Data display method, system, device and medium Download PDFInfo
- Publication number
- CN109871679A CN109871679A CN201811607234.7A CN201811607234A CN109871679A CN 109871679 A CN109871679 A CN 109871679A CN 201811607234 A CN201811607234 A CN 201811607234A CN 109871679 A CN109871679 A CN 109871679A
- Authority
- CN
- China
- Prior art keywords
- data
- memory
- subregion
- display
- display method
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000007906 compression Methods 0.000 description 5
- 230000006835 compression Effects 0.000 description 5
- 230000003068 static effect Effects 0.000 description 3
- 238000013144 data compression Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000011069 regeneration method Methods 0.000 description 1
Landscapes
- Storage Device Security (AREA)
Abstract
A kind of image data display method includes the following steps: step 1, reads the image data in the first subregion of memory and the data are copied to memory, form corresponding internal storage data;Step 2, signature authentication is carried out to internal storage data;If authenticating successfully, 3 are entered step;If certification is unsuccessful, 4 are entered step;Step 3, internal storage data is unziped in the buffer area fb of memory and enters step 6;Step 4, read the second subregion of memory in data to memory and the data are copied into memory the first subregion in;Step 5, signature authentication is carried out to the data being read into memory and enters step 3 if authenticating successfully, if unsuccessful, display starting failure;Step 6, display memory data.Data display method of the present invention increases the safety and display speed of booting logo.
Description
Technical field
The present invention relates to the data presentation technique in physical field more particularly to vehicle entertainment system, especially a kind of number
According to display methods, system, device and medium.
Background technique
In the prior art, there are two types of the quick displaying schemes of trade mark based on uboot+linux.First is that being loaded in uboot
Logo is shown, second is that the loaded and displayed logo in kernel.Both schemes all cannot carry out redundancy backup, calamity to logo mirror image
It is difficult to recover, content authentication and data compression.
Summary of the invention
In view of the above technical problems, the purpose of the present invention is to provide a kind of data display method, system, device and Jie
Matter.
In order to solve the above technical problems, data display method of the invention, includes the following steps:
Step 1, it reads the image data in the first subregion of memory and the data is copied into memory, form corresponding memory number
According to;
Step 2, signature authentication is carried out to internal storage data;
If authenticating successfully, 3 are entered step;
If certification is unsuccessful, 4 are entered step;
Step 3, internal storage data is unziped in the buffer area fb of memory and enters step 6;
Step 4, read the second subregion of memory in data to memory and the data are copied into memory the first subregion in;
Step 5, signature authentication is carried out to the data being read into memory and enters step 3 if authenticating successfully, if unsuccessful,
Display starting failure;
Step 6, display memory data.
In step 1, the data in the first subregion of memory are copied to by memory by uboot.
In step 2, signature authentication is carried out to internal storage data by uboot.
In step 4, the data in the second subregion of memory are copied in the first subregion of memory by uboot.
In step 6, the internal storage data in buffer area is transferred to by video-out port by video output controller
Display screen is simultaneously shown.
Memory is nand memory.
Buffer area is the buffer area fb.
A kind of data presentation system, comprising:
Storing module is taken, for reading the data in the first subregion of memory and the data being copied to memory, is formed in corresponding
Deposit data;
Authentication module, for carrying out signature authentication to internal storage data;
Display module is used for display memory data.
A kind of data presentation device, comprising: be stored with the memory of data display program and show journey for operation data
The step of processor of sequence, data display program is arranged for carrying out data display method.
A kind of computer readable storage medium, data display program is stored on computer readable storage medium, and data are aobvious
Show the step of data display method is realized when program is executed by processor.
Data display method of the present invention increases the safety and display speed of booting logo.
Detailed description of the invention
Fig. 1 is data display method flow chart of the present invention;
Fig. 2 is data display method logo data of the present invention load and display data stream to figure;
Fig. 3 is that data display method of the present invention makes logo mirror image flow chart.
Specific embodiment
Data display method of the present invention is described in further detail with reference to the accompanying drawing.
The logo mirror image of data display method of the present invention is separated with program image: being not only improved mirror image management in this way, is also divided
Risk is dissipated.Even if that is logo corrupted data, the operation of program will not be influenced on software view.Redundancy starting
With disaster recovery: under the scene that storage medium does not have physical damage, it also can normally show logo, and self-regeneration damage
Logo mirror image.Content authentication: logo mirrored content is authenticated using the scheme of signature authentication.Prevent logo mirror image by malice
Change.Dynamic reads image file: the method that traditional nand reads mirror image is read according to maximum file size, takes parsing text
The method that part head obtains document size information can read file according to file actual size.Save read access time.Compression: it adopts
Logo content is compressed with compression algorithm.Memory space is reduced, accelerated loading and section space-efficient purpose are reached.In reality
In project, the operational capability of CPU and the bandwidth of RAM are significantly larger than the performance for reading ROM.So compress mode is taken to store
Logo can shorten the display time of logo.Moreover, the complexity of booting logo mirror image is generally relatively low, using compression algorithm
Bigger compression ratio can be obtained.Static allocation fb:linux kernel fb is distributed by the way of static reservations, static allocation energy
The time that fb is established enough is reduced, achievees the purpose that accelerate display.
As shown in Figure 1, data display method of the present invention, there are two types of paths:
One: logo the first subregion of subregion 1(of situation) data are normal and can correctly be loaded into memory.
Step1:uboot is by the first subregion of trade mark subregion 1() in the address specified to memory of logo mirror-image copies.
Step2:uboot carries out signature authentication to logo mirror image, after certification passes through.By the fb of logo image decompressing to memory
In buffer area.
Step3: normal initialization fb frame and video output controller, then video output controller will be in the buffer area fb
Logo display screen be transported to by video-out port shown.
Two: logo subregion of situation, 1 data exception cannot be normal through certification.
Mirror-image copies unspoiled in logo subregion 2 to memory, and are restored to logo subregion 1(first by step1:uboot
Subregion) in.
Step2:uboot carries out signature authentication to logo mirror image, after certification passes through.By the fb of logo image decompressing to memory
In buffer area.
Step3:linux kernel normal initialization fb frame and video output controller, then video output controller will
Logo in fb memory is transported to display screen by video-out port and is shown.
It is as follows to make logo mirror image process:
1, the image for preparing a bmp24, then converts thereof into the original lattice of logo.raw using BMP24_2_RGBA32 tool
Formula image.
2, using gzip tool by unprocessed form compression of images at logo.tgz file.
3, logo.tgz is converted to uboot formatted file using mkimage tool.
4, it is finally signed using cst signature tool to logo.img and generates signed_logo.img file.
The preferred embodiment of the present invention has been described in detail above, but the invention be not limited to it is described
Embodiment, those skilled in the art can also make various equivalent on the premise of not violating the inventive spirit of the present invention
Variation or replacement, these equivalent variation or replacement are all included in the scope defined by the claims of the present application.
Claims (10)
1. a kind of data display method, which comprises the steps of:
Step 1, it reads the image data in the first subregion of memory and the data is copied into memory, form corresponding memory number
According to;
Step 2, signature authentication is carried out to internal storage data;
If authenticating successfully, 3 are entered step;
If certification is unsuccessful, 4 are entered step;
Step 3, internal storage data is unziped in the buffer area fb of memory and enters step 6;
Step 4, read the second subregion of memory in data to memory and the data are copied into memory the first subregion in;
Step 5, signature authentication is carried out to the data being read into memory and enters step 3 if authenticating successfully, if unsuccessful,
Display starting failure;
Step 6, display memory data.
2. data display method according to claim 1, which is characterized in that in step 1, by uboot by memory
Data in one subregion copy to memory.
3. data display method according to claim 1, which is characterized in that in step 2, by uboot to internal storage data
Carry out signature authentication.
4. data display method according to claim 1, which is characterized in that in step 4, by uboot by memory
Data in two subregions copy in the first subregion of memory.
5. data display method according to claim 1, which is characterized in that, will by video output controller in step 6
Internal storage data in buffer area is transferred to display screen by video-out port and is shown.
6. data display method according to claim 1, which is characterized in that memory is nand memory.
7. data display method according to claim 1, which is characterized in that buffer area is the buffer area fb.
8. a kind of data presentation system characterized by comprising
Storing module is taken, for reading the data in the first subregion of memory and the data being copied to memory, is formed in corresponding
Deposit data;
Authentication module, for carrying out signature authentication to internal storage data;
Display module is used for display memory data.
9. a kind of data presentation device characterized by comprising be stored with the memory of data display program and for running number
According to the processor of display program, data display program is arranged for carrying out data display side as described in any one of claims 1 to 7
The step of method.
10. a kind of computer readable storage medium, which is characterized in that journey is data show in storage on computer readable storage medium
Sequence realizes the step of data display method as described in any one of claims 1 to 7 when data display program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811607234.7A CN109871679A (en) | 2018-12-27 | 2018-12-27 | Data display method, system, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811607234.7A CN109871679A (en) | 2018-12-27 | 2018-12-27 | Data display method, system, device and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109871679A true CN109871679A (en) | 2019-06-11 |
Family
ID=66917203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811607234.7A Pending CN109871679A (en) | 2018-12-27 | 2018-12-27 | Data display method, system, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109871679A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113642008A (en) * | 2021-10-14 | 2021-11-12 | 飞天诚信科技股份有限公司 | Method and device for realizing replacement of startup picture of intelligent POS equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103678030A (en) * | 2012-09-04 | 2014-03-26 | 杭州海康威视数字技术股份有限公司 | Multi-system equipment start system and method thereof |
US20170011219A1 (en) * | 2014-03-25 | 2017-01-12 | Huawei Technologies Co., Ltd. | Trusted kernel starting method and apparatus |
CN107704258A (en) * | 2017-10-27 | 2018-02-16 | 深圳市恒扬数据股份有限公司 | Uboot upgrade methods, system and terminal device |
CN108255524A (en) * | 2016-12-28 | 2018-07-06 | 中科创达软件股份有限公司 | A kind of booting Logo display methods, device and embedded device |
-
2018
- 2018-12-27 CN CN201811607234.7A patent/CN109871679A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103678030A (en) * | 2012-09-04 | 2014-03-26 | 杭州海康威视数字技术股份有限公司 | Multi-system equipment start system and method thereof |
US20170011219A1 (en) * | 2014-03-25 | 2017-01-12 | Huawei Technologies Co., Ltd. | Trusted kernel starting method and apparatus |
CN108255524A (en) * | 2016-12-28 | 2018-07-06 | 中科创达软件股份有限公司 | A kind of booting Logo display methods, device and embedded device |
CN107704258A (en) * | 2017-10-27 | 2018-02-16 | 深圳市恒扬数据股份有限公司 | Uboot upgrade methods, system and terminal device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113642008A (en) * | 2021-10-14 | 2021-11-12 | 飞天诚信科技股份有限公司 | Method and device for realizing replacement of startup picture of intelligent POS equipment |
CN113642008B (en) * | 2021-10-14 | 2021-12-28 | 飞天诚信科技股份有限公司 | Method and device for realizing replacement of startup picture of intelligent POS equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10223764B2 (en) | Method of and apparatus for processing a frame | |
US20090087112A1 (en) | Enhanced method of multilayer compression of pdf (image) files using ocr systems | |
WO2009143120A9 (en) | Systems and methods for enhanced image encoding | |
US8347052B2 (en) | Initializing of a memory area | |
US10346074B2 (en) | Method of compressing parity data upon writing | |
CN115022670B (en) | Video file storage method, video file restoration device, video file storage equipment and storage medium | |
CN105095767A (en) | System and method for secure startup checked based on file data block | |
CN109871679A (en) | Data display method, system, device and medium | |
US8990528B2 (en) | Method for fast format of a fully allocated volume when copied from a space efficient volume | |
US20090282064A1 (en) | On the fly compression and storage device, system and method | |
US9380316B2 (en) | Image processing apparatus, image processing system and image processing method | |
US12111791B2 (en) | Using machine learning to select compression algorithms for compressing binary datasets | |
CN111008934B (en) | Scene construction method, device, equipment and storage medium | |
US8687889B2 (en) | Form image managing system and form image managing method | |
US9002135B2 (en) | Form image management system and form image management method | |
US8705871B2 (en) | Form image managing system and method | |
US20170293452A1 (en) | Storage apparatus | |
CN104216666A (en) | Method and device for managing writing of disk data | |
CN105138429B (en) | A kind of Copy on write Snapshot Method and system | |
US20150288845A1 (en) | Image reading apparatus, image reading method, and storage medium | |
CN110019013B (en) | Mirror image storage method, device and computer readable storage medium | |
CN107491333B (en) | Method for generating and burning software mirror image on intelligent device | |
KR102226706B1 (en) | Apparatus for hiding data using multimedia contents in document file and method therefore | |
CN116561152B (en) | Database log recording method and device | |
CN116647686B (en) | Image compression method, device, server and image compression system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190611 |
|
RJ01 | Rejection of invention patent application after publication |