WO2023011485A1 - 图案绘制方法、装置、设备、计算机可读存储介质及产品 - Google Patents
图案绘制方法、装置、设备、计算机可读存储介质及产品 Download PDFInfo
- Publication number
- WO2023011485A1 WO2023011485A1 PCT/CN2022/109750 CN2022109750W WO2023011485A1 WO 2023011485 A1 WO2023011485 A1 WO 2023011485A1 CN 2022109750 W CN2022109750 W CN 2022109750W WO 2023011485 A1 WO2023011485 A1 WO 2023011485A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- drawn
- pattern
- preset
- pattern drawing
- instruction
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 83
- 238000004590 computer program Methods 0.000 claims abstract description 32
- 230000002452 interceptive effect Effects 0.000 claims description 27
- 238000010422 painting Methods 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 17
- 238000012545 processing Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 235000014676 Phragmites communis Nutrition 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 101000822695 Clostridium perfringens (strain 13 / Type A) Small, acid-soluble spore protein C1 Proteins 0.000 description 1
- 101000655262 Clostridium perfringens (strain 13 / Type A) Small, acid-soluble spore protein C2 Proteins 0.000 description 1
- 241001465754 Metazoa Species 0.000 description 1
- 101000655256 Paraclostridium bifermentans Small, acid-soluble spore protein alpha Proteins 0.000 description 1
- 101000655264 Paraclostridium bifermentans Small, acid-soluble spore protein beta Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004040 coloring Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3854—Instruction completion, e.g. retiring, committing or graduating
- G06F9/3856—Reordering of instructions, e.g. using queues or age tags
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2370/00—Aspects of data communication
- G09G2370/02—Networking aspects
- G09G2370/022—Centralised management of display operation, e.g. in a server instead of locally
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Definitions
- the embodiments of the present disclosure relate to the technical field of data processing, and in particular to a pattern drawing method, device, equipment, computer-readable storage medium, electronic equipment, computer products, and computer programs.
- Embodiments of the present disclosure provide a pattern drawing method, device, equipment, computer-readable storage medium, electronic equipment, computer products, and computer programs to solve the technical problem that existing pattern drawing methods cannot display patterns drawn by users in real time.
- the embodiment of the present disclosure provides a pattern drawing method, which is applied to the server side, including:
- the pattern drawing instruction includes a plurality of coordinate points to be drawn and drawing attributes corresponding to the coordinate points to be drawn;
- the drawing operation is sent to the external display terminal in real time, so that the external display terminal displays the received drawing operation in real time.
- the embodiment of the present disclosure provides a pattern drawing method applied to an external display terminal, including:
- the drawing operation is that after the server acquires the pattern drawing instruction, according to the painting attribute corresponding to the coordinate point to be drawn in the pattern drawing instruction, each coordinate to be drawn in the preset work to be drawn is Points obtained after drawing;
- the drawing operation is displayed in real time.
- the embodiment of the present disclosure provides a pattern drawing device, which is applied to the server end, including:
- An acquisition module configured to acquire a pattern drawing instruction, wherein the pattern drawing instruction includes a plurality of coordinate points to be drawn and drawing attributes corresponding to the coordinate points to be drawn;
- a drawing module configured to perform a drawing operation on each coordinate point to be drawn in the preset work to be drawn according to the drawing attribute corresponding to the coordinate point to be drawn in the pattern drawing instruction;
- the sending module is configured to send the drawing operation to an external display terminal in real time if a preset instruction is detected, so that the external display terminal displays the received drawing operation in real time.
- an embodiment of the present disclosure provides a pattern drawing device, which is applied to an external display terminal, including:
- the drawing operation acquisition module is used to acquire the drawing operation, wherein the drawing operation is that after the server acquires the pattern drawing instruction, according to the drawing attribute corresponding to the coordinate point to be drawn in the pattern drawing instruction, the preset to be drawn Obtained after drawing each coordinate point to be drawn in the work;
- a display module configured to display the drawing operation in real time.
- an embodiment of the present disclosure provides an electronic device, including: a processor and a memory;
- the memory stores computer-executable instructions
- the processor executes the computer-executed instructions stored in the memory, so that the at least one processor executes the information display method described in the above first aspect and various possible designs of the first aspect.
- the embodiments of the present disclosure provide a computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the above first aspect and the first Aspects of various possible designs of the information display method.
- an embodiment of the present disclosure provides a computer program product, including a computer program.
- the computer program When the computer program is executed by a processor, the information display method described in the above first aspect and various possible designs of the first aspect is implemented.
- an embodiment of the present disclosure provides a computer program.
- the computer program is executed by a processor, the information display method described in the above first aspect and various possible designs of the first aspect is implemented.
- FIG. 1 is a schematic diagram of the system architecture based on the present disclosure
- FIG. 2 is a schematic flow chart of a pattern drawing method provided by Embodiment 1 of the present disclosure
- FIG. 3 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure.
- FIG. 4 is a schematic flowchart of a pattern drawing method provided in Embodiment 2 of the present disclosure.
- FIG. 5 is a schematic flow chart of a pattern drawing method provided in Embodiment 3 of the present disclosure.
- FIG. 6 is a schematic diagram of another application scenario provided by an embodiment of the present disclosure.
- FIG. 7 is a schematic flowchart of a pattern drawing method provided in Embodiment 4 of the present disclosure.
- FIG. 8 is a schematic structural diagram of a pattern drawing device provided in Embodiment 5 of the present disclosure.
- FIG. 9 is a schematic structural diagram of a pattern drawing device provided in Embodiment 6 of the present disclosure.
- FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- the present disclosure provides a pattern drawing method, device, equipment, computer-readable storage medium and product.
- pattern drawing method, device, equipment, computer-readable storage medium, electronic equipment, computer product, and computer program provided by the present disclosure can be used in various scenes of synchronous display of drawing patterns.
- a work to be drawn can be set in advance, and the user can perform drawing operations based on the work to be drawn and initiate a pattern A drawing instruction, wherein the pattern drawing instruction may include a plurality of coordinate points to be drawn and drawing attributes corresponding to the coordinate points to be drawn. Therefore, the coordinate point can be drawn according to the drawing attribute. Since the drawing content is refined to the coordinate points, it is possible to display the user's drawing process in real time and improve the user experience.
- FIG. 1 is a schematic diagram of the system architecture based on the present disclosure.
- the system architecture based on the present disclosure includes at least: a terminal device 11, a server 12 and an external display terminal 13, wherein the server 12 is connected to the terminal device 11 and the external display terminal 13 respectively.
- the terminal 13 is connected in communication.
- the server 12 or the external display terminal can be provided with a pattern drawing device, and the pattern drawing device can be written in languages such as C/C++, Java, Shell or Python; the terminal device 1 can be, for example, a desktop computer, a tablet computer, etc.
- Fig. 2 is a schematic flow chart of the pattern drawing method provided by Embodiment 1 of the present disclosure. As shown in Fig. 2, the method includes:
- Step 201 Obtain a pattern drawing instruction, wherein the pattern drawing instruction includes a plurality of coordinate points to be drawn and drawing attributes corresponding to the coordinate points to be drawn.
- the execution subject of this embodiment is a pattern drawing device, and the pattern drawing device can be coupled to a server end, and the server end can communicate with a terminal device and an external display terminal respectively.
- the user can perform a pattern drawing operation on the terminal device, and send a pattern drawing instruction to the pattern drawing device in real time.
- the pattern drawing apparatus may acquire the pattern drawing instruction sent by the terminal device, wherein the pattern drawing instruction includes a plurality of coordinate points to be drawn and drawing attributes corresponding to the coordinate points to be drawn.
- the terminal device may be a user's handheld terminal, or any terminal that includes a display interface and is capable of human-computer interaction, such as a mobile robot or a display screen set up in a shopping mall.
- the user's drawing operation on the terminal device may be to color the preset work to be drawn, or it may be to add drawing content to the preset work to be drawn, which is not limited in the present disclosure .
- Step 202 perform a drawing operation on each coordinate point to be drawn in the preset work to be drawn according to the drawing attribute corresponding to the coordinate point to be drawn in the pattern drawing instruction.
- the pattern drawing device may perform a drawing operation on the pre-configured coordinate points in the work to be drawn according to the drawing attributes corresponding to the coordinate points to be drawn. For example, when the drawing operation is a coloring operation on the work to be drawn, the pattern drawing device may perform a color rendering operation on the coordinate points in the work to be drawn according to the blob drawing instruction. Since the amount of data is small when the drawing operation is performed on the coordinate points, the drawing speed is relatively fast, so that the real-time display of the user's drawing process can be realized.
- the painting attributes include one or more of attributes such as color attributes, paintbrush attributes (such as pencils, crayons, brushes, etc.), and transparency.
- attributes such as color attributes, paintbrush attributes (such as pencils, crayons, brushes, etc.), and transparency.
- paintbrush attributes such as pencils, crayons, brushes, etc.
- transparency For example, the coordinate points can be drawn in red with a pencil according to the drawing property.
- the pre-configured works to be drawn may be paintings of mentally handicapped children, or paintings drawn by other painters.
- Step 203 If a preset instruction is detected, send the drawing operation to an external display terminal in real time, so that the external display terminal displays the received drawing operation in real time.
- the drawing operation may be sent to the external display terminal. Therefore, when the external display terminal acquires the drawing operation, it can display the drawing operation in real time, that is, it can display the user's drawing process in real time.
- the preset instruction may be triggered by the user, or may be automatically triggered by the pattern drawing device when it detects that the drawing operation starts, which is not limited in the present disclosure.
- FIG. 3 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure.
- a user can draw a pattern through a handheld terminal device 31 , and the user can draw on a display interface 32 through human-computer interaction.
- the drawing operation is sent to the external display terminal 33 in real time, so that the external display terminal 33 can display the drawing operation in real time.
- step 203 it also includes:
- the drawn work to be drawn is sent to the external display terminal, so that the external display terminal displays the drawn work to be drawn.
- the external display terminal may also display the drawn work to be drawn after the user completes the drawing operation of the work to be drawn. Specifically, after it is detected that the drawing is completed according to the pattern drawing instruction, the drawing completion operation instruction may be triggered, the currently drawn work to be drawn is determined according to the completion of the drawing operation instruction, and the drawn work to be drawn is sent to the external display terminal. After the external display terminal acquires the drawn work to be drawn, it can display the work to be drawn.
- the method first obtains a pattern drawing instruction, wherein the pattern drawing instruction includes a plurality of coordinate points to be drawn and drawing attributes corresponding to the coordinate points to be drawn.
- the drawing operation is performed on each coordinate point to be drawn in the preset work to be drawn.
- the drawing operation can be sent to the external display terminal in real time, and the external display terminal can display the user's current drawing operation in real time, which improves the real-time performance of pattern drawing and display, thereby improving user experience.
- FIG. 4 is a schematic flowchart of a pattern drawing method provided in Embodiment 2 of the present disclosure.
- the number of the pattern drawing instruction is at least one, and the pattern drawing instruction includes a time stamp; as shown in FIG. 4 , step 201 specifically includes:
- Step 401 sort the pattern drawing instructions according to the time stamp, and obtain a queue to be displayed.
- Step 402 acquire pattern drawing instructions from the queue to be displayed in chronological order.
- the external display terminal can be installed in any scene with a large flow of people such as shopping malls, museums, and movie theaters. Therefore, at the same time, there may be multiple users performing the drawing operation of the work to be drawn.
- the quantity is at least one.
- each pattern drawing instruction includes a time stamp.
- At least one pattern drawing instruction may be sorted according to the time stamp to obtain a queue to be displayed. Therefore, the pattern drawing instructions can be obtained directly from the queue to be displayed in chronological order for orderly processing.
- the work to be drawn includes at least one drawable element composed of the plurality of coordinate points to be drawn;
- the pattern drawing instruction further includes a drawable element identifier;
- Step 401 specifically includes:
- the pattern drawing instructions are grouped according to the drawable element identification.
- For each drawable element sort the multiple pattern drawing instructions corresponding to the drawable element according to the time stamp, and obtain a queue to be displayed corresponding to the drawable element.
- the work to be drawn may include at least one drawable element, wherein each drawable element is composed of a plurality of coordinate points to be drawn.
- the user can perform the drawing operation on the entire work to be drawn, or perform the drawing operation on a single drawable element. Therefore, for each drawable element, in order to sequentially process all the pattern drawing instructions, the pattern drawing instructions may be grouped according to the identifier of the drawable element.
- the queue to be displayed corresponding to the drawable element can be set. Specifically, the plurality of pattern drawing instructions corresponding to the drawable elements may be sorted according to the time stamp to obtain a queue to be displayed corresponding to the drawable elements.
- the pattern drawing instruction may also include a user identifier.
- the external display terminal displays the drawing operation, it may also display the user identification in the pattern drawing instruction corresponding to the drawing operation.
- the user identifier may specifically be one or more of a user ID, a user avatar, and a user nickname.
- step 402 it also includes:
- the external display terminal is controlled to display the preset drawn works.
- the drawn works can be preset.
- the external display terminal can be controlled to display the preset drawn works.
- the pattern drawing method provided in this embodiment sorts and processes the pattern drawing instructions in chronological order, so that the user's drawing operations can be displayed sequentially on the basis of real-time display of the drawing operations, thereby improving user experience.
- Fig. 5 is a schematic flow chart of the pattern drawing method provided by Embodiment 3 of the present disclosure, and there is a corresponding relationship between the drawable elements and the preset identifiers; on the basis of any of the above embodiments, as shown in Fig. 5 , step 202 specifically includes :
- Step 501 Determine the location information of the external display terminal, and determine a preset identifier corresponding to the external display terminal according to the location information.
- Step 502. Check whether the drawable element in the pattern drawing instruction matches the preset identifier corresponding to the external display terminal.
- Step 503 if they match, perform a drawing operation on each coordinate point to be drawn in the preset work to be drawn according to the drawing attribute corresponding to the coordinate point to be drawn in the pattern drawing instruction.
- Step 504 if not, acquire the next pattern drawing instruction from the queue to be displayed in chronological order.
- the pre-configured works to be drawn may include multiple different drawable elements.
- the preset logo can be a city logo, so that different drawable elements can be controlled to be displayed in different cities.
- the preset identifier may be in one-to-one correspondence with the drawable elements, or one preset identifier may correspond to multiple drawable elements.
- the location information of the external display terminal used to display the drawing process may be determined first, and the preset identifier corresponding to the location information may be determined.
- the pattern drawing instruction is detected according to the preset identifier to determine whether the drawable element in the pattern drawing instruction matches the preset identifier corresponding to the external display terminal. If they match, the drawing operation can be performed on each coordinate point to be drawn in the preset work to be drawn according to the drawing attribute corresponding to the coordinate point to be drawn in the pattern drawing instruction.
- next pattern drawing instruction can be obtained from the queue to be displayed for processing. Specifically, the acquisition of the next pattern drawing instruction may be performed in chronological order.
- the work to be drawn includes elements such as flowers, trees, buildings, clouds, etc.
- the default logo corresponding to trees can be city B
- the default logo corresponding to buildings It may be city C
- the preset identifier corresponding to the cloud may be city D.
- the external display terminal set by city A can be controlled to only display the drawing operations of flowers and plants
- the external display terminal corresponding to city B can be controlled to only display the drawing operations corresponding to trees
- the external display terminal corresponding to city C can be controlled to only display the drawing operations corresponding to buildings.
- the external display terminal corresponding to the control city D only displays the drawing operations corresponding to the clouds.
- step 201 it also includes:
- the drawable element including the preset identifier
- the identification pattern associated with the preset identification may be obtained first.
- the triggering operation of the logo pattern associated with the preset logo can be realized by means of scanning a two-dimensional code or the like.
- the preset logo can be a city logo
- a two-dimensional code pattern can be set in shopping malls, museums and other places with large traffic and external display terminals, and users can scan the two-dimensional code pattern through terminal devices , has entered the event page of the city, and obtains the drawable elements on the event page.
- the drawable elements are in one-to-one correspondence with the preset identifiers, before the user draws, the drawable elements corresponding to the current location information can be directly displayed to the user.
- a drawable element may be acquired, where the drawable element includes a preset identifier. Enter the drawing interface corresponding to the drawable element. The user can complete the drawing operation of the drawable element in the drawing interface.
- the user can select the corresponding drawable element to perform the drawing operation according to actual needs.
- an interface for selecting a drawable element may be provided to the user, and after the drawable element selected by the user is determined, a drawing interface corresponding to the drawable element is entered.
- Fig. 6 is a schematic diagram of another application scenario provided by the embodiment of the present disclosure.
- the drawable element corresponding to the preset logo in the work to be drawn 61 may be a reed 62, therefore, only the reed 62 may be displayed, but not the color of other drawable elements in the work to be drawn 61 .
- step 202 specifically includes:
- the pattern drawing instruction corresponding to each drawable element is acquired from the queue to be displayed corresponding to each drawable element in time order.
- the drawing operation is performed on all the coordinate points to be drawn in the preset work to be drawn.
- a target external display terminal can be configured, and the target external display terminal is used to display the drawing operations of all drawable elements.
- the pattern drawing instructions corresponding to each drawable element may be acquired from the queue to be displayed corresponding to each drawable element in time order.
- the drawing attributes corresponding to the coordinate points to be drawn in each pattern drawing instruction the drawing operation is performed on all the coordinate points to be drawn in the preset works to be drawn.
- the pattern drawing method provided in this embodiment by controlling different cities to display different drawable elements, and controlling the drawing operation of the preset target external display terminal to display all drawable elements, can increase the gameplay of pattern drawing and improve user experience .
- FIG. 7 is a schematic flowchart of a pattern drawing method provided in Embodiment 4 of the present disclosure. As shown in FIG. 7 , the method includes:
- Step 701 obtain a drawing operation, wherein, the drawing operation is that after the server acquires the pattern drawing instruction, according to the painting attributes corresponding to the coordinate points to be drawn in the pattern drawing instruction, each of the preset works to be drawn is Obtained after drawing the coordinate points to be drawn.
- Step 702 display the drawing operation in real time.
- the execution subject of this embodiment is a pattern drawing device, and the pattern drawing device can be coupled to an external display terminal, and the external display terminal can communicate with the server respectively.
- the external display terminal can obtain the drawing operation sent by the server, where the drawing operation is that after the server obtains the pattern drawing instruction sent by the terminal device, the preconfigured Obtained after drawing the coordinate points in the work to be drawn. Since the amount of data is small when the drawing operation is performed on the coordinate points, the drawing speed is relatively fast, so that real-time transmission and real-time display of the drawing operation can be realized.
- the painting attributes include one or more of attributes such as color attributes, paintbrush attributes (such as pencils, crayons, brushes, etc.), and transparency.
- step 702 specifically includes:
- a drawing operation corresponding to at least one pattern drawing instruction is displayed in real time.
- the drawing operation corresponding to at least one pattern drawing instruction can be displayed in real time.
- an identifier of the user who initiates the drawing operation corresponding to the drawable element may also be displayed in a preset area around each drawable element.
- the user identifier may specifically be one or more of a user ID, a user avatar, and a user nickname.
- the external display terminal currently displays the drawing operation of the drawable element tree, and the identifier of the user A who initiates the drawing operation may be displayed in a preset area around the drawable element tree.
- user A can quickly locate the drawable element he is currently drawing on the external display terminal.
- the pattern drawing method provided in this embodiment by drawing each coordinate point, can send the drawing operation to the external display terminal in real time, and the external display terminal can display the user's current drawing operation in real time, improving the real-time display of pattern drawing. performance, thereby improving the user experience.
- step 702 specifically includes:
- the drawing operation of the drawable element corresponding to the preset identifier is displayed in real time.
- a preset identifier corresponding to the drawable element may be pre-configured.
- the preset logo can be a city logo, so that different drawable elements can be controlled to be displayed in different cities.
- the preset identifier may be in one-to-one correspondence with the drawable elements, or one preset identifier may correspond to multiple drawable elements.
- the preset logo can correspond to the drawable elements one by one.
- the drawable element corresponding to city A can be the sky, and the drawable element corresponding to city B can be the sea.
- a preset logo can correspond to multiple drawable elements.
- the drawable elements corresponding to city A can include sky and forest, and the drawable elements corresponding to city B can be animals, clouds, rivers, etc.
- the preset identifier corresponding to the external display terminal can be determined, and the drawing operation of the drawable element corresponding to the preset identifier can be displayed in real time. If the drawable element corresponding to the currently received drawing operation does not match the preset identifier, the drawing operation may not be displayed.
- the preset identifier may be a city identifier. Therefore, firstly, the current location of the external display terminal may be determined, and the corresponding preset identifier may be determined according to the current location.
- the method further includes: displaying an identification pattern associated with the preset identification.
- an identification pattern associated with a preset identification may also be displayed on the external display terminal.
- the identification pattern associated with the preset identification may be a two-dimensional code. Users can scan the QR code to enter the activity entrance, and select and draw elements that can be drawn.
- the real-time display of the drawing operation of the drawable element corresponding to the preset identifier includes:
- the drawing operation of the drawable element corresponding to the preset identifier is displayed in real time, and the drawn pattern corresponding to the interactive drawing element is displayed.
- the drawn patterns of other drawable elements may be interactively displayed during the drawing operation of the drawable element corresponding to the preset identifier.
- an interactive preset identifier may be acquired, wherein the interactive preset identifier corresponds to an interactive drawing element that can be displayed in association with the drawable element.
- the drawn pattern corresponding to the interactive preset logo can be the pattern when other drawable elements corresponding to the current city are drawn, or the drawn pattern corresponding to the interactive preset logo can be drawn for the drawable elements corresponding to other cities The finished pattern.
- the drawable element corresponding to city A may be the sky
- the drawable element corresponding to city B may be the sea.
- the drawn sea pattern corresponding to city B may be displayed.
- step 702 specifically includes:
- the drawing operations corresponding to all drawable elements are displayed in real time.
- a target external display terminal may be configured, and the target external display terminal is used to display the drawing operations of all drawable elements.
- the pattern drawing instructions corresponding to each drawable element may be acquired from the queue to be displayed corresponding to each drawable element in time order.
- the drawing operations corresponding to all drawable elements are displayed in real time.
- the pattern drawing method provided in this embodiment by controlling different cities to display different drawable elements, and controlling the drawing operation of the preset target external display terminal to display all drawable elements, can increase the gameplay of pattern drawing and improve user experience .
- FIG. 8 is a schematic structural diagram of a pattern drawing device provided in Embodiment 5 of the present disclosure.
- the pattern drawing device is applied to a server, as shown in FIG. 8 , and includes: an acquisition module 81 , a drawing module 82 and a sending module 83 .
- the acquisition module 81 is configured to acquire a pattern drawing instruction, wherein the pattern drawing instruction includes a plurality of coordinate points to be drawn and drawing attributes corresponding to the coordinate points to be drawn.
- the drawing module 82 is configured to perform a drawing operation on each coordinate point to be drawn in the preset work to be drawn according to the drawing attribute corresponding to the coordinate point to be drawn in the pattern drawing instruction.
- the sending module 83 is configured to send the drawing operation to an external display terminal in real time if a preset instruction is detected, so that the external display terminal displays the received drawing operation in real time.
- the device further includes: a sending module, further configured to send the finished work to be drawn to the external display terminal if the completion of the drawing operation instruction is detected, so that the external The display terminal displays the drawn work to be drawn.
- the number of the pattern drawing instructions is at least one, and the pattern drawing instructions include a time stamp; the acquisition module is configured to: perform each pattern drawing instruction according to the time stamp Sorting to obtain a queue to be displayed; acquiring pattern drawing instructions from the queue to be displayed in chronological order.
- the work to be drawn includes at least one drawable element composed of the plurality of coordinate points to be drawn;
- the pattern drawing instruction also includes a drawable element identifier;
- the drawing module is used to: group the pattern drawing instructions according to the drawable element identifier; for each drawable element, sort the multiple pattern drawing instructions corresponding to the drawable element according to the time stamp, Obtain the queue to be displayed corresponding to the drawable element.
- the device further includes: a detection module, configured to detect whether unprocessed pattern drawing instructions are included in the queue to be displayed; a processing module, configured to control The external display terminal displays preset finished works.
- the drawing module is configured to: determine the location information of the external display terminal, and determine according to the location information The preset identifier corresponding to the external display terminal; detecting whether the drawable element in the pattern drawing instruction matches the preset identifier corresponding to the external display terminal; Draw the drawing attributes corresponding to the coordinate points, and perform a drawing operation on each coordinate point to be drawn in the preset work to be drawn.
- the drawing module is further configured to: if there is no match, acquire the next pattern drawing instruction from the queue to be displayed in chronological order.
- the drawing module is configured to: if the external display terminal is a preset target external display terminal, obtain the display queue corresponding to each drawable element in chronological order A pattern drawing instruction corresponding to each drawable element; according to the pattern drawing instruction corresponding to each drawable element and the drawing attribute corresponding to the coordinate point to be drawn, perform a drawing operation on all the coordinate points to be drawn in the preset work to be drawn.
- the device further includes: an acquisition module, further configured to: acquire an identification pattern associated with the preset identification; acquire a drawable element, and the drawable element includes the preset Set the logo; the preprocessing module is used to enter the drawing interface.
- FIG. 9 is a schematic structural diagram of a pattern drawing device provided in Embodiment 6 of the present disclosure, which is applied to an external display terminal, and includes: a drawing operation acquisition module 91 and a display module 92 .
- the drawing operation acquisition module 91 is used to acquire the drawing operation, wherein the drawing operation is that after the server acquires the pattern drawing instruction, according to the drawing attribute corresponding to the coordinate point to be drawn in the pattern drawing instruction, the preset obtained after drawing each coordinate point to be drawn in the work to be drawn; the display module 92 is configured to display the drawing operation in real time.
- the work to be drawn includes a plurality of drawable elements, and the drawable elements have a corresponding relationship with a preset logo; the display module is used to: determine the preset logo ; Display the drawing operation of the drawable element corresponding to the preset identifier in real time.
- the display module is configured to: acquire an interactive preset identifier corresponding to an interactive drawing element of the second external display terminal; detect whether the interactive preset identifier is acquired The drawn pattern corresponding to the logo is set; if the drawn pattern is detected, the drawing operation of the drawable element corresponding to the preset logo is displayed in real time, and the drawn pattern corresponding to the interactive drawing element is displayed.
- the method further includes: displaying an identification pattern associated with the preset identification.
- the number of the pattern drawing instruction is at least one
- the display module is configured to: display the drawing operation corresponding to at least one pattern drawing instruction in real time.
- the device provided in the embodiment can be used to implement the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not repeat them here.
- Another embodiment of the present disclosure also provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the processor executes the computer-executable instructions, the implementation of any of the above-mentioned embodiments The pattern drawing method described above.
- Another embodiment of the present disclosure further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the pattern drawing method described in any one of the above embodiments is implemented.
- Another embodiment of the present disclosure also provides an electronic device, including: a processor and a memory;
- the memory stores computer-executable instructions
- the processor executes the computer-executable instructions stored in the memory, so that the processor executes the pattern drawing method described in any one of the above embodiments.
- Yet another embodiment of the present disclosure further provides a computer program, when the computer program is executed by a processor, the method for drawing a pattern as described in any of the above embodiments is implemented.
- FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. As shown in FIG. 10 , it shows a schematic structural diagram of an electronic device 1000 suitable for implementing an embodiment of the present disclosure.
- the electronic device 1000 may be a terminal device or server.
- the terminal equipment may include but not limited to mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA for short), tablet computers (Portable Android Device, PAD for short), portable multimedia players (Portable Media Player, referred to as PMP), mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc.
- PDA Personal Digital Assistant
- PMP portable multimedia players
- mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals)
- fixed terminals such as digital TVs, desktop computers, etc.
- the electronic device shown in FIG. 10 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure
- an electronic device 1000 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 1001, which may be stored in a program in a read-only memory (Read Only Memory, ROM for short) 1002 or from a storage device. 1008 is loaded into the random access memory (Random Access Memory, RAM for short) 1003 to execute various appropriate actions and processes. In the RAM 1003, various programs and data necessary for the operation of the electronic device 1000 are also stored.
- the processing device 1001, ROM 1002, and RAM 1003 are connected to each other through a bus 1004.
- An input/output (I/O) interface 1005 is also connected to the bus 1004 .
- an input device 1006 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; ), a speaker, a vibrator, etc.
- a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.
- the communication means 1009 may allow the electronic device 1000 to perform wireless or wired communication with other devices to exchange data. While FIG. 10 shows electronic device 1000 having various means, it is to 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.
- embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts.
- the computer program may be downloaded and installed from a network via the communication means 1009, or from the storage means 1008, or from the ROM 1002.
- the processing device 1001 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
- the above-mentioned computer-readable medium in 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.
- 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 (Erasable Programmable ROM, EPROM for short) or flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read Only Memory, CD-ROM for short), optical storage device, magnetic storage device, or any of the above-mentioned suitable combination.
- a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction 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 carrying computer-readable program code therein. 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 .
- the program code contained on the computer readable medium can be transmitted by any appropriate medium, including but not limited to: electric wire, optical cable, radio frequency (Radio Frequency, RF for short), 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 is made to execute the methods shown in the above-mentioned embodiments.
- Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional 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 can be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external A computer (connected via the Internet, eg, using an Internet service provider).
- LAN Local Area Network
- WAN Wide Area Network
- 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. Wherein, the name of the unit does not constitute a limitation of the unit itself under certain circumstances, for example, the first obtaining unit may also be described as "a unit for obtaining at least two Internet Protocol addresses".
- exemplary types of hardware logic components include: Field Programmable Gate Array (Field Programmable Gate Array, FPGA for short), Application Specific Integrated Circuit (ASIC for short), Application Specific Standard Products ( Application Specific Standard Product (ASSP for short), System on a Chip (SOC for short), Complex Programmable Logic Device (CPLD for short), etc.
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
- a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
- machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) or flash memory, optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
- RAM random access memory
- ROM read only memory
- EPROM erasable programmable read only memory
- flash memory optical fiber
- CD-ROM compact disk read only memory
- magnetic storage or any suitable combination of the foregoing.
- a pattern drawing method applied on the server side including:
- the pattern drawing instruction includes a plurality of coordinate points to be drawn and drawing attributes corresponding to the coordinate points to be drawn;
- the drawing operation is sent to an external display terminal in real time, so that the external display terminal displays the received drawing operation in real time.
- the drawing operation is sent to the external display terminal in real time, so that the external display terminal displays the received drawing in real time operations, including:
- the drawn work to be drawn is sent to the external display terminal, so that the external display terminal displays the drawn work to be drawn.
- the number of the pattern drawing instruction is at least one, and the pattern drawing instruction includes a time stamp; the acquisition of the pattern drawing instruction sent by the terminal device includes:
- the work to be drawn includes at least one drawable element composed of the plurality of coordinate points to be drawn; the pattern drawing instruction further includes a drawable element identifier;
- the step of sorting the pattern drawing instructions according to the timestamp to obtain the queue to be displayed includes:
- For each drawable element sort the multiple pattern drawing instructions corresponding to the drawable element according to the time stamp, and obtain a queue to be displayed corresponding to the drawable element.
- the external display terminal is controlled to display the preset drawn works.
- the drawing operation is performed on each coordinate point to be drawn in the preset work to be drawn, including:
- the drawable element in the pattern drawing instruction matches the preset identifier corresponding to the external display terminal, it further includes:
- next pattern drawing instruction is acquired from the queue to be displayed in chronological order.
- the drawing operation on each coordinate point to be drawn in the preset work to be drawn according to the drawing attribute corresponding to the coordinate point to be drawn in the pattern drawing instruction includes:
- the external display terminal is a preset target external display terminal, acquiring the pattern drawing instructions corresponding to each drawable element from the queue to be displayed corresponding to each drawable element in chronological order;
- the drawing operation is performed on all the coordinate points to be drawn in the preset work to be drawn.
- the final pattern drawing instruction before acquiring the final pattern drawing instruction, it also includes:
- the preset pattern including the preset logo
- a pattern drawing method applied to an external display terminal including:
- the drawing operation is that after the server acquires the pattern drawing instruction, according to the painting attribute corresponding to the coordinate point to be drawn in the pattern drawing instruction, each coordinate to be drawn in the preset work to be drawn is Points obtained after drawing;
- the drawing operation is displayed in real time.
- the work to be drawn includes a plurality of drawable elements, and the drawable elements have a corresponding relationship with preset identifiers;
- the real-time display of the drawing operation includes:
- the drawing operation of the drawable element corresponding to the preset identifier is displayed in real time.
- the real-time display of the drawing operation of the drawable element corresponding to the preset identifier includes:
- the drawing operation of the drawable element corresponding to the preset identifier is displayed in real time, and the drawn pattern corresponding to the interactive drawing element is displayed.
- the method further includes: displaying an identification pattern associated with the preset identification.
- the number of the pattern drawing instruction is at least one
- the real-time display of the drawing operation includes:
- a drawing operation corresponding to at least one pattern drawing instruction is displayed in real time.
- a pattern drawing device is provided, which is applied to a server, including:
- An acquisition module configured to acquire a pattern drawing instruction, wherein the pattern drawing instruction includes a plurality of coordinate points to be drawn and drawing attributes corresponding to the coordinate points to be drawn;
- a drawing module configured to perform a drawing operation on each coordinate point to be drawn in the preset work to be drawn according to the drawing attribute corresponding to the coordinate point to be drawn in the pattern drawing instruction;
- the sending module is configured to send the drawing operation to an external display terminal in real time if a preset instruction is detected, so that the external display terminal displays the received drawing operation in real time.
- the device further includes: a sending module, further configured to send the drawn to-be-drawn work to the external display terminal if the completion of the drawing operation instruction is detected, so that the external The display terminal displays the drawn work to be drawn.
- the number of the pattern drawing instruction is at least one, and the pattern drawing instruction includes a time stamp; the acquiring module is configured to: perform each pattern drawing instruction according to the time stamp Sorting to obtain a queue to be displayed; acquiring pattern drawing instructions from the queue to be displayed in chronological order.
- the work to be drawn includes at least one drawable element composed of the plurality of coordinate points to be drawn; the pattern drawing instruction further includes a drawable element identifier; the The drawing module is used to: group the pattern drawing instructions according to the drawable element identifier; for each drawable element, sort the multiple pattern drawing instructions corresponding to the drawable element according to the time stamp, Obtain the queue to be displayed corresponding to the drawable element.
- the device further includes: a detection module, configured to detect whether unprocessed pattern drawing instructions are included in the queue to be displayed; a processing module, configured to control The external display terminal displays preset finished works.
- the drawing module is configured to: determine the location information of the external display terminal, and determine according to the location information The preset identifier corresponding to the external display terminal; detecting whether the drawable element in the pattern drawing instruction matches the preset identifier corresponding to the external display terminal; Draw the drawing attributes corresponding to the coordinate points, and perform a drawing operation on each coordinate point to be drawn in the preset work to be drawn.
- the drawing module is further configured to: if there is no match, acquire the next pattern drawing instruction from the queue to be displayed in chronological order.
- the drawing module is configured to: if the external display terminal is a preset target external display terminal, obtain from the queue to be displayed corresponding to each drawable element in chronological order A pattern drawing instruction corresponding to each drawable element; according to the pattern drawing instruction corresponding to each drawable element and the drawing attribute corresponding to the coordinate point to be drawn, perform a drawing operation on all the coordinate points to be drawn in the preset work to be drawn.
- the device further includes: an acquisition module, further configured to: acquire an identification pattern associated with the preset identification; acquire a drawable element, the drawable element includes the preset Set the logo; the preprocessing module is used to enter the drawing interface.
- a pattern drawing device is provided, which is applied to an external display terminal, including:
- the drawing operation acquisition module is used to acquire the drawing operation, wherein the drawing operation is that after the server acquires the pattern drawing instruction, according to the drawing attribute corresponding to the coordinate point to be drawn in the pattern drawing instruction, the preset to be drawn Obtained after drawing each coordinate point to be drawn in the work;
- a display module configured to display the drawing operation in real time.
- the work to be drawn includes a plurality of drawable elements, and the drawable elements have a corresponding relationship with a preset logo;
- the display module is configured to: determine the preset logo ; Display the drawing operation of the drawable element corresponding to the preset identifier in real time.
- the display module is configured to: acquire an interaction preset identifier corresponding to an interactive drawing element of the second external display terminal; detect whether the interaction preset is acquired The drawn pattern corresponding to the logo is set; if the drawn pattern is detected, the drawing operation of the drawable element corresponding to the preset logo is displayed in real time, and the drawn pattern corresponding to the interactive drawing element is displayed.
- an identification pattern display module configured to display an identification pattern associated with the preset identification.
- the number of the pattern drawing instruction is at least one
- the display module is configured to: display a drawing operation corresponding to at least one pattern drawing instruction in real time.
- an electronic device including: at least one processor and a memory;
- the memory stores computer-executable instructions
- the at least one processor executes the computer-executed instructions stored in the memory, so that the at least one processor executes the information display method described in the above first aspect and various possible designs of the first aspect.
- a computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, Realize the information display method described in the above first aspect and various possible designs of the first aspect.
- a computer program product including a computer program, and when the computer program is executed by a processor, various possible designs of the above first aspect and the first aspect can be realized The information display method described above.
- a computer program when the computer program is executed by a processor, the information display described in the above first aspect and various possible designs of the first aspect can be realized method.
- the method first obtains a pattern drawing instruction, wherein the pattern drawing instruction includes a plurality of coordinate points to be drawn and The drawing attributes corresponding to the coordinate points to be drawn.
- the drawing operation is performed on each coordinate point to be drawn in the preset work to be drawn.
- the drawing operation can be sent to the external display terminal in real time, and the external display terminal can display the user's current drawing operation in real time, which improves the real-time performance of pattern drawing and display, thereby improving user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本公开实施例提供一种图案绘制方法、装置、设备、计算机可读存储介质、电子设备、计算机产品及计算机程序,该方法包括:获取图案绘制指令,其中,所述图案绘制指令中包括多个待绘制坐标点以及与待绘制坐标点对应的绘画属性;根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作;若检测到预设指令,将所述绘制操作实时发送至外部显示终端,使得所述外部显示终端实时地显示接收到的所述绘制操作。从而能够将绘制操作实时发送至外部显示终端,外部显示终端能够实时地显示用户当前的绘制操作,提高了图案绘制显示的实时性,进而能够提高用户体验。
Description
相关申请的交叉引用
本公开要求于2021年08月04日提交的申请号为202110890943.6、名称为“图案绘制方法、装置、设备、计算机可读存储介质及产品”的中国专利申请的优先权,此申请的内容通过引用并入本文。
本公开实施例涉及数据处理技术领域,尤其涉及一种图案绘制方法、装置、设备、计算机可读存储介质、电子设备、计算机产品及计算机程序。
商场、科技馆、规划馆、博物馆、行业展馆、主题展馆等人流较大的场所,为了吸引人流、提高用户体验,一般都会采用大屏幕与用户进行互动,并可以支持人机交互,显示用户自定义的一些内容。
发明内容
本公开实施例提供一种图案绘制方法、装置、设备、计算机可读存储介质、电子设备、计算机产品及计算机程序,以解决现有的图案绘制方法无法实时展示用户绘制的图案的技术问题。
第一方面,本公开实施例提供一种图案绘制方法,应用于服务器端,包括:
获取图案绘制指令,其中,所述图案绘制指令中包括多个待绘制坐标点以及与待绘制坐标点对应的绘画属性;
根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作;
若检测到预设指令,将所述绘制操作实时发送至所述外部显示终端,使得外部显示终端实时地显示接收到的所述绘制操作。
第二方面,本公开实施例提供一种图案绘制方法,应用于外部显示终端,包括:
获取绘制操作,其中,所述绘制操作为所述服务器端在获取图案绘制指令之后,根据图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制后获得的;
实时显示所述绘制操作。
第三方面,本公开实施例提供一种图案绘制装置,应用于服务器端,包括:
获取模块,用于获取图案绘制指令,其中,所述图案绘制指令中包括多个待绘制坐标点以及与待绘制坐标点对应的绘画属性;
绘制模块,用于根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作;
发送模块,用于若检测到预设指令,将所述绘制操作实时发送至外部显示终端,使得所述外部显示终端实时地显示接收到的所述绘制操作。
第四方面,本公开实施例提供一种图案绘制装置,应用于外部显示终端,包括:
绘制操作获取模块,用于获取绘制操作,其中,所述绘制操作为所述服务器端在获取图案绘制指令之后,根据图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制后获得的;
显示模块,用于实时显示所述绘制操作。
第五方面,本公开实施例提供一种电子设备,包括:处理器和存储器;
所述存储器存储计算机执行指令;
所述处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第一方面以及第一方面各种可能的设计所述的信息显示方法。
第六方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计所述的信息显示方法。
第七方面,本公开实施例提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的信息显示方法。
第八方面,本公开实施例提供一种计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的信息显示方法。
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开基于的系统架构示意图;
图2为本公开实施例一提供的图案绘制方法的流程示意图;
图3为本公开实施例提供的应用场景示意图;
图4为本公开实施例二提供的图案绘制方法的流程示意图;
图5为本公开实施例三提供的图案绘制方法的流程示意图;
图6为本公开实施例提供的又一应用场景示意图;
图7为本公开实施例四提供的图案绘制方法的流程示意图;
图8为本公开实施例五提供的图案绘制装置的结构示意图;
图9为本公开实施例六提供的图案绘制装置的结构示意图;
图10为本公开实施例提供的电子设备的结构示意图。
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
针对上述提及的在现有的图案绘制方法无法实时展示用户绘制的图案的技术问题,本公开提供了一种图案绘制方法、装置、设备、计算机可读存储介质及产品。
需要说明的是,本公开提供图案绘制方法、装置、设备、计算机可读存储介质、电子设备、计算机产品及计算机程序可运用在各种绘制图案同步显示的场景中。
现有的绘制图案显示方法,为了实现对用户绘制的图案的展示,需要根据用户绘制的图案的位置,颜色以及形状进行图案的绘制,并展示绘制后的图案。由于用户绘制的图案内容较多,一般都是在用户完成绘制之后,直接显示绘制完毕的图像。无法实时地对用户绘制的图像进行显示,导致用户无法实时、直观地查看当前的画作,用户体验较差。
在解决上述技术问题的过程中,发明人通过研究发现,为了能够实时地显示用户绘制的图案以及绘制过程,可以预先设置一待绘制作品,用户可以根据该待绘制作品进行绘制操作,并发起图案绘制指令,其中,该图案绘制指令中可以包括多个待绘制坐标点以及与待绘制坐标点对应的绘画属性。从而能够根据该绘画属性对坐标点进行绘制操作。由于将绘制内容细化到坐标点,从而能够实时地展示用户的绘制过程,提高用户体验。
图1为本公开基于的系统架构示意图,如图1所示,本公开基于的系统架构至少包括:终端设备11、服务器12以及外部显示终端13,其中,服务器12分别与终端设备11以及外部显示终端13通信连接。服务器12或外部显示终端内可设置有图案绘制装置,该图案绘制装置可采用C/C++、Java、Shell或Python等语言编写;终端设备1则可以是例如台式电脑、平板电脑等。
图2为本公开实施例一提供的图案绘制方法的流程示意图,如图2所示,该方法包括:
步骤201、获取图案绘制指令,其中,所述图案绘制指令中包括多个待绘制坐标点以及与待绘制坐标点对应的绘画属性。
本实施例的执行主体为图案绘制装置,该图案绘制装置可耦合于服务器端,该服务器端可以分别与终端设备以及外界显示终端通信连接。
在本实施方式中,用户可以在终端设备上进行图案的绘制操作,并实时地向图案绘制装置发送图案绘制指令。相应地,图案绘制装置可以获取终端设备发送的图案绘制指令,其中,该图案绘制指令中包括多个待绘制坐标点以及与待绘制坐标点对应的绘画属性。
其中,该终端设备可以为用户的手持终端,也可以为任意一种包括显示界面且能够进行人机交互的终端,例如商场设置的可移动机器人或者显示屏幕等。
可选地,用户在终端设备上的绘制操作可以为对预先设置的待绘制作品进行涂色操作,或者,可以为在预先设置的待绘制作品上添加绘制内容等,本公开对此不做限制。
步骤202、根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作。
在本实施方式中,在获取到图案绘制指令之后,图案绘制装置可以根据该待绘制坐标点对应的绘画属性,对预先配置的待绘制作品中的坐标点进行绘制操作。举例来说,当绘制操作为对待绘制作品进行涂色操作时,图案绘制装置可以根据该团绘制指令对待绘制作品中的坐标点进行颜色渲染操作。由于对坐标点进行绘制操作时,数据量较小,因此,绘制速度较快,从而能够实现对用户的绘制过程的实时展示。
其中,绘画属性包括颜色属性、画笔属性(例如铅笔、蜡笔、刷子等)、透明度等属性中的一项或多项。举例来说,可以根据绘画属性,采用铅笔将坐标点绘制成红色。
作为一种可以实施的方式,该预先配置的待绘制作品可以为心智障碍小朋友的画作,也可以为其他画家绘制的画作。
步骤203、若检测到预设指令,将所述绘制操作实时发送至外部显示终端,使得所述外部显示终端实时地显示接收到的所述绘制操作。
在本实施方式中,在根据图案绘制指令进行绘制操作的过程中,为了实现对绘制操作的实时显示,在检测到预设指令时,可以将该绘制操作发送至外部显示终端。从而外部显示终端在获取到绘制操作时,即可以实时地显示该绘制操作,也即能够实时地展示用户的绘制过程。其中,该预设指令可以为用户触发的,也可以为图案绘制装置在检测到绘制操作开始时自动触发的,本公开对此不做限制。
图3为本公开实施例提供的应用场景示意图,如图3所示,用户可以通过手持终端设备31进行图案的绘制操作,用户可以通过人机交互的方式在显示界面32上进行绘制。并实时地将绘制操作发送至外部显示终端33,从而外部显示终端33能够实时地显示该绘制操作。
进一步地,在实施例一的基础上,步骤203之后,还包括:
若检测到完成绘制操作指令,将绘制后的待绘制作品发送至所述外部显示终端,使得所述外部显示终端显示所述绘制后的待绘制作品。
在本实施例中,该外部显示终端还可以在用户完成对待绘制作品的绘制操作后,显示绘制后的待绘制作品。具体地,在检测到根据图案绘制指令完成绘制后,可以触发完成绘制操作指令,根据该完成绘制操作指令确定当前绘制后的待绘制作品,将该绘制后的待绘制作品发送至外部显示终端。外部显示终端在获取到该绘制后的待绘制作品之后,可以显示该待绘制作品。
本实施例提供的图案绘制方法,该方法首先获取图案绘制指令,其中图案绘制指令中包括多个待绘制坐标点以及与待绘制坐标点对应的绘画属性。根据该图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作。通过对每一坐标点进行绘制,从而能够将绘制操作实时发送至外部显示终端,外部显示终端能够实时地显示用户当前的绘制操作,提高了图案绘制显示的实时性,进而能够提高用户体验。
图4为本公开实施例二提供的图案绘制方法的流程示意图,所述图案绘制指令的数量为至少一个,所述图案绘制指令中包括时间戳;如图4所示,步骤201具体包括:
步骤401、根据所述时间戳对各图案绘制指令进行排序,获得待显示队列。
步骤402、按照时间顺序从所述待显示队列中获取图案绘制指令。
在本实施例中,该外部显示终端可以设置在商场、博物馆、电影院等任意一种人流量较大的场景,因此,同一时刻可能存在多个用户进行待绘制作品的绘制操作,图案绘制指令的数量为至少一个。为了能够对全部用户的绘制操作进行显示,且提高用户体验,避免用户过多地等待,每一图案绘制指令中均包括时间戳。
在获取到图案绘制指令之后,可以根据时间戳对至少一个图案绘制指令进行排序,获得待显示队列。从而后续可以直接按照时间顺序从该待显示队列中获取图案绘制指令进行有序处理。
进一步地,在上述任一实施例的基础上,所述待绘制作品中包括由所述多个待绘制坐标点构成的至少一个可绘制元素;所述图案绘制指令中还包括可绘制元素标识;步骤401具体包括:
根据所述可绘制元素标识对所述图案绘制指令进行分组操作。
针对每一可绘制元素,根据所述时间戳对所述可绘制元素对应的多个图案绘制指令进行排序,获得与所述可绘制元素对应的待显示队列。
在本实施例中,待绘制作品中可以包括至少一个可绘制元素,其中,每一可绘制元素均有多个待绘制坐标点组成。用户在绘制操作过程中,可以对整张待绘制作品进行绘制操作,也可以对单个的可绘制元素进行绘制操作。因此,针对每一可绘制元素,为了能够顺序对全部的图案绘制指令进行处理,可以根据可绘制元素的标识对图案绘制指令进行分组操作。针对每一可绘制元素,可以设置该可绘制元素对应的待显示队列。具体地,可以根据所述时间戳对所述可绘制元素对应 的多个图案绘制指令进行排序,获得与所述可绘制元素对应的待显示队列。
作为一种可以实施的方式,由于进行绘制操作的用户较多,为了使得用户更加快速准确进行绘制图像的定位以及了解,该图案绘制指令中还可以包括用户标识。相应地,在外部显示终端在显示绘制操作时,还可以显示与该绘制操作对应的图案绘制指令中的用户标识。其中,该用户标识具体可以为用户的ID、用户头像、用户昵称中的一种或多种。
进一步地,在上述任一实施例的基础上,步骤402之后,还包括:
检测所述待显示队列中是否还包括未处理的图案绘制指令;
若不包括,则控制所述外部显示终端显示预设的绘制完成的作品。
在本实施例中,若当前没有用户进行绘制操作,或者,已经完成对当前全部图案绘制指令的处理之后,为了使得外部显示终端一直能够进行绘制图案的显示,可以预先设置绘制完成的作品。
具体地,可以检测待显示队列中是否存在未处理的图案绘制指令。若存在,则继续获取图案绘制指令进行处理。反之,则可以控制外部显示终端显示预设的绘制完成的作品。
本实施例提供的图案绘制方法,通过按照时间顺序对图案绘制指令进行排序以及处理,从而能够在实现对绘制操作的实时显示的基础上,顺序地对用户的绘制操作进行显示,提高用户体验。
图5为本公开实施例三提供的图案绘制方法的流程示意图,所述可绘制元素与预设标识存在对应关系;在上述任一实施例的基础上,如图5所示,步骤202具体包括:
步骤501、确定所述外部显示终端所处的位置信息,根据所述位置信息确定所述外部显示终端对应的预设标识。
步骤502、检测所述图案绘制指令中的可绘制元素与所述外部显示终端对应的预设标识是否相匹配。
步骤503、若匹配,则根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作。
步骤504、若不匹配,则按照时间顺序从所述待显示队列中获取下一图案绘制指令。
在本实施例中,预先配置的待绘制作品中可以包括多个不同的可绘制元素,为了提高图案绘制的趣味性以及适用性,针对每一可绘制元素,可以预先配置与该可绘制元素对应的预设标识。该预设标识具体可以为城市标识,从而可以控制在不同的城市显示不同的可绘制元素。其中,该预设标识可以与可绘制元素一一对应,或者,一个预设标识可以对应有多个可绘制元素。
具体地,在获取到图案绘制指令之后,可以首先确定用于显示绘制过程的外部显示终端所处的位置信息,确定与该位置信息相对应的预设标识。根据该预设标识对图案绘制指令进行检测,以确定该图案绘制指令中可绘制元素与该外部显示终端对应的预设标识是否相匹配。若相匹配,则可以根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作。
反之,若不匹配,则可以从待显示队列中获取下一图案绘制指令进行处理。具体地,可以按照时间顺序进行下一图案绘制指令的获取。
举例来说,若待绘制作品中包括花草、树木、楼房、云彩等元素,可以预先设置花草对应的预设标识为城市A,树木对应的预设标识可以为城市B,楼房对应的预设标识可以为城市C,云彩对应的预设标识可以为城市D。从而后续可以控制城市A设置的外部显示终端只显示花草的绘制操作,控制城市B对应的外部显示终端只显示树木对应的绘制操作,控制城市C对应的外部显示终端只显示楼房对应的绘制操作,控制城市D对应的外部显示终端只显示云彩对应的绘制操作。
进一步地,在实施例一的基础上,步骤201之前,还包括:
获取与所述预设标识关联的标识图案;
获取可绘制元素,所述可绘制元素包含所述预设标识;
进入绘制界面。
在本实施例中,在进行绘制操作之前,首先可以获取与预设标识关联的标识图案。具体可以采用扫描二维码等方式实现对于预设标识关联的标识图案的触发操作。举例来说,该预设标识可以为城市标识,可以在商场、博物馆等人流量较大且设置有外部显示终端的场所设置二维码图案,用户可以通过终端设备对该二维码图案进行扫描,已进入该城市的活动页面,在该活动页面获取可绘制元素。
由于可绘制元素与预设标识一一对应,因此,在用户进行绘制之前,可以直接向用户显示当前位置信息对应的可绘制元素。具体地,可以获取可绘制元素,其中,该可绘制元素中包括预设标识。进入该可绘制元素对应的绘制界面。用户可以在该绘制界面内完成对该可绘制元素的绘制操作。
作为一种可以实施的方式,由于预先设置的待绘制作品中包括多个可绘制元素,用户可以根据实际需求选择相应的可绘制元素进行绘制操作。具体地,可以给用户提供可绘制元素选择的界面,在确定用户选择的可绘制元素之后,进入该可绘制元素对应的绘制界面。
图6为本公开实施例提供的又一应用场景示意图,如图6所示,在该待绘制作品61中与预设标识对应的可绘制元素可以为芦苇62,因此,可以仅对芦苇62进行显示,而不显示待绘制作品61中的其他可绘制元素的颜色。
可选地,在上述任一实施例的基础上,步骤202具体包括:
若所述外部显示终端为预设的目标外部显示终端,则按照时间顺序从各可绘制元素对应的待显示队列中获取与各可绘制元素对应的图案绘制指令。
根据与各可绘制元素对应的图案绘制指令与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的全部待绘制坐标点进行绘制操作。
在本实施例中,在控制各外部显示终端显示与其预设标识对应的可绘制元素之后,可以配置一个目标外部显示终端,采用该目标外部显示终端对全部可绘制元素的绘制操作进行显示操作。
具体地,若检测到当前外部显示终端为预设的目标外部显示终端,则可以按照时间顺序从各可绘制元素对应的待显示队列中获取与各可绘制元素对应的图案绘制指令。根据各图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的全部待绘制坐标点进行绘制操作。
本实施例提供的图案绘制方法,通过控制不同的城市显示不同的可绘制元素,并控制预设的目标外部显示终端显示全部可绘制元素的绘制操作,从而能够增加图案绘制的玩法,提高用户体验。
图7为本公开实施例四提供的图案绘制方法的流程示意图,如图7所示,该方法包括:
步骤701、获取绘制操作,其中,所述绘制操作为所述服务器端在获取图案绘制指令之后,根据图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制后获得的。
步骤702、实时显示所述绘制操作。
本实施例的执行主体为图案绘制装置,该图案绘制装置可耦合于外部显示终端,该外部显示终端可以分别与服务器通信连接。
在本实施例中,外部显示终端可以获取服务器发送的绘制操作,其中,该绘制操作为服务器在获取终端设备发送的图案绘制指令之后,根据该待绘制坐标点对应的绘画属性,对预先配置的 待绘制作品中的坐标点进行绘制后获得的。由于对坐标点进行绘制操作时,数据量较小,因此,绘制速度较快,从而能够实现对绘制操作的实时传输以及实时展示。其中,绘画属性包括颜色属性、画笔属性(例如铅笔、蜡笔、刷子等)、透明度等属性中的一项或多项。
进一步地,在实施例四的基础上,所述图案绘制指令的数量为至少一个,步骤702具体包括:
实时显示至少一个图案绘制指令对应的绘制操作。
在本实施例中,同一时刻可能存在多个用户进行待绘制作品的绘制操作,图案绘制指令的数量为至少一个。因此,可以实时地对至少一个图案绘制指令对应的绘制操作进行显示。
可选地,为了使得用户增加对当前显示内容的了解以及绘制操作的定位,还可以在每一可绘制元素周围预设区域显示发起该可绘制元素对应的绘制操作的用户的标识。其中,该用户标识具体可以为用户的ID、用户头像、用户昵称中的一种或多种。
举例来说,外部显示终端当前显示可绘制元素树木的绘制操作,可以在可绘制元素树木周围预设的区域显示发起该绘制操作的用户A的标识。从而用户A可以快速地在外部显示终端上定位自己当前绘制的可绘制元素。
本实施例提供的图案绘制方法,通过对每一坐标点进行绘制,从而能够将绘制操作实时发送至外部显示终端,外部显示终端能够实时地显示用户当前的绘制操作,提高了图案绘制显示的实时性,进而能够提高用户体验。
进一步地,在实施例四的基础上,所述待绘制作品中包括多个可绘制元素,所述可绘制元素与预设标识存在对应关系;步骤702具体包括:
确定所述预设标识。
实时显示与所述预设标识对应的可绘制元素的绘制操作。
在本实施例中,为了提高图案绘制的趣味性以及适用性,针对每一可绘制元素,可以预先配置与该可绘制元素对应的预设标识。该预设标识具体可以为城市标识,从而可以控制在不同的城市显示不同的可绘制元素。具体地,该预设标识可以与可绘制元素一一对应,或者,一个预设标识可以对应有多个可绘制元素。
以实际应用举例来说,预设标识可以与可绘制元素一一对应城市A对应的可绘制元素可以为天空,城市B对应的可绘制元素可以为大海。
仍旧以实际应用举例来说,一个预设标识可以对应有多个可绘制元素,城市A对应的可绘制元素可以包括天空、森林,城市B对应的可绘制元素可以为动物、云彩、河流等。
因此,在对绘制操作的实时显示的过程中,首先可以确定外部显示终端对应的预设标识,实时显示与该预设标识对应的可绘制元素的绘制操作。若当前接收到的绘制操作对应的可绘制元素与预设标识不匹配,则可以不对该绘制操作进行显示。具体地,该预设标识可以为城市标识,因此,首先可以确定外部显示终端当前所处的位置,根据当前所处的位置确定对应的预设标识。
进一步地,在实施例四的基础上,还包括:显示与所述预设标识关联的标识图案。
在本实施例中,为了使用户能够获取到可绘制元素并进行绘制操作,外部显示终端上还可以显示与预设标识关联的标识图案。其中,该与预设标识关联的标识图案可以为二维码。用户可以通过扫描该二维码进入活动入口,并进行可绘制元素的选择以及绘制操作。
进一步地,在实施例四的基础上,所述实时显示与所述预设标识对应的可绘制元素的绘制操作,包括:
获取互动预设标识,所述互动预设标识与第二外部显示终端的互动绘制元素对应;
检测是否获取到所述互动预设标识对应的已绘制图案;
若检测到所述已绘制图案,则实时显示与所述预设标识对应的可绘制元素的绘制操作,以及,显示所述互动绘制元素对应的已绘制图案。
在本实施例中,为了提高绘制操作过程中待绘制作品的显示效果,可以在对与预设标识对应的可绘制元素进行绘制操作的过程中,互动地显示其他可绘制元素的已绘制图案。
具体地,可以获取互动预设标识,其中,该互动预设标识与能够与所述可绘制元素进行关联显示的互动绘制元素对应。例如,该互动预设标识对应的已绘制图案可以为当前城市对应的其他可绘制元素绘制完毕时的图案,或者,该互动预设标识对应的已绘制图案可以为其他城市对应的可绘制元素绘制完毕时的图案。
检测是否获取到与互动标识对应的已绘制图案,如果检测到以获取到已绘制图案,则可以在实时显示与预设标识对应的可绘制元素的绘制操作的同时,显示其他可绘制元素对应的已绘制图案。
以实际应用举例来说,城市A对应的可绘制元素可以为天空,城市B对应的可绘制元素可以为大海。在城市A对应的外部显示终端显示天空图案的绘制操作的过程中,可以显示城市B对应的已绘制的大海图案。
进一步地,在实施例四的基础上,步骤702具体包括:
若根据所述预设标识确定所述外部显示终端为预设的目标外部显示终端,则实时显示全部可绘制元素对应的绘制操作。
在本实施例中,控制各外部显示终端显示与其预设标识对应的可绘制元素之后,可以配置一个目标外部显示终端,采用该目标外部显示终端对全部可绘制元素的绘制操作进行显示操作。
具体地,若检测到当前外部显示终端为预设的目标外部显示终端,则可以按照时间顺序从各可绘制元素对应的待显示队列中获取与各可绘制元素对应的图案绘制指令。实时地对全部可绘制元素对应的绘制操作进行显示。
本实施例提供的图案绘制方法,通过控制不同的城市显示不同的可绘制元素,并控制预设的目标外部显示终端显示全部可绘制元素的绘制操作,从而能够增加图案绘制的玩法,提高用户体验。
图8为本公开实施例五提供的图案绘制装置的结构示意图,该图案绘制装置应用于服务器端,如图8所示,包括:获取模块81、绘制模块82以及发送模块83。其中,获取模块81,用于获取图案绘制指令,其中,所述图案绘制指令中包括多个待绘制坐标点以及与待绘制坐标点对应的绘画属性。绘制模块82,用于根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作。发送模块83,用于若检测到预设指令,将所述绘制操作实时发送至外部显示终端,使得所述外部显示终端实时地显示接收到的所述绘制操作。
进一步地,在实施例五的基础上,所述装置还包括:发送模块,还用于若检测到完成绘制操作指令,将绘制后的待绘制作品发送至所述外部显示终端,使得所述外部显示终端显示所述绘制后的待绘制作品。
进一步地,在实施例五的基础上,所述图案绘制指令的数量为至少一个,所述图案绘制指令中包括时间戳;所述获取模块用于:根据所述时间戳对各图案绘制指令进行排序,获得待显示队列;按照时间顺序从所述待显示队列中获取图案绘制指令。
进一步地,在实施例五的基础上,所述待绘制作品中包括由所述多个待绘制坐标点构成的至少一个可绘制元素;所述图案绘制指令中还包括可绘制元素标识;所述绘制模块用于:根据所述可绘制元素标识对所述图案绘制指令进行分组操作;针对每一可绘制元素,根据所述时间戳对所 述可绘制元素对应的多个图案绘制指令进行排序,获得与所述可绘制元素对应的待显示队列。
进一步地,在实施例五的基础上,所述装置还包括:检测模块,用于检测所述待显示队列中是否还包括未处理的图案绘制指令;处理模块,用于若不包括,则控制所述外部显示终端显示预设的绘制完成的作品。
进一步地,在实施例五的基础上,所述可绘制元素与预设标识存在对应关系;所述绘制模块,用于:确定所述外部显示终端所处的位置信息,根据所述位置信息确定所述外部显示终端对应的预设标识;检测所述图案绘制指令中的可绘制元素与所述外部显示终端对应的预设标识是否相匹配;若匹配,则根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作。
进一步地,在实施例五的基础上,所述绘制模块还用于:若不匹配,则按照时间顺序从所述待显示队列中获取下一图案绘制指令。
进一步地,在实施例五的基础上,所述绘制模块,用于:若所述外部显示终端为预设的目标外部显示终端,则按照时间顺序从各可绘制元素对应的待显示队列中获取与各可绘制元素对应的图案绘制指令;根据与各可绘制元素对应的图案绘制指令与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的全部待绘制坐标点进行绘制操作。
进一步地,在实施例五的基础上,所述装置还包括:获取模块,还用于:获取与所述预设标识关联的标识图案;获取可绘制元素,所述可绘制元素包含所述预设标识;预处理模块,用于进入绘制界面。
图9为本公开实施例六提供的图案绘制装置的结构示意图,应用于外部显示终端,包括:绘制操作获取模块91以及显示模块92。其中,绘制操作获取模块91,用于获取绘制操作,其中,所述绘制操作为所述服务器端在获取图案绘制指令之后,根据图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制后获得的;显示模块92,用于实时显示所述绘制操作。
进一步地,在实施例六的基础上,所述待绘制作品中包括多个可绘制元素,所述可绘制元素与预设标识存在对应关系;所述显示模块用于:确定所述预设标识;实时显示与所述预设标识对应的可绘制元素的绘制操作。
进一步地,在实施例六的基础上,所述显示模块用于:获取互动预设标识,所述互动预设标识与第二外部显示终端的互动绘制元素对应;检测是否获取到所述互动预设标识对应的已绘制图案;若检测到所述已绘制图案,则实时显示与所述预设标识对应的可绘制元素的绘制操作,以及,显示所述互动绘制元素对应的已绘制图案。
进一步地,在实施例六的基础上,还包括:显示与所述预设标识关联的标识图案。
进一步地,在实施例六的基础上,所述图案绘制指令的数量为至少一个,所述显示模块用于:实时显示至少一个图案绘制指令对应的绘制操作。
实施例提供的装置,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,本实施例此处不再赘述。
本公开又一实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上述任一实施例所述的图案绘制方法。
本公开又一实施例还提供了一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一实施例所述的图案绘制的方法。
本公开又一实施例还提供了一种电子设备,包括:处理器和存储器;
所述存储器存储计算机执行指令;
所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如上述任一实施例所述的图案绘制方法。
本公开又一实施例还提供了一种计算机程序,所述计算机程序被处理器执行时实现如上述任一实施例所述的图案绘制的方法。
图10为本公开实施例提供的电子设备的结构示意图,如图10所示,其示出了适于用来实现本公开实施例的电子设备1000的结构示意图,该电子设备1000可以为终端设备或服务器。其中,终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,简称PDA)、平板电脑(Portable Android Device,简称PAD)、便携式多媒体播放器(Portable Media Player,简称PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图10示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图10所示,电子设备1000可以包括处理装置(例如中央处理器、图形处理器等)1001,其可以根据存储在只读存储器(Read Only Memory,简称ROM)1002中的程序或者从存储装置1008加载到随机访问存储器(Random Access Memory,简称RAM)1003中的程序而执行各种适当的动作和处理。在RAM 1003中,还存储有电子设备1000操作所需的各种程序和数据。处理装置1001、ROM 1002以及RAM 1003通过总线1004彼此相连。输入/输出(I/O)接口1005也连接至总线1004。
通常,以下装置可以连接至I/O接口1005:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1006;包括例如液晶显示器(Liquid Crystal Display,简称LCD)、扬声器、振动器等的输出装置1007;包括例如磁带、硬盘等的存储装置1008;以及通信装置1009。通信装置1009可以允许电子设备1000与其他设备进行无线或有线通信以交换数据。虽然图10示出了具有各种装置的电子设备1000,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1009从网络上被下载和安装,或者从存储装置1008被安装,或者从ROM 1002被安装。在该计算机程序被处理装置1001执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable ROM,简称EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read Only Memory,简称CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种 形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,简称RF)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述实施例所示的方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,简称LAN)或广域网(Wide Area Network,简称WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、专用标准产品(Application Specific Standard Product,简称ASSP)、片上系统(System on a Chip,简称SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,简称CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM)或快闪存储器、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组 合。
第一方面,根据本公开的一个或多个实施例,提供了一种图案绘制方法,应用于服务器端,包括:
获取图案绘制指令,其中,所述图案绘制指令中包括多个待绘制坐标点以及与待绘制坐标点对应的绘画属性;
根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作;
若检测到预设指令,将所述绘制操作实时发送至外部显示终端,使得所述外部显示终端实时地显示接收到的所述绘制操作。
根据本公开的一个或多个实施例,所述若检测到预设发送指令,将所述绘制操作实时发送至所述外部显示终端,使得所述外部显示终端实时地显示接收到的所述绘制操作,包括:
若检测到完成绘制操作指令,将绘制后的待绘制作品发送至所述外部显示终端,使得所述外部显示终端显示所述绘制后的待绘制作品。
根据本公开的一个或多个实施例,所述图案绘制指令的数量为至少一个,所述图案绘制指令中包括时间戳;所述获取终端设备发送的图案绘制指令,包括:
根据所述时间戳对各图案绘制指令进行排序,获得待显示队列;
按照时间顺序从所述待显示队列中获取图案绘制指令。
根据本公开的一个或多个实施例,所述待绘制作品中包括由所述多个待绘制坐标点构成的至少一个可绘制元素;所述图案绘制指令中还包括可绘制元素标识;
所述根据所述时间戳对各图案绘制指令进行排序,获得待显示队列,包括:
根据所述可绘制元素标识对所述图案绘制指令进行分组操作;
针对每一可绘制元素,根据所述时间戳对所述可绘制元素对应的多个图案绘制指令进行排序,获得与所述可绘制元素对应的待显示队列。
根据本公开的一个或多个实施例,所述按照时间顺序从所述待显示队列中获取图案绘制指令之后,还包括:
检测所述待显示队列中是否还包括未处理的图案绘制指令;
若不包括,则控制所述外部显示终端显示预设的绘制完成的作品。
根据本公开的一个或多个实施例,所述可绘制元素与预设标识存在对应关系;
所述根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作,包括:
确定所述外部显示终端所处的位置信息,根据所述位置信息确定所述外部显示终端对应的预设标识;
检测所述图案绘制指令中的可绘制元素与所述外部显示终端对应的预设标识是否相匹配;
若匹配,则根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作。
根据本公开的一个或多个实施例,所述检测所述图案绘制指令中的可绘制元素与所述外部显示终端对应的预设标识是否相匹配之后,还包括:
若不匹配,则按照时间顺序从所述待显示队列中获取下一图案绘制指令。
根据本公开的一个或多个实施例,所述根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作,包括:
若所述外部显示终端为预设的目标外部显示终端,则按照时间顺序从各可绘制元素对应的待显示队列中获取与各可绘制元素对应的图案绘制指令;
根据与各可绘制元素对应的图案绘制指令与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的全部待绘制坐标点进行绘制操作。
根据本公开的一个或多个实施例,所述获取终图案绘制指令之前,还包括:
获取与所述预设标识关联的标识图案;
获取预设图案,所述预设图案包含所述预设标识;
进入绘制界面。
第二方面,根据本公开的一个或多个实施例,提供了一种图案绘制方法,应用于外部显示终端,包括:
获取绘制操作,其中,所述绘制操作为所述服务器端在获取图案绘制指令之后,根据图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制后获得的;
实时显示所述绘制操作。
根据本公开的一个或多个实施例,所述待绘制作品中包括多个可绘制元素,所述可绘制元素与预设标识存在对应关系;所述实时显示所述绘制操作,包括:
确定所述预设标识;
实时显示与所述预设标识对应的可绘制元素的绘制操作。
根据本公开的一个或多个实施例,所述实时显示与所述预设标识对应的可绘制元素的绘制操作,包括:
获取互动预设标识,所述互动预设标识与第二外部显示终端的互动绘制元素对应;
检测是否获取到所述互动预设标识对应的已绘制图案;
若检测到所述已绘制图案,则实时显示与所述预设标识对应的可绘制元素的绘制操作,以及,显示所述互动绘制元素对应的已绘制图案。
根据本公开的一个或多个实施例,还包括:显示与所述预设标识关联的标识图案。
根据本公开的一个或多个实施例,所述图案绘制指令的数量为至少一个,所述实时显示所述绘制操作,包括:
实时显示至少一个图案绘制指令对应的绘制操作。
第三方面,根据本公开的一个或多个实施例,提供了一种图案绘制装置,应用于服务器端,包括:
获取模块,用于获取图案绘制指令,其中,所述图案绘制指令中包括多个待绘制坐标点以及与待绘制坐标点对应的绘画属性;
绘制模块,用于根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作;
发送模块,用于若检测到预设指令,将所述绘制操作实时发送至外部显示终端,使得所述外部显示终端实时地显示接收到的所述绘制操作。
根据本公开的一个或多个实施例,所述装置还包括:发送模块,还用于若检测到完成绘制操作指令,将绘制后的待绘制作品发送至所述外部显示终端,使得所述外部显示终端显示所述绘制后的待绘制作品。
根据本公开的一个或多个实施例,所述图案绘制指令的数量为至少一个,所述图案绘制指令 中包括时间戳;所述获取模块用于:根据所述时间戳对各图案绘制指令进行排序,获得待显示队列;按照时间顺序从所述待显示队列中获取图案绘制指令。
根据本公开的一个或多个实施例,所述待绘制作品中包括由所述多个待绘制坐标点构成的至少一个可绘制元素;所述图案绘制指令中还包括可绘制元素标识;所述绘制模块用于:根据所述可绘制元素标识对所述图案绘制指令进行分组操作;针对每一可绘制元素,根据所述时间戳对所述可绘制元素对应的多个图案绘制指令进行排序,获得与所述可绘制元素对应的待显示队列。
根据本公开的一个或多个实施例,所述装置还包括:检测模块,用于检测所述待显示队列中是否还包括未处理的图案绘制指令;处理模块,用于若不包括,则控制所述外部显示终端显示预设的绘制完成的作品。
根据本公开的一个或多个实施例,所述可绘制元素与预设标识存在对应关系;所述绘制模块,用于:确定所述外部显示终端所处的位置信息,根据所述位置信息确定所述外部显示终端对应的预设标识;检测所述图案绘制指令中的可绘制元素与所述外部显示终端对应的预设标识是否相匹配;若匹配,则根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作。
根据本公开的一个或多个实施例,所述绘制模块还用于:若不匹配,则按照时间顺序从所述待显示队列中获取下一图案绘制指令。
根据本公开的一个或多个实施例,所述绘制模块,用于:若所述外部显示终端为预设的目标外部显示终端,则按照时间顺序从各可绘制元素对应的待显示队列中获取与各可绘制元素对应的图案绘制指令;根据与各可绘制元素对应的图案绘制指令与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的全部待绘制坐标点进行绘制操作。
根据本公开的一个或多个实施例,所述装置还包括:获取模块,还用于:获取与所述预设标识关联的标识图案;获取可绘制元素,所述可绘制元素包含所述预设标识;预处理模块,用于进入绘制界面。
第四方面,根据本公开的一个或多个实施例,提供了一种图案绘制装置,应用于外部显示终端,包括:
绘制操作获取模块,用于获取绘制操作,其中,所述绘制操作为所述服务器端在获取图案绘制指令之后,根据图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制后获得的;
显示模块,用于实时显示所述绘制操作。
根据本公开的一个或多个实施例,所述待绘制作品中包括多个可绘制元素,所述可绘制元素与预设标识存在对应关系;所述显示模块用于:确定所述预设标识;实时显示与所述预设标识对应的可绘制元素的绘制操作。
根据本公开的一个或多个实施例,所述显示模块用于:获取互动预设标识,所述互动预设标识与第二外部显示终端的互动绘制元素对应;检测是否获取到所述互动预设标识对应的已绘制图案;若检测到所述已绘制图案,则实时显示与所述预设标识对应的可绘制元素的绘制操作,以及,显示所述互动绘制元素对应的已绘制图案。
根据本公开的一个或多个实施例,还包括:标识图案显示模块,用于显示与所述预设标识关联的标识图案。
根据本公开的一个或多个实施例,所述图案绘制指令的数量为至少一个,所述显示模块用于:实时显示至少一个图案绘制指令对应的绘制操作。
第五方面,根据本公开的一个或多个实施例,提供了一种电子设备,包括:至少一个处理器和存储器;
所述存储器存储计算机执行指令;
所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第一方面以及第一方面各种可能的设计所述的信息显示方法。
第六方面,根据本公开的一个或多个实施例,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计所述的信息显示方法。
第七方面,根据本公开的一个或多个实施例,提供了一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的信息显示方法。
第八方面,根据本公开的一个或多个实施例,提供了一种计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的信息显示方法。
本公开实施例提供的图案绘制方法、装置、设备、计算机可读存储介质、电子设备、计算机产品及计算机程序,该方法首先获取图案绘制指令,其中图案绘制指令中包括多个待绘制坐标点以及与待绘制坐标点对应的绘画属性。根据该图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作。通过对每一坐标点进行绘制,从而能够将绘制操作实时发送至外部显示终端,外部显示终端能够实时地显示用户当前的绘制操作,提高了图案绘制显示的实时性,进而能够提高用户体验。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。
Claims (20)
- 一种图案绘制方法,应用于服务器端,包括:获取图案绘制指令,其中,所述图案绘制指令中包括多个待绘制坐标点以及与待绘制坐标点对应的绘画属性;根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作;若检测到预设指令,将所述绘制操作实时发送至外部显示终端,使得所述外部显示终端实时地显示接收到的所述绘制操作。
- 根据权利要求1所述的方法,其中,所述若检测到预设发送指令,将所述绘制操作实时发送至所述外部显示终端,使得所述外部显示终端实时地显示接收到的所述绘制操作,包括:若检测到完成绘制操作指令,将绘制后的待绘制作品发送至所述外部显示终端,使得所述外部显示终端显示所述绘制后的待绘制作品。
- 根据权利要求1或2所述的方法,其中,所述图案绘制指令的数量为至少一个,所述图案绘制指令中包括时间戳;所述获取终端设备发送的图案绘制指令,包括:根据所述时间戳对各图案绘制指令进行排序,获得待显示队列;按照时间顺序从所述待显示队列中获取图案绘制指令。
- 根据权利要求3所述的方法,其中,所述待绘制作品中包括由所述多个待绘制坐标点构成的至少一个可绘制元素;所述图案绘制指令中还包括可绘制元素标识;所述根据所述时间戳对各图案绘制指令进行排序,获得待显示队列,包括:根据所述可绘制元素标识对所述图案绘制指令进行分组操作;针对每一可绘制元素,根据所述时间戳对所述可绘制元素对应的多个图案绘制指令进行排序,获得与所述可绘制元素对应的待显示队列。
- 根据权利要求3或4所述的方法,其中,所述按照时间顺序从所述待显示队列中获取图案绘制指令之后,还包括:检测所述待显示队列中是否还包括未处理的图案绘制指令;若不包括,则控制所述外部显示终端显示预设的绘制完成的作品。
- 根据权利要求1至4中任一项所述的方法,其中,所述可绘制元素与预设标识存在对应关系;所述根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作,包括:确定所述外部显示终端所处的位置信息,根据所述位置信息确定所述外部显示终端对应的预设标识;检测所述图案绘制指令中的可绘制元素与所述外部显示终端对应的预设标识是否相匹配;若匹配,则根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作。
- 根据权利要求6所述的方法,其中,所述检测所述图案绘制指令中的可绘制元素与所述外部显示终端对应的预设标识是否相匹配之后,还包括:若不匹配,则按照时间顺序从所述待显示队列中获取下一图案绘制指令。
- 根据权利要求6或7所述的方法,其中,所述根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作,包括:若所述外部显示终端为预设的目标外部显示终端,则按照时间顺序从各可绘制元素对应的待显示队列中获取与各可绘制元素对应的图案绘制指令;根据与各可绘制元素对应的图案绘制指令与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的全部待绘制坐标点进行绘制操作。
- 根据权利要求1至7中任一项所述的方法,其中,所述获取终图案绘制指令之前,还包括:获取与所述预设标识关联的标识图案;获取可绘制元素,所述可绘制元素包含所述预设标识;进入绘制界面。
- 一种图案绘制方法,应用于外部显示终端,包括:获取绘制操作,其中,所述绘制操作为所述服务器端在获取图案绘制指令之后,根据图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制后获得的;实时显示所述绘制操作。
- 根据权利要求10所述的方法,其中,所述待绘制作品中包括多个可绘制元素,所述可绘制元素与预设标识存在对应关系;所述实时显示所述绘制操作,包括:确定所述预设标识;实时显示与所述预设标识对应的可绘制元素的绘制操作。
- 根据权利要求11所述的方法,其中,还包括:获取互动预设标识,所述互动预设标识与能够与所述可绘制元素进行关联显示的互动绘制元素对应;检测是否获取到所述互动预设标识对应的已绘制图案;若检测到所述已绘制图案,则实时显示与所述预设标识对应的可绘制元素的绘制操作,以及,显示所述互动绘制元素对应的已绘制图案。
- 根据权利要求11所述的方法,其中,还包括:显示与所述预设标识关联的标识图案。
- 根据权利要求10至13中任一项所述的方法,其中,所述图案绘制指令的数量为至少一个,所述实时显示所述绘制操作,包括:实时显示至少一个图案绘制指令对应的绘制操作。
- 一种图案绘制装置,应用于服务器端,包括:获取模块,用于获取图案绘制指令,其中,所述图案绘制指令中包括多个待绘制坐标点以及与待绘制坐标点对应的绘画属性;绘制模块,用于根据所述图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制操作;发送模块,用于若检测到预设指令,将所述绘制操作实时发送至外部显示终端,使得所述外部显示终端实时地显示接收到的所述绘制操作。
- 一种图案绘制装置,应用于外部显示终端,包括:绘制操作获取模块,用于获取绘制操作,其中,所述绘制操作为所述服务器端在获取图案绘制指令之后,根据图案绘制指令中与待绘制坐标点对应的绘画属性,对预设的待绘制作品中的各待绘制坐标点进行绘制后获得的;显示模块,用于实时显示所述绘制操作。
- 一种电子设备,包括:处理器和存储器;所述存储器存储计算机执行指令;所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如权利要求1至9或10至13中任一项所述的图案绘制方法。
- 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如权利要求1至9或10至13中任一项所述的图案绘制方法。
- 一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如权利要求1至9或10至13中任一项所述的图案绘制的方法。
- 一种计算机程序,所述计算机程序被处理器执行时实现如权利要求1至9或10至13中任一项所述的图案绘制的方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US18/572,108 US20240126568A1 (en) | 2021-08-04 | 2022-08-02 | Method, apparatus, device, computer readable storage medium and product for pattern rendering |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110890943.6A CN113535280B (zh) | 2021-08-04 | 2021-08-04 | 图案绘制方法、装置、设备、计算机可读存储介质及产品 |
CN202110890943.6 | 2021-08-04 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023011485A1 true WO2023011485A1 (zh) | 2023-02-09 |
Family
ID=78090399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/109750 WO2023011485A1 (zh) | 2021-08-04 | 2022-08-02 | 图案绘制方法、装置、设备、计算机可读存储介质及产品 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20240126568A1 (zh) |
CN (1) | CN113535280B (zh) |
WO (1) | WO2023011485A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113535280B (zh) * | 2021-08-04 | 2023-03-21 | 北京字跳网络技术有限公司 | 图案绘制方法、装置、设备、计算机可读存储介质及产品 |
CN114879926A (zh) * | 2022-05-26 | 2022-08-09 | 北京字跳网络技术有限公司 | 一种信息绘制处理方法、装置、电子设备及存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140055361A1 (en) * | 2011-12-30 | 2014-02-27 | Glen J. Anderson | Interactive drawing recognition |
CN110727361A (zh) * | 2019-09-30 | 2020-01-24 | 厦门亿联网络技术股份有限公司 | 一种信息交互方法、交互系统和应用 |
CN110795177A (zh) * | 2018-08-03 | 2020-02-14 | 浙江宇视科技有限公司 | 图形绘制方法及装置 |
CN111145315A (zh) * | 2019-12-14 | 2020-05-12 | 中国科学院深圳先进技术研究院 | 绘画方法、装置、玩具机器人及可读存储介质 |
CN113535280A (zh) * | 2021-08-04 | 2021-10-22 | 北京字跳网络技术有限公司 | 图案绘制方法、装置、设备、计算机可读存储介质及产品 |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5289568A (en) * | 1989-09-18 | 1994-02-22 | Hitachi, Ltd. | Apparatus and method for drawing figures |
JP4136292B2 (ja) * | 2000-08-09 | 2008-08-20 | 株式会社リコー | 画像処理装置 |
CN1658567A (zh) * | 2005-02-21 | 2005-08-24 | 华东师范大学 | 基于互联网的协作绘图方法 |
JP5196181B2 (ja) * | 2008-04-14 | 2013-05-15 | 株式会社リコー | 画像処理システム及び記憶媒体 |
CN102780785A (zh) * | 2012-08-13 | 2012-11-14 | 广东威创视讯科技股份有限公司 | 多终端同步显示方法、终端及系统 |
CN104156427A (zh) * | 2014-08-07 | 2014-11-19 | 深圳市元征科技股份有限公司 | 一种支持大数据量快速刷新的图表绘制方法及系统 |
JP6139488B2 (ja) * | 2014-09-30 | 2017-05-31 | 京セラドキュメントソリューションズ株式会社 | 配置図作成システム、配置図作成装置、および配置図作成プログラム |
CN107291346B (zh) * | 2016-04-12 | 2021-07-06 | 北京三星通信技术研究有限公司 | 终端设备的绘制内容处理方法、装置及终端设备 |
CN111611031A (zh) * | 2019-02-26 | 2020-09-01 | 华为技术有限公司 | 一种图形绘制方法和电子设备 |
CN111459438A (zh) * | 2020-04-07 | 2020-07-28 | 苗圣全 | 一种绘制内容多终端同步的系统、方法、终端和服务器 |
CN111596919B (zh) * | 2020-05-27 | 2023-10-20 | 北京字节跳动网络技术有限公司 | 图文绘制结果的展示方法、装置、计算机设备及存储介质 |
CN112312185A (zh) * | 2020-11-20 | 2021-02-02 | 广州欢网科技有限责任公司 | 一种智能绘画方法、装置、设备及其系统 |
CN112560130B (zh) * | 2020-12-21 | 2024-05-07 | 交控科技股份有限公司 | 基于轨道交通轨旁设备cad图数据的h5绘图展示方法 |
-
2021
- 2021-08-04 CN CN202110890943.6A patent/CN113535280B/zh active Active
-
2022
- 2022-08-02 WO PCT/CN2022/109750 patent/WO2023011485A1/zh active Application Filing
- 2022-08-02 US US18/572,108 patent/US20240126568A1/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140055361A1 (en) * | 2011-12-30 | 2014-02-27 | Glen J. Anderson | Interactive drawing recognition |
CN110795177A (zh) * | 2018-08-03 | 2020-02-14 | 浙江宇视科技有限公司 | 图形绘制方法及装置 |
CN110727361A (zh) * | 2019-09-30 | 2020-01-24 | 厦门亿联网络技术股份有限公司 | 一种信息交互方法、交互系统和应用 |
CN111145315A (zh) * | 2019-12-14 | 2020-05-12 | 中国科学院深圳先进技术研究院 | 绘画方法、装置、玩具机器人及可读存储介质 |
CN113535280A (zh) * | 2021-08-04 | 2021-10-22 | 北京字跳网络技术有限公司 | 图案绘制方法、装置、设备、计算机可读存储介质及产品 |
Also Published As
Publication number | Publication date |
---|---|
US20240126568A1 (en) | 2024-04-18 |
CN113535280B (zh) | 2023-03-21 |
CN113535280A (zh) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023011485A1 (zh) | 图案绘制方法、装置、设备、计算机可读存储介质及产品 | |
US20170323478A1 (en) | Method and apparatus for evaluating environmental structures for in-situ content augmentation | |
EP3467790B1 (en) | Information processing device, information processing method, and storage medium | |
US11893702B2 (en) | Virtual object processing method and apparatus, and storage medium and electronic device | |
JP2018521372A (ja) | 没入型メディアにおいてアプリケーションおよびアクティビティに入ったり出たりするための多次元グラフィック方法 | |
US20240168615A1 (en) | Image display method and apparatus, device, and medium | |
EP4246435A1 (en) | Display method and apparatus based on augmented reality, and device and storage medium | |
US12100158B2 (en) | World-space segmentation | |
WO2022068364A1 (zh) | 信息交互方法、第一终端设备、服务器及第二终端设备 | |
CN111145358B (zh) | 图像处理方法、装置、硬件装置 | |
KR20210145200A (ko) | 버추얼 페인트브러시 실현 방법, 장치 및 컴퓨터의 판독이 가능한 기억 매체 | |
WO2023138441A1 (zh) | 视频生成方法、装置、设备及存储介质 | |
US20240054714A1 (en) | Method and apparatus for adding animation to video, and device and medium | |
WO2023103999A1 (zh) | 3d目标点渲染方法、装置、设备及存储介质 | |
CN111803952A (zh) | 地形图编辑方法、装置、电子设备及计算机可读介质 | |
CN114842120A (zh) | 一种图像渲染处理方法、装置、设备及介质 | |
CN110070617A (zh) | 数据同步方法、装置、硬件装置 | |
US12041374B2 (en) | Segmentation-based video capturing method, apparatus, device and storage medium | |
CN108874141B (zh) | 一种体感浏览方法和装置 | |
CN116170398A (zh) | 基于虚拟对象的互动方法、装置、设备、存储介质及产品 | |
WO2022237460A1 (zh) | 图像处理方法、设备、存储介质及程序产品 | |
CN112231023A (zh) | 一种信息显示方法、装置、设备及存储介质 | |
CN110209861A (zh) | 图像处理方法、装置、电子设备及计算机可读存储介质 | |
CN116151874A (zh) | 虚拟资源转移方法、装置、设备、可读存储介质及产品 | |
CN115760553A (zh) | 特效处理方法、装置、设备及存储介质 |
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: 22852197 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 18572108 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 210524) |