Embodiment
With reference to Fig. 1, the system construction drawing of first embodiment of the invention is shown.
Present embodiment comprises firstinstant communication terminal 21, secondinstant communication terminal 22,instant communication server 30,virtual image server 40 and personal image server 50.First user 11 uses first instant communication terminal, 21, thesecond users 12 to use second instant communication terminal 22.Instant communication server 30,virtual image server 40 andpersonal image server 50 be respectively by network and firstinstant communication terminal 21 and/or second instant communication terminal, 22 swap datas, is respectivelyfirst user 11 and/orsecond user 12 provides service.Above-mentionedinstant communication server 30 management instant communication terminal and user accounts provide the Communications service between the instant communication terminal; Andvirtual image server 40 provides virtual image to use for the user, the virtual image of leading subscriber.Instant communication server 30 andvirtual image server 40 adopt existing techniques in realizing, so do not give unnecessary details.Above-mentioned network comprises local area network (LAN), the Internet, wireless network and/or private line network.Above-mentioned instant communication terminal comprises client-side program and/or operates in program in the browser, installs and/or operate in user's computer, communicating terminal and/or the hand-held data processing equipment.
In conjunction with first instant communication terminal, 21 structural representations shown in Fig. 2, firstinstant communication terminal 21 comprises userinteractive module 211,file storage module 212, personalimage administration module 213,communication module 214 and virtual image administration module 215.Wherein userinteractive module 211 shows interactive interface tofirst user 11, sends data message by interactive interface tofirst user 11, receives first user's 11 instruction;File storage module 212 storing virtual images, first user's 11 self-defined head portrait and personal image;Communication module 214 is connected with network, realizes firstinstant communication terminal 21 and network exchange data.Virtualimage administration module 215 provides the virtual image tabulation tofirst user 11, chooses and be provided with virtual image forfirst user 11; Personalimage administration module 213 is gathered virtual image and the self-defined head portrait thatfirst user 11 is provided with by userinteractive module 211, integrate the personal image that formsfirst user 11, be stored in thefile storage module 212, and/or send topersonal image server 50 bycommunication module 214.
First instant communication terminal, 21 courses of work comprise:
Step S100 chooses, is provided with and manage self-defined head portrait according to first user, 11 instructions;
Step S102, in conjunction with self-defined head portrait, according tofirst user 11 instruction choose, setting and managing virtual image;
Step S104 forms personal image according to self-defined head portrait and virtual image, the management personal image;
Step S106 is uploaded topersonal image server 50 with first user's 11 personal image.
First instant communication terminal, 21 courses of work also comprise:
Step S108 obtains second user's personal image frompersonal image server 50, is shown to first user.
The structure of secondinstant communication terminal 22 and the course of work and firstinstant communication terminal 21 are similar, so do not give unnecessary details.
In conjunction with Fig. 3 the structural representation ofpersonal image server 50 is shown,personal image server 50 comprisescommunication unit 501,administrative unit 502 and memory cell 503.502 controls are connected withnetwork communication unit 501 according to administrative unit, realizepersonal image server 50 and network exchange data;Memory cell 503 is acceptedadministrative unit 502 controls, storage and management personal image, andmemory cell 503 can be arranged on the nonvolatile memory such as hard disk or disk array ofpersonal image server 50.
The course of work ofpersonal image server 50 comprises:
Step S200 receives the personal image that firstinstant communication terminal 21 is uploaded;
Step S202, storage and management personal image;
Step S204 according to the request of secondinstant communication terminal 22, sends first user's of request appointment personal image.
The present invention proposes second embodiment on the first embodiment basis.The composition of the system configuration of present embodiment, firstinstant communication terminal 21, secondinstant communication terminal 22,instant communication server 30,virtual image server 40 andpersonal image server 50 is all similar with first embodiment, so do not give unnecessary details.
Integrate schematic diagram in conjunction with self-defined head portrait shown in Fig. 4 and virtual image, firstinstant communication terminal 21 of present embodiment is chosen self-defined head portrait for the user, and the virtual image tabulation is provided, therefrom selects virtual image for the user, integrating with self-defined head portrait becomes personal image.For example among Fig. 4 self-defined head portrait with " cap ' ' this virtual image integrates, and forms first personal image, or self-defined head portrait integrates with " cap " this virtual image and " overcoat " this virtual image, forms second personal image.
With reference to the first instant communication terminal interface schematic diagram shown in Figure 5, firstinstant communication terminal 21 provides the instant communication terminal interface to realize mutual with the user to the user.The information that send according to each functional module at the instant communication terminal interface shows different interface and content with user instruction.Specifically, self-defined head portrait being set selects dialog box to choose and be provided with self-defined head portrait for the user; Personalimage administration module 213 is provided with the personal image impression window to show user's personal image; Storage is set dialog box is set, utilizefile storage module 212 that self-defined head portrait is stored in the assigned catalogue for the user; Virtualimage administration module 215 is provided with the virtual image tabulation and therefrom chooses virtual image for the user; When the user chooses a virtual image, when being carried in it on self-defined head portrait, the position and the direction that provide the adjustment means subwindow to regulate virtual image for the user; After the user regulates virtual image and finishes, personalimage administration module 213 is collected virtual image and self-defined head portrait, it integrate is formed personal image, and provide storage that dialog box is set, utilizefile storage module 212 that personal image is stored in the assigned catalogue for the user.
With reference to first instant communication terminal, 21 course of work schematic diagrames shown in Figure 6, the course of work of firstinstant communication terminal 21 comprises in the present embodiment:
Step S300 according to user instruction, shows that self-defined head portrait selects dialog box, selects to wish the self-defined head portrait that is provided with for the user;
Step S302 selects self-defined head portrait according to user's operation, will specify the corresponding picture compression of self-defined head portrait or adjust to default standard size;
Step S303, the self-defined head portrait of explicit user appointment in the personal image impression window;
Step S304 shows that storage is provided with dialog box, will specify self-defined head portrait picture to store in the assigned catalogue for the user;
Step S306, the self-defined head portrait picture offile storage module 212 management;
Step S308, near user's self-defined head portrait, interface such as the application programming interface of utilizing operating system to provide are drawn the virtual image that the user can use, and form the virtual image tabulation;
Step S310 when the user chooses certain virtual image from the virtual image tabulation, infers the approximate location of this virtual image with respect to self-defined head portrait;
Step S312, the virtual image that explicit user is chosen in the personal image impression window shows the adjustment means subwindow;
Step S314, user utilize the adjustment means subwindow that the virtual image of choosing is regulated, and the adjustment means subwindow detects user's adjusting operation, regulate the virtual image chosen position and the direction with respect to self-defined head portrait in view of the above;
After step S316, user regulated and finish, the interface that personalimage administration module 212 utilizes operating system to provide obtained the screen image information of personal image impression window;
Step S318, personalimage administration module 213 generate corresponding picture file with the screen image information that obtains according to subscribing picture format (as the BMP form) in calculator memory, this picture file is a personal image;
Step S320, firstinstant communication terminal 21 is stored in personal image in the predetermined directory, or shows that storage is provided with dialog box, utilizesfile storage module 212 that personal image is stored in user's designated directory for the user;
Step S322, personalimage administration module 213 calls personal image, and the interface that utilizes operating system to provide is drawn first user's personal image in the personal image impression window.
Step S324, firstinstant communication terminal 21 is uploaded to 50 storages of personal image server and management with first user's personal image.
The personal image management system of present embodiment needs the user that account number is provided based on existing instant communicating system, can login the use instant communication terminal by the authentication of instant communication server 30.The management of 30 pairs of user account numbers of instant communication server is similar to prior art with checking, so do not give unnecessary details.
Above-mentioned personal image impression window, to the management of self-defined head portrait with adjust and adopt prior art, so do not give unnecessary details.
The virtual image of present embodiment is managed byvirtual image server 40 and is provided, and aftervirtual image server 40 upgraded virtual images, firstinstant communication terminal 21 need be from the virtual image tabulation ofvirtual image server 40 down loading updatings.So the step S308 of said process also comprises:
Step S3081, virtualimage administration module 215 inquiry local directories judge whether that up-to-date virtual image tabulation can use, if not then utilize http protocol to transmit a request to the up-to-date virtual image tabulation ofvirtual image server 40 requests;
Step S3082 aftervirtual image server 40 receives the request of firstinstant communication terminal 21, forms packet with up-to-date available virtual image picture and information combination, utilizes http protocol to send to firstinstant communication terminal 21;
After step S3083, firstinstant communication terminal 21 receive the packet thatvirtual image server 40 returns,, each packet that receives is formed virtual image picture, store this locality into according to the information such as total length of packet;
Step S3084, firstinstant communication terminal 21 is tabulated the annular virtual image that available virtual image arrangement forms as shown in Figure 2, and available virtual image is shown to the user.
Above-mentioned steps S310 specifically comprises:
Step S3101, when the user operated cursor and chooses virtual image, virtualimage administration module 215 was caught the action of choosing in the operating system, the position that obtains current cursor;
Step S3102, the virtual image picture tabulation that virtualimage administration module 215 is current according to cursor position traversal judges that cursor drops on the picture of which virtual image, determines the virtual image of choosing according to the virtual image picture of choosing and corresponding informance thereof; Above-mentioned virtual image picture corresponding informance comprises type information, each virtual image picture all has type information, indicate the type that virtual image belongs to, for example belong to " cap " type, " overcoat " type or the like, predesignating to have a virtual image to be incorporated in the self-defined head portrait in each type;
Step S3103, the type information of the selected virtual image that above-mentioned steps obtains, calculate this virtual image with respect to self-defined head portrait or the approximate location in the personal image impression window, for example for the virtual image of " cap " type, its abscissa should be the centre position of self-defined head portrait, and ordinate is to 10 locations of pixels of top skew.
The approximate location of above-mentioned virtual image picture is to estimate that according to the rule of self-defined head portrait or common situation reckoning obtains, may certain deviation be arranged with the appropriate position in the self-defined head portrait of reality, also might the user wish virtual image is arranged on other positions, so just need provide the user to regulate the position of virtual image picture.
Above-mentioned steps S312 specifically comprises:
Step S3121, according to the approximate location that above-mentioned steps calculates, the interface that utilizes operating system to provide is drawn the virtual image picture that the user chooses in this position of self-defined head portrait;
Step S3122, near the personal image impression window, show adjustment means subwindow as shown in Figure 2, the adjustment means subwindow comprises that three are regulated control, regulate abscissa, adjusting virtual image picture ordinate in personal image impression window and the angle of inclination of adjusting virtual image picture of virtual image picture in the personal image impression window respectively, make the virtual image picture can satisfy user's angle requirement.
Above-mentioned steps S314 specifically comprises:
Step S3141, adjustment means subwindow detect the user and operate the operation that control is regulated in the cursor pulling, obtain abscissa, ordinate or the angular adjustment information of user's appointment;
Step S3142 regulates certain when regulating control when the adjustment means subwindow detects the user, according to its different regulating action, adds adjusting information respectively on the basis of virtual image current location information;
Step S3143, adjustment means subwindow notice personal image impression window repaints self-defined head portrait and chooses the virtual image picture, the personal image after realizing regulating according to user's adjusting demonstration in real time.
Above-mentioned steps S316 specifically comprises:
Step S3161, firstinstant communication terminal 21 detects the user and closes the adjustment means subwindow;
Step S3162, the interface that personalimage administration module 213 utilizes operating system to provide obtains the screen image information in the personal image impression window.
Step S324 also comprises:
Step S3241, firstinstant communication terminal 21 indicate the time that personal image upgrades for personal image is provided with update time;
Step S3242, firstinstant communication terminal 21 will utilize user account number, personal image and update time thereof the communication channel withinstant communication server 30 to be uploaded toinstant communication server 30;
Step S3243,instant communication server 30 will be transmitted to user account number, personal image and update time thereofpersonal image server 50;
Step S3244,personal image server 50 be according to the user account number that receives, and with the personal image of this user's correspondence and be kept at update time in the corresponding path of respective user, and manages.
The course of work of firstinstant communication terminal 21 of present embodiment also is included in the personal image that shows at least one user in the instant communication terminal interface, with reference to Fig. 5, specifically comprises:
Step S400, user login first instant communication terminal, 21, the firstinstant communication terminals 21 and show the first instant communication terminal interface to the user;
Step S402, when the user wished to check second user's personal image, on moving cursor second user's in the first instant communication terminal interface the head portrait, userinteractive module 211 response cursor mobile messagings were obtained the account number that the user wishes second user that checks;
Step S404, first instant communication terminal sends topersonal image server 50 with second user's account number, asks second user's personal image to it;
Step S406, according to second user's account number, personalimage administration module 213 is created the TIPS personal image impression window of corresponding second user account number;
Step S408, second user's that 213 pairs of personal image administration modules receive personal image carry out the compression of picture equal proportion or adjust and handle;
Personal image after the interface that step S410, personalimage administration module 213 utilize operating system to provide will be handled is plotted in second user's the TIPS personal image impression window.
The course of work and first instant communication terminal of present embodiment second instant communication terminal are similar, so do not give unnecessary details.
Based on a last embodiment, thepersonal image server 50 of present embodiment is provided with the personal image database to realize the management to a plurality of users' personal image.This database is provided with the personal image table, preserve each user's information such as account number, memory address, update time, when instant communicating terminal sends the personal image that upgrades,personal image server 50 receives this personal image file, it is stored in thememory cell 503, respective user account number, memory address and update time are stored in the personal image table.When instant communicating terminal request user's personal image,personal image server 50 is searched the personal image table according to the user account number in the request, find out corresponding personal image memory address, and then find the personal image picture, send to the instant communication terminal of the request of sending.
With reference to schematic flow sheet shown in Figure 7, the present invention proposes the 3rd embodiment, realize the method for personal image management based on personal image management system, this personal image management system comprises firstinstant communication terminal 21, secondinstant communication terminal 22 andpersonal image server 50,personal image server 50 by network and firstinstant communication terminal 21 and second instant communication terminal, 22 swap datas, comprises step respectively:
Step S500, firstinstant communication terminal 21 choose, are provided with and manage self-defined head portrait according to first user's instruction;
Step S502, firstinstant communication terminal 21 be in conjunction with self-defined head portrait, according to first user's instruction choose, setting and managing virtual image;
Step S504, firstinstant communication terminal 21 forms and manages first user's personal image according to self-defined head portrait and virtual image;
Step S506, firstinstant communication terminal 21 is uploaded first user's personal image topersonal image server 50.
In the foregoing description, the management of personal image is by carrying out user account number and update time.Personal image is provided with information such as user account number, update time to indicate the time of user and renewal under the personal image, when instant communicating terminal sends personal image,personal image server 50 receives this personal image file, it is stored in thememory cell 503, by respective user account number, memory address and update time information the personal image file is managed.When instant communicating terminal request user's personal image,personal image server 50 is found out corresponding personal image file storage address according to the user account number in the request, and then finds the personal image picture, sends to the instant communication terminal of the request of sending.
The present invention proposes the 4th embodiment, adds the step of showing personal image on the 3rd embodiment basis, specifically comprises:
Step S508,personal image server 50 receives the personal image that firstinstant communication terminal 21 is uploaded;
Step S510,50 storages of personal image server and management personal image;
Step S512,personal image server 50 send first user's personal image according to the request of secondinstant communication terminal 22;
Step S514, secondinstant communication terminal 22 receives first user's personal image, shows first user's personal image to second user.
The present invention proposes the 5th embodiment, proposes to realize instant communication terminal with browser, and the user also can use the instant communication terminal that moves in the browser except that installing on computers the client.Instant communication terminal operates in the browser of user's computer, communicating terminal and/or hand-held data processing equipment, connect network by user's computer, communicating terminal and/or hand-held data processing equipment, be connected withvirtual image server 40 withinstant communication server 30, realize selecting self-defined head portrait and virtual image, inediting is integrated self-defined head portrait and virtual image at instant communication network station, forms personal image; Instant communication terminal is uploaded topersonal image server 50 with personal image and manages.Can download personal image after the user uses instant communication terminal to sign in toinstant communication server 30 shows.Theinstant communication server 30 of present embodiment comprises http server 31 and background server 32, http server 31 is connected and swap data with instant communication terminal by local area network (LAN), the Internet and/or wireless network, background server 32 leading subscriber account numbers realize the communication traffic logic.
Present embodiment generation personal image and previous embodiment are similar, and idiographic flow is as follows:
Step S601, the user moves instant communication terminal in browser, input user account number and password, require log-ininstant communication server 30, instant communication terminal carries out the Post submit operation of data form, send corresponding user account number and password, http server 31 parses user account number and password after receiving the data of instant communication terminal submission;
Step S602, http server 31 inquiry background servers 32 checking user account number and passwords, authentication failed is then returned the login failure prompting, and being proved to be successful then, instant communication terminal shows the instant messaging interface; The user clicks " uploading self-defined head portrait " button on the instant messaging interface, and instant communication terminal utilizes script to open local file and browses frame, and the user selects a picture file as self-defined head portrait in this locality;
After step S603, user chose self-defined head portrait picture, instant communication terminal utilized File Transfer Protocol that self-defined head portrait picture is uploaded to http server 31, by http server 31 be transmitted to background server 32 storage and with the user account number management that is mapped;
Step S604, instant communication terminal shows the self-defined head portrait picture that the active user uploads, and downloads the virtual image tabulation by http protocol fromvirtual image server 40 simultaneously and is shown to the user;
Step S605, when detecting user indication and carry out the personal image editor, instant communication terminal loads the Flash assembly that embeds, utilize script to set up and being connected ofvirtual image server 40 in the Flash assembly, layering loads in order in the Flash assembly, and the self-defined head portrait that the user uploads is the first floor, and virtual head portrait tabulation is sublevel, creating corresponding action button object is the 3rd layer, forms instant communication terminal interface as shown in Figure 5;
Step S606, the Action scripting object in the Flash assembly is caught user's operational order, recomputates each positions of elements in the virtual image tabulation, the virtual image of reloading tabulation; Drag the instruction that scroll bar sends according to the user and calculate position and the direction of virtual image in self-defined head portrait, calculate simultaneously current in self-defined head portrait the information such as position of virtual image, repaint out the integration picture of virtual image selected in the sublevel and self-defined head portrait;
Step S607, after detecting user's end operation, instant communication terminal extracts the individual-layer data in the Flash assembly, the virtual image of sublevel and the self-defined head portrait of the first floor are integrated, utilize the personal image picture of the supporting interface establishment bitmap format of Flash, and utilize transmission channel between Flash assembly and thepersonal image server 50, personal image picture after integrating uploaded in thepersonal image server 50 store and manage,personal image server 50 upgrades the timestamp information of respective user personal image, and flow process finishes.
Behind user success log-in instant communication server, instant communication terminal at first send obtain the personal image timestamp protocol command topersonal image server 50,personal image server 50 returns time corresponding stamp information to instant communication terminal.Instant communication terminal parses timestamp information, its timestamp information with local storage is compared, if two corresponding personal image pictures of timestamp information explanation inequality took place to change, then instant communication terminal set up withpersonal image server 50 between TCP be connected, download these users' personal image frompersonal image server 50, like this at instant communication terminal explicit user editor's new personal image in real time just.In like manner, user's good friend utilizes timestamp information that should the user is downloaded the up-to-date personal image of this user and shown.
In the above-mentioned flow process, user's login process is not an essential features, can adopt existing techniques in realizing, the service that makes the user can use instant communication server to provide.Limit the way and the opportunity of user not being logined in the present embodiment, as long as the service that can make the user use instant communication server to provide.
The personal image that instant communication terminal in the present embodiment generates is by 50 unified managements of personal image server, at client-side program and/or operate in the program in the browser and show that the management of personal image and displaying and previous embodiment are similar, so do not give unnecessary details.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.