A system and method for preventing high-definition picture copying and enabling on-demand access
By cutting HD pictures into multiple access picture slices and generating unique IDs according to user needs and levels, the problem of slow transmission and easy copying of HD pictures is solved, and the security and fast access of HD pictures are achieved.
Patent Information
- Application Number
- CN202210638056.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-08
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2042-06-08
AI Technical Summary
When transmitting and accessing high-definition pictures, the prior art has problems such as long wait times for users, prone to failure and easy to copy high-definition pictures, especially in the fields of arts and arts, resulting in poor user experience and loss of digital assets.
By cutting high-definition pictures into multiple access picture slices, generating unique IDs based on user needs and access levels, storing and encrypting slices, only the required partial slices are displayed in the foreground, preventing copying and improving access speed.
It greatly improves the security and access speed of high-definition pictures, prevents copying and downloading, ensures clarity while shortening loading time.
Smart Images

Figure CN114979123B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a system and method for preventing high-definition picture copying and accessing on demand, belonging to the technical field of data storage. Background Art
[0002] Currently, most picture storage and access systems receive the picture address information sent by the front end, map it to the specific storage address according to the picture address, and then read and return it to the front end for display. This is not suitable for the storage and access of high-definition pictures in fields such as art and arts and crafts. Its defect is that a high-definition picture is often extremely large, ranging from dozens of megabytes to several gigabytes. If the entire picture is transmitted, the user waiting time can be as high as dozens of seconds to several hours, and it is extremely easy to transmit failure. Such user experience is undoubtedly painful and unrealistic. However, the high-definition requirements for every detail in the art field are a rigid need, and many art and craft techniques are hidden in the slightest details.
[0003] Moreover, high-definition pictures in the art category are important digital assets of institutions. If displayed on the front end, there will be various methods to break through the restrictions and copy high-definition pictures through means such as copying, saving as, and directly downloading. This brings huge asset losses to institutions. Summary of the Invention
[0004] The problem to be solved by the present invention is: to overcome the above problems, to provide a picture storage and reading method that can prevent copying and quickly access and load high-definition pictures according to user needs.
[0005] The technical solution adopted by the present invention to solve its technical problems is:
[0006] A system and method for preventing high-definition picture copying and accessing on demand, the specific technical solution is as follows:
[0007] S1: The background uploads high-definition pictures through a dedicated tool such as ftp, accesses the picture slicing module to scan and upload the high-definition pictures, and generates a unique high-definition picture ID for the whole system. At the same time, access pictures corresponding to different access levels are generated, as well as an access picture ID array corresponding to the access pictures one by one. These access pictures are cut into a large number of access picture slices according to the slicing algorithm; each picture generates a unique slice ID according to the algorithm and stores it in the storage system according to the path of high-definition picture ID / access picture ID / access picture slice ID. At the same time, the high-definition picture ID and the access picture ID corresponding to this high-definition picture, the width and height of the access picture, the access picture slice granularity, and the access picture slice ID encryption key are stored in the access picture parameter storage module;
[0008] S2: The front-end retrieval and splicing display module receives a picture access request, and according to user requirements (such as device, clarity, etc.), retrieves the access parameters of the picture from the picture parameter storage module, including the access picture ID, the width and height of the access picture, the slicing granularity of the access picture, and the encryption key for the access picture slice ID;
[0009] S3: The front-end picture access unit retrieval module calculates all the corresponding access slice IDs for the display area based on the access parameters of the picture and the display area, and retrieves the required access picture slices from the access picture storage module according to this ID;
[0010] S4: The front-end picture splicing module obtains the required access picture slices and splices and displays the access picture slices in sequence according to the slice order of the picture display area.
[0011] According to a preferred embodiment of the present invention, in the step S1, the access picture slicing module transforms the high-definition picture into access pictures of different sizes according to the access level, and each access picture corresponds to a unique access picture ID. The specific implementation is as follows:
[0012] For a high-definition picture with given width (picture width) and height (picture height), and a slicing granularity of side * side, where side is the side length of the slice, it is sliced into roundup(width / side) x roundup(height / side) slices. Each slice is of size side * side, and the extra width and height are filled with blank pixels.
[0013] According to a preferred embodiment of the present invention, in the step S1, after the access picture slicing module slices access pictures of different levels, it simultaneously generates a slice sequence number and a slice ID for each slice. The slice ID is encry(slice sequence number, secret key), where encry is the encryption algorithm and secret key is the encryption key for the access picture slice ID.
[0014] According to a preferred embodiment of the present invention, in the step S2, before the front-end retrieves and splices and displays the access high-definition picture, it already has the ID of the high-definition picture to be accessed.
[0015] According to a preferred embodiment of the present invention, in the step S2, before the front-end retrieves and splices and displays the access high-definition picture, according to the user operation, it already has the access level of the high-definition picture to be accessed, that is, the access picture ID. The access level represents the magnification factor, with 0.01 times the original picture as 1, the original picture size is 100, and the access level is 1 - 100. The front-end retrieval and splicing display module requests access parameters from the access picture parameter storage module according to the high-definition picture ID and the access level (such as 50 represents 0.5 times).
[0016] According to a preferred embodiment of the present invention, in step S3, the access picture parameters obtained by the foreground retrieval and splicing display module include the width and height information of the access picture, the slicing granularity of the access picture, and the encryption key for the access picture slice ID. According to this information and the horizontal and vertical coordinate information of the picture area to be displayed, a series of access picture slice IDs corresponding to the displayed picture area of the access picture are obtained based on the access picture slice ID encryption key and the encryption algorithm, and the required access picture slices are retrieved from the access picture storage module.
[0017] In a preferred embodiment, in step S4, after the foreground retrieval and splicing display module obtains the access picture slices, the access picture slices are spliced and displayed in sequence according to the slicing order of the picture display area.
[0018] The beneficial effects of the present invention are as follows:
[0019] Greatly improve the security of high-definition picture digital assets: When all foreground access pictures are made, by saving as, only one unit of the access picture can be stored. This unit is only one part in several hundreds or even tens of thousands of the entire access picture according to different access levels (dozens of access levels corresponding to thumbnail, low-definition, high-definition, ultra-high-definition, very-high-definition). Such a save-as is only a very small part of the high-definition picture and is meaningless. Even if all units are downloaded through technical means such as web crawlers, it is simply impossible to correctly splice the pictures without a sorting rule. When the user accesses the picture at the smallest level, the corresponding access picture at this time is at the thumbnail or overview level. The foreground can only obtain the lowest-level thumbnail rather than a high-definition picture through methods such as screenshotting; when the user accesses a higher-level high-definition picture, the screenshot can only be a very small part of the high-definition picture, which is also meaningless. Therefore, this method greatly improves the security of high-definition picture digital assets;
[0020] While ensuring clarity, greatly improve the access speed of high-definition pictures: Users can zoom in and out of high-definition pictures through operations such as scrolling the mouse wheel and pinching with fingers. Each zoom-in and zoom-out corresponds to a fine-grained access level and access area. This system will only retrieve the access picture units corresponding to the corresponding level and area and splice and display them in the foreground. The number of access units in this area is limited, not all. Therefore, all the access units corresponding to this access level and picture area can be loaded within one second, ensuring both clarity and access loading speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The present invention will be further described below with reference to the drawings and embodiments:
[0022] Figure 1 It is a schematic structural diagram of the high-definition picture anti-copying and on-demand access high-definition system described in the present invention;
[0023] Figure 2It is the flowchart of the prior art described in the embodiments of the specific implementation manners. Specific implementation manners
[0024] Now, the present invention will be further described in detail with reference to the accompanying drawings. These drawings are all simplified schematic diagrams, only illustrating the basic structure of the present invention in a schematic manner, so they only show the components related to the present invention.
[0025] Embodiment 1:
[0026] Figure 2 For the high-definition picture anti-copying and on-demand access system provided by Embodiment 1 of the present invention, this method is executed on the server side. As Figure 2 shown, this method specifically includes:
[0027] Step 101: The picture parameter storage module on the server side receives the picture access request URL sent by the foreground retrieval and splicing display module on the client side. The requested URL includes the ID of the high-definition picture and the access level. This request URL can adopt a format such as "image_url=imageid-accesstype". Imageid is the ID of the high-definition picture to be accessed, which can be a 64-bit long integer, and this high-definition picture ID is unique throughout the system. Accesstype is the access level, and the access level represents the magnification factor. Taking 0.01 times of the original picture as 1, the original picture size is 100, and the access level is 1 - 100. The higher the level, the clearer. The access level can adopt a 16-bit integer;
[0028] Step 102: The picture parameter storage module on the server side retrieves the corresponding access picture ID, access picture width and height, access picture slice granularity, and access picture slice ID encryption key according to the high-definition picture ID and access level parameters and returns them to the foreground retrieval and splicing display module on the client side;
[0029] Step 103: The foreground retrieval and splicing display module on the client side calculates all the corresponding access picture slice IDs in the display area based on the access picture ID, access picture width and height, access picture slice granularity, access picture slice ID encryption key, and picture display area, and requests the access picture slices of all corresponding access slice IDs from the access picture slice storage module on the server side;
[0030] The steps for calculating the access picture slice ID in Embodiment 1 of the present invention are as follows:
[0031] 1. The width weight and height height parameters of the accessed picture have been obtained, and the access picture slice granularity parameter side has been obtained. The slice is a square with side length side and is a part cut from the accessed picture;
[0032] 2. For this accessed image, expand the width and height of the accessed image to the smallest integer that can be divided by side and is greater than round(width / side), which is roundup(width / side) or roundup(height / side). Roundup is the ceiling function, e.g., roundup(4.4) = 5. The expansion algorithm is width_adjust = round(width / side)+(side - mod(width / side)), height_adjust = round(height / side)+(side - mod(height / side)). Round is the floor function, and mod is the modulo function. width_adjust is the smallest integer that can be divided by side and is greater than round(width / side) after adjustment, that is, roundup(width / side). The same applies to height_adjust;
[0033] 3. According to the adjusted width_adjust and height_adjust, the image slicing granularity parameter side, and the image display area (x, y, width_display, height_display), calculate the ordinal number of the accessed image. The image display area parameters (x, y, width_display, height_display) are used to establish a coordinate system with the upper left corner of the accessed image as the vertex, the width as the abscissa (rightward direction), and the height as the ordinate (downward direction). The coordinate position of the upper left vertex of the display area is x and y, and width_display and height_display are the width and height of the display area respectively. Then the algorithm for calculating the slice ordinal number is as follows:
[0034] Indexarray = new array();
[0035] index_start = width_adjust / side*round(y / side)+roundup(x / side);
[0036] row_start = roundup(y / side);
[0037] column_start = roundup(x / side);
[0038] For(i = row_start; i < row + height_display / side; i++)
[0039] For(j = column_start; j < column + width_display / side; j++)
[0040] Index = index_start + width_display / side * i + j;
[0041] array_push (Indexarray, index);
[0042] In the above algorithm, indexarray is the array of all access picture slice ordinals corresponding to the specific display area (x, y, width_display, height_display) of the access level of this high - definition picture based on this;
[0043] 4. Calculate the access picture slice ID based on the access picture slice ordinal. In Example 1 of the present invention, the access picture slice ID = AES(high - definition picture ID_access level ID_access picture slice ordinal, secretkey). AES is a symmetric encryption algorithm, and secretkey is the encryption key for the access picture slice ID obtained from the picture parameter storage module;
[0044] Step 104: After calculating all the access picture slice IDs of the display area, splice them into the access picture slice address. In Example 1 of the present invention, the access picture slice address = high - definition picture ID / access level ID / access picture slice ID. At this time, the foreground retrieval and splicing display module of the client can request the access picture slices corresponding to all the access picture slice IDs from the access picture slice storage module of the server;
[0045] Step 105: After the foreground retrieval and splicing display module of the client obtains all the access picture slices, splice the pictures in sequence according to the picture display area information.
[0046] The present invention greatly improves the security of high - definition picture digital assets, and at the same time greatly improves the access speed of high - definition pictures while ensuring clarity.
[0047] Those skilled in the art should understand that the embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer - usable storage media (including but not limited to disk memory, CDROM, optical memory, etc.) containing computer - usable program code.
[0048] The present invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each flow and / or block in the flowchart illustrations and / or block diagrams, and combinations of flows and / or blocks in the flowchart illustrations 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 device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device create means for implementing the functions specified in the flow Figure 1 one or more flows and / or blocks Figure 1 or means for implementing the functions specified in one or more blocks.
[0049] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means that implement the functions specified in the flow Figure 1 one or more flows and / or blocks Figure 1 or means for implementing the functions specified in one or more blocks.
[0050] These computer program instructions may also be loaded onto a computer or other programmable data processing device, such that a series of operational steps are performed on the computer or other programmable device to produce a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in the flow Figure 1 one or more flows and / or blocks Figure 1 or means for implementing the functions specified in one or more blocks.
[0051] Although the preferred embodiments of the present invention have been described, additional changes and modifications can be made by those skilled in the art once they learn of the basic inventive concept. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications that fall within the scope of the present invention.
Claims
1. A system for preventing high-definition picture copying and enabling on-demand access, characterized in that, Including: An access image slicing module, which is used to convert a high-definition image into access images with different resolutions corresponding to different access levels according to different access levels, and cut these access images into a large number of access image slices according to the slicing algorithm. The access level represents the magnification factor, with 0.01 times the original image as 1, the original image size as 100, and the access level as 1 - 100. The higher the level, the clearer the image; An access image parameter storage module, which is used to store the access image parameter information of different access levels, including the high-definition image ID, access image ID, access image width and height information, access image slice granularity, and access image slice ID encryption key; An access image slice storage module, which is used to store all the access image slices corresponding to different access levels and return the requested access image slices to the front end; A front-end retrieval and splicing display module, which is used for the front end to calculate the access image slice ID according to the access image parameters and the image display area, call to obtain the access image slices, and splice and display the obtained image slices in sequence; The system for preventing high-definition image copying and providing on-demand access cuts the access images with different resolutions into a large number of access image slices according to a certain algorithm rule. Each access image corresponds to a group of access image slices, and each of the access image slices corresponds to a unique access image slice ID. The access image slice ID is obtained through encryption calculation from the access image slice ordinal number and the access image slice ID encryption key. Among them, the calculation method of the access image slice ordinal number is: calculated according to the adjusted access image width and height information, the image slice granularity parameter, and the image display area.
2. The system for preventing high-definition picture copying and enabling on-demand access according to claim 1, characterized in that, The system for preventing high-definition image copying and providing on-demand access converts the actual image size stored into several access images with different resolutions according to different access levels. Each access level corresponds to an access image, an access image ID, and a set of access image parameters.
3. The system for preventing high-definition picture copying and enabling on-demand access according to claim 1, characterized in that, The front-end retrieval and splicing display module of the system for preventing high-definition image copying and providing on-demand access determines to call all the access image slices corresponding to a specific high-definition image, a specific access level, and a specific access image display area according to the high-definition image ID and the access level information.
4. The system for preventing high-definition picture copying and enabling on-demand access according to claim 1, characterized in that, The front-end retrieval and splicing display module of the system for preventing high-definition image copying and providing on-demand access splices and displays the retrieved access image slices in sequence according to the slicing order of the image display area.
5. A method for preventing high-definition picture copying and enabling on-demand access, applied to the high-definition picture anti-copying and on-demand access system described in any one of claims 1-4, characterized in that, Including the following steps: S1: The access image slicing module generates a unique high-definition image ID for the uploaded high-definition image throughout the system; At the same time, generate access images corresponding to different access levels and access image IDs corresponding one-to-one with the access images, and cut these access images into a large number of access image slices according to the slicing algorithm; each image generates a unique access image slice ID according to the algorithm and stores it in the storage system according to the path of high-definition image ID / access image ID / access image slice ID; At the same time, store the high-definition image ID, the access image ID corresponding to this high-definition image, the access image width and height, the access image slice granularity, and the access image slice ID encryption key in the access image parameter storage module; S2: The front-end retrieval and splicing display module obtains a picture access request, and retrieves the access picture parameters corresponding to the picture from the picture parameter storage module according to the high-definition picture ID and access level; S3: The front-end picture access unit retrieval module calculates all the required slice IDs based on the access picture parameters, and retrieves the required access picture slices from the access picture storage module according to this ID; S4: The front-end picture splicing module obtains the required access picture slices, and splices and displays the access picture slices in sequence according to the slice order of the picture display area.
6. The method for preventing high-definition picture copying and enabling on-demand access as claimed in claim 5, wherein, In step S2, the front-end retrieval and splicing display module obtains the corresponding access picture width and height information, access picture slice granularity, and access picture slice ID encryption key from the access picture parameter storage module according to the high-definition picture ID and access level.
7. The method for preventing high-definition picture copying and accessing on demand according to claim 5, characterized in that, In step S3, the front-end retrieval and splicing display module calculates each picture slice ID and picture slice access path through an algorithm according to the access picture width and height information, access picture slice granularity, and access picture slice ID encryption key, and obtains the corresponding access picture slices through the background access picture slice storage module.
Citation Information
Patent Citations
High-definition picture cutting and displaying method
CN105550301A
Efficient picture storing and reading system and method
CN111241312A