CN105320532A - Interactive interface display method and device as well as terminal - Google Patents

Interactive interface display method and device as well as terminal Download PDF

Info

Publication number
CN105320532A
CN105320532A CN201410373452.4A CN201410373452A CN105320532A CN 105320532 A CN105320532 A CN 105320532A CN 201410373452 A CN201410373452 A CN 201410373452A CN 105320532 A CN105320532 A CN 105320532A
Authority
CN
China
Prior art keywords
virtual image
file
interface display
display
interaction interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410373452.4A
Other languages
Chinese (zh)
Other versions
CN105320532B (en
Inventor
梁传明
陈曦
孙炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410373452.4A priority Critical patent/CN105320532B/en
Publication of CN105320532A publication Critical patent/CN105320532A/en
Application granted granted Critical
Publication of CN105320532B publication Critical patent/CN105320532B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an interactive interface display method and device as well as a terminal. The interactive interface display method comprises the following steps: logging in an instant messaging application and acquiring a preset local interactive interface display file which at least comprises a first interactive background file and a first virtual image file of a user or a friend, combining first virtual images and displaying the combined first virtual image, and displaying the first virtual image on a first interactive background. According to the method, the first interactive background file and the first virtual image file of the user or the friend corresponding to local terminals are acquired, and the first virtual image is displayed on the first interactive background according to the first virtual image file and the first interactive background file. The first virtual image file and the first interactive background file can be set randomly during presetting of files, so that matching of the displayed interactive background with the virtual images can be guaranteed, and a displayed interactive interface is more attractive. The file comprises one virtual image file, so that the displayed interactive interface comprising one virtual image is simple and neat.

Description

Show the method for interactive interface, device and terminal
Technical field
The present invention relates to field of computer technology, particularly a kind of method, device and terminal showing interactive interface.
Background technology
Along with developing rapidly of computer technology, occurred increasing instant messaging application, different user can realize exchange and interdynamic by logging in same instant messaging application.Usually, user, when carrying out exchange and interdynamic by instant messaging application, usually can beautify interactive interface, thus promote mutual enjoyment, reciprocal process be had more recreational.Wherein, when beautifying interactive interface, user often can arrange certain virtual image to represent oneself, and arranges the mutual background of interactive interface display.Therefore, when realizing mutual, the interactive interface of terminal demonstration often both comprised virtual image, also comprised mutual background.In order to make the interactive interface of terminal demonstration more attractive in appearance, be necessary to propose a kind of method showing interactive interface.
Correlation technique is when showing interactive interface, and the method adopted is: obtain the virtual image file pre-set, according to virtual image file display virtual image; Obtain and the mutual background paper pre-set, and show mutual background according to mutual background paper, obtain showing the interactive interface comprising virtual image and mutual background.Wherein, the virtual image of interactive interface display comprises the virtual image of user self simultaneously and carries out the virtual image of mutual good friend.In addition, in order to make show virtual image more attractive in appearance, correlation technique usually virtual image is shown in into its configuration independent of in the virtual image background outside mutual background.
Realizing in process of the present invention, inventor finds that correlation technique at least exists following problem:
Because correlation technique is when showing interactive interface, need to obtain respectively the virtual image file pre-set and the mutual background paper pre-set, and show virtual image and the mutual background of display respectively and virtual image is shown in into its configure independent of in the virtual image background outside mutual background.That is, in correlation technique, virtual image file and mutual background paper are independent settings.In the case, the situation of not arranging in pairs or groups with virtual image background and the mutual background of the virtual image of the independent mutual background paper display arranged according to the virtual image file of independent setting may be there is, make the interactive interface of display unsightly.In addition, the interactive interface due to display comprises the virtual image of user self simultaneously and carries out the virtual image of mutual good friend, and the element that the interactive interface shown is comprised is many, thus makes the interactive interface of display more mixed and disorderly.
Summary of the invention
In order to solve the problem of correlation technique, embodiments provide a kind of method, device and the terminal that show interactive interface.Described technical scheme is as follows:
First aspect, provide a kind of method showing interactive interface, described method comprises:
Log-in instant communication is applied, obtain the local interaction interface display file of the described instant messaging application pre-set, described local interaction interface display file at least comprises the first mutual background paper and the first virtual image file, and described first virtual image file is the virtual image file of user corresponding to local terminal or carries out the virtual image file of mutual good friend with described local terminal;
According to described first virtual image combination of files first virtual image, the first virtual image obtained is combined in display;
According to described first mutual background paper display the first mutual background, be shown in combining the first virtual image obtained in the described first mutual background.
Second aspect, provide a kind of device showing interactive interface, described device comprises:
Login module, applies for log-in instant communication;
First acquisition module, for obtaining the local interaction interface display file of the described instant messaging application pre-set, described local interaction interface display file at least comprises the first mutual background paper and the first virtual image file, and described first virtual image file is the virtual image file of user corresponding to local terminal or carries out the virtual image file of mutual good friend with described local terminal;
First composite module, for according to described first virtual image combination of files first virtual image;
First display module, for showing the first virtual image combining and obtain;
Second display module, for according to described first mutual background paper display the first mutual background, is shown in combining the first virtual image obtained in the described first mutual background.
The third aspect, provide a kind of terminal, described terminal includes storer, and one or more than one program, one of them or more than one program are stored in storer, and be configured to be performed by more than one or one processor, described more than one or one routine package is containing the instruction for performing following operation:
Log-in instant communication is applied, obtain the local interaction interface display file of the described instant messaging application pre-set, described local interaction interface display file at least comprises the first mutual background paper and the first virtual image file, and described first virtual image file is the virtual image file of user corresponding to local terminal or carries out the virtual image file of mutual good friend with described local terminal;
According to described first virtual image combination of files first virtual image, the first virtual image obtained is combined in display;
According to described first mutual background paper display the first mutual background, be shown in combining the first virtual image obtained in the described first mutual background.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
The local interaction interface display file that the first mutual background paper and user corresponding to local terminal or the user corresponding with this local terminal carry out the first virtual image file of mutual good friend is comprised by obtaining, and merge display first virtual image according to the first virtual image file group and show the first mutual background according to the first mutual background paper, and the first virtual image is shown in the first mutual background.Owing to can arrange arbitrarily the first virtual image file and the first mutual background paper when pre-setting local interaction interface display file, therefore, can guarantee according to arrange the first virtual image file and the first interaction interface document display the first mutual background and the first virtual image arrange in pairs or groups, thus make display interactive interface more attractive in appearance.In addition, because local interaction interface display file only comprises the virtual image file that user corresponding to local terminal or the user corresponding with local terminal carry out one of mutual good friend, therefore, the interactive interface of display only shows a virtual image, makes the interactive interface of display more simple clean and tidy.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of process flow diagram showing the method for interactive interface that one embodiment of the invention provides;
Fig. 2 is a kind of process flow diagram showing the method for interactive interface that another embodiment of the present invention provides;
Fig. 3 is the terminal interface schematic diagram of the interactive interface of a kind of display that another embodiment of the present invention provides;
Fig. 4 is a kind of structural representation showing the device of interactive interface that another embodiment of the present invention provides;
Fig. 5 is a kind of structural representation showing the device of interactive interface that another embodiment of the present invention provides;
Fig. 6 is the structural representation of a kind of determination module that another embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of first composite module that another embodiment of the present invention provides;
Fig. 8 is the structural representation of a kind of first display module that another embodiment of the present invention provides;
Fig. 9 is a kind of structural representation showing the device of interactive interface that another embodiment of the present invention provides;
Figure 10 is a kind of structural representation showing the device of interactive interface that another embodiment of the present invention provides;
Figure 11 is the structural representation of a kind of terminal that another embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
See Fig. 1, embodiments provide a kind of method showing interactive interface, the method flow that the embodiment of the present invention provides comprises:
101: log-in instant communication is applied, obtain the local interaction interface display file of the instant messaging application pre-set, wherein, local interaction interface display file at least comprises the first mutual background paper and the first virtual image file, and the first virtual image file is the virtual image file of user corresponding to local terminal or carries out the virtual image file of mutual good friend with local terminal.
Alternatively, interactive interface is chat window interface;
Obtain the local interaction interface display file of the instant messaging application pre-set, comprising:
Obtain the local chat window interface display file of the instant messaging application pre-set.
102: according to the first virtual image combination of files first virtual image, the first virtual image obtained is combined in display.
Alternatively, the first virtual image obtained is combined in display, comprising:
Obtain the mark combining the first virtual image obtained;
First combine with graphic form display the first virtual image obtained, and after having loaded all elements that the first virtual image comprises, hide with the first virtual image of graphic form display, the first virtual image obtained with animation form display combination.
103: according to first mutual background paper display the first mutual background, be shown in combining the first virtual image obtained in the first mutual background.
Alternatively, after obtaining the instant messaging application local interaction interface display file pre-set, also comprise:
Determine that whether local interaction interface display file is consistent with the interactive interface display file of server side;
If the interactive interface display file of local interaction interface display file and server side is inconsistent, then upgrade local interaction interface display file;
According to the first virtual image combination of files first virtual image, comprising:
According to the first virtual image combination of files first virtual image that the local interaction interface display file after upgrading comprises;
According to first mutual background paper display the first mutual background, comprising:
According to first mutual background paper display the first mutual background that the local interaction interface display file after upgrading comprises.
Alternatively, determine that whether local interaction interface display file is consistent with the interactive interface display file of server side, comprising:
Obtain very first time stamp and first cryptographic hash of local interaction interface display file;
The second timestamp and second cryptographic hash of the interactive interface display file corresponding with local interaction interface display file is pulled from server;
Whether consistent with the interactive interface display file of server side with the second cryptographic hash determination local interaction interface display file according to very first time stamp, the first cryptographic hash, the second timestamp.
Alternatively, according to the first virtual image combination of files first virtual image, comprising:
According to the mark of all elements that the first virtual image file acquisition first virtual image comprises, and determine the URL (UniversalResourceLocator, URL(uniform resource locator)) of each element according to the mark of each element;
Pull the element corresponding with the URL of each element from server, obtain all elements that the first virtual image comprises;
Load all elements that the first virtual image comprises, and combine all elements that the first virtual image comprises, obtain the first virtual image.
Alternatively, after the first virtual image that combination obtains is shown in the first mutual background, also comprise:
Obtain interactive interface switching command;
Again local interaction interface display file is obtained according to interactive interface switching command, wherein, again the local interaction interface display file obtained comprises the second mutual background paper and the second virtual image file, and the second virtual image file is corresponding with the first virtual image file;
According to the second virtual image combination of files second virtual image, and the second virtual image obtained is combined in display;
According to second mutual background paper display the second mutual background, and be shown in combining the second virtual image obtained in the second mutual background.
Alternatively, after the second virtual image that combination obtains is shown in the second mutual background, also comprise:
Obtain virtual image switching command;
Switch comprising between the second interactive interface of the second virtual image and the first interactive interface comprising the first virtual image according to virtual image switching command.
The method that the embodiment of the present invention provides, the local interaction interface display file that the first mutual background paper and user corresponding to local terminal or the user corresponding with this local terminal carry out the first virtual image file of mutual good friend is comprised by obtaining, and merge display first virtual image according to the first virtual image file group and show the first mutual background according to the first mutual background paper, and the first virtual image is shown in the first mutual background.Owing to can arrange arbitrarily the first virtual image file and the first mutual background paper when pre-setting local interaction interface display file, therefore, can guarantee according to arrange the first virtual image file and the first interaction interface document display the first mutual background and the first virtual image arrange in pairs or groups, thus make display interactive interface more attractive in appearance.In addition, because local interaction interface display file only comprises the virtual image file that user corresponding to local terminal or the user corresponding with local terminal carry out one of mutual good friend, therefore, the interactive interface of display only shows a virtual image, makes the interactive interface of display more simple clean and tidy.
See Fig. 2, embodiments provide a kind of method showing interactive interface, the method flow that the embodiment of the present invention provides comprises:
201: log-in instant communication is applied, obtain the local interaction interface display file of the instant messaging application pre-set, wherein, local interaction interface display file at least comprises the first mutual background paper and the first virtual image file, and the first virtual image file is the virtual image file of user corresponding to local terminal or carries out the virtual image file of mutual good friend with local terminal.
Wherein, the embodiment of the present invention does not limit the particular type of instant messaging application, and when specifically implementing, the type of instant messaging application includes but not limited to as social activity application.About the concrete form of interactive interface, include but not limited to as chat window interface.
During owing to being undertaken mutual by instant messaging application between user, need could realize after entering instant messaging application, therefore, need log-in instant communication to apply.About the mode of log-in instant communication application, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, include but not limited to the account by obtaining instant messaging application and password, and according to account and password login instant messaging application.
Due to what carry out between user normally realizing in certain interactive interface alternately, therefore, when carrying out exchange and interdynamic, need to show interactive interface.And the display of interactive interface needs to support by certain interactive interface display file usually, and the form of the interactive interface of display and general layout are controlled by the interactive interface display file pre-set usually.Therefore, the local interaction interface display file obtaining the instant messaging application pre-set is needed.Wherein, local interaction interface display file is the interactive interface display file pre-set of the current storage in local terminal corresponding to user of log-in instant communication application.About the mode of local interaction interface display file obtaining the instant messaging application pre-set, relevant with the concrete form of interactive interface.Such as, if interactive interface is chat window interface, then obtain pre-set instant messaging application local interaction interface display file time, acquisition be instant messaging application local chat window interface display file.
In addition, because the content of interactive interface display generally includes mutual background and virtual image, therefore, the local interaction interface display file got at least should comprise the first mutual background paper and the first virtual image file.Wherein, the first mutual background paper controls the mutual background of display, the first virtual image document control display virtual image.But in order to guarantee normally to show interactive interface, the local interaction interface display file got also should comprise the global configuration file controlling interactive interface and normally show, etc.
Wherein, the embodiment of the present invention does not limit the mode pre-setting local interaction interface display file, when specifically implementing, in order to make mutual background and the virtual image collocation of display, can arrange mutual background and virtual image simultaneously.
Further, the virtual image of mutual good friend is carried out in order to overcome the interactive interface that shows in correlation technique because of the virtual image and the user corresponding with local terminal comprising user corresponding to local terminal simultaneously, thus the deficiency causing the interactive interface of display mixed and disorderly, in embodiments of the present invention, virtual image or the user corresponding with local terminal of only corresponding in interactive interface display local terminal user carry out one of virtual image of mutual good friend, therefore, first virtual image file is the virtual image file of user corresponding to local terminal or carries out the virtual image file of mutual good friend with local terminal.
Alternatively, the virtual image file carrying out mutual good friend owing to may there is the user corresponding with local terminal has renewal or system automatically to upgrade the situation of interactive interface display file, therefore, after obtaining the instant messaging application local interaction interface display file pre-set, can also comprise: determine that whether local interaction interface display file is consistent with the interactive interface display file of server side; If the interactive interface display file of local interaction interface display file and server side is inconsistent, then upgrade local interaction interface display file.
Wherein, determine to have the mode whether local interaction interface display file is consistent with the interactive interface display file of server side a variety of.Such as, can continue to obtain the interactive interface display file of server side, and the interactive interface display file of server side and local interaction interface display file are compared realize.But, time whether consistent with the interactive interface display file of server side by this kind of mode determination local interaction interface display file, the interactive interface display file of the server side needing simultaneously to preserve in local terminal local interaction interface display file and get from server, and the load of local terminal can be increased the weight of like this.Therefore, in order to reduce the load of local terminal, when determining that whether local interaction interface display file and the interactive interface display file of server side is consistent, include but not limited to realize as follows:
Step one: the very first time stamp and the first cryptographic hash that obtain local interaction interface display file.
Wherein, can determine whether the local interaction interface display file of server side has renewal by timestamp, by cryptographic hash except determining whether the local interaction interface display file of server side has except renewal, can also prevent local interaction interface display file from damaging in downloading process or artificially being replaced.
About the mode of the very first time stamp and the first cryptographic hash that obtain local interaction interface display file, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, when upgrading the local interaction display file pre-set, the mark of local interaction interface display file and the mapping relations of timestamp and cryptographic hash of this renewal can be recorded at every turn simultaneously.Therefore, by first obtaining the mark of local interaction interface display file, and very first time stamp and first cryptographic hash of local interaction interface display file can be obtained from the mark of local interaction interface display file and the mapping relations of timestamp and cryptographic hash formation.The internal memory taken due to very first time stamp and the first cryptographic hash is very little, therefore, can reduce the load of local terminal, saves system resource.
Step 2: the second timestamp and the second cryptographic hash that pull the interactive interface display file corresponding with local interaction interface display file from server.
About the mode of the second timestamp and the second cryptographic hash that pull the interactive interface display file corresponding with local interaction interface display file from server, the embodiment of the present invention does not do concrete restriction equally.During concrete enforcement, server also can prestore the mark of interactive interface display file and the mapping relations of timestamp and cryptographic hash.Therefore, when pulling the second timestamp and second cryptographic hash of the interactive interface display file corresponding with local interaction interface display file from server, include but not limited to: local terminal sends the mark of local interaction interface display file to server; Server receives the mark of the local interaction interface display file that local terminal sends, and after the second timestamp obtaining the interactive interface display file corresponding with local interaction interface display file according to the identified query of local interaction interface display file and the second cryptographic hash, return the second timestamp and second cryptographic hash of the interactive interface display file corresponding with local interaction interface display file to local terminal; Second timestamp of the interactive interface display file corresponding with local interaction interface display file that terminal is returned by reception server and the second cryptographic hash realize the second timestamp and the second cryptographic hash that pull the interactive interface display file corresponding with local interaction interface display file from server.
Step 3: whether consistent with the interactive interface display file of server side with the second cryptographic hash determination local interaction interface display file according to very first time stamp, the first cryptographic hash, the second timestamp.
Wherein, time whether consistent with the interactive interface display file of server side according to very first time stamp, the first cryptographic hash, the second timestamp and the second cryptographic hash determination local interaction interface display file, include but not limited to: will stab the very first time, the first cryptographic hash, the second timestamp and the second cryptographic hash carry out comparison one by one to realize.
It should be noted that, if need to upgrade local interaction interface display file, then upgrading interactive interface display file can be perform immediately after log-in instant communication application, also can perform for interval Preset Time after log-in instant communication application, can also for after log-in instant communication application according to user need upgrade local interaction interface display file, the present embodiment does not do concrete restriction to this.
202: according to the first virtual image combination of files first virtual image, the first virtual image obtained is combined in display.
Wherein, according to the first virtual image combination of files first virtual image, include but not limited to:
Step one: according to the mark of all elements that the first virtual image file acquisition first virtual image comprises, and determine the URL of each element according to the mark of each element.
Be made up of multiple different element because virtual image is actually, as eyes, nose, eyebrow etc. are respectively an element of virtual image.In order to alleviate the load of local terminal, the first virtual image file in the local interaction interface display file of acquisition only can comprise the mark of all elements that the first virtual image comprises, and file corresponding to concrete each element is still at server side.Wherein, for the ease of pulling each element from server, the corresponding URL of mark of each element.Therefore, need the mark of all elements comprised according to the first virtual image file acquisition first virtual image, and determine the URL of each element according to the mark of each element.
Wherein, the first virtual image comprises each element, the mark of each element and the URL corresponding with the mark of each element include but not limited to be stored by the mode of such as table one:
Table one
After each element comprised when the first virtual image stored as above shown in table one, the mark of each element and the URL corresponding with the mark of each element, the mode of the mark of all elements comprised according to the first virtual image file acquisition first virtual image, and determine that according to the mark of each element the mode of URL of each element includes but not limited to realize according to the corresponding relation in table one.
Step 2: pull the element corresponding with the URL of each element from server, obtains all elements that the first virtual image comprises.
When pulling the element corresponding with the URL of each element from server, owing to including the URL of each element in the first virtual image file, and URL is HTTP (HyperTextTransferProtocol usually, HTML (Hypertext Markup Language)), therefore, the element corresponding with each URL can be obtained by sending HTTP request to server.
Step 3: load all elements that the first virtual image comprises, and all elements combining that the first virtual image comprises, obtain the first virtual image.
About the mode of all elements that loading first virtual image comprises, and combine the mode of all elements that the first virtual image comprises, the embodiment of the present invention does not all do concrete restriction.Wherein, when all elements that combination first virtual image comprises is to obtain the first virtual image, include but not limited to that all elements comprised according to the first virtual image is combined into the first virtual image of graphic form or is combined into the first virtual image of animation form.
Wherein, the embodiment of the present invention does not limit the concrete form of graphic form or animation form.During concrete enforcement, graphic form includes but not limited to as PNG (PortableNetworkGraphicFormat, picture file storage format) picture format, animation form includes but not limited to as FLASH (standard of interactive polar plot and Web animation) form.
Alternatively, after having loaded all elements that the first virtual image comprises, all elements that the first virtual image comprises can first have been stored.About the form of all elements that storage first virtual image comprises, can have a variety of, such as, can be XML (eXtensibleMarkupLanguage, extend markup language) form.
After storing and comprising all elements that the first virtual image comprises, due to the situation of user's one or more elements that real-time update first virtual image comprises when carrying out exchange and interdynamic may be there is, therefore, can also determine whether all elements that the first virtual image comprises has renewal in real time.
About determining whether all elements that the first virtual image comprises has the mode of renewal, includes but not limited in real time: whether the timestamp of each element comprised by the first virtual image and cryptographic hash be consistent with the timestamp of each element that the first virtual image of server side comprises and cryptographic hash.If the timestamp of the timestamp of each element that the first virtual image comprises and cryptographic hash and each element that the first virtual image of server side comprises and cryptographic hash consistent, then determine that all elements that the first virtual image comprises all does not upgrade; If the timestamp of this or these element that certain or some timestamp of element that the first virtual image comprises and the first virtual image of cryptographic hash and server side comprise and cryptographic hash inconsistent, then determine that this or these element that the first virtual image comprises all there occurs renewal.Now, the element after renewal can be pulled from server, and reconfigure the first virtual image by the element after upgrading.
In addition, due in embodiments of the present invention, the first virtual image file is that the virtual image of user corresponding to local terminal or the user corresponding with local terminal carry out one of virtual image of mutual good friend.In order to the user making local terminal determine that the virtual image of the user that current display local terminal is corresponding is still corresponding with local terminal carries out the virtual image of mutual good friend, after combination obtains the first virtual image, the mark of this virtual image can be obtained simultaneously.Wherein, the embodiment of the present invention does not limit the particular content of the mark of virtual image, during concrete enforcement, the mark of virtual image can include but not limited to that the instant messaging application account of the user that local terminal is corresponding or the user corresponding with local terminal carry out the instant messaging application account of mutual good friend.
To sum up, due to combination obtain the first virtual image after, obtain the mark of this virtual image simultaneously, therefore, when the first virtual image obtained is combined in display, include but not limited to: first obtain the mark combining the first virtual image obtained, and the first virtual image that display is corresponding with the mark of the first virtual image.
In addition, when showing the first virtual image combining and obtain, include but not limited to carry out showing or showing with animation form with graphic form.But, the all elements comprised owing to loading the first virtual image needs the regular hour, in order to ensure that the interactive interface shown does not exist the situation not comprising virtual image, first can combine with graphic form display the first virtual image obtained, and after having loaded all elements that the first virtual image comprises, hide with the first virtual image of graphic form display, combine with the display of animation form the first virtual image obtained.
About hiding with the first virtual image of graphic form display, the mode of the first virtual image obtained is combined with the display of animation form, include but not limited to: cover with the first virtual image of graphic form display with the first virtual image of animation form display, etc.
It should be noted that, if after getting local interaction interface display file, also have updated local interaction interface display file, time then according to first virtual image combination of files the first virtual image, according to the first virtual image combination of files first virtual image that the local interaction interface display file after upgrading comprises.Wherein, consistent with the above-mentioned principle according to the first virtual image combination of files first virtual image according to the specific implementation principle of the first virtual image combination of files first virtual image that the local interaction interface display file after upgrading comprises, specifically see the above-mentioned content according to the first virtual image combination of files first virtual image, can repeat no more herein.
203: according to first mutual background paper display the first mutual background, be shown in combining the first virtual image obtained in the first mutual background.
About the mode according to first mutual background paper display the first mutual background, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, can determine in conjunction with the concrete form of the first mutual background paper.Such as, if the first mutual background paper is picture format, then with the mutual background of picture display display first; If the first mutual background paper is animated format, then with animation form display the first mutual background.
Further, due in embodiments of the present invention, pre-set first mutual background paper and the first virtual file are included in local interaction interface display file simultaneously, therefore, when the arrange display first mutual background and the first mutual virtual image, the first mutual background directly can be used as the background of the first virtual image, the first mutual background and the first virtual image are arranged in pairs or groups.Therefore, when concrete display interactive interface, the first virtual image is directly shown in the first mutual background.
It should be noted that, if after getting local interaction interface display file, also have updated local interaction interface display file, time then according to first mutual background paper display the first mutual background, according to first mutual background paper display the first mutual background that the local interaction interface display file after upgrading comprises.Wherein, the specific implementation principle that the first mutual background paper comprised according to the local interaction interface display file after upgrading shows the first mutual background is with above-mentioned to show the principle of the first mutual background according to the first mutual background paper consistent, specifically see the above-mentioned content according to first mutual background paper display the first mutual background, can repeat no more herein.
As shown in Figure 3, the terminal interface schematic diagram of a kind of interactive interface of the method display provided by the embodiment of the present invention is provided.Namely underscore in Fig. 3 represents mutual background, and case of caricatures of persons represents virtual image.As shown in Figure 3, only show a virtual image in interactive interface, and virtual image is presented in mutual background, the background of virtual image is mutual background.
By being shown in by the first virtual image in the first mutual background, the first mutual background and the first virtual image file are integrally shown, when changing mutual background, virtual image also can change; When switching between the virtual image that the virtual image of user corresponding to local terminal and the user corresponding with local terminal carry out mutual good friend, the mutual background that each virtual image is corresponding also can switch.
Alternatively, self interactive interface and virtual image is checked for the ease of the user that local terminal is corresponding, when showing interactive interface, can after user's log-in instant communication application that local terminal is corresponding, first display comprises the interactive interface of the virtual image of user corresponding to local terminal.
204: obtain interactive interface switching command, again local interaction interface display file is obtained according to interactive interface switching command, wherein, again the local interaction interface display file obtained comprises the second mutual background paper and the second virtual image file, and the second virtual image file is corresponding with the first virtual image file.
Due in embodiments of the present invention, one of that the first virtual image file that the local interaction interface display file got in step 201 comprises is the virtual image file of user corresponding to local terminal or corresponding with local terminal user's virtual image file carrying out mutual good friend, therefore, the interactive interface of display only comprises the virtual image of user corresponding to local terminal or the user corresponding with local terminal carries out one of virtual image of mutual good friend.In order to realize when carrying out mutual, can switch between the virtual image that the virtual image of user corresponding to local terminal and the user corresponding with local terminal carry out mutual good friend, interactive interface switching command can be obtained, and again obtain local interaction interface display file according to interactive interface switching command.Wherein, the local interaction interface display file again obtained comprises the second mutual background paper and the second virtual image file, and the second virtual image file is corresponding with the first virtual image file.
Such as, if the virtual image file of the first virtual image file user that to be local terminal corresponding, then the second virtual image file is the virtual image file that the user corresponding with local terminal carries out mutual good friend.
About the mode again obtaining local interaction interface display file according to interactive interface switching command, consistent with the principle of the concrete methods of realizing obtaining the local interaction interface display file that the instant messaging that pre-sets is applied in above-mentioned steps 201, specifically see the content of local interaction interface display file obtaining the instant messaging application pre-set in above-mentioned steps 201, can repeat no more herein.
205: according to the second virtual image combination of files second virtual image, and the second virtual image obtained is combined in display.
Wherein, the principle of this step is consistent with the principle of above-mentioned steps 202, specifically see the particular content of above-mentioned steps 202, can not repeat herein.
206: according to second mutual background paper display the second mutual background, and be shown in combining the second virtual image obtained in the second mutual background.
Wherein, the principle of this step is consistent with the principle of above-mentioned steps 203, specifically see the particular content of above-mentioned steps 203, can not repeat herein.
207: obtain virtual image switching command, and switch comprising between the second interactive interface of the second virtual image and the first interactive interface comprising the first virtual image according to virtual image switching command.
When namely can be shown the interactive interface of interactive interface and display the second virtual image comprising the first virtual image respectively by step 201 to step 203 and step 204 to step 206.Therefore, in follow-up reciprocal process, just can switch flexibly between the interactive interface comprising the first virtual image and the interactive interface comprising the second virtual image.
Wherein, when switching flexibly between the interactive interface comprising the first virtual image and the interactive interface comprising the second virtual image, include but not limited to: obtain virtual image switching command, and switch comprising between the second interactive interface of the second virtual image and the first interactive interface comprising the first virtual image according to virtual image switching command.
About the mode obtaining virtual image switching command, include but not limited to: in interactive interface, provide switching push button, and get virtual image switching command by detecting whether selected the determining whether of switching push button.If detect that switching push button is selected, then from switching to the interactive interface of the second virtual image or switching to the interactive interface comprising the first virtual image from the interactive interface comprising the second virtual image.
Alternatively, when showing mutual background, in order to avoid user uses solid background to occur that virtual image is presented at the problem that solid background causes the virtual image of display more dull as mutual background, before display interactive interface, the background of default Virtual image can also be set.Therefore, when showing mutual background, whether the mutual background that can also detect mutual background paper control display is the mutual background of pure color.If detect that the mutual background that mutual background paper controls to show is the mutual background of pure color, then can be the background of virtual image allocating default virtual image, virtual image is presented in the background of default Virtual image.
The method that the embodiment of the present invention provides, the local interaction interface display file that the first mutual background paper and user corresponding to local terminal or the user corresponding with this local terminal carry out the first virtual image file of mutual good friend is comprised by obtaining, and merge display first virtual image according to the first virtual image file group and show the first mutual background according to the first mutual background paper, and the first virtual image is shown in the first mutual background.Owing to can arrange arbitrarily the first virtual image file and the first mutual background paper when pre-setting local interaction interface display file, therefore, can guarantee according to arrange the first virtual image file and the first interaction interface document display the first mutual background and the first virtual image arrange in pairs or groups, thus make display interactive interface more attractive in appearance.In addition, because local interaction interface display file only comprises the virtual image file that user corresponding to local terminal or the user corresponding with local terminal carry out one of mutual good friend, therefore, the interactive interface of display only shows a virtual image, makes the interactive interface of display more simple clean and tidy.
See Fig. 4, embodiments provide a kind of device showing interactive interface, this device for perform above-mentioned Fig. 1 or embodiment illustrated in fig. 2 in the method for display interactive interface that provides.This device comprises:
Login module 401, applies for log-in instant communication;
First acquisition module 402, for obtaining the local interaction interface display file of the instant messaging application pre-set, local interaction interface display file at least comprises the first mutual background paper and the first virtual image file, and the first virtual image file is the virtual image file of user corresponding to local terminal or carries out the virtual image file of mutual good friend with local terminal;
First composite module 403, for according to the first virtual image combination of files first virtual image;
First display module 404, for showing the first virtual image combining and obtain;
Second display module 405, for according to first mutual background paper display the first mutual background, is shown in combining the first virtual image obtained in the first mutual background.
Alternatively, interactive interface is chat window interface;
First acquisition module 402, for obtaining the local chat window interface display file of the described instant messaging application pre-set.
Alternatively, see Fig. 5, device, also comprises:
Determination module 406, for determining that whether local interaction interface display file is consistent with the interactive interface display file of server side;
Update module 407, for when the interactive interface display file of local interaction interface display file and server side is inconsistent, upgrades local interaction interface display file;
First composite module 403, for the first virtual image combination of files first virtual image comprised according to the local interaction interface display file after renewal;
Second display module 405, for comprising according to the local interaction interface display file after renewal first mutual background paper display the first mutual background.
Alternatively, see Fig. 6, determination module 406, comprising:
First acquiring unit 4061, for obtaining very first time stamp and first cryptographic hash of local interaction interface display file;
First pulls unit 4062, for pulling the second timestamp and second cryptographic hash of the interactive interface display file corresponding with local interaction interface display file from server;
Whether the first determining unit 4063, for consistent with the interactive interface display file of server side with the second cryptographic hash determination local interaction interface display file according to very first time stamp, the first cryptographic hash, the second timestamp.
Alternatively, see Fig. 7, the first composite module 403, comprising:
Second acquisition unit 4031, for the mark of all elements comprised according to the first virtual image file acquisition first virtual image;
Second determining unit 4032, for determining the URL of each element according to the mark of each element;
Second pulls unit 4033, for pulling the element corresponding with the URL of each element from server, obtains all elements that the first virtual image comprises;
Loading unit 4034, for loading all elements that the first virtual image comprises;
Assembled unit 4035, for combining all elements that the first virtual image comprises, obtains the first virtual image.
Alternatively, see Fig. 8, the first display module 404, comprising:
3rd acquiring unit 4041, for obtaining the mark combining the first virtual image obtained;
First display unit 4042, for first combining with graphic form display the first virtual image obtained;
Second display unit 4043, for after having loaded all elements that the first virtual image comprises, has hidden with the first virtual image of graphic form display, has combined with the display of animation form the first virtual image obtained.
Alternatively, see Fig. 9, device, also comprises:
Second acquisition module 408, for obtaining interactive interface switching command;
3rd acquisition module 409, for again obtaining local interaction interface display file according to interactive interface switching command, wherein, again the local interaction interface display file obtained comprises the second mutual background paper and the second virtual image file, and the second virtual image file is corresponding with the first virtual image file;
Second composite module 410, for according to the second virtual image combination of files second virtual image;
3rd display module 411, for showing the second virtual image combining and obtain;
4th display module 412, for showing the second mutual background according to the second mutual background paper, and is shown in combining the second virtual image obtained in the second mutual background.
Alternatively, see Figure 10, device, also comprises:
3rd acquisition module 413, for obtaining virtual image switching command;
Handover module 414, for switching comprising between the second interactive interface of the second virtual image and the first interactive interface comprising the first virtual image according to virtual image switching command.
The device that the embodiment of the present invention provides, the local interaction interface display file that the first mutual background paper and user corresponding to local terminal or the user corresponding with this local terminal carry out the first virtual image file of mutual good friend is comprised by obtaining, and merge display first virtual image according to the first virtual image file group and show the first mutual background according to the first mutual background paper, and the first virtual image is shown in the first mutual background.Owing to can arrange arbitrarily the first virtual image file and the first mutual background paper when pre-setting local interaction interface display file, therefore, can guarantee according to arrange the first virtual image file and the first interaction interface document display the first mutual background and the first virtual image arrange in pairs or groups, thus make display interactive interface more attractive in appearance.In addition, because local interaction interface display file only comprises the virtual image file that user corresponding to local terminal or the user corresponding with local terminal carry out one of mutual good friend, therefore, the interactive interface of display only shows a virtual image, makes the interactive interface of display more simple clean and tidy.
Please refer to Figure 11, it illustrates the structural representation of the terminal involved by the embodiment of the present invention, this terminal may be used for the method implementing the display interactive interface provided in above-described embodiment.Specifically:
Terminal 1100 can comprise RF (RadioFrequency, radio frequency) circuit 110, the storer 120 including one or more computer-readable recording mediums, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (WirelessFidelity, Wireless Fidelity) module 170, include the parts such as processor 180 and power supply 190 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Figure 11, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 180 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA (LowNoiseAmplifier, low noise amplifier), diplexer etc.In addition, RF circuit 110 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (GlobalSystemofMobilecommunication, global system for mobile communications), GPRS (GeneralPacketRadioService, general packet radio service), CDMA (CodeDivisionMultipleAccess, CDMA), WCDMA (WidebandCodeDivisionMultipleAccess, Wideband Code Division Multiple Access (WCDMA)), LTE (LongTermEvolution, Long Term Evolution), Email, SMS (ShortMessagingService, Short Message Service) etc.
Storer 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of storer 120 by running, thus performs the application of various function and data processing.Storer 120 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 1100.In addition, storer 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 120 can also comprise Memory Controller, to provide the access of processor 180 and input block 130 pairs of storeies 120.
Input block 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Particularly, input block 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Alternatively, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 1100 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display panel 141, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display panel 141.Further, Touch sensitive surface 131 can cover display panel 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display panel 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in fig. 11, Touch sensitive surface 131 and display panel 141 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 131 and display panel 141 integrated and realize input and output function.
Terminal 1100 also can comprise at least one sensor 150, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 141, proximity transducer when terminal 1100 moves in one's ear, can cut out display panel 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of identification terminal attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for terminal 1100 also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 1100.Voicefrequency circuit 160 can by receive voice data conversion after electric signal, be transferred to loudspeaker 161, by loudspeaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another terminal, or export voice data to storer 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 1100.
WiFi belongs to short range wireless transmission technology, and terminal 1100 can help user to send and receive e-mail by WiFi module 170, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Figure 11 shows WiFi module 170, be understandable that, it does not belong to must forming of terminal 1100, can omit in the scope of essence not changing invention as required completely.
Processor 180 is control centers of terminal 1100, utilize the various piece of various interface and the whole terminal of connection, software program in storer 120 and/or module is stored in by running or performing, and call the data be stored in storer 120, perform various function and the process data of terminal 1100, thus integral monitoring is carried out to terminal.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal 1100 also comprises the power supply 190 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 1100 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal is touch-screen display, and terminal also includes storer, and one or more than one program, one of them or more than one program are stored in storer, and are configured to be performed by more than one or one processor.Described more than one or one routine package is containing the instruction for performing following operation:
Log-in instant communication is applied, obtain the local interaction interface display file of the instant messaging application pre-set, local interaction interface display file at least comprises the first mutual background paper and the first virtual image file, and the first virtual image file is the virtual image file of user corresponding to local terminal or carries out the virtual image file of mutual good friend with local terminal;
According to the first virtual image combination of files first virtual image, the first virtual image obtained is combined in display;
According to first mutual background paper display the first mutual background, be shown in combining the first virtual image obtained in the first mutual background.
Suppose that above-mentioned is the first possible embodiment, in the embodiment that the second then provided based on the embodiment that the first is possible is possible, in the storer of terminal, also comprise the instruction for performing following operation: interactive interface is chat window interface;
Obtain the local interaction interface display file of the instant messaging application pre-set, comprising:
Obtain the local chat window interface display file of the instant messaging application pre-set.
In the third the possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation: after obtaining the instant messaging application local interaction interface display file pre-set, also comprise:
Determine that whether local interaction interface display file is consistent with the interactive interface display file of server side;
If the interactive interface display file of local interaction interface display file and server side is inconsistent, then upgrade local interaction interface display file;
According to the first virtual image combination of files first virtual image, comprising:
According to the first virtual image combination of files first virtual image that the local interaction interface display file after upgrading comprises;
According to first mutual background paper display the first mutual background, comprising:
According to first mutual background paper display the first mutual background that the local interaction interface display file after upgrading comprises.
In the 4th kind of possible embodiment provided based on the embodiment that the third is possible, in the storer of terminal, also comprise the instruction for performing following operation: determine that whether local interaction interface display file is consistent with the interactive interface display file of server side, comprising:
Obtain very first time stamp and first cryptographic hash of local interaction interface display file;
The second timestamp and second cryptographic hash of the interactive interface display file corresponding with local interaction interface display file is pulled from server;
Whether consistent with the interactive interface display file of server side with the second cryptographic hash determination local interaction interface display file according to very first time stamp, the first cryptographic hash, the second timestamp.
In the 5th kind of possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprising the instruction for performing following operation: according to the first virtual image combination of files first virtual image, comprising:
According to the mark of all elements that the first virtual image file acquisition first virtual image comprises, and determine the URL of each element according to the mark of each element;
Pull the element corresponding with the URL of each element from server, obtain all elements that the first virtual image comprises;
Load all elements that the first virtual image comprises, and combine all elements that the first virtual image comprises, obtain the first virtual image.
In the 6th kind of possible embodiment provided based on the 5th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation: the first virtual image obtained is combined in display, comprising:
Obtain the mark combining the first virtual image obtained;
First combine with graphic form display the first virtual image obtained, and after having loaded all elements that the first virtual image comprises, hide with the first virtual image of graphic form display, the first virtual image obtained with animation form display combination.
In the 7th kind of possible embodiment that the first provides to any one the possible embodiment in the 6th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation: after being shown in the first mutual background by the first virtual image that combination obtains, also comprise:
Obtain interactive interface switching command;
Again local interaction interface display file is obtained according to interactive interface switching command, wherein, again the local interaction interface display file obtained comprises the second mutual background paper and the second virtual image file, and the second virtual image file is corresponding with the first virtual image file;
According to the second virtual image combination of files second virtual image, and the second virtual image obtained is combined in display;
According to second mutual background paper display the second mutual background, and be shown in combining the second virtual image obtained in the second mutual background.
In the 8th kind of possible embodiment provided based on the 7th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation: after being shown in the second mutual background by the second virtual image that combination obtains, also comprise:
Obtain virtual image switching command;
Switch comprising between the second interactive interface of the second virtual image and the first interactive interface comprising the first virtual image according to virtual image switching command.
The terminal that the embodiment of the present invention provides, the local interaction interface display file that the first mutual background paper and user corresponding to local terminal or the user corresponding with this local terminal carry out the first virtual image file of mutual good friend is comprised by obtaining, and merge display first virtual image according to the first virtual image file group and show the first mutual background according to the first mutual background paper, and the first virtual image is shown in the first mutual background.Owing to can arrange arbitrarily the first virtual image file and the first mutual background paper when pre-setting local interaction interface display file, therefore, can guarantee according to arrange the first virtual image file and the first interaction interface document display the first mutual background and the first virtual image arrange in pairs or groups, thus make display interactive interface more attractive in appearance.In addition, because local interaction interface display file only comprises the virtual image file that user corresponding to local terminal or the user corresponding with local terminal carry out one of mutual good friend, therefore, the interactive interface of display only shows a virtual image, makes the interactive interface of display more simple clean and tidy.
Embodiments provide a kind of computer-readable recording medium, this computer-readable recording medium can be the computer-readable recording medium comprised in the storer in above-described embodiment; Also can be individualism, be unkitted the computer-readable recording medium allocated in terminal.This computer-readable recording medium stores more than one or one program, and this more than one or one program is used for by one or more than one processor performing the method showing interactive interface, and the method comprises:
Log-in instant communication is applied, obtain the local interaction interface display file of the instant messaging application pre-set, local interaction interface display file at least comprises the first mutual background paper and the first virtual image file, and the first virtual image file is the virtual image file of user corresponding to local terminal or carries out the virtual image file of mutual good friend with local terminal;
According to the first virtual image combination of files first virtual image, the first virtual image obtained is combined in display;
According to first mutual background paper display the first mutual background, be shown in combining the first virtual image obtained in the first mutual background.
Suppose that above-mentioned is the first possible embodiment, in the embodiment that the second then provided based on the embodiment that the first is possible is possible, in the storer of terminal, also comprise the instruction for performing following operation: interactive interface is chat window interface;
Obtain the local interaction interface display file of the instant messaging application pre-set, comprising:
Obtain the local chat window interface display file of the instant messaging application pre-set.
In the third the possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation: after obtaining the instant messaging application local interaction interface display file pre-set, also comprise:
Determine that whether local interaction interface display file is consistent with the interactive interface display file of server side;
If the interactive interface display file of local interaction interface display file and server side is inconsistent, then upgrade local interaction interface display file;
According to the first virtual image combination of files first virtual image, comprising:
According to the first virtual image combination of files first virtual image that the local interaction interface display file after upgrading comprises;
According to first mutual background paper display the first mutual background, comprising:
According to first mutual background paper display the first mutual background that the local interaction interface display file after upgrading comprises.
In the 4th kind of possible embodiment provided based on the embodiment that the third is possible, in the storer of terminal, also comprise the instruction for performing following operation: determine that whether local interaction interface display file is consistent with the interactive interface display file of server side, comprising:
Obtain very first time stamp and first cryptographic hash of local interaction interface display file;
The second timestamp and second cryptographic hash of the interactive interface display file corresponding with local interaction interface display file is pulled from server;
Whether consistent with the interactive interface display file of server side with the second cryptographic hash determination local interaction interface display file according to very first time stamp, the first cryptographic hash, the second timestamp.
In the 5th kind of possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprising the instruction for performing following operation: according to the first virtual image combination of files first virtual image, comprising:
According to the mark of all elements that the first virtual image file acquisition first virtual image comprises, and determine the URL of each element according to the mark of each element;
Pull the element corresponding with the URL of each element from server, obtain all elements that the first virtual image comprises;
Load all elements that the first virtual image comprises, and combine all elements that the first virtual image comprises, obtain the first virtual image.
In the 6th kind of possible embodiment provided based on the 5th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation: the first virtual image obtained is combined in display, comprising:
Obtain the mark combining the first virtual image obtained;
First combine with graphic form display the first virtual image obtained, and after having loaded all elements that the first virtual image comprises, hide with the first virtual image of graphic form display, the first virtual image obtained with animation form display combination.
In the 7th kind of possible embodiment that the first provides to any one the possible embodiment in the 6th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation: after being shown in the first mutual background by the first virtual image that combination obtains, also comprise:
Obtain interactive interface switching command;
Again local interaction interface display file is obtained according to interactive interface switching command, wherein, again the local interaction interface display file obtained comprises the second mutual background paper and the second virtual image file, and the second virtual image file is corresponding with the first virtual image file;
According to the second virtual image combination of files second virtual image, and the second virtual image obtained is combined in display;
According to second mutual background paper display the second mutual background, and be shown in combining the second virtual image obtained in the second mutual background.
In the 8th kind of possible embodiment provided based on the 7th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation: after being shown in the second mutual background by the second virtual image that combination obtains, also comprise:
Obtain virtual image switching command;
Switch comprising between the second interactive interface of the second virtual image and the first interactive interface comprising the first virtual image according to virtual image switching command.
The computer-readable recording medium that the embodiment of the present invention provides, the local interaction interface display file that the first mutual background paper and user corresponding to local terminal or the user corresponding with this local terminal carry out the first virtual image file of mutual good friend is comprised by obtaining, and merge display first virtual image according to the first virtual image file group and show the first mutual background according to the first mutual background paper, and the first virtual image is shown in the first mutual background.Owing to can arrange arbitrarily the first virtual image file and the first mutual background paper when pre-setting local interaction interface display file, therefore, can guarantee according to arrange the first virtual image file and the first interaction interface document display the first mutual background and the first virtual image arrange in pairs or groups, thus make display interactive interface more attractive in appearance.In addition, because local interaction interface display file only comprises the virtual image file that user corresponding to local terminal or the user corresponding with local terminal carry out one of mutual good friend, therefore, the interactive interface of display only shows a virtual image, makes the interactive interface of display more simple clean and tidy.
Provide a kind of graphical user interface in the embodiment of the present invention, this graphical user interface is used in terminal, and this terminal comprises touch-screen display, storer and one or more than one processor for performing one or more than one program; This graphical user interface comprises:
Log-in instant communication is applied, obtain the local interaction interface display file of the instant messaging application pre-set, local interaction interface display file at least comprises the first mutual background paper and the first virtual image file, and the first virtual image file is the virtual image file of user corresponding to local terminal or carries out the virtual image file of mutual good friend with local terminal;
According to the first virtual image combination of files first virtual image, the first virtual image obtained is combined in display;
According to first mutual background paper display the first mutual background, be shown in combining the first virtual image obtained in the first mutual background.
The graphical user interface that the embodiment of the present invention provides, the local interaction interface display file that the first mutual background paper and user corresponding to local terminal or the user corresponding with this local terminal carry out the first virtual image file of mutual good friend is comprised by obtaining, and merge display first virtual image according to the first virtual image file group and show the first mutual background according to the first mutual background paper, and the first virtual image is shown in the first mutual background.Owing to can arrange arbitrarily the first virtual image file and the first mutual background paper when pre-setting local interaction interface display file, therefore, can guarantee according to arrange the first virtual image file and the first interaction interface document display the first mutual background and the first virtual image arrange in pairs or groups, thus make display interactive interface more attractive in appearance.In addition, because local interaction interface display file only comprises the virtual image file that user corresponding to local terminal or the user corresponding with local terminal carry out one of mutual good friend, therefore, the interactive interface of display only shows a virtual image, makes the interactive interface of display more simple clean and tidy.
It should be noted that: the device of the display interactive interface that above-described embodiment provides, terminal are when showing interactive interface, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the embodiment of the method for the device of the display interactive interface that above-described embodiment provides, terminal and display interactive interface belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (17)

1. show a method for interactive interface, it is characterized in that, described method comprises:
Log-in instant communication is applied, obtain the local interaction interface display file of the described instant messaging application pre-set, described local interaction interface display file at least comprises the first mutual background paper and the first virtual image file, and described first virtual image file is the virtual image file of user corresponding to local terminal or carries out the virtual image file of mutual good friend with described local terminal;
According to described first virtual image combination of files first virtual image, the first virtual image obtained is combined in display;
According to described first mutual background paper display the first mutual background, be shown in combining the first virtual image obtained in the described first mutual background.
2. method according to claim 1, is characterized in that, described interactive interface is chat window interface;
The local interaction interface display file of the described instant messaging application that described acquisition pre-sets, comprising:
Obtain the local chat window interface display file of the described instant messaging application pre-set.
3. method according to claim 1, is characterized in that, after the described instant messaging application local interaction interface display file that described acquisition pre-sets, also comprises:
Determine that whether local interaction interface display file is consistent with the interactive interface display file of server side;
If the interactive interface display file of local interaction interface display file and server side is inconsistent, then upgrade described local interaction interface display file;
Described according to described first virtual image combination of files first virtual image, comprising:
According to the first virtual image combination of files first virtual image that the local interaction interface display file after upgrading comprises;
Described according to described first mutual background paper display the first mutual background, comprising:
According to first mutual background paper display the first mutual background that the local interaction interface display file after upgrading comprises.
4. method according to claim 3, is characterized in that, describedly determines that whether local interaction interface display file is consistent with the interactive interface display file of server side, comprising:
Obtain very first time stamp and first cryptographic hash of local interaction interface display file;
The second timestamp and second cryptographic hash of the interactive interface display file corresponding with described local interaction interface display file is pulled from server;
Whether consistent with the interactive interface display file of server side with the second cryptographic hash determination local interaction interface display file according to described very first time stamp, the first cryptographic hash, described second timestamp.
5. method according to claim 1, is characterized in that, described according to described first virtual image combination of files first virtual image, comprising:
The mark of all elements that the first virtual image comprises according to described first virtual image file acquisition, and the uniform resource position mark URL of each element is determined according to the mark of each element;
Pull the element corresponding with the URL of each element from server, obtain all elements that described first virtual image comprises;
Load all elements that described first virtual image comprises, and combine all elements that described first virtual image comprises, obtain described first virtual image.
6. method according to claim 5, is characterized in that, the first virtual image obtained is combined in described display, comprising:
Obtain the mark combining the first virtual image obtained;
First combine with graphic form display the first virtual image obtained, and after having loaded all elements that described first virtual image comprises, hide with the first virtual image of graphic form display, the first virtual image obtained with animation form display combination.
7. the method according to claim arbitrary in claim 1 to 6, is characterized in that, describedly will combine after the first virtual image of obtaining is shown in the described first mutual background, also comprises:
Obtain interactive interface switching command;
Again local interaction interface display file is obtained according to described interactive interface switching command, wherein, again the local interaction interface display file obtained comprises the second mutual background paper and the second virtual image file, and described second virtual image file is corresponding with described first virtual image file;
According to described second virtual image combination of files second virtual image, and the second virtual image obtained is combined in display;
According to described second mutual background paper display the second mutual background, and be shown in combining the second virtual image obtained in the described second mutual background.
8. method according to claim 7, is characterized in that, describedly will combine after the second virtual image of obtaining is shown in the described second mutual background, also comprises:
Obtain virtual image switching command;
Switch comprising between the second interactive interface of described second virtual image and the first interactive interface comprising described first virtual image according to described virtual image switching command.
9. show a device for interactive interface, it is characterized in that, described device comprises:
Login module, applies for log-in instant communication;
First acquisition module, for obtaining the local interaction interface display file of the described instant messaging application pre-set, described local interaction interface display file at least comprises the first mutual background paper and the first virtual image file, and described first virtual image file is the virtual image file of user corresponding to local terminal or carries out the virtual image file of mutual good friend with described local terminal;
First composite module, for according to described first virtual image combination of files first virtual image;
First display module, for showing the first virtual image combining and obtain;
Second display module, for according to described first mutual background paper display the first mutual background, is shown in combining the first virtual image obtained in the described first mutual background.
10. method according to claim 9, is characterized in that, described interactive interface is chat window interface;
Described first acquisition module, for obtaining the local chat window interface display file of the described instant messaging application pre-set.
11. devices according to claim 9, is characterized in that, described device, also comprises:
Determination module, for determining that whether local interaction interface display file is consistent with the interactive interface display file of server side;
Update module, for when the interactive interface display file of local interaction interface display file and server side is inconsistent, upgrades described local interaction interface display file;
Described first composite module, for the first virtual image combination of files first virtual image comprised according to the local interaction interface display file after renewal;
Described second display module, for comprising according to the local interaction interface display file after renewal first mutual background paper display the first mutual background.
12. devices according to claim 11, is characterized in that, described determination module, comprising:
First acquiring unit, for obtaining very first time stamp and first cryptographic hash of local interaction interface display file;
First pulls unit, for pulling the second timestamp and second cryptographic hash of the interactive interface display file corresponding with described local interaction interface display file from server;
Whether the first determining unit, for consistent with the interactive interface display file of server side with the second cryptographic hash determination local interaction interface display file according to described very first time stamp, the first cryptographic hash, described second timestamp.
13. devices according to claim 9, is characterized in that, described first composite module, comprising:
Second acquisition unit, for the mark of all elements that the first virtual image according to described first virtual image file acquisition comprises;
Second determining unit, for determining the uniform resource position mark URL of each element according to the mark of each element;
Second pulls unit, for pulling the element corresponding with the URL of each element from server, obtains all elements that described first virtual image comprises;
Loading unit, for loading all elements that described first virtual image comprises;
Assembled unit, for combining all elements that described first virtual image comprises, obtains described first virtual image.
14. devices according to claim 13, is characterized in that, described first display module, comprising:
3rd acquiring unit, for obtaining the mark combining the first virtual image obtained;
First display unit, for first combining with graphic form display the first virtual image obtained;
Second display unit, for after having loaded all elements that described first virtual image comprises, has hidden with the first virtual image of graphic form display, has combined with the display of animation form the first virtual image obtained.
15. devices according to claim arbitrary in claim 9 to 14, it is characterized in that, described device, also comprises:
Second acquisition module, for obtaining interactive interface switching command;
3rd acquisition module, for again obtaining local interaction interface display file according to described interactive interface switching command, wherein, again the local interaction interface display file obtained comprises the second mutual background paper and the second virtual image file, and described second virtual image file is corresponding with described first virtual image file;
Second composite module, for according to described second virtual image combination of files second virtual image;
3rd display module, for showing the second virtual image combining and obtain;
4th display module, for showing the second mutual background according to the described second mutual background paper, and is shown in combining the second virtual image obtained in the described second mutual background.
16. devices according to claim 15, is characterized in that, described device, also comprises:
3rd acquisition module, for obtaining virtual image switching command;
Handover module, for switching comprising between the second interactive interface of described second virtual image and the first interactive interface comprising described first virtual image according to described virtual image switching command.
17. 1 kinds of terminals, it is characterized in that, described terminal includes storer, and one or more than one program, one of them or more than one program are stored in storer, and be configured to be performed by more than one or one processor, described more than one or one routine package is containing the instruction for performing following operation:
Log-in instant communication is applied, obtain the local interaction interface display file of the described instant messaging application pre-set, described local interaction interface display file at least comprises the first mutual background paper and the first virtual image file, and described first virtual image file is the virtual image file of user corresponding to local terminal or carries out the virtual image file of mutual good friend with described local terminal;
According to described first virtual image combination of files first virtual image, the first virtual image obtained is combined in display;
According to described first mutual background paper display the first mutual background, be shown in combining the first virtual image obtained in the described first mutual background.
CN201410373452.4A 2014-07-31 2014-07-31 Method, device and terminal for displaying interactive interface Active CN105320532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410373452.4A CN105320532B (en) 2014-07-31 2014-07-31 Method, device and terminal for displaying interactive interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410373452.4A CN105320532B (en) 2014-07-31 2014-07-31 Method, device and terminal for displaying interactive interface

Publications (2)

Publication Number Publication Date
CN105320532A true CN105320532A (en) 2016-02-10
CN105320532B CN105320532B (en) 2020-04-21

Family

ID=55247959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410373452.4A Active CN105320532B (en) 2014-07-31 2014-07-31 Method, device and terminal for displaying interactive interface

Country Status (1)

Country Link
CN (1) CN105320532B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109427083A (en) * 2017-08-17 2019-03-05 腾讯科技(深圳)有限公司 Display methods, device, terminal and the storage medium of three-dimensional avatars
CN109802931A (en) * 2017-11-17 2019-05-24 腾讯科技(深圳)有限公司 A kind of communication processing method, terminal and storage medium
CN110719533A (en) * 2019-10-18 2020-01-21 广州虎牙科技有限公司 Live virtual image broadcasting method and device, server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030156134A1 (en) * 2000-12-08 2003-08-21 Kyunam Kim Graphic chatting with organizational avatars
CN1450761A (en) * 2003-04-25 2003-10-22 腾讯科技(深圳)有限公司 Method for showing network virtual image on instant communication tool
CN1453719A (en) * 2002-04-28 2003-11-05 上海友讯网络资讯有限公司 Forming method and system of virtual images and virtual scenes capable of being combined freely
CN103218844A (en) * 2013-04-03 2013-07-24 腾讯科技(深圳)有限公司 Collocation method, implementation method, client side, server and system of virtual image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030156134A1 (en) * 2000-12-08 2003-08-21 Kyunam Kim Graphic chatting with organizational avatars
CN1453719A (en) * 2002-04-28 2003-11-05 上海友讯网络资讯有限公司 Forming method and system of virtual images and virtual scenes capable of being combined freely
CN1450761A (en) * 2003-04-25 2003-10-22 腾讯科技(深圳)有限公司 Method for showing network virtual image on instant communication tool
CN103218844A (en) * 2013-04-03 2013-07-24 腾讯科技(深圳)有限公司 Collocation method, implementation method, client side, server and system of virtual image

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109427083A (en) * 2017-08-17 2019-03-05 腾讯科技(深圳)有限公司 Display methods, device, terminal and the storage medium of three-dimensional avatars
CN109427083B (en) * 2017-08-17 2022-02-01 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for displaying three-dimensional virtual image
CN109802931A (en) * 2017-11-17 2019-05-24 腾讯科技(深圳)有限公司 A kind of communication processing method, terminal and storage medium
CN109802931B (en) * 2017-11-17 2021-08-06 腾讯科技(深圳)有限公司 Communication processing method, terminal and storage medium
CN110719533A (en) * 2019-10-18 2020-01-21 广州虎牙科技有限公司 Live virtual image broadcasting method and device, server and storage medium

Also Published As

Publication number Publication date
CN105320532B (en) 2020-04-21

Similar Documents

Publication Publication Date Title
US20150082231A1 (en) Method and terminal for displaying desktop
CN104978176B (en) Application programming interfaces call method, device and computer readable storage medium
US20170147187A1 (en) To-be-shared interface processing method, and terminal
CN108039963B (en) Container configuration method and device and storage medium
CN104133624B (en) Web animation display packing, device and terminal
CN104571979B (en) A kind of method and apparatus for realizing split view
CN105183296A (en) Interactive interface display method and device
CN103310004A (en) Method, device and equipment for displaying number of unread messages
CN104571787A (en) Message display method and communication terminal
CN103390034A (en) Image display method, device, terminal and server
CN103179026B (en) Communication means in user interactive system, system and server and client side
CN104252341A (en) Method and device for resurfacing application program and client side device of application program
CN104679381A (en) Method and device for switching chat box
CN105094809A (en) Combined picture layout modification method and device and terminal equipment
CN104238893A (en) Video preview image displaying method and device
CN105446726A (en) Method and device for generating webpage
CN104090879A (en) Picture sharing method, device and system
WO2014206138A1 (en) Webpage data update method, apparatus and terminal device
CN105447124A (en) Virtual article sharing method and device
CN104951215A (en) Processing method and device for page operation
CN104869465A (en) Video playing control method and device
CN104239332A (en) Webpage content processing method, webpage content processing device and browser client side
CN104021129A (en) Picture group display method and terminal
CN103399911A (en) Access processing method, device and terminal device on basis of browser client
CN105302804A (en) Service bill display method, terminal, and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant