Question and answer content share method, device, terminal device and computer storage medium
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of question and answer content shares for Ask-Answer Community
Method, apparatus, terminal device and computer storage medium.
Background technique
Socialization question and answer website is also referred to as " social question and answer website " or " Ask-Answer Community ", is between encyclopaedia and traditional question and answer
Question and answer class SNS (social networking service) website, be a public knowledge platform.It proposes problem or sight by some user
Viewpoint is answered a question or replied or commented on to point, other users, is interacted in the form of community, rebuilds the pass of people and information
System.
Existing Ask-Answer Community mostly uses the mode of conventional comment community to realize, when finding high-quality question and answer content, with
It picture and is linked as main contents, carries out question and answer content share.Although this sharing mode realizes simple, sharing mode list
One, lead to that content share more cannot vividly be neatly realized, demand is shared in the customization for not being able to satisfy user.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of question and answer content share scheme, to solve the above problems.
According to a first aspect of the embodiments of the present invention, a kind of question and answer content share method is provided, comprising: obtain wait share
Question and answer interactive information, wherein the question and answer interactive information includes interactive contents information;According to the interactive contents information, really
Surely what is matched shows template;By interaction content corresponding to the interactive contents information and the content-data for showing template
It combines, generates template to be shared;Question and answer content share is carried out using the template to be shared.
According to a second aspect of the embodiments of the present invention, a kind of question and answer content share device is provided, comprising: module is obtained,
For obtaining question and answer interactive information to be shared, wherein the question and answer interactive information includes interactive contents information;Determining module,
For determining that is matched shows template according to the interactive contents information;Generation module is used for the interactive contents information
Corresponding interaction content is combined with the content-data for showing template, generates template to be shared;Sharing module, for making
Question and answer content share is carried out with the template to be shared.
According to a third aspect of the embodiments of the present invention, a kind of terminal device is provided, comprising: processor, memory, communication
Interface and communication bus, the processor, the memory and the communication interface are completed mutual by the communication bus
Communication;For the memory for storing an at least executable instruction, the executable instruction makes the processor execute such as the
The corresponding operation of question and answer content share method described in one side.
According to a fourth aspect of the embodiments of the present invention, a kind of computer storage medium is provided, computer is stored thereon with
Program realizes question and answer content share method as described in relation to the first aspect when the program is executed by processor.
The question and answer content share scheme provided according to embodiments of the present invention, preset in Ask-Answer Community it is a variety of show template,
When needing to carry out question and answer content share, it can be showed according to the information (i.e. interactive contents information) of content to be shared from a variety of
The template that shows to match is found out in template, and in turn, the content wait share is generated after showing the content in template and combining
Template to be shared carries out the sharing of question and answer content by the template to be shared.Wherein, it can be any suitable more for showing template
Sample template, such as still image template, dynamic image template, video template.The sharing side of question and answer content is enriched as a result,
Formula can make to be shared to sharing contents by various mode, and demand is shared in the customization for also having better meet user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The some embodiments recorded in inventive embodiments can also obtain according to these attached drawings for those of ordinary skill in the art
Obtain other attached drawings.
Fig. 1 is the step flow chart according to a kind of question and answer content share method of the embodiment of the present invention one;
Fig. 2 is the step flow chart according to a kind of question and answer content share method of the embodiment of the present invention two;
Fig. 3 is schematic diagram of one of the embodiment illustrated in fig. 2 using the template to be shared of still image template generation;
Fig. 4 is schematic diagram of one of the embodiment illustrated in fig. 2 using the template to be shared of dynamic image template generation;
Fig. 5 is the schematic diagram for the template to be shared that one of embodiment illustrated in fig. 2 is generated using video template;
Fig. 6 is the structural block diagram according to a kind of question and answer content share device of the embodiment of the present invention three;
Fig. 7 is the structural block diagram according to a kind of question and answer content share device of the embodiment of the present invention four;
Fig. 8 is the structural schematic diagram according to a kind of terminal device of the embodiment of the present invention five.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in the embodiment of the present invention, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality
Applying example only is a part of the embodiment of the embodiment of the present invention, instead of all the embodiments.Based on the implementation in the embodiment of the present invention
The range of protection of the embodiment of the present invention all should belong in example, those of ordinary skill in the art's every other embodiment obtained.
Below with reference to attached drawing of the embodiment of the present invention the embodiment of the present invention will be further explained specific implementation.
Embodiment one
Referring to Fig.1, a kind of step flow chart of according to embodiments of the present invention one question and answer content share method is shown.
The question and answer content share method of the present embodiment the following steps are included:
Step S102: question and answer interactive information to be shared is obtained.
Wherein, the question and answer interactive information includes interactive contents information.When Ask-Answer Community finds high-quality question and answer interaction content,
Alternatively, will do it corresponding operation when user needs to share question and answer interaction content, to trigger the sharing mechanism of Ask-Answer Community.It asks
Community is answered after receiving the trigger action, i.e., can obtain question and answer interactive information to be shared, question and answer interactive information includes at least
Interactive contents information (such as problem content, reply content), but not limited to this, it can also include other in practical applications
Information, such as interaction type information, etc..
Step S104: according to interactive contents information, determine that is matched shows template.
It is preset there are many template is showed in Ask-Answer Community, e.g., still image template, dynamic image template, video template, etc.
It can be used Deng, different interaction content and different show template.In practical application, those skilled in the art can be according to reality
Any suitable matching rule is arranged in demand, shows template with what is be adapted according to interaction content matching, e.g., can be according to interior
Hold type Different matching it is different show template, alternatively, the matching way that can be voluntarily inputted according to user, wait share
Interaction content matching is corresponding to show template, alternatively, if certain interaction content wait sharing be corresponding with it is multiple when showing template, can
According to user preference or user's selection or certain rule (such as data volume occupies requirement, transmission speed requirement) matching
Show template, etc. accordingly.
Step S106: interaction content corresponding to interactive contents information is combined with the content-data for showing template, raw
At template to be shared.
For showing for template, itself may have corresponding content-data, e.g., still image template itself
Still image, the dynamic image of dynamic image template itself, the video content, etc. of video template itself.It is generating wait share
When template, the content-data for showing template itself can use, it is combined with interaction content to be shared, generate customization
Template to be shared.
For example, shared if interaction content to be shared is audio content using video template, then in such cases,
Video content in video template can only have image without sound, and audio content to be shared is not had the view of sound with this
Frequency content combines, generate existing image again and have sound to sharing video frequency template.Alternatively, if video content in video template
Existing image has sound again, then can first remove the voice parts in video template, replace with audio content to be shared, raw
At including original image and new sound to sharing video frequency template.
Step S108: question and answer content share is carried out using template to be shared.
It is generating after sharing template, which can be sent to corresponding target terminal, at target end
Show the content of template to be shared in the respective application at end, should include question and answer interaction to be shared in the content of template be shared
Information is achieved in the sharing of question and answer content.
Through this embodiment, preset in Ask-Answer Community it is a variety of show template, can be with when needing to carry out question and answer content share
According to the information (i.e. interactive contents information) of content to be shared, from it is a variety of show found out in template match show template,
In turn, the content wait share is generated into template to be shared after showing the content in template and combining, passes through the template to be shared
Carry out the sharing of question and answer content.Wherein, showing template can move for any suitable diversified template, such as still image template
State image template, video template etc..The sharing mode for enriching question and answer content as a result, can make to pass through to sharing contents more
Sample loading mode is shared, and demand is shared in the customization for also having better meet user.
The question and answer content share method of the present embodiment can be by any suitable terminal device with data-handling capacity
It executes, including but not limited to: mobile terminal (such as tablet computer, mobile phone) and PC machine.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of according to embodiments of the present invention two question and answer content share method is shown.
The question and answer content share method of the present embodiment the following steps are included:
Step S202: the sharing trigger action of Ask-Answer Community is received.
Wherein, the sharing trigger action can be any suitable operation, e.g., in Ask-Answer Community, for each
Corresponding " sharing " option is arranged in question and answer interactive operation, and when the user clicks when the option, i.e., triggering is corresponding by question and answer interaction
Problem content and corresponding reply content are shared with other users.For example, the problem of user A is issued X, for this problem X, user
B, C and D are replied, respectively reply Y, Z, P, if user A wants the reply Z of user C being shared with other users,
It can then click and reply corresponding " sharing " option of Z, the content of problem X and the content share for replying Z are gone out.But it is not limited to
This, can also be arranged customized sharing option, can independently be selected to be shared by user in perhaps reply, can once share one
Item is replied, and a plurality of reply can also be once shared.
In another example for user that the interaction of one-to-one question and answer or the interaction of one-to-many question and answer are carried out by question and answer interactive window come
It says, they can be interacted by text or audio or video, in such cases, can be set in question and answer interactive window
Set " sharing " option, when the user clicks when the option, can will some or all of interaction content share to other users,
In, for the audio content by audible interaction or the video content by video mode interaction, can intercept therein
Segment is shared, and carries out sharing again after combination, etc. it is of course also possible to intercept multiple segments and re-start.
Step S204: question and answer interactive information to be shared is obtained.
Wherein, the question and answer interactive information includes interactive contents information, and the interactive contents information is used to indicate wait share
Question and answer interaction content-data, such as problem data and/or corresponding reply data, the reply content as described in step S202
Or word content or audio content or video content etc..
In a kind of optional way, the question and answer interactive information can also include interaction type information, the type of interaction
Information is the related information of type of characterization with question and answer interaction to be shared.Optionally, the interaction type information may include
At least one of: user type, problem types, answer type.Wherein, user type is used to indicate user in Ask-Answer Community
Role Information, e.g., can for ordinary user, certification user or quizmaster etc.;Problem types are used to indicate industry belonging to problem
Business classification can be e.g. scientific classification, education classification etc.;Answer type is used to indicate the Format Type of answer, e.g., Ke Yiwei
Video answer, text answers, vocal answer etc., it is corresponding with the interactive mode of question and answer interactive operation, in the embodiment of the present invention,
Interactive mode includes: video interactive, text interaction and speech enabled.Under video interactive mode, quizmaster and answers master and can lead to
Video equipment such as camera is crossed to interact;Under text interactive mode, quizmaster and answer master can be defeated by text and picture
Enter to interact;Under speech enabled mode, quizmaster and answers master and can be interacted by audio frequency apparatus such as microphone.Relatively
Ying Di, video interactive generate video answer, and text interaction generates text answers, and speech enabled generates vocal answer.Pass through interaction
Type information, can determine interaction content to be shared classification or participator workable for show template rights, for after
Continuous determination shows template and provides reference.
Step S206: according to interactive contents information, determine that is matched shows template.
Wherein, interactive contents information is used to indicate interaction content to be shared, and optionally, interaction content may include following
At least one: word content (as putd question to people and answer people to pass through one or more text message of question and answer interactive window interaction),
Picture material (as putd question to people and answer people to pass through one or more image message of question and answer interactive window interaction), audio content
(as putd question to people and answer people to pass through one or more audio message of question and answer interactive window interaction, alternatively, in a segment of audio message
Partial content, alternatively, the combination of the more partial contents intercepted from a plurality of audio message) and video content (as put question to people and
Answer people passes through one or more video messaging of question and answer interactive window interaction, alternatively, the partial content in one section of video messaging,
Alternatively, the combination of the more partial contents intercepted from a plurality of video messaging).Because in the embodiment of the present invention, Ask-Answer Community is provided with
A variety of interactive modes, therefore can produce above-mentioned corresponding a variety of different types of interaction contents, greatly facilitate user's interaction
With share.
In addition, showing template may include at least one of in the embodiment of the present invention: still image template, Dynamic Graph
As template, video template.By still image template, still image can be generated for interaction content to be shared, such as generates sea
Report promotes user experience in a manner of abundant sharing;It, can be raw for interaction content to be shared by dynamic image template
User experience is promoted so that interaction content to be shared shows more vivid and interesting at dynamic image;Pass through video screen module
Plate can generate corresponding short-sighted frequency for the interaction content of interaction content to be shared, especially non-video, enrich question and answer society
The sharing mode in area produces the short-sighted frequency of vivid and interesting uninteresting interaction content, promotes user experience.
Based on this, in a kind of feasible pattern, this step be may be implemented are as follows:
If interaction content includes word content, still image template or dynamic image template or video template are shown;If
Interaction content includes picture material, then shows still image template or dynamic image template;If interaction content includes audio content,
Then show dynamic image template or video template;If interaction content includes video content, video template is shown.So that wait share
Interaction content preferably can merge and match with template is showed, promotion show effect.
It should be noted that this step may be implemented are as follows: root when further including interaction type information in question and answer interactive information
According to interactive contents information and/or interaction type information, determine that is matched shows template.
In a kind of feasible pattern, it can obtain the multiple candidates to match first according to interactive contents information and show template;
Further according to interaction type information, determine that is matched shows template from multiple candidate display modules.In conjunction with interactive contents information
Show template with what interaction type information determined, can preferably be matched with interaction content, effectively avoids showing effect uncoordinated
The appearance of phenomenon.
Other than aforesaid way, in practical applications, can also be accumulated by Ask-Answer Community it is various show template, establish point
Template library is enjoyed, user can select the content for wanting to share with it to match when sharing every time from sharing in template library
Template be shown and share.In such mode, according to the interactive contents information, determine that the template that shows to match can be with
It realizes are as follows: show that is prestored in Ask-Answer Community multiple shows template;User is received according to the interactive contents information, to described more
A selection operation for showing template;It is determined according to the result of the selection operation and is showed with what the interactive contents information matched
Template.
Step S208: interaction content corresponding to interactive contents information is combined with the content-data for showing template, raw
At template to be shared.
As previously mentioned, the interaction content may include at least one of: word content, picture material, audio content,
Video content;The template that shows includes at least one of: still image template, dynamic image template, video template.
Based on this, in a kind of feasible pattern:
When the interaction content includes word content, the word content is added to the static state in still image template
In video frame in image or dynamic image or video template in dynamic image template;According to addition processing result generate to
Share template.In this way, the template to be shared of similar poster or short-sighted frequency can be generated, enrich sharing mode, promoted
Share effect.A kind of template to be shared generated in dynamic image that is added to word content to be shared is as shown in figure 4, Fig. 4
In three width images from left to right be the corresponding three frames picture of dynamic image in dynamic image template, will be in text be shared
Hold after carrying out appropriate cutting, after carrying out semantic cutting, correspondence is added in the three frames picture, new dynamic image is generated, and
Accordingly generate template to be shared.Template part is illustrated only in Fig. 4, other parts are similar with Fig. 3, when sharing, use Fig. 4 institute
The template shown replaces the image section in Fig. 3, and updates user to be shared and problem accordingly.From fig. 4, it can be seen that with simple
The sharing for carrying out word content is compared, and Fig. 4, which has, preferably shows effect to sharing contents.
It, will be in the corresponding image of described image content and still image template when the interaction content includes picture material
Still image or dynamic image template in dynamic image spliced, generate corresponding new still image or new dynamic
Image;Template to be shared is generated according to new still image or new dynamic image.What a kind of still image that basis is new generated
Template to be shared is as shown in figure 3, left-side images are the original image in still image template in Fig. 3, and image right is wait share
Image after being spliced original image with the image wait share, generates new image, and accordingly generates template to be shared.By Fig. 3
As it can be seen that the interest of new image is higher, power can be more attracted the user's attention, is promoted and shares effect.
When the interaction content includes audio content, by the corresponding audio frame of the audio content and dynamic image template
In dynamic image or video template in video frame mixed, generate new dynamic image or new video;According to new
Dynamic image or new video generate template to be shared.A kind of template to be shared generated according to new video is as shown in figure 5, figure
In 5, the original video in video template is true man's problem explanation video of one section of recording, but the original video only recorded image
Audio content to be shared is inserted into original video, when using the video template with original view without recorded voice
Video image frame in frequency is mixed, and generates new short-sighted frequency, and accordingly generate template to be shared.Mould is illustrated only in Fig. 5
Plate part, other parts are similar with Fig. 3, when sharing, replace the image section in Fig. 3 using template shown in fig. 5, and update
User to be shared and problem accordingly.Sound is combined with image as a result, sharing effect is promoted with user and shares body
It tests.
It, will be in the corresponding video frame of the video content and video template when the interaction content includes video content
Video frame is spliced, and new video is generated;It is generated according to new video to sharing module.In such mode, can will to point
The video content enjoyed splices the appropriate part in head or tail portion or centre of the original video in video template, to form newly short
Video, promoted video content share interest with share effect.
By the above process, it realizes the model customization that shows of question and answer interaction content to be shared, generates diversified, more
Tool interest shows template.
Step S210: question and answer content share is carried out using template to be shared.
Such as, the information of template to be shared and content are transmitted directly to target terminal, alternatively, it is transmitted directly to server,
It is obtained from server by target terminal again;Alternatively, the information of template to be shared and content are sent to server, then by servicing
The information of template to be shared is sent to target terminal by device, is obtained again from server by target terminal according to the information of the sharing template
Take the content, etc. of template to be shared.In practical applications, those skilled in the art can be carried out using any suitable mode
Question and answer content share, the embodiment of the present invention to this with no restriction.
Through this embodiment, preset in Ask-Answer Community it is a variety of show template, can be with when needing to carry out question and answer content share
According to the information (i.e. interactive contents information) of content to be shared, from it is a variety of show found out in template match show template,
In turn, the content wait share is generated into template to be shared after showing the content in template and combining, passes through the template to be shared
Carry out the sharing of question and answer content.Wherein, showing template can move for any suitable diversified template, such as still image template
State image template, video template etc..The sharing mode for enriching question and answer content as a result, can make to pass through to sharing contents more
Sample loading mode is shared, and demand is shared in the customization for also having better meet user.
The question and answer content share method of the present embodiment can be by any suitable terminal device with data-handling capacity
It executes, including but not limited to: mobile terminal (such as tablet computer, mobile phone) and PC machine.
Embodiment three
Referring to Fig. 6, a kind of structural block diagram of according to embodiments of the present invention three question and answer content share device is shown.
The question and answer content share device of the present embodiment includes: to obtain module 302, for obtaining question and answer interaction letter to be shared
Breath, wherein the question and answer interactive information includes interactive contents information;Determining module 304, for being believed according to the interaction content
Breath determines that is matched shows template;Generation module 306, for by interaction content corresponding to the interactive contents information with
The content-data for showing template combines, and generates template to be shared;Sharing module 308, for using the mould to be shared
Plate carries out question and answer content share.
The question and answer content share device of the present embodiment is for realizing question and answer content corresponding in aforesaid plurality of embodiment of the method
Sharing method, and the beneficial effect with corresponding embodiment of the method, details are not described herein.
Example IV
Referring to Fig. 7, a kind of structural block diagram of according to embodiments of the present invention four question and answer content share device is shown.
The question and answer content share device of the present embodiment includes: to obtain module 402, for obtaining question and answer interaction letter to be shared
Breath, wherein the question and answer interactive information includes interactive contents information;Determining module 404, for being believed according to the interaction content
Breath determines that is matched shows template;Generation module 406, for by interaction content corresponding to the interactive contents information with
The content-data for showing template combines, and generates template to be shared;Sharing module 408, for using the mould to be shared
Plate carries out question and answer content share.
Optionally, the interaction content includes at least one of: word content, picture material, audio content, in video
Hold;And/or the template that shows includes at least one of: still image template, dynamic image template, video template.
Optionally, the determining module 404 includes at least one of:
First determines that submodule 4042 shows the still image if including word content for the interaction content
Template or the dynamic image template or video template;
Second determines that submodule 4044 shows the still image if including picture material for the interaction content
Template or the dynamic image template;
Third determines submodule 4046, if including audio content for the interaction content, shows the dynamic image
Template or the video template;
4th determines that submodule 4048 shows the video template if including video content for the interaction content.
Optionally, the generation module 406 includes at least one of:
First generates submodule 4062, for when the interaction content includes word content, the word content to be added
The still image being added in the still image template or dynamic image or the video template in the dynamic image template
In video frame in;Template to be shared is generated according to the result of addition processing;
Second generates submodule 4064, for when the interaction content includes picture material, by described image content pair
The image answered and the still image in the still image template or the dynamic image in the dynamic image template are spliced,
Generate corresponding new still image or new dynamic image;It is generated according to new still image or new dynamic image wait share
Template;
Third generates submodule 4066, for when the interaction content includes audio content, by the audio content pair
The audio frame answered is mixed with the video frame in the dynamic image or the video template in the dynamic image template, raw
The dynamic image of Cheng Xin or new video;Template to be shared is generated according to new dynamic image or new video;
4th generates submodule 4068, for when the interaction content includes video content, by the video content pair
The video frame answered is spliced with the video frame in the video template, generates new video;It is generated according to new video wait divide
Enjoy module.
Optionally, the question and answer interactive information further includes interaction type information;The determining module 404 is used for according to
Interactive contents information and the interaction type information determine that is matched shows template.
Optionally, the interaction type information includes at least one of: user type, problem types, answer type.
Optionally, the determining module 404 is used to obtain the multiple candidate exhibitions to match according to the interactive contents information
Existing template;According to the interaction type information, determine that is matched shows template from the multiple candidate display module.
The question and answer content share device of the present embodiment is for realizing question and answer content corresponding in aforesaid plurality of embodiment of the method
Sharing method, and the beneficial effect with corresponding embodiment of the method, details are not described herein.
Embodiment five
Referring to Fig. 8, a kind of structural schematic diagram of according to embodiments of the present invention five terminal device is shown, the present invention is specific
Embodiment does not limit the specific implementation of terminal device.
As shown in figure 8, the terminal device may include: processor (processor) 502, communication interface
(Communications Interface) 504, memory (memory) 506 and communication bus 508.
Wherein:
Processor 502, communication interface 504 and memory 506 complete mutual communication by communication bus 508.
Communication interface 504, for being communicated with other terminal devices or server.
Processor 502 can specifically execute in above-mentioned question and answer content share method embodiment for executing program 510
Correlation step.
Specifically, program 510 may include program code, which includes computer operation instruction.
Processor 502 may be central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.The one or more processors that terminal device includes can be same type of processor, such as one or more CPU;It can also
To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 506, for storing program 510.Memory 506 may include high speed RAM memory, it is also possible to further include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 510 specifically can be used for so that processor 502 executes following operation: obtain question and answer interaction letter to be shared
Breath, wherein the question and answer interactive information includes interactive contents information;According to the interactive contents information, the exhibition to match is determined
Existing template;Interaction content corresponding to the interactive contents information is combined with the content-data for showing template, is generated
Template to be shared;Question and answer content share is carried out using the template to be shared.
In a kind of optional embodiment, the interaction content includes at least one of: in word content, image
Appearance, audio content, video content;And/or the template that shows includes at least one of: still image template, dynamic image
Template, video template.
In a kind of optional embodiment, program 510 is also used to so that processor 502 is believed according to the interaction content
Breath, determine match when showing template, at least one in the following ways: if the interaction content includes word content,
Show the still image template or the dynamic image template or video template;If the interaction content includes picture material,
Then show the still image template or the dynamic image template;If the interaction content includes audio content, institute is shown
State dynamic image template or the video template;If the interaction content includes video content, the video template is shown.
In a kind of optional embodiment, program 510 is also used to so that processor 502 is by the interactive contents information
Corresponding interaction content is combined with the content-data for showing template, is generated when sharing template, in the following ways
At least one: when the interaction content includes word content, the word content is added in the still image template
Still image or dynamic image or the video template in the dynamic image template in video frame in;At addition
The result of reason generates template to be shared;When the interaction content includes picture material, by the corresponding image of described image content
Spliced with the still image in the still image template or the dynamic image in the dynamic image template, generates and correspond to
New still image or new dynamic image;Template to be shared is generated according to new still image or new dynamic image;When
It, will be dynamic in the corresponding audio frame of the audio content and the dynamic image template when interaction content includes audio content
Video frame in state image or the video template is mixed, and new dynamic image or new video are generated;According to new
Dynamic image or new video generate template to be shared;When the interaction content includes video content, by the video content
Corresponding video frame is spliced with the video frame in the video template, generates new video;According to new video generate to
Sharing module.
In a kind of optional embodiment, the question and answer interactive information further includes interaction type information;Program 510 is also used
In make processor 502 according to the interactive contents information, determine match when showing template: according to the interaction content
Information and the interaction type information determine that is matched shows template.
In a kind of optional embodiment, the interaction type information includes at least one of: user type, problem
Type, answer type.
In a kind of optional embodiment, program 510 is also used to so that processor 502 is believed according to the interaction content
Breath and the interaction type information, determine match when showing template, according to the interactive contents information, obtain and match
Multiple candidates show template;According to the interaction type information, the exhibition to match is determined from the multiple candidate display module
Existing template.
The specific implementation of each step may refer to the corresponding step in above-mentioned question and answer content share method embodiment in program 510
Corresponding description in rapid and unit, this will not be repeated here.It is apparent to those skilled in the art that for the side of description
Just and succinctly, the specific work process of the equipment and module of foregoing description, can be with reference to corresponding in preceding method embodiment
Journey description, details are not described herein.
Terminal device through this embodiment, preset in Ask-Answer Community it is a variety of show template, needing to carry out question and answer content
When sharing, can according to the information (i.e. interactive contents information) of content to be shared, from it is a variety of show to find out in template match
Show template, in turn, the content wait share is generated into template to be shared after showing the content in template and combining, by this
Template to be shared carries out the sharing of question and answer content.Wherein, showing template can be any suitable diversified template, such as static map
As template, dynamic image template, video template etc..The sharing mode for enriching question and answer content as a result, can make wait in sharing
Appearance is shared by various mode, and demand is shared in the customization for also having better meet user.
It may be noted that all parts/step described in the embodiment of the present invention can be split as more according to the needs of implementation
The part operation of two or more components/steps or components/steps can also be combined into new component/step by multi-part/step
Suddenly, to realize the purpose of the embodiment of the present invention.
It is above-mentioned to be realized in hardware, firmware according to the method for the embodiment of the present invention, or be implemented as being storable in note
Software or computer code in recording medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk), or it is implemented through net
The original storage of network downloading in long-range recording medium or nonvolatile machine readable media and will be stored in local recording medium
In computer code, so that method described herein can be stored in using general purpose computer, application specific processor or can compile
Such software processing in journey or the recording medium of specialized hardware (such as ASIC or FPGA).It is appreciated that computer, processing
Device, microprocessor controller or programmable hardware include can store or receive software or computer code storage assembly (for example,
RAM, ROM, flash memory etc.), when the software or computer code are by computer, processor or hardware access and execute, realize
Question and answer content share method described herein.In addition, when general purpose computer accesses for realizing the question and answer content being shown here point
When enjoying the code of method, the execution of code, which is converted to general purpose computer, to be used to execute the question and answer content share method being shown here
Special purpose computer.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The range of the embodiment of the present invention.
Embodiment that the above embodiments are only used to illustrate the present invention, and the limitation not to the embodiment of the present invention, related skill
The those of ordinary skill in art field can also make various in the case where not departing from the spirit and scope of the embodiment of the present invention
Variation and modification, therefore all equivalent technical solutions also belong to the scope of the embodiment of the present invention, the patent of the embodiment of the present invention
Protection scope should be defined by the claims.