Content of the invention
The embodiment of the present invention provides a kind of picture to generate processing method, picture display processing method and device, in order to solveExisting picture generates processing method and cannot preserve key message, the limited defect of the pictorial information of generation.
The embodiment of the present invention provides a kind of picture to generate processing method, comprising:
Obtain artwork piece, and key message corresponding with described artwork piece;
Generate the extended head of picture according to described key message;
According to described artwork piece and described extended head, generate Target Photo, so that browsing described Target PhotoDuring show described key message.
Alternatively, described key message includes image credit information and picture barrage information.
Alternatively, the described extended head according to described key message generation picture includes:
According to the form of described artwork piece, generate described extended head, described extended head includes described key message.
Picture provided in an embodiment of the present invention generates processing method, during video pictures sectional drawing is shared, obtainsThe key message of artwork piece, and the extended head of picture is generated using key message, and then generate the target including extended headPicture, so that showing key message during browsing objective picture, extending, enriching the letter of the Target Photo of generationBreath.
The embodiment of the present invention provides a kind of picture display processing method, comprising:
During browsing objective picture, decode the extended head of described Target Photo, described extended head includes formerThe key message of picture;
Show described key message in the predeterminated position of described Target Photo.
Alternatively, described key message includes image credit information and picture barrage information.
Picture display processing method provided in an embodiment of the present invention, during browsing objective picture, decodes target figureThe extended head of piece, extended head includes the key message of artwork piece;Show described crucial letter in the predeterminated position of Target PhotoBreath, so that during browsing pictures, not only can show graphic image content, can also show picture key message.
The embodiment of the present invention provides a kind of picture to generate processing meanss, comprising:
Key message acquiring unit, for obtaining artwork piece, and key message corresponding with described artwork piece;
Extended head signal generating unit, for generating the extended head of picture according to described key message;
Target Photo signal generating unit, for according to described artwork piece and described extended head, generating Target Photo, so thatDescribed key message is shown during browsing described Target Photo.
Alternatively, described key message includes image credit information and picture barrage information.
Alternatively, described extended head signal generating unit is further used for the form according to described artwork piece, generates described expansionExhibition head, described extended head includes described key message.
Picture provided in an embodiment of the present invention generates processing meanss, during video pictures sectional drawing is shared, crucialInformation acquisition unit obtains the key message of artwork piece;Extended head signal generating unit, generates the extension of picture according to key messageHead;Target Photo signal generating unit, according to artwork piece and extended head, generates Target Photo, so that in browsing objective pictureDuring show described key message, extend, enrich the information of the Target Photo of generation.
The embodiment of the present invention provides a kind of picture display processing unit, comprising:
Decoding unit, for, during browsing objective picture, decoding the extended head of described Target Photo, described expansionExhibition head includes the key message of artwork piece;
Display unit, shows described key message for the predeterminated position in described Target Photo.
Alternatively, described key message includes image credit information and picture barrage information.
Picture display processing unit provided in an embodiment of the present invention, decoding unit decodes during browsing objective pictureThe extended head of Target Photo, described extended head includes the key message of artwork piece;Display unit is default in Target PhotoKey message described in position display, so that during browsing pictures, not only can show graphic image content, can also showDiagram piece key message.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present inventionIn accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment isThe a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the artThe every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
Fig. 1 is the flow chart of the picture generation processing method of one embodiment of the invention.As shown in figure 1, the present invention is implementedThe picture of example generates processing method, comprising:
S11: obtain artwork piece, and key message corresponding with described artwork piece;
It should be noted that during video pictures sectional drawing is shared, terminal will obtain the sectional drawing instruction of user, usesThe sectional drawing instruction at family is sent to terminal by button or default touch action, and wherein terminal can be smart mobile phone, flat boardComputer etc. is supported to play the equipment of video sectional drawing, the invention is not limited in this regard;The sectional drawing instruction of user includes sectional drawing areaDomain, terminal can carry out the regioselective action of page screenshot according to user and determine screenshot area to video pictures;When user's triggeringDuring shot operation, obtain artwork piece and key message corresponding with artwork piece.
S12: generate the extended head of picture according to described key message;
It should be noted that a complete picture includes header information, content information and ending symbol, the wherein head of picturePortion's information includes the information such as the size of the form of picture, picture;The Picture Generation Method of the embodiment of the present invention is in step s11Add, in the artwork piece that sectional drawing obtains, the extended head including key message, enrich the information of picture.
S13: according to described artwork piece and described extended head, generate Target Photo, so that browsing described target figureDescribed key message is shown during piece;
It should be noted that terminal generates Target Photo according to the extended head of artwork piece and generation, in browsing objective figureKey message just can be shown, it is to avoid the pictorial information that generates in prior art limited defect during piece.
Picture provided in an embodiment of the present invention generates processing method, during video pictures sectional drawing is shared, obtainsThe key message of artwork piece, and the extended head of picture is generated using key message, and then generate the target including extended headPicture, so that showing key message during browsing objective picture, extending, enriching the letter of the Target Photo of generationBreath.
In a kind of optional embodiment, described key message includes image credit information and picture barrage information.
In actual applications, the key message that terminal obtains includes image credit information, the network address of such as video website, endEnd subscriber information etc.;The key message that terminal obtains can also include the barrage information of video pictures, so that in browsing objectiveShow image credit information and barrage information in the form of barrage during picture.It should be noted that picture barrage is exactlyFly the barrage on picture, can allow static state picture " moving ".
Further, the described extended head according to described key message generation picture includes:
According to the form of described artwork piece, generate described extended head, described extended head includes described key message.
It should be noted that the content of extended head generating is relevant with the form of picture, picture format respectively jpeg,The extended head of the artwork piece of png, gif is different.
Fig. 2 is the flow chart of the picture display processing method of one embodiment of the invention.As described in Figure 2, the present invention is implementedThe picture display processing method of example, comprising:
S21: during browsing objective picture, decode the extended head of described Target Photo, described extended head bagInclude the key message of artwork piece;
It should be noted that existing Photo Viewer will not generate processing method to picture according to embodiments of the present inventionThe extended head of the Target Photo generating is decoded it is impossible to the key message of display target picture.The figure of the embodiment of the present inventionPiece display processing method, is decoded to the extended head of Target Photo by improved Photo Viewer, obtains artwork pieceKey message.
S22: show described key message in the predeterminated position of described Target Photo;
It should be noted that the barrage letter in video pictures when the predeterminated position of Target Photo can be shared with video interceptionPosition on video pictures for the breath is identical.
Picture display processing method provided in an embodiment of the present invention, during browsing objective picture, decodes target figureThe extended head of piece, extended head includes the key message of artwork piece;Show described crucial letter in the predeterminated position of Target PhotoBreath, so that during browsing pictures, not only can show graphic image content, can also show picture key message.
In a kind of optional embodiment, described key message includes image credit information and picture barrage information.Terminal, in browsing objective picture, shows the source-information of picture, the network address of such as video website, information of terminal user etc.;WithWhen show picture barrage information.It should be noted that picture barrage is exactly the barrage flying on picture, can allow static state picture" moving " gets up.
Fig. 3 is the structural representation of the picture generation processing meanss of one embodiment of the invention.As shown in figure 3, the present inventionThe picture of embodiment generates processing meanss, comprising: key message acquiring unit 31, extended head signal generating unit 32 and Target PhotoSignal generating unit 33;Specifically:
Key message acquiring unit 31 is used for obtaining artwork piece, and key message corresponding with described artwork piece;
Extended head signal generating unit 32 is used for generating the extended head of picture according to described key message;
Target Photo signal generating unit 33 is used for, according to described artwork piece and described extended head, generating Target Photo, so thatObtain and show described key message during browsing described Target Photo.
Picture provided in an embodiment of the present invention generates processing meanss, during video pictures sectional drawing is shared, crucialInformation acquisition unit 31 obtains the key message of artwork piece;Extended head signal generating unit 32 generates the expansion of picture according to key messageExhibition head;Target Photo signal generating unit 33, according to artwork piece and extended head, generates Target Photo, so that in browsing objective figureShow described key message during piece, extend, enrich the information of the Target Photo of generation.
In a kind of optional embodiment, described key message includes image credit information and picture barrage information.
Further, described extended head signal generating unit is further used for the form according to described artwork piece, generates describedExtended head, described extended head includes described key message.
Picture described in the embodiment of the present invention generates processing meanss and can be used for executing above-mentioned picture generation processing method in factApply example, its principle is similar with technique effect, and here is omitted.
Fig. 4 is the structural representation of the picture display processing unit of one embodiment of the invention.As shown in figure 4, the present inventionThe picture display processing unit of embodiment, comprising: decoding unit 41 and display unit 42;Specifically:
Decoding unit 41 is used for decoding the extended head of described Target Photo during browsing objective picture, describedExtended head includes the key message of artwork piece;
Display unit 42 is used for showing described key message in the predeterminated position of described Target Photo.
Picture display processing unit provided in an embodiment of the present invention, decoding unit 41 solves during browsing objective pictureThe extended head of code Target Photo, described extended head includes the key message of artwork piece;Display unit 42 is in Target PhotoPredeterminated position shows described key message so that during browsing pictures, not only can showing graphic image content, also may be usedTo show picture key message.
In a kind of optional embodiment, described key message includes image credit information and picture barrage information.
Picture display processing unit described in the embodiment of the present invention can be used for executing above-mentioned picture display processing method in factApply example, its principle is similar with technique effect, and here is omitted.
Fig. 5 is the entity structure schematic diagram that apparatus of the present invention embodiment picture generates processing meanss.As shown in figure 5, this figurePiece generates processing meanss and includes: processor (processor) 51, memorizer (memory) 52 and bus 53;Specifically:
Processor 51 and memorizer 52 complete mutual communication by bus 53.Processor 51 can call memorizer 52In logical order, to execute following method:
Obtain artwork piece, and key message corresponding with described artwork piece;
Generate the extended head of picture according to described key message;
According to described artwork piece and described extended head, generate Target Photo, so that browsing described Target PhotoDuring show described key message.
In a kind of optional embodiment, described key message includes image credit information and picture barrage information.
Further, the described extended head according to described key message generation picture includes:
According to the form of described artwork piece, generate described extended head, described extended head includes described key message.
Additionally, the logical order in above-mentioned memorizer 52 can be realized by the form of SFU software functional unit and be used as solelyWhen vertical production marketing or use, can be stored in a computer read/write memory medium.Based on such understanding, thisPart that bright technical scheme substantially contributes to prior art in other words or this technical scheme partly can be with softThe form of part product embodies, and this computer software product is stored in a storage medium, including some instructions in order to makeObtain a computer equipment (can be personal computer, server, or network equipment etc.) and execute each embodiment of the present inventionThe all or part of step of methods described.And aforesaid storage medium includes: u disk, portable hard drive, read only memory (rom,Read-only memory), random access memory (ram, random access memory), magnetic disc or CD etc. variousCan be with the medium of store program codes.
Fig. 6 is the entity structure schematic diagram of apparatus of the present invention embodiment picture display processing unit.As shown in fig. 6, this figurePiece display processing unit includes: processor (processor) 61, memorizer (memory) 62 and bus 63;Specifically:
Processor 61 and memorizer 62 complete mutual communication by bus 63.Processor 61 can call memorizer 62In logical order, to execute following method:
During browsing objective picture, decode the extended head of described Target Photo, described extended head includes formerThe key message of picture;
Show described key message in the predeterminated position of described Target Photo.
In a kind of optional embodiment, described key message includes image credit information and picture barrage information.
Additionally, the logical order in above-mentioned memorizer 62 can be realized by the form of SFU software functional unit and be used as solelyWhen vertical production marketing or use, can be stored in a computer read/write memory medium.Based on such understanding, thisPart that bright technical scheme substantially contributes to prior art in other words or this technical scheme partly can be with softThe form of part product embodies, and this computer software product is stored in a storage medium, including some instructions in order to makeObtain a computer equipment (can be personal computer, server, or network equipment etc.) and execute each embodiment of the present inventionThe all or part of step of methods described.And aforesaid storage medium includes: u disk, portable hard drive, read only memory (rom,Read-only memory), random access memory (ram, random access memory), magnetic disc or CD etc. variousCan be with the medium of store program codes.
The embodiment of the present invention, during video pictures sectional drawing is shared, obtains the key message of artwork piece, and utilizesKey message generates the extended head of picture, and then generates the Target Photo including extended head, so that in browsing objective figureShow key message during piece, extend, enrich the information of the Target Photo of generation.
Those skilled in the art can be understood that, convenience and letter for description are bought, only with above-mentioned each functionThe division of module is illustrated, and in practical application, can distribute above-mentioned functions by different function moulds as desiredBlock completes, and the internal structure of device will be divided into different functional modules, to complete all or part of work(described aboveEnergy.The specific work process of the system, apparatus, and unit of foregoing description, may be referred to corresponding in preceding method embodimentJourney, will not be described here.
Device embodiment described above is only that schematically the wherein said unit illustrating as separating component canTo be or to may not be physically separate, as the part that unit shows can be or may not be physics listUnit, you can with positioned at a place, or can also be distributed on multiple NEs.Can be selected it according to the actual needsIn the purpose to realize this embodiment scheme for some or all of module.Those of ordinary skill in the art are not paying creativenessWork in the case of, you can to understand and to implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment canMode by software plus necessary general hardware platform to be realized naturally it is also possible to pass through hardware.Based on such understanding, onThat states that technical scheme substantially contributes to prior art in other words partly can be embodied in the form of software product, shouldComputer software product can store in a computer-readable storage medium, such as rom/ram, magnetic disc, CD etc., including some fingersOrder is with so that a computer equipment (can be personal computer, server, or network equipment etc.) executes each enforcementExample or some partly described methods of embodiment.
Finally it is noted that above example, only in order to technical scheme to be described, is not intended to limit;AlthoughWith reference to the foregoing embodiments the present invention is described in detail, it will be understood by those within the art that: it still may be usedTo modify to the technical scheme described in foregoing embodiments, or equivalent is carried out to wherein some technical characteristics;And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit andScope.