CN112800261A - Method for storing and restoring sequence based on embedding coded information in electronic picture - Google Patents

Method for storing and restoring sequence based on embedding coded information in electronic picture Download PDF

Info

Publication number
CN112800261A
CN112800261A CN202110135613.6A CN202110135613A CN112800261A CN 112800261 A CN112800261 A CN 112800261A CN 202110135613 A CN202110135613 A CN 202110135613A CN 112800261 A CN112800261 A CN 112800261A
Authority
CN
China
Prior art keywords
electronic
pictures
picture
information
sorted
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
CN202110135613.6A
Other languages
Chinese (zh)
Other versions
CN112800261B (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.)
Shanghai Zhuoyi Technology Co Ltd
Original Assignee
Shanghai Zhuoyi Technology 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 Shanghai Zhuoyi Technology Co Ltd filed Critical Shanghai Zhuoyi Technology Co Ltd
Priority to CN202110135613.6A priority Critical patent/CN112800261B/en
Publication of CN112800261A publication Critical patent/CN112800261A/en
Application granted granted Critical
Publication of CN112800261B publication Critical patent/CN112800261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/535Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/55Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution 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 embedding coding information in an electronic picture for storing and restoring sequencing, which comprises the steps of obtaining the electronic picture to be sequenced; acquiring the sorted electronic pictures which are arranged and sorted according to the electronic pictures to be sorted; according to the obtained sequence information contained in the sequenced electronic pictures, self-defined coding information is embedded into the sequenced electronic pictures; and generating a first display interface according to the coded electronic picture embedded with the custom coding information. The invention enables the user to conveniently organize the group and the sequence of the pictures, the self-defined information of the pictures can not be lost or even can be encrypted when the pictures are shared to other people or backed up on a cloud disk, the original organization setting can be restored as long as software capable of decoding the corresponding information is arranged, and the invention can be applied to the fields of cutting and reporting the internet screenshots, video abstracting, photo walls and the like, thereby improving the user experience and providing great convenience for the user.

Description

Method for storing and restoring sequence based on embedding coded information in electronic picture
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method for storing and restoring sequences based on embedding encoded information in an electronic picture.
Background
With the popularization of mobile devices, people produce 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 done according to the picture standard information, until now relying on machine learning for classification. But even so, some personalized organization needs of the user still cannot be met. At present, a new album is created in a way of providing the user with the self-organizing picture association relationship, and the pictures to be associated are moved into the self-defined album. Or manually add uniform tags or annotations to the photos. This method can only tell the user about the group relationship of these pictures, or the tree-like relationship. But cannot customize the relationship between the same group of pictures, including order, etc.
Under the current software and hardware scheme, the user-defined file associated information is lost after the user changes the equipment and the software. Moreover, when the user shares the picture to other people or uploads the picture to a network disk, the customized associated information is lost. Because the existing scheme, the self-defined associated information is managed by the application program through a program database and the like, and the user-defined associated information cannot follow the photos.
Although software on the market has a plurality of automatic classification methods and a method for providing self-organizing files for users, the users have great efforts to manually classify and sort the pictures because of the lack of standards of file organization associated information. The problem of loss of custom information after device replacement, backup, sharing, etc. is still faced.
Therefore, a method for storing and restoring non-standard sequential relationships 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
In view of the foregoing, there is a need to provide a method for storing and restoring a sequence based on embedding encoded information in an electronic picture, which can improve user experience, facilitate user classification, and restore an initial sequence setting.
The technical scheme of the invention is as follows:
a method for storing and restoring a sequence based on embedding encoded information in an electronic picture, said method comprising the steps of:
step S100: acquiring electronic pictures to be sorted;
step S200: acquiring the sorted electronic pictures which are arranged and sorted according to the electronic pictures to be sorted;
step S300: according to the obtained sequence information contained in the sequenced electronic pictures, self-defined coding information is embedded into the sequenced electronic pictures; the electronic picture embedded with the self-defined 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 includes flag bit information, duplication code prevention information and sequence code information; the anti-duplication code information comprises user name and nickname information, md5 information for classifying the first picture, classification name information and true pseudo-random number information.
The method for storing and restoring sequences based on embedding coded information in electronic pictures according to claim 1, wherein said step S100: the method for acquiring the electronic pictures to be sorted specifically comprises the following steps:
step S110: acquiring a sequencing starting instruction for starting image sequencing;
step S120: generating a UI display interface according to the sequencing 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 selected from the electronic pictures to be selected displayed in the UI display interface as the electronic pictures to be sorted.
Specifically, the step S200: acquiring the sorted electronic pictures which are arranged and sorted according to the electronic pictures to be sorted; the method specifically comprises the following steps:
step S210: acquiring a correlation triggering instruction of the electronic pictures to be sequenced according to the triggering of 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 the electronic pictures after the sequence of the electronic pictures to be sorted is adjusted in the selected existing classification type; adjusting the sequence of each electronic picture to be sequenced into the sequenced electronic picture;
step S240: when a new classification type is selected, acquiring electronic pictures in the new classification type interface after the sequence of the electronic pictures to be sorted is adjusted; and adjusting the sequence of the electronic pictures to be sequenced into 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; then also comprises the following steps:
step S510: storing the coded electronic picture embedded with the custom coding information to a cloud disk;
step S520: and sending the coded electronic picture embedded with the self-defined coding information to an electronic device capable of receiving pictures.
Specifically, step S520: sending the coded electronic picture embedded with the custom coding information to an electronic device capable of receiving pictures; then also comprises the following steps:
step S521: acquiring the coded electronic pictures which are stored in a cloud disk or sent to the picture-acceptable electronic equipment and embedded with the custom coding information, and recording the coded electronic pictures as the electronic pictures to be restored and sorted;
step S522: judging whether the electronic picture to be restored and sorted contains embedded custom coding information or not according to the electronic picture to be restored and sorted;
step S523: if the electronic pictures to be restored and sorted are judged to be the same, reading embedded self-defined coding information contained in the electronic pictures to be restored and sorting sequence information contained in the electronic pictures to be restored and sorted;
step S524: generating a second display interface according to the to-be-restored sequenced electronic picture which restores the sequence information contained in the to-be-restored sequenced electronic picture; and the second display interface is used for displaying the electronic pictures to be restored and sorted according to the sequence information contained in the electronic pictures to be restored and sorted.
Specifically, step S300: according to the obtained sequence information contained in the sequenced electronic pictures, self-defined coding information is embedded into the sequenced electronic pictures; the electronic picture embedded with the self-defined coding information is a coded electronic picture; the method specifically comprises the following steps:
and embedding user-defined coding information into the sequenced electronic pictures by adopting a picture steganography technology according to the sequence information contained in the sequenced electronic pictures.
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 obtained by the module;
the sequenced electronic picture acquisition module is used for acquiring sequenced electronic pictures which are sequenced according to the electronic picture to be sequenced;
the custom coding information embedding module is used for embedding custom coding information into the sorted electronic pictures according to the sequence information contained in the sorted electronic pictures; the electronic picture embedded with the self-defined coding information is a coded electronic picture;
the first display interface generating module is used for 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.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the above method based on embedding encoded information in an electronic picture for storing and restoring an ordering when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the above-mentioned steps based on a method of embedding coding information in an electronic picture for storing and restoring an ordering.
The invention has the following technical effects:
the electronic pictures to be sorted are obtained by embedding the coding information in the electronic pictures to store and restore the sorting method; then, the sorted electronic pictures which are arranged and sorted according to the electronic pictures to be sorted are obtained; then, according to the sequence information contained in the obtained sequenced electronic pictures, self-defined coding information is embedded into the sequenced electronic pictures; the electronic picture embedded with the self-defined coding information is a coded electronic picture; finally, 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 self-defined coding information, so that a user can conveniently organize the group and the sequence of the pictures, on the other hand, the self-defined information cannot be lost when the pictures are shared by other people or are backed up to a cloud disk, even the self-defined information can be encrypted, as long as software capable of decoding corresponding information is arranged, the original organization setting can be restored, the method can be applied to the fields of internet screenshots, video summaries, photo walls and the like, user experience is improved, great convenience is provided for the user, and meanwhile, the method has a wide market prospect.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a diagram of an application scenario of a method for storing and restoring a sequence based on embedding encoded information in an electronic picture according to an embodiment;
FIG. 2 is a flow diagram illustrating a method for storing and restoring sequences based on embedding encoded information in an electronic picture, according to one embodiment;
FIG. 3 is a diagram of an embodiment of a coding format for custom coding information based on a method for embedding coding information in an electronic picture for storing and restoring ordered information;
FIG. 4 is a block diagram of a sequence code in a method for storing and restoring sequences based on embedding encoded information in an electronic picture, according to one embodiment;
FIG. 5 is a sequential code node diagram in a method for storing and restoring a sequence based on embedding encoded information in an electronic picture, according to an embodiment;
FIG. 6 is a block diagram of an apparatus for storing and restoring nonstandard sequential relationships based on embedding coding information in an electronic picture, in one embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The method for embedding the coding information in the electronic picture for storing and restoring the sequence, which is provided by the embodiment of the application, can be applied to the application environment shown in fig. 1. When the user uses the user client shown in fig. 1, the user client may first obtain the electronic pictures to be sorted to be obtained in the triggering and repairing processes of the user; then, acquiring the sorted electronic pictures which are arranged and sorted according to the electronic pictures to be sorted; embedding custom coding information into the sorted electronic pictures according to the sequence information contained in the sorted electronic pictures; the electronic picture embedded with the self-defined coding information is a coded electronic picture; finally, 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 for the user, software of the user client writes the user-defined association sequence into the picture in modes of picture steganography and other method information and the like.
Then, the user can back up the sorted electronic pictures containing the custom coding information to a cloud disk or send the sorted 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 custom information. When the information is sent to the friends, the software of the friend client of the friends displays organized pictures according to the custom information, so that the custom information can not be lost when the pictures are shared with other people or backed up on a cloud disk, 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 information can be applied to the fields of internet screenshot newspaper clipping, video summarization, photo walls and the like, the user experience is improved, great convenience is provided for users, and meanwhile, the information has a wide market prospect.
The user client, the new device client and the friend 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 a sequence based on embedding encoded information in an electronic picture, the method comprising the steps of:
step S100: acquiring electronic pictures to be sorted;
specifically, in this step, the electronic pictures to be sorted are photos to be sorted immediately by the user.
Step S200: acquiring the sorted electronic pictures which are arranged and sorted according to the electronic pictures to be sorted;
in this step, after the user sorts the electronic pictures with sequence, that is, after the user sets the sequence order of the pictures with sequence to be sequenced by triggering the clicking operation, at this time, the electronic pictures with sequence already sorted are the sorted electronic pictures, and thus, the electronic pictures with sequence already sorted in this step are obtained after the electronic pictures with sequence are set and sorted according to the electronic pictures with sequence to be sequenced.
Step S300: according to the obtained sequence information contained in the sequenced electronic pictures, self-defined coding information is embedded into the sequenced electronic pictures; the electronic picture embedded with the self-defined 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 conditions of the picture format, the picture use range, and the like.
Furthermore, in this step, according to the sequence information included in the sorted electronic pictures, custom coding information can be generated and embedded into the sorted electronic pictures, so that the coded electronic pictures can be obtained conveniently and quickly without damaging the original information of the pictures. In addition, the standard parameters of the picture do not need to be changed, the problem that the standard parameters of the picture lose the standard significance after being occupied is solved, 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, a user can visually and intuitively see the sequenced encoded electronic pictures embedded with the custom encoding information, so that the user experience is improved.
The electronic pictures to be sorted are obtained by embedding the coding information in the electronic pictures to store and restore the sorting method; then, the sorted electronic pictures which are arranged and sorted according to the electronic pictures to be sorted are obtained; then, according to the sequence information contained in the obtained sequenced electronic pictures, self-defined coding information is embedded into the sequenced electronic pictures; the electronic picture embedded with the self-defined coding information is a coded electronic picture; finally, 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 self-defined coding information, so that a user can conveniently organize the group and the sequence of the pictures, on the other hand, the self-defined information cannot be lost when the pictures are shared by other people or are backed up to a cloud disk, even the self-defined information can be encrypted, as long as software capable of decoding corresponding information is arranged, the original organization setting can be restored, the method can be applied to the fields of internet screenshots, video summaries, photo walls and the like, user experience is improved, great convenience is provided for the user, and meanwhile, the method has a wide market prospect.
In one embodiment, as shown in fig. 3, the custom coding information includes flag bit information, anti-duplication code information, and sequential code information.
The anti-duplication code information comprises user name and 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 to indicate a coding format for predefining coding components. The duplication preventing codes can be cut and combined, or new function codes can be added.
The duplication preventing code information has duplication preventing and classifying functions.
Further, the user name nickname information is used for distinguishing the classification of the user or others, a unique id can be added, or a simple nickname can be added, and the nickname information can be adjusted according to the use range.
The md5 information for classifying the first picture is used for preventing duplication, and specifically, the md5 information for classifying the first picture is set to a specific numerical value, such as 38b 5.
The category name information is specified by the user for grouping and name display.
The true pseudorandom number information is used to enhance uniqueness, adjusted according to the scope of use, without the need to add if it is shared only within individuals and homes.
Further, the sequence code information is used for sorting. Through the setting of the sequence code information, the organization relation of the rest pictures is not influenced even if part of the pictures are lost.
Further, as shown in fig. 4, the sequential code is a directory tree, and when reading, the code is stored as a binary tree data structure, and the missing nodes are filled with null values.
For example, when the value of the last node in the sequence of the group of photos is 1.1.1, and the left node is 0, it means that the last node is the last node, and the added photos are 1.1.1.1.
If the user wants to insert a photo in the middle, the previous photo node value of the inserted position is 1.1.1, the 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 photos organized by the user have partial deletion, the sequence information can be restored as long as the node value of the last photo exists.
After the binary tree preamble is traversed, 1-1.1-1.1.1-1.1.1.1-1.1.2-1.2-2-2.1-3 is obtained, so that the picture sequence can be restored, and therefore sorting and restoring sorting are achieved.
This tree node structure does not emphasize tamper resistance, but rather facilitates modification and allows nodes to be lost without affecting the integrity of the organizational relationship.
Further, as shown in fig. 5, where a.b.c can be represented by a one-dimensional array during decoding, a.b.c.1 adds a column of the one-dimensional array with a default value of 1, and a.b.c +1 adds one to the value of the last column.
Of course, the above example encoding is only one embodiment, and in practice, there may be different combinations of encodings. But all need to have three elements of anti-duplication uniqueness, group tagging and order. Different encoding modes can be selected according to actual conditions, as long as three elements including anti-duplication uniqueness, grouping labels and sequence can be provided, and the functions to be realized by the application can be realized.
In one embodiment, the step S100: the method for acquiring the electronic pictures to be sorted specifically comprises the following steps:
step S110: acquiring a sequencing starting instruction for starting image sequencing;
specifically, in this embodiment, when a user needs to sequence the electronic pictures, each picture is triggered, and when a trigger instruction of the user matches the sequence start instruction, the trigger instruction is a sequence start instruction for starting the image sequencing.
Step S120: generating a UI display interface according to the sequencing starting instruction, wherein the UI display interface is used for displaying the electronic pictures to be selected;
specifically, in this 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 visually displayed to the user, the user can check the electronic picture conveniently, 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 selected from the electronic pictures to be selected displayed in the UI display interface as the electronic pictures to be sorted.
Specifically, in this step, the user needs to select a photo from the to-be-selected electronic pictures displayed in the UI display interface, and the selected photo is the selected picture. And when a selected picture selected from the electronic pictures to be selected displayed in the UI display interface is obtained, obtaining the electronic pictures to be sorted.
In one embodiment, the step S200: acquiring the sorted electronic pictures which are arranged and sorted according to the electronic pictures to be sorted; the method specifically comprises the following steps:
step S210: acquiring a correlation triggering instruction of the electronic pictures to be sequenced according to the triggering of 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 electronic picture to be sorted is triggered, and then, after the triggering, the electronic picture to be sorted is obtained as an association triggering instruction.
Step S220: selecting a picture classification type according to the association triggering instruction;
specifically, the picture classification types at this time include two types. One is an existing classification type and the other is a newly created classification type. The new classification type is a type which is not established in advance, and the existing classification type is a type which is established in advance.
Step S230: when the existing classification type is selected, acquiring the electronic pictures after the sequence of the electronic pictures to be sorted is adjusted in the selected existing classification type; adjusting the sequence of each electronic picture to be sequenced into the sequenced electronic picture;
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.
Furthermore, the images are adjusted, so that a user can manually drag each electronic image to be sorted, thereby realizing the sorting of the images, and then, the electronic images after the sequence of each electronic image to be sorted is adjusted are obtained, namely, the sorted electronic images are obtained.
Step S240: when a new classification type is selected, acquiring electronic pictures in the new classification type interface after the sequence of the electronic pictures to be sorted is adjusted; and adjusting the sequence of the electronic pictures to be sequenced into the sequenced electronic pictures.
In this step, when a new classification type is selected, entering a new classification type interface, then, adjusting the position of each picture in the same way, and then, obtaining the ordered electronic pictures.
In one embodiment, when a new classification type is selected in the step, electronic pictures after the sequence of the electronic pictures to be sorted is adjusted in a new classification type interface are obtained; adjusting the sequence of each electronic picture to be sequenced into the sequenced electronic picture; then, the method further comprises the following steps:
step S241: judging whether to add pictures or not;
step S242: if so, entering a picture selection interface, acquiring the picture selected and added by the picture selection interface, and then turning to step S230.
Specifically, in this step, if the determination is yes, it is determined to add a picture, and at this time, it is necessary to add a picture in the classified type, so in this case, step S230 is performed: acquiring the electronic pictures after the sequence of each electronic picture to be sorted is adjusted in the selected existing classification type; and adjusting the sequence of the electronic pictures to be sequenced into the sequenced electronic pictures.
Step S243: if not, the process goes to step S120.
Specifically, in this step, if the determination is no, it is determined that no picture needs to be added, so the image display interface is returned, that is, the step returns to step S120: and generating a UI display interface according to the sequencing 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; then also comprises the following steps:
step S510: storing the coded electronic picture 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 picture information can be subsequently downloaded at a timing when the picture information needs to be known, and the method is convenient and fast.
Step S520: and sending the coded electronic picture embedded with the self-defined coding information to an electronic device capable of receiving pictures.
Specifically, the coded electronic picture embedded with the custom coding information is sent to the electronic equipment capable of receiving pictures, so that the picture can be shared quickly, and the user experience is improved.
The electronic device capable of receiving the pictures can be a friend electronic device used by a friend.
In one embodiment, step S520: sending the coded electronic picture embedded with the custom coding information to an electronic device capable of receiving pictures; then also comprises the following steps:
step S521: acquiring the coded electronic pictures which are stored in a cloud disk or sent to the picture-acceptable electronic equipment and embedded with the custom coding information, and recording the coded electronic pictures as the electronic pictures to be restored and sorted;
specifically, when the encoded electronic picture embedded with the custom coding information is downloaded from a cloud disk or received by an electronic device user capable of receiving pictures, the encoded electronic picture embedded with the custom coding information stored in the cloud disk or sent to the electronic device capable of receiving pictures is acquired, and the electronic picture to be restored and sorted is also acquired.
Step S522: judging whether the electronic picture to be restored and sorted contains embedded custom coding information or not according to the electronic picture to be restored and sorted;
specifically, after the electronic pictures to be restored and sorted are obtained, whether the electronic pictures to be restored and sorted contain embedded custom coding information can be judged, so that the original sequence can be restored based on the electronic pictures to be restored and sorted subsequently.
Step S523: if the electronic pictures to be restored and sorted are judged to be the same, reading embedded self-defined coding information contained in the electronic pictures to be restored and sorting sequence information contained in the electronic pictures to be restored and sorted;
if the judgment result is yes, the electronic picture to be restored and sorted contains embedded self-defined coding information. At this time, the original organization sequence needs to be restored according to the to-be-restored sorted electronic pictures, 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 to-be-restored sequenced electronic picture which restores the sequence information contained in the to-be-restored sequenced electronic picture; and the second display interface is used for displaying the electronic pictures to be restored and sorted according to the sequence information contained in the electronic pictures to be restored and sorted.
Specifically, by setting the second display interface, the second display interface displays the to-be-restored sequenced electronic pictures with the sequence information included in the to-be-restored sequenced electronic pictures restored, and user experience is improved.
In one embodiment, step S300: according to the obtained sequence information contained in the sequenced electronic pictures, self-defined coding information is embedded into the sequenced electronic pictures; the electronic picture embedded with the self-defined coding information is a coded electronic picture; the method specifically comprises the following steps:
and embedding user-defined coding information into the sequenced electronic pictures by adopting a picture steganography technology according to the sequence information contained in the sequenced electronic pictures.
Specifically, the sequential information contained in the sequenced electronic pictures is embedded into the sequenced electronic pictures in a self-defined coding information mode through a picture steganography technology, so that the sequential information contained in the pictures is ensured on one hand, the display of file names is not influenced on the other hand, the problem that the standard parameters of the pictures lose the standard meanings 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 ensured.
In one embodiment, as shown in fig. 6, there is also provided an apparatus for storing and restoring a non-standard sequential relationship based on embedding encoding information in an electronic picture, the apparatus comprising:
the electronic picture to be sequenced is obtained by the module;
the sequenced electronic picture acquisition module is used for acquiring sequenced electronic pictures which are sequenced according to the electronic picture to be sequenced;
the custom coding information embedding module is used for embedding custom coding information into the sorted electronic pictures according to the sequence information contained in the sorted electronic pictures; the electronic picture embedded with the self-defined coding information is a coded electronic picture;
the first display interface generating module is used for 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.
In one embodiment, the electronic picture to be sorted acquiring module is further configured to:
acquiring a sequencing starting instruction for starting image sequencing;
generating a UI display interface according to the sequencing 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 selected from the electronic pictures to be selected displayed in the UI display interface as the electronic pictures to be sorted.
In one embodiment, the ordered electronic picture taking module is further configured to:
acquiring a correlation triggering instruction of the electronic pictures to be sequenced according to the triggering of 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 the electronic pictures after the sequence of the electronic pictures to be sorted is adjusted in the selected existing classification type; adjusting the sequence of each electronic picture to be sequenced into the sequenced electronic picture;
when a new classification type is selected, acquiring electronic pictures in the new classification type interface after the sequence of the electronic pictures to be sorted is adjusted; and adjusting the sequence of the electronic pictures to be sequenced into the sequenced electronic pictures.
In one embodiment, the apparatus further comprises:
the cloud disk storage module is used for storing the coded electronic picture embedded with the self-defined coding information to a cloud disk;
and the electronic equipment sending module is used for sending the coded electronic picture embedded with the custom coding information to the electronic equipment capable of receiving pictures.
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 sent to the picture-acceptable electronic equipment and embedded with the custom coding information, and recording the coded electronic pictures as the electronic pictures to be restored and sorted;
judging whether the electronic picture to be restored and sorted contains embedded custom coding information or not according to the electronic picture to be restored and sorted;
if the electronic pictures to be restored and sorted are judged to be the same, reading embedded self-defined coding information contained in the electronic pictures to be restored and sorting sequence information contained in the electronic pictures to be restored and sorted;
generating a second display interface according to the to-be-restored sequenced electronic picture which restores the sequence information contained in the to-be-restored sequenced electronic picture; and the second display interface is used for displaying the electronic pictures to be restored and sorted according to the sequence information contained in the electronic pictures to be restored and sorted.
In an embodiment, the custom coding information embedding module is further configured to embed custom coding information into the sorted electronic pictures by using a picture steganography technique according to sequence information included in the obtained sorted electronic pictures.
In one embodiment, as shown in fig. 7, there is further provided a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of the above method based on embedding encoded information in an electronic picture to store and restore the ordering when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the above-mentioned steps based on a method of embedding coding information in an electronic picture for storing and restoring an ordering.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments 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 utilize the invention. The invention is limited only by the claims and the full scope and equivalents thereof, and any modification, equivalent replacement, or improvement made within the spirit and principle of the invention should be included in the protection scope of the invention.
It will be appreciated by those skilled in the art that, in addition to implementing the system, apparatus and various modules thereof provided by the present invention in the form of pure computer readable program code, the same procedures may be implemented entirely by logically programming method steps such that the system, apparatus and various modules thereof provided by the present invention are implemented in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system, the device and the modules thereof provided by the present invention can be considered as a hardware component, and the modules included in the system, the device and the modules thereof for implementing various programs can also be considered as structures in the hardware component; modules for performing various functions may also be considered to be both software programs for performing the methods and structures within hardware components.
In addition, all or part of the steps of the method according to the above embodiments may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a single chip, a chip, or a processor (processor) to execute all or part of the steps of the method according to 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), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In addition, any combination of various different implementation manners of the embodiments of the present invention is also possible, and the embodiments of the present invention should be considered as disclosed in the embodiments of the present invention as long as the combination does not depart from the spirit of the embodiments of the present invention.

Claims (10)

1. A method for storing and restoring sequences based on embedding coded information in an electronic picture, said method comprising the steps of:
step S100: acquiring electronic pictures to be sorted;
step S200: acquiring the sorted electronic pictures which are arranged and sorted according to the electronic pictures to be sorted;
step S300: according to the obtained sequence information contained in the sequenced electronic pictures, self-defined coding information is embedded into the sequenced electronic pictures; the electronic picture embedded with the self-defined 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.
2. The method for storing and restoring sequences based on embedding coded information in electronic pictures according to claim 1, wherein the custom coded information comprises flag bit information, duplication prevention information and sequence code information; the anti-duplication code information comprises user name and nickname information, md5 information for classifying the first picture, classification name information and true pseudo-random number information.
3. The method for storing and restoring sequences based on embedding coded information in electronic pictures according to claim 1, wherein said step S100: the method for acquiring the electronic pictures to be sorted specifically comprises the following steps:
step S110: acquiring a sequencing starting instruction for starting image sequencing;
step S120: generating a UI display interface according to the sequencing 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 selected from the electronic pictures to be selected displayed in the UI display interface as the electronic pictures to be sorted.
4. The method for storing and restoring sequences based on embedding coded information in electronic pictures according to claim 1, wherein said step S200: acquiring the sorted electronic pictures which are arranged and sorted according to the electronic pictures to be sorted; the method specifically comprises the following steps:
step S210: acquiring a correlation triggering instruction of the electronic pictures to be sequenced according to the triggering of 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 the electronic pictures after the sequence of the electronic pictures to be sorted is adjusted in the selected existing classification type; adjusting the sequence of each electronic picture to be sequenced into the sequenced electronic picture;
step S240: when a new classification type is selected, acquiring electronic pictures in the new classification type interface after the sequence of the electronic pictures to be sorted is adjusted; and adjusting the sequence of the electronic pictures to be sequenced into the sequenced electronic pictures.
5. The method for storing and restoring sequence based on embedding coded information in electronic pictures according to claim 1, wherein said 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; then also comprises the following steps:
step S510: storing the coded electronic picture embedded with the custom coding information to a cloud disk;
step S520: and sending the coded electronic picture embedded with the self-defined coding information to an electronic device capable of receiving pictures.
6. The method according to claim 5, wherein the step S520 is implemented by embedding encoded information in the electronic picture for storing and restoring the sequence: sending the coded electronic picture embedded with the custom coding information to an electronic device capable of receiving pictures; then also comprises the following steps:
step S521: acquiring the coded electronic pictures which are stored in a cloud disk or sent to the picture-acceptable electronic equipment and embedded with the custom coding information, and recording the coded electronic pictures as the electronic pictures to be restored and sorted;
step S522: judging whether the electronic picture to be restored and sorted contains embedded custom coding information or not according to the electronic picture to be restored and sorted;
step S523: if the electronic pictures to be restored and sorted are judged to be the same, reading embedded self-defined coding information contained in the electronic pictures to be restored and sorting sequence information contained in the electronic pictures to be restored and sorted;
step S524: generating a second display interface according to the to-be-restored sequenced electronic picture which restores the sequence information contained in the to-be-restored sequenced electronic picture; and the second display interface is used for displaying the electronic pictures to be restored and sorted according to the sequence information contained in the electronic pictures to be restored and sorted.
7. Method for storing and restoring the ranking based on embedding coded information in electronic pictures according to any of the claims 1-6, characterized in that step S300: according to the obtained sequence information contained in the sequenced electronic pictures, self-defined coding information is embedded into the sequenced electronic pictures; the electronic picture embedded with the self-defined coding information is a coded electronic picture; the method specifically comprises the following steps: and embedding user-defined coding information into the sequenced electronic pictures by adopting a picture steganography technology according to the sequence information contained in the sequenced electronic pictures.
8. 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 obtained by the module;
the sequenced electronic picture acquisition module is used for acquiring sequenced electronic pictures which are sequenced according to the electronic picture to be sequenced;
the custom coding information embedding module is used for embedding custom coding information into the sorted electronic pictures according to the sequence information contained in the sorted electronic pictures; the electronic picture embedded with the self-defined coding information is a coded electronic picture;
the first display interface generating module is used for 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.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110135613.6A 2021-02-01 2021-02-01 Method for storing and restoring ordering based on embedding coding information in electronic picture Active CN112800261B (en)

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 true CN112800261A (en) 2021-05-14
CN112800261B 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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
CN112800261B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
US11636150B2 (en) Method and apparatus for managing digital files
US8037046B2 (en) Collecting and presenting temporal-based action information
CN111666259B (en) Document management method, management system, readable storage medium, and electronic device
US20170322932A1 (en) Method for automatically taggin documents with matrix barcodes and providing access to a plurality of said document versions
CN102150163B (en) Interactive image selection method
EP3111653A1 (en) Systems and methods for providing a user with a set of interactivity features on a user device
US20080281776A1 (en) Interactive System For Creating, Organising, and Sharing One's Own Databank of Pictures Such as Photographs, Drawings, Art, Sketch, Iconography, Illustrations, Portraits, Paintings and Images
CN108255915B (en) File management method and device and machine-readable storage medium
CN112099709B (en) Method and device for arranging multimedia objects, electronic equipment and storage medium
US20190034455A1 (en) Dynamic Glyph-Based Search
US20040163033A1 (en) Document preservation
CN112800261B (en) Method for storing and restoring ordering based on embedding coding information in electronic picture
US11023418B2 (en) Keyword-based data management system and method
CN114817754B (en) VR learning system
CN109597910A (en) Information processing method, information processing equipment and storage medium for displaying images
CN115001833B (en) Login method and device
CN114020206B (en) Electronic photo storage method, device, storage medium and terminal
CN116450745B (en) Multi-device-based note file operation method, system and readable storage medium
US20200301911A1 (en) Electronic chronology
CN118113674A (en) File management system and method thereof
CN115587198A (en) Intelligent photo album housekeeper system and content processing method thereof
CN116701308A (en) File intercommunication access method and device, electronic equipment and medium
CN110874377A (en) Data processing method and system
CN114416323A (en) Task creation method and device, computer equipment and computer readable storage medium
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