WO2023040443A1 - Method and device for drawing canvas - Google Patents

Method and device for drawing canvas Download PDF

Info

Publication number
WO2023040443A1
WO2023040443A1 PCT/CN2022/105414 CN2022105414W WO2023040443A1 WO 2023040443 A1 WO2023040443 A1 WO 2023040443A1 CN 2022105414 W CN2022105414 W CN 2022105414W WO 2023040443 A1 WO2023040443 A1 WO 2023040443A1
Authority
WO
WIPO (PCT)
Prior art keywords
canvas
element component
user
canvas element
component
Prior art date
Application number
PCT/CN2022/105414
Other languages
French (fr)
Chinese (zh)
Inventor
张娟
Original Assignee
北京沃东天骏信息技术有限公司
北京京东世纪贸易有限公司
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 北京沃东天骏信息技术有限公司, 北京京东世纪贸易有限公司 filed Critical 北京沃东天骏信息技术有限公司
Publication of WO2023040443A1 publication Critical patent/WO2023040443A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse

Definitions

  • the embodiments of the present disclosure relate to the field of computer technology, in particular to the field of data processing technology, and in particular to a method and device for drawing a canvas.
  • the building activity page is mainly composed of multiple template floors.
  • the operator selects the required template in the visual building system, customizes the configuration style and materials, previews and releases the activity page, and finally forms an online activity page.
  • the templates that operators can choose come from the inherent nature of the visualization system. When there is a new template requirement, it needs to go through a series of processes such as requirement raising, redevelopment, and regression testing before it can be used online.
  • Embodiments of the present disclosure provide a method and device for drawing a canvas.
  • an embodiment of the present disclosure provides a method for drawing a canvas, including: receiving a canvas drawing request from a user, and displaying a canvas drawing page, where the canvas drawing page includes a list of element components and a canvas view, and the canvas view includes multiple components
  • the element component list includes at least one canvas element component corresponding to the user and the multi-dimensional classification information of each canvas element component; in response to detecting the user's operation on the canvas element component, and the target position of the operation
  • the canvas element corresponding to the canvas element component is displayed at the target position of the construction area, and the operation is triggered by the user selecting the canvas element component according to the multi-dimensional classification information; according to the construction area corresponding to the constituent element
  • the canvas element inside generate the target canvas.
  • the multi-dimensional classification information of each canvas element component includes at least the data type of the canvas element corresponding to the canvas element component and the style type of the canvas element corresponding to the canvas element component.
  • the style type of the canvas element corresponding to the canvas element component is pre-generated, and the generation process includes: responding to the detection of the element style creation instruction sent by the user, according to the user's selection operation in the element style creation interface and/or The input content establishes a corresponding relationship between the data type of the selected canvas element and the style of the canvas element, and generates the style type of the canvas element.
  • the style type includes at least: basic class, custom class and co-construction class.
  • the canvas element corresponding to the canvas element component and the data type of the canvas element are predetermined according to the atomic element corresponding to the canvas element and the data source of the atomic element.
  • the atomic element is stored in the element library, and the atomic element in the element library is based on Business requirements and/or design requirements are updated in real time.
  • the canvas drawing page also includes a canvas configuration area, and the canvas configuration area includes at least one configuration item of the canvas element component; before generating the target canvas according to the canvas elements in the construction area corresponding to the constituent elements, it also includes: a response The canvas element corresponding to the corresponding canvas element component displayed in the construction area is updated upon detection of the user's modification operation on the configuration item of the canvas element component.
  • the canvas configuration area further includes check items; after generating the target canvas according to the canvas elements in the construction area corresponding to the constituent elements, it also includes: in response to detecting the user's selection operation on the check items, The target canvas performs compliance verification and generates indication information of the verification results.
  • the target canvas before generating the target canvas according to the canvas elements in the construction area corresponding to the constituent elements, it further includes: using the component library of the software package manager to render the canvas elements in the construction area corresponding to the constituent elements.
  • the method further includes: generating a corresponding canvas protocol based on the canvas drawing page and the target canvas.
  • an embodiment of the present invention provides a device for drawing a canvas, including: a display unit configured to receive a user's canvas drawing request, and display a canvas drawing page, where the canvas drawing page includes an element component list and a canvas view , the canvas view includes construction areas corresponding to a plurality of constituent elements, and the element component list includes at least one canvas element component of the constituent elements corresponding to the user and multi-dimensional classification information of each canvas element component; the drawing unit is configured to respond to the detected When the user operates on the canvas element component, and the target position of the operation is within the construction area corresponding to the canvas element component, the canvas element corresponding to the canvas element component is displayed at the target position of the construction area, and the operation is performed by the user on the canvas element according to the multi-dimensional classification information The component is selected and triggered; the first generation unit is configured to generate the target canvas according to the canvas elements in the construction area corresponding to the constituent elements.
  • the multi-dimensional classification information of each canvas element component in the display unit includes at least the data type of the canvas element corresponding to the canvas element component and the style type of the canvas element corresponding to the canvas element component.
  • the style type of the canvas element corresponding to the canvas element component in the display unit is pre-generated.
  • the selection operation and/or input content in the element style creation interface establishes a corresponding relationship between the data type of the selected canvas element and the canvas element style, and generates the style type of the canvas element.
  • the style type includes at least: basic class, custom class and co-construction classes.
  • the canvas element corresponding to the canvas element component in the display unit and the data type of the canvas element are predetermined according to the atomic element corresponding to the canvas element and the data source of the atomic element, the atomic element is stored in the element library, and the element library
  • the Atomic Elements are updated in real-time based on business needs and/or design requirements.
  • the canvas drawing page in the display unit further includes a canvas configuration area
  • the canvas configuration area includes at least one configuration item of the canvas element component
  • the modification operation of the configuration item of the component updates the canvas element corresponding to the corresponding canvas element component displayed in the construction area.
  • the canvas configuration area in the display unit further includes check items; the device further includes: a check unit, configured to perform compliance check on the target canvas in response to detecting that the user selects a check item. check, and generate an indication message of the check result.
  • a check unit configured to perform compliance check on the target canvas in response to detecting that the user selects a check item. check, and generate an indication message of the check result.
  • the apparatus further includes: a rendering unit configured to use the component library of the software package manager to render the canvas elements in the construction area corresponding to the constituent elements.
  • the device further includes: a third generating unit configured to generate a corresponding canvas protocol based on the target canvas and the canvas drawing page.
  • the embodiment of the present disclosure provides a terminal device, including: one or more processors; Execute, so that one or more processors implement the method described in any implementation manner of the first aspect.
  • an embodiment of the present disclosure provides a computer-readable medium on which a computer program is stored, wherein when the computer program is executed by a processor, the method described in any implementation manner in the first aspect is implemented.
  • FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present disclosure can be applied;
  • FIG. 2 is a flowchart of one embodiment of a method for drawing a canvas according to the present disclosure
  • FIG. 3 is a schematic diagram of an application scenario of a method for drawing a canvas according to the present disclosure
  • FIG. 4 is a flowchart of another embodiment of a method for drawing a canvas according to the present disclosure
  • Fig. 5 is a schematic structural diagram of an embodiment of a device for drawing a canvas according to the present disclosure
  • FIG. 6 is a schematic structural diagram of an electronic device suitable for implementing an embodiment of the present disclosure.
  • Fig. 1 shows an exemplary system architecture 100 to which the method for drawing a canvas or the device for drawing a canvas according to an embodiment of the present disclosure can be applied.
  • a system architecture 100 may include terminal devices 101 , 102 , 103 , a network 104 and a server 105 .
  • the network 104 is used as a medium for providing communication links between the terminal devices 101 , 102 , 103 and the server 105 .
  • Network 104 may include various connection types, such as wires, wireless communication links, or fiber optic cables, among others.
  • Terminal devices 101 , 102 , 103 Users can use terminal devices 101 , 102 , 103 to interact with server 105 through network 104 to send transmission requests or receive transmission data, and so on.
  • the terminal devices 101, 102, and 103 can process the data based on the user's instruction, and display the processing result (such as the target canvas) to the user.
  • Various communication client applications can be installed on the terminal devices 101, 102, 103, such as shopping applications, delivery applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.
  • the terminal devices 101, 102, and 103 may be hardware or software.
  • the terminal devices 101, 102, 103 can be various electronic devices with display screens supporting information browsing, including but not limited to smart phones, tablet computers, e-book readers, laptop computers and desktop computers, etc. wait.
  • the terminal devices 101, 102, 103 can interact with the server through the network 104 to obtain information and the like.
  • the terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented, for example, as a plurality of software or software modules for providing distributed services, or as a single software or software module. No specific limitation is made here.
  • the server 105 may be an application server that provides various services, for example, an application server that supports the transmission requests of the terminal devices 101 , 102 , 103 .
  • the application server can perform processing such as data acquisition on the received transmission request, and feed back the acquisition result (such as atomic elements in the element library) to the terminal device.
  • the server 105 may be hardware or software.
  • the server When the server is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server.
  • the server When the server is software, it can be implemented as multiple software or software modules (for example, for providing distributed services), or as a single software or software module. No specific limitation is made here.
  • server 105 may also be performed by other electronic devices.
  • the method for drawing a canvas provided by the embodiments of the present disclosure is generally executed by the terminal devices 101 , 102 , and 103 , and the corresponding apparatus for drawing a canvas is generally provided on the terminal devices 101 , 102 , and 103 .
  • terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.
  • the method for drawing the canvas includes the following steps:
  • Step 201 receiving a canvas drawing request from a user, and displaying a canvas drawing page.
  • the execution subject (the terminal device as shown in Figure 1) can receive the user's canvas draw request.
  • the canvas drawing request may be a canvas drawing request initiated after a user triggers a certain event, or a certain request monitored by a terminal device. Then the execution body displays the canvas drawing page according to the canvas drawing request.
  • the canvas drawing page includes an element component list and a canvas view
  • the canvas view includes a construction area corresponding to multiple constituent elements
  • the element component list includes at least one canvas element component corresponding to the user's constituent elements and the multi-dimensional classification of each canvas element component information.
  • Multi-dimensional classification information is preset by users based on business or application requirements.
  • Multi-dimensional classification information refers to the sum of the classification information of each dimension generated by classifying the canvas elements corresponding to each canvas element component from multiple dimensions. Multiple dimensions can at least include: element content, element data source, element Styles and attributes of elements.
  • the multi-dimensional classification information is: graphics, pictures, and basic styles. Users can be ordinary users who use terminal devices to browse various activity pages, or operators or merchants who use terminal devices to develop, maintain, and configure various software.
  • Step 202 in response to detecting the user's operation on the canvas element component, and when the target position of the operation is within the construction area corresponding to the canvas element component, display the canvas element corresponding to the canvas element component at the target position of the construction area.
  • the execution body detects that the user operates on the canvas element component, and the target position of the operation is within the construction area corresponding to the canvas element component, the canvas element corresponding to the canvas element component is displayed at the target position of the construction area.
  • Operations refer to various operations preset in the canvas drawing page for performing actions or configurations on canvas elements, and may at least include dragging, updating, sorting, sorting and previewing operations.
  • Canvas elements can include various hot-swappable element modules for active pages such as pictures, text, prices, shopping carts, progress bars, and countdown timers.
  • Step 203 Generate a target canvas according to the canvas elements in the construction area corresponding to the constituent elements.
  • the execution subject may use a canvas generation method to generate a target canvas according to the canvas elements in the construction area corresponding to the constituent elements.
  • the canvas may be a Canvas canvas, such as the element Canvas in html5.
  • the generated target canvas can be the template required by the operator, or the active page required by the user.
  • FIG. 3 is a schematic diagram 300 of an application scenario of the method for drawing a canvas according to this embodiment.
  • the method for drawing a canvas in this embodiment runs in the electronic device 301 .
  • the electronic device 301 receives the user's canvas drawing request, and displays the canvas drawing page 302.
  • the electronic device 301 detects the user's operation on the canvas element component, and the target position of the operation is within the corresponding construction area of the canvas element component, the The target position of the area displays the canvas element 303 corresponding to the canvas element component, and finally the electronic device 301 generates the target canvas 304 according to the canvas elements in the construction area corresponding to the constituent elements, and displays the target canvas on the electronic device.
  • the method for drawing a canvas displayed by receiving a canvas drawing request from a user.
  • the canvas drawing page includes a list of element components and a canvas view, and the canvas view includes a construction area corresponding to multiple constituent elements.
  • the component list includes at least one canvas element component corresponding to the user and the multi-dimensional classification information of each canvas element component; in response to detecting the user's operation on the canvas element component, and the target position of the operation is located in the structure corresponding to the canvas element component
  • the canvas element corresponding to the canvas element component is displayed at the target position of the construction area, and the operation is triggered by the user selecting the canvas element component according to the multi-dimensional classification information; according to the canvas element in the construction area corresponding to the constituent element, the target is generated Canvas, to achieve a more flexible and personalized method for drawing canvas, and realize the construction of different template canvases.
  • FIG. 4 it shows the flow of another embodiment of the method for drawing a canvas.
  • the flow 400 of the method for drawing a canvas includes the following steps:
  • Step 401 receiving a canvas drawing request from a user, and displaying a canvas drawing page.
  • the execution subject may receive the user's canvas drawing request, and then display the canvas drawing page according to the canvas drawing request.
  • the canvas drawing page includes an element component list, a canvas view and a canvas configuration area
  • the canvas view includes a construction area corresponding to multiple constituent elements
  • the element component list includes at least one canvas element component and each canvas element component corresponding to the constituent elements of the user
  • the canvas configuration area includes at least one configuration item of the canvas element component.
  • the multi-dimensional classification information of each canvas element component includes at least the data type of the canvas element corresponding to the canvas element component and the style type of the canvas element corresponding to the canvas element component.
  • the style type of the canvas element corresponding to the canvas element component is pre-generated, and the generation process of the style type of the canvas element corresponding to the canvas element component includes: in response to detecting the element style creation instruction sent by the user, according to the user's selection in the element style creation interface
  • the content of the operation and/or input establishes a corresponding relationship between the data type of the selected canvas element and the style of the canvas element.
  • the style type of the canvas element is generated.
  • the style type at least includes: Indicates the provision of basic services The basic class, the custom class that provides customized services, and the co-construction class that provides various personalized services.
  • the input content may at least include: key factors such as style type identification, data binding, event correlation, and bottom-up display.
  • the canvas element corresponding to the canvas element component and the data type of the canvas element are predetermined according to the atomic element corresponding to the canvas element and the data source of the atomic element.
  • Atomic elements are stored in the element library, and the atomic elements in the element library are updated in real time according to business requirements and/or design requirements.
  • the atomic element represents the smallest unit element for constructing the canvas, and the data type can at least include commodity, graphic and content. Developers maintain the element library to make the information of each element in the library accurate and effective, and more in line with business needs.
  • Step 402 in response to detecting the user's operation on the canvas element component, and when the target position of the operation is within the construction area corresponding to the canvas element component, display the canvas element corresponding to the canvas element component at the target position of the construction area.
  • the interaction protocol is used to display the corresponding canvas element component at the target position of the construction area. Canvas element.
  • the above execution subject may encapsulate the interaction protocol between the canvas element component and the canvas view, and the interaction protocol at least includes a description of the path of the canvas element and the position of the canvas element in the canvas.
  • the interaction protocol is to represent the interaction agreement between the canvas element and the canvas view.
  • the interaction protocol can be a program file in JSON (JavaScript Object Notation) data format, which is used to define the behavior and data of at least one canvas element.
  • JSON JavaScript Object Notation
  • the interactive protocol carries expandable fields at the same time, which can constrain the processing logic of elements at each end, as the cornerstone of opening up and co-construction, and open multiple business scenarios for co-construction.
  • the canvas configuration area also includes check items; after generating the target canvas according to the canvas elements in the construction area corresponding to the constituent elements, it also includes: The selection operation of verification items, the compliance verification of the target canvas, and the generation of verification result instruction information. Through the verification function, the drawing of the target canvas is more accurate and effective.
  • Step 403 updating the canvas element corresponding to the corresponding canvas element component displayed in the construction area in response to detecting that the user modifies the configuration item of the canvas element component.
  • the execution body when the execution body detects that the user modifies the configuration item of the canvas element component, it updates the canvas element corresponding to the corresponding canvas element component displayed in the construction area.
  • the configuration items can at least include adjusting various attributes of the canvas element, and by changing the attribute value, the updated result can be previewed in the canvas view intuitively and in real time.
  • Step 404 Generate a target canvas according to the canvas elements in the construction area corresponding to the constituent elements.
  • the target canvas before generating the target canvas according to the canvas elements in the construction area corresponding to the constituent elements, it also includes: using the component library of the software package manager NPM (Node Package Manager), to The canvas elements in the construction area corresponding to the constituent elements are rendered.
  • the NPM package is a standard package manager for Node.js. Front-end developers can quickly and easily use the tools provided by the NPM package to share software packages.
  • NPM component library in flexible canvas rendering, it is not only used for operator or business configuration preview, but also enables ordinary users to render pages, so that users can preview online effects in real time during configuration, improve construction efficiency, and avoid repeated operations.
  • the method further includes: drawing the page and the target canvas based on the canvas, generating a corresponding canvas protocol, and exporting the canvas template and data configured by the user as a canvas of each end through the canvas.
  • step 404 is basically the same as the operation of step 203 in the embodiment shown in FIG. 2 , and will not be repeated here.
  • the process 400 for drawing the canvas in this embodiment abstracts the style of the canvas element to generate the style type of the canvas element, and the style type at least includes:
  • the basic class, custom class and co-construction class enable the canvas drawing to have co-construction and customization functions, enhance the drawing ability of the template canvas, and improve the flexibility of the template canvas.
  • first information may also be called second information, and similarly, second information may also be called first information.
  • second information may also be called first information.
  • word “if” as used herein may be interpreted as “at” or “when” or “in response to a determination.”
  • the present disclosure provides an embodiment of a device for drawing a canvas, which is similar to the method embodiment shown in FIG. 2
  • the device can be specifically applied to various electronic devices.
  • the apparatus 500 for drawing a canvas in this embodiment includes: a display unit 501 , a drawing unit 502 and a first generating unit 503 .
  • the display unit is configured to receive a canvas drawing request from the user, and display a canvas drawing page
  • the canvas drawing page includes a list of element components and a canvas view
  • the canvas view includes construction areas corresponding to a plurality of constituent elements
  • the list of element components includes user corresponding At least one canvas element component and the multi-dimensional classification information of each canvas element component
  • the drawing unit is configured to respond to the detection of the user's operation on the canvas element component, and the target position of the operation is located in the structure corresponding to the canvas element component
  • the canvas element corresponding to the canvas element component is displayed at the target position of the construction area, and the operation is triggered by the user selecting the canvas element component according to the multi-dimensional classification information
  • the first generating unit is configured to Canvas elements in the area to generate the target canvas.
  • the specific processing of the display unit 501, the drawing unit 502, and the first generating unit 503 of the device 500 for drawing the canvas and the technical effects brought about by them can refer to the steps in the embodiment corresponding to FIG. 2 Relevant descriptions from step 201 to step 203 will not be repeated here.
  • the multi-dimensional classification information of each canvas element component in the display unit includes at least the data type of the canvas element corresponding to the canvas element component and the style type of the canvas element corresponding to the canvas element component .
  • the style type of the canvas element corresponding to the canvas element component in the display unit is pre-generated, and the device further includes: a second generating unit configured to respond to the detection of the element sent by the user
  • the style creation instruction according to the user's selection operation and/or input content in the element style creation interface, establishes a corresponding relationship between the data type of the selected canvas element and the canvas element style, and generates the style type of the canvas element.
  • the style type is at least Including: basic class, custom class and co-construction class.
  • the canvas element corresponding to the canvas element component in the display unit and the data type of the canvas element are predetermined according to the atomic element corresponding to the canvas element and the data source of the atomic element, and the atomic element is stored in In the element library, the atomic elements in the element library are updated in real time according to business requirements and/or design requirements.
  • the canvas drawing page in the display unit further includes a canvas configuration area, and the canvas configuration area includes at least one configuration item of the canvas element component; the device further includes: an update unit configured to respond to The canvas element corresponding to the corresponding canvas element component displayed in the construction area is updated upon detection of the user's modification operation on the configuration item of the canvas element component.
  • the canvas configuration area in the display unit further includes check items; the device further includes: a check unit configured to, in response to detecting a selection operation of the check item by the user, Perform a compliance check on the target canvas, and generate an indication of the check result.
  • the device further includes: a rendering unit configured to use the component library of the software package manager to render the canvas elements in the construction area corresponding to the constituent elements.
  • the device further includes: a third generating unit configured to generate a corresponding canvas protocol based on the target canvas and the canvas drawing page.
  • FIG. 6 it shows a schematic structural diagram of an electronic device 600 suitable for implementing an embodiment of the present disclosure.
  • the terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like.
  • the electronic device shown in FIG. 6 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
  • an electronic device 600 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which may be randomly accessed according to a program stored in a read-only memory (ROM) 602 or loaded from a storage device 608.
  • a processing device such as a central processing unit, a graphics processing unit, etc.
  • RAM memory
  • various programs and data necessary for the operation of the electronic device 600 are also stored.
  • the processing device 601, ROM 602, and RAM 603 are connected to each other through a bus 604.
  • An input/output (I/O) interface 605 is also connected to the bus 604 .
  • the following devices can be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 607 such as a computer; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609.
  • the communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While FIG. 6 shows electronic device 600 having various means, it should be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided. Each block shown in FIG. 6 may represent one device, or may represent multiple devices as required.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via communication means 609, or from storage means 608, or from ROM 602.
  • the processing device 601 When the computer program is executed by the processing device 601, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.
  • the computer-readable medium in the embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: receives a user's canvas drawing request, displays a canvas drawing page, and the canvas drawing page includes element components list and canvas view, the canvas view includes construction areas corresponding to multiple constituent elements, and the element component list includes at least one canvas element component of the constituent elements corresponding to the user and multi-dimensional classification information of each canvas element component; in response to detecting that the user targets When the canvas element component is operated, and the target position of the operation is in the construction area corresponding to the canvas element component, the canvas element corresponding to the canvas element component is displayed at the target position of the construction area, and the operation is performed by the user on the canvas element component according to the multi-dimensional classification information Triggered by selection; generate the target canvas according to the canvas elements in
  • Computer program code for carrying out operations of embodiments of the present disclosure may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional A procedural programming language—such as "C" or a similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, using an Internet service provider to connected via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service provider for example, using an Internet service provider to connected via the Internet.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware.
  • the described units may also be set in a processor, for example, it may be described as: a processor includes a display unit, a rendering unit, and a first generating unit.
  • the names of these units do not limit the unit itself under certain circumstances.
  • the display unit may also be described as "a unit that receives a user's canvas drawing request and displays a canvas drawing page".

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Embodiments of the present disclosure disclose a method and device for drawing a canvas. A specific embodiment of the method comprises: receiving a canvas drawing request of a user, displaying a canvas drawing page, the canvas drawing page comprising an element component list and a canvas view, the canvas view comprising a construction area corresponding to a plurality of constituent elements, the element component list comprising at least one canvas element component of a constituent element corresponding to the user and multi-dimensional classification information of each canvas element component; in response to detecting an operation by the user on the canvas element components, and when a target position of the operation is located in the construction area corresponding to the canvas element components, displaying, at the target position of the construction area, a canvas element corresponding to the canvas element components, the operation being triggered by the user selecting the canvas element components according to the multi-dimensional classification information; and generating a target canvas according to the canvas element in the construction area.

Description

用于绘制画布的方法和装置Method and apparatus for drawing canvas
本公开要求于2021年9月17日提交的申请号为202111094641.4、发明名称为“用于绘制画布的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of the Chinese patent application with the application number 202111094641.4 and the invention title "Method and Device for Drawing Canvas" filed on September 17, 2021, the entire contents of which are incorporated by reference in this disclosure.
技术领域technical field
本公开实施例涉及计算机技术领域,具体涉及数据处理技术领域,尤其涉及用于绘制画布的方法和装置。The embodiments of the present disclosure relate to the field of computer technology, in particular to the field of data processing technology, and in particular to a method and device for drawing a canvas.
背景技术Background technique
目前搭建活动页面主要由多个模板楼层构成,运营人员通过在可视化搭建系统中选择所需的模板,定制化的配置样式与素材后,进行活动页面的预览和发布,最终形成线上的活动页。其中运营人员所能选择的模板来自于可视化系统固有,当有新的模板需求时,需要经过提需求、再开发、回归测试等一系列过程才能线上使用。At present, the building activity page is mainly composed of multiple template floors. The operator selects the required template in the visual building system, customizes the configuration style and materials, previews and releases the activity page, and finally forms an online activity page. . Among them, the templates that operators can choose come from the inherent nature of the visualization system. When there is a new template requirement, it needs to go through a series of processes such as requirement raising, redevelopment, and regression testing before it can be used online.
但是,无论是已有模板的微调,抑或是新增模板等需求,都需要多端开发人员手动维护,造成接入效率低和成本高的问题。同时,目前搭建的页面无法对线上活动页面进行热更新、热修复等操作,出现问题需要研发人员发版解决,无疑增加了线上问题的风险。However, whether it is the fine-tuning of existing templates or new templates, manual maintenance by multi-terminal developers is required, resulting in low access efficiency and high cost. At the same time, the currently built page cannot perform operations such as hot update and hot repair on the online event page. If any problems occur, R&D personnel need to release a version to solve them, which undoubtedly increases the risk of online problems.
发明内容Contents of the invention
本公开实施例提出了用于绘制画布的方法和装置。Embodiments of the present disclosure provide a method and device for drawing a canvas.
第一方面,本公开实施例提供了一种用于绘制画布的方法,包括:接收用户的画布绘制请求,显示画布绘制页面,画布绘制页面包括元素组件列表和画布视图,画布视图包括多个构成要素对应的构造区,元素组件列表中包括用户对应的构成要素的至少一个画布元素组件和各画布元素组件的多维度分类信息;响应于检测到用户针对画布元素组件的操作,且操作的目标位置 位于画布元素组件对应的构造区内时,在构造区的目标位置显示画布元素组件对应的画布元素,操作由用户根据多维度分类信息对画布元素组件进行选取而触发;根据构成要素对应的构造区内的画布元素,生成目标画布。In a first aspect, an embodiment of the present disclosure provides a method for drawing a canvas, including: receiving a canvas drawing request from a user, and displaying a canvas drawing page, where the canvas drawing page includes a list of element components and a canvas view, and the canvas view includes multiple components In the construction area corresponding to the element, the element component list includes at least one canvas element component corresponding to the user and the multi-dimensional classification information of each canvas element component; in response to detecting the user's operation on the canvas element component, and the target position of the operation When located in the construction area corresponding to the canvas element component, the canvas element corresponding to the canvas element component is displayed at the target position of the construction area, and the operation is triggered by the user selecting the canvas element component according to the multi-dimensional classification information; according to the construction area corresponding to the constituent element The canvas element inside, generate the target canvas.
在一些实施例中,每个画布元素组件的多维度分类信息至少包括画布元素组件对应的画布元素的数据类型和画布元素组件对应的画布元素的样式类型。In some embodiments, the multi-dimensional classification information of each canvas element component includes at least the data type of the canvas element corresponding to the canvas element component and the style type of the canvas element corresponding to the canvas element component.
在一些实施例中,画布元素组件对应的画布元素的样式类型预先生成,生成的过程包括:响应于检测到用户发送的元素样式创建指令,根据用户在元素样式创建界面中的选取操作和/或输入的内容,在选取的画布元素的数据类型与画布元素样式之间建立对应关系,生成画布元素的样式类型,样式类型至少包括:基础类、定制类和共建类。In some embodiments, the style type of the canvas element corresponding to the canvas element component is pre-generated, and the generation process includes: responding to the detection of the element style creation instruction sent by the user, according to the user's selection operation in the element style creation interface and/or The input content establishes a corresponding relationship between the data type of the selected canvas element and the style of the canvas element, and generates the style type of the canvas element. The style type includes at least: basic class, custom class and co-construction class.
在一些实施例中,画布元素组件对应的画布元素和画布元素的数据类型根据画布元素对应的原子元素和原子元素的数据来源预先确定,原子元素存储于元素库中,元素库中的原子元素根据业务需求和/或设计需求实时更新。In some embodiments, the canvas element corresponding to the canvas element component and the data type of the canvas element are predetermined according to the atomic element corresponding to the canvas element and the data source of the atomic element. The atomic element is stored in the element library, and the atomic element in the element library is based on Business requirements and/or design requirements are updated in real time.
在一些实施例中,画布绘制页面还包括画布配置区,画布配置区包括画布元素组件的至少一个配置项;在根据构成要素对应的构造区内的画布元素,生成目标画布之前,还包括:响应于检测到用户针对画布元素组件的配置项的修改操作,对构造区显示的相应画布元素组件对应的画布元素进行更新。In some embodiments, the canvas drawing page also includes a canvas configuration area, and the canvas configuration area includes at least one configuration item of the canvas element component; before generating the target canvas according to the canvas elements in the construction area corresponding to the constituent elements, it also includes: a response The canvas element corresponding to the corresponding canvas element component displayed in the construction area is updated upon detection of the user's modification operation on the configuration item of the canvas element component.
在一些实施例中,画布配置区还包括校验项;在根据构成要素对应的构造区内的画布元素,生成目标画布之后,还包括:响应于检测到用户针对校验项的选取操作,对目标画布进行合规校验,生成校验结果的指示信息。In some embodiments, the canvas configuration area further includes check items; after generating the target canvas according to the canvas elements in the construction area corresponding to the constituent elements, it also includes: in response to detecting the user's selection operation on the check items, The target canvas performs compliance verification and generates indication information of the verification results.
在一些实施例中,在根据构成要素对应的构造区内的画布元素,生成目标画布之前,还包括:利用软件包管理器的组件库,对构成要素对应的构造区内的画布元素进行渲染。In some embodiments, before generating the target canvas according to the canvas elements in the construction area corresponding to the constituent elements, it further includes: using the component library of the software package manager to render the canvas elements in the construction area corresponding to the constituent elements.
在一些实施例中,方法还包括:基于画布绘制页面和目标画布,生成对应的画布协议。In some embodiments, the method further includes: generating a corresponding canvas protocol based on the canvas drawing page and the target canvas.
第二方面,本发明的实施例提供了一种用于绘制画布的装置,包括:显示单元,被配置成接收用户的画布绘制请求,显示画布绘制页面,画布绘制页面包括元素组件列表和画布视图,画布视图包括多个构成要素对应的构造区,元素组件列表中包括用户对应的构成要素的至少一个画布元素组件和各画布元素组件的多维度分类信息;绘制单元,被配置成响应于检测到用户针对画布元素组件的操作,且操作的目标位置位于画布元素组件对应的构造区内时,在构造区的目标位置显示画布元素组件对应的画布元素,操作由用户根据多维度分类信息对画布元素组件进行选取而触发;第一生成单元,被配置成根据构成要素对应的构造区内的画布元素,生成目标画布。In a second aspect, an embodiment of the present invention provides a device for drawing a canvas, including: a display unit configured to receive a user's canvas drawing request, and display a canvas drawing page, where the canvas drawing page includes an element component list and a canvas view , the canvas view includes construction areas corresponding to a plurality of constituent elements, and the element component list includes at least one canvas element component of the constituent elements corresponding to the user and multi-dimensional classification information of each canvas element component; the drawing unit is configured to respond to the detected When the user operates on the canvas element component, and the target position of the operation is within the construction area corresponding to the canvas element component, the canvas element corresponding to the canvas element component is displayed at the target position of the construction area, and the operation is performed by the user on the canvas element according to the multi-dimensional classification information The component is selected and triggered; the first generation unit is configured to generate the target canvas according to the canvas elements in the construction area corresponding to the constituent elements.
在一些实施例中,显示单元中的每个画布元素组件的多维度分类信息至少包括画布元素组件对应的画布元素的数据类型和画布元素组件对应的画布元素的样式类型。In some embodiments, the multi-dimensional classification information of each canvas element component in the display unit includes at least the data type of the canvas element corresponding to the canvas element component and the style type of the canvas element corresponding to the canvas element component.
在一些实施例中,显示单元中的画布元素组件对应的画布元素的样式类型预先生成,装置还包括:第二生成单元,被配置成响应于检测到用户发送的元素样式创建指令,根据用户在元素样式创建界面中的选取操作和/或输入的内容,在选取的画布元素的数据类型与画布元素样式之间建立对应关系,生成画布元素的样式类型,样式类型至少包括:基础类、定制类和共建类。In some embodiments, the style type of the canvas element corresponding to the canvas element component in the display unit is pre-generated. The selection operation and/or input content in the element style creation interface establishes a corresponding relationship between the data type of the selected canvas element and the canvas element style, and generates the style type of the canvas element. The style type includes at least: basic class, custom class and co-construction classes.
在一些实施例中,显示单元中的画布元素组件对应的画布元素和画布元素的数据类型根据画布元素对应的原子元素和原子元素的数据来源预先确定,原子元素存储于元素库中,元素库中的原子元素根据业务需求和/或设计需求实时更新。In some embodiments, the canvas element corresponding to the canvas element component in the display unit and the data type of the canvas element are predetermined according to the atomic element corresponding to the canvas element and the data source of the atomic element, the atomic element is stored in the element library, and the element library The Atomic Elements are updated in real-time based on business needs and/or design requirements.
在一些实施例中,显示单元中的画布绘制页面还包括画布配置区,画布配置区包括画布元素组件的至少一个配置项;装置还包括:更新单元,被配置成响应于检测到用户针对画布元素组件的配置项的修改操作,对构造区显示的相应画布元素组件对应的画布元素进行更新。In some embodiments, the canvas drawing page in the display unit further includes a canvas configuration area, and the canvas configuration area includes at least one configuration item of the canvas element component; The modification operation of the configuration item of the component updates the canvas element corresponding to the corresponding canvas element component displayed in the construction area.
在一些实施例中,显示单元中的画布配置区还包括校验项;装置还包括: 校验单元,被配置成响应于检测到用户针对校验项的选取操作,对目标画布进行合规校验,生成校验结果的指示信息。In some embodiments, the canvas configuration area in the display unit further includes check items; the device further includes: a check unit, configured to perform compliance check on the target canvas in response to detecting that the user selects a check item. check, and generate an indication message of the check result.
在一些实施例中,装置还包括:渲染单元,被配置成利用软件包管理器的组件库,对构成要素对应的构造区内的画布元素进行渲染。In some embodiments, the apparatus further includes: a rendering unit configured to use the component library of the software package manager to render the canvas elements in the construction area corresponding to the constituent elements.
在一些实施例中,装置还包括:第三生成单元,被配置成基于目标画布和画布绘制页面,生成对应的画布协议。In some embodiments, the device further includes: a third generating unit configured to generate a corresponding canvas protocol based on the target canvas and the canvas drawing page.
第三方面,本公开实施例提供了一种终端设备,包括:一个或多个处理器;存储装置,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第一方面中任一实现方式描述的方法。In the third aspect, the embodiment of the present disclosure provides a terminal device, including: one or more processors; Execute, so that one or more processors implement the method described in any implementation manner of the first aspect.
第四方面,本公开实施例提供了一种计算机可读介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现如第一方面中任一实现方式描述的方法。In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium on which a computer program is stored, wherein when the computer program is executed by a processor, the method described in any implementation manner in the first aspect is implemented.
应当理解,本部分所描述的内容并非旨在标识本公开实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will be readily understood through the following description.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本公开的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present disclosure will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1是本公开的一些实施例可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present disclosure can be applied;
图2是根据本公开的用于绘制画布的方法的一个实施例的流程图;FIG. 2 is a flowchart of one embodiment of a method for drawing a canvas according to the present disclosure;
图3是根据本公开的用于绘制画布的方法的一个应用场景的示意图;FIG. 3 is a schematic diagram of an application scenario of a method for drawing a canvas according to the present disclosure;
图4是根据本公开的用于绘制画布的方法的又一个实施例的流程图;FIG. 4 is a flowchart of another embodiment of a method for drawing a canvas according to the present disclosure;
图5是根据本公开的用于绘制画布的装置的一个实施例的结构示意图;Fig. 5 is a schematic structural diagram of an embodiment of a device for drawing a canvas according to the present disclosure;
图6是适于用来实现本公开实施例的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device suitable for implementing an embodiment of the present disclosure.
具体实施方式Detailed ways
下面结合附图和实施例对本公开作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本公开。It should be noted that, in the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and embodiments.
图1示出了可以应用本公开实施例的用于绘制画布的方法或用于绘制画布的装置的示例性系统架构100。Fig. 1 shows an exemplary system architecture 100 to which the method for drawing a canvas or the device for drawing a canvas according to an embodiment of the present disclosure can be applied.
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , a system architecture 100 may include terminal devices 101 , 102 , 103 , a network 104 and a server 105 . The network 104 is used as a medium for providing communication links between the terminal devices 101 , 102 , 103 and the server 105 . Network 104 may include various connection types, such as wires, wireless communication links, or fiber optic cables, among others.
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以发送传输请求或接收传输数据等。终端设备101、102、103可以基于用户的指令对数据进行处理,并将处理结果(例如目标画布)展示于用户。终端设备101、102、103上可以安装有各种通讯客户端应用,例如购物类应用、提货类应用、网页浏览器应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。Users can use terminal devices 101 , 102 , 103 to interact with server 105 through network 104 to send transmission requests or receive transmission data, and so on. The terminal devices 101, 102, and 103 can process the data based on the user's instruction, and display the processing result (such as the target canvas) to the user. Various communication client applications can be installed on the terminal devices 101, 102, 103, such as shopping applications, delivery applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.
终端设备101、102、103可以是硬件,也可以是软件。当终端设备101、102、103为硬件时,可以是具有显示屏支持信息浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、膝上型便携计算机和台式计算机等等。终端设备101、102、103可以通过网络104与服务器进行交互,以获取信息等。当终端设备101、102、103为软件时,可以安装在上述所列举的电子设备中。其可以实现成例如用来提供分布式服务的多个软件或软件模块,也可以实现成单个软件或软件模块。在此不做具体限定。The terminal devices 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they can be various electronic devices with display screens supporting information browsing, including but not limited to smart phones, tablet computers, e-book readers, laptop computers and desktop computers, etc. wait. The terminal devices 101, 102, 103 can interact with the server through the network 104 to obtain information and the like. When the terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented, for example, as a plurality of software or software modules for providing distributed services, or as a single software or software module. No specific limitation is made here.
服务器105可以是提供各种服务的应用服务器,例如对终端设备101、 102、103的传输请求提供支持的应用服务器。应用服务器可以对接收到的传输请求进行数据获取等处理,并将获取结果(例如元素库中的原子元素)反馈给终端设备。The server 105 may be an application server that provides various services, for example, an application server that supports the transmission requests of the terminal devices 101 , 102 , 103 . The application server can perform processing such as data acquisition on the received transmission request, and feed back the acquisition result (such as atomic elements in the element library) to the terminal device.
需要说明的是,服务器105可以是硬件,也可以是软件。当服务器为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。It should be noted that the server 105 may be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, for providing distributed services), or as a single software or software module. No specific limitation is made here.
需要说明的是,服务器105所执行的操作也可以由其他电子设备执行。It should be noted that the operations performed by the server 105 may also be performed by other electronic devices.
需要说明的是,本公开实施例所提供的用于绘制画布的方法一般由终端设备101、102、103执行,相应的用于绘制画布的装置一般设置于终端设备101、102、103。It should be noted that the method for drawing a canvas provided by the embodiments of the present disclosure is generally executed by the terminal devices 101 , 102 , and 103 , and the corresponding apparatus for drawing a canvas is generally provided on the terminal devices 101 , 102 , and 103 .
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.
继续参考图2,示出了根据本公开的用于绘制画布的方法的一个实施例的流程200。该用于绘制画布的方法,包括以下步骤:Continuing to refer to FIG. 2 , a flow 200 of an embodiment of the method for drawing a canvas according to the present disclosure is shown. The method for drawing the canvas includes the following steps:
步骤201,接收用户的画布绘制请求,显示画布绘制页面。 Step 201, receiving a canvas drawing request from a user, and displaying a canvas drawing page.
在本实施例中,执行主体(如图1所示的终端设备)可以通过监听用户发出的事件(例如,预定的按钮\菜单或设置的快捷键被点击\触发的事件),接收用户的画布绘制请求。画布绘制请求可以是用户触发某个事件后发起的画布绘制请求,也可以是终端设备监控到的某个请求。然后执行主体根据画布绘制请求显示画布绘制页面。In this embodiment, the execution subject (the terminal device as shown in Figure 1) can receive the user's canvas draw request. The canvas drawing request may be a canvas drawing request initiated after a user triggers a certain event, or a certain request monitored by a terminal device. Then the execution body displays the canvas drawing page according to the canvas drawing request.
其中,画布绘制页面包括元素组件列表和画布视图,画布视图包括多个构成要素对应的构造区,元素组件列表中包括用户对应的构成要素的至少一个画布元素组件和各画布元素组件的多维度分类信息。多维度分类信息由用户基于业务需求或应用需求预先设定。多维度分类信息是指对各画布元素组件对应的画布元素从多个维度进行分类后生成的各维度的分类信息的总和, 多个维度至少可以包括:元素的内容、元素的数据来源、元素的样式及元素的各属性,例如,多维度分类信息为:图文类,图片,基础类样式。用户可以为使用终端设备浏览各活动页面的普通用户,也可以为使用终端设备进行各种软件开发、维护、配置的运营人员或商家。Wherein, the canvas drawing page includes an element component list and a canvas view, the canvas view includes a construction area corresponding to multiple constituent elements, and the element component list includes at least one canvas element component corresponding to the user's constituent elements and the multi-dimensional classification of each canvas element component information. Multi-dimensional classification information is preset by users based on business or application requirements. Multi-dimensional classification information refers to the sum of the classification information of each dimension generated by classifying the canvas elements corresponding to each canvas element component from multiple dimensions. Multiple dimensions can at least include: element content, element data source, element Styles and attributes of elements. For example, the multi-dimensional classification information is: graphics, pictures, and basic styles. Users can be ordinary users who use terminal devices to browse various activity pages, or operators or merchants who use terminal devices to develop, maintain, and configure various software.
步骤202,响应于检测到用户针对画布元素组件的操作,且操作的目标位置位于画布元素组件对应的构造区内时,在构造区的目标位置显示画布元素组件对应的画布元素。 Step 202 , in response to detecting the user's operation on the canvas element component, and when the target position of the operation is within the construction area corresponding to the canvas element component, display the canvas element corresponding to the canvas element component at the target position of the construction area.
在本实施例中,当执行主体检测到用户针对画布元素组件的操作,且操作的目标位置位于画布元素组件对应的构造区内时,在构造区的目标位置显示画布元素组件对应的画布元素。In this embodiment, when the execution body detects that the user operates on the canvas element component, and the target position of the operation is within the construction area corresponding to the canvas element component, the canvas element corresponding to the canvas element component is displayed at the target position of the construction area.
其中,操作由用户根据多维度分类信息对画布元素组件进行选取而触发。操作是指预先设定在画布绘制页面中的用于对画布元素进行动作或配置的各项操作,至少可以包括拖拽操作、更新操作、分类操作、排序操作和预览操作。画布元素可以包括:图片、文本、价格、购物车、进度条、倒计时器等用于活动页面的各种可热插拔的元素模块。Wherein, the operation is triggered by the user selecting the canvas element component according to the multi-dimensional classification information. Operations refer to various operations preset in the canvas drawing page for performing actions or configurations on canvas elements, and may at least include dragging, updating, sorting, sorting and previewing operations. Canvas elements can include various hot-swappable element modules for active pages such as pictures, text, prices, shopping carts, progress bars, and countdown timers.
步骤203,根据构成要素对应的构造区内的画布元素,生成目标画布。Step 203: Generate a target canvas according to the canvas elements in the construction area corresponding to the constituent elements.
在本实施例中,上述执行主体可以根据构成要素对应的构造区内的画布元素,利用画布生成方法生成目标画布。其中,画布可以为Canvas画布,例如html5中的元素Canvas。生成的目标画布即可以是运营人员所需的模板,也可以是用户所需的活动页面。In this embodiment, the execution subject may use a canvas generation method to generate a target canvas according to the canvas elements in the construction area corresponding to the constituent elements. Wherein, the canvas may be a Canvas canvas, such as the element Canvas in html5. The generated target canvas can be the template required by the operator, or the active page required by the user.
继续参见图3,图3是根据本实施例的用于绘制画布的方法的一个应用场景的示意图300。本实施例的用于绘制画布的方法运行于电子设备301中。首先电子设备301接收用户的画布绘制请求,显示画布绘制页面302,然后当电子设备301检测到用户针对画布元素组件的操作,且操作的目标位置位于画布元素组件对应的构造区内时,在构造区的目标位置显示画布元素组件对应的画布元素303,最后电子设备301根据构成要素对应的构造区内的画 布元素,生成目标画布304,并将目标画布展示于电子设备上。Continue referring to FIG. 3 , which is a schematic diagram 300 of an application scenario of the method for drawing a canvas according to this embodiment. The method for drawing a canvas in this embodiment runs in the electronic device 301 . First, the electronic device 301 receives the user's canvas drawing request, and displays the canvas drawing page 302. Then, when the electronic device 301 detects the user's operation on the canvas element component, and the target position of the operation is within the corresponding construction area of the canvas element component, the The target position of the area displays the canvas element 303 corresponding to the canvas element component, and finally the electronic device 301 generates the target canvas 304 according to the canvas elements in the construction area corresponding to the constituent elements, and displays the target canvas on the electronic device.
本公开实施例提供的用于绘制画布的方法,通过接收用户的画布绘制请求,显示画布绘制页面,画布绘制页面包括元素组件列表和画布视图,画布视图包括多个构成要素对应的构造区,元素组件列表中包括用户对应的构成要素的至少一个画布元素组件和各画布元素组件的多维度分类信息;响应于检测到用户针对画布元素组件的操作,且操作的目标位置位于画布元素组件对应的构造区内时,在构造区的目标位置显示画布元素组件对应的画布元素,操作由用户根据多维度分类信息对画布元素组件进行选取而触发;根据构成要素对应的构造区内的画布元素,生成目标画布,实现一种更加灵活、个性化的用于绘制画布的方法,实现不同模板画布的搭建。解决了现有模板搭建中效率低、成本高以及目前搭建的模板无法进行热更新、热修复等操作,容易增加模板搭建风险的问题。通过对元素进行多维度分类,并基于分类后的元素绘制画布,实现了多元化的元素来源且灵活便捷地模板画布的搭建,减少了生产和研发人员的投入,提升了页面搭建效率。利用灵活而个性化的模板搭建系统,达到企业对内的最大赋能与产研能力的优化,为线上活动页面提供更有效的模板方案。The method for drawing a canvas provided by an embodiment of the present disclosure displays a canvas drawing page by receiving a canvas drawing request from a user. The canvas drawing page includes a list of element components and a canvas view, and the canvas view includes a construction area corresponding to multiple constituent elements. The component list includes at least one canvas element component corresponding to the user and the multi-dimensional classification information of each canvas element component; in response to detecting the user's operation on the canvas element component, and the target position of the operation is located in the structure corresponding to the canvas element component When inside the area, the canvas element corresponding to the canvas element component is displayed at the target position of the construction area, and the operation is triggered by the user selecting the canvas element component according to the multi-dimensional classification information; according to the canvas element in the construction area corresponding to the constituent element, the target is generated Canvas, to achieve a more flexible and personalized method for drawing canvas, and realize the construction of different template canvases. It solves the problems of low efficiency and high cost in the existing formwork construction, and the currently constructed formwork cannot be hot updated, hot repaired and other operations, which easily increases the risk of formwork construction. By classifying elements in multiple dimensions and drawing canvases based on the classified elements, diversified element sources and flexible and convenient construction of template canvases are realized, which reduces the investment of production and R&D personnel and improves the efficiency of page construction. Use flexible and personalized templates to build a system to achieve maximum internal empowerment and optimization of production and research capabilities, and provide more effective template solutions for online event pages.
进一步参考图4,其示出了用于绘制画布的方法的又一个实施例的流程。该用于绘制画布的方法的流程400,包括以下步骤:Further referring to FIG. 4 , it shows the flow of another embodiment of the method for drawing a canvas. The flow 400 of the method for drawing a canvas includes the following steps:
步骤401,接收用户的画布绘制请求,显示画布绘制页面。 Step 401, receiving a canvas drawing request from a user, and displaying a canvas drawing page.
在本实施例中,执行主体可以接收用户的画布绘制请求,然后根据画布绘制请求显示画布绘制页面。其中,画布绘制页面包括元素组件列表、画布视图和画布配置区,画布视图包括多个构成要素对应的构造区,元素组件列表中包括用户对应的构成要素的至少一个画布元素组件和各画布元素组件的多维度分类信息,画布配置区包括画布元素组件的至少一个配置项。In this embodiment, the execution subject may receive the user's canvas drawing request, and then display the canvas drawing page according to the canvas drawing request. Wherein, the canvas drawing page includes an element component list, a canvas view and a canvas configuration area, the canvas view includes a construction area corresponding to multiple constituent elements, and the element component list includes at least one canvas element component and each canvas element component corresponding to the constituent elements of the user The multi-dimensional classification information, the canvas configuration area includes at least one configuration item of the canvas element component.
具体的,每个画布元素组件的多维度分类信息至少包括画布元素组件对应的画布元素的数据类型和画布元素组件对应的画布元素的样式类型。画布 元素组件对应的画布元素的样式类型预先生成,画布元素组件对应的画布元素的样式类型的生成过程包括:响应于检测到用户发送的元素样式创建指令,根据用户在元素样式创建界面中的选取操作和/或输入的内容,在选取的画布元素的数据类型与画布元素样式之间建立对应关系,通过对画布元素样式进行抽象,生成画布元素的样式类型,样式类型至少包括:表示提供基础服务的基础类、表示提供定制化服务的定制类和表示提供各种个性化服务的共建类。输入的内容至少可以包括:样式类型标识、数据绑定、事件关联、兜底显示等关键因子。Specifically, the multi-dimensional classification information of each canvas element component includes at least the data type of the canvas element corresponding to the canvas element component and the style type of the canvas element corresponding to the canvas element component. The style type of the canvas element corresponding to the canvas element component is pre-generated, and the generation process of the style type of the canvas element corresponding to the canvas element component includes: in response to detecting the element style creation instruction sent by the user, according to the user's selection in the element style creation interface The content of the operation and/or input establishes a corresponding relationship between the data type of the selected canvas element and the style of the canvas element. By abstracting the style of the canvas element, the style type of the canvas element is generated. The style type at least includes: Indicates the provision of basic services The basic class, the custom class that provides customized services, and the co-construction class that provides various personalized services. The input content may at least include: key factors such as style type identification, data binding, event correlation, and bottom-up display.
在本实施例的一些可选的实现方式中,画布元素组件对应的画布元素和画布元素的数据类型根据画布元素对应的原子元素和原子元素的数据来源预先确定。原子元素存储于元素库中,元素库中的原子元素根据业务需求和/或设计需求实时更新。原子元素表示构建画布的最小单位元素,数据类型至少可以包括商品类、图文类和内容类。开发人员通过维护元素库使库中各元素的信息准确、有效,更加符合业务需要。In some optional implementation manners of this embodiment, the canvas element corresponding to the canvas element component and the data type of the canvas element are predetermined according to the atomic element corresponding to the canvas element and the data source of the atomic element. Atomic elements are stored in the element library, and the atomic elements in the element library are updated in real time according to business requirements and/or design requirements. The atomic element represents the smallest unit element for constructing the canvas, and the data type can at least include commodity, graphic and content. Developers maintain the element library to make the information of each element in the library accurate and effective, and more in line with business needs.
步骤402,响应于检测到用户针对画布元素组件的操作,且操作的目标位置位于画布元素组件对应的构造区内时,在构造区的目标位置显示画布元素组件对应的画布元素。 Step 402 , in response to detecting the user's operation on the canvas element component, and when the target position of the operation is within the construction area corresponding to the canvas element component, display the canvas element corresponding to the canvas element component at the target position of the construction area.
在本实施例中,当执行主体检测到用户针对画布元素组件的操作,且操作的目标位置位于画布元素组件对应的构造区内时,利用交互协议在构造区的目标位置显示画布元素组件对应的画布元素。In this embodiment, when the execution body detects that the user operates on the canvas element component, and the target position of the operation is within the construction area corresponding to the canvas element component, the interaction protocol is used to display the corresponding canvas element component at the target position of the construction area. Canvas element.
其中,上述执行主体可以封装画布元素组件与画布视图之间的交互协议,交互协议至少包括对画布元素的路径和画布元素在画布中的位置的描述。交互协议为表征画布元素与画布视图之间的交互约定,交互协议可以为一种JSON(JavaScript Object Notation)数据格式的程序文件,用于定义至少一个画布元素的行为和数据等。交互协议中同时携带可拓展字段,可以约束各端对元素的处理逻辑,作为对外开放和共建的基石,开启多元共建的业务场景。Wherein, the above execution subject may encapsulate the interaction protocol between the canvas element component and the canvas view, and the interaction protocol at least includes a description of the path of the canvas element and the position of the canvas element in the canvas. The interaction protocol is to represent the interaction agreement between the canvas element and the canvas view. The interaction protocol can be a program file in JSON (JavaScript Object Notation) data format, which is used to define the behavior and data of at least one canvas element. The interactive protocol carries expandable fields at the same time, which can constrain the processing logic of elements at each end, as the cornerstone of opening up and co-construction, and open multiple business scenarios for co-construction.
在本实施例的一些可选的实现方式中,画布配置区还包括校验项;在根据构成要素对应的构造区内的画布元素,生成目标画布之后,还包括:响应于检测到用户针对校验项的选取操作,对目标画布进行合规校验,生成校验结果的指示信息。通过校验功能,使目标画布的绘制更加准确而有效。In some optional implementations of this embodiment, the canvas configuration area also includes check items; after generating the target canvas according to the canvas elements in the construction area corresponding to the constituent elements, it also includes: The selection operation of verification items, the compliance verification of the target canvas, and the generation of verification result instruction information. Through the verification function, the drawing of the target canvas is more accurate and effective.
步骤403,响应于检测到用户针对画布元素组件的配置项的修改操作,对构造区显示的相应画布元素组件对应的画布元素进行更新。 Step 403 , updating the canvas element corresponding to the corresponding canvas element component displayed in the construction area in response to detecting that the user modifies the configuration item of the canvas element component.
在本实施例中,当执行主体检测到用户针对画布元素组件的配置项的修改操作,对构造区显示的相应画布元素组件对应的画布元素进行更新。配置项至少可以包括调整画布元素的各个属性,通过改变属性值可以直观、实时的在画布视图中预览更新的结果。In this embodiment, when the execution body detects that the user modifies the configuration item of the canvas element component, it updates the canvas element corresponding to the corresponding canvas element component displayed in the construction area. The configuration items can at least include adjusting various attributes of the canvas element, and by changing the attribute value, the updated result can be previewed in the canvas view intuitively and in real time.
步骤404,根据构成要素对应的构造区内的画布元素,生成目标画布。Step 404: Generate a target canvas according to the canvas elements in the construction area corresponding to the constituent elements.
在本实施例的一些可选的实现方式中,在根据构成要素对应的构造区内的画布元素,生成目标画布之前,还包括:利用软件包管理器NPM(Node Package Manager)的组件库,对构成要素对应的构造区内的画布元素进行渲染。NPM包是Node.js标准的软件包管理器,前端开发人员可以快速简便的利用NPM包提供的工具实现软件包共享。通过在灵活画布渲染中使用NPM组件库,既用于运营人员或商家配置预览,也赋能普通用户的页面渲染,使得用户在配置时可实时预览线上效果,提升搭建效率,避免反复操作。In some optional implementations of this embodiment, before generating the target canvas according to the canvas elements in the construction area corresponding to the constituent elements, it also includes: using the component library of the software package manager NPM (Node Package Manager), to The canvas elements in the construction area corresponding to the constituent elements are rendered. The NPM package is a standard package manager for Node.js. Front-end developers can quickly and easily use the tools provided by the NPM package to share software packages. By using the NPM component library in flexible canvas rendering, it is not only used for operator or business configuration preview, but also enables ordinary users to render pages, so that users can preview online effects in real time during configuration, improve construction efficiency, and avoid repeated operations.
在本实施例的一些可选的实现方式中,方法还包括:基于画布绘制页面和目标画布,生成对应的画布协议,采用将用户自定义配置的画布模板及数据,通过画布导出为各端的画布协议,有效提高各端效果一致性,增强了系统个性化的拓展能力。In some optional implementations of this embodiment, the method further includes: drawing the page and the target canvas based on the canvas, generating a corresponding canvas protocol, and exporting the canvas template and data configured by the user as a canvas of each end through the canvas The agreement effectively improves the consistency of the effects at each end and enhances the system's personalized expansion capabilities.
在本实施例中,步骤404的具体操作与图2所示的实施例中的步骤203的操作基本相同,在此不再赘述。In this embodiment, the specific operation of step 404 is basically the same as the operation of step 203 in the embodiment shown in FIG. 2 , and will not be repeated here.
从图4中可以看出,与图2对应的实施例相比,本实施例中的用于绘制画布的流程400通过对画布元素样式进行抽象,生成画布元素的样式类型, 样式类型至少包括:基础类、定制类和共建类,使画布绘制具有共建和定制的功能,增强了模板画布的绘制能力,提升了模板画布的灵活度。通过在画布绘制页面包括画布配置区,响应于检测到用户针对画布元素组件的配置项的修改操作,对构造区显示的相应画布元素组件对应的画布元素进行更新,扩充了画布绘制的功能和灵活性。It can be seen from FIG. 4 that, compared with the embodiment corresponding to FIG. 2, the process 400 for drawing the canvas in this embodiment abstracts the style of the canvas element to generate the style type of the canvas element, and the style type at least includes: The basic class, custom class and co-construction class enable the canvas drawing to have co-construction and customization functions, enhance the drawing ability of the template canvas, and improve the flexibility of the template canvas. By including the canvas configuration area on the canvas drawing page, in response to detecting the user's modification operation on the configuration item of the canvas element component, the canvas element corresponding to the corresponding canvas element component displayed in the construction area is updated, expanding the function and flexibility of canvas drawing sex.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。The terminology used in the present disclosure is for the purpose of describing particular embodiments only, and is not intended to limit the present disclosure. As used in this disclosure and the appended claims, the singular forms "a", "" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items. It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present disclosure, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination."
进一步参考图5,作为对上述图2~图4所示方法的实现,本公开提供了一种用于绘制画布的装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Further referring to FIG. 5 , as an implementation of the methods shown in FIGS. 2 to 4 above, the present disclosure provides an embodiment of a device for drawing a canvas, which is similar to the method embodiment shown in FIG. 2 Correspondingly, the device can be specifically applied to various electronic devices.
如图5所示,本实施例的用于绘制画布的装置500包括:显示单元501、绘制单元502和第一生成单元503。其中,显示单元,被配置成接收用户的画布绘制请求,显示画布绘制页面,画布绘制页面包括元素组件列表和画布视图,画布视图包括多个构成要素对应的构造区,元素组件列表中包括用户对应的构成要素的至少一个画布元素组件和各画布元素组件的多维度分类信息;绘制单元,被配置成响应于检测到用户针对画布元素组件的操作,且操作的目标位置位于画布元素组件对应的构造区内时,在构造区的目标位置显示画布元素组件对应的画布元素,操作由用户根据多维度分类信息对画布元 素组件进行选取而触发;第一生成单元,被配置成根据构成要素对应的构造区内的画布元素,生成目标画布。As shown in FIG. 5 , the apparatus 500 for drawing a canvas in this embodiment includes: a display unit 501 , a drawing unit 502 and a first generating unit 503 . Wherein, the display unit is configured to receive a canvas drawing request from the user, and display a canvas drawing page, the canvas drawing page includes a list of element components and a canvas view, the canvas view includes construction areas corresponding to a plurality of constituent elements, and the list of element components includes user corresponding At least one canvas element component and the multi-dimensional classification information of each canvas element component; the drawing unit is configured to respond to the detection of the user's operation on the canvas element component, and the target position of the operation is located in the structure corresponding to the canvas element component When inside the area, the canvas element corresponding to the canvas element component is displayed at the target position of the construction area, and the operation is triggered by the user selecting the canvas element component according to the multi-dimensional classification information; the first generating unit is configured to Canvas elements in the area to generate the target canvas.
在本实施例中,用于绘制画布的装置500的显示单元501、绘制单元502和第一生成单元503的具体处理及其所带来的技术效果可分别参考图2对应的实施例中的步骤201到步骤203的相关说明,在此不再赘述。In this embodiment, the specific processing of the display unit 501, the drawing unit 502, and the first generating unit 503 of the device 500 for drawing the canvas and the technical effects brought about by them can refer to the steps in the embodiment corresponding to FIG. 2 Relevant descriptions from step 201 to step 203 will not be repeated here.
在本实施例的一些可选的实现方式中,显示单元中的每个画布元素组件的多维度分类信息至少包括画布元素组件对应的画布元素的数据类型和画布元素组件对应的画布元素的样式类型。In some optional implementations of this embodiment, the multi-dimensional classification information of each canvas element component in the display unit includes at least the data type of the canvas element corresponding to the canvas element component and the style type of the canvas element corresponding to the canvas element component .
在本实施例的一些可选的实现方式中,显示单元中的画布元素组件对应的画布元素的样式类型预先生成,装置还包括:第二生成单元,被配置成响应于检测到用户发送的元素样式创建指令,根据用户在元素样式创建界面中的选取操作和/或输入的内容,在选取的画布元素的数据类型与画布元素样式之间建立对应关系,生成画布元素的样式类型,样式类型至少包括:基础类、定制类和共建类。In some optional implementations of this embodiment, the style type of the canvas element corresponding to the canvas element component in the display unit is pre-generated, and the device further includes: a second generating unit configured to respond to the detection of the element sent by the user The style creation instruction, according to the user's selection operation and/or input content in the element style creation interface, establishes a corresponding relationship between the data type of the selected canvas element and the canvas element style, and generates the style type of the canvas element. The style type is at least Including: basic class, custom class and co-construction class.
在本实施例的一些可选的实现方式中,显示单元中的画布元素组件对应的画布元素和画布元素的数据类型根据画布元素对应的原子元素和原子元素的数据来源预先确定,原子元素存储于元素库中,元素库中的原子元素根据业务需求和/或设计需求实时更新。In some optional implementations of this embodiment, the canvas element corresponding to the canvas element component in the display unit and the data type of the canvas element are predetermined according to the atomic element corresponding to the canvas element and the data source of the atomic element, and the atomic element is stored in In the element library, the atomic elements in the element library are updated in real time according to business requirements and/or design requirements.
在本实施例的一些可选的实现方式中,显示单元中的画布绘制页面还包括画布配置区,画布配置区包括画布元素组件的至少一个配置项;装置还包括:更新单元,被配置成响应于检测到用户针对画布元素组件的配置项的修改操作,对构造区显示的相应画布元素组件对应的画布元素进行更新。In some optional implementations of this embodiment, the canvas drawing page in the display unit further includes a canvas configuration area, and the canvas configuration area includes at least one configuration item of the canvas element component; the device further includes: an update unit configured to respond to The canvas element corresponding to the corresponding canvas element component displayed in the construction area is updated upon detection of the user's modification operation on the configuration item of the canvas element component.
在本实施例的一些可选的实现方式中,显示单元中的画布配置区还包括校验项;装置还包括:校验单元,被配置成响应于检测到用户针对校验项的选取操作,对目标画布进行合规校验,生成校验结果的指示信息。In some optional implementations of this embodiment, the canvas configuration area in the display unit further includes check items; the device further includes: a check unit configured to, in response to detecting a selection operation of the check item by the user, Perform a compliance check on the target canvas, and generate an indication of the check result.
在本实施例的一些可选的实现方式中,装置还包括:渲染单元,被配置 成利用软件包管理器的组件库,对构成要素对应的构造区内的画布元素进行渲染。In some optional implementations of this embodiment, the device further includes: a rendering unit configured to use the component library of the software package manager to render the canvas elements in the construction area corresponding to the constituent elements.
在本实施例的一些可选的实现方式中,装置还包括:第三生成单元,被配置成基于目标画布和画布绘制页面,生成对应的画布协议。In some optional implementation manners of this embodiment, the device further includes: a third generating unit configured to generate a corresponding canvas protocol based on the target canvas and the canvas drawing page.
下面参考图6,其示出了适于用来实现本公开实施例的电子设备600的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图6示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring now to FIG. 6 , it shows a schematic structural diagram of an electronic device 600 suitable for implementing an embodiment of the present disclosure. The terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like. The electronic device shown in FIG. 6 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
如图6所示,电子设备600可以包括处理装置(例如中央处理器、图形处理器等)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储装置608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有电子设备600操作所需的各种程序和数据。处理装置601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6, an electronic device 600 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which may be randomly accessed according to a program stored in a read-only memory (ROM) 602 or loaded from a storage device 608. Various appropriate actions and processes are executed by programs in the memory (RAM) 603 . In the RAM 603, various programs and data necessary for the operation of the electronic device 600 are also stored. The processing device 601, ROM 602, and RAM 603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to the bus 604 .
通常,以下装置可以连接至I/O接口605:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置606;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置607;包括例如磁带、硬盘等的存储装置608;以及通信装置609。通信装置609可以允许电子设备600与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有各种装置的电子设备600,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。图6中示出的每个方框可以代表一个装置,也可以根据需要代表多个装置。Typically, the following devices can be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 607 such as a computer; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While FIG. 6 shows electronic device 600 having various means, it should be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided. Each block shown in FIG. 6 may represent one device, or may represent multiple devices as required.
特别地,根据本公开实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开实施例包括一种计算机程序产品,其包括承 载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置608被安装,或者从ROM 602被安装。在该计算机程序被处理装置601执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 609, or from storage means 608, or from ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.
需要说明的是,本公开实施例的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开实施例中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium in the embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device. However, in the embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:接收 用户的画布绘制请求,显示画布绘制页面,画布绘制页面包括元素组件列表和画布视图,画布视图包括多个构成要素对应的构造区,元素组件列表中包括用户对应的构成要素的至少一个画布元素组件和各画布元素组件的多维度分类信息;响应于检测到用户针对画布元素组件的操作,且操作的目标位置位于画布元素组件对应的构造区内时,在构造区的目标位置显示画布元素组件对应的画布元素,操作由用户根据多维度分类信息对画布元素组件进行选取而触发;根据构成要素对应的构造区内的画布元素,生成目标画布。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: receives a user's canvas drawing request, displays a canvas drawing page, and the canvas drawing page includes element components list and canvas view, the canvas view includes construction areas corresponding to multiple constituent elements, and the element component list includes at least one canvas element component of the constituent elements corresponding to the user and multi-dimensional classification information of each canvas element component; in response to detecting that the user targets When the canvas element component is operated, and the target position of the operation is in the construction area corresponding to the canvas element component, the canvas element corresponding to the canvas element component is displayed at the target position of the construction area, and the operation is performed by the user on the canvas element component according to the multi-dimensional classification information Triggered by selection; generate the target canvas according to the canvas elements in the construction area corresponding to the constituent elements.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开实施例的操作的计算机程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of embodiments of the present disclosure may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional A procedural programming language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, using an Internet service provider to connected via the Internet).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括显示单元、绘制单元和第一生成单元。这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,显示单元还可以被描述为“接收用户的画布绘制请求,显示画布绘制页面的单元”。The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. The described units may also be set in a processor, for example, it may be described as: a processor includes a display unit, a rendering unit, and a first generating unit. The names of these units do not limit the unit itself under certain circumstances. For example, the display unit may also be described as "a unit that receives a user's canvas drawing request and displays a canvas drawing page".
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开实施例中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开实施例中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, and should also cover the technical solution obtained by the above-mentioned technology without departing from the above-mentioned inventive concept. Other technical solutions formed by any combination of features or equivalent features. For example, a technical solution formed by replacing the above-mentioned features with technical features having similar functions disclosed in (but not limited to) the embodiments of the present disclosure.

Claims (14)

  1. 一种用于绘制画布的方法,包括:A method for drawing on a canvas, comprising:
    接收用户的画布绘制请求,显示画布绘制页面,所述画布绘制页面包括元素组件列表和画布视图,所述画布视图包括多个构成要素对应的构造区,所述元素组件列表中包括所述用户对应的所述构成要素的至少一个画布元素组件和各画布元素组件的多维度分类信息;Receive the user's canvas drawing request, display the canvas drawing page, the canvas drawing page includes an element component list and a canvas view, the canvas view includes a plurality of construction areas corresponding to the constituent elements, and the element component list includes the user's corresponding At least one canvas element component of the constituent elements and multi-dimensional classification information of each canvas element component;
    响应于检测到所述用户针对所述画布元素组件的操作,且操作的目标位置位于所述画布元素组件对应的构造区内时,在所述构造区的目标位置显示所述画布元素组件对应的画布元素,所述操作由所述用户根据所述多维度分类信息对所述画布元素组件进行选取而触发;In response to detecting the user's operation on the canvas element component, and when the target position of the operation is located in the construction area corresponding to the canvas element component, display the corresponding canvas element, the operation is triggered by the user selecting the canvas element component according to the multi-dimensional classification information;
    根据所述构成要素对应的构造区内的画布元素,生成目标画布。A target canvas is generated according to the canvas elements in the construction area corresponding to the constituent elements.
  2. 根据权利要求1所述的方法,其中,所述每个画布元素组件的多维度分类信息至少包括画布元素组件对应的画布元素的数据类型和画布元素组件对应的画布元素的样式类型。The method according to claim 1, wherein the multi-dimensional classification information of each canvas element component includes at least the data type of the canvas element corresponding to the canvas element component and the style type of the canvas element corresponding to the canvas element component.
  3. 根据权利要求2所述的方法,其中,所述画布元素组件对应的画布元素的样式类型预先生成,所述生成的过程包括:The method according to claim 2, wherein the style type of the canvas element corresponding to the canvas element component is pre-generated, and the generating process includes:
    响应于检测到所述用户发送的元素样式创建指令,根据所述用户在元素样式创建界面中的选取操作和/或输入的内容,在选取的画布元素的数据类型与画布元素样式之间建立对应关系,生成画布元素的样式类型,所述样式类型至少包括:基础类、定制类和共建类。In response to detecting the element style creation instruction sent by the user, according to the user's selection operation and/or input content in the element style creation interface, establish a correspondence between the data type of the selected canvas element and the canvas element style relationship, to generate the style type of the canvas element, and the style type at least includes: basic class, custom class and co-constructed class.
  4. 根据权利要求2所述的方法,其中,所述画布元素组件对应的画布元素和所述画布元素的数据类型根据所述画布元素对应的原子元素和所述原子元素的数据来源预先确定,所述原子元素存储于元素库中,所述元素库中的 原子元素根据业务需求和/或设计需求实时更新。The method according to claim 2, wherein the canvas element corresponding to the canvas element component and the data type of the canvas element are predetermined according to the atomic element corresponding to the canvas element and the data source of the atomic element, the The atomic elements are stored in an element library, and the atomic elements in the element library are updated in real time according to business requirements and/or design requirements.
  5. 根据权利要求1所述的方法,其中,所述画布绘制页面还包括画布配置区,所述画布配置区包括所述画布元素组件的至少一个配置项;在所述根据所述构成要素对应的构造区内的画布元素,生成目标画布之前,还包括:The method according to claim 1, wherein, the canvas drawing page further includes a canvas configuration area, and the canvas configuration area includes at least one configuration item of the canvas element component; The canvas elements in the area, before generating the target canvas, also include:
    响应于检测到所述用户针对所述画布元素组件的配置项的修改操作,对所述构造区显示的相应画布元素组件对应的画布元素进行更新。In response to detecting that the user modifies the configuration item of the canvas element component, the canvas element corresponding to the corresponding canvas element component displayed in the construction area is updated.
  6. 根据权利要求5所述的方法,其中,所述画布配置区还包括校验项;在所述根据所述构成要素对应的构造区内的画布元素,生成目标画布之后,还包括:The method according to claim 5, wherein the canvas configuration area further includes check items; after the target canvas is generated according to the canvas elements in the construction area corresponding to the constituent elements, it further includes:
    响应于检测到所述用户针对所述校验项的选取操作,对所述目标画布进行合规校验,生成校验结果的指示信息。In response to detection of the user's selection operation on the verification item, compliance verification is performed on the target canvas, and indication information of a verification result is generated.
  7. 根据权利要求1所述的方法,其中,在所述根据所述构成要素对应的构造区内的画布元素,生成目标画布之前,还包括:The method according to claim 1, wherein, before generating the target canvas according to the canvas elements in the construction area corresponding to the constituent elements, further comprising:
    利用软件包管理器的组件库,对所述构成要素对应的构造区内的画布元素进行渲染。The component library of the software package manager is used to render the canvas elements in the construction area corresponding to the constituent elements.
  8. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    基于所述画布绘制页面和所述目标画布,生成对应的画布协议。Based on the canvas drawing page and the target canvas, a corresponding canvas protocol is generated.
  9. 一种用于绘制画布的装置,包括:An apparatus for drawing a canvas, comprising:
    显示单元,被配置成接收用户的画布绘制请求,显示画布绘制页面,所述画布绘制页面包括元素组件列表和画布视图,所述画布视图包括多个构成要素对应的构造区,所述元素组件列表中包括所述用户对应的所述构成要素的至少一个画布元素组件和各画布元素组件的多维度分类信息;The display unit is configured to receive a canvas drawing request from a user, and display a canvas drawing page, the canvas drawing page includes a list of element components and a canvas view, the canvas view includes construction areas corresponding to a plurality of constituent elements, and the list of element components including at least one canvas element component of the constituent elements corresponding to the user and multi-dimensional classification information of each canvas element component;
    绘制单元,被配置成响应于检测到所述用户针对所述画布元素组件的操作,且操作的目标位置位于所述画布元素组件对应的构造区内时,在所述构造区的目标位置显示所述画布元素组件对应的画布元素,所述操作由所述用户根据所述多维度分类信息对所述画布元素组件进行选取而触发;The drawing unit is configured to, in response to detecting that the user operates on the canvas element component, and when the target position of the operation is located in the construction area corresponding to the canvas element component, display the a canvas element corresponding to the canvas element component, and the operation is triggered by the user selecting the canvas element component according to the multi-dimensional classification information;
    第一生成单元,被配置成根据所述构成要素对应的构造区内的画布元素,生成目标画布。The first generation unit is configured to generate a target canvas according to the canvas elements in the construction area corresponding to the constituent elements.
  10. 根据权利要求9所述的装置,其中,所述显示单元中的所述每个画布元素组件的多维度分类信息至少包括画布元素组件对应的画布元素的数据类型和画布元素组件对应的画布元素的样式类型。The device according to claim 9, wherein the multi-dimensional classification information of each canvas element component in the display unit includes at least the data type of the canvas element corresponding to the canvas element component and the data type of the canvas element corresponding to the canvas element component. style type.
  11. 根据权利要求10所述的装置,其中,所述显示单元中的所述画布元素组件对应的画布元素的样式类型预先生成,所述装置还包括:The device according to claim 10, wherein the style type of the canvas element corresponding to the canvas element component in the display unit is pre-generated, and the device further comprises:
    第二生成单元,被配置成响应于检测到所述用户发送的元素样式创建指令,根据所述用户在元素样式创建界面中的选取操作和/或输入的内容,在选取的画布元素的数据类型与画布元素样式之间建立对应关系,生成画布元素的样式类型,所述样式类型至少包括:基础类、定制类和共建类。The second generation unit is configured to, in response to detecting the element style creation instruction sent by the user, according to the user's selection operation and/or input content in the element style creation interface, in the data type of the selected canvas element A corresponding relationship is established between the style of the canvas element and the style type of the canvas element is generated, and the style type at least includes: a basic class, a customized class and a co-built class.
  12. 根据权利要求9所述的装置,其中,所述显示单元中的所述画布绘制页面还包括画布配置区,所述画布配置区包括所述画布元素组件的至少一个配置项;所述装置还包括:The device according to claim 9, wherein the canvas drawing page in the display unit further includes a canvas configuration area, and the canvas configuration area includes at least one configuration item of the canvas element component; the device further includes :
    更新单元,被配置成响应于检测到所述用户针对所述画布元素组件的配置项的修改操作,对所述构造区显示的相应画布元素组件对应的画布元素进行更新。The updating unit is configured to update the canvas element corresponding to the corresponding canvas element component displayed in the construction area in response to detecting that the user modifies the configuration item of the canvas element component.
  13. 一种电子设备,包括:An electronic device comprising:
    一个或多个处理器;one or more processors;
    存储装置,其上存储有一个或多个程序;a storage device having one or more programs stored thereon;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-8中任一所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors are made to implement the method according to any one of claims 1-8.
  14. 一种计算机可读介质,其上存储有计算机程序,其中,所述程序被处理器执行时实现如权利要求1-8中任一所述的方法。A computer-readable medium, on which a computer program is stored, wherein, when the program is executed by a processor, the method according to any one of claims 1-8 is realized.
PCT/CN2022/105414 2021-09-17 2022-07-13 Method and device for drawing canvas WO2023040443A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111094641.4A CN113760289A (en) 2021-09-17 2021-09-17 Method and device for drawing canvas
CN202111094641.4 2021-09-17

Publications (1)

Publication Number Publication Date
WO2023040443A1 true WO2023040443A1 (en) 2023-03-23

Family

ID=78796315

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/105414 WO2023040443A1 (en) 2021-09-17 2022-07-13 Method and device for drawing canvas

Country Status (2)

Country Link
CN (1) CN113760289A (en)
WO (1) WO2023040443A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116931888A (en) * 2023-09-14 2023-10-24 大尧信息科技(湖南)有限公司 Teaching experiment construction method, system, equipment and medium based on software definition

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760289A (en) * 2021-09-17 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for drawing canvas
CN114820864B (en) * 2022-03-04 2023-05-19 北京思明启创科技有限公司 View assembly drawing method and device, electronic equipment and storage medium
CN115357238A (en) * 2022-09-06 2022-11-18 中国建设银行股份有限公司 Data processing method, device, equipment, storage medium and product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120246554A1 (en) * 2011-03-23 2012-09-27 Ericom Software Ltd. Performing binary composition of images onto an html canvas element
CN112783488A (en) * 2019-11-08 2021-05-11 腾讯科技(深圳)有限公司 Business mode canvas drawing method and device
CN112947916A (en) * 2021-02-05 2021-06-11 北京百度网讯科技有限公司 Method, device, equipment and storage medium for realizing online canvas
CN113760289A (en) * 2021-09-17 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for drawing canvas

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120246554A1 (en) * 2011-03-23 2012-09-27 Ericom Software Ltd. Performing binary composition of images onto an html canvas element
CN112783488A (en) * 2019-11-08 2021-05-11 腾讯科技(深圳)有限公司 Business mode canvas drawing method and device
CN112947916A (en) * 2021-02-05 2021-06-11 北京百度网讯科技有限公司 Method, device, equipment and storage medium for realizing online canvas
CN113760289A (en) * 2021-09-17 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for drawing canvas

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116931888A (en) * 2023-09-14 2023-10-24 大尧信息科技(湖南)有限公司 Teaching experiment construction method, system, equipment and medium based on software definition
CN116931888B (en) * 2023-09-14 2023-12-01 大尧信息科技(湖南)有限公司 Teaching experiment construction method, system, equipment and medium based on software definition

Also Published As

Publication number Publication date
CN113760289A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
WO2023040443A1 (en) Method and device for drawing canvas
US10534533B2 (en) Messaging sticker applications
US20200236513A1 (en) Message extension app store
US20180314674A1 (en) Systems and Methods for Contextual Vocabularies and Customer Segmentation
US20210333984A1 (en) Method and apparatus for generating customized visualization component
US9176726B2 (en) Method and apparatus for developing, distributing and executing applications
WO2021223752A1 (en) Display method and apparatus, and electronic device
CN110619078B (en) Method and device for pushing information
US10423405B2 (en) Automatic submission of applications to applications stores
CN111045653B (en) System generation method and device, computer readable medium and electronic equipment
CN109408754B (en) Webpage operation data processing method and device, electronic equipment and storage medium
CN110554874A (en) Method and device for reusing webpage components of SaaS platform
CN109582317B (en) Method and apparatus for debugging hosted applications
WO2024088207A1 (en) View generation method and apparatus, electronic device, and storage medium
US20150067638A1 (en) Business-to-consumer extendable base application
CN110069186B (en) Method and equipment for displaying operation interface of application
CN111310086A (en) Page jump method and device and electronic equipment
CN110618811B (en) Information presentation method and device
CN112114735B (en) Method and device for managing tasks
CN112307723A (en) Method and device for generating code document and electronic equipment
CN109190097B (en) Method and apparatus for outputting information
CN113220293B (en) Page display method, page display device, electronic equipment and computer readable medium
CN112380821B (en) Graphic display method and device and electronic equipment
US20230396621A1 (en) Method and system for creating social media content collections
CN116126447A (en) Information processing method, device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22868820

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE