CN114741139A - sketch graphic file processing method and device, electronic equipment and storage medium - Google Patents

sketch graphic file processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114741139A
CN114741139A CN202110019726.XA CN202110019726A CN114741139A CN 114741139 A CN114741139 A CN 114741139A CN 202110019726 A CN202110019726 A CN 202110019726A CN 114741139 A CN114741139 A CN 114741139A
Authority
CN
China
Prior art keywords
page
drawing board
sketch
information
graphic file
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.)
Pending
Application number
CN202110019726.XA
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110019726.XA priority Critical patent/CN114741139A/en
Publication of CN114741139A publication Critical patent/CN114741139A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the application provides a sketch graphic file processing method and device, electronic equipment and a storage medium, and relates to the technical field of information processing. The method comprises the following steps: displaying the sketch graphic file to be processed; responding to the selected operation aiming at one or more target identifications in the drawing board identifications, and displaying the drawing board corresponding to the target identification; and responding to the triggering operation aiming at the export control, and generating a processed sketch graphic file according to the drawing board corresponding to the selected target identification. The method and the device for displaying the sketch map in the sketch graphic file lay a foundation for meeting the requirement of selectively displaying part of the drawing board in the local sketch graphic file by a user in the follow-up process, and overcome the defects that in the prior art, only the sketch graphic file can be uploaded to the cloud end and then the drawing layer in the sketch graphic file can be browsed through a webpage, so that the drawing cannot be edited, and the defects that only the complete sketch file can be obtained and the part which is not desired to be displayed cannot be removed.

Description

sketch graphic file processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a method and an apparatus for processing a sketch graphic file, an electronic device, and a storage medium.
Background
After completing creation of a plurality of drawing boards through the sketch graphic processing program, a designer saves the drawing boards into sketch graphic files, uploads the whole sketch graphic file, and after uploading is completed, other people check the sketch graphic files through a webpage to display the picture versions of the drawing boards.
The existing technical scheme cannot simplify the part of the sketch graphic file which is not desired to be displayed and share the file, only the picture can be browsed through a webpage after the sketch graphic file is uploaded to a cloud, the sketch graphic file cannot be obtained, or only the complete sketch graphic file can be obtained, and the part which is not desired to be displayed cannot be removed.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for processing a sketch graphics file, an electronic device, and a storage medium, which overcome the above problems or at least partially solve the above problems.
In a first aspect, a method for processing a sketch graphic file is provided, where the method includes:
displaying a sketch graphic file to be processed, wherein the sketch graphic file to be processed comprises page identifications of one or more pages, and each page identification comprises drawing board identifications of one or more drawing boards;
responding to the selected operation of one or more target identifications in the drawing board identifications, and displaying the drawing board corresponding to the target identifications;
and responding to the triggering operation aiming at the export control, and generating a processed sketch graphic file according to the drawing board corresponding to the selected target identification.
In one possible implementation, the exposing the sketch graphics file to be processed includes:
displaying a sketch graphic file to be processed on a first interface;
in response to a trigger operation for the export control on the first interface, creating a second interface;
displaying a second interface, and displaying page identifications of one or more pages of the sketch graphic file to be processed in the second interface, wherein each page identification comprises one or more drawing board identifications of drawing boards;
and the second interface is displayed with a export control.
In one possible implementation manner, the generating the processed sketch graphics file includes:
decompressing the sketch graphic file to be processed, and obtaining the original metadata and the page folder of the sketch graphic file to be processed;
modifying the original metadata and the page folder according to the selected drawing board to obtain modified metadata and a page folder;
compressing according to the modified metadata and the page folder to obtain a processed sketch graphic file;
the method comprises the steps that original metadata comprise the corresponding relation between pages and drawing boards in a sketch graphic file to be processed, an original page folder comprises style information of one or more pages, the style information comprises unique identification of the pages, page names and drawing board data of the drawing boards in the pages, and the drawing board data comprises the unique identification of the drawing boards, the drawing board names, drawing board types and drawing board layer parameters in the drawing boards;
the modified metadata comprises a corresponding relation between the target drawing board and a page where the target drawing board is located, and the modified page folder comprises style information of the page where the target drawing board is located; the target drawing board comprises a drawing board corresponding to the selected target identification and a drawing board with a drawing board type being a control type.
In one possible implementation manner, modifying the original metadata and the page folder according to the selected drawing board to obtain the modified metadata and the page folder includes:
acquiring unique identification and page names of one or more pages and unique identification and drawing board names of target drawing boards in each page according to the page folder and the selection operation so as to generate drawing board selection information and page drawing board information;
modifying original metadata according to the page drawing board information to obtain modified metadata;
modifying the original page folder according to the drawing board selection information to obtain a modified page folder;
the page drawing board information comprises a unique identifier and a page name of each page in one or more pages and a corresponding relation between first corresponding relation information, and the first corresponding relation information comprises a corresponding relation between the unique identifier and the drawing board name of a target drawing board in each page;
the drawing board selection information comprises the corresponding relation between the unique identifier of each page in one or more pages and the unique identifier of the target drawing board in each page.
In a possible implementation manner, to generate the palette selection information and the page palette information, the method further includes:
for each page in one or more pages, generating corresponding page data and drawing board updating data according to a page folder and selection operation, wherein the page data comprises a page name and a unique identifier of the page, and the drawing board updating data comprises drawing board names, unique identifiers, drawing board types and information about whether the drawing boards are selected or not of all the drawing boards in the page;
determining a drawing board corresponding to the selected target identifier according to drawing board updating data, and storing the unique identifier of the drawing board corresponding to the selected target identifier and the drawing board updating data into page data;
generating drawing board selection information and page drawing board information, including:
and generating drawing board selection information and page drawing board information according to the page data of one or more pages.
In one possible implementation manner, generating page drawing board information includes:
for each page in one or more pages, determining a unique identifier and a drawing board name of a target drawing board in each page, and obtaining first corresponding relation information of the page;
acquiring second corresponding relation information of each page according to the unique identifier, the page name and the first corresponding relation information of each page, wherein the second corresponding relation information comprises the unique identifier, the page name and the corresponding relation among the first corresponding relation information of each page;
and obtaining page drawing board information according to the second corresponding relation information of one or more pages.
In one possible implementation manner, generating the palette selection information includes:
for each page in one or more pages, determining a target drawing board in each page and a unique identifier of the target drawing board;
acquiring a unique identifier of each page and a unique identifier of the target drawing board in each page, and acquiring third corresponding relation information of each page according to the corresponding relation between the unique identifier of each page and the unique identifier of the target drawing board in each page;
and obtaining drawing board selection information according to the third corresponding relation information of one or more pages.
In a possible implementation manner, the drawing board type is a control type drawing board, and the drawing board is one or more layers of a common component preset in a drawing board of a sketch graphic file to be processed.
In one possible implementation manner, the displaying of the drawing board corresponding to the target identifier includes:
and displaying one or more of the text description and the thumbnail of the drawing board corresponding to the target identifier.
In one possible implementation, the method further comprises one or more of the following steps:
displaying information of successful exporting of the processed sketch graphic file;
uploading the processed sketch graphic file to a cloud;
and displaying the successful uploading information of the processed sketch graphic file.
In one possible implementation, the method further comprises one or more of the following steps:
previewing the processed sketch graphic file;
sharing the processed sketch graphic file;
sharing the processed sketch graphic file comprises the following steps:
and copying the page link where the sketch graphic file is located after the processing, and sharing the page link.
In a second aspect, a sketch graphics file processing device is provided, including:
the sketch file display method comprises a file display module, a sketch file display module and a sketch file display module, wherein the file display module is used for displaying a sketch graphic file to be processed, the sketch graphic file to be processed comprises page identifications of one or more pages, and each page identification comprises drawing board identifications of one or more drawing boards;
the drawing board selection module is used for responding to selection operation aiming at one or more target identifications in the drawing board identifications and displaying the drawing board corresponding to the target identification;
and the file processing module is used for responding to the triggering operation aiming at the export control and generating a processed sketch graphic file according to the drawing board corresponding to the selected target mark.
In one possible implementation, the presentation file module includes:
the first interface display submodule is used for displaying the sketch graphic file to be processed on a first interface;
the second interface creating sub-module is used for responding to the triggering operation of the export control on the first interface and creating a second interface;
the second interface display submodule is used for displaying a second interface and displaying page identifications of one or more pages of the sketch graphic file to be processed in the second interface, wherein each page identification comprises drawing board identifications of one or more drawing boards;
and the second interface is displayed with a export control.
In one possible implementation, the file processing module includes:
the decompression submodule is used for decompressing the sketch graphic file to be processed and obtaining original metadata and a page folder of the sketch graphic file to be processed;
the deleting submodule is used for modifying the original metadata and the page folder according to the selected drawing board to obtain the modified metadata and the page folder;
the compression submodule is used for compressing according to the modified metadata and the page folder to obtain a processed sketch graphic file;
the method comprises the steps that original metadata comprise the corresponding relation between pages and drawing boards in a sketch graphic file to be processed, an original page folder comprises style information of one or more pages, the style information comprises unique identification of the pages, page names and drawing board data of the drawing boards in the pages, and the drawing board data comprises the unique identification of the drawing boards, the drawing board names, drawing board types and drawing board layer parameters in the drawing boards;
the modified metadata comprises the corresponding relation between the target drawing board and the page where the target drawing board is located, and the modified page folder comprises style information of the page where the target drawing board is located; the target drawing board comprises a drawing board corresponding to the selected target identification and a drawing board with a drawing board type being a control type.
The deletion submodule includes:
the information generating unit is used for acquiring unique identifiers and page names of one or more pages and unique identifiers and picture board names of target picture boards in each page according to the page folder and the selecting operation so as to generate picture board selecting information and page picture board information;
the metadata updating unit is used for modifying original metadata according to the page drawing board information to obtain modified metadata;
the page folder updating unit is used for modifying the original page folder according to the drawing board selection information to obtain a modified page folder;
the page drawing board information comprises a unique identifier and a page name of each page in one or more pages and a corresponding relation between first corresponding relation information, and the first corresponding relation information comprises a corresponding relation between the unique identifier and the drawing board name of a target drawing board in each page;
the drawing board selection information comprises the corresponding relation between the unique identifier of each page in one or more pages and the unique identifier of the target drawing board in each page.
In one possible implementation manner, the sketch graphics file processing apparatus further includes:
the data generation module is used for generating corresponding page data and drawing board updating data according to a page folder and selection operation for each page in one or more pages, wherein the page data comprises page names and unique identifiers of the pages, and the drawing board updating data comprises drawing board names, unique identifiers, drawing board types of all drawing boards in the pages and information about whether the drawing boards are selected;
the page data editing module is used for determining the drawing board corresponding to the selected target identifier according to the drawing board updating data and storing the unique identifier of the drawing board corresponding to the selected target identifier and the drawing board updating data into page data;
the information generating unit is specifically configured to: and generating drawing board selection information and page drawing board information according to the page data of one or more pages.
In one possible implementation manner, the information generating unit includes a drawing board information generating subunit for generating the page drawing board information, and the drawing board information generating subunit includes:
the first corresponding relation subunit is used for determining the unique identifier and the drawing board name of the target drawing board in each page to obtain first corresponding relation information of the page;
the second corresponding relation subunit is used for obtaining second corresponding relation information of each page according to the unique identifier, the page name and the first corresponding relation information of each page, wherein the second corresponding relation information comprises the unique identifier, the page name and the corresponding relation among the first corresponding relation information of each page;
and the first gathering subunit is used for acquiring the page drawing board information according to the second corresponding relation information of one or more pages.
In one possible implementation manner, the information generating unit includes a drawing board selection generating subunit for generating the drawing board selection information, and the drawing board selection generating subunit includes:
the identification determining subunit is used for determining a target drawing board in each page and a unique identification of the target drawing board for each page in one or more pages;
the third corresponding relation subunit is used for acquiring the unique identifier of each page and the unique identifier of the target drawing board in each page, and obtaining third corresponding relation information of each page according to the corresponding relation between the unique identifier of each page and the unique identifier of the target drawing board in each page;
and the second gathering subunit is used for obtaining drawing board selection information according to the third corresponding relation information of one or more pages.
In a possible implementation manner, the drawing board type is a control type drawing board, and the drawing board is one or more layers of a common component preset in the drawing board of the sketch graphic file to be processed.
In a possible implementation manner, the drawing board selection module includes a drawing board display module for displaying the drawing board corresponding to the target identifier, and the drawing board display module is specifically configured to display one or more of a text description and a thumbnail of the drawing board corresponding to the target identifier.
In one possible implementation, the sketch graphics file processing apparatus further includes one or more of the following modules: the export success display module is used for displaying the information of successful export of the processed sketch graphic file;
the uploading module is used for uploading the processed sketch graphic file to a cloud;
and the successful uploading display module is used for displaying the information that the processed sketch graphic file is successfully uploaded.
In one possible implementation, the processing device of the key graphic file further includes one or more of the following modules:
the preview module is used for previewing the processed sketch graphic file;
the sharing module is used for sharing the processed sketch graphic file;
the sharing module is specifically configured to:
and copying the page link where the sketch graphic file is located, and sharing the page link.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of the method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the method as provided in the first aspect.
In a fifth aspect, an embodiment of the present invention provides a computer program, where the computer program includes computer instructions stored in a computer-readable storage medium, and when a processor of a computer device reads the computer instructions from the computer-readable storage medium, the processor executes the computer instructions, so that the computer device executes the steps of implementing the method provided in the first aspect.
The method, the device, the electronic equipment and the storage medium for processing the sketch graphic file provided by the embodiment of the invention display the sketch graphic file to be processed, wherein the sketch graphic file to be processed comprises one or more page identifications, each page identification comprises one or more drawing board identifications of a drawing board, so that a user can select a target identification from the drawing board identifications to conveniently confirm the displayed drawing board, and the sketch graphic file after being processed (simplified) is generated according to the drawing board corresponding to the selected target identification by responding to the triggering operation aiming at the export control The method eliminates the disadvantages of undesired parts to be displayed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a scene schematic diagram of a sketch graphics file processing method provided in an embodiment of the present application;
FIG. 2a is a schematic diagram of a display interface of a sketch graphics processing program according to an embodiment of the present application
Fig. 2b is a schematic diagram of an initial time of selecting a palette interface of a sketch graphics processing program according to the embodiment of the present application;
fig. 2c is a schematic diagram of a palette selection interface of the sketch graphics processing program according to the embodiment of the present application when a palette is selected;
fig. 2d is a schematic diagram of the sketch graphical processing program after selecting a palette in the palette interface according to the embodiment of the present application;
fig. 2e is a schematic diagram of an export completion interface of the sketch graphics processing program according to the embodiment of the present application;
fig. 2f is a schematic interface diagram of a graphical editing program for logging in a web page version by another user according to the embodiment of the present application;
fig. 3 is a schematic flowchart of a method for processing a sketch graphic file according to an embodiment of the present application;
FIG. 4 is an interaction diagram of a sketch graphics file processing process provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a sketch graphics file processing device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are only for the purpose of explaining the present application and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
The sketch graphic file processing method, the sketch graphic file processing device, the electronic device and the storage medium provided by the embodiment of the application aim to solve the technical problems in the prior art.
The method for processing the sketch graphic file in the embodiment of the application can be applied to processing the sketch graphic file displayed on the sketch graphic processing program in a plug-in mode. Plug-in (Plug-in, also called addin, add-in, etc.) is a program written in an application program interface following a certain specification, and can only run under a system platform specified by the program (possibly supporting multiple platforms simultaneously), and cannot run independently from a specified platform.
The sketch plug-in may be located in a computer device of the user, such as a sketch graphics processing program (e.g., XSHOW graphics context editing software) in which the sketch plug-in is installed on the computer device, so that the user may upload the sketch graphics files to the server after the sketch graphics files are simplified and edited based on the sketch plug-in the computer device. The simplified editing is processing for storing only a part of pages or a part of drawing boards in the sketch graphic file and generating a simplified sketch document.
The sketch plug-in unit can also be located in a service system of a network side such as a server or a cloud platform, on the basis, a user can access the server or the cloud platform where the sketch plug-in unit is located by using a terminal, and the sketch graphic file simplified editing and uploading server is achieved based on the online sketch plug-in unit provided by the server or the cloud platform.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The following describes the technical solution of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
For convenience of understanding, a scenario in which the sketch plug-in is installed on the cloud platform is taken as an example and is applied to the scheme of the present application is described below, as shown in fig. 1, a scenario diagram exemplarily showing a processing method of a sketch graphic file according to an embodiment of the present application is shown.
As can be seen from fig. 1, the scenario includes: the cloud platform 10, which may include a plurality of cloud servers 101.
The cloud platform is also called a cloud computing platform, and is a network platform constructed based on cloud technology. The Cloud technology (Cloud technology) is a hosting technology for unifying series resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data.
Cloud technology (Cloud technology) is a general term of network technology, information technology, integration technology, management platform technology, application technology and the like based on Cloud computing business model application, can form a resource pool, can be used as required, and is flexible and convenient. Background services of technical network systems require a large amount of computing, storage resources, such as image storage and coding, etc. With the high development and application of the internet industry, each article may have its own identification mark and needs to be transmitted to a background system for logic processing, data of different levels are processed separately, and various industrial data need strong system backing support and can only be realized through cloud computing.
Among them, cloud computing (cloud computing) is a computing mode that distributes computing tasks over a resource pool formed by a large number of computers, so that various application systems can acquire computing power, storage space, and information services as needed. The network that provides the resources is referred to as the "cloud". Resources in the "cloud" appear to the user as if they are infinitely expandable and can be acquired at any time, used on demand, expanded at any time, and paid for use.
As a basic capability provider of cloud computing, a cloud computing resource pool (referred to as a cloud platform for short, and generally referred to as an Infrastructure as a Service) platform is established, and multiple types of virtual resources are deployed in the resource pool and are selectively used by external clients.
As shown in fig. 1, in the present application, a sketch plug-in is run on the cloud platform.
The scene in fig. 1 further includes a plurality of terminals 20, the sketch graphics processing program is run on the terminals 20, and the terminals 20 can access the sketch plug-in the cloud platform through the sketch graphics processing program to realize simplified editing of the sketch graphics files.
It is to be understood that fig. 1 is an example of implementing simplified editing of a sketch graphic file based on a sketch plug-in of a cloud platform. However, the process of implementing the sketch graphic file streamlined editing based on the sketch plug-in on the server or the server cluster is also similar, and is not described herein again.
Certainly, in practical application, if a user uses a sketch plug-in on a computer device such as a personal computer to implement the simplified editing of a sketch graphic file, the user only needs to open the sketch plug-in or a sketch graphic processing program with the sketch plug-in to present an interface including an editing area of the sketch plug-in, and perform the simplified editing of the sketch graphic file in the editing area.
Please refer to fig. 2 a-2 f, which are schematic diagrams of an interface for processing a sketch graphic file according to an embodiment of the present application.
Fig. 2a shows a schematic diagram of a presentation interface of a sketch graphics processing program according to an embodiment of the present application, and as shown in a sub-interface 10a in fig. 2a, when the sketch graphics processing program presents a sketch graphics file, a page column and a palette column are presented, where the page column displays identifiers of pages and controls in the sketch graphics file, in this embodiment, the pages are identified as names of pages, for example, page 1 and page 2, the controls are special pages, and the palette in the controls is a layer that is preset as a common component. In the embodiment of the application, a component is an image layer, and a common component refers to an image layer which can be referred to.
In this embodiment of the application, when a user draws a drawing board, any one of the layers included in the control may be used as one of the drawing boards that may cover other layers or be covered by other layers, for example, there is one layer (for short, a triangle layer) in which a triangle pattern is drawn in the control, when the user draws the drawing board, the user clicks the triangle layer in the control to use the triangle layer as one layer (layer 1) in the drawing board, and when other patterns are continuously drawn on the drawing board, the layer (layer 2) in which the other drawn patterns are located is located on the layer 2, that is, the layer 1 is covered by the layer 2, and when the user continues to draw other patterns on the drawing board, the layer 1 may also be covered on the layer 2, that is, the layer 2 is covered by the layer 1. That is, layers in the palette may be referenced from the control.
The layers in the control may be predetermined by a user from layers drawn in each drawing board in the sketch graphic file, and any number of layers in the drawing boards may be added to the control class, for example, all layers of the drawing board may be added to the control class. For example, the sketch graphic file has two pages, namely a page 1 and a page 2, where the page 1 includes a palette 1 and a palette 2, the page 2 includes a palette 3, each palette includes at least one layer, and a user may add one or more layers of the palettes 1 to 3 to a control as a common component. It should be noted that when a layer is determined as a control type, the layer is also regarded as a drawing board.
The name of the drawing board in the page clicked by the user is displayed in the drawing board bar, and the user clicks the page 1 in the sub-interface 10a, so that the drawing board bar displays the drawing board identification: drawing board 1 and drawing board 2, and each drawing board has still further demonstrated the name of the picture layer in the drawing board, has demonstrated the concrete pattern that draws in the picture layer in drawing board 1 and drawing board 2 in page 1 in the sub-interface 10b, wherein only one picture layer in drawing board 1, this picture layer drawing is a circular pattern, has two picture layers in drawing board 2, has painted two rectangles of different shapes in two picture layers respectively. The user can click the export control in the sub-interface 10c to enter the simplified editing process of the sketch graphic file.
Fig. 2b is a schematic diagram illustrating an initial time of selecting a sketchpad interface of the sketch graphic processing program according to the embodiment of the present application, and when the user clicks the sub-interface 10c in fig. 2a, the user jumps to the sketchpad interface in fig. 2b, and the sub-interface 10d displays a file name of a sketch graphic file to be processed: sketch, sub-interface 10e shows a selectable drawing board control that can be clicked, and at this time, since the user does not select a drawing board, the selected drawing board in sub-interface 10f is empty.
Fig. 2c shows a schematic diagram of a sketch graphics processing program of the present application when selecting a drawing board in a drawing board interface, after a user clicks a selection drawing board control in the sub-interface 10e in fig. 2b, an identifier of a drawing board that can be selected is displayed in the sub-interface 10g, in this embodiment, the identifier of the drawing board includes a name of the drawing board and a thumbnail of the drawing board, when the user clicks one drawing board, it is determined that the drawing board corresponds to a selected target identifier, and the drawing board corresponding to the selected target identifier and the drawing board corresponding to an unselected target identifier may set some visual difference effects, so as to remind the user of which drawing boards are selected. The contour line 10h is additionally arranged on the edge of the drawing board corresponding to the selected target identification, and in practical application, the user can be helped to visually see the drawing board corresponding to the selected target identification by setting the color of the contour line 10h or the thickness of lines. Upon user selection, by clicking on the export control in sub-interface 10 i.
Fig. 2d shows a schematic diagram of the sketch processing program of the sketch graphic processing program after selecting a drawing board in the drawing board interface according to the embodiment of the present application, when the user clicks the export control in the sub-interface 10i in fig. 2c, the name of the drawing board selected by the user and the page where the drawing board is located are displayed in the sub-interface 10e, meanwhile, the identification information of the selected drawing board is displayed in the sub-interface 10f, and the sub-interface 10j displays the export progress. It should be noted that the export controls shown in fig. 2a to 2d may be the same export control, or may be different export controls, and the embodiment of the present application is not particularly limited.
Fig. 2e is a schematic diagram illustrating an export completion interface of the sketch graphic processing program according to the embodiment of the present application, where as shown in the figure, after the simplified sketch graphic file is exported, it means that the simplified sketch graphic file has been successfully uploaded to the server, and other users may download, view, and edit the simplified edited sketch graphic file on the server. The information of the uploading completion is displayed in the sub-interface 10k, and a preview control which can be clicked is displayed in the sub-interface 10L. And when the user clicks the preview control, the sketch graphic file after the simplified editing can be viewed. And a copy link control which can be clicked is displayed in the sub-interface 10m, and after the user clicks the copy link control, the sketch graphic processing program can copy the link of the sketch graphic file which is simply edited in the server, so that the user can be helped to paste the link to chat software, blogs, memorandums and the like for browsing by the user or others.
Fig. 2f is a schematic interface diagram of a graphical editing program of another user login webpage version according to the embodiment of the present application, where the graphical editing program may be an application program of a third party and also capable of editing sketch graphical files, and the application program may acquire sketch graphical files uploaded in a server through interaction with the server. Other users can obtain links of the simplified edited sketch graphic file provided by the user through various paths such as chat software and blogs, so as to log in a graphic editing program of a webpage version, as shown in the figure, the names of the page and the drawing board of the simplified sketch graphic file are displayed in a sub-interface 10n, the drawing board 2 in the page 1 and the drawing board 3 in the page 2 are displayed in a sub-interface 10p, and obviously, the sketch graphic file downloaded by other users is the sketch graphic file only containing the drawing board selected by the uploader.
Fig. 3 is a schematic flowchart of a method for processing a sketch graphic file according to an embodiment of the present application, and as shown in fig. 3, the method includes:
s101, displaying a sketch graphic file to be processed; the sketch graphic file to be processed comprises page identifications of one or more pages, and drawing board identifications of one or more drawing boards are included under each page identification;
when a sketch graphic file to be processed is displayed, a first directory recording page identifiers of all pages of the sketch image file can be displayed at first, so that a user can further display a second directory of the drawing board identifiers of all drawing boards in the page by clicking the page identifier of any page in the first directory, and when the user further clicks any drawing board identifier in the second directory, a specific drawing layer drawn by the drawing board can be browsed.
And S102, responding to the selection operation aiming at one or more target identifications in the identifications, and displaying the drawing board corresponding to the selected target identification corresponding to the target identification.
The selection operation mode in the embodiment of the present application is not particularly limited, and may be, for example, a single click, a double click, a long press, and the like. The embodiment of the application refers to the identification selected by the user as the target identification, and the drawing board corresponding to the target identification is also the selected drawing board.
And S103, responding to the trigger operation aiming at the export control, and generating a processed sketch graphic file according to the drawing board corresponding to the selected target identification.
And after the user selects the target identification, triggering the export control. The triggering operation of the export control can be single click, double click, long press, and the like, and the embodiment of the application is not particularly limited to a specific form of the triggering operation.
By triggering the export control, a simplified sketch graphic file can be generated according to the drawing board corresponding to the selected target identifier, and the simplified sketch graphic file only comprises the drawing board selected by the user
The embodiment of the application shows the sketch graphic file to be processed, the sketch graphic file to be processed comprises page marks of one or more pages, each page mark comprises drawing board marks of one or more drawing boards, the user can select the target mark from the drawing board marks, the user can conveniently identify the drawing board which can be displayed, and the user can conveniently select the target mark from the drawing board marks by responding to the triggering operation of the export control, the method and the device for displaying the sketch graphic files have the advantages that the sketch graphic files after processing (after simplification) are generated according to the drawing board corresponding to the selected target identification, a foundation can be laid for meeting the requirement that a user selectively displays (shares) part of drawing boards in the local sketch graphic files, and the defects that in the prior art, the sketch graphic files can only be uploaded to a cloud end and then the layers in the sketch graphic files can be browsed through web pages and cannot be edited, and the defects that only complete sketch files can be obtained and parts which are not desired to be displayed can not be removed are overcome.
On the basis of the above embodiments, as an optional embodiment, showing a sketch graphics file to be processed includes:
displaying a sketch graphic file to be processed on a first interface;
as shown in fig. 2a, the first interface corresponds to a display interface of the sketch graphics processing program, a page column and a palette column displayed through the sub-interface 10a display a name of a sketch graphics file in a page flange, a name of a palette in a page clicked by a user is displayed in the palette column, and specific information of the palette, that is, a layer in the palette, is displayed in the sub-interface 10 b.
Creating a second interface in response to a triggering operation for the export control on the first interface;
as for the export control in the sub-interface 10c in fig. 2a, the user may complete the trigger operation by moving the mouse to the area of the export control and clicking the export control, so as to create the drawing board selection interface, i.e., the second interface, in the embodiment shown in fig. 2 b.
Displaying a second interface;
it should be noted that, in the embodiment of the present application, the second interface may be switched from the first interface shown in fig. 2a to the second interface shown in fig. 2b in the above embodiment, or a mode of popping up a window on the first interface and displaying the second interface in the window may be adopted, in this way, first, a user may move the window to browse information displayed in the first interface at the same time, so that the user's use comfort is improved.
And displaying page identifications of one or more pages of the sketch graphic file to be processed in a second interface, wherein each page identification comprises drawing board identifications of one or more drawing boards.
It should be noted that, in the embodiment of the application, as in the embodiment of fig. 2b, a drawing board selection control displayed by the sub-interface 10f may be displayed, so as to show the sub-interface 10g in the embodiment of fig. 2c, or after the export control in the sub-interface 10c in the embodiment of fig. 2a is clicked, the user may directly jump to the interface in the embodiment of fig. 2c, that is, the user does not need to click the drawing board selection control to directly display the identifier of the controllably selected drawing board.
In the embodiment of the application, the export control included in the first interface and the export control included in the second interface may be the same control or different controls.
On the basis of the foregoing embodiments, as an optional embodiment, generating a processed sketch graphics file specifically includes:
s201, decompressing the sketch graphic file to be processed to obtain subfiles of the sketch graphic file.
The Sketch graphics file is essentially a compressed package, and by decompressing it, the following sub-files can be obtained:
json, namely the file name is meta, namely metadata, and the file with the format is json, the file comprises the corresponding relation between pages and drawing boards, the corresponding relation between the pages and the drawing boards is recorded in a list form, and besides, the metadata also comprises information such as used fonts and Sketch versions.
Json, a file with a file name of document and a format of json, which contains common data of all pages, such as shared styles, and links to files in json format in the pages folder of the file.
Json, a file with file name user, format json, that contains user metadata for the file, such as canvas viewport and zoom level for each page, UI metadata for the application (e.g., panel size, etc.), and whether the sketch graphics file has been uploaded to the server.
Pages, also called page folders, are folders composed of specific style information of each page, and each page corresponds to specific style information in json format. Each file describes the content of the page in a manner similar to the format obtained by running a sketch over the file. The specific style information comprises a unique identification and a page name of a page and drawing board data of a drawing board in the page, and the drawing board data comprises the unique identification of the drawing board, the name of the drawing board, the type of the drawing board and layer parameters in the drawing board;
images: the images folder contains all the bitmaps used and retains their original scale (so if the user imports a 1000x1000px image and then adjusts it to 200x200px, the full 1000x1000px file will be stored).
Previews: containing the preview image of the last page edited by the user. If the size of the page is smaller than 2048x2048, it will be stored in full size, otherwise the page will be scaled to fit the 2048x2048 square.
S202, according to the selected drawing board, original metadata and a page folder are modified, and the modified metadata and the page folder are obtained.
The target drawing board comprises a drawing board corresponding to the selected target identification and a drawing board of which the drawing board type is a control type. It can be known from the above embodiments that the drawing board of the control type is actually a drawing layer selected by the user from the drawing layers in the drawing boards, so as to provide convenience for subsequent direct reference on other drawing boards, that is, the drawing board of the control type may have a reference relationship with the real drawing board in the sketch graphic file, that is, the display and editing of some real drawing boards need to be premised on the existence of the drawing board of the control type.
For example, a sketch graphic file to be processed has 2 pages, which are page 1 and page 2, respectively, where page 1 includes drawing board 1 and drawing board 2, page 2 includes drawing board 3 and drawing board 4, a user sets a certain layer in drawing board 1 as a drawing board of a control type in advance, and uses the layer in the control as a layer of a lowest layer in drawing board 4, and there is one or more layers in drawing board 4 located in another layer above the layer of the lowest layer, regardless of whether a user selects a drawing board identifier of drawing board 4 when selecting a target identifier, the embodiment of the present application will use the drawing board of the control type as a target drawing board. Therefore, the drawing board corresponding to the selected target identification can be reserved, and the drawing board with the drawing board type being the control type can be reserved.
According to the method and the device for obtaining the subfiles, the information of the drawing boards, except the drawing board corresponding to the selected target identification and the drawing board with the drawing board type as the control type, in the metadata can be deleted, the modified metadata are obtained, the information of the drawing boards, except the drawing board corresponding to the selected target identification and the drawing board with the drawing board type as the control type, in the page folder is deleted, the modified page folder is obtained, and therefore the simplified subfiles are obtained.
S203, compressing according to the modified metadata and the page folder to obtain the processed sketch graphic file.
In the embodiment of the application, the processed sketch graphic file (also referred to as the simplified sketch graphic file, the same applies below) can be obtained by re-compressing the simplified subfile.
Referring to fig. 4, which is an interaction diagram of a sketch graphic file processing process provided in the embodiment of the present application, as shown in fig. 4, a user in the embodiment of the present application completes the simplification of a sketch graphic file by logging in a sketch graphic processing program of a web page (webview), and then uploads the sketch graphic file, specifically:
the Sketch plug-in obtains file information and user information of a Sketch graphic file currently edited by a user, wherein the user information can be account information of the user and the like.
A user clicks a exporting control in a sketch plug-in (hereinafter referred to as plug-in), the sketch plug-in initializes a exporting interface on webview, and the specific exporting interface can refer to an interface schematic diagram shown in fig. 2 b;
webview opens the webpage of the export interface and shows the webpage to the user, and Webview checks the login state of the user to the server;
the server verifies whether the account of the user is legal or not, and sends a folder list which is created on the server in advance by the user to the webview. The embodiment of the application supports the user to freely create the folder on the server so as to store the sketch graphic file. Webwiew displays the received folder list to the user.
And the plug-in acquires the page and the drawing board data of the sketch graphic file and sends the page and the drawing board data to the webview so that the webview can display the received user information, the page and the drawing board data of the sketch graphic file to a user.
The user selects the drawing board data from the drawing board list displayed on the webview, selects the folder for storing the drawing board data, clicks the export control again after selection, responds to the clicking operation by the wbeview, receives the drawing board selected by the user and the folder for holding the drawing board data, and then sends the drawing board selected by the user and the folder for holding the drawing board data to the plug-in.
The plug-in receives the drawing board selected by the user and the folder for holding the drawing board data, and sends pre-uploading information to the background server, wherein the pre-uploading information can comprise version information and file names of sketch graphic files and information of the folder for storing the drawing board data.
The plugin decompresses the sketch graphic file to obtain a plurality of sub-files such as json format files and page folders, edits the decompressed metadata, removes the page and drawing board data which are not selected by a user in the page folder, and then recompresses the sub-files to obtain the simplified sketch graphic file.
And the plugin uploads the simplified sketch graphic files to the server, and the server keeps the received simplified sketch graphic files in a folder selected by the user and returns a notification of successful uploading to the plugin.
And the plug-in deletes the local simplified sketch graphic file and finishes the processing task of the sketch graphic file.
On the basis of the foregoing embodiments, as an optional embodiment, modifying the original metadata and the page folder according to the selected drawing board to obtain modified metadata and page folder includes:
s301, according to the page folder and the selection operation, unique identification and page name of one or more pages and unique identification and drawing board name of the target drawing board in each page are obtained, and drawing board selection information and page drawing board information are generated.
According to the embodiment of the application, the drawing board selection information and the page drawing board information need to be generated according to the unique identification and the page name of one or more pages and the unique identification and the drawing board name of the target drawing board in each page.
The page drawing board information generated in the embodiment of the application comprises a corresponding relation between the unique identifier of each page in one or more pages, the page name of each page and first corresponding relation information, and the first corresponding relation information comprises a corresponding relation between the unique identifier of a target drawing board in each page and the drawing board name. The page palette information may be named pagesandartboards data.
That is to say, the page drawing board information realizes classification of the information of the target drawing board in each page, and by constructing the page drawing board information, the unique identifier and the drawing board name of the target drawing board in each page can be found subsequently by searching the unique identifier of each page.
The page drawing board information is generated for metadata in the embodiment of the application, because the metadata has an original page drawing board information, the original page drawing board information records a corresponding relationship between a unique identifier of each page in one or more pages and a page name of each page and drawing board corresponding relationship information, and the drawing board corresponding relationship information includes a corresponding relationship between the unique identifier of each drawing board in the page and the drawing board name.
The drawing board selection information generated by the embodiment of the application comprises the corresponding relation between the unique identifier of each page in one or more pages and the unique identifier of the target drawing board in each page. And updating the style information of each page in the page folder for the follow-up according to the unique identifier of the page and the unique identifier of the target drawing board in the drawing board selection information by generating drawing board selection information. The palette selection information may be named selectpagesartboards data.
For example, if the sketch graphic file shares 2 pages, where page 1 includes palette 1 and palette 2, and page 2 includes palette 3, where the unique identifier of page 1 is ym1, and the page name is pen; the unique identifier of the page 2 is ym2, and the page name is pencil; the unique identifiers of the drawing boards 1-3 are hb1, hb2 and hb3, respectively, the names of the drawing boards 1-3 are huaban1, huaban2 and huaban3, and the original page drawing board information may be:
ym1-pen-(huaban1-hb1),(huaban2-hb2);
ym2-pencil-(huaban3-hb3),(huaban3-hb3)。
if the drawing board selected by the user is drawing board 2, the page drawing board information generated in step S301 may be:
ym1-pen-(huaban2-hb2);
ym2-pencil-null。
in the newly generated page palette information, since one selected palette exists in the page 1, the page palette information includes the first correspondence information of the palette 2, and the first correspondence information in the page 2 is null (null).
It should be noted that, in addition to the above form of the page drawing board information, if there is no target drawing board in a page, the page drawing board information may not record related information of the page, and in the above example, the page drawing board information may also be: ym1-pen- (huaban2-hb 2).
The drawing board selection information generated by step S301 may be:
ym1-hb2;
ym2-null。
in the generated drawing board selection information, because one target drawing board exists in the page 1, the page drawing board information has a corresponding relationship between the unique identifier ym1 of the page 1 and the unique identifier hb2 of the drawing board 2, while the page 2 does not have the target drawing board, and the unique identifier ym2 of the page 2 corresponds to a null value.
In addition to the above form of the drawing board selection information, if there is no target drawing board in a page, the drawing board selection information may not record related information of the page, and the drawing board selection information is, for example, as follows: ym1-hb 2.
S302, according to the page drawing board information, original metadata are modified, and modified metadata are obtained.
Specifically, in the embodiment of the present application, the page drawing board information generated in step S301 is replaced with the original page drawing board information in the metadata to implement updating.
And S303, modifying the original page folder according to the drawing board selection information to obtain the modified page folder.
Because the corresponding relation between the unique identification of the page, the drawing board data of the drawing board in the page and the unique identification of the target drawing board is recorded in the drawing board selection information, the unique identification of each page in the drawing board selection information can be traversed, if the unique identification of the target drawing board exists under a certain page, the drawing board data of the target drawing board is correspondingly reserved in the page folder, and if the unique identification of the target drawing board does not exist under a certain page, the specific style information of the page in the page folder can be directly deleted, so that the simplification of the subfiles is realized in an express way.
On the basis of the foregoing embodiments, as an optional embodiment, before generating the palette selection information and the page palette information, the embodiment of the present application further includes:
s401, for each page in one or more pages, generating corresponding page data and drawing board updating data according to the subfiles and the selected operation.
Specifically, in the embodiment of the present application, through an api (application Programming interface) application program interface provided by the sketch graphic file, a document.
When the page is traversed, the page name and the unique identifier of the page are written into page data, and the page data can be named by pagedata.
When the drawing boards in the pages are traversed, all the drawing boards under each page can be obtained through an API (application programming interface) provided by the sketch graphic file, and data required in the drawing boards are obtained through traversing each drawing board:
and acquiring the unique identifier and the name of the drawing board through an API (application programming interface) provided by the sketch graphic file, judging whether the drawing board is selected, and writing the information into drawing board updating data, wherein the drawing board updating data can be named according to artboarddsdata.
S402, determining a drawing board corresponding to the selected target identification according to drawing board updating data, and storing the unique identification of the drawing board corresponding to the selected target identification and the drawing board updating data into page data;
according to the information of whether each drawing board recorded in the drawing board updating data is selected, the unique identifier of the drawing board corresponding to the selected target identifier can be selected, the unique identifier is recorded in the selected drawing board array pagedata.
On the basis of the above embodiments, as an optional embodiment, generating drawing board selection information and page drawing board information includes:
and generating drawing board selection information and page drawing board information according to the page data of one or more pages.
Specifically, the name of the drawing board corresponding to the unique identifier of the selected drawing board in the drawing board update data is searched in the drawing board array in the page data through the unique identifier of the drawing board corresponding to the selected target identifier recorded in the selected array in the page data, and drawing board selection information and page drawing board information can be correspondingly obtained by combining the unique identifier and the page name of the page recorded in the page data.
For example, the following information is recorded in certain page data:
page name: pen;
unique identification of the page: ym 1;
selecting an array: hb 1;
drawing board array:
the drawing board updates data:
hb1, huaban1, type 1, selected;
hb2, huaban2, type 2, unselected.
The page data records a page with a page name pen and a page identifier ym1, and the page data has two drawing boards, wherein the drawing board 1 is a drawing board selected by a user, the unique identifier of the drawing board is hb1, the drawing board name is huaban1, the drawing board type is 1, the drawing board 2 is a drawing board not selected by the user, the unique identifier of the drawing board is hb2, the drawing board name is huaban2, and the drawing board type is 2.
When obtaining the page drawing board information according to the page data, it can be known that the page has a drawing board corresponding to the selected target identifier according to the fact that the selected array is not empty, and it can be further known according to the drawing board update data that the drawing board 2 in the page is actually a layer copied from a control although the drawing board is not selected, and the type of the drawing board is the control type, so that the drawing board 2 should also be used as a target drawing board.
Combining the unique identification and name of the recorded page in the page data, the page drawing information can be obtained:
ym1-pen-(huaban1-hb1,huaban2-hb2)
on the basis of the foregoing embodiments, as an optional embodiment, generating page palette information includes:
s501, for each page in one or more pages, determining a target drawing board in each page, and a unique identifier and a drawing board name of the target drawing board, and obtaining first corresponding relation information of the page.
Specifically, the first corresponding information of the page may be obtained by traversing the page data in the embodiment of the present application: because the drawing board updating data in the page data comprises the drawing board types of all the drawing boards in the page and the information about whether the drawing boards are selected, the target drawing board can be determined by inquiring the drawing board types and the drawing boards corresponding to the selected target identification, and the first corresponding relation information of the page is further obtained according to the unique identification and the name of the target drawing board recorded in the drawing board updating data.
S502, according to the unique identification, the page name and the first corresponding relation information of the page, obtaining second corresponding relation information of the page, wherein the second corresponding relation information comprises the unique identification of each page and the corresponding relation between the page name and the first corresponding relation information of each page.
Specifically, in the embodiment of the present application, the unique identifier of each page may be used as a key (key) in a key value pair, and the page name and the first corresponding relationship information of the page may be used as a value (value) in the key value pair, so as to identify the second corresponding relationship information of the page in a key value pair form.
Further, when the metadata is updated according to the page drawing board information, the unique identifier of the page can be used as a key to search the key value pair, and the value corresponding to the key is obtained, so that the name of each page, and the unique identifier and the drawing board name of the target drawing board in the page are obtained.
S503, obtaining page drawing board information according to the second corresponding relation information in one or more pages.
And page drawing board information can be obtained by summarizing the second corresponding relation information of all the pages.
The page drawing board information may be in the form of a table, two columns of information exist in the page drawing board information table, one column is key, and the other column is value, as shown in table 1, the page drawing board information table of the embodiment of the present application is shown in table 1, in the table, second correspondence information of two pages is recorded, wherein the unique identifier of the first page is ym4, the unique identifier of the second page is ym7, the unique identifier of the page is stored in the table as a key, the name of the page of each page and the name and the unique identifier of the target drawing board are stored in the table as values, it should be understood that, since the value includes a plurality of data, a separator needs to be arranged between different data, and in the embodiment of the present application, a comma is merely an optional example, and is not limited to the use of other symbols such as "/,". ","; ","; "and the like. In the embodiment of the present application, the "-" indicates that the correspondence between the name of the drawing board and the unique identifier of the drawing board is only an optional example, and is not limited to other terms such as "/", ". ","; ","; "etc., it is to be understood that the delimiters in the table and the symbols identifying the correspondence should be two different symbols.
Figure BDA0002888230060000231
TABLE 1 Page drawing board information table
On the basis of the foregoing embodiments, as an optional embodiment, the generating of drawing board selection information in the embodiments of the present application includes:
s601, for each page in one or more pages, determining a target drawing board in each page and a unique identifier of the target drawing board.
Specifically, the target drawing board and the unique identifier of the target drawing board in each page can be obtained by traversing page data in the embodiment of the application. And traversing the page data by using the unique identifier of each page to obtain drawing board updating data corresponding to the unique identifier of the page, and obtaining the target drawing board and the unique identifier of the target drawing board from the drawing board updating data.
S602, obtaining the unique identifier of each page and the unique identifier of the target drawing board in each page, and obtaining third corresponding relation information of each page according to the corresponding relation between the unique identifier of each page and the unique identifier of the target drawing board in each page.
Specifically, the unique identifier of the page may be used as a key (key) in a key value pair, and the unique identifier of the target bread in the page may be used as a value (value) in the key value pair, so as to identify the third correspondence information of the page in the form of a key value pair.
Further, when a page where the target drawing board is located is reserved in the page folder according to the drawing board selection information, the unique identifier of the page can be used as a key to search for the key value pair to obtain a value corresponding to the key, so that the unique identifier of the target drawing board in each page is obtained, the unique identifier of the drawing board reserved in the page folder is the drawing board of the unique identifier of the target drawing board recorded in the drawing board selection information and the page where the drawing board is located, and the subfiles are simplified.
And S603, obtaining drawing board selection information according to the third corresponding relation information of one or more pages.
And obtaining the drawing board selection information by summarizing the third corresponding relation information of all the pages. The drawing board selection information may be in the form of a table, two columns of information exist in a drawing board selection information table, one column is key, the other column is value, as shown in table 2, a drawing board selection information table of the present embodiment is shown in table 2, in the table, third correspondence information of two pages is recorded, wherein the unique identifier of the first page is ym4, the unique identifier of the second page is ym7, the unique identifiers of the pages are stored in the table as keys, and the unique identifier of the target drawing board in each page is stored as a value in the table. ","; ","; "and the like.
Key Value
ym4 hb13,hb19
ym7 hb14
Table 2 drawing board selection information table
Further, in the drawing board selection information in the embodiment of the application, in addition to recording the unique identifier of the target drawing board, the name, the page name, and the like of the target drawing board may also be recorded. Correspondingly, the name and the page name of the target drawing board are also recorded in the value in the drawing board selection information table.
When the drawing board selection information is generated, the related information of the page with the target drawing board can not be recorded in the drawing board selection information, so that when the target drawing board and the page where the target drawing board is located are kept in the page folder according to the drawing board selection information, for the page which is not recorded in the unique identification of the page in the drawing board selection information in the page folder, the whole page in the page folder can be directly deleted, and the simplification efficiency is further improved.
On the basis of the above embodiments, as an optional embodiment, the method for displaying a drawing board corresponding to a target identifier includes:
and displaying one or more of the text description and the thumbnail of the drawing board corresponding to the target identifier.
As shown in the sub-interface 10f in fig. 2d, when the sub-interface 10f displays the drawing board, the text descriptions of the drawing board "drawing board 2" and "drawing board 3" are displayed, and thumbnails of the drawing board 2 and the drawing board 3 are also displayed at the same time.
On the basis of the above embodiments, as an alternative embodiment, the method further includes one or more of the following steps:
specifically, in the embodiment of the present application, the information that the processed sketch graphic file is successfully exported may be displayed in a manner of a sub-interface 10k as shown in fig. 2 e.
The method and the device have the advantages that the processed sketch graphic files can be uploaded to the cloud end for other users to browse, the uploaded sketch graphic files are simplified sketch graphic files, and the files are compressed through subfiles, so that the files can be normally edited by other users.
And displaying the successful uploading information of the processed sketch graphic file.
When the information which is successfully uploaded and the information which is successfully exported are displayed, the information can be displayed on the same interface, and the information can also be displayed on different interfaces.
On the basis of the above embodiments, the embodiments of the present application further include one or more of the following steps:
previewing the processed sketch graphic file;
taking fig. 2e as an example, the sub-interface 10L of the preview control is provided in the interface shown in fig. 2e, so that the sketch graphics program can automatically display the exported processed sketch graphics file after triggering the preview control.
The sharing of the processed sketch graphics file specifically includes:
and copying the page link where the sketch graphic file is located after the processing, and sharing the page link.
Taking fig. 2e as an example, a clickable copy link control is displayed in the sub-interface 10m, and after the user clicks the copy link control, the sketch graphics processing program can copy the links of the sketch graphics file after simplified editing in the server, so as to help the user to paste the links to chat software, blogs, memorandum, etc. for browsing by himself or others.
The controls for triggering the sketch graphic file after the preview processing and the sketch graphic file after the analysis processing in the embodiment of the present application may be displayed on the same interface (for example, controls in sub-interfaces 10L and 10m in fig. 2 e), or may be displayed on different interfaces, which is not limited in detail in the embodiment of the present application.
On the basis of the foregoing embodiments, as an optional embodiment, the embodiment of the present application shows information that is successfully uploaded, and then further includes: and deleting the local simplified sketch graphic file.
That is to say, after uploading the local complete sketch graphic file to the cloud, the author of the sketch graphic file in the embodiment of the application deletes the local simplified sketch graphic file, and only the complete sketch graphic file is locally reserved.
An embodiment of the present application provides a sketch graphics file processing apparatus, as shown in fig. 5, the apparatus may include: the file displaying module 101, the drawing board selecting module 102 and the file processing module 103 are specifically:
the sketch file displaying module 101 is configured to display a sketch graphic file to be processed, where the sketch graphic file to be processed includes page identifiers of one or more pages, and each page identifier includes a drawing board identifier of one or more drawing boards;
a drawing board selection module 102, configured to respond to a selection operation for one or more object identifiers in the drawing board identifiers, and display a drawing board corresponding to the object identifier;
and the file processing module 103 is configured to generate a processed sketch graphic file according to the drawing board corresponding to the selected target identifier in response to the trigger operation for the export control.
The device for processing a sketch graphic file provided in the embodiment of the present invention specifically executes the process of the method embodiment, and details of the content of the method embodiment for processing a sketch graphic file are specifically referred to, and are not described herein again. The device provided by the embodiment of the invention displays the sketch graphic file to be processed, the sketch graphic file to be processed comprises page identifications of one or more pages, a drawing board identification of one or more drawing boards is arranged under each page identification, the user can select the target mark from the drawing board marks, the displayed drawing board can be conveniently confirmed by the user, and by responding to the triggering operation aiming at the export control, the method and the device for displaying the sketch map on the sketchpad can lay a foundation for meeting the requirement that a user selectively displays (shares) part of sketchpads in the local sketch map file in the follow-up mode according to the sketchpad corresponding to the selected target identification, and overcome the defects that in the prior art, only the sketchpad can be uploaded to the cloud end and then browsed through a webpage to be edited, only the complete sketch file can be obtained, and parts which are not desired to be displayed cannot be removed.
In one possible implementation, the presentation file module includes:
the first interface display submodule is used for displaying the sketch graphic file to be processed on a first interface;
the second interface creating sub-module is used for responding to the triggering operation of the export control on the first interface and creating a second interface;
the second interface display submodule is used for displaying a second interface and displaying page identifications of one or more pages of the sketch graphic file to be processed in the second interface, wherein each page identification comprises drawing board identifications of one or more drawing boards;
and the second interface is displayed with a export control.
In one possible implementation, the file processing module includes:
the decompression submodule is used for decompressing the sketch graphic file to be processed and obtaining original metadata and a page folder of the sketch graphic file to be processed;
the deleting submodule is used for modifying the original metadata and the page folder according to the selected drawing board to obtain the modified metadata and the page folder;
the compression submodule is used for compressing according to the modified metadata and the page folder to obtain a processed sketch graphic file;
the method comprises the steps that original metadata comprise the corresponding relation between pages and drawing boards in a sketch graphic file to be processed, an original page folder comprises style information of one or more pages, the style information comprises unique identification of the pages, page names and drawing board data of the drawing boards in the pages, and the drawing board data comprises the unique identification of the drawing boards, the drawing board names, drawing board types and drawing board layer parameters in the drawing boards;
the modified metadata comprises the corresponding relation between the target drawing board and the page where the target drawing board is located, and the modified page folder comprises style information of the page where the target drawing board is located; the target drawing board comprises a drawing board corresponding to the selected target identification and a drawing board with a drawing board type being a control type.
The deletion submodule includes:
the information generating unit is used for acquiring unique identifiers and page names of one or more pages and unique identifiers and picture board names of target picture boards in each page according to the page folder and the selecting operation so as to generate picture board selecting information and page picture board information;
the metadata updating unit is used for modifying original metadata according to the page drawing board information to obtain modified metadata;
the page folder updating unit is used for modifying the original page folder according to the drawing board selection information to obtain a modified page folder;
the page drawing board information comprises a unique identifier and a page name of each page in one or more pages and a corresponding relation between first corresponding relation information, and the first corresponding relation information comprises a corresponding relation between the unique identifier and the drawing board name of a target drawing board in each page;
the drawing board selection information comprises the corresponding relation between the unique identifier of each page in one or more pages and the unique identifier of the target drawing board in each page.
In one possible implementation manner, the sketch graphics file processing apparatus further includes:
the data generation module is used for generating corresponding page data and drawing board updating data according to a page folder and selection operation for each page in one or more pages, wherein the page data comprises page names and unique identifiers of the pages, and the drawing board updating data comprises drawing board names, unique identifiers, drawing board types of all drawing boards in the pages and information about whether the drawing boards are selected;
the page data editing module is used for determining the drawing board corresponding to the selected target identifier according to the drawing board updating data and storing the unique identifier of the drawing board corresponding to the selected target identifier and the drawing board updating data into page data;
the information generating unit is specifically configured to: and generating drawing board selection information and page drawing board information according to the page data of one or more pages.
In one possible implementation manner, the information generating unit includes a drawing board information generating subunit for generating the page drawing board information, and the drawing board information generating subunit includes:
the first corresponding relation subunit is used for determining the unique identifier and the drawing board name of the target drawing board in each page to obtain first corresponding relation information of the page;
the second corresponding relation subunit is used for obtaining second corresponding relation information of each page according to the unique identifier, the page name and the first corresponding relation information of each page, wherein the second corresponding relation information comprises the unique identifier, the page name and the corresponding relation among the first corresponding relation information of each page;
and the first gathering subunit is used for acquiring the page drawing board information according to the second corresponding relation information of one or more pages.
In one possible implementation manner, the information generating unit includes a drawing board selection generating subunit configured to generate the drawing board selection information, and the drawing board selection generating subunit includes:
the identification determining subunit is used for determining a target drawing board in each page and a unique identification of the target drawing board for each page in one or more pages;
the third corresponding relation subunit is used for acquiring the unique identifier of each page and the unique identifier of the target drawing board in each page, and obtaining third corresponding relation information of each page according to the corresponding relation between the unique identifier of each page and the unique identifier of the target drawing board in each page;
and the second gathering subunit is used for obtaining drawing board selection information according to the third corresponding relation information of one or more pages.
In a possible implementation manner, the drawing board type is a control type drawing board, and the drawing board is one or more layers of a common component preset in a drawing board of a sketch graphic file to be processed.
In a possible implementation manner, the drawing board selection module includes a drawing board display module for displaying the drawing board corresponding to the target identifier, and the drawing board display module is specifically configured to display one or more of a text description and a thumbnail of the drawing board corresponding to the target identifier.
In one possible implementation, the sketch graphics file processing apparatus further includes one or more of the following modules: the export success display module is used for displaying the information of successful export of the processed sketch graphic file;
the uploading module is used for uploading the processed sketch graphic file to a cloud;
and the uploading success display module is used for displaying information of successful uploading of the processed sketch graphic file.
In one possible implementation, the processing device of the key graphic file further includes one or more of the following modules:
the preview module is used for previewing the processed sketch graphic file;
the sharing module is used for sharing the processed sketch graphic file;
the sharing module is specifically configured to:
and copying the page link where the sketch graphic file is located after the processing, and sharing the page link.
An embodiment of the present application provides an electronic device, including: a memory and a processor; one or more programs, stored in the memory for execution by the processor, that implement, in comparison to the prior art: .
In an alternative embodiment, an electronic device is provided, as shown in fig. 6, the electronic device 4000 shown in fig. 6 comprising: a processor 4001 and a memory 4003. Processor 4001 is coupled to memory 4003, such as via bus 4002. Optionally, the electronic device 4000 may also include a transceiver 4004. It should be noted that the transceiver 4004 is not limited to one in practical applications, and the structure of the electronic device 4000 is not limited to the embodiment of the present application.
The Processor 4001 may be a CPU (Central Processing Unit), a general purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (field programmable Gate Array), or other programmable logic device, transistor logic, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 4001 may also be a combination that performs a computing function, e.g., comprising one or more microprocessors, a combination of DSPs and microprocessors, or the like.
Bus 4002 may include a path that carries information between the aforementioned components. The bus 4002 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 4002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The Memory 4003 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic Disc storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer, but is not limited to.
The memory 4003 is used for storing application codes for implementing the present scheme, and execution is controlled by the processor 4001. Processor 4001 is configured to execute application code stored in memory 4003 to implement what is shown in the foregoing method embodiments.
The present application provides a computer-readable storage medium, which stores a computer program, and when the computer program runs on a computer, the computer can execute the corresponding content in the foregoing method embodiments. Compared with the prior art, by displaying the sketch graphic file to be processed, the sketch graphic file to be processed comprises page identifications of one or more pages, a drawing board identification of one or more drawing boards is arranged under each page identification, the user can select the target mark from the drawing board marks, the displayed drawing board can be conveniently confirmed by the user, and by responding to the triggering operation aiming at the export control, the sketch graphic file after processing (after simplification) is generated according to the drawing board corresponding to the selected target identification, the embodiment of the application can lay a foundation for meeting the requirement that a user selectively displays (shares) part of drawing boards in the local sketch graphic file, and overcomes the defects that in the prior art, only the layer in the sketch graphic file can be browsed through a webpage after the sketch graphic file is uploaded to a cloud end, so that editing cannot be performed, and only the complete sketch file can be obtained, so that parts which are not desired to be displayed cannot be removed.
The present application provides a computer program, which includes computer instructions stored in a computer-readable storage medium, and when a processor of a computer device reads the computer instructions from the computer-readable storage medium, the processor executes the computer instructions, so that the computer device executes the contents as shown in the foregoing method embodiments. Compared with the prior art, by displaying the sketch graphic file to be processed, the sketch graphic file to be processed comprises page identifications of one or more pages, each page identification comprises drawing board identifications of one or more drawing boards, the user can select the target mark from the drawing board marks, the displayed drawing board can be conveniently identified by the user, and by responding to the triggering operation aiming at the export control, the method and the device for displaying the sketch map on the sketchpad can lay a foundation for meeting the requirement that a user selectively displays (shares) part of sketchpads in the local sketch map file in the follow-up mode according to the sketchpad corresponding to the selected target identification, and overcome the defects that in the prior art, only the sketchpad can be uploaded to the cloud end and then the picture layer in the sketch map file can be browsed through a webpage, so that editing cannot be performed, and only the complete sketch file can be obtained, so that parts which are not desired to be displayed cannot be removed.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or in turns with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (15)

1. A sketch graphic file processing method is characterized by comprising the following steps:
displaying a sketch graphic file to be processed, wherein the sketch graphic file to be processed comprises page identifications of one or more pages, and each page identification comprises drawing board identifications of one or more drawing boards;
responding to the selected operation aiming at one or more target identifications in the drawing board identifications, and displaying the drawing board corresponding to the target identification;
and responding to the triggering operation aiming at the export control, and generating a processed sketch graphic file according to the drawing board corresponding to the selected target identification.
2. The method for processing the sketch graphic file as claimed in claim 1, wherein said displaying the sketch graphic file to be processed comprises:
displaying a sketch graphic file to be processed on a first interface;
creating a second interface in response to a triggering operation for an export control on the first interface;
displaying the second interface, and displaying page identifications of one or more pages of the sketch graphic file to be processed in the second interface, wherein each page identification comprises drawing board identifications of one or more drawing boards;
and a exporting control is displayed on the second interface.
3. The method for processing the sketch graphic file as claimed in claim 1 or 2, wherein the generating the processed sketch graphic file comprises:
decompressing the sketch graphic file to be processed to obtain original metadata and a page folder of the sketch graphic file to be processed;
modifying the original metadata and the page folder according to the selected drawing board to obtain modified metadata and a page folder;
compressing according to the modified metadata and the page folder to obtain the processed sketch graphic file;
the original metadata comprises a corresponding relation between pages and drawing boards in the sketch graphic file to be processed, the original page folder comprises style information of the one or more pages, the style information comprises a unique identifier of the page, a page name and drawing board data of the drawing boards in the page, and the drawing board data comprises a unique identifier of the drawing board, a drawing board name, a drawing board type and layer parameters in the drawing boards;
the modified metadata comprises a corresponding relation between a target drawing board and a page where the target drawing board is located, and the modified page folder comprises style information of the page where the target drawing board is located; the target drawing board comprises a drawing board corresponding to the selected target identification and a drawing board with a drawing board type being a control type.
4. The method for processing a sketch graphic file as claimed in claim 3, wherein the step of modifying the original metadata and the page folder according to the selected drawing board to obtain the modified metadata and the page folder comprises:
acquiring unique identification and page name of the one or more pages and unique identification and drawing board name of a target drawing board in each page according to the page folder and the selected operation to generate drawing board selection information and page drawing board information;
modifying the original metadata according to the page drawing board information to obtain the modified metadata;
modifying the original page folder according to the drawing board selection information to obtain the modified page folder;
the page drawing board information comprises a corresponding relation between the unique identifier of each page in the one or more pages and the page name and first corresponding relation information, and the first corresponding relation information comprises a corresponding relation between the unique identifier of the target drawing board in each page and the drawing board name;
the drawing board selection information comprises a corresponding relation between the unique identifier of each page in the one or more pages and the unique identifier of the target drawing board in each page.
5. The method for processing a sketch graphic file according to claim 4, wherein the generating of the palette selection information and the page palette information further comprises:
for each page in the one or more pages, generating corresponding page data and drawing board updating data according to the page folder and the selected operation, wherein the page data comprises a page name and a unique identifier of the page, and the drawing board updating data comprises drawing board names, unique identifiers, drawing board types of all drawing boards in the page and information about whether the drawing boards are selected;
determining a drawing board corresponding to the selected target identification according to the drawing board updating data, and storing the unique identification of the drawing board corresponding to the selected target identification and the drawing board updating data into the page data;
the generating of the drawing board selection information and the page drawing board information includes:
and generating the drawing board selection information and the page drawing board information according to the page data of the one or more pages.
6. The method for processing a sketch graphic file according to claim 4 or 5, wherein the generating page palette information comprises:
for each page in the one or more pages, determining a unique identifier and a drawing board name of a target drawing board in each page, and obtaining first corresponding relation information of the page;
obtaining second corresponding relation information of each page according to the unique identification, the page name and the first corresponding relation information of each page, wherein the second corresponding relation information comprises the unique identification, the page name and the corresponding relation among the first corresponding relation information of each page;
and obtaining the page drawing board information according to the second corresponding relation information of the one or more pages.
7. The sketch graphics file processing method of claim 4 or 5, wherein generating palette selection information comprises:
for each page in the one or more pages, determining a target drawing board in each page and a unique identifier of the target drawing board;
acquiring the unique identifier of each page and the unique identifier of the target drawing board in each page, and obtaining third corresponding relation information of each page according to the corresponding relation between the unique identifier of each page and the unique identifier of the target drawing board in each page;
and obtaining the drawing board selection information according to the third corresponding relation information of the one or more pages.
8. The method for processing the sketch graphic file according to any one of claims 3 to 7, wherein the drawing board type is a control type drawing board, and the drawing board is one or more layers which are preset as a common component in the drawing board of the sketch graphic file to be processed.
9. The method for processing the sketch graphic file as claimed in claim 1, wherein the drawing board corresponding to the display target identifier comprises:
and displaying one or more of the character description and the thumbnail of the drawing board corresponding to the target identification.
10. The method of processing sketch graphics files as claimed in claim 1, further comprising one or more of the following steps:
displaying information of successful exporting of the processed sketch graphic file;
uploading the processed sketch graphic file to a cloud;
and displaying the information that the processed sketch graphic file is successfully uploaded.
11. The method of processing sketch graphics files as claimed in claim 1, further comprising one or more of the following steps:
previewing the processed sketch graphic file;
sharing the processed sketch graphic file;
the sharing the processed sketch graphic file comprises the following steps:
copying the page link where the processed sketch graphic file is located, and sharing the page link.
12. A sketch graphics file processing apparatus, comprising:
the sketch file display method comprises a file display module, a sketch file display module and a sketch file display module, wherein the file display module is used for displaying a sketch graphic file to be processed, the sketch graphic file to be processed comprises page identifications of one or more pages, and each page identification comprises drawing board identifications of one or more drawing boards;
the drawing board selection module is used for responding to selection operation aiming at one or more target identifications in the drawing board identifications and displaying the drawing board corresponding to the target identification;
and the file processing module is used for responding to the triggering operation aiming at the export control and generating a processed sketch graphic file according to the drawing board corresponding to the selected target identification.
13. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method for processing a sketch graphics file as claimed in any one of claims 1 to 11 when executing said program.
14. A computer-readable storage medium, characterized in that it stores computer instructions that cause the computer to perform the steps of the method of processing sketch graphics files according to any one of claims 1 to 11.
15. A computer program, characterized in that the computer program comprises computer instructions stored in a computer readable storage medium, which, when read by a processor of a computer device from the computer readable storage medium, cause the processor to execute the computer instructions, so that the computer device performs the steps of the method for processing a sketch graphics file as claimed in any one of the claims 1-11.
CN202110019726.XA 2021-01-07 2021-01-07 sketch graphic file processing method and device, electronic equipment and storage medium Pending CN114741139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110019726.XA CN114741139A (en) 2021-01-07 2021-01-07 sketch graphic file processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110019726.XA CN114741139A (en) 2021-01-07 2021-01-07 sketch graphic file processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114741139A true CN114741139A (en) 2022-07-12

Family

ID=82274090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110019726.XA Pending CN114741139A (en) 2021-01-07 2021-01-07 sketch graphic file processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114741139A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328855A (en) * 2022-10-17 2022-11-11 北京尽微致广信息技术有限公司 Method and device for evaluating file reduction degree, storage medium and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328855A (en) * 2022-10-17 2022-11-11 北京尽微致广信息技术有限公司 Method and device for evaluating file reduction degree, storage medium and equipment
CN115328855B (en) * 2022-10-17 2023-01-24 北京尽微致广信息技术有限公司 Method and device for evaluating file reduction degree, storage medium and equipment

Similar Documents

Publication Publication Date Title
US20190339830A1 (en) Multi-Directional and Variable Speed Navigation of Collage Multi-Media
WO2022037336A1 (en) Document processing method, apparatus and device, and medium
US8365092B2 (en) On-demand loading of media in a multi-media presentation
CN101957730B (en) Messaging device and information processing method
US10909304B2 (en) Methods and systems for WYSIWYG web content generation
US9037974B2 (en) Creating and editing dynamic graphics via a web interface
US20090307602A1 (en) Systems and methods for creating and sharing a presentation
CN105446744A (en) Internet based display material system and display material making method
CN105745637A (en) Sharing a file via email
CN113535176A (en) Page generation method and device
CN103201997A (en) A method and system of Web-based document service
US20160188155A1 (en) Creating and editing digital content works
US20130046935A1 (en) Shared copy cache across networked devices
KR101567455B1 (en) Defining an interactive user interface
US10346531B2 (en) Information processing system, information processing apparatus, control method, and storage medium
JP6740651B2 (en) Information processing apparatus, system, information processing method, and program
CN116579295A (en) Method for dynamically inserting pages, moving bits and hiding and displaying multi-format file subscription
CN112445400A (en) Visual graph creating method, device, terminal and computer readable storage medium
CN117093386B (en) Page screenshot method, device, computer equipment and storage medium
CN114154000A (en) Multimedia resource publishing method and device
CN114741139A (en) sketch graphic file processing method and device, electronic equipment and storage medium
CN110647327B (en) Method and device for dynamic control of user interface based on card
CN112835577A (en) Data processing method, data processing device, computer equipment and readable storage medium
CN113282852A (en) Method and device for editing webpage
CN114063996A (en) Method and equipment for generating webpage and storage 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