CN114187604A - Integrity verification method, equipment and medium for WebP picture - Google Patents

Integrity verification method, equipment and medium for WebP picture Download PDF

Info

Publication number
CN114187604A
CN114187604A CN202210131495.6A CN202210131495A CN114187604A CN 114187604 A CN114187604 A CN 114187604A CN 202210131495 A CN202210131495 A CN 202210131495A CN 114187604 A CN114187604 A CN 114187604A
Authority
CN
China
Prior art keywords
byte
file
group
bytes
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210131495.6A
Other languages
Chinese (zh)
Other versions
CN114187604B (en
Inventor
李在学
蔡富东
孔志强
陈雷
甘法刚
杨晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Senter Electronic Co Ltd
Original Assignee
Shandong Senter Electronic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Senter Electronic Co Ltd filed Critical Shandong Senter Electronic Co Ltd
Priority to CN202210131495.6A priority Critical patent/CN114187604B/en
Publication of CN114187604A publication Critical patent/CN114187604A/en
Application granted granted Critical
Publication of CN114187604B publication Critical patent/CN114187604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a method, equipment and medium for verifying integrity of a WebP picture, and relates to the technical field of computers. The method comprises the following steps: reading file bytes of the WebP picture file, and dividing the file bytes into a plurality of byte groups according to the sequence of the file bytes and a preset integrity judgment template; determining the check type of each byte group, and determining whether the byte groups are converted into positive integers or not according to the check type; if not, comparing the byte group with the byte content at the corresponding position in the integrity judgment template according to the position of the byte group in the file byte; if the byte groups are required, converting the byte groups into positive integers, comparing the positive integers with the check parameters of the WebP picture file according to the positions of the byte groups in the file bytes, and determining the integrity of the byte groups. Before decoding the WebP picture file, the integrity of the WebP picture file is judged, and only the complete WebP picture is actually decoded, so that the decoding efficiency is improved.

Description

Integrity verification method, equipment and medium for WebP picture
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, and a medium for verifying integrity of a WebP picture.
Background
WebP is a picture file format that provides both lossy compression and lossless compression (reversible compression). The method adopts a VP8 encoder to compress the image, predicts the color value of a neighboring block by the color of a part of pixel blocks by using a predictive coding technology, and only records the difference value of the two, thereby greatly improving the compression ratio of the image and generating the image file with small storage space and better image quality. The WebP format is 40% smaller than the file of JPEG images, with the same image quality.
For the WebP formatted picture, under the condition of lossy compression, the content of the file may be damaged during the network transmission or storage process. These damaged WebP pictures can only be processed by the decoder for fault tolerance, and even cause decoder abnormality when the fault tolerance is not complete. The problem of finding the file only in the decoding stage of the WebP is solved, and the decoding of the file consumes huge resources and takes long time, which is a huge waste for computing resources. Therefore, how to quickly identify the problematic WebP picture before decoding the WebP picture and send the correct WebP picture to the decoder for decoding becomes a problem to be solved at present.
Disclosure of Invention
In order to solve the above problem, the present application provides a method for verifying integrity of a WebP picture, including: reading file bytes of a WebP picture file, and dividing the file bytes into a plurality of byte groups according to the sequence of the file bytes and a preset integrity judgment template; determining the check type of each byte group, and determining whether the byte groups are converted into positive integers according to the check type; if not, comparing the byte group with the byte content at the corresponding position in the integrity judgment template according to the position of the byte group in the file byte so as to determine the integrity of the byte group; if so, converting the byte group into a positive integer, and comparing the positive integer with the check parameter of the WebP picture file according to the position of the byte group in the file byte to determine the integrity of the byte group.
In one example, dividing the file bytes into a plurality of byte groups according to the order of the file bytes and a preset rule specifically includes: reading the first twenty bytes of the WebP picture file from the file bytes and recording the bytes as a first byte group set; determining a first content group and a first digit group included in the first tuple set to perform integrity check on the first tuple, wherein the first content group is used for comparing with the byte content at the corresponding position in the integrity judgment template to determine the integrity of the tuple, and the first digit group is used for comparing with the check parameter of the WebP picture file to determine the integrity of the tuple.
In one example, comparing the byte group with the byte content at the corresponding position in the integrity judgment template according to the position of the byte group in the file byte specifically includes: determining position information of the first content group, acquiring the byte content corresponding to the first content group according to the position information, and comparing the first content group with the corresponding byte content, wherein the byte content at least comprises at least one of RIFF, WEBP, VP8, 0, 9D, 01, and 2A; and if the first content group is inconsistent with the byte content, judging that the WebP picture file is an incomplete file.
In one example, converting the tuple into a positive integer, and comparing the positive integer with the verification parameter of the WebP picture file according to the location of the tuple in the file byte, specifically further includes: converting the first digit group into a positive integer according to a little-endian conversion mode; acquiring the file size of the WebP picture file, determining the check parameter according to the file size and the offset position of the byte group, and comparing the converted first digit group with the check parameter; and if the converted first digit group is not equal to the verification parameter, judging that the WebP picture file is an incomplete file.
In one example, the method further comprises: reading a byte from behind the first tuple set of the file bytes, determining the lowest order information of the byte, and determining whether the lowest order information is zero; and if the lowest bit information is not zero, determining that the WebP picture file is an incomplete file.
In one example, dividing the file bytes into a plurality of byte groups according to the order of the file bytes and a preset rule specifically includes: reading three bytes at two byte intervals after the one byte of the file byte, recording the three bytes as a second byte group, and determining the byte content and the byte position of the second byte group so as to carry out integrity check on the second byte group.
In one example, the integrity check on the second tuple specifically includes: acquiring byte content corresponding to the second byte group according to the position information, and comparing the byte content of the second byte group with the corresponding byte content; and if the byte content is inconsistent with the byte content, judging that the WebP picture file is an incomplete file.
In one example, the first content group includes the first four bytes of the file byte, the four bytes read after the file byte offset position eight, the four bytes read after the file byte offset position twelve, and the first digit group includes the four bytes read after the file byte offset position four, and the four bytes read after the file byte offset position sixteen.
On the other hand, the application also provides integrity verification equipment for the WebP picture, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the integrity checking device for one WebP picture to: a method as in any preceding example.
In another aspect, the present application further provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to: a method as in any preceding example.
According to the method and the device, under the condition that the lossy compression WebP format file is not decoded, the information of the key position of the lossy compression WebP format file is quickly scanned, and the purpose of identifying the integrity and the effectiveness of the picture is achieved. Scanning the absolute offset position of the document is faster and takes less time. Before formally decoding the WebP picture file, the integrity of the WebP picture file is judged first, and the incomplete WebP picture file does not need to be transmitted to a decoder for decoding, so that the invalid utilization of computing resources can be reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of an integrity checking method for a WebP picture in an embodiment of the present application;
fig. 2 is a schematic diagram of a system for integrity check of a WebP picture in an embodiment of the present application;
fig. 3 is a schematic diagram of integrity check equipment for WebP pictures in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Under the background that the WebP picture format is widely popularized, pictures in the WebP format are mainly transmitted to a client through a network, for example, a browser for display or transmitted to a server for storage. The WebP format pictures may cause damage to the file contents for various reasons during network transmission or storage. For example, the hard disk medium is abnormal in long-term use, which causes incomplete stored WebP pictures or errors in local contents. These abnormal WebP pictures can only rely on the decoder to perform fault-tolerant processing, and even cause decoder abnormality when the fault-tolerant processing is not complete.
As shown in fig. 1, an integrity checking method for a WebP picture provided in an embodiment of the present application includes:
s101: and reading file bytes of the WebP picture file, and dividing the file bytes into a plurality of byte groups according to the sequence of the file bytes and a preset rule.
And opening the file of the WebP picture, and reading the file byte of the WebP picture file to obtain the content of the file byte of the WebP picture. And dividing the read file bytes into a plurality of byte groups according to the sequence of the file bytes and a preset reading rule. And checking the integrity of the WebP picture file in a mode of gradually checking each byte group.
S102: and determining the check type of each byte group, and determining whether the byte groups are converted into positive integers according to the check type.
When the bottom layer is stored, the visible characters of partial bytes are stored by using ASCII codes, so that the content of the bytes can be directly compared for judgment. The verification of the byte group of the WebP picture file is divided into two types according to the verification type, namely content verification and digit verification. In some cases, 1 digit of a file byte is stored by 4 bytes, so that the stored digit needs to be restored, and if the check type of a certain byte group is digit check, the byte group needs to be converted into a positive integer according to a small endian mode, that is, the high-order byte of data is stored at the high end of an address, and the low-order byte is stored at the low end of the address. To further check the tuples of different check types.
S103: if not, comparing the byte group with the byte content at the corresponding position in the integrity judgment template according to the position of the byte group in the file byte so as to determine the integrity of the byte group.
For the tuples that need to be content checked, no conversion is needed. And comparing the content-checked byte groups with a preset standard template. And if the byte groups are not consistent with the content of the corresponding standard template, the WebP picture file is considered to be incomplete or invalid.
S104: if so, converting the byte group into a positive integer, and comparing the positive integer with the check parameter of the WebP picture file according to the position of the byte group in the file byte to determine the integrity of the byte group.
For the byte groups needing to be subjected to digital verification, the byte groups are required to be converted into positive integers, and the converted byte groups are compared with the verification parameters of the WebP picture file to determine the integrity of the byte groups, so that the integrity of the WebP picture file is determined. Wherein, the checking parameter is determined by the file size of the WebP picture file.
In one embodiment, the first twenty bytes of the WebP picture file (referred to herein as the first tuple) are read from the file bytes. And dividing the first byte group into a first content group and a first digit group according to the check type so as to carry out integrity check on the first byte group according to the check type of the content check and the digit check respectively.
In one embodiment, the position information of the first content group is determined, the byte content corresponding to the first content group is obtained according to the position information, and the first content group is compared with the corresponding byte content, where the byte content includes: "RIFF", "WEBP", "VP 8" and "rail" (wherein rail is represented as a space, and here only to be able to accurately show a space so as to replace it with a rail symbol), and "9D", "01", "2A", and the like. For example: the first four bytes of the file are read, and whether the content of the four bytes is 'RIFF' is checked according to the existing characteristic of the byte content of the WebP picture file. If the four bytes of content are not "RIFF", the WebP picture file is considered incomplete or invalid; if the four bytes of content are "RIFF", the next check is made.
In one embodiment, the number related to the length is four bytes at the bottom of the file storage, and the four bytes stored at the bottom are converted into integers according to a certain sequence to identify one integer. And converting the first digit group into a positive integer according to a little-endian conversion mode. For example: reading four bytes from the file offset position four, converting the four bytes into positive integers according to the little endian, and recording the converted byte group as RiffLen. And acquiring the file size of the WebP picture file, wherein the unit of the file size is byte, determining a check parameter according to the file size, and comparing the converted first digit group with the check parameter. For example: reading the size of the WebP picture file, marking the file size as 'fLen', starting to read four bytes from the offset position, namely eight bytes are used from the beginning of the file to the position, and RiffLen indicates that the number of the remaining bytes of the 8 bytes is removed, so that the number of the remaining bytes is reduced by 8 and then compared with RiffLen. And recording the fLen-8 as a check parameter, and comparing whether the values of RiffLen and fLen-8 are equal or not. If the WebP picture files are not equal, the WebP picture files are considered to be incomplete or invalid; if equal, the next check is performed.
In one embodiment, one byte is read from the offset position twenty of the file byte, the lowest bit information of the one byte is determined, the lowest bit information is marked as "bit", and whether the lowest bit information "bit" is zero or not is judged. If the bit is not zero, judging that the WebP picture file is an incomplete file; if "bit" is zero, the next check is performed.
In one embodiment, three bytes (referred to herein as a second tuple) are read from the file byte at an offset twenty-three and the byte content and byte position of the second tuple are determined to integrity check the second tuple.
In one embodiment, the byte content corresponding to the second byte group is obtained according to the position information, and the byte content of the second byte group is compared with the corresponding byte content. For example: reading three bytes from twenty-three offset positions of the file, and judging whether the content of the first byte in the three bytes is 9D according to the existing characteristics of the byte content of the WebP picture file. If the content of the first byte is not "9D", the WebP picture file is considered to be incomplete or invalid; if the content of the first byte is "9D", the next check is made.
In an embodiment, as shown in fig. 2, this embodiment provides an integrity check system for a WebP picture, and after a file of the WebP picture is checked, the file of the WebP picture is opened in a streaming manner, the size of the picture file is read, and the file size is marked as "fren".
The first four bytes of the file are read starting with the file offset bit set to zero, and the contents of the four bytes are checked for "RIFF". If not "RIFF", the WebP picture file is incomplete or invalid; if it is "RIFF", the process goes to the next step.
Reading four bytes from the file offset position four, and converting the four bytes into positive integers according to the little endian, and recording the positive integers as RiffLen. And comparing whether the value of the RiffLen is equal to the value of the fLen-8, if not, considering that the WebP picture file is incomplete or invalid, and if so, turning to the next step.
Four bytes are read from the file offset position eight, and it is checked whether the contents of the four bytes are "WEBP". If not, the WebP picture file is considered to be incomplete or invalid, and if the WebP picture file is WEBP, the next step is carried out.
Four bytes are read starting from file offset position twelve, and the content of the four bytes is checked for "VP 8" (VP8 is followed by a space). If not "VP 8", the WebP picture file is considered incomplete or invalid, and if "VP 8", the next step is proceeded to.
Four bytes are read starting at file offset position sixteen, which are converted to positive integers in little endian, noted "Vp 8 ChLen". And comparing whether the 'Vp 8 ChLen' is equal to the 'fLen-20', if not, considering that the WebP picture file is incomplete or invalid, and if so, going to the next step.
One byte is read from the file offset position twenty, and whether the bit at the lowest bit is 0 is judged. If not "0", the WebP picture file is considered to be incomplete or invalid, and if "0", the next step is proceeded to.
Three bytes are read from the file offset position twenty three, and whether the first byte is "9D" is determined. If the WebP picture file is not "9D", the WebP picture file is considered to be incomplete or invalid, and if the WebP picture file is "9D", the next step is carried out.
It is determined whether the second byte is "01". If the WebP picture file is not "01", the WebP picture file is considered to be incomplete or invalid, and if the WebP picture file is "01", the next step is performed.
It is determined whether the 3 rd byte therein is "2A". If the picture is not '2A', the WebP picture file is considered to be incomplete or invalid, and if the picture is '2A', the WebP picture is considered to be complete and valid.
And finishing after judging the integrity of the WebP picture.
As shown in fig. 3, an embodiment of the present application further provides integrity check equipment for a WebP picture, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the integrity checking device for WebP pictures to perform the method according to any of the embodiments described above.
An embodiment of the present application further provides a non-volatile computer storage medium storing computer-executable instructions, where the computer-executable instructions are configured to: a method as in any preceding embodiment.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and media embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference may be made to some descriptions of the method embodiments for relevant points.
The device and the medium provided by the embodiment of the application correspond to the method one to one, so the device and the medium also have the similar beneficial technical effects as the corresponding method, and the beneficial technical effects of the method are explained in detail above, so the beneficial technical effects of the device and the medium are not repeated herein.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "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 may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. An integrity checking method for a WebP picture is characterized by comprising the following steps:
reading file bytes of a WebP picture file, and dividing the file bytes into a plurality of byte groups according to the sequence of the file bytes and a preset integrity judgment template;
determining the check type of each byte group, and determining whether the byte groups are converted into positive integers according to the check type;
if not, comparing the byte group with the byte content at the corresponding position in the integrity judgment template according to the position of the byte group in the file byte so as to determine the integrity of the byte group;
if so, converting the byte group into a positive integer, and comparing the positive integer with the check parameter of the WebP picture file according to the position of the byte group in the file byte to determine the integrity of the byte group.
2. The method according to claim 1, wherein the dividing of the file bytes into a plurality of byte groups according to the order of the file bytes and a predetermined rule specifically comprises:
reading the first twenty bytes of the WebP picture file from the file bytes and recording the bytes as a first byte group set;
determining a first content group and a first digit group included in the first tuple set to perform integrity check on the first tuple, wherein the first content group is used for comparing with the byte content at the corresponding position in the integrity judgment template to determine the integrity of the tuple, and the first digit group is used for comparing with the check parameter of the WebP picture file to determine the integrity of the tuple.
3. The method according to claim 2, wherein comparing the byte groups with byte contents at corresponding positions in the integrity determination template according to the positions of the byte groups in the file bytes specifically comprises:
determining position information of the first content group, acquiring the byte content corresponding to the first content group according to the position information, and comparing the first content group with the corresponding byte content, wherein the byte content at least comprises at least one of RIFF, WEBP, VP8, 0, 9D, 01, and 2A;
and if the first content group is inconsistent with the byte content, judging that the WebP picture file is an incomplete file.
4. The method according to claim 2, wherein converting the tuple into a positive integer, and comparing the positive integer with the verification parameter of the WebP picture file according to a position of the tuple in the file byte, further comprises:
converting the first digit group into a positive integer according to a little-endian conversion mode;
acquiring the file size of the WebP picture file, determining the check parameter according to the file size and the offset position of the byte group, and comparing the converted first digit group with the check parameter;
and if the converted first digit group is not equal to the verification parameter, judging that the WebP picture file is an incomplete file.
5. The method of claim 2, further comprising:
reading a byte from behind the first tuple set of the file bytes, determining the lowest order information of the byte, and determining whether the lowest order information is zero;
and if the lowest bit information is not zero, determining that the WebP picture file is an incomplete file.
6. The method according to claim 5, wherein dividing the file bytes into a plurality of byte groups according to the order of the file bytes and a predetermined rule specifically comprises:
reading three bytes at two byte intervals after the one byte of the file byte, recording the three bytes as a second byte group, and determining the byte content and the byte position of the second byte group so as to carry out integrity check on the second byte group.
7. The method of claim 6, wherein performing integrity check on the second tuple specifically comprises:
acquiring byte content corresponding to the second byte group according to the position information, and comparing the byte content of the second byte group with the corresponding byte content;
and if the byte content is inconsistent with the byte content, judging that the WebP picture file is an incomplete file.
8. The method of claim 2, wherein the first group of content comprises a first four bytes of the file byte, four bytes read after eight of the file byte offset position, and four bytes read after twelve of the file byte offset position, and wherein the first group of bits comprises four bytes read after four of the file byte offset position, and four bytes read after sixteen of the file byte offset position.
9. An integrity check device of a WebP picture, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the integrity checking device for one type of WebP picture to perform: the method of any one of claims 1-8.
10. A non-transitory computer storage medium storing computer-executable instructions, the computer-executable instructions configured to: the method of any one of claims 1-8.
CN202210131495.6A 2022-02-14 2022-02-14 Integrity verification method, equipment and medium for WebP picture Active CN114187604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210131495.6A CN114187604B (en) 2022-02-14 2022-02-14 Integrity verification method, equipment and medium for WebP picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210131495.6A CN114187604B (en) 2022-02-14 2022-02-14 Integrity verification method, equipment and medium for WebP picture

Publications (2)

Publication Number Publication Date
CN114187604A true CN114187604A (en) 2022-03-15
CN114187604B CN114187604B (en) 2022-05-17

Family

ID=80545839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210131495.6A Active CN114187604B (en) 2022-02-14 2022-02-14 Integrity verification method, equipment and medium for WebP picture

Country Status (1)

Country Link
CN (1) CN114187604B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117950903A (en) * 2024-03-21 2024-04-30 深圳软牛科技集团股份有限公司 Repair method and device for damaged WebP file and related components
CN117950903B (en) * 2024-03-21 2024-06-04 深圳软牛科技集团股份有限公司 Repair method and device for damaged WebP file and related components

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107507255A (en) * 2017-09-20 2017-12-22 携程旅游网络技术(上海)有限公司 Picture compression quality factor acquisition methods, system, equipment and storage medium
CN107680144A (en) * 2017-10-16 2018-02-09 郑州云海信息技术有限公司 A kind of method and device of WebP files conversion
CN108388930A (en) * 2018-01-17 2018-08-10 链家网(北京)科技有限公司 The method and device of verification contract spare part picture correctness and integrality
CN108683502A (en) * 2018-03-30 2018-10-19 上海连尚网络科技有限公司 A kind of digital signature authentication method, medium and equipment
CN110263616A (en) * 2019-04-29 2019-09-20 五八有限公司 A kind of character recognition method, device, electronic equipment and storage medium
CN111159604A (en) * 2019-12-30 2020-05-15 北京三快在线科技有限公司 Picture resource loading method and device
CN111680178A (en) * 2019-03-11 2020-09-18 福建天泉教育科技有限公司 Method and terminal for checking thumbnail
US20200311982A1 (en) * 2019-03-27 2020-10-01 Canon Kabushiki Kaisha Image processing system, image processing method, and image processing apparatus
CN112307820A (en) * 2019-07-29 2021-02-02 北京易真学思教育科技有限公司 Text recognition method, device, equipment and computer readable medium
CN112306495A (en) * 2020-10-29 2021-02-02 完美世界(北京)软件科技发展有限公司 Picture verification method and device, computer equipment and computer-readable storage medium
CN112437308A (en) * 2020-11-12 2021-03-02 北京深维科技有限公司 WebP coding method and device
CN112597503A (en) * 2020-12-21 2021-04-02 浙江中控技术股份有限公司 Firmware detection method and device based on interrupt vector
CN113963368A (en) * 2021-10-26 2022-01-21 中国银行股份有限公司 Business data entry method and device, electronic equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107507255A (en) * 2017-09-20 2017-12-22 携程旅游网络技术(上海)有限公司 Picture compression quality factor acquisition methods, system, equipment and storage medium
CN107680144A (en) * 2017-10-16 2018-02-09 郑州云海信息技术有限公司 A kind of method and device of WebP files conversion
CN108388930A (en) * 2018-01-17 2018-08-10 链家网(北京)科技有限公司 The method and device of verification contract spare part picture correctness and integrality
CN108683502A (en) * 2018-03-30 2018-10-19 上海连尚网络科技有限公司 A kind of digital signature authentication method, medium and equipment
CN111680178A (en) * 2019-03-11 2020-09-18 福建天泉教育科技有限公司 Method and terminal for checking thumbnail
US20200311982A1 (en) * 2019-03-27 2020-10-01 Canon Kabushiki Kaisha Image processing system, image processing method, and image processing apparatus
CN110263616A (en) * 2019-04-29 2019-09-20 五八有限公司 A kind of character recognition method, device, electronic equipment and storage medium
CN112307820A (en) * 2019-07-29 2021-02-02 北京易真学思教育科技有限公司 Text recognition method, device, equipment and computer readable medium
CN111159604A (en) * 2019-12-30 2020-05-15 北京三快在线科技有限公司 Picture resource loading method and device
CN112306495A (en) * 2020-10-29 2021-02-02 完美世界(北京)软件科技发展有限公司 Picture verification method and device, computer equipment and computer-readable storage medium
CN112437308A (en) * 2020-11-12 2021-03-02 北京深维科技有限公司 WebP coding method and device
CN112597503A (en) * 2020-12-21 2021-04-02 浙江中控技术股份有限公司 Firmware detection method and device based on interrupt vector
CN113963368A (en) * 2021-10-26 2022-01-21 中国银行股份有限公司 Business data entry method and device, electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
THULFIQAR H等: "A Comparative Study on Lossless compression mode in WebP, Better Portable Graphics (BPG), and JPEG XL Image Compression Algorithms", 《2021 8TH INTERNATIONAL CONFERENCE ON COMPUTER AND COMMUNICATION ENGINEERING (ICCCE)》 *
徐开来 等: "基于低带宽网络的气象图像ROI压缩及交错显示算法", 《舰船电子工程》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117950903A (en) * 2024-03-21 2024-04-30 深圳软牛科技集团股份有限公司 Repair method and device for damaged WebP file and related components
CN117950903B (en) * 2024-03-21 2024-06-04 深圳软牛科技集团股份有限公司 Repair method and device for damaged WebP file and related components

Also Published As

Publication number Publication date
CN114187604B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN108039190B (en) Test method and device
CN110362547B (en) Method and device for encoding, analyzing and storing log file
CN110618974A (en) Data storage method, device, equipment and storage medium
CN113065169A (en) File storage method, device and equipment
WO2020000486A1 (en) Data processing method and device
CN115249276A (en) Image compression method, image compression device, electronic equipment and storage medium
CN110019347B (en) Data processing method and device of block chain and terminal equipment
CN114187604B (en) Integrity verification method, equipment and medium for WebP picture
CN107222453B (en) file transmission method and device
US7466822B2 (en) Data coding
CN110730277A (en) Information coding and method and device for acquiring coded information
CN115022670B (en) Video file storage method, video file restoration device, video file storage equipment and storage medium
CN116192154A (en) Data compression and data decompression method and device, electronic equipment and chip
CN113535997A (en) Processing method, system, device and storage medium for storing image-text data into block chain
CN113239381A (en) Data security encryption method
CN114257840B (en) Repairing method and system for Matroska format video
CN117034220B (en) Digital watermark processing method and system
CN110875744B (en) Coding method and device
CN116610679B (en) json data analysis method, json data analysis device, computer equipment and computer medium
CN112131193B (en) Application program compression method and device
CN113628292B (en) Method and device for previewing pictures in target terminal
CN118101971A (en) Decoding data rendering method and device, electronic equipment and storage medium
CN113849470A (en) Method and system for extracting electronic seal based on electronic invoice OFD file
CN108063958B (en) Network television user data correction method, device, storage medium and processor
CN118035258A (en) Fragmentation storage method, device and medium for financial image file

Legal Events

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