Flash painting software records the method for player's painting process
Technical field
The invention belongs to field of computer technology, be specifically related to a kind of Flash painting software and record player and paintedThe method of journey.
Background technology
Flash painting software is mainly used for drawing the software of polar plot, and Flash painting software has simple to operateWith the advantage of feature richness, and be gradually deeply subject to liking of vast drawing producer.
At present, drawing producer usually records the drawing course of oneself get off by film recording software, fromAnd share the drawing course of oneself with other drawing producer.
But there is following defect in the mode of recording drawing course by film recording software: the record of (one) screenThe software of recording whole computer screen operating process as software, therefore, when computer screen exists drawing simultaneouslyWhen software and other operation interfaces, film recording software also can be recorded the operating process of other operation interfaces, toolPoor defect targetedly; (2) the film recording software producer that need to draw initiatively opens and just can record, toolThere is the shortcoming of inconvenient operation, thereby reduced drawing producer's drawing experience, affected each system of drawingBetween author interactive with exchange.
Summary of the invention
The defect existing for prior art, the invention provides a kind of Flash painting software and records player and paintedThe method and apparatus of journey, need to be by third party software, and Flash painting software can automatically record and preservePlayer's painting process, shares drawing course thereby facilitate between each drawing producer, has improved each drawingInteractive between producer.
The technical solution used in the present invention is as follows:
The invention provides a kind of method that Flash painting software records player's painting process, comprise the following steps:
S1, in the time that described Flash painting software is activated, described Flash painting software automatically detects and paints in real timeThe drawing recorded information of drawing board and the temporal information corresponding with described drawing recorded information; Wherein, described drawingRecorded information comprises size, the color of paintbrush, the transparency of paintbrush, the background picture numbering of the paintbrush of useNumber with model;
In S1, the drawing recorded information that described Flash painting software detects drawing boards automatically is in real time specially:Described Flash painting software detects the drawing note of drawing boards automatically in real time according to cursor track and/or mouse trackRecord information;
S2, described Flash painting software deposits the described drawing recorded information and the described temporal information that detect inMeet in the array of preset rules, obtain final works;
S3, in the time that described Flash painting software receives the notification message of having painted, sends out to file serverSend the request message of the described final works of storage;
In S3, described Flash painting software receives the notification message of having painted and is specially: described FlashPainting software is embedded with " issue works " button, in the time that described " issue works " button is pressed, and described " issueWorks " button sends the notification message of having painted to described Flash painting software;
In addition, in the time that described Flash painting software receives the notification message of having painted, to file serverThe request message that sends the described final works of storage is specially: painted when described Flash painting software receivesBecome notification message time, judge paint record total time whether to reach Preset Time length, if judged resultBe yes, send the request message of the final works of storage to file server; If judged result is no,Return to the notification message that continues drawing to interface, described Flash painting software place;
S4, in the time that described file server receives described request message, judges whether to distribute to describedThe works ID of the final unique correspondence of works, if judged result is no, carries out S5-S6; If judgement knotFruit is yes, directly carries out S6;
S5, described file server distributes and the unique corresponding works ID of described final works;
S6, described file server receives and stores the described final works that described Flash painting software is uploaded,And receive the corresponding relation of described final works and described works ID simultaneously; Described in described file server receivesThe described final works that Flash painting software is uploaded, and receive described final works and described works ID simultaneouslyCorresponding relation be specially:
Described final works are converted into binary stream form by described Flash painting software, then enters described twoMake streamed final works and send to described file server;
Described file server receives the final work of the described binary stream form that described Flash painting software uploadsProduct, and receive the final works of described binary stream form and the corresponding relation of described works ID simultaneously.
Preferably, after S6, also comprise:
S7, described Flash painting software is embedded with " works appreciation " button, when described " works appreciation " button quiltWhile pressing, described " works appreciation " button sends glad by described Flash painting software to described file serverThe request message of reward works; Wherein, in the request message of described appreciation works, carry the finger that need to be appreciatedThe works ID of tailor-made product;
Described file server is searched database according to the works ID of described appointment works, judges described databaseIn whether store the appointment works corresponding with the works ID of described appointment works, if exist, will searchTo described appointment works send to player, specify works by described in player plays; If there is no,Return to described Flash painting software the response message of obtaining failure.
Preferably, in the time that the final works of described file server storage are binary stream form, will findDescribed appointment works send to player to be specially:
The described appointment works of the binary stream form finding are converted into the appointment works of primitive form, soAfter the appointment works of described primitive form are sent to player.
Beneficial effect of the present invention is as follows:
Flash painting software provided by the invention records the method for player's painting process, Flash painting software energyEnough automatically record and preserve player's painting process, and player's painting process centralized stores is arrived to file serverIn, follow-up in the time need to playing the painting process of some works, file server passes through works ID by this workProduct are transferred to player, and by this painting process of player plays, therefore, very convenient painting production person broadcastsPut the drawing record of certain works, share drawing course thereby facilitate between each drawing producer, improvedInteractive between each drawing producer, has improved painting production person's painting experience.
Brief description of the drawings
Fig. 1 is the schematic flow sheet that Flash painting software provided by the invention records the method for player's painting process.
Detailed description of the invention
The method that Flash painting software provided by the invention is recorded to player's painting process below in conjunction with accompanying drawing is carried outIntroduce in detail:
As shown in Figure 1, the invention provides a kind of Flash painting software and record the method for player's painting process, bagDraw together following steps:
S1, in the time that described Flash painting software is activated, described Flash painting software automatically detects and paints in real timeThe drawing recorded information of drawing board and the temporal information corresponding with described drawing recorded information; In this step, drawingRecorded information includes but not limited to size, the face look of paintbrush, the transparency of paintbrush, the background of the paintbrush usingPicture numbering and model's numbering. In addition, Flash painting software detects the drawing record letter of drawing boards automatically in real timeBreath can be specially: Flash painting software detects drawing boards automatically in real time according to cursor track and/or mouse trackDrawing recorded information.
S2, described Flash painting software deposits the described drawing recorded information and the described temporal information that detect inMeet in the array of preset rules, obtain final works;
S3, in the time that described Flash painting software receives the notification message of having painted, sends out to file serverSend the request message of the described final works of storage;
Concrete, Flash painting software is embedded with " issue works " button, when described " issue works " button quiltWhile pressing, described " issue works " button sends the notification message of having painted to described Flash painting software.
In addition, for the unusual works of simple coarse are uploaded to file server by the person that prevents painting production, canRestriction drawing records and is greater than Preset Time length total time, for example: Preset Time length can be 4 minutes.By this operation, can alleviate the communication number of times between Flash painting software and file server. Concrete,In the time that described Flash painting software receives the notification message of having painted, judge whether drawing records total timeReach Preset Time length, if judged result is yes, send the final works of storage to file serverRequest message; If judged result is no, returns to interface, described Flash painting software place and continue drawingNotification message.
S4, in the time that described file server receives described request message, judges whether to distribute to describedThe works ID of the final unique correspondence of works, if judged result is no, carries out S5-S6; If judgement knotFruit is yes, directly carries out S6;
S5, described file server distributes and the unique corresponding works ID of described final works;
S6, described file server receive and store described final works that described Flash painting software uploads withThe corresponding relation of described works ID.
It should be noted that, the present invention is uploaded to the tool of the final works of file server to Flash painting softwareBodily form formula does not limit, for example: first Flash painting software can be converted into binary stream shape by final worksFormula, then sends to described file server by the final works of binary stream form. Then, file serviceThe final works of the described binary stream form that device reception Flash painting software is uploaded and described works ID's is rightShould be related to.
By step 1-6, realize the Flash painting software person's that automatically records painting production painting process, andBy the effect of file server centralized stores.
S7, described Flash painting software is embedded with " works appreciation " button, when described " works appreciation " button quiltWhile pressing, described " works appreciation " button sends glad by described Flash painting software to described file serverThe request message of reward works; Wherein, in the request message of described appreciation works, carry the finger that need to be appreciatedThe works ID of tailor-made product;
Described file server is searched database according to the works ID of described appointment works, judges described databaseIn whether store the appointment works corresponding with the works ID of described appointment works, if exist, will searchTo described appointment works send to player, specify works by described in player plays; If there is no,Return to described Flash painting software the response message of obtaining failure.
In the time that the final works of described file server storage are binary stream form, need first will searchTo the appointment works of binary stream form be converted into the appointment works of primitive form, then by described original shapeThe appointment works of formula send to player, and by player plays, this specifies works.
In sum, Flash painting software provided by the invention records the method for player's painting process, does not needBy third party software, Flash painting software can record and preserve player's painting process automatically, and by playerPainting process centralized stores in file server, follow-up when playing the painting process of some worksTime, file server is transferred to player by works ID by these works, and by player plays, this was paintedJourney, therefore, very convenient painting production person plays the drawing record of certain works, thereby facilitates each drawingBetween producer, share drawing course, improved interactive between each drawing producer, improved drawingProducer's painting experience.
The above is only the preferred embodiment of the present invention, it should be pointed out that common for the artTechnical staff, under the premise without departing from the principles of the invention, can also make some improvements and modifications,These improvements and modifications also should be looked protection scope of the present invention.