CN111782315A - Method, device and storage medium for sharing design object - Google Patents

Method, device and storage medium for sharing design object Download PDF

Info

Publication number
CN111782315A
CN111782315A CN202010526245.3A CN202010526245A CN111782315A CN 111782315 A CN111782315 A CN 111782315A CN 202010526245 A CN202010526245 A CN 202010526245A CN 111782315 A CN111782315 A CN 111782315A
Authority
CN
China
Prior art keywords
master
request
mode
instance
creating
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
CN202010526245.3A
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.)
Beijing Modao Carving Technology Co ltd
Original Assignee
Beijing Modao Carving Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Modao Carving Technology Co ltd filed Critical Beijing Modao Carving Technology Co ltd
Priority to CN202010526245.3A priority Critical patent/CN111782315A/en
Publication of CN111782315A publication Critical patent/CN111782315A/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

Abstract

The application discloses a method, a device and a storage medium for sharing a design object. Wherein, the method comprises the following steps: according to a received master creation request, creating a master corresponding to a shared design object, wherein the design object is a design component and/or a design element, and the master creation request is used for indicating a user to request to create the master corresponding to the design object; according to a received master instance creating request, creating a master instance corresponding to the master, wherein the master instance creating request is used for indicating the user to request to create the master instance corresponding to the master; modifying the master according to the received master modification request, and synchronously modifying the master instance under the condition that the mode of the master instance is judged to be an inheritance mode, wherein the master instance is configured to be synchronously modified along with the modification of the master under the inheritance mode.

Description

Method, device and storage medium for sharing design object
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, and a storage medium for sharing a design object.
Background
When it is currently desired to share design elements/components between different design pages/sketchpads/modules, users often can only paste the shared elements and components by copying. And later when the style or characters of the elements/components need to be modified, the user cannot modify the style or characters of the repeated elements/components at one time, and all the pages/drawing boards/modules need to be modified manually, so that time and labor are wasted, errors are easy to occur, the design is inconsistent, and the maintainability is extremely poor.
Disclosure of Invention
Embodiments of the present disclosure provide a method, apparatus, and storage medium for sharing a design object, which aim to overcome the above problems or at least partially solve or mitigate the above problems.
According to an aspect of an embodiment of the present disclosure, there is provided a method of sharing a design object, including: according to a received master creation request, creating a master corresponding to a shared design object, wherein the design object is a design component and/or a design element, and the master creation request is used for indicating a user to request to create the master corresponding to the design object; according to a received master instance creating request, creating a master instance corresponding to the master, wherein the master instance creating request is used for indicating the user to request to create the master instance corresponding to the master; modifying the master according to the received master modification request, and synchronously modifying the master instance under the condition that the mode of the master instance is judged to be an inheritance mode, wherein the master instance is configured to be synchronously modified along with the modification of the master under the inheritance mode.
According to another aspect of the embodiments of the present disclosure, there is also provided a storage medium including a stored program, wherein the method of any one of the above is performed by a processor when the program is executed.
According to another aspect of the embodiments of the present disclosure, there is also provided an apparatus for sharing a design object, including: the master set creating module is used for creating a master set corresponding to a shared design object according to a received master set creating request, wherein the design object is a design component and/or a design element, and the master set creating request is used for indicating a user to request to create the master set corresponding to the design object; the master plate example creating module is used for creating a master plate example corresponding to the master plate according to a received master plate example creating request, wherein the master plate example creating request is used for indicating the user to request to create the master plate example corresponding to the master plate on the page and/or the drawing board; and the modification module is used for modifying the master according to the received master modification request and synchronously modifying the master example under the condition that the mode of the master example is judged to be an inheritance mode, wherein the master example is configured to be synchronously modified along with the modification of the master under the inheritance mode.
According to another aspect of the embodiments of the present disclosure, there is also provided an apparatus for sharing a design object, including: a processor; and a memory coupled to the processor for providing instructions to the processor for processing the following processing steps: according to a received master creation request, creating a master corresponding to a shared design object, wherein the design object is a design component and/or a design element, and the master creation request is used for indicating a user to request to create the master corresponding to the design object; according to a received mother board example creating request, creating a mother board example corresponding to the mother board on a page and/or a drawing board, wherein the mother board example creating request is used for indicating the user to request to create the mother board example corresponding to the mother board on the page and/or the drawing board; modifying the master according to the received master modification request, and synchronously modifying the master instance under the condition that the mode of the master instance is judged to be an inheritance mode, wherein the master instance is configured to be synchronously modified along with the modification of the master under the inheritance mode.
In the embodiment of the disclosure, design components/elements that need to be shared between the same or different pages/panels/modules may be created as reusable mother boards, a user may apply these mother boards and create mother board instances on the same or different pages/panels/modules through a drag operation, one mother board may have multiple mother board instances, and the mother board instances may be distributed in different design pages/panels/modules. The master example has two modes, inheritance and independence. In the inheritance mode, when a user modifies the master, all master instances with the inheritance mode of the same master on other pages/drawing boards/modules can be modified synchronously. In the independent mode, user modification of the master does not affect the master instance with the independent mode. The user can convert the mode of the master instance from the legacy mode to the independent mode. When the user sets the master example to be in an inheritance mode, the user can also select certain attributes covering the master, namely, the certain attributes of the master example are set to be fixed attributes, so that when the attributes of the master are modified, the fixed attributes of the master example with the inheritance mode can also continuously keep the original attributes without being influenced by the modification of the master. Therefore, by the mode, the technical effects that repeated mother plate examples can be modified at one time, time and labor are saved, mistakes are not easy to make, and maintainability is high are achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the disclosure and together with the description serve to explain the disclosure and not to limit the disclosure. In the drawings:
fig. 1 is a hardware block diagram of a computing device for implementing the method according to embodiment 1 of the present disclosure;
FIG. 2 is a schematic flow chart diagram of a method of sharing a design object according to a first aspect of embodiment 1 of the present disclosure;
FIG. 3 is an interface for creating a master of design components shared with in a page according to embodiment 1 of the present disclosure;
fig. 4 is an interface for editing a master in a master list according to embodiment 1 of the present disclosure;
fig. 5 is an interface for editing a master in a master editing area according to embodiment 1 of the present disclosure;
FIG. 6 is an interface of an example of a modification master which is synchronized with the modification of a page following master according to embodiment 1 of the present disclosure;
fig. 7 is an interface where two instances of masters are created according to embodiment 1 of the present disclosure;
fig. 8 is an interface for converting a mode of a master instance into an independent mode in a page according to embodiment 1 of the present disclosure;
FIG. 9 is an interface for synchronously modifying a master instance with an inherited mode and asynchronously modifying a master instance with an independent mode following modification of a master in a page according to embodiment 1 of the present disclosure;
fig. 10a is an interface for creating a plurality of reticle states in a reticle editing zone according to embodiment 1 of the present disclosure;
fig. 10b is yet another interface for creating multiple master states in a master edit area according to embodiment 1 of the present disclosure;
fig. 10c is an interface for linking two states of a master in a master editing area according to embodiment 1 of the present disclosure;
fig. 10d is yet another interface for linking two states of a master in a master editing area according to embodiment 1 of the present disclosure;
FIG. 11 is a schematic illustration of an apparatus for sharing a design object according to embodiment 2 of the present disclosure; and
fig. 12 is a schematic diagram of an apparatus for sharing a design object according to embodiment 3 of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. It is to be understood that the described embodiments are merely exemplary of some, and not all, of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to the present embodiment, there is also provided an embodiment of a method of sharing a design object, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system, such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The method embodiments provided by the present embodiment may be executed in a server or similar computing device. FIG. 1 illustrates a hardware architecture block diagram of a computing device for implementing a method of sharing design objects. As shown in fig. 1, the computing device may include one or more processors (which may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory for storing data, and a transmission device for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computing device may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuitry may be a single, stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computing device. As referred to in the disclosed embodiments, the data processing circuit acts as a processor control (e.g., selection of a variable resistance termination path connected to the interface).
The memory may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the method for sharing design objects in the embodiments of the present disclosure, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, the method for sharing design objects of the application software is implemented. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory located remotely from the processor, which may be connected to the computing device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used for receiving or transmitting data via a network. Specific examples of such networks may include wireless networks provided by communication providers of the computing devices. In one example, the transmission device includes a network adapter (NIC) that can be connected to other network devices through a base station so as to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computing device.
It should be noted here that in some alternative embodiments, the computing device shown in fig. 1 described above may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that FIG. 1 is only one example of a particular specific example and is intended to illustrate the types of components that may be present in a computing device as described above.
In the above operating environment, according to a first aspect of the present embodiment, a method of sharing a design object is provided. Fig. 2 shows a flow diagram of the method, which, with reference to fig. 2, comprises:
s202: according to a received master set creating request, creating a master set corresponding to a shared design object, wherein the design object is a design component and/or a design element, and the master set creating request is used for indicating a user to request to create the master set corresponding to the design object;
s204: according to a received mother board example creating request, creating a mother board example corresponding to the mother board, wherein the mother board example creating request is used for indicating a user to request to create the mother board example corresponding to the mother board;
s206: modifying the master according to the received master modification request, and synchronously modifying the master instance under the condition that the mode of the master instance is judged to be an inheritance mode, wherein the master instance is configured to be synchronously modified along with the modification of the master under the inheritance mode.
As described in the background, when there is a current need to share design elements/components between different design pages/sketchpads/modules, users often can only paste the shared elements and components by copying. And later when the style or characters of the elements/components need to be modified, the user cannot modify the style or characters of the repeated elements/components at one time, and all the pages/drawing boards/modules need to be modified manually, so that time and labor are wasted, errors are easy to occur, the design is inconsistent, and the maintainability is extremely poor.
Specifically, with reference to fig. 2, when a user needs to share a design object (e.g., a design component and/or a design element) between user operation interfaces (e.g., without limitation, different design pages/drawing boards/modules), a master corresponding to the design object may be requested to be created. At this time, the server providing the shared design object service creates a master corresponding to the design object according to a master creation request of the user.
Further, the user no longer needs to paste the shared design elements and/or design components by copying, and can apply the master on different pages/drawing boards/modules by dragging operation, thereby requesting to create a master instance corresponding to the master. At this time, the server creates a master instance corresponding to the master according to the master instance creation request. And the created master instance has an inheritance mode, and the master instance is configured to be modified synchronously following the modification of the master in the inheritance mode, namely when a user modifies the master, the master instance with the inheritance mode can be modified synchronously. Furthermore, one master may have multiple master instances, which may be distributed among different pages/panels/modules. The user can create a plurality of mother plate examples on different pages/drawing boards/modules through multiple drag operations.
Therefore, when a user wants to modify a plurality of mother board instances corresponding to the same mother board in different pages/drawing boards/modules at a time, the mode of the corresponding mother board instance can be set as an inheritance mode, and then the mother board is requested to be modified, so that the plurality of mother board instances corresponding to the mother board are requested to be modified at a time. And at the moment, the server modifies the master according to the received master modification request and modification parameters in the master modification request, and synchronously modifies the master example under the condition of judging that the mode of the master example is an inheritance mode. Therefore, by the mode, the technical effects that repeated mother plate examples can be modified at one time, time and labor are saved, mistakes are not easy to make, and maintainability is high are achieved.
In this embodiment, a user may create a blank master, and then add a design component, or may create a new master by selecting one or more design elements/components on an existing page/drawing board that need to be shared. Taking a simple design component as an example, a user selects a rectangular component with a character attribute of "demonstration" to be shared on an existing page, and then requests to create a master corresponding to the rectangular component, as shown in fig. 3, the user may request to create a corresponding master through a "convert to master" button. The user can apply the master through a drag operation on the same page or different pages, so as to request to create one or more master instances corresponding to the master. When a user needs to modify a repeated instance of a master at a time, the master can be edited in a master list, as shown in fig. 4, and then the appearance and/or properties of a rectangular component can be modified in a master editing area, as shown in fig. 5, for example, but not limited to, modifying the text of the rectangular component from "demo" to "style". And after the user finishes editing, synchronously modifying the master plate example with the inheritance mode corresponding to the master plate.
Optionally, the modes of the instance of the master further comprise an independent mode, wherein in the independent mode the instance of the master is configured not to be modified synchronously with the modification of the master, and the method further comprises: and according to the received user request, converting the mode of the master instance from the inheritance mode to the independent mode, and setting the mode of the master instance to be the independent mode.
In particular, the modes of the master instance further include an independent mode in which the master instance is configured not to be modified synchronously with the modification of the master, i.e. the modification of the master by the user will not affect the appearance and properties of the master instance having the independent mode. Thus, when a user does not want a master instance to be modified synchronously with the modification of the master, a conversion request for converting the mode of the master instance from the legacy mode to the independent mode can be requested. At this time, the server sets the mode of the master instance to the independent mode according to the received conversion request. Therefore, under the condition that the user modifies the corresponding master, the master example does not carry out synchronous modification. By the method, a user can flexibly adjust the mode of the master plate example according to actual requirements to select whether a certain master plate example is synchronously modified along with the master plate.
For example: referring to fig. 7, a user creates two instances of masters on a page by dragging the masters. Then the upper master instance is set to the independent mode, as shown in fig. 8, the upper master instance is selected, the right button is clicked, and then the mode of the master instance is requested to be converted from the legacy mode to the independent mode by the "off master" button. Further, the user edits the master in the master list, as shown in fig. 9, the user modifies the text of the master from "style" to "optimistic", at this time, the rectangular component located above the page does not follow the master to make a synchronous modification, the rectangular component located below the page already follows the master to make a synchronous modification, that is, the text of the rectangular component above is still "style", and the text of the rectangular component below is modified to "optimistic".
Optionally, after the operation of creating the reticle instance corresponding to the reticle, the method further includes: receiving an attribute fixing request of the user for setting a specified attribute of the master instance to a fixed mode, wherein the specified attribute of the master instance is configured not to be modified synchronously with the modification of the master in the fixed mode; and setting the specified attribute of the master instance to be in a fixed mode according to the attribute fixing request.
Specifically, in the inheritance mode, a user can select to cover part of attributes of the master, and the covered attributes do not change when the user modifies the master, that is, the user can request to set the specified attributes of the master instance to be a fixed mode, and in the fixed mode, the specified attributes of the master instance are configured not to be modified synchronously with the modification of the master. Taking a master plate with a red text color as an example, a user can create a master plate example with an inheritance mode from the master plate, and simultaneously select a red text attribute covering the master plate, i.e. fix the text color of the master plate example to be blue. Thus, even if the letter color of the master is changed from "red" to green or other colors, the letter color in the example of the master with the letter color in the fixed mode is still blue. By the method, a user can set a certain designated attribute of the master plate example with the inheritance mode as the fixed attribute according to actual requirements, when the master plate is modified, the fixed attribute cannot be synchronously modified along with the master plate, and other attributes and appearances can still be synchronously modified along with the master plate, so that the purpose of modifying partial attributes in batches is achieved, and the adjustability is strong.
Optionally, the master has at least one master status, and the method further comprises: creating at least two master states for the master according to a received master state creation request, wherein the master state creation request is used for indicating the user to request that at least two master states be created for the master; linking the at least two master states; and setting relevant attributes of the link.
Specifically, a user can create at least two master states for a master to achieve a dynamic interaction effect of the master, as shown in fig. 2, taking a simple master text content conversion animation as an example, only in a master editing area, a "new" button and a "copy" button in a component state interface are needed to create a master state. Then, the text contents of the master in the two master states are respectively set, as shown in fig. 10a and 10b, the master in fig. 10a includes design components that are rectangular components, the text contents of the rectangular components are "optimistic," and the text contents of the rectangular components in fig. 10b are "strong. The two master states are then linked as shown in fig. 10c and 10 d. After the linkage is completed, the interactive animation of the master mask between two different states can be realized. The triggers and effects of the interactive animation are, for example, but not limited to: moving a cursor to a rectangular component contained in the master plate, clicking the rectangular frame, and converting the text content of the rectangular component from 'optimistic' to 'strong', namely switching from the master plate state 1 to the master plate state 2; and moving the cursor to a rectangular component contained in the master plate, clicking the rectangular frame, and converting the text content of the rectangular component from 'strong' to 'optimistic', namely switching from the master plate state 2 to the master plate state 1. By the method, in the design process, only different states of the master plate and the incidence relation of the related attribute of each component between the different states need to be considered, and during the later modification, independent configuration does not need to be carried out on each master plate.
Optionally, the correlation attribute comprises an interaction effectiveness attribute; the interaction effect attribute comprises an action effect; the interaction effect attribute comprises an action effect duration; the interaction effect attribute comprises a delay. Therefore, in this embodiment, the attributes of the master, such as the dynamic effect, the dynamic effect duration, and the delay, can also be set.
In addition, it should be particularly noted that the user may create not only the master and the master instance corresponding to the shared design object between the pages/panels/modules, but also other operation interfaces, which is not specifically limited herein.
Further, referring to fig. 1, according to a second aspect of the present embodiment, there is provided a storage medium. The storage medium comprises a stored program, wherein the method of any of the above is performed by a processor when the program is run.
Therefore, in this embodiment, design components/elements that need to be shared between the same or different pages/panels/modules may be created as reusable masters, a user may apply these masters and create master instances on the same or different pages/panels/modules through a drag operation, one master may have multiple master instances, and the master instances may be distributed in different design pages/panels/modules. The master example has two modes, inheritance and independence. In the inheritance mode, when a user modifies the master, all master instances with the inheritance mode of the same master on other pages/drawing boards/modules can be modified synchronously. In the independent mode, user modification of the master does not affect the master instance with the independent mode. The user can convert the mode of the master instance from the legacy mode to the independent mode. When the user sets the master example to be in an inheritance mode, the user can also select certain attributes covering the master, namely, the certain attributes of the master example are set to be fixed attributes, so that when the attributes of the master are modified, the fixed attributes of the master example with the inheritance mode can also continuously keep the original attributes without being influenced by the modification of the master. Therefore, by the mode, the technical effects that repeated mother plate examples can be modified at one time, time and labor are saved, mistakes are not easy to make, and maintainability is high are achieved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
Fig. 11 shows an apparatus 1100 for sharing a design object according to the present embodiment, the apparatus 1100 corresponding to the method according to the first aspect of embodiment 1. Referring to fig. 11, the apparatus 1100 includes: a master creation module 1110, configured to create a master corresponding to a shared design object according to a received master creation request, where the design object is a design component and/or a design element, and the master creation request is used to instruct a user to request to create a master corresponding to the design object; a master instance creating module 1120, configured to create a master instance corresponding to the master according to a received master instance creating request, where the master instance creating request is used to instruct the user to request to create a master instance corresponding to the master on the page and/or the palette; a modifying module 1130, configured to modify the master according to the received master modification request, and modify the master instance synchronously if the mode of the master instance is determined to be an inheritance mode, where the master instance is configured to modify synchronously following the modification of the master in the inheritance mode.
Optionally, the master instance mode further comprises an independent mode, wherein in the independent mode the master instance is configured not to be modified synchronously with the modification of the master, and the apparatus 1100 further comprises: a conversion module, configured to convert the mode of the master instance from the legacy mode to the independent mode according to the received user request, and set the mode of the master instance to the independent mode.
Optionally, the apparatus 1100 further comprises: the receiving module is used for receiving an attribute fixing request that the user requests to set the specified attribute of the master instance to be a fixed mode after the operation of creating the master instance corresponding to the master, wherein the specified attribute of the master instance is configured not to be modified synchronously with the modification of the master in the fixed mode; and the mode setting module is used for setting the specified attribute of the master example into a fixed mode according to the attribute fixing request.
Optionally, the master has at least one master status, and the apparatus 1100 further comprises: the master state creating module is used for creating at least two master states for the master according to a received master state creating request, wherein the master state creating request is used for indicating the user to request for creating at least two master states for the master; the link module is used for linking the at least two master states; and the attribute setting module is used for carrying out related attribute setting on the link.
Optionally, the correlation attribute includes an interaction effect attribute.
Optionally, the interaction effect attribute comprises an action effect.
Optionally, the interaction effect attribute includes an action effect duration.
Optionally, the interaction effect attribute comprises a delay.
Therefore, according to the embodiment, design components/elements which need to be shared among the same or different pages/drawing boards/modules can be created as reusable mother boards, a user can apply the mother boards and create mother board examples on the same or different pages/drawing boards/modules through dragging operation, one mother board can have a plurality of mother board examples, and the mother board examples can be distributed in different design pages/drawing boards/modules. The master example has two modes, inheritance and independence. In the inheritance mode, when a user modifies the master, all master instances with the inheritance mode of the same master on other pages/drawing boards/modules can be modified synchronously. In the independent mode, user modification of the master does not affect the master instance with the independent mode. The user can convert the mode of the master instance from the legacy mode to the independent mode. When the user sets the master example to be in an inheritance mode, the user can also select certain attributes covering the master, namely, the certain attributes of the master example are set to be fixed attributes, so that when the attributes of the master are modified, the fixed attributes of the master example with the inheritance mode can also continuously keep the original attributes without being influenced by the modification of the master. Therefore, by the mode, the technical effects that repeated mother plate examples can be modified at one time, time and labor are saved, mistakes are not easy to make, and maintainability is high are achieved.
Example 3
Fig. 12 shows an apparatus 1200 for sharing a design object according to the present embodiment, the apparatus 1200 corresponding to the method according to the first aspect of embodiment 1. Referring to fig. 12, the apparatus 1200 includes: a processor 1210; and a memory 1220, coupled to the processor 1210, for providing instructions to the processor 1210 for processing the following processing steps: according to a received master creation request, creating a master corresponding to a shared design object, wherein the design object is a design component and/or a design element, and the master creation request is used for indicating a user to request to create the master corresponding to the design object; according to a received mother board example creating request, creating a mother board example corresponding to the mother board on a page and/or a drawing board, wherein the mother board example creating request is used for indicating the user to request to create the mother board example corresponding to the mother board on the page and/or the drawing board; modifying the master according to the received master modification request, and synchronously modifying the master instance under the condition that the mode of the master instance is judged to be an inheritance mode, wherein the master instance is configured to be synchronously modified along with the modification of the master under the inheritance mode.
Optionally, the master instance mode further comprises an independent mode, wherein in the independent mode the master instance is configured not to be modified synchronously with the modification of the master, and the memory 1220 is further configured to provide the processor 1210 with instructions for processing the following processing steps: and according to the received user request, converting the mode of the master instance from the inheritance mode to the independent mode, and setting the mode of the master instance to be the independent mode.
Optionally, after the operation of creating the reticle instance corresponding to the reticle, the memory 1220 is further configured to provide the processor 1210 with instructions for processing the following processing steps: receiving an attribute fixing request of the user for setting a specified attribute of the master instance to a fixed mode, wherein the specified attribute of the master instance is configured not to be modified synchronously with the modification of the master in the fixed mode; and setting the specified attribute of the master instance to be in a fixed mode according to the attribute fixing request.
Optionally, the master has at least one master status, and the memory 1220 is further configured to provide instructions to the processor 1210 for processing the following processing steps: creating at least two master states for the master according to a received master state creation request, wherein the master state creation request is used for indicating the user to request that at least two master states be created for the master; linking the at least two master states; and setting relevant attributes of the link.
Optionally, the correlation attribute includes an interaction effect attribute.
Optionally, the interaction effect attribute comprises an action effect.
Optionally, the interaction effect attribute includes an action effect duration.
Optionally, the interaction effect attribute comprises a delay.
Therefore, according to the embodiment, design components/elements which need to be shared among the same or different pages/drawing boards/modules can be created as reusable mother boards, a user can apply the mother boards and create mother board examples on the same or different pages/drawing boards/modules through dragging operation, one mother board can have a plurality of mother board examples, and the mother board examples can be distributed in different design pages/drawing boards/modules. The master example has two modes, inheritance and independence. In the inheritance mode, when a user modifies the master, all master instances with the inheritance mode of the same master on other pages/drawing boards/modules can be modified synchronously. In the independent mode, user modification of the master does not affect the master instance with the independent mode. The user can convert the mode of the master instance from the legacy mode to the independent mode. When the user sets the master example to be in an inheritance mode, the user can also select certain attributes covering the master, namely, the certain attributes of the master example are set to be fixed attributes, so that when the attributes of the master are modified, the fixed attributes of the master example with the inheritance mode can also continuously keep the original attributes without being influenced by the modification of the master. Therefore, by the mode, the technical effects that repeated mother plate examples can be modified at one time, time and labor are saved, mistakes are not easy to make, and maintainability is high are achieved.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred 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 (10)

1. A method of sharing a design object, comprising:
according to a received master creation request, creating a master corresponding to a shared design object, wherein the design object is a design component and/or a design element, and the master creation request is used for indicating a user to request to create the master corresponding to the design object;
according to a received master instance creating request, creating a master instance corresponding to the master, wherein the master instance creating request is used for indicating the user to request to create the master instance corresponding to the master;
modifying the master according to the received master modification request, and synchronously modifying the master instance under the condition that the mode of the master instance is judged to be an inheritance mode, wherein the master instance is configured to be synchronously modified along with the modification of the master under the inheritance mode.
2. The method of claim 1, wherein the pattern of reticle instances further comprises an independent pattern, wherein in the independent pattern the reticle instances are configured to not be modified synchronously with modification of the reticle, and further comprising:
and according to the received user request, converting the mode of the master instance from the inheritance mode to the independent mode, and setting the mode of the master instance to be the independent mode.
3. The method of claim 1, wherein the operation of creating a reticle instance corresponding to the reticle is followed by further comprising:
receiving an attribute fixing request of the user for setting a specified attribute of the master instance to a fixed mode, wherein the specified attribute of the master instance is configured not to be modified synchronously with the modification of the master in the fixed mode; and
and setting the specified attribute of the master example into a fixed mode according to the attribute fixing request.
4. The method of claim 1, wherein the master has at least one master status, and the method further comprises:
creating at least two master states for the master according to a received master state creation request, wherein the master state creation request is used for indicating the user to request that at least two master states be created for the master;
linking the at least two master states; and
and setting relevant attributes of the link.
5. The method of claim 4, wherein the correlation attributes comprise interaction efficiency attributes.
6. The method of claim 5, wherein the interaction effect attribute comprises an animation effect.
7. The method of claim 5, wherein the interaction effect attribute comprises an action effect duration.
8. The method of any of claims 5-7, wherein the interaction effect attribute comprises latency.
9. A storage medium comprising a stored program, wherein the method of any one of claims 1 to 8 is performed by a processor when the program is run.
10. An apparatus for sharing a design object, comprising:
the master set creating module is used for creating a master set corresponding to a shared design object according to a received master set creating request, wherein the design object is a design component and/or a design element, and the master set creating request is used for indicating a user to request to create the master set corresponding to the design object;
the master plate example creating module is used for creating a master plate example corresponding to the master plate according to a received master plate example creating request, wherein the master plate example creating request is used for indicating the user to request to create the master plate example corresponding to the master plate on the page and/or the drawing board;
and the modification module is used for modifying the master according to the received master modification request and synchronously modifying the master example under the condition that the mode of the master example is judged to be an inheritance mode, wherein the master example is configured to be synchronously modified along with the modification of the master under the inheritance mode.
CN202010526245.3A 2020-06-09 2020-06-09 Method, device and storage medium for sharing design object Pending CN111782315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010526245.3A CN111782315A (en) 2020-06-09 2020-06-09 Method, device and storage medium for sharing design object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010526245.3A CN111782315A (en) 2020-06-09 2020-06-09 Method, device and storage medium for sharing design object

Publications (1)

Publication Number Publication Date
CN111782315A true CN111782315A (en) 2020-10-16

Family

ID=72757541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010526245.3A Pending CN111782315A (en) 2020-06-09 2020-06-09 Method, device and storage medium for sharing design object

Country Status (1)

Country Link
CN (1) CN111782315A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115543322A (en) * 2022-11-28 2022-12-30 成都摹客科技有限公司 UI component processing method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154217A (en) * 2006-09-27 2008-04-02 三星电子株式会社 Graphic user interface having ability to alter instances simultaneously and selectively using master and method for the same
WO2019004853A1 (en) * 2017-06-29 2019-01-03 Cadence Design System, Inc. Method and apparatus for determining waiver applicability conditions and applying the conditions to multiple errors or warnings in physical verification tools
US20200065355A1 (en) * 2018-08-21 2020-02-27 Axure Software Solutions, Inc. Multi-view masters for graphical designs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154217A (en) * 2006-09-27 2008-04-02 三星电子株式会社 Graphic user interface having ability to alter instances simultaneously and selectively using master and method for the same
WO2019004853A1 (en) * 2017-06-29 2019-01-03 Cadence Design System, Inc. Method and apparatus for determining waiver applicability conditions and applying the conditions to multiple errors or warnings in physical verification tools
US20200065355A1 (en) * 2018-08-21 2020-02-27 Axure Software Solutions, Inc. Multi-view masters for graphical designs

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115543322A (en) * 2022-11-28 2022-12-30 成都摹客科技有限公司 UI component processing method and device and storage medium

Similar Documents

Publication Publication Date Title
CN107797780B (en) Data display and control method, device and system of spliced screen and display equipment
US8015232B2 (en) Thin terminal computer architecture utilizing roaming keyboard files
CN109725901A (en) Development approach, device, equipment and the computer storage medium of front-end code
CN103631958B (en) A kind of page automatic adaptation realizes the method that content multi-screen is shown
CN107895394B (en) Animation special effect implementation method and device, terminal equipment and storage medium
US20210019106A1 (en) Desktop Sharing Method and Mobile Terminal
CN113282424B (en) Information reference method and device and electronic equipment
CN104239067B (en) The preparation method and device of miniature client
CN113312083A (en) Application generation method, device and equipment
CN111782315A (en) Method, device and storage medium for sharing design object
CN114661193A (en) Window adjusting method, device and system based on cloud application and electronic equipment
CN110764862A (en) Desktop wallpaper display method and device, terminal equipment and storage medium
CN106911937A (en) The collocation method and system of a kind of live middle present banner background colour
CN112947954A (en) Interface updating method and device and storage medium
CN110599242A (en) Method, device and storage medium for making and issuing marketing picture
CN110908652A (en) Method and device for creating active page and compiling active page
CN107783744B (en) Data display and control method, device, system and display equipment of spliced screen
CN112422996A (en) Method and device for selecting live broadcast interface and storage medium
CN112486366A (en) Control display method and device and electronic equipment
CN111984113A (en) Text editing method and device and electronic equipment
CN110673879A (en) One-key adjustment method and device for element style of configuration software
CN111158675A (en) Front-end page template multiplexing method
CN110597717A (en) Code testing method, device and storage medium
CN111985182A (en) File editing method, device and system and computer readable storage medium
CN114896007A (en) Color adjustment method, device, storage medium and system

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