CN112800261B - Method for storing and restoring ordering based on embedding coding information in electronic picture - Google Patents
Method for storing and restoring ordering based on embedding coding information in electronic picture Download PDFInfo
- Publication number
- CN112800261B CN112800261B CN202110135613.6A CN202110135613A CN112800261B CN 112800261 B CN112800261 B CN 112800261B CN 202110135613 A CN202110135613 A CN 202110135613A CN 112800261 B CN112800261 B CN 112800261B
- Authority
- CN
- China
- Prior art keywords
- electronic
- pictures
- information
- picture
- electronic pictures
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000012163 sequencing technique Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 10
- 230000008520 organization Effects 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/53—Querying
- G06F16/535—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/53—Querying
- G06F16/538—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/55—Clustering; Classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Human Computer Interaction (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
The application relates to a method for storing and restoring sorting based on embedding coding information in electronic pictures, which comprises the steps of obtaining electronic pictures to be sorted; acquiring ordered electronic pictures which are arranged and ordered according to the electronic pictures to be ordered; embedding custom coding information into the ordered electronic pictures according to the sequence information contained in the acquired ordered electronic pictures; and generating a first display interface according to the encoded electronic picture embedded with the custom encoding information. The invention can lead the user to conveniently organize the groups and sequences of the pictures, and when the pictures are shared to other people or backed up to the cloud disk, the custom information can not be lost, even the custom information can be encrypted, the original organization setting can be restored as long as the software capable of decoding the corresponding information is arranged, the invention can be applied to the fields of net text screenshot cutting, video abstract, photo wall and the like, the user experience is improved, and great convenience is provided for the user.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method for storing and restoring ordering based on embedding coding information in an electronic picture.
Background
With the popularization of mobile devices, people are producing a large amount of picture data every day, and meanwhile, the requirements of picture management and storage are brought. From the very beginning, the classification is based on picture criteria information, to the classification that now relies on machine learning. But even so, some personalized organizational needs of the user are still not met. The current method for providing the user with the association relationship of the self-organized pictures is to create a new photo album, and the pictures to be associated are moved into the self-defined photo album. Or manually add a unified tag or annotation to the photograph. This approach only tells the user the group relationships, or tree relationships, of these pictures. But cannot customize the relationships, including the order, etc., between the same set of pictures.
Under the current software and hardware scheme, after the user changes the equipment and the software, the user-defined file association information is lost. Moreover, when the user shares the picture to other people or uploads the picture to the network disk, the customized associated information is lost. Because the existing scheme is that the custom associated information is managed by the application program through a program database and the like, the custom associated information cannot follow the photo.
Although there are many automatic classification methods for software in the market at present and methods for providing users with self-organizing files, because of the lack of standards for file organization associated information, users struggle to manually classify pictures and order them. The problem of loss of custom information after replacement of devices, backup, sharing, etc. remains to be faced.
Therefore, a method for storing and restoring non-standard order relations based on embedding coding information in electronic pictures, which can improve user experience, facilitate user classification and restore initial ordering settings, is continuously provided.
Disclosure of Invention
Accordingly, in order to solve the above-mentioned problems, it is necessary to provide a method for storing and restoring the order based on embedding the encoded information in the electronic pictures, which can improve the user experience, facilitate the classification of the user, and restore the original order setting.
The technical scheme of the invention is as follows:
a method for storing and restoring ordering based on embedding encoded information in an electronic picture, the method comprising the steps of:
step S100: acquiring electronic pictures to be sequenced;
step S200: acquiring ordered electronic pictures which are arranged and ordered according to the electronic pictures to be ordered;
step S300: embedding custom coding information into the ordered electronic pictures according to the sequence information contained in the acquired ordered electronic pictures; the electronic picture embedded with the custom coding information is a coded electronic picture;
step S400: generating a first display interface according to the coded electronic picture embedded with the custom coding information; the first display interface is used for displaying the coded electronic picture embedded with the custom coding information.
Specifically, the custom coding information comprises flag bit information, repetition preventing code information and sequential code information; the anti-duplication code information comprises user name nickname information, md5 information for classifying the first picture, classification name information and true pseudo-random number information.
The method for storing and restoring the ordering based on embedding the encoded information in the electronic picture according to claim 1, wherein the step S100: the method for acquiring the electronic pictures to be ordered specifically comprises the following steps:
step S110: acquiring a sequencing starting instruction for starting picture sequencing;
step S120: generating a UI display interface according to the ordering starting instruction, wherein the UI display interface is used for displaying the electronic pictures to be selected;
step S103: acquiring a selected picture selected from the electronic pictures to be selected displayed in the UI display interface; and selecting a selected picture from the electronic pictures to be selected displayed in the UI display interface, wherein the selected picture is the electronic picture to be ordered.
Specifically, the step S200: acquiring ordered electronic pictures which are arranged and ordered according to the electronic pictures to be ordered; the method specifically comprises the following steps:
step S210: acquiring an associated trigger instruction for the electronic pictures to be sequenced according to the trigger for the electronic pictures to be sequenced;
step S220: selecting a picture classification type according to the association triggering instruction;
step S230: when the existing classification type is selected, acquiring electronic pictures after the sequence of each electronic picture to be ordered is adjusted in the selected existing classification type; the electronic pictures after the sequence of the electronic pictures to be sequenced is adjusted to be the sequenced electronic pictures;
step S240: when a new classification type is selected, acquiring electronic pictures after the sequence of each electronic picture to be ordered is adjusted in a new classification type interface; and adjusting the electronic pictures after the sequence of the electronic pictures to be sequenced to be the sequenced electronic pictures.
Specifically, the step S400: generating a first display interface according to the coded electronic picture embedded with the custom coding information; the first display interface is used for displaying the coded electronic picture embedded with the custom coding information; and then further comprises:
step S510: storing the coded electronic pictures embedded with the custom coding information to a cloud disk;
step S520: and sending the encoded electronic picture embedded with the custom encoding information to acceptable picture electronic equipment.
Specifically, step S520: transmitting the encoded electronic picture embedded with the custom encoding information to an acceptable picture electronic device; and then further comprises:
step S521: acquiring the coded electronic pictures which are stored in a cloud disk or transmitted to the electronic equipment with acceptable pictures and embedded with the custom coding information, and recording the coded electronic pictures as electronic pictures to be restored and sequenced;
step S522: judging whether the electronic pictures to be restored contain embedded custom coding information according to the electronic pictures to be restored;
step S523: if yes, reading embedded custom coding information contained in the electronic pictures to be restored and sequencing the electronic pictures to be restored and restoring sequence information contained in the electronic pictures to be restored;
step S524: generating a second display interface according to the electronic pictures to be restored, wherein the electronic pictures to be restored restore the sequence information contained in the electronic pictures to be restored; the second display interface is used for displaying the electronic pictures to be restored according to the sequence information contained in the electronic pictures to be restored.
Specifically, step S300: embedding custom coding information into the ordered electronic pictures according to the sequence information contained in the acquired ordered electronic pictures; the electronic picture embedded with the custom coding information is a coded electronic picture; the method specifically comprises the following steps:
and embedding the custom coding information into the ordered electronic pictures by adopting a picture steganography technology according to the sequence information contained in the acquired ordered electronic pictures.
An apparatus for storing and restoring non-standard order relationships based on embedding encoded information in an electronic picture, the apparatus comprising:
the electronic picture to be sequenced is used for acquiring electronic pictures to be sequenced;
the ordered electronic picture acquisition module is used for acquiring ordered electronic pictures which are arranged according to the electronic pictures to be ordered;
the custom coding information embedding module is used for embedding custom coding information into the ordered electronic pictures according to the sequence information contained in the acquired ordered electronic pictures; the electronic picture embedded with the custom coding information is a coded electronic picture;
the first display interface generation module is used for generating a first display interface according to the encoded electronic picture embedded with the custom encoding information; the first display interface is used for displaying the coded electronic picture embedded with the custom coding information.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above based on embedding encoded information in an electronic picture to store and restore ordering when the computer program is executed.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the above method for storing and restoring ordering based on embedding encoded information in electronic pictures.
The invention has the following technical effects:
acquiring the electronic pictures to be sequenced based on a method of embedding coding information into the electronic pictures to store and restore the sequencing; acquiring ordered electronic pictures which are arranged and ordered according to the electronic pictures to be ordered; then, embedding custom coding information into the ordered electronic pictures according to the sequence information contained in the acquired ordered electronic pictures; the electronic picture embedded with the custom coding information is a coded electronic picture; finally, generating a first display interface according to the encoded electronic picture embedded with the custom encoding information; the first display interface is used for displaying the coded electronic pictures embedded with the custom coding information, so that a user can conveniently organize groups and sequences of the pictures, custom information of the pictures can not be lost when the pictures are shared with other people or backed up to a cloud disk, even the custom information can be encrypted, and the original organization setting can be restored as long as software capable of decoding the corresponding information is arranged, and the first display interface can be applied to the fields of screen shot cutting, video abstraction, photo wall and the like, so that user experience is improved, great convenience is provided for the user, and meanwhile, the first display interface has a wide market prospect.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention. In the drawings:
FIG. 1 is an application scenario diagram of a method for storing and restoring ordering based on embedding coding information in electronic pictures in one embodiment;
FIG. 2 is a flow chart of a method for storing and restoring ordering based on embedding coding information in electronic pictures in one embodiment;
FIG. 3 is a diagram of a coding format of custom coding information in a method for embedding coding information in an electronic picture for storing and restoring ordering according to an embodiment;
FIG. 4 is a block diagram of sequential codes in a method for storing and restoring ordering based on embedding coding information in electronic pictures in one embodiment;
FIG. 5 is a diagram of sequential code nodes in a method for storing and restoring ordering based on embedding coding information in electronic pictures, in one embodiment;
FIG. 6 is a block diagram of an apparatus for storing and restoring non-standard sequential relationships based on embedding encoded information in an electronic picture, in one embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The invention will be described in detail below with reference to the drawings in connection with embodiments.
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, based on the embodiments of the invention, which are obtained without inventive effort by a person of ordinary skill in the art, shall fall within the scope of the invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
The method based on embedding the coding information in the electronic picture and storing and restoring the ordering can be applied to an application environment shown in fig. 1. When a user uses the user client shown in fig. 1, the user client can acquire to-be-sequenced electronic pictures firstly in the triggering of the user and the repair process of the electronic pictures; then, the ordered electronic pictures which are ordered according to the electronic picture to be ordered are obtained; embedding custom coding information into the ordered electronic pictures according to the sequence information contained in the acquired ordered electronic pictures; the electronic picture embedded with the custom coding information is a coded electronic picture; finally, generating a first display interface according to the encoded electronic picture embedded with the custom encoding information; the first display interface is used for displaying the coded electronic picture embedded with the custom coding information, and for the angle of a user, software of the user client writes the association sequence defined by the user into the picture in a mode of picture steganography and other method information.
And then, the user can backup the ordered electronic pictures containing the custom coding information to a cloud disk or send the ordered electronic pictures to friends through the user client. When the user uses another client, namely the user uses the new equipment client to pull the backup picture from the cloud disk, the new equipment client displays the organized picture according to the user-defined information. When the user-defined information is sent to friends, the software of the friend client of the friends displays the organized pictures according to the user-defined information, so that the user-defined information is not lost when the pictures are shared to other people or backed up to a cloud disk, the user-defined information can be even encrypted, the original organization setting can be restored as long as the software capable of decoding the corresponding information is arranged, the method can be applied to the fields of screenshot and newspaper cutting, video abstraction, photo wall and the like, the user experience is improved, and great convenience is provided for users, and meanwhile, the method has a wide market prospect.
The user client, the new device client and the friendly client can be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the cloud disk can be realized by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, there is provided a method for storing and restoring ordering based on embedding coding information in an electronic picture, the method comprising the steps of:
step S100: acquiring electronic pictures to be sequenced;
specifically, in this step, the electronic picture to be ordered is a picture to be ordered by the user.
Step S200: acquiring ordered electronic pictures which are arranged and ordered according to the electronic pictures to be ordered;
in this step, after the user sorts the electronic pictures with sorting, that is, after the user sets the sorting order for the electronic pictures with sorting to be sorted by triggering the click operation, the electronic pictures with sorting already sorted at this time are the electronic pictures with sorting, and further, the electronic pictures with sorting after sorting are set according to the electronic pictures with sorting are obtained in this step.
Step S300: embedding custom coding information into the ordered electronic pictures according to the sequence information contained in the acquired ordered electronic pictures; the electronic picture embedded with the custom coding information is a coded electronic picture;
specifically, in this step, the embedding manner may be a steganography method, and the steganography method may adopt different manners according to the picture format, the picture use range, and other conditions.
Further, in this step, custom coding information may be generated according to sequence information contained in the ordered electronic pictures, and the custom coding information is embedded into the ordered electronic pictures, so as to obtain the encoded electronic pictures, which is convenient and fast, and does not damage original information of the pictures. And the standard parameters of the picture do not need to be changed, so that the problem that the standard meaning of the picture is lost after the standard parameters of the picture are occupied is prevented, and the stability of the data structure of the picture is improved.
Step S400: generating a first display interface according to the coded electronic picture embedded with the custom coding information; the first display interface is used for displaying the coded electronic picture embedded with the custom coding information.
Specifically, by generating the first display interface, the user visually and intuitively sees the ordered encoded electronic pictures embedded with the custom encoding information, and user experience is improved.
Acquiring the electronic pictures to be sequenced based on a method of embedding coding information into the electronic pictures to store and restore the sequencing; acquiring ordered electronic pictures which are arranged and ordered according to the electronic pictures to be ordered; then, embedding custom coding information into the ordered electronic pictures according to the sequence information contained in the acquired ordered electronic pictures; the electronic picture embedded with the custom coding information is a coded electronic picture; finally, generating a first display interface according to the encoded electronic picture embedded with the custom encoding information; the first display interface is used for displaying the coded electronic pictures embedded with the custom coding information, so that a user can conveniently organize groups and sequences of the pictures, custom information of the pictures can not be lost when the pictures are shared with other people or backed up to a cloud disk, even the custom information can be encrypted, and the original organization setting can be restored as long as software capable of decoding the corresponding information is arranged, and the first display interface can be applied to the fields of screen shot cutting, video abstraction, photo wall and the like, so that user experience is improved, great convenience is provided for the user, and meanwhile, the first display interface has a wide market prospect.
In one embodiment, as shown in fig. 3, the custom encoded information includes flag bit information, repetition preventing code information, and sequential code information.
The anti-duplication code information comprises user name nickname information, md5 information for classifying the first picture, classification name information and true pseudo-random number information.
Specifically, the flag bit information is used for marking a coding format and is used for predefining the composition of coding. The anti-duplication codes can be cut and combined, or new function codes can be added.
The duplicate-preventing code information has duplicate-preventing and classifying functions.
Further, the user name nickname information is used for distinguishing whether the user name is classified by the user name or is another person, and unique id can be added into the user name nickname information, and the user name nickname information can be a simple nickname, and can be adjusted according to the use range.
The md5 information of the first picture is used for weight prevention, specifically, the md5 information of the first picture is set to a specific value, such as 38b5.
The classification name information is specified by the user for grouping and name display.
The true pseudo-random number information is used for enhancing the uniqueness, is adjusted according to the use range, and is not added to the system if only shared in a person and a family.
Still further, the sequence code information is used for ordering. By setting the sequence code information, even if partial pictures are lost, the organization relation of the rest pictures is not influenced.
Further, as shown in fig. 4, the sequential code is a directory tree, and the code is stored as a binary tree data structure when read, and the missing nodes are filled with null values.
For example, when the last node value of the ordering of the group of photos is 1.1.1, the left node is originally 0, which means that the last node is the last photo, and the newly added photo is added as 1.1.1.1.1.
If the user wants to insert a photo in the middle, the previous photo at the inserted location has a node value of 1.1.1, and its left node is 1.1.1.1, then the photo to be inserted is added as the right node, labeled 1.1.2.
If the pictures organized by the user have partial missing, the sequence information can be restored only by the node value of the last picture, and the pictures corresponding to some nodes are not displayed due to the missing.
After traversing the binary tree preamble, 1-1.1-1.1.1-1.1.1.1-1.1.2-1.2-2.1-3 is obtained, so that the picture sequence can be restored, and the sequencing and the restoring sequencing are realized.
The tree node structure is de-emphasized against tampering, emphasized is convenient modification, and allows nodes to be lost without affecting the integrity of the organization.
Still further, as shown in fig. 5, where a.b.c can be represented by a one-dimensional array at decoding time, a.b.c.1 is to add a column default value of 1 to the one-dimensional array and a.b.c+1 is to add one to the last column value.
Of course, the above example codes are only one embodiment, and in practice there may be different code combinations. But all need to have three elements of anti-duplication uniqueness, grouping labels and order. Different coding modes can be selected according to actual conditions, so long as the three elements of anti-duplication uniqueness, grouping labels and sequences can be provided, and functions to be realized by the method can be realized.
In one embodiment, the step S100: the method for acquiring the electronic pictures to be ordered specifically comprises the following steps:
step S110: acquiring a sequencing starting instruction for starting picture sequencing;
specifically, in this embodiment, when the user needs to sort the electronic pictures, each picture is triggered, and when the trigger instruction of the user matches with the sort start instruction, the sort start instruction for starting the picture sorting is obtained.
Step S120: generating a UI display interface according to the ordering starting instruction, wherein the UI display interface is used for displaying the electronic pictures to be selected;
specifically, in the step, the UI display interface is generated to display the electronic picture to be selected, so that the electronic picture to be selected is ensured to be intuitively displayed on a user, the user can conveniently check the electronic picture, and the user experience is improved.
Step S103: acquiring a selected picture selected from the electronic pictures to be selected displayed in the UI display interface; and selecting a selected picture from the electronic pictures to be selected displayed in the UI display interface, wherein the selected picture is the electronic picture to be ordered.
Specifically, in this step, the user needs to select a photo from the electronic pictures to be selected displayed in the UI display interface, where the selected photo is the selected picture. And after the selected picture selected from the electronic pictures to be selected displayed in the UI display interface is obtained, obtaining the electronic pictures to be ordered.
In one embodiment, the step S200: acquiring ordered electronic pictures which are arranged and ordered according to the electronic pictures to be ordered; the method specifically comprises the following steps:
step S210: acquiring an associated trigger instruction for the electronic pictures to be sequenced according to the trigger for the electronic pictures to be sequenced;
specifically, in this step, an association button may be set, and when the user triggers the association button, the user triggers the electronic pictures to be ordered, and then, after triggering, the user obtains an association triggering instruction for the electronic pictures to be ordered.
Step S220: selecting a picture classification type according to the association triggering instruction;
specifically, the picture classification type at this time includes two types. One is an existing classification type, and the other is a newly built classification type. The newly built classification type is a type which is not established before, and the existing classification type is a type which is established before.
Step S230: when the existing classification type is selected, acquiring electronic pictures after the sequence of each electronic picture to be ordered is adjusted in the selected existing classification type; the electronic pictures after the sequence of the electronic pictures to be sequenced is adjusted to be the sequenced electronic pictures;
in this step, when the existing classification type is selected, the position of each picture is adjusted on the interface of the existing classification type, and the selected picture is added as the last picture by default.
Further, the pictures can be adjusted so that a user can manually drag each electronic picture to be ordered, thereby ordering the pictures, and then, the electronic pictures after the order of each electronic picture to be ordered is adjusted are acquired, namely, the ordered electronic pictures are acquired.
Step S240: when a new classification type is selected, acquiring electronic pictures after the sequence of each electronic picture to be ordered is adjusted in a new classification type interface; and adjusting the electronic pictures after the sequence of the electronic pictures to be sequenced to be the sequenced electronic pictures.
In this step, when a new classification type is selected, a new classification type interface is entered, then the positions of the pictures are adjusted as well, and then the ordered electronic pictures are acquired.
In one embodiment, when the new classification type is selected, acquiring electronic pictures in the new classification type interface after the sequence of each electronic picture to be ordered is adjusted; the electronic pictures after the sequence of the electronic pictures to be sequenced is adjusted to be the sequenced electronic pictures; thereafter, the method further comprises:
step S241: judging whether to add pictures or not;
step S242: if yes, entering a picture selection interface and obtaining a picture added after being selected by the picture selection interface, and then turning to step S230.
Specifically, in this step, if the determination is yes, then in order to determine to add a picture, at this time, it is necessary to add a picture to the already classified type, so at this time, the process goes to step S230: acquiring electronic pictures after adjusting the sequence of each electronic picture to be ordered in the selected existing classification type; and adjusting the electronic pictures after the sequence of the electronic pictures to be sequenced to be the sequenced electronic pictures.
Step S243: if not, go to step S120.
Specifically, in this step, if no, in order to determine that no picture needs to be added, the picture display interface is returned, that is, step S120 is returned: and generating a UI display interface according to the ordering starting instruction, wherein the UI display interface is used for displaying the electronic pictures to be selected.
In one embodiment, the step S400: generating a first display interface according to the coded electronic picture embedded with the custom coding information; the first display interface is used for displaying the coded electronic picture embedded with the custom coding information; and then further comprises:
step S510: storing the coded electronic pictures embedded with the custom coding information to a cloud disk;
specifically, in this step, the encoded electronic picture embedded with the custom encoding information is stored in a cloud disk, so that the encoded electronic picture is downloaded at a time when the picture information needs to be known later, which is convenient and fast.
Step S520: and sending the encoded electronic picture embedded with the custom encoding information to acceptable picture electronic equipment.
Specifically, the encoded electronic picture embedded with the custom encoding information is sent to the acceptable picture electronic equipment, so that the user experience can be rapidly shared, and the user experience is improved.
The acceptable picture electronic device may be a friend electronic device used by a friend.
In one embodiment, step S520: transmitting the encoded electronic picture embedded with the custom encoding information to an acceptable picture electronic device; and then further comprises:
step S521: acquiring the coded electronic pictures which are stored in a cloud disk or transmitted to the electronic equipment with acceptable pictures and embedded with the custom coding information, and recording the coded electronic pictures as electronic pictures to be restored and sequenced;
specifically, when the encoded electronic picture embedded with the custom encoding information is downloaded from a cloud disk or received by a user of an electronic device with acceptable pictures, the encoded electronic picture embedded with the custom encoding information stored in the cloud disk or sent to the electronic device with acceptable pictures is obtained, and the electronic picture to be restored is also obtained.
Step S522: judging whether the electronic pictures to be restored contain embedded custom coding information according to the electronic pictures to be restored;
specifically, after the electronic pictures to be restored are obtained, whether the electronic pictures to be restored contain embedded custom coding information can be judged, so that the original sequence can be restored based on the electronic pictures to be restored.
Step S523: if yes, reading embedded custom coding information contained in the electronic pictures to be restored and sequencing the electronic pictures to be restored and restoring sequence information contained in the electronic pictures to be restored;
if yes, judging that the electronic pictures to be restored and ordered contain embedded custom coding information. At this time, the original organization sequence needs to be restored according to the electronic pictures to be restored, so that the custom information is not lost, and the original organization setting is restored.
Step S524: generating a second display interface according to the electronic pictures to be restored, wherein the electronic pictures to be restored restore the sequence information contained in the electronic pictures to be restored; the second display interface is used for displaying the electronic pictures to be restored according to the sequence information contained in the electronic pictures to be restored.
Specifically, by setting the second display interface, the second display interface displays the to-be-restored ordered electronic pictures which restore the sequence information contained in the to-be-restored ordered electronic pictures, so that user experience is improved.
In one embodiment, step S300: embedding custom coding information into the ordered electronic pictures according to the sequence information contained in the acquired ordered electronic pictures; the electronic picture embedded with the custom coding information is a coded electronic picture; the method specifically comprises the following steps:
and embedding the custom coding information into the ordered electronic pictures by adopting a picture steganography technology according to the sequence information contained in the acquired ordered electronic pictures.
Specifically, the sequential information contained in the sequenced electronic pictures is embedded into the sequenced electronic pictures in the form of custom coding information through a picture steganography technology, so that the sequential information contained in the pictures is ensured, the display of file names is not affected on the other hand, the problem that standard parameters of the pictures lose the standard meaning of the standard parameters of the pictures after the standard parameters of the pictures are occupied is avoided, the data security performance is improved, and meanwhile the integrity of the information of the pictures is also ensured.
In one embodiment, as shown in fig. 6, there is also provided an apparatus for storing and restoring non-standard sequential relationships based on embedding encoded information in an electronic picture, the apparatus comprising:
the electronic picture to be sequenced is used for acquiring electronic pictures to be sequenced;
the ordered electronic picture acquisition module is used for acquiring ordered electronic pictures which are arranged according to the electronic pictures to be ordered;
the custom coding information embedding module is used for embedding custom coding information into the ordered electronic pictures according to the sequence information contained in the acquired ordered electronic pictures; the electronic picture embedded with the custom coding information is a coded electronic picture;
the first display interface generation module is used for generating a first display interface according to the encoded electronic picture embedded with the custom encoding information; the first display interface is used for displaying the coded electronic picture embedded with the custom coding information.
In one embodiment, the electronic picture obtaining module to be ordered is further configured to:
acquiring a sequencing starting instruction for starting picture sequencing;
generating a UI display interface according to the ordering starting instruction, wherein the UI display interface is used for displaying the electronic pictures to be selected;
acquiring a selected picture selected from the electronic pictures to be selected displayed in the UI display interface; and selecting a selected picture from the electronic pictures to be selected displayed in the UI display interface, wherein the selected picture is the electronic picture to be ordered.
In one embodiment, the ordered electronic picture acquisition module is further to:
acquiring an associated trigger instruction for the electronic pictures to be sequenced according to the trigger for the electronic pictures to be sequenced;
selecting a picture classification type according to the association triggering instruction;
when the existing classification type is selected, acquiring electronic pictures after the sequence of each electronic picture to be ordered is adjusted in the selected existing classification type; the electronic pictures after the sequence of the electronic pictures to be sequenced is adjusted to be the sequenced electronic pictures;
when a new classification type is selected, acquiring electronic pictures after the sequence of each electronic picture to be ordered is adjusted in a new classification type interface; and adjusting the electronic pictures after the sequence of the electronic pictures to be sequenced to be the sequenced electronic pictures.
In one embodiment, the apparatus further comprises:
the cloud disk storage module is used for storing the coded electronic pictures embedded with the custom coding information to a cloud disk;
and the electronic equipment transmitting module is used for transmitting the encoded electronic picture embedded with the custom encoding information to the acceptable picture electronic equipment.
In one embodiment, the electronic device sending module is further configured to:
acquiring the coded electronic pictures which are stored in a cloud disk or transmitted to the electronic equipment with acceptable pictures and embedded with the custom coding information, and recording the coded electronic pictures as electronic pictures to be restored and sequenced;
judging whether the electronic pictures to be restored contain embedded custom coding information according to the electronic pictures to be restored;
if yes, reading embedded custom coding information contained in the electronic pictures to be restored and sequencing the electronic pictures to be restored and restoring sequence information contained in the electronic pictures to be restored;
generating a second display interface according to the electronic pictures to be restored, wherein the electronic pictures to be restored restore the sequence information contained in the electronic pictures to be restored; the second display interface is used for displaying the electronic pictures to be restored according to the sequence information contained in the electronic pictures to be restored.
In one embodiment, the custom coding information embedding module is further configured to embed custom coding information into the ordered electronic picture by using a picture steganography technique according to the order information included in the obtained ordered electronic picture.
In one embodiment, as shown in fig. 7, there is further provided a computer device, including a memory storing a computer program and a processor implementing the steps of the above method for storing and restoring ordering based on embedding coding information in an electronic picture when the computer program is executed.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the above method for storing and restoring ordering based on embedding encoded information in electronic pictures.
The preferred embodiments of the invention disclosed above are intended only to assist in the explanation of the invention. The preferred embodiments are not exhaustive or to limit the invention to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best understand and utilize the invention. The invention is to be limited only by the following claims and their full scope and equivalents, and any modifications, equivalents, improvements, etc., which fall within the spirit and principles of the invention are intended to be included within the scope of the invention.
It will be appreciated by those skilled in the art that the system, apparatus and their respective modules provided by the present invention may be implemented entirely by logic programming method steps, in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc., except for implementing the system, apparatus and their respective modules provided by the present invention in a purely computer readable program code. Therefore, the system, the apparatus, and the respective modules thereof provided by the present invention may be regarded as one hardware component, and the modules included therein for implementing various programs may also be regarded as structures within the hardware component; modules for implementing various functions may also be regarded as being either software programs for implementing the methods or structures within hardware components.
Furthermore, all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program, where the program is stored in a storage medium and includes several instructions for causing a single-chip microcomputer, chip or processor (processor) to perform all or part of the steps in the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In addition, any combination of various embodiments of the present invention may be performed, so long as the concept of the embodiments of the present invention is not violated, and the disclosure of the embodiments of the present invention should also be considered.
Claims (8)
1. A method for storing and restoring ordering based on embedding encoded information in an electronic picture, the method comprising the steps of:
step S100: acquiring electronic pictures to be sequenced;
step S200: acquiring ordered electronic pictures which are arranged and ordered according to the electronic pictures to be ordered;
step S300: embedding custom coding information into the ordered electronic pictures in a picture steganography mode according to the sequence information contained in the acquired ordered electronic pictures; the custom coding information comprises flag bit information, anti-duplication code information and sequence code information, wherein the anti-duplication code information comprises user name nickname information, md5 information for classifying a first picture, classification name information and true pseudo-random number information; the electronic picture embedded with the custom coding information is a coded electronic picture;
step S400: generating a first display interface according to the coded electronic picture embedded with the custom coding information; the first display interface is used for displaying the coded electronic pictures embedded with the custom coding information according to the sequence; the sequence code information is in a directory tree structure, the code is stored into a binary tree data structure during reading, and missing nodes are filled with null values.
2. The method for storing and restoring the ordering based on embedding the encoded information in the electronic picture according to claim 1, wherein the step S100: the method for acquiring the electronic pictures to be ordered specifically comprises the following steps:
step S110: acquiring a sequencing starting instruction for starting picture sequencing;
step S120: generating a UI display interface according to the ordering starting instruction, wherein the UI display interface is used for displaying the electronic pictures to be selected;
step S103: acquiring a selected picture selected from the electronic pictures to be selected displayed in the UI display interface; and selecting a selected picture from the electronic pictures to be selected displayed in the UI display interface, wherein the selected picture is the electronic picture to be ordered.
3. The method for storing and restoring the ordering based on embedding the encoded information in the electronic picture according to claim 1, wherein the step S200: acquiring ordered electronic pictures which are arranged and ordered according to the electronic pictures to be ordered; the method specifically comprises the following steps:
step S210: acquiring an associated trigger instruction for the electronic pictures to be sequenced according to the trigger for the electronic pictures to be sequenced;
step S220: selecting a picture classification type according to the association triggering instruction;
step S230: when the existing classification type is selected, acquiring electronic pictures after the sequence of each electronic picture to be ordered is adjusted in the selected existing classification type; the electronic pictures after the sequence of the electronic pictures to be sequenced is adjusted to be the sequenced electronic pictures;
step S240: when a new classification type is selected, acquiring electronic pictures after the sequence of each electronic picture to be ordered is adjusted in a new classification type interface; and adjusting the electronic pictures after the sequence of the electronic pictures to be sequenced to be the sequenced electronic pictures.
4. The method for storing and restoring the ordering based on embedding the encoded information in the electronic picture according to claim 1, wherein the step S400: generating a first display interface according to the coded electronic picture embedded with the custom coding information; the first display interface is used for displaying the coded electronic picture embedded with the custom coding information; and then further comprises:
step S510: storing the coded electronic pictures embedded with the custom coding information to a cloud disk;
step S520: and sending the encoded electronic picture embedded with the custom encoding information to acceptable picture electronic equipment.
5. The method for storing and restoring ordering based on embedding coding information in electronic pictures according to claim 4, wherein step S520: transmitting the encoded electronic picture embedded with the custom encoding information to an acceptable picture electronic device; and then further comprises:
step S521: acquiring the coded electronic pictures which are stored in a cloud disk or transmitted to the electronic equipment with acceptable pictures and embedded with the custom coding information, and recording the coded electronic pictures as electronic pictures to be restored and sequenced;
step S522: judging whether the electronic pictures to be restored contain embedded custom coding information according to the electronic pictures to be restored;
step S523: if yes, reading embedded custom coding information contained in the electronic pictures to be restored and sequencing the electronic pictures to be restored and restoring sequence information contained in the electronic pictures to be restored;
step S524: generating a second display interface according to the electronic pictures to be restored, wherein the electronic pictures to be restored restore the sequence information contained in the electronic pictures to be restored; the second display interface is used for displaying the electronic pictures to be restored according to the sequence information contained in the electronic pictures to be restored.
6. An apparatus for storing and restoring non-standard sequential relationships based on embedding encoded information in an electronic picture, the apparatus comprising:
the electronic picture to be sequenced is used for acquiring electronic pictures to be sequenced;
the ordered electronic picture acquisition module is used for acquiring ordered electronic pictures which are arranged according to the electronic pictures to be ordered;
the custom coding information embedding module is used for embedding custom coding information into the ordered electronic pictures in a picture steganography mode according to the sequence information contained in the acquired ordered electronic pictures; the custom coding information comprises flag bit information, anti-duplication code information and sequence code information, wherein the anti-duplication code information comprises user name nickname information, md5 information for classifying a first picture, classification name information and true pseudo-random number information; the electronic picture embedded with the custom coding information is a coded electronic picture;
the first display interface generation module is used for generating a first display interface according to the encoded electronic picture embedded with the custom encoding information; the first display interface is used for displaying the coded electronic picture embedded with the custom coding information; the sequence code information is in a directory tree structure, the code is stored into a binary tree data structure during reading, and missing nodes are filled with null values.
7. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 5 when the computer program is executed.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110135613.6A CN112800261B (en) | 2021-02-01 | 2021-02-01 | Method for storing and restoring ordering based on embedding coding information in electronic picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110135613.6A CN112800261B (en) | 2021-02-01 | 2021-02-01 | Method for storing and restoring ordering based on embedding coding information in electronic picture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112800261A CN112800261A (en) | 2021-05-14 |
CN112800261B true CN112800261B (en) | 2024-01-30 |
Family
ID=75813308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110135613.6A Active CN112800261B (en) | 2021-02-01 | 2021-02-01 | Method for storing and restoring ordering based on embedding coding information in electronic picture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112800261B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106878145A (en) * | 2016-12-19 | 2017-06-20 | 北京新美互通科技有限公司 | A kind of display methods of self-defined picture, display device and display system |
CN108875037A (en) * | 2018-06-26 | 2018-11-23 | 清远网博信息技术有限公司 | Polymorphic type picture classification sort method and system |
US10332191B1 (en) * | 2014-12-12 | 2019-06-25 | Morphotrust Usa, Llc | Steganographic-based system and method using digital identification |
CN110098995A (en) * | 2018-01-31 | 2019-08-06 | 阿里巴巴集团控股有限公司 | Information processing method, information display method, device, electronic equipment and server |
CN111131651A (en) * | 2019-12-26 | 2020-05-08 | 北大方正集团有限公司 | Picture uploading method, picture uploading device and computer readable storage medium |
CN111611415A (en) * | 2020-05-21 | 2020-09-01 | 百度在线网络技术(北京)有限公司 | Picture display method, server, electronic equipment and storage medium |
CN112132158A (en) * | 2020-09-04 | 2020-12-25 | 华东师范大学 | Visual picture information embedding method based on self-coding network |
-
2021
- 2021-02-01 CN CN202110135613.6A patent/CN112800261B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10332191B1 (en) * | 2014-12-12 | 2019-06-25 | Morphotrust Usa, Llc | Steganographic-based system and method using digital identification |
CN106878145A (en) * | 2016-12-19 | 2017-06-20 | 北京新美互通科技有限公司 | A kind of display methods of self-defined picture, display device and display system |
CN110098995A (en) * | 2018-01-31 | 2019-08-06 | 阿里巴巴集团控股有限公司 | Information processing method, information display method, device, electronic equipment and server |
CN108875037A (en) * | 2018-06-26 | 2018-11-23 | 清远网博信息技术有限公司 | Polymorphic type picture classification sort method and system |
CN111131651A (en) * | 2019-12-26 | 2020-05-08 | 北大方正集团有限公司 | Picture uploading method, picture uploading device and computer readable storage medium |
CN111611415A (en) * | 2020-05-21 | 2020-09-01 | 百度在线网络技术(北京)有限公司 | Picture display method, server, electronic equipment and storage medium |
CN112132158A (en) * | 2020-09-04 | 2020-12-25 | 华东师范大学 | Visual picture information embedding method based on self-coding network |
Also Published As
Publication number | Publication date |
---|---|
CN112800261A (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12093327B2 (en) | Method and apparatus for managing digital files | |
US9525789B2 (en) | Shuffle algorithm and navigation | |
US9390472B2 (en) | Systems and methods for generating an interactive mosaic comprising user visual content data on a portable terminal and an image sharing platform | |
US20210117469A1 (en) | Systems and methods for selecting content items to store and present locally on a user device | |
US20150363640A1 (en) | Automatically organizing images | |
US20070083487A1 (en) | Document preservation | |
CN101755303A (en) | Automatic story creation using semantic classifiers | |
US20090192998A1 (en) | System and method for deduced meta tags for electronic media | |
CN104166694A (en) | Image classifying and storing method and electronic device | |
US20080310763A1 (en) | Network System | |
CN105554290A (en) | Wallpaper sharing method and device | |
US10057606B2 (en) | Systems and methods for automated application of business rules using temporal metadata and content fingerprinting | |
CN110865981A (en) | File access method for mobile terminal and mobile terminal thereof | |
CN112800261B (en) | Method for storing and restoring ordering based on embedding coding information in electronic picture | |
CN115033147A (en) | Information processing method, device, equipment and storage medium | |
CN206684733U (en) | One kind investigates report automatic creation system on the spot | |
CN111343231B (en) | Data extraction method and device for instant messaging, computer system and readable storage medium | |
US20240179262A1 (en) | Object data exchange | |
CN107239494B (en) | Recorded data generating and displaying method and system | |
US20200301911A1 (en) | Electronic chronology | |
CN111651415A (en) | Information uploading method and device for tyrC law enforcement instrument, storage medium and intelligent equipment | |
CN115701104A (en) | Photo album based image uploading method, device, equipment and storage medium | |
CN108418885A (en) | Data managing method and device | |
JP2007072723A (en) | Document management device, document management method, program and recording medium |
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 |