CN113867605B - Canvas operation rollback method and device, computer equipment and storage medium - Google Patents

Canvas operation rollback method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113867605B
CN113867605B CN202111142110.8A CN202111142110A CN113867605B CN 113867605 B CN113867605 B CN 113867605B CN 202111142110 A CN202111142110 A CN 202111142110A CN 113867605 B CN113867605 B CN 113867605B
Authority
CN
China
Prior art keywords
canvas
data
target
hash value
moment
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
Application number
CN202111142110.8A
Other languages
Chinese (zh)
Other versions
CN113867605A (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.)
Hunan Trasen Technology Co ltd
Original Assignee
Hunan Trasen 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 Hunan Trasen Technology Co ltd filed Critical Hunan Trasen Technology Co ltd
Priority to CN202111142110.8A priority Critical patent/CN113867605B/en
Publication of CN113867605A publication Critical patent/CN113867605A/en
Application granted granted Critical
Publication of CN113867605B publication Critical patent/CN113867605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application belongs to the field of operation data processing, and relates to a canvas operation rollback method, a canvas operation rollback device, computer equipment and a storage medium, wherein the method comprises the following steps: calculating first difference data between first canvas data of the target canvas operation in a starting state and second canvas data of the target canvas operation in an ending state to obtain diff data of the target canvas operation; packing a first hash value of the first canvas data, a second hash value of the second canvas data and diff data of the target canvas operation to obtain target packing data of the target canvas operation; when receiving a canvas operation backspacing instruction containing a backspacing appointed time, acquiring canvas data at the current time and target packaging data corresponding to the appointed time; and backing the canvas data at the current moment through the target packaging data corresponding to the appointed moment. The problem of large storage capacity caused by integral storage of all the canvas data which are directly right can be solved.

Description

Canvas operation rollback method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of operation data processing, and in particular, to a canvas operation rollback method, apparatus, computer device, and storage medium.
Background
In an editing tool, the operation behavior of a user on data often needs an undo engine to perform rollback and recovery of the data, such as withdrawing a delete operation. In text editing tools, such as "Word", this is mainly solved by means of "commands" (undo commands), which define an abstract "command" for each operation and at the same time define a command for the inverse operation. When data is changed every time, a corresponding command is recorded, and when rollback is needed, a corresponding reverse operation command is called to perform rollback. This approach may enable incremental storage of data, with the disadvantage of being too expensive to develop.
With the development of the IT industry, the current "editing tool" is no longer limited to "text editing", and more "canvas editing" tools, such as PhotoShop, appear, which need to record more operations, besides the operations on the text, drag actions, changes of various attribute data, switching of layers, and the like. More dimensional data, if it is desired to use the traditional "command" development, more "command/inverse command" is required to record, so that the development time cost is greatly increased. Yet another common way is to store the entirety of all data, also referred to as a "snapshot". The method is simple to develop and clear in logic, but has the defects that a large amount of space is wasted for storing repeated data, and in the SaaS platform, a client and a server are often required to be stored and stored in real time, so that the communication load is greatly increased. Therefore, the existing 'snapshot' rollback has the problem of large data storage.
Disclosure of Invention
An object of the embodiment of the present application is to provide a method and an apparatus for rollback of canvas operation, a computer device, and a storage medium, so as to solve the problem that data storage is large in the existing "snapshot-type" rollback.
In order to solve the above technical problem, an embodiment of the present application provides a canvas operation rollback method, which adopts the following technical solutions:
calculating first difference data between first canvas data of a target canvas operation in a starting state and second canvas data of the target canvas operation in an ending state to obtain diff data of the target canvas operation;
packing the first hash value of the first canvas data, the second hash value of the second canvas data and diff data of the target canvas operation to obtain target packing data of the target canvas operation, and storing the target packing data according to the time sequence of the target canvas operation;
when a canvas operation backspacing instruction containing a backspacing appointed time is received, obtaining canvas data at the current time and target packing data corresponding to the appointed time;
and when the third hash value of the canvas data at the current moment is the same as the second hash value in the target packed data corresponding to the appointed moment, backing the canvas data at the current moment through diff data operated by the target canvas in the target packed data corresponding to the appointed moment.
Further, after the step of obtaining the canvas data at the current time and the target package data corresponding to the specified time when the canvas operation rollback instruction including the rollback specified time is received, the method further includes:
when the third hash value of the canvas data at the current moment is different from the second hash value in the target packaging data corresponding to the appointed moment, prompting whether the canvas data at the default moment is automatically recovered or not;
if the user selects automatic recovery, acquiring target packed data corresponding to the default moment;
and when the third hash value of the canvas data at the current moment is the same as the second hash value in the target packed data corresponding to the default moment, backing the canvas data at the current moment through diff data operated by the target canvas in the target packed data corresponding to the default moment.
Further, after the step of obtaining the canvas data at the current time and the target packing data corresponding to the specified time when the canvas operation rollback instruction including the rollback specified time is received, the method further includes:
when the third hash value of the canvas data at the current moment is different from the second hash value in the target packed data corresponding to the appointed moment, acquiring the target packed data corresponding to a preset time period;
and if a second hash value identical to the third hash value exists in the target packed data corresponding to the preset time period, rolling back the canvas data at the current moment through diff data of target canvas operation corresponding to the second hash value identical to the third hash value.
Further, after the step of obtaining the canvas data at the current time and the target packing data corresponding to the specified time when the canvas operation rollback instruction including the rollback specified time is received, the method further includes:
and when the third hash value of the canvas data at the current moment is different from the second hash value in the target packing data corresponding to the appointed moment, prompting that the historical canvas data is damaged.
Further, after backing up the canvas data at the current time, the method further comprises:
obtaining the backed canvas data;
when a fourth hash value of the rolled back picture data is different from the first hash value in the corresponding target packaging data, calculating second difference data between the rolled back canvas data and the first canvas data corresponding to the first hash value;
previewing the returned canvas data, the first canvas data corresponding to the first hash value and the second difference data, and prompting a user whether to accept a returning result.
Further, the step of calculating first difference data between the first canvas data of the target canvas operation in the starting state and the second canvas data in the ending state to obtain diff data of the target canvas operation includes:
inputting first canvas data of a target canvas operation in a starting state and second canvas data in an ending state into a pre-trained difference model, outputting the first difference data of the target canvas operation through the pre-trained difference model, and taking the first difference data as diff data of the target canvas operation, wherein the first difference data comprises local difference data and an alignment point position.
Further, the step of rolling back the canvas data at the current time by diff data of the target canvas operation in the target packed data corresponding to the specified time includes:
determining a backspacing region of local difference data in the canvas data at the current moment according to the alignment point position in the target packing data corresponding to the specified moment;
and backing the data in the backing area through the local difference data.
In order to solve the above technical problem, an embodiment of the present application further provides a canvas operation rollback apparatus, which adopts the following technical scheme:
the first computing module is used for computing first difference data between first canvas data of a target canvas operation in a starting state and second canvas data of the target canvas operation in an ending state to obtain diff data of the target canvas operation;
the packing storage module is used for packing the first hash value of the first canvas data, the second hash value of the second canvas data and the diff data of the target canvas operation to obtain target packing data of the target canvas operation, and storing the target packing data according to the time sequence of the target canvas operation;
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring canvas data at the current moment and target packing data corresponding to the specified moment when receiving a canvas operation rollback instruction containing the rollback specified moment;
and the first rollback module is used for rolling back the canvas data at the current moment through diff data operated by the target canvas in the target packed data corresponding to the specified moment when the third hash value of the canvas data at the current moment is the same as the second hash value of the target packed data corresponding to the specified moment.
In order to solve the above technical problem, an embodiment of the present application further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the canvas operation rollback method when executing the computer program.
In order to solve the above technical problem, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the canvas operation rollback method described above.
Calculating first difference data between first canvas data of a target canvas operation in a starting state and second canvas data in an ending state to obtain diff data of the target canvas operation; packing the first hash value of the first canvas data, the second hash value of the second canvas data and diff data of the target canvas operation to obtain target packing data of the target canvas operation, and storing the target packing data according to the time sequence of the target canvas operation; when a canvas operation backspacing instruction containing a backspacing appointed time is received, obtaining canvas data at the current time and target packing data corresponding to the appointed time; and when the third hash value of the canvas data at the current moment is the same as the second hash value in the target packed data corresponding to the appointed moment, backing the canvas data at the current moment through diff data operated by the target canvas in the target packed data corresponding to the appointed moment. The implementation of the embodiment of the application mainly has the following beneficial effects: after first difference data between first canvas data of the target canvas operation in a starting state and second canvas data of the target canvas operation in an ending state are calculated, diff data corresponding to the target canvas operation are obtained; the diff data of the target canvas operation represents two canvas data changes before and after one target canvas operation, the canvas data changes are stored, when the operation is required to be carried out and the backing-off is carried out, the canvas data changes are directly applied to the current canvas data, and the problem of large storage capacity caused by the fact that the whole storage is directly carried out on all the canvas data is solved.
Drawings
In order to more clearly illustrate the solution of the present application, the drawings needed for describing the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of a canvas operation rollback method according to the present application;
FIG. 3 is a schematic diagram of a canvas operation rollback apparatus according to the present application;
FIG. 4 is a schematic block diagram of one embodiment of a computer device according to the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "including" and "having," and any variations thereof, in the description and claims of this application and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of this application or in the above-described drawings are used for distinguishing between different objects and not for describing a particular order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein may be combined with other embodiments.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as an editing application, a web browser application, a shopping application, a search application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that, the canvas operation rollback method provided in the embodiment of the present application is generally executed by a server, and accordingly, the canvas operation rollback apparatus is generally disposed in the server.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continuing reference to FIG. 2, a flow diagram of one embodiment of a canvas operation rollback method according to the present application is shown. The canvas operation rollback method comprises the following steps:
first difference data between first canvas data of the target canvas operation in a starting state and second canvas data in an ending state is calculated 201, and diff data of the target canvas operation is obtained.
In this embodiment of the present application, the canvas operation is implemented by a canvas editing tool, which may be software or a program for editing an image.
The canvas editing tool is generally arranged in the terminal equipment, and the canvas operation rollback method is generally arranged in the server. Of course, the canvas operation rollback method may also be set in the terminal device, so that the canvas editing tool may also implement the canvas operation rollback method in an offline state. In this embodiment, an electronic device (for example, a server shown in fig. 1) on which the canvas operation rollback method operates may communicate with the terminal through a wired connection manner or a wireless connection manner. It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G/5G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
The user carries out canvas operation through the canvas editing tool, and changes the canvas data before the operation into the canvas data after the operation through the canvas operation, thereby obtaining new canvas data.
The canvas operation may be a dragging action, attribute values of various attribute data, switching of layers, and the like. The canvas data may be structured data, and specifically, the screen data may include drag action data, change data of various attribute data, switching data of layers, and the like.
For example, the dragged motion data may include a coded value e1 of the drag target, a drag target position (x1, y1), and a drag occurrence time t1, where the dragged motion data may be represented by structured data (e1, x1, y1, t1), if the drag occurs, the structured data (e1, x1, y1, t1) may have a corresponding value, and if the drag does not occur, all the structured data (e1, x1, y1, t1) may be 0 or all null values. Further, the motion data may be represented by structured data (e1, x1, y1, t1, e2, x2, y2, t3 … ei, xi, yi, ti), where i represents the type of motion of the i type, xi, yi represents the action position of the action of the i-th motion, and ti represents the occurrence time of the action of the i-th motion.
Similarly, the attribute value data of the various kinds of attribute data may include an attribute type and an attribute value, and the attribute value data of the various kinds of attribute data may be represented by structured data (k1, v1, k2, v2 … kn, vn), where n represents an n-th attribute type, kn represents an encoded value of the n-th attribute type, and vn represents an attribute value corresponding to the n-th attribute type.
Similarly, the data may include drag action data, change data of various attribute data, and may be represented by structured data (h1, r1, h2, r2 … hm, rm), where m represents m layers, hm represents the number of the mth layer, rm represents the on-off and switching state of the mth layer, for example, rm is 0, represents layer on, rm is 1, represents layer off, rm is 2, represents layer unselected, rm is 3, represents layer selected.
In the embodiment of the present application, the structured data of the canvas data may be (e1, x1, y1, t1, e2, x2, y2, t3 … ei, xi, yi, ti, k1, v1, k2, v2 … kn, vn, h1, r1, h2, r2 … hm, rm).
The first canvas data of the target canvas operation in the starting state is S ═ S (e1S, x1S, y1S, t1S, e2S, x2S, y2S, t3S … eiS, xiS, yiS, tiS, k1S, v1S, k2S, v2S … knS, vnS, h1S, r1S, h2S, r2S … hmS, rmS).
The second canvas data of the target canvas operation in the end state is E ═ E (E1E, x1E, y1E, t1E, E2E, x2E, y2E, t3E … eiE, xiE, yiE, tiE, k1E, v1E, k2E, v2E … knE, vnE, h1E, r1E, h2E, r2E … hmE, rmE)
Calculating first difference data diff between the first canvas data S and the second canvas data E, wherein the first difference data diff is E-S ═ (E1-E1, x 1-x 1, y 1-y 1, t 1-t 1, E2-E2, x 2-x 2, y 2-y 2, t 3-t 3-, -tiS, k 1-k 1, v 1-v 1, k 2-k 2, v 2-v 2-, -h 1, r 1-r 1, h 2-h 2, r 2-r 2-, -of the target canvas operation to obtain diff data (diffe, diffx, diffy, difft, diff, diffx, diffy, diffei, diffxi, diffyi, diffti, diffk, diffv, diffn, diff, diffr, diff).
In a possible embodiment, the value 0 in the diff data of the target canvas operation may be represented by a placeholder, and the diff data of the target canvas operation may be represented by a function diffX (mun #0), where diffX is the structured data of diff data (diffe1, diffX1, diffy1, difft1, diffe2, diffX2, diffy2, difft3 … diffei, diffxi, diffyi, diffti, diffk1, diffv1, diffk2, diffv2 … diffkn, diffn, diffh1, diffr1, diffh2, diffr2 … diffhm, diffrm), and diffX (mun0) represents mun pieces of data with 0 before diffX, that is, there are mun pieces of data represented by a placeholder x (mun0) at a position.
When only diffe2, diffx2, diffy2, difft3, diffei, diffxi, diffyi, diffti, diffkn, diffvn, diffh2, diffr2, diffhm and diffrm are nonzero values, the diff data can be processed by (diffe2(4#0), diffx2(0#0), diffy2(0#0), difft3(0#0), diffei (i-4 #0), diffxi (0#0), diffyi (0#0), diffti (0#0), diffkn (n-1 #0), diffvn (0#0), diffh2(2#0), diffr2(0#0), diffm (0# 4), and diffrm # 0). By the method, diff data of the target canvas operation is obtained, and the storage capacity of the data can be greatly reduced.
202. And packaging the first hash value of the first canvas data, the second hash value of the second canvas data and diff data of the target canvas operation to obtain target packaging data of the target canvas operation, and storing the target packaging data according to the time sequence of the target canvas operation.
In this embodiment of the application, before step 202, hash calculation is further performed on the first canvas data to obtain a first hash value of the first canvas data, and hash calculation is performed on the second canvas data to obtain a second hash value of the second canvas data.
And packing the first hash value of the first canvas data, the second hash value of the second canvas data and diff data of the target canvas operation to obtain target packed data of the target canvas operation, wherein the target packed data can be a PATCH PATCH data packet. The packed data structure is (hash1, hash2, diff), where hash1 is the first hash value, hash2 is the second hash value, and diff is the diff data of the target canvas operation.
And storing the target packing data according to the time sequence of the target canvas operation, so that the target packing data corresponding to each canvas operation can be obtained according to the time sequence. The target packaging data corresponding to each canvas operation can be stored in the SaaS platform in real time according to the occurrence time sequence of the canvas operation.
203. And when receiving a canvas operation rollback instruction containing the rollback specified time, acquiring the canvas data at the current time and the target packing data corresponding to the specified time.
In the embodiment of the application, a user performs rollback operation through a canvas editing tool to generate a corresponding canvas operation rollback instruction, and the user can select to rollback to a specified time, for example, to the time of the last canvas operation or to the time of the last j canvas operations.
The current canvas data N is (e1N, x1N, y1N, t1N, e2N, x2N, y2N, t3N … eiN, xiN, yiN, tiN, k1N, v1N, k2N, v2N … knN, vnN, h1N, r1N, h2N, r2N … hmN, rmN).
And searching the target packed data corresponding to the designated time in the stored target packed data through the designated time, wherein the target packed data corresponding to the designated time comprises the first hash value, the second hash value and diff data operated by the target canvas.
And when the designated time is the time of the last canvas operation, searching for one target packed data corresponding to the designated time in the stored target packed data through the designated time. And when the appointed time is the time of the last j canvas operations, searching j target packed data corresponding to the appointed time in the stored target packed data according to the time of the last j canvas operations.
204. And when the third hash value of the canvas data at the current moment is the same as the second hash value in the target packed data corresponding to the appointed moment, backing the canvas data at the current moment through diff data operated by the target canvas in the target packed data corresponding to the appointed moment.
In the embodiment of the application, the third hash value of the canvas data at the current moment can be calculated after the canvas data at the current moment is obtained. If the third hash value of the canvas data at the current moment is the same as the second hash value in the target packing data corresponding to the specified moment, it is indicated that the canvas data at the current moment is the same as the second canvas data corresponding to the target packing data corresponding to the specified moment. If the third hash value of the canvas data at the current moment is different from the second hash value in the target packaged data corresponding to the appointed moment, it is indicated that the canvas data at the current moment is different from the second canvas data corresponding to the target packaged data corresponding to the appointed moment, and the first canvas data corresponding to the target packaged data corresponding to the appointed moment cannot be obtained even if the canvas data at the current moment is returned through diff data operated by the target canvas in the target packaged data corresponding to the appointed moment.
Further, when the designated time is the time of the last canvas operation, one target packed data corresponding to the designated time is searched in the stored target packed data through the designated time. After the canvas data at the current time is obtained, a third hash value of the canvas data at the current time is calculated, the third hash value is compared with a second hash value in target packed data corresponding to the appointed time, if the third hash value is the same as the second hash value in the target packed data corresponding to the appointed time, the canvas data at the current time is the second canvas data obtained by completing the previous canvas operation, and the canvas data can be returned to the first canvas data before the previous canvas operation. If the third hash value is different from the second hash value in the target packaging data corresponding to the specified time, it indicates that the canvas data at the current time is not the second canvas data obtained by completing the last canvas operation, and the data check does not pass.
For example, if the current time is t time and the designated time is t-1 time, the target packed data at the t-1 time can be obtained, and the third hash value hash3 of the canvas data at the current time is calculatedtAnd the target packed data at the time point of t-1 comprises a second hash value hash2t-1. If hash3t=hash2t-1Then a hash2 with the certain second hash value is determinedt-1The second canvas data corresponding to the target packing data at the time t-1 is the canvas data at the current time, and the canvas data at the time t can be returned to the first canvas data corresponding to the target packing data at the time t-1 through diff data of target canvas operation in the target packing data at the time t-1.
Further, when the designated time is the time of the last j canvas operations, j target packed data corresponding to the designated time are searched in the stored target packed data according to the time of the last j canvas operations. The method includes the steps that after canvas data at the current moment are obtained, a third hash value of the canvas data at the current moment is calculated, the third hash value is compared with second hash values in j target packed data corresponding to the appointed moment respectively, if the third hash value is the same as one of the j target packed data corresponding to the appointed moment, the second canvas data corresponding to the target packed data corresponding to the one second hash value is determined to be the canvas data at the current moment, the first canvas data corresponding to the target packed data corresponding to the one second hash value can be backed, and the first canvas data corresponding to the target packed data corresponding to the one second hash value can be sequentially backed to the first canvas data corresponding to the appointed moment.
For example, if the current time is time t and the designated time is time t-3, the target packed data at time t-2, and the target packed data at time t-1 may be obtainedData, calculating a third hash value hash3 of the canvas data at the current timetAnd the target packed data at the time t-3 comprises a second hash value hash2t-3And the target packed data at the time point of t-2 comprises a second hash value hash2t-2And the target packed data at the time point of t-1 comprises a second hash value hash2t-1. If hash3t=hash2t-2Then a hash2 with the certain second hash value is determinedt-2The second canvas data corresponding to the target packing data at the time t-2 is the current-time canvas data, the canvas data at the time t can be returned to the first canvas data corresponding to the target packing data at the time t-2 through diff data of target canvas operation in the target packing data at the time t-2, the first canvas data corresponding to the target packing data at the time t-2 is returned to the first canvas data corresponding to the target packing data at the time t-3 through diff data of target canvas operation in the target packing data at the time t-2, and at the moment, the target packing data at the time t-1 does not need to be processed. If hash3t=hash2t-1The canvas data at the time t can be returned to the first canvas data corresponding to the target packing data at the time t-1 through diff data of the target canvas operation in the target packing data at the time t-1, the first canvas data corresponding to the target packing data at the time t-1 is returned to the first canvas data corresponding to the target packing data at the time t-2 through diff data of the target canvas operation in the target packing data at the time t-2, and finally the first canvas data corresponding to the target packing data at the time t-2 is returned to the first canvas data corresponding to the target packing data at the time t-3 through diff data of the target canvas operation in the target packing data at the time t-2.
Calculating first difference data between first canvas data of a target canvas operation in a starting state and second canvas data of the target canvas operation in an ending state to obtain diff data of the target canvas operation; packing the first hash value of the first canvas data, the second hash value of the second canvas data and diff data of the target canvas operation to obtain target packing data of the target canvas operation, and storing the target packing data according to the time sequence of the target canvas operation; when a canvas operation backspacing instruction containing a backspacing appointed time is received, obtaining canvas data at the current time and target packing data corresponding to the appointed time; and when the third hash value of the canvas data at the current moment is the same as the second hash value in the target packed data corresponding to the appointed moment, backing the canvas data at the current moment through diff data operated by the target canvas in the target packed data corresponding to the appointed moment. The implementation of the embodiment of the application mainly has the following beneficial effects: after first difference data between first canvas data of the target canvas operation in a starting state and second canvas data of the target canvas operation in an ending state are calculated, diff data corresponding to the target canvas operation are obtained; the diff data of the target canvas operation represents two canvas data changes before and after one target canvas operation, the canvas data changes are stored, when the operation is required to be carried out and the backing-off is carried out, the canvas data changes are directly applied to the current canvas data, and the problem of large storage capacity caused by the fact that the whole storage is directly carried out on all the canvas data is solved.
Optionally, when the third hash value of the canvas data at the current time is different from the second hash value of the target packed data corresponding to the specified time, prompting whether to automatically recover the canvas data at the default time; if the user selects automatic recovery, acquiring target packed data corresponding to the default moment; and when the third hash value of the canvas data at the current moment is the same as the second hash value of the target packed data corresponding to the default moment, backing the canvas data at the current moment through diff data operated by the target canvas in the target packed data corresponding to the default moment.
Furthermore, the target packed data corresponding to the default time may be one or a plurality of consecutive target packed data, and when the default time is the time of the last j canvas operations, the j target packed data corresponding to the default time is searched for in the stored target packed data according to the time of the last j canvas operations. The third hash value of the canvas data at the current moment can be calculated after the canvas data at the current moment is obtained, the third hash value is compared with the second hash values in the j target packed data corresponding to the default moment respectively, if the third hash value is the same as one of the j target packed data corresponding to the default moment, the second canvas data corresponding to the target packed data corresponding to the one of the second hash values is determined to be the canvas data at the current moment, and the first canvas data corresponding to the target packed data corresponding to the one of the second hash values can be returned. Therefore, when the rollback fails at the specified time, the first canvas data corresponding to the default time can be rolled back, and the canvas is prevented from being reset.
Optionally, when the third hash value of the canvas data at the current time is different from the second hash value in the target packed data corresponding to the specified time, obtaining the target packed data corresponding to a preset time period; and if a second hash value identical to the third hash value exists in the target packed data corresponding to the preset time period, rolling back the canvas data at the current moment through diff data of target canvas operation corresponding to the second hash value identical to the third hash value.
The preset time period is determined by a user, for example, when the user receives a rollback failure prompt at a specified time, the preset time period may be determined through an interface of the canvas editing tool.
Furthermore, the target packed data corresponding to the preset time period may be one or a plurality of continuous target packed data, and when the preset time period is the time of the operation of the last j canvases, the j target packed data corresponding to the preset time period is searched for in the stored target packed data according to the time of the operation of the last j canvases. The method includes the steps that after canvas data at the current moment are obtained, a third hash value of the canvas data at the current moment is calculated, the third hash value is compared with second hash values of j target packed data corresponding to a preset time period respectively, if the third hash value is the same as one of the j target packed data corresponding to the preset time period, the second canvas data corresponding to the target packed data corresponding to the one second hash value is determined to be the canvas data at the current moment, and the first canvas data corresponding to the target packed data corresponding to the one second hash value can be backed. Therefore, when the rollback fails at the designated time, the rollback is performed to the first canvas data corresponding to the preset time period, and the canvas is prevented from being reset.
Optionally, when the third hash value of the canvas data at the current time is different from the second hash value of the target packed data corresponding to the specified time, it may be prompted that the historical canvas data is damaged. Or when the third hash value of the canvas data at the current moment is different from the second hash value of the target packed data corresponding to the default moment, the fact that the historical canvas data is damaged can be prompted. Or when the third hash value of the canvas data at the current moment is different from the second hash value in the target packaging data corresponding to the preset time period, prompting that the historical canvas data is damaged.
Optionally, after obtaining the canvas data after rollback; when the fourth hash value of the rolled back picture data is different from the first hash value in the corresponding target packing data, calculating second difference data between the rolled back canvas data and the first canvas data corresponding to the first hash value; and previewing the returned canvas data, the first canvas data corresponding to the first hash value and the second difference data, and prompting a user whether to accept a returning result. When the fourth hash value of the rolled back picture data is different from the first hash value in the corresponding target packed data, the user can visually find the difference after the rolling back by previewing the second difference data, and the user can conveniently correct the difference after receiving the difference.
Optionally, the operation type of the user may be optionally determined, where the operation type may include an operation called by a tool and an operation of an image frame, and if the operation type of the user is an operation on the image frame, for example, adding or deleting a part of the image frame in the image frame. At this time, the first canvas data of the target canvas operation in the starting state and the second canvas data in the ending state may be input into a pre-trained difference model, the first difference data of the target canvas operation is output through the pre-trained difference model, and the first difference data is used as diff data of the target canvas operation, where the first difference data includes local difference data and an alignment point position.
The output of the pre-trained difference model comprises local difference data and an alignment point position, in the training process, the local difference data and the alignment point position are used as labels, the first canvas data and the second canvas data under one operation are used as sample data to train the difference model, and therefore the difference model can learn correct local difference data and the alignment point position to output. By means of the pre-trained difference model, local difference data and the position of an alignment point can be obtained quickly and accurately under the condition that only image pictures are operated.
Optionally, if the operation type of the user is an operation on an image, determining a backspacing region of the local difference data in the canvas data at the current time according to the alignment point position in the target packed data corresponding to the specified time; and backing the data in the backing area through the local difference data. The method can be used for backing the canvas data through the local difference data and the alignment point position under the condition that only the image picture is operated, and can improve the backing speed of the canvas data.
With further reference to fig. 3, as an implementation of the method shown in fig. 2, the present application provides an embodiment of a canvas operation rolling back apparatus, where the apparatus embodiment corresponds to the method embodiment shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 3, the canvas operation rolling back device according to this embodiment includes:
a first calculating module 301, configured to calculate first difference data between first canvas data of a target canvas operation in a starting state and second canvas data of the target canvas operation in an ending state, to obtain diff data of the target canvas operation;
a packing storage module 302, configured to pack the first hash value of the first canvas data, the second hash value of the second canvas data, and the diff data of the target canvas operation to obtain target packing data of the target canvas operation, and store the target packing data according to the time sequence of the target canvas operation;
a first obtaining module 303, configured to obtain canvas data at a current time and target packed data corresponding to a specified time when receiving a canvas operation rollback instruction including a rollback specified time;
a first rollback module 304, configured to, when the third hash value of the canvas data at the current time is the same as the second hash value in the target packed data corresponding to the specified time, rollback the canvas data at the current time according to diff data of the target canvas operation in the target packed data corresponding to the specified time.
Further, the apparatus further comprises:
the first prompting module is used for prompting whether the canvas data at the default moment is automatically recovered or not when the third hash value of the canvas data at the current moment is different from the second hash value in the target packed data corresponding to the specified moment;
the second acquisition module is used for acquiring the target packed data corresponding to the default moment if the user selects automatic recovery;
and the second rollback module is used for rolling back the canvas data at the current moment through diff data operated by the target canvas in the target packing data corresponding to the default moment when the third hash value of the canvas data at the current moment is the same as the second hash value of the target packing data corresponding to the default moment.
Further, the apparatus further comprises:
a third obtaining module, configured to obtain target packed data corresponding to a preset time period when a third hash value of the canvas data at the current time is different from the second hash value in the target packed data corresponding to the specified time;
and the third rollback module is used for rolling back the canvas data at the current moment through diff data of target canvas operation corresponding to the second hash value which is the same as the third hash value if the second hash value which is the same as the third hash value exists in the target packed data corresponding to the preset time period.
Further, the apparatus further comprises:
and the second prompting module is used for prompting that the historical canvas data is damaged when the third hash value of the canvas data at the current moment is different from the second hash value in the target packing data corresponding to the appointed moment.
Further, the apparatus further comprises:
the fourth acquisition module is used for acquiring the backed canvas data;
when a fourth hash value of the returned picture data is different from the first hash value in the corresponding target packaging data, calculating second difference data between the returned canvas data and the first canvas data corresponding to the first hash value;
previewing the returned canvas data, the first canvas data corresponding to the first hash value and the second difference data, and prompting a user whether to accept a returning result.
Further, the first computing module is further configured to input first canvas data of a target canvas operation in a starting state and second canvas data of the target canvas operation in an ending state into a pre-trained difference model, output the first difference data of the target canvas operation through the pre-trained difference model, and use the first difference data as diff data of the target canvas operation, where the first difference data includes local difference data and an alignment point position.
Further, the first rollback module comprises:
the area determining unit is used for determining a backspacing area of the local difference data in the canvas data at the current moment through the alignment point position in the target packing data corresponding to the specified moment;
and the rollback unit is used for rolling back the data in the rollback area through the local difference data.
According to the method and the device, after first difference data between first canvas data of a target canvas operation in a starting state and second canvas data of the target canvas operation in an ending state are calculated, diff data corresponding to the target canvas operation are obtained; the diff data of the target canvas operation represents two canvas data changes before and after one target canvas operation, the canvas data changes are stored, when the operation is required to be carried out and the backing-off is carried out, the canvas data changes are directly applied to the current canvas data, and the problem of large storage capacity caused by the fact that the whole storage is directly carried out on all the canvas data is solved.
In order to solve the technical problem, an embodiment of the present application further provides a computer device. Referring to fig. 4, fig. 4 is a block diagram of a basic structure of a computer device according to the present embodiment.
The computer device 4 comprises a memory 41, a processor 42, a network interface 43 communicatively connected to each other via a system bus. It is noted that only computer device 4 having components 41-43 is shown, but it is understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead. As will be understood by those skilled in the art, the computer device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer equipment can carry out man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The memory 41 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the computer device 4. Of course, the memory 41 may also include both internal and external storage devices of the computer device 4. In this embodiment, the memory 41 is generally used for storing an operating system installed on the computer device 4 and various types of application software, such as computer readable instructions of a canvas operation rollback method. Further, the memory 41 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 42 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to execute computer readable instructions stored in the memory 41 or process data, for example, execute computer readable instructions of the canvas operation rollback method.
The network interface 43 may comprise a wireless network interface or a wired network interface, and the network interface 43 is generally used for establishing communication connection between the computer device 4 and other electronic devices.
The computer device provided in this embodiment may perform the steps of the canvas operation rollback method described above. Here, the steps of the canvas operation rollback method may be steps in the canvas operation rollback method of the above embodiments.
According to the method and the device, after first difference data between first canvas data of a target canvas operation in a starting state and second canvas data of the target canvas operation in an ending state are calculated, diff data corresponding to the target canvas operation are obtained; the diff data of the target canvas operation represents two canvas data changes before and after one target canvas operation, the canvas data changes are stored, when the operation is required to be carried out and the backing-off is carried out, the canvas data changes are directly applied to the current canvas data, and the problem of large storage capacity caused by the fact that the whole storage is directly carried out on all the canvas data is solved.
The present application further provides another embodiment, which is to provide a computer readable storage medium storing computer readable instructions executable by at least one processor to cause the at least one processor to perform the steps of the canvas operation rolling back method as described above.
According to the method and the device, after first difference data between first canvas data of a target canvas operation in a starting state and second canvas data of the target canvas operation in an ending state are calculated, diff data corresponding to the target canvas operation are obtained; the diff data of the target canvas operation represents two canvas data changes before and after one target canvas operation, the canvas data changes are stored, when the operation is required to be carried out and the backing-off is carried out, the canvas data changes are directly applied to the current canvas data, and the problem of large storage capacity caused by the fact that the whole storage is directly carried out on all the canvas data is solved.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
It is to be understood that the above-described embodiments are merely illustrative of some, but not restrictive, of the broad invention, and that the appended drawings illustrate preferred embodiments of the invention and do not limit the scope of the invention. This application is capable of embodiments in many different forms and the embodiments are provided so that this disclosure will be thorough and complete. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to one skilled in the art that the present application may be practiced without modification or with equivalents of some of the features described in the foregoing embodiments. All equivalent structures made by using the contents of the specification and the drawings of the present application are directly or indirectly applied to other related technical fields and are within the protection scope of the present application.

Claims (10)

1. A canvas operation rollback method is characterized by comprising the following steps:
calculating first difference data between first canvas data of a target canvas operation in a starting state and second canvas data of the target canvas operation in an ending state to obtain diff data of the target canvas operation;
packing the first hash value of the first canvas data, the second hash value of the second canvas data and diff data of the target canvas operation to obtain target packing data of the target canvas operation, and storing the target packing data according to the time sequence of the target canvas operation;
when a canvas operation backspacing instruction containing a backspacing appointed time is received, obtaining canvas data at the current time and target packing data corresponding to the appointed time;
and when the third hash value of the canvas data at the current moment is the same as the second hash value in the target packed data corresponding to the appointed moment, backing the canvas data at the current moment through diff data operated by the target canvas in the target packed data corresponding to the appointed moment.
2. The canvas operation rollback method according to claim 1, wherein after the step of obtaining the canvas data at the current time and the target packing data corresponding to the specified time when the canvas operation rollback instruction including the specified time to which the rollback is performed is received, the method further comprises:
when the third hash value of the canvas data at the current moment is different from the second hash value in the target packaging data corresponding to the appointed moment, prompting whether the canvas data at the default moment is automatically recovered or not;
if the user selects automatic recovery, acquiring target packed data corresponding to the default moment;
and when the third hash value of the canvas data at the current moment is the same as the second hash value in the target packed data corresponding to the default moment, backing the canvas data at the current moment through diff data operated by the target canvas in the target packed data corresponding to the default moment.
3. The canvas operation rollback method according to claim 1, wherein after the step of obtaining the canvas data at the current time and the target packing data corresponding to the specified time when the canvas operation rollback instruction including the specified time to which the rollback is performed is received, the method further comprises:
when the third hash value of the canvas data at the current moment is different from the second hash value in the target packed data corresponding to the appointed moment, acquiring the target packed data corresponding to a preset time period;
and if a second hash value identical to the third hash value exists in the target packed data corresponding to the preset time period, rolling back the canvas data at the current moment through diff data of target canvas operation corresponding to the second hash value identical to the third hash value.
4. The canvas operation rollback method according to claim 1, wherein after the step of obtaining the canvas data at the current time and the target packing data corresponding to the specified time when the canvas operation rollback instruction including the specified time to which the rollback is performed is received, the method further comprises:
and when the third hash value of the canvas data at the current moment is different from the second hash value in the target packaging data corresponding to the appointed moment, prompting that the historical canvas data is damaged.
5. The canvas operation fallback method according to any one of claims 1 to 4, wherein after the rollback is performed on the canvas data at the current time, the method further comprises:
obtaining the backed canvas data;
when a fourth hash value of the refunded canvas data is different from the first hash value in the corresponding target packing data, calculating second difference data between the refunded canvas data and the first canvas data corresponding to the first hash value;
previewing the returned canvas data, the first canvas data corresponding to the first hash value and the second difference data, and prompting a user whether to accept a returning result.
6. The canvas operation fallback method according to claim 5, wherein the step of calculating first difference data between the first canvas data of the target canvas operation in the starting state and the second canvas data in the ending state to obtain diff data of the target canvas operation comprises:
inputting first canvas data of a target canvas operation in a starting state and second canvas data in an ending state into a pre-trained difference model, outputting the first difference data of the target canvas operation through the pre-trained difference model, and taking the first difference data as diff data of the target canvas operation, wherein the first difference data comprises local difference data and an alignment point position.
7. The canvas operation rollback method according to claim 6, wherein the step of rolling back the canvas data at the current time by diff data of the target canvas operation in the target packed data corresponding to the specified time comprises:
determining a backspacing region of local difference data in the canvas data at the current moment according to the alignment point position in the target packing data corresponding to the specified moment;
and backing the data in the backing area through the local difference data.
8. A canvas operation rolling back device, comprising:
the first computing module is used for computing first difference data between first canvas data of a target canvas operation in a starting state and second canvas data of the target canvas operation in an ending state to obtain diff data of the target canvas operation;
the packing storage module is used for packing the first hash value of the first canvas data, the second hash value of the second canvas data and the diff data of the target canvas operation to obtain target packing data of the target canvas operation, and storing the target packing data according to the time sequence of the target canvas operation;
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring canvas data at the current moment and target packing data corresponding to the specified moment when receiving a canvas operation rollback instruction containing the rollback specified moment;
and the first rollback module is used for rolling back the canvas data at the current moment through diff data operated by the target canvas in the target packed data corresponding to the specified moment when the third hash value of the canvas data at the current moment is the same as the second hash value of the target packed data corresponding to the specified moment.
9. A computer device comprising a memory having computer readable instructions stored therein and a processor which when executed implements the steps of the canvas operation fallback method as claimed in any one of the claims 1 to 7.
10. A computer readable storage medium having computer readable instructions stored thereon which, when executed by a processor, implement the steps of the canvas operation fallback method as claimed in any one of the claims 1 to 7.
CN202111142110.8A 2021-09-28 2021-09-28 Canvas operation rollback method and device, computer equipment and storage medium Active CN113867605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111142110.8A CN113867605B (en) 2021-09-28 2021-09-28 Canvas operation rollback method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111142110.8A CN113867605B (en) 2021-09-28 2021-09-28 Canvas operation rollback method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113867605A CN113867605A (en) 2021-12-31
CN113867605B true CN113867605B (en) 2022-05-27

Family

ID=78991885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111142110.8A Active CN113867605B (en) 2021-09-28 2021-09-28 Canvas operation rollback method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113867605B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115878010B (en) * 2023-03-01 2023-06-23 南方科技大学 Operation interaction method, device, electronic equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929489A (en) * 2012-11-09 2013-02-13 北京奇虎科技有限公司 Implementation method of client browser and client browser
CN108874803A (en) * 2017-05-09 2018-11-23 腾讯科技(深圳)有限公司 Date storage method, device and storage medium
CN112052050A (en) * 2020-08-20 2020-12-08 腾讯科技(深圳)有限公司 Shared picture generation method, system, storage medium and terminal equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10713015B2 (en) * 2016-05-15 2020-07-14 Servicenow, Inc. Visual programming system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929489A (en) * 2012-11-09 2013-02-13 北京奇虎科技有限公司 Implementation method of client browser and client browser
CN108874803A (en) * 2017-05-09 2018-11-23 腾讯科技(深圳)有限公司 Date storage method, device and storage medium
CN112052050A (en) * 2020-08-20 2020-12-08 腾讯科技(深圳)有限公司 Shared picture generation method, system, storage medium and terminal equipment

Also Published As

Publication number Publication date
CN113867605A (en) 2021-12-31

Similar Documents

Publication Publication Date Title
CN112685565B (en) Text classification method based on multi-mode information fusion and related equipment thereof
WO2017177931A1 (en) Text information display method and apparatus, and mobile device
DE102013103616A1 (en) Touch screen text input
CN109902556A (en) Pedestrian detection method, system, computer equipment and computer can storage mediums
CN113867605B (en) Canvas operation rollback method and device, computer equipment and storage medium
CN113763249A (en) Text image super-resolution reconstruction method and related equipment thereof
CN104090701A (en) Information processing method and electronic equipment
CN111222069B (en) Report component adjustment method and device and related equipment
CN112686243A (en) Method and device for intelligently identifying picture characters, computer equipment and storage medium
CN112016502A (en) Safety belt detection method and device, computer equipment and storage medium
CN113805757A (en) File processing method and device
CN113552988A (en) Interface focus control method and device, electronic equipment and storage medium
WO2021077321A1 (en) Electronic shelf label identification system and method, and server
CN108446693B (en) Marking method, system, equipment and storage medium of target to be identified
CN111724226A (en) Information display method and system, electronic equipment and storage medium
CN115878935A (en) Local refreshing method, system, device, equipment and medium of chart
CN116402036A (en) Automatic generation method, system, computer equipment and storage medium for wedding report
CN113361535B (en) Image segmentation model training, image segmentation method and related device
US20220343104A1 (en) Predictive data analysis using image representations of categorical data to determine temporal patterns
CN111782309B (en) Method and device for displaying information and computer readable storage medium
WO2014093395A1 (en) Consuming content incrementally
CN113361536A (en) Image semantic segmentation model training method, image semantic segmentation method and related device
CN110020285B (en) Histogram processing method and device
CN111831174A (en) Event setting method, device, equipment and storage medium
CN114398122B (en) Input method, input device, electronic equipment, storage medium and product

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