Summary of the invention
The invention provides a kind of system of change of individual image, method, instant communication server and the instant communication client of change of individual image, exist and to finish the problem that image is upgraded automatically by instantaneous communication system in order to solve prior art.
Instant communication server of the present invention comprises: account number image database is used for user's account number storing and corresponding with it current individual image;
Image change rule database is used to receive and store the change rule that the user is provided with;
The image changing unit is used for according to described image change rule database canned data user's individual image in the described account number image of the corresponding change database.
Described vivid changing unit also has the function that generates individual image to be changed according to described change rule.
Described server also comprises: image change screen unit is used for shielding described vivid changing unit after receiving triggering signal.
Instant communication client of the present invention comprises:
Image change rule is provided with the unit, is used to be provided with image change rule, and sends to the storage of server example.
Described image change rule is provided with element memory and contains rule template, uses so that the image that is provided with is changed regular serviced device side identification.
Described client also comprises: select trigger element, be used for sending triggering signal according to user's selection to server side.
Change of individual image of the present invention system comprises:
Instant communication server is used for user's account number storing and corresponding with it current individual image;
Instant communication client;
Image change rule database is used to receive and store the change rule that the user is provided with;
The image changing unit is used for according to described image change rule database canned data, user's individual image in the described instant communication server of corresponding change;
Image change rule is provided with the unit, is used to be provided with image change rule, and sends to described image change rule database.
Described system also comprises: select trigger element, be used for sending triggering signal according to user's selection; Image change screen unit is used for shielding described vivid changing unit after receiving the triggering signal that described selection trigger element is sent.
Described image change rule database, vivid changing unit and image change screen unit are arranged in the described instant communication server, and be perhaps separate with described instant communication server.The described image regular setting unit of change and selection trigger element are arranged in the described instant communication client.
The method of change individual image of the present invention comprises step:
With the user in the change rule of the client-side setting side of uploading onto the server; When satisfying described change rule, according to regular corresponding this user's of change of described change individual image.
Described change rule comprises: change condition and corresponding with it change strategy.
Described change condition comprises at least: the IP address information when change time or user login.The described change time is the system time of server side.
Described change strategy comprises: physical location corresponding to IP address information when whether adding change time or user logining in described image information.Priority between IP address information when described change time and user login.
The described change time comprises at least a in the following manner: the certain hour cycle; Special time period in one day; Specific date in one week; The date section; Scheduled date.There is priority between the described mode.
Beneficial effect of the present invention is as follows:
The enforcement of the system and method by change of individual image provided by the invention, the change of individual image template that the user can provide in advance according to instantaneous communication system, diversified individual image is set, and corresponding with it change condition, and the content that is provided with is sent to server side; When the change condition arrives, according to the automatic generation individual image of being provided with of user, and finish renewal by instantaneous communication system.Avoid the user that the trouble of the individual image of oneself frequently manually is set, made user's individual image have more hommization, increased user's instant messaging enjoyment.
The present invention also provides instant communication server and instant communication client, in order to support system and method for the present invention.
Embodiment
In order to realize that automatically finishing image by instantaneous communication system upgrades, the invention provides a kind of instant communication server, referring to shown in Figure 3, comprising: the account number image database that links to each other successively, vivid changing unit and image change rule database; Further comprise: the image change screen unit that links to each other with described vivid changing unit.
Described account number image database, being used for the user account number is index, user's account number storing and corresponding with it information such as current individual image.
Described image change rule database is used to receive and store the change rule that the user is provided with.
Described vivid changing unit is used for according to described image change rule database canned data user's individual image in the described account number image of the corresponding change database.IP address in the time of further can logining according to described change rule corresponding interpolation change time and/or user in the picture of individual image.
Described image change screen unit is used for shielding described vivid changing unit after receiving triggering signal, namely closes the function of automatic change individual image.
Corresponding described instant communication server the invention provides a kind of instant communication client, referring to shown in Figure 4, comprising: the regular setting unit of image change, and select trigger element.
Described image change rule is provided with the unit, is used for storage change template, and provides it to the user, makes the user that image change rule can be set in view of the above, and sends in the image change rule database of described server and store.
Described selection trigger element is used for changing screen unit according to user's selection to the image of described server and sends triggering signal.
Referring to shown in Figure 5, the present invention also provides a kind of change of individual image system, comprising: the instant communication server that annular links to each other, vivid changing unit, image change rule database, the image regular setting unit of change and instant communication client; Further comprise: the described instant communication client that links to each other successively, selection trigger element, image change screen unit and described vivid changing unit.
Described instant communication server is used for user's account number storing and corresponding with it current individual image.
Described image change rule database is used to receive and store the change rule that the user is provided with.
Described vivid changing unit is used for according to described image change rule database canned data, user's individual image in the described instant communication server of corresponding change.
Described image change rule is provided with the unit, is used to be provided with image change rule, and sends to described image change rule database.
Described instant communication client is used to finish the function of existing customer's end.
Described selection trigger element is used for sending triggering signal according to user's selection.
Described image change screen unit is used for shielding described vivid changing unit after receiving the triggering signal that described selection trigger element is sent.
Wherein said image change rule database, vivid changing unit and image change screen unit are arranged on (being instant communication server provided by the invention) in the described instant communication server, and be perhaps separate with described instant communication server.
The described image regular setting unit of change and selection trigger element are arranged on (being instant communication client provided by the invention) in the described instant communication client.
Use said apparatus and system, the invention provides a kind of method of changing individual image,, comprise the following steps: referring to shown in Figure 6
S1, user are provided with image change rule.
S2, described image change rule is sent to the server side storage.
S3, monitor according to described image change rule, and generate image to be changed.
S4, when satisfying described change rule, the described user's of corresponding change individual image.
S5, the individual image that upgrades is issued to the relative clients end.
S6, client show described user's individual image.
Below specifically describe the inventive method by three examples.
Example one: with the change time as the change condition, and directly finish individual image with the image of correspondence and upgrade.
S101, user are provided with image change rule.
This routine described change rule comprises: change time and corresponding with it change strategy.
At first, instant communication users arranges described change time and corresponding image at client-side.
The user activates the image that arranges in the client by instant communication client and changes regular setting unit, the regular template of this unit storage inside, and the user can make corresponding selection according to described rule template according to the wish of oneself.
Described rule template provides but is not limited to following option:
1) the change time can be according to selecting in turn or at random by some cycles.
As the user 10 individual images can be set, select then according to changing an image every day; The mode of changing can be the mode in the cycle of taking turns, and also can be the mode of randomly drawing from 10 images.
2) the change time can be the special time period according to a day.
0:00~8:00 arranges individual image for " rest of being in " such as morning.
3) the change time can be the specific week according to a week.
As being set to " rabbit " Monday, be set to " kitten " Tuesday, be set to " doggie " Wednesday.
4) the change time can be according to the date section.
As will arrange January 1 to March 31 image be " dress in spring ", be " dressing in summer " etc. with image is set April 1 to June 30.
5) the change time can be according to the scheduled date.
As will be provided with April 1 image be " April Fool's Day is happy ", be set to October 1 by " national flag " etc.
Change time after the user arranges and corresponding image are referring to table one:
| The change time |
Individual image |
| Week 1 |
Rabbit |
| Week 2 |
Kitten |
| Week 3 |
Doggie |
| October 1 |
National flag |
Table one
Afterwards, instant communication users is provided with described change strategy at client-side.
Because the user may arrange many overlapped change times, so the invention provides priority mechanism.When " conflict " takes place, navigate to a certain change time according to user's priority preset or according to system default priority.
Referring to table one, if October 1 was week 2, according to the date rule, image should be " national flag ", and according to the week rule, should be " kitten ".System can according to the preferential principle of user's date that arrange or system default rule, arrange user image October 1 and be " national flag ".
The user also can be provided with whether add corresponding change temporal information in image to be changed.This example is not added described change temporal information.
So far finish the setting of described change rule.
S102, described image change rule is sent to the server side storage.
The change rule that the user will set by instant communication client sends to described image change rule database, and has described image change rule database to store.
S103, monitor according to described image change rule, and generate image to be changed.
Described image change rule database is notified described image change unit after receiving the change rule that client-side sends at every turn.After described vivid changing unit is notified, from described image change rule database, obtain described change rule.
Afterwards, described image change unit is regularly changed the system time contrast of unit respectively with this image with each the bar change time in the described change rule, to realize the monitoring to the change time.
This example does not comprise generating waits to change vivid flow process.
S104, when satisfying described change rule, the described user's of corresponding change individual image.
When described vivid changing unit detects a certain change time when arriving (for example: arrive Monday), account number image database in the notice instant communication server upgrades individual image corresponding to the used account number of user described in the described account number image database with individual image corresponding to this change time (rabbit).
If described vivid changing unit detects more than change time when arriving (for example: be October 1 Tuesday) simultaneously, the priority of then setting according to the user, from described many change times that detect, choose the highest change time of priority, and upgrade individual image corresponding to the used account number of user described in the described account number image database with individual image corresponding to this change time (national flag).
S105, the individual image that upgrades is issued to the relative clients end.
Instant communication server is issued to new image each instant communication client that has correspondence with this user after finishing this user's individual image renewal.
S106, client show described user's individual image.
When described each instant communication client is logined, can see described user's new image.
Example two: the IP address information when logining with the user is as the change condition, and image corresponding to generation, finishes individual image and upgrades.
S201, user are provided with image change rule.
This routine described change rule comprises: IP address information the when user logins and corresponding with it change strategy.
At first, instant communication users is provided with the IP address information at client-side, and corresponding with it image.
According to the existing network framework, the distribution of IP address and the user residing area of surfing the Net is relevant, so can reflect the place that the user surfs the Net by IP address or address field.For example: IP address 101.123.11.22 representative of consumer permanent residence, IP address 102.123.11.22 represents Hangzhou.
The user activates the image change rule that is provided with in the client by instant communication client the unit is set, the regular template of this unit storage inside, the user can be provided with the IP address and reach corresponding image information with it according to permanent residence place (Shenzhen) of oneself and the place (Hangzhou) of often going on business in described rule template.Referring to shown in the table two.
| IP address/address field |
Individual image |
| 101.123.11.22 |
Company's working |
| 121.12.22.
* |
Hangzhou West Lake |
Table two
Afterwards, instant communication users is provided with described change strategy at client-side.
The user can be provided with the text description information of whether adding corresponding place in image the to be changed text description of place (but be not limited to).This routine user selects to add literal.
S202, described image change rule is sent to the server side storage.(S102 is identical with step)
S203, monitor according to described image change rule, and generate image to be changed.
Described image change rule database is notified described image change unit after receiving the change rule that client-side sends at every turn.After described vivid changing unit was notified, reed was got described change rule from described image change rule database.
Afterwards, described vivid changing unit generates individual image to be updated in advance with described change rule.For example: corresponding 121.12.22.
*, in the image of the West Lake, Hangzhou, add " I am in Hangzhou ".
When the user logins, the IP address information in the time of can knowing that according to the prior art instant communication server this user logins, described instant communication server notifies described image change this user of unit to reach the standard grade, and informs the IP address when this user logins.IP address contrast when described vivid changing unit is logined with described user one by one according to each the bar IP address information in the described change rule.
S204, when satisfying described change rule, the described user's of corresponding change individual image.
If identical situation (namely satisfying the change rule) occurs, then the individual image (containing Word message) with correspondence upgrades individual image corresponding to the used account number of user described in the described account number image database.
S205, the individual image that upgrades is issued to the relative clients end.(identical) with S105
S206, client show described user's individual image.(identical) with S106
Example three: the combination of the IP address information when logining with change time and user is as the change condition, and image corresponding to generation, finishes individual image and upgrades.
S301, user are provided with image change rule.
At first, referring to example one and example two, finish the setting of change time and IP address, and the selected with it image information of correspondence.
Afterwards, instant communication users is provided with described change strategy at client-side.
Because the user may arrange many overlapped change times, so the invention provides priority mechanism.When " conflict " takes place, navigate to a certain change time according to user's priority preset or system default priority.
And the time possibility of the change time of user's setting and user's logging on client is overlapped, so also have priority between time and IP address.
Referring to table one, October 1 was " national flag ", and be " rabbit " Monday.
Referring to table two, corresponding IP address: 121.12.22.
*Be " West Lake, Hangzhou ".
If October 1 was Monday, and the user surfs the Net in Hangzhou, then can navigate to one of them according to the priority between time and the IP address earlier; If need, the priority according to change time inside navigates to a certain image again.
The user also can be provided with the text description information of whether adding change time or corresponding place in image to be changed.This routine user selects to add literal.
So far finish the setting of described change rule.
S302, described image change rule is sent to the server side storage.(identical) with S101
S303, monitor according to described image change rule, and generate image to be changed.
Described image change rule database is notified described image change unit after receiving the change rule that client-side sends at every turn.After described vivid changing unit is notified, from described image change rule database, obtain described change rule.
Afterwards, described image change unit generates relevant individual image with described change rule, in order to using.
Described image change unit is regularly changed the system time contrast of unit respectively with this image with each the bar change time in the described change rule, to realize the monitoring to the change time.
When the user logins, the IP address information in the time of can knowing that according to the prior art instant communication server this user logins, described instant communication server notifies described image change this user of unit to reach the standard grade, and informs the IP address when this user logins.IP address contrast when described vivid changing unit is logined with described user one by one according to each the bar IP address information in the described change rule.
S304, when satisfying described change rule, the described user's of corresponding change individual image.
When described vivid changing unit detects a certain change time when arriving, account number image database in the notice instant communication server upgrades individual image corresponding to the used account number of user described in the described account number image database with individual image corresponding to this change time.
The IP address situation identical with one of described each bar IP address when if the user occurring and logining, then the individual image with correspondence upgrades individual image corresponding to the used account number of user described in the described account number image database.
If conflicting situation occurs, then according to the priority processing that arranges.
S305, the individual image that upgrades is issued to the relative clients end.(identical) with S105
S306, client show described user's individual image.(identical) with S106
Among the present invention, if if the user no longer needs automatically to change individual image, then can utilize the selection trigger element in the client to generate triggering signal, send to described image change screen unit; After described image change screen unit is received this triggering signal, shield described vivid changing unit.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.