CN105959203B - Head portrait setting method and device - Google Patents

Head portrait setting method and device Download PDF

Info

Publication number
CN105959203B
CN105959203B CN201610258581.8A CN201610258581A CN105959203B CN 105959203 B CN105959203 B CN 105959203B CN 201610258581 A CN201610258581 A CN 201610258581A CN 105959203 B CN105959203 B CN 105959203B
Authority
CN
China
Prior art keywords
user
head portrait
picture
pictures
group
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.)
Active
Application number
CN201610258581.8A
Other languages
Chinese (zh)
Other versions
CN105959203A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610258581.8A priority Critical patent/CN105959203B/en
Publication of CN105959203A publication Critical patent/CN105959203A/en
Application granted granted Critical
Publication of CN105959203B publication Critical patent/CN105959203B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Abstract

The disclosure proposes a kind of head portrait setting method, which comprises receives the pictures that the first user uploads;It is the first user setting head portrait based on the picture in the pictures;Periodically the head portrait is updated based on the picture in the pictures.The pictures that the disclosure may be implemented to upload based on the first user are the first user setting head portrait and to be periodically updated, so as to enhance the first user head portrait expressive force, promote user experience.

Description

Head portrait setting method and device
Technical field
This disclosure relates to field of terminal more particularly to head portrait setting method and device.
Background technique
Currently, most of social communication softwares usually all have group management function, and the member that group is added can be to some right Topics common carry out information interaction with share, to improve the sharing efficiency of information.In addition, group can also be by management and group Member is the customized setting group head portrait of group, however current group's head portrait is usually all to set a fixation by group administrator Head portrait, it is more dull and lack expressive force.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of head portrait setting method and device.
According to the first aspect of the embodiments of the present disclosure, a kind of head portrait setting method is provided, which comprises
Receive the pictures of the first user upload;
It is the first user setting head portrait based on the picture in the pictures;
Periodically the head portrait is updated based on the picture in the pictures.
Optionally, before the picture based in the pictures is the first user setting head portrait, the method Include:
Locally saving the pictures;
Corresponding access link is generated respectively for the picture in the pictures;
Access link creation link array based on generation.
Optionally, the picture in the pictures has demarcated preset order by first user;In the link array The sequence for accessing link is identical as the preset order.
Optionally, the picture based in the pictures is that the first user setting head portrait includes:
Sequence in the link array is read to link in the first access;
The sequence read is used in the first access link push to first user and with described first The client of the associated second user in family, will be with the access to trigger the client of first user and the second user Link the head portrait that corresponding picture is set as first user.
Optionally, the picture based in the pictures, which is periodically updated the head portrait, includes:
It is based on the preset head portrait update cycle, sequence in the link array is other other than the first access link Access link, successively push to the client of first user and the second user, with trigger first user with And the client of the second user is according to linking corresponding picture with the access received to the head of first user As being updated.
Optionally, the preset head portrait update cycle is set and is uploaded by first user.
Optionally, the head portrait includes group's head portrait;First user includes group administrator;The second user packet Include the group member that the group is added.
According to the second aspect of an embodiment of the present disclosure, a kind of head portrait setting device is provided, described device includes:
Receiving module is configured as receiving the pictures that the first user uploads;
Setup module is configured as based on the picture in the pictures being the first user setting head portrait;
Update module is configured as periodically being updated the head portrait based on the picture in the pictures.
Optionally, described device includes:
Preserving module is configured as locally saving the pictures;
Generation module is configured as generating corresponding access link respectively for the picture in the pictures;
Creation module is configured as the access link creation link array based on generation.
Optionally, the picture in the pictures has demarcated preset order by first user;In the link array The sequence for accessing link is identical as the preset order.
Optionally, the setup module includes:
Reading submodule is configured as reading sequence in the link array and links in the first access;
First push submodule is configured as the sequence that will be read in the first access link push to described the One user and client with the second user of first user-association, to trigger first user and described second The client of user will link the head portrait that corresponding picture is set as first user with the access.
Optionally, the pushing module includes:
Second push submodule is configured as that sequence in the link array existing based on the preset head portrait update cycle Other access link other than the first access link, successively pushes to the client of first user and the second user End, it is corresponding according to being linked with the access received with the client for triggering first user and the second user Picture is updated the head portrait of first user.
Optionally, the preset head portrait update cycle is set and is uploaded by first user.
Optionally, the head portrait includes group's head portrait;First user includes group administrator;The second user packet Include the group member that the group is added.
According to the third party of embodiment of the present disclosure name, a kind of head portrait setting device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the pictures of the first user upload;
It is the first user setting head portrait based on the picture in the pictures;
Periodically the head portrait is updated based on the picture in the pictures.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the above embodiments of the disclosure, the pictures uploaded by receiving the first user, and based in the pictures Picture is the first user setting head portrait and is periodically updated to the head portrait, be may be implemented based on the first user upload Pictures are the first user setting head portrait and to be periodically updated, so as to enhance the first user head portrait performance Power promotes user experience.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow diagram of head portrait setting method shown according to an exemplary embodiment;
Fig. 2 is the flow diagram of another head portrait setting method shown according to an exemplary embodiment;
Fig. 3 is a kind of schematic block diagram of head portrait setting device shown according to an exemplary embodiment;
Fig. 4 is the schematic block diagram of another head portrait setting device shown according to an exemplary embodiment;
Fig. 5 is the schematic block diagram of another head portrait setting device shown according to an exemplary embodiment;
Fig. 6 is the schematic block diagram of another head portrait setting device shown according to an exemplary embodiment;
Fig. 7 is an a kind of structural schematic diagram for head portrait setting device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses. The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
As shown in Figure 1, Fig. 1 is a kind of head portrait setting method shown according to an exemplary embodiment, it is applied to server-side In, comprising the following steps:
In a step 101, the pictures that the first user uploads are received;
It in a step 102, is the first user setting head portrait based on the picture in the pictures;
In step 103, periodically the head portrait is updated based on the picture in the pictures.
In the present embodiment, the first user can be completed in uploading pictures collection by the client of login.The client End can be instant communication client;For example, the instant communication client can be the instant communication clients such as Michat.Above-mentioned clothes Business end then can be user oriented instant communication client and provide server, server cluster or the base of head portrait setting service In the cloud platform of server cluster building;For example, above-mentioned server-side can when above-mentioned instant communication client is Michat client To provide the millet cloud platform of service towards Michat client.
Wherein, which can establish connection with server-side in advance, and in the use of instant communication client (for example the uploading control can be instant communication client to the uploading control that can be provided previously for uploading pictures in the interface of family The upload button of middle offer), the first user can be by triggering the uploading control for the selected figure needed as head portrait Piece collection is uploaded to server-side.It, can be based on the figure in the pictures after server-side receives the pictures of the first user upload Piece is the first user setting head portrait, and is periodically updated to the head portrait of setting.
In the present embodiment, above-mentioned head portrait may include group's head portrait.When above-mentioned head portrait is group's head portrait, above-mentioned first User can be group administrator.After selected pictures are uploaded to server-side by the first user, server-side can be based on should Picture in pictures is that group's head portrait is arranged in first user's group, after being provided with, the first user and with first It will show that server-side is the head portrait of group setting in the client of the second user of user-association.
Wherein, it should be pointed out that when above-mentioned head portrait is group's head portrait, and above-mentioned first user is group administrator, on It states and then can be one or more group of compositions that joined first user's group with the second user of the first user-association Member.
It is carried out so that above-mentioned head portrait is the group application scene of group's head portrait and combination instant communication client as an example below detailed Thin description.
In the present embodiment, instant communication client (hereinafter referred to as client) can be in group's head portrait set interface (ratio Such as group's profile interface) in, the uploading control for uploading pictures is provided, for example, the uploading control can be group's data circle The upload button provided in face can pass through a little when the first user as group administrator is that head portrait is arranged in current group Operation is hit to trigger the upload button, selected pictures are uploaded to server-side.
After the upload button is triggered, client can export a picture selection interface towards the first user, for example, The picture selection interface can be the photograph album interface of the first user;First user can select multiple in the picture selection interface Wish that the picture as group's head portrait forms pictures, is then uploaded to server-side for the pictures.
During first user selects picture in picture selection interface, client can obtain the first user on backstage The picture of selection, after the completion of the first user selection, the first user can be selected the picture completed to generate pictures by client, It is then based on the connection pre-established with server-side and the pictures is uploaded to server-side.
It wherein, can also be preset for the picture calibration of selection when the first user selects picture in picture selection interface Sequentially, the sequence of the first user calibration is the sequence that the selected picture of the first user is successively used as group's head portrait.
When realizing, when the first user is the picture calibration sequence of selection in picture selection interface, this sequentially be can be Selecting sequence of the user in picture selection interface.User can be by selecting in a certain order in picture selection interface Picture demarcates the sequence as group's head portrait for selected picture.User selects the mistake of picture in picture selection interface Cheng Zhong, client can be in the sequences of backstage record the first user selection picture, when the picture that client selects the first user It sequentially can be that picture in pictures demarcates sequence as group's head portrait based on this of record after generating pictures.
In addition, the pictures that the plurality of pictures selected for client based on the first user is generated, can also be used by first The corresponding head portrait update cycle is arranged in family.For example, can then scheme when the first user wishes that the head portrait of group updates weekly once At least 7 pictures are selected in piece selection interface, then are set as updating daily by the head portrait update cycle primary.
When realizing, client can provide one for the head portrait update cycle to be arranged in group's head portrait set interface User option, the first user can be selected come the corresponding head portrait of customized setting when head portrait is arranged for group by the user Update cycle;For example, user selection can be an input frame, the first user, can during head portrait is arranged for group With the input head portrait update cycle customized in the input frame.
In the present embodiment, when the figure that client generates the picture selected in picture selection interface based on the first user After piece collection is uploaded to server-side, server-side can be that group's head is arranged in the group where the first user based on the pictures received Picture.
The information that server-side receives at this time the pictures carry includes: multiple hope for select of the first user as group The picture of group head portrait, the first user are sequence and the first head portrait update cycle set by user for the picture calibration selected.
For the pictures received, server-side can be associated preservation in the group where local and the first user, After saving successfully, server-side can generate corresponding access link respectively for the picture in pictures, be then based on generation Access chain fetches one corresponding link array of creation.
Wherein, the sequence of the access link in the link array can be that the picture in the pictures is demarcated with the first user Sequence be consistent.
After server-side, which creates, completes above-mentioned link array, server-side can be based on the access chain in the link array at this time It is connected in first user's group setting group's head portrait.
In the present embodiment, server-side, in the initial state, can when group's head portrait is arranged for first user's group It is linked with reading to sort in above-mentioned link array in the first access, then to the client of the first user, and is added first The client of the second user of user's group mass-sends the PUSH message for carrying access link, which is linked Push to the client of the first user and the first user.Wherein, the PUSH message is for triggering the first user and the second use The client at family will link group's head portrait that corresponding picture is set as first user's group with the access.
After the client of the first user and the first user receive the PUSH message, it can read in the PUSH message Access link is then based on access link from server-side and downloads corresponding picture, then sets for the picture on backstage Group's head portrait of one user's group.After being provided with, what is be added in the client of the first user and second user should Group will show updated head portrait.
The initial head portrait of first user's group is provided at this time.
When the initial head portrait of first user's group is provided with, server-side can be based on the first group set by user The head portrait update cycle starts to carry out dynamic update to the initial head portrait of first user's group.
Wherein, server-side, can be based on default when the initial head portrait to first user's group carries out dynamic update The head portrait update cycle, the other access link that will be sorted in above-mentioned link array other than the first access link pass through hair The mode of PUSH message is sent, the client of the first user and second user is successively pushed to, wherein the sequence pushed and the chain It connects and accesses the sequence of link in array and still maintain consistent.
The client of first user and second user can read the push and disappear after receiving the PUSH message of server-side Access link in breath downloads corresponding picture from server-side based on access link, then on backstage based on the picture to the Group's head portrait of one user's group is successively updated.After the completion of update, the client of the first user and second user End can refresh the head portrait of the group, show updated head portrait.
For example, it is assumed that including 7 pictures, respectively 1~picture of picture 7 in above-mentioned pictures, which is used by first Preset order has been demarcated at family, and the first head portrait update cycle set by user was daily updates once.
Server-side can be the picture in the pictures after the pictures that the client for receiving the first user uploads Access link is generated, and creates corresponding link array.
In the setting head portrait stage, sequence in link array can be read and linked in the first access, is i.e. the access chain of picture 1 It connects, then pushes to the client of the first user and second user, to trigger the client of the first user and second user Picture 1 is arranged to the initial head portrait of first user's group.
When initial head portrait after setting completed, server-side can star preset timer and open timing, when timing reaches After 24 hours, server-side can be triggered and read sequence from link array in deputy access link, i.e. the access chain of picture 2 It connects, then executes same process, by the access link push to the first user and the client of second user, be based on the visit Ask that the head portrait of first user's group is updated to picture 2 by picture 1 by the corresponding picture of link.
After initial head portrait is updated to picture 2, timer can be carried out clear 0 by server-side, and re-start timing, work as meter After Shi Zaici reaches 24 hours, server-side can be triggered and read sequence from link array in the access link of third position, that is, schemed The access of piece 3 links, and then executes same process again, by the access link push to the first user and second user Client links corresponding picture based on the access and the head portrait of first user's group is updated to picture 3 by picture 2.
And so on, server-side can recycle execution above procedure, according to the first head portrait update cycle set by user, often Day updates once the head portrait of first user's group, and 1~picture of picture 7 is respectively set to first user's group Group's head portrait.
After the access link for linking 1~picture of picture 7 in array terminates the circulation of a wheel, server-side can start next Wheel circulation will link the access link of 1~picture of picture 7 in array again, and successively push to the first user and second user Client is updated the head portrait of first user's group.
As it can be seen that in this way, the pictures that can be uploaded based on group administrator be the first user setting head portrait simultaneously It is periodically updated, so as to enhance the expressive force of group's head portrait, promotes the experience of group user.
It is by group's head portrait of above-mentioned head portrait in above embodiments and in conjunction with the group application scene of instant communication client Example is described in detail.It should be pointed out that in practical applications, above-mentioned head portrait other than it can be group's head portrait, It can be the personal head portrait of the first user.
In this case, it then can be with the second user of the first user-association and establish social networks with the first user Member.For example, above-mentioned second user can be the first user's at this time when above-mentioned head portrait is the personal head portrait of the first user Member in buddy list establishes the member of friend relation with the first user.
In this application scenarios, the pictures that server-side still can be uploaded based on the client of the first user are the One user setting head portrait, the update for Mobile state of going forward side by side.For example, server-side still can be based on the access chain of picture in the pictures It connects, creation link array is then based on the sequence of the first user calibration and the head portrait update cycle of the first user setting, will Access link in link array successively pushes to the client of second user, completes to update the dynamic of first user's head portrait, Concrete implementation details repeats no more, and those skilled in the art can refer to the record of above embodiments.
In the embodiment above, the pictures uploaded by receiving the first user, and be based on the picture in the pictures First user setting head portrait and periodically the head portrait is updated, the pictures uploaded based on the first user may be implemented Be updated for the first user setting head portrait and periodically, so as to enhance the first user head portrait expressive force, promoted User experience.
As shown in Fig. 2, Fig. 2 is another head portrait setting method shown according to an exemplary embodiment, it is applied to service In end, it the described method comprises the following steps:
In step 201, the pictures that the first user uploads are received;
In step 202, the pictures are locally being saved;
In step 203, corresponding access link is generated respectively for the picture in the pictures;
In step 204, the access link creation link array based on generation;Wherein, the figure in the pictures Piece has demarcated preset order by first user;The sequence and the preset order phase of link are accessed in the link array Together;
In step 205, it reads sequence in the link array to link in the first access, the sequence that will be read In client of the first access link push to first user and with the second user of first user-association, with The client for triggering first user and the second user will link corresponding picture with the access and be set as described The head portrait of one user;
In step 206, it is based on the preset head portrait update cycle, by sequence in the link array in the first access chain Other access link other than connecing, pushes to the client of first user and the second user, successively to trigger The client for stating the first user and the second user links corresponding picture to described according to the access received The head portrait of first user is updated.
In the present embodiment, the first user can be completed in uploading pictures collection by the client of login.The client End can be instant communication client;For example, the instant communication client can be the instant communication clients such as Michat.Above-mentioned clothes Business end then can be user oriented instant communication client and provide server, server cluster or the base of head portrait setting service In the cloud platform of server cluster building;For example, above-mentioned server-side can when above-mentioned instant communication client is Michat client To provide the millet cloud platform of service towards Michat client.
Wherein, which can establish connection with server-side in advance, and in the use of instant communication client (for example the uploading control can be instant communication client to the uploading control that can be provided previously for uploading pictures in the interface of family The upload button of middle offer), the first user can be by triggering the uploading control for the selected figure needed as head portrait Piece collection is uploaded to server-side.It, can be based on the figure in the pictures after server-side receives the pictures of the first user upload Piece is the first user setting head portrait, and is periodically updated to the head portrait of setting.
In the present embodiment, above-mentioned head portrait may include group's head portrait.When above-mentioned head portrait is group's head portrait, above-mentioned first User can be group administrator.After selected pictures are uploaded to server-side by the first user, server-side can be based on should Picture in pictures is that group's head portrait is arranged in first user's group, after being provided with, the first user and with first It will show that server-side is the head portrait of group setting in the client of the second user of user-association.
Wherein, it should be pointed out that when above-mentioned head portrait is group's head portrait, and above-mentioned first user is group administrator, on It states and then can be one or more group of compositions that joined first user's group with the second user of the first user-association Member.
It is carried out so that above-mentioned head portrait is the group application scene of group's head portrait and combination instant communication client as an example below detailed Thin description.
In the present embodiment, instant communication client (hereinafter referred to as client) can be in group's head portrait set interface (ratio Such as group's profile interface) in, the uploading control for uploading pictures is provided, for example, the uploading control can be group's data circle The upload button provided in face can pass through a little when the first user as group administrator is that head portrait is arranged in current group Operation is hit to trigger the upload button, selected pictures are uploaded to server-side.
After the upload button is triggered, client can export a picture selection interface towards the first user, for example, The picture selection interface can be the photograph album interface of the first user;First user can select multiple in the picture selection interface Wish that the picture as group's head portrait forms pictures, is then uploaded to server-side for the pictures.
During first user selects picture in picture selection interface, client can obtain the first user on backstage The picture of selection, after the completion of the first user selection, the first user can be selected the picture completed to generate pictures by client, It is then based on the connection pre-established with server-side and the pictures is uploaded to server-side.
It wherein, can also be preset for the picture calibration of selection when the first user selects picture in picture selection interface Sequentially, the sequence of the first user calibration is the sequence that the selected picture of the first user is successively used as group's head portrait.
When realizing, when the first user is the picture calibration sequence of selection in picture selection interface, this sequentially be can be Selecting sequence of the user in picture selection interface.User can be by selecting in a certain order in picture selection interface Picture demarcates the sequence as group's head portrait for selected picture.User selects the mistake of picture in picture selection interface Cheng Zhong, client can be in the sequences of backstage record the first user selection picture, when the picture that client selects the first user It sequentially can be that picture in pictures demarcates sequence as group's head portrait based on this of record after generating pictures.
In addition, the pictures that the plurality of pictures selected for client based on the first user is generated, can also be used by first The corresponding head portrait update cycle is arranged in family.For example, can then scheme when the first user wishes that the head portrait of group updates weekly once At least 7 pictures are selected in piece selection interface, then are set as updating daily by the head portrait update cycle primary.
When realizing, client can provide one for the head portrait update cycle to be arranged in group's head portrait set interface User option, the first user can be selected come the corresponding head portrait of customized setting when head portrait is arranged for group by the user Update cycle;For example, user selection can be an input frame, the first user, can during head portrait is arranged for group With the input head portrait update cycle customized in the input frame.
In the present embodiment, when the figure that client generates the picture selected in picture selection interface based on the first user After piece collection is uploaded to server-side, server-side can be that group's head is arranged in the group where the first user based on the pictures received Picture.
The information that server-side receives at this time the pictures carry includes: multiple hope for select of the first user as group The picture of group head portrait, the first user are sequence and the first head portrait update cycle set by user for the picture calibration selected.
For the pictures received, server-side can be associated preservation in the group where local and the first user, After saving successfully, server-side can generate corresponding access link respectively for the picture in pictures, be then based on generation Access chain fetches one corresponding link array of creation.
Wherein, the sequence of the access link in the link array can be that the picture in the pictures is demarcated with the first user Sequence be consistent.
After server-side, which creates, completes above-mentioned link array, server-side can be based on the access chain in the link array at this time It is connected in first user's group setting group's head portrait.
In the present embodiment, server-side, in the initial state, can when group's head portrait is arranged for first user's group It is linked with reading to sort in above-mentioned link array in the first access, then to the client of the first user, and is added first The client of the second user of user's group mass-sends the PUSH message for carrying access link, which is linked Push to the client of the first user and the first user.Wherein, the PUSH message is for triggering the first user and the second use The client at family will link group's head portrait that corresponding picture is set as first user's group with the access.
After the client of the first user and the first user receive the PUSH message, it can read in the PUSH message Access link is then based on access link from server-side and downloads corresponding picture, then sets for the picture on backstage Group's head portrait of one user's group.After being provided with, what is be added in the client of the first user and second user should Group will show updated head portrait.
The initial head portrait of first user's group is provided at this time.
When the initial head portrait of first user's group is provided with, server-side can be based on the first group set by user The head portrait update cycle starts to carry out dynamic update to the initial head portrait of first user's group.
Wherein, server-side, can be based on default when the initial head portrait to first user's group carries out dynamic update The head portrait update cycle, the other access link that will be sorted in above-mentioned link array other than the first access link pass through hair The mode of PUSH message is sent, the client of the first user and second user is successively pushed to, wherein the sequence pushed and the chain It connects and accesses the sequence of link in array and still maintain consistent.
The client of first user and second user can read the push and disappear after receiving the PUSH message of server-side Access link in breath downloads corresponding picture from server-side based on access link, then on backstage based on the picture to the Group's head portrait of one user's group is successively updated.After the completion of update, the client of the first user and second user End can refresh the head portrait of the group, show updated head portrait.
For example, it is assumed that including 7 pictures, respectively 1~picture of picture 7 in above-mentioned pictures, which is used by first Preset order has been demarcated at family, and the first head portrait update cycle set by user was daily updates once.
Server-side can be the picture in the pictures after the pictures that the client for receiving the first user uploads Access link is generated, and creates corresponding link array.
In the setting head portrait stage, sequence in link array can be read and linked in the first access, is i.e. the access chain of picture 1 It connects, then pushes to the client of the first user and second user, to trigger the client of the first user and second user Picture 1 is arranged to the initial head portrait of first user's group.
When initial head portrait after setting completed, server-side can star preset timer and open timing, when timing reaches After 24 hours, server-side can be triggered and read sequence from link array in deputy access link, i.e. the access chain of picture 2 It connects, then executes same process, by the access link push to the first user and the client of second user, be based on the visit Ask that the head portrait of first user's group is updated to picture 2 by picture 1 by the corresponding picture of link.
After initial head portrait is updated to picture 2, timer can be carried out clear 0 by server-side, and re-start timing, work as meter After Shi Zaici reaches 24 hours, server-side can be triggered and read sequence from link array in the access link of third position, that is, schemed The access of piece 3 links, and then executes same process again, by the access link push to the first user and second user Client links corresponding picture based on the access and the head portrait of first user's group is updated to picture 3 by picture 2.
And so on, server-side can recycle execution above procedure, according to the first head portrait update cycle set by user, often Day updates once the head portrait of first user's group, and 1~picture of picture 7 is respectively set to first user's group Group's head portrait.
After the access link for linking 1~picture of picture 7 in array terminates the circulation of a wheel, server-side can start next Wheel circulation will link the access link of 1~picture of picture 7 in array again, and successively push to the first user and second user Client is updated the head portrait of first user's group.
As it can be seen that in this way, the pictures that can be uploaded based on group administrator be the first user setting head portrait simultaneously It is periodically updated, so as to enhance the expressive force of group's head portrait, promotes the experience of group user.
It is by group's head portrait of above-mentioned head portrait in above embodiments and in conjunction with the group application scene of instant communication client Example is described in detail.It should be pointed out that in practical applications, above-mentioned head portrait other than it can be group's head portrait, It can be the personal head portrait of the first user.
In this case, it then can be with the second user of the first user-association and establish social networks with the first user Member.For example, above-mentioned second user can be the first user's at this time when above-mentioned head portrait is the personal head portrait of the first user Member in buddy list establishes the member of friend relation with the first user.
In this application scenarios, the pictures that server-side still can be uploaded based on the client of the first user are the One user setting head portrait, the update for Mobile state of going forward side by side.For example, server-side still can be based on the access chain of picture in the pictures It connects, creation link array is then based on the sequence of the first user calibration and the head portrait update cycle of the first user setting, will Access link in link array successively pushes to the client of second user, completes to update the dynamic of first user's head portrait, Concrete implementation details repeats no more, and those skilled in the art can refer to the record of above embodiments.
In the embodiment above, the pictures uploaded by receiving the first user, and be based on the picture in the pictures First user setting head portrait and periodically the head portrait is updated, the pictures uploaded based on the first user may be implemented Be updated for the first user setting head portrait and periodically, so as to enhance the first user head portrait expressive force, promoted User experience.
Corresponding with aforementioned head portrait setting method embodiment, the disclosure additionally provides the embodiment of head portrait setting device.
Fig. 3 is a kind of schematic block diagram of head portrait setting device shown according to an exemplary embodiment.
As shown in figure 3, device 30 is arranged in a kind of head portrait shown according to an exemplary embodiment, comprising: receiving module 301, setup module 302 and update module 303;Wherein:
The receiving module 301 is configured as receiving the pictures that the first user uploads;
The setup module 302 is configured as based on the picture in the pictures being the first user setting head portrait;
The update module 303 is configured as periodically carrying out the head portrait based on the picture in the pictures It updates.
In the embodiment above, the pictures uploaded by receiving the first user, and be based on the picture in the pictures First user setting head portrait and periodically the head portrait is updated, the pictures uploaded based on the first user may be implemented Be updated for the first user setting head portrait and periodically, so as to enhance the first user head portrait expressive force, promoted User experience.
Fig. 4 is referred to, Fig. 4 is the disclosure another head portrait setting device block diagram shown according to an exemplary embodiment, For the embodiment on the basis of aforementioned embodiment illustrated in fig. 3, described device can also include preserving module 304, generation module 305 With creation module 306;Wherein:
The preserving module 304 is configured as locally saving the pictures;
The generation module 305 is configured as generating corresponding access link respectively for the picture in the pictures;
The creation module 306 is configured as the access link creation link array based on generation.
In the embodiment above, the picture in the pictures has demarcated preset order by first user;The chain Connect accessed in array link sequence it is identical as the preset order.
Fig. 5 is referred to, Fig. 5 is the disclosure another head portrait setting device block diagram shown according to an exemplary embodiment, For the embodiment on the basis of aforementioned embodiment illustrated in fig. 4, the setup module 302 may include reading submodule 302A and One push submodule 302B;Wherein:
The reading submodule 302A is configured as reading sequence in the link array and links in the first access;
The first push submodule 302B, is configured as the sequence that will be read in the first access link push To first user and the client with the second user of first user-association, with trigger first user and The client of the second user will link the head portrait that corresponding picture is set as first user with the access.
It should be noted that the push of reading submodule 302A shown in above-mentioned Installation practice shown in fig. 5 and first The structure of submodule 302B also may be embodied in the Installation practice of earlier figures 3, be not limited to this disclosure.
Fig. 6 is referred to, Fig. 6 is the disclosure another head portrait setting device block diagram shown according to an exemplary embodiment, For the embodiment on the basis of aforementioned embodiment illustrated in fig. 5, the setup module 302 can also include the second push submodule 302C;Wherein:
The second push submodule 302C, is configured as based on the preset head portrait update cycle, by the link array The middle other access link sorted other than the first access link successively pushes to first user and second use The client at family, with trigger the client of first user and the second user according to the access chain that receives Corresponding picture is connect to be updated the head portrait of first user.
It should be noted that the structure of the second push submodule 302C shown in above-mentioned Installation practice shown in fig. 5 Also it may be embodied in the Installation practice of earlier figures 3-4, this disclosure be not limited.
In the above various embodiments, the preset head portrait update cycle is set and is uploaded by first user.It is described Head portrait includes group's head portrait.First user includes group administrator.The second user includes that the group of the group is added Member.
The realization process of the function and effect of modules or unit is specifically detailed in the above method corresponding in above-mentioned apparatus The realization process of step, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The module or unit of explanation may or may not be physically separated, and the component shown as module or unit can be with It is or may not be physical module or unit, it can it is in one place, or may be distributed over multiple network moulds On block or unit.Some or all of the modules therein or unit can be selected to realize disclosure scheme according to the actual needs Purpose.Those of ordinary skill in the art can understand and implement without creative efforts.
Correspondingly, the disclosure also provides a kind of head portrait setting device, the head portrait setting device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the pictures of the first user upload;
It is the first user setting head portrait based on the picture in the pictures;
Periodically the head portrait is updated based on the picture in the pictures.
Correspondingly, the disclosure also provides a kind of server-side, the server-side includes memory and one or one Above program, one of them perhaps more than one program be stored in memory and be configured to by one or one with It includes the instruction for performing the following operation that upper processor, which executes the one or more programs:
Receive the pictures of the first user upload;
It is the first user setting head portrait based on the picture in the pictures;
Periodically the head portrait is updated based on the picture in the pictures.
As shown in fig. 7, Fig. 7 is a kind of device for intelligent control electric cooker shown according to an exemplary embodiment 700 structural schematic diagram.
For example, device 700 may be provided as a server.Referring to Fig. 7, device 700 includes processing component 722, into One step includes one or more processors, and the memory resource as representated by memory 732, can be by processing unit for storing The instruction of the execution of part 722, such as application program.The application program stored in memory 732 may include one or one with On each correspond to one group of instruction module.In addition, processing component 722 is configured as executing instruction, to execute above-mentioned control The method of smart home device processed.
Device 700 can also include the power management that a power supply module 726 is configured as executive device 700, and one has Line or radio network interface 750 are configured as device 700 being connected to network and input and output (I/O) interface 758.Dress Setting 700 can operate based on the operating system for being stored in memory 732, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (15)

1. a kind of head portrait setting method, which is characterized in that the described method includes:
Receive the pictures of the first user upload;
Corresponding access link is generated respectively for the picture in the pictures;
Access link creation link array based on generation;
It is the first user setting head portrait based on the picture in the pictures;
Periodically the head portrait is updated based on the picture in the pictures, comprising: updated based on preset head portrait Period links other access of the sequence other than the first access link in the link array, successively pushes to described the One user and client with the second user of first user-association, to trigger first user and described second The client of user is updated the head portrait of first user according to linking corresponding picture with the access received;
Wherein, the head portrait includes group's head portrait;First user includes group administrator;The second user includes being added The group member of the group.
2. the method as described in claim 1, which is characterized in that the picture based in the pictures is first use Family is arranged before head portrait, which comprises
Locally saving the pictures.
3. method according to claim 2, which is characterized in that the picture in the pictures is demarcated by first user Preset order;The sequence that link is accessed in the link array is identical as the preset order.
4. method as claimed in claim 3, which is characterized in that the picture based in the pictures is first use Head portrait is arranged in family
Sequence in the link array is read to link in the first access;
The sequence read is closed in the first access link push to first user and with first user The client of the second user of connection will be linked with triggering the client of first user and the second user with the access Corresponding picture is set as the head portrait of first user.
5. method as claimed in claim 4, which is characterized in that the picture based in the pictures is periodically to institute It states head portrait and is updated and include:
Based on the preset head portrait update cycle, by other access of the sequence other than the first access link in the link array Link, pushes to the client of first user and the second user, successively to trigger first user and institute State the client of second user according to linked with the access received corresponding picture to the head portrait of first user into Row updates.
6. method as claimed in claim 5, which is characterized in that the preset head portrait update cycle is set by first user Determine and uploads.
7. the method as described in claim 1~6 is any, which is characterized in that the head portrait includes group's head portrait;Described first uses Family includes group administrator;The second user includes the group member that the group is added.
8. device is arranged in a kind of head portrait, which is characterized in that described device includes:
Receiving module is configured as receiving the pictures that the first user uploads;
Generation module is configured as generating corresponding access link respectively for the picture in the pictures;
Creation module is configured as the access link creation link array based on generation;
Setup module is configured as based on the picture in the pictures being the first user setting head portrait;
Update module is configured as periodically being updated the head portrait based on the picture in the pictures;It is described more New module includes: the second push submodule, is configured as to sort in the link array based on the preset head portrait update cycle Other access link other than the first access link successively pushes to first user and closes with first user The client of the second user of connection, with trigger the client of first user and the second user according to receive The access links corresponding picture and is updated to the head portrait of first user;
Wherein, the head portrait includes group's head portrait;First user includes group administrator;The second user includes being added The group member of the group.
9. device as claimed in claim 8, which is characterized in that described device includes:
Preserving module is configured as locally saving the pictures.
10. device as claimed in claim 9, which is characterized in that the picture in the pictures is demarcated by first user Preset order;The sequence that link is accessed in the link array is identical as the preset order.
11. device as claimed in claim 10, which is characterized in that the setup module includes:
Reading submodule is configured as reading sequence in the link array and links in the first access;
First push submodule is configured as the sequence that will be read and uses in the first access link push to described first Family and client with the second user of first user-association, to trigger first user and the second user Client will link the head portrait that corresponding picture is set as first user with the access.
12. device as claimed in claim 11, which is characterized in that the update module includes:
Second push submodule is configured as based on the preset head portrait update cycle, by sequence in the link array in first place Access link other than other access link, successively push to the client of first user and the second user, Corresponding figure is linked according to the access received to trigger the client of first user and the second user Piece is updated the head portrait of first user.
13. device as claimed in claim 12, which is characterized in that the preset head portrait update cycle is by first user It sets and uploads.
14. the device as described in claim 8~13 is any, which is characterized in that the head portrait includes group's head portrait;Described first User includes group administrator;The second user includes the group member that the group is added.
15. device is arranged in a kind of head portrait characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the pictures of the first user upload;
Corresponding access link is generated respectively for the picture in the pictures;
Access link creation link array based on generation;
It is the first user setting head portrait based on the picture in the pictures;
Periodically the head portrait is updated based on the picture in the pictures, comprising: updated based on preset head portrait Period links other access of the sequence other than the first access link in the link array, successively pushes to described the One user and client with the second user of first user-association, to trigger first user and described second The client of user is updated the head portrait of first user according to linking corresponding picture with the access received;
Wherein, the head portrait includes group's head portrait;First user includes group administrator;The second user includes being added The group member of the group.
CN201610258581.8A 2016-04-22 2016-04-22 Head portrait setting method and device Active CN105959203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610258581.8A CN105959203B (en) 2016-04-22 2016-04-22 Head portrait setting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610258581.8A CN105959203B (en) 2016-04-22 2016-04-22 Head portrait setting method and device

Publications (2)

Publication Number Publication Date
CN105959203A CN105959203A (en) 2016-09-21
CN105959203B true CN105959203B (en) 2019-09-20

Family

ID=56916240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610258581.8A Active CN105959203B (en) 2016-04-22 2016-04-22 Head portrait setting method and device

Country Status (1)

Country Link
CN (1) CN105959203B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804628B (en) * 2018-05-31 2021-05-07 维沃移动通信有限公司 Picture display method and terminal
CN110634168B (en) * 2018-06-21 2023-09-12 钉钉控股(开曼)有限公司 Method and device for generating cluster head portraits
CN109388456B (en) * 2018-09-20 2021-12-07 维沃移动通信有限公司 Head portrait selection method and mobile terminal
CN109828816B (en) * 2019-01-23 2022-08-12 北京达佳互联信息技术有限公司 Information presentation method, information presentation apparatus, and computer-readable storage medium
CN111049735B (en) * 2019-12-23 2022-07-22 北京达佳互联信息技术有限公司 Group head portrait display method, device, equipment and storage medium
CN113347456B (en) * 2021-06-02 2023-04-07 网易(杭州)网络有限公司 Live broadcast information updating method and device and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100574527C (en) * 2006-12-03 2009-12-23 杭州义盛祥通信技术有限公司 The method of automatically updating cell-phone user interface
CN101820350A (en) * 2009-02-27 2010-09-01 北京搜狗科技发展有限公司 Method, device and system for automatically replacing skin
US20130024781A1 (en) * 2011-07-22 2013-01-24 Sony Corporation Multi-Modal and Updating Interface for Messaging
CN102970364A (en) * 2012-11-21 2013-03-13 北京奇虎科技有限公司 Method for automatically changing subject and client
CN104850553B (en) * 2014-02-14 2019-08-09 腾讯科技(深圳)有限公司 Replace the method, apparatus and system of background picture
CN104158895B (en) * 2014-08-22 2019-10-08 努比亚技术有限公司 The management method and remote server of a kind of mobile terminal and its contact head image

Also Published As

Publication number Publication date
CN105959203A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN105959203B (en) Head portrait setting method and device
US10762105B2 (en) Extensible application state preservation architecture
KR101939928B1 (en) Method, apparatus and system for migrating application data between terminals
TWI641955B (en) Method, system, and computer-readable storage medium for user experience
CN102655505B (en) A kind of open communication platform and its implementation
CN101399729B (en) Management system and method for file download and upload
US20030182408A1 (en) Load test system for a server and method of use
CN110992256B (en) Image processing method, device, equipment and storage medium
US20190018657A1 (en) Techniques to configure a web-based application for bot configuration
WO2014106385A1 (en) Method and system for integrating information about each contact person and mobile terminal
CN109547490B (en) Monitoring method, device and storage medium
CN106533713A (en) Application deployment method and device
CN107409270A (en) Method and apparatus for establishing the connection between equipment
CN108781473A (en) A kind of method and apparatus of the shared file between different terminals
CN107454256A (en) A kind of information sharing method and device, computer installation, readable storage medium storing program for executing
CN110247951A (en) A kind of file transfer control method, device, equipment and storage medium
JP2017534205A (en) Electronic device configuration for wireless communication
CN105099874B (en) Group's method for building up and device
CN110351352B (en) Micro-computing cluster forming method based on incentive mechanism in edge computing or fog computing environment
US10432714B2 (en) Data processing method and system based on asymmetric P2P network
JP2017535009A (en) Data search method, apparatus and terminal
CN105763545B (en) A kind of BYOD method and device
CN111385152B (en) Hardware management and content distribution system based on VR equipment
CN110018875B (en) Desktop synchronization implementation method based on IDV
US20140351733A1 (en) Systems and methods for programming embedded devices using graphical user interface

Legal Events

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