CN104065913B - A kind of instant communication client - Google Patents
A kind of instant communication client Download PDFInfo
- Publication number
- CN104065913B CN104065913B CN201410304523.5A CN201410304523A CN104065913B CN 104065913 B CN104065913 B CN 104065913B CN 201410304523 A CN201410304523 A CN 201410304523A CN 104065913 B CN104065913 B CN 104065913B
- Authority
- CN
- China
- Prior art keywords
- head portrait
- video pictures
- user
- chat
- client
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present invention provides a kind of instant communication client, and the client initiates chat sessions to service end;The head portrait video pictures of first rate are obtained by preset camera when chat sessions are opened;The head portrait video pictures are transferred to the peer user associated with the chat sessions;The head portrait video pictures of the peer user transmission are received, and the session head portrait of the image in the head portrait video pictures of the peer user as the peer user is dynamically presented in the chat interface of described end subscriber.Pass through the present invention, so that user can also feed back the user profile such as the expression posture of peer user in real time when carrying out text chat using instant messenger, it is achieved thereby that while the intuitive of information transmission is taken into account, enhancing the interactive of user, improving Consumer's Experience.
Description
Technical field
The present invention relates to instant messaging field, more particularly to a kind of instant communication client.
Background technology
After Internet technology enters general public life, instant messaging brings various work and life to the common people
Facility living.From the ICQ and OICQ (widely used QQ today) of early stage wechat more of new generation and dealing etc. by now,
Instant messaging is constantly towards the direction evolution for more facilitating user.
At present, in the application of various instant messagings, the chat mode between user mainly includes following three kinds, i.e. word
Chat, voice-enabled chat and Video chat, the applicable scene of wherein text chat is most extensive, but the interactive comparison of text chat
Difference, not as voice and video chat, and information transmission not enough enrich, such as can not accurately show expression or body language these
Abundant information.But text chat also has the advantage of itself, such as text chat saves flow, can be in the network of low bandwidth
Use;And text chat is more directly perceived than voice and video chat in the transmission of information, when user's local environment is more noisy then very
When easily causing user and audio/video accurately can not be passed into other side, or user is taking public transport, in order to
When avoiding bothering other people, user may or can select to use text chat.
The content of the invention
In view of this, the present invention provides a kind of instant communication client, applied in portable user terminal, with service end
Use cooperatively, the client includes:
Session setup unit, for initiating chat sessions to the service end;
Picture capturing unit, the head portrait video for obtaining first rate by preset camera when chat sessions are opened
Picture;
Use picture uploading unit, the opposite end associated for the head portrait video pictures to be transferred to the chat sessions
Family;
Head portrait display unit, the head portrait video pictures for receiving peer user transmission, and by the peer user
Head portrait video pictures in image as the session head portrait of the peer user in the chat interface of described end subscriber move
State is presented.
Preferably, the picture capturing unit obtains the process of the head portrait video pictures of first rate by preset camera
Including:
Control the preset camera according to first rate collection head as video pictures.
Preferably, the picture capturing unit obtains the process of the head portrait video pictures of first rate by preset camera
Including:
Control the preset camera according to the second speed collection head as video pictures;
Processing is sampled to the head portrait video pictures according to prefixed time interval, regarded with the head portrait for obtaining first rate
Frequency picture;Wherein, the first rate is less than second speed.
Preferably, the first rate is not less than 5 frames/second, no more than 10 frames/second.
Preferably, the picture capturing unit is further used for:
Before the head portrait video pictures that first rate is obtained by camera, hardware detection is carried out to the user terminal, and
When being not detected by the preset camera or described end subscriber does not access the access rights of the preset camera, point out
Described end subscriber and the peer user associated with the chat sessions.
Preferably, the preset camera is front camera.
Preferably, the picture uploading unit is further used for:
Before the head portrait video pictures are transferred into peer user, according to default resolution ratio to the head portrait video pictures
Resolution ratio carry out accommodation, and by after adjustment the head portrait video pictures carry out lossy compression method.
Preferably, the head portrait display unit is further used for:
The resolution ratio of the head portrait video pictures got according to default resolution ratio to local terminal carries out accommodation, and will adjust
The image in the head portrait video pictures after whole is dynamically presented as the session head portrait of described end subscriber in chat interface.
Preferably, the head portrait display unit is further used for:
The picture file for the peer user upload that the server is sent is received, and regard the picture file as institute
The data head portrait of peer user is stated, is presented in contacts list.
Preferably, the client also includes:
Storage unit is recorded, for the chat content of the local terminal or peer user, and synchronization to be chatted described
The session head portrait association of the local terminal or peer user that are presented in its interface is saved in local chat record.
Compared to prior art, the video of the invention by gathering this end subscriber by camera when chat sessions are opened
Picture, and the video pictures are transferred to peer user, and as described end subscriber session head portrait in peer user
Dynamically presented in chat interface so that can also feed back peer user in real time when carrying out text chat using instant messenger
Expression or the user profile such as body language, enhance the interactive of user, improve Consumer's Experience.
Brief description of the drawings
Fig. 1 is the method flow that a kind of client shown in an exemplary embodiment of the invention cooperates with service end
Figure;
Fig. 2 is the scene signal of presentation user's picture in user's chat interface shown in an exemplary embodiment of the invention
Figure;
Fig. 3 is that an exemplary embodiment of the invention shows that a kind of scene of presentation user's picture in user's chat interface is shown
It is intended to;
Fig. 4 is that an exemplary embodiment of the invention shows a kind of logical construction of instant communication client;
Fig. 5 is the portable user terminal of the carrying instant communication client shown in an exemplary embodiment of the invention
The hardware structure diagram of equipment.
Embodiment
The problem of for being proposed in background technology, current best solution is by text chat and Video chat progress
Organically combine, but all scenes are not particularly suited in the mode for being organically combined text chat and Video chat.
For example, smart mobile phone application at present is more and more universal, when user is soft by the instant messaging installed on smart mobile phone
When part is chatted with other side, due to the limitation of bandwidth and screen size, text chat and Video chat can not generally enter simultaneously
OK, therefore user can be caused when being chatted using instant communication software, the intuitive of information transmission and chat it is interactive
The two situation that can not be taken into account.
In view of this, the embodiment of the present invention provides a kind of new instant communication client, and client is opened in chat sessions
When the video pictures of this end subscriber are gathered by preset camera, and the video pictures are transferred to peer user, and conduct
The session head portrait of described end subscriber is dynamically presented in the chat interface of peer user so that entered using instant messenger
Also the user profile such as the expression or body language of peer user can be fed back during row text chat in real time, the mutual of user is enhanced
Dynamic property, improves Consumer's Experience.
Fig. 1 is referred to, there is provided a kind of new instant communication client in an exemplary embodiment of the invention,
Applied in portable user terminal;Wherein, the client executing following steps:
S101, to the service end initiate chat sessions;
In the present embodiment, the chat sessions are generally associated with the both sides of chat, i.e. this end subscriber and peer user.Institute
State this end subscriber and refer to the requesting party that chat sessions are initiated;And the peer user, refer to the answer party of chat sessions;If
Under the scene of group chat, the peer user is then to be multiple.When user end to server initiates chat sessions, server is usual
It is that chat sessions are set up for described according to the control message interaction between the client between end subscriber and peer user
's.Wherein server be described end subscriber and peer user create chat sessions implement process and prior art phase
Together, no longer it is described in detail in the present embodiment;After the completion of chat sessions foundation, now described end subscriber and the opposite end
User can carry out normal instant messaging.
S102, the head portrait video pictures when chat sessions are opened by preset camera acquisition first rate;
In the present embodiment, when client detects the initiation of this end subscriber or one chat sessions of response, then open
Corresponding chat sessions, while obtaining the head portrait video pictures of first rate by the preset camera;Wherein, it is described preset
Camera is preferably front camera;The first rate can be less than the general acquisition rate of camera;The head portrait video
Picture, can be video pictures or image sequence when implementing.
On the one hand, when client obtains the head portrait video pictures of first rate by preset camera, can directly it control
The preset camera gathers the video pictures of user according to first rate, to be used as the head portrait video pictures;
On the other hand, when the first acquisition rate is less than the acquiescence acquisition rate of camera, it can also control described preset
Camera gathers the video pictures of user according to the acquiescence acquisition rate (i.e. the second speed) of camera, then according to preset time
It is spaced after being sampled to the video pictures collected, obtains the head portrait video pictures of the first rate.
S103, the head portrait video pictures are transferred to the peer user associated with the chat sessions;
In the present embodiment, the head portrait video pictures can be transmitted according to the form of video pictures, can also be by
Form according to image sequence carries out single frame transmission;Client the head portrait video pictures of the first rate are transferred to it is described right
Before end subscriber, adaptability tune can be carried out to the resolution ratio of the head portrait video pictures of the first rate according to default resolution ratio
It is whole, and the head portrait video pictures after adjustment are subjected to lossy compression method, with needed for saving and uploading the head portrait video pictures
Bandwidth.
Specifically, client the head portrait video pictures are transferred to the peer user that is associated with the chat sessions can be with
It is that transfer is carried out by server;When the head portrait video pictures of the first rate are being sent to the peer user by server
When, in order that client is unlikely to obscure the video file that the head portrait video pictures and user transmit in chat process,
The head portrait video pictures and the video file can be sent respectively to by the peer user by different ports, so that
When peer user receives the video pictures from server, the head portrait video can be accurately distinguished out according to different ports
Picture.
Certainly, client the head portrait video pictures are transferred to the peer user associated with the chat sessions can also
It is to be transferred directly to the peer user;Client when the head portrait video pictures are transferred directly into the peer user,
The head portrait video pictures can be individually defined as a kind of new type of message, so that peer user is described by identification
Type of message can just accurately distinguish out the head portrait video pictures.
What deserves to be explained is, when for group chat scene, the peer user now associated with the chat sessions to be multiple, because
This described end subscriber can be according to the ID of the multiple users associated with the chat sessions, by the head portrait video pictures
The peer user is transferred to respectively.
In addition, when the head portrait video pictures are transmitted between client, can be to the head portrait video pictures using default
Transmission is encrypted in AES, to increase the security of privacy of user;Biography wherein is encrypted to the head portrait video pictures
Defeated specific implementation process may be referred to prior art, is no longer described in detail in embodiment.
S104, client receive the head portrait video pictures of peer user transmission, and by the head portrait of the peer user
Image in video pictures is dynamically presented as the session head portrait of the peer user in the chat interface of described end subscriber.
In the present embodiment, the image in the head portrait video pictures that client can also obtain local terminal, according to default point
Resolution is carried out after accommodation to the resolution ratio of the head portrait video pictures, as the session head portrait of described end subscriber described
Dynamically presented in the chat interface of this end subscriber.
What deserves to be explained is, the session head portrait refers to the user's head portrait presented in chat interface.And in this reality
Apply in example, still modification function of the compatible subscribers to data head portrait;Wherein described data head portrait, typically refers to instant messaging client
User's head portrait in user's head portrait or individual subscriber data in end in contacts list.
Specifically, when described end subscriber needs to change the data head portrait of itself, conduct can be needed locally selecting
The picture file of data head portrait is simultaneously uploaded to server, and the picture file then is pushed into the opposite end by server uses
Family, and the final data head portrait that described end subscriber is completed in the contacts list or personal information of the peer user
Update.Implement same as the prior art, be no longer described in detail in the present embodiment herein.
In the present embodiment, can also be by the chat content of the local terminal or peer user, and synchronization is described
The local terminal or the session head portrait of peer user presented in chat interface, associates be saved in local chat record together
In, to facilitate user when checking chat record, it can synchronously view the user's that is presented in synchronization chat interface
Session head portrait, enables a user to learn the abundant personal information such as peer user expression at that time and body language.
Below so that the instant communication client is run on smart mobile phone as an example, the present invention will be described in detail;
What deserves to be explained is, the instant communication client is run on into smart mobile phone, description is merely illustrative, and without
In limiting the present invention, when implementing, the equipment for running the instant communication client can also be such as computer, flat board
The hardware resources such as computer are enough the equipment for running the instant communication client, are particularly limited in the present invention not to this.
First, after user installs the client on smart mobile phone, it can be registered to the service end, when
Can successfully it be reached the standard grade after succeeding in registration.In process of user login, client obtains the authentication information (ratio of user's input
Such as user name and password) service end is sent to, service end is verified to the authentication information, if allowing if on user
Line.May there is no addition is not any to contact user when user logs in first, in its contacts list, user can be by chatting
Searched on its interface, or oneself user name or user account are informed to the other users using the client, with
Complete the addition of contact person.
When this end subscriber needs to be chatted with the other users in contacts list, send and chat to the server
The initiation request of session;When server receives the request, it can be closed according to being carried in the request with the chat sessions
The local terminal of connection and the user profile of peer user, are that the local terminal and peer user create chat sessions;For example, specific
Can be that local terminal and opposite end are used by the local terminal and the IP address and port numbers of peer user carried in the request when realizing
Family creates the TCP connections for instant messaging;After the completion of chat sessions establishment, now local terminal and peer user may be used
To carry out normal instant chat communication.
In the present embodiment, when the other users in this end subscriber and contacts list are chatted, client can be with
By detecting the operation behavior of user, come determine whether to gather by preset camera the video pictures of this end subscriber using as
The head portrait video pictures;
For example, in one exemplary embodiment, when this end subscriber initiates a chat sessions, described end subscriber can be with
Open chat interface by clicking on user's head portrait in contacts list, when client detected on backstage this end subscriber this
During clicking operation, then the video pictures of described end subscriber are gathered automatically by front camera;Same reason, the opposite end
The prompt message that user can also be exported by clicking in chat interface come local terminal Client-initiated chat sessions described in response, when
When client detects this clicking operation of the peer user on backstage, then the opposite end is gathered automatically by front camera
The video pictures of user.
Certainly, when implementing, for privacy of user or security consideration, when client on backstage detects user
When initiation or response chat sessions, user can also be first pointed out in the form of option in chat interface, then according to user
Selection further determine the need for gathering the current video pictures of user by the front camera;For example, can be with
The text prompt of one " whether enabling video heads picture " is ejected in the chat interface of described end subscriber and peer user, such as
Fruit user selection is that then client gathers the video pictures of user on backstage by controlling the front camera.In this reality
Apply in example, when client is controlling front camera to gather user's picture of user, it is necessary first to currently running the client
The smart mobile phone of software is held to carry out hardware check;Wherein, the hardware detection generally includes to detect whether the smart mobile phone pacifies
Front camera has been filled, and whether detection active user has the user right for accessing the front camera.
Specifically, when the client detects that the smart mobile phone does not install front camera or active user
When not accessing the authority of the front camera, described end subscriber and peer user are pointed out.For example, implementing
When, it can be ejected in the chat interface of described end subscriber and peer user one " the video heads picture that other side can not be obtained "
Text prompt.
In the present embodiment, the client can be controlled directly described when the video pictures to user are acquired
Front camera gathers the video pictures of user according to default acquisition rate (i.e. first rate).Wherein, it is described default to adopt
The general acquisition rate of camera can be less than by collecting speed;
For example, the general acquisition rate of common camera is generally 25 frame per second, and in the present embodiment, it can be adopted described
Collection rate reduction is 5 frame per second.What deserves to be explained is, the acquisition rate is reduced to 5 frame per second exemplary only, in tool
When body is realized, or the default acquisition rate sets a more rational scope, such as can set described default
Acquisition rate is not less than 5 frames/second, no more than 10 frames/second;The default acquisition rate is set in a more rational scope
When interior, the smooth degree of bandwidth limitation and picture can be taken into account simultaneously.Certainly, when implementing, the default collection
Speed can also specifically determine according to actual user's request and network condition, and what is shown in the present embodiment described is not less than
The speed range of 5 frames/second, no more than 10 frames/second are exemplary only, are not intended to limit the present invention.
In the present embodiment, the client can also control camera when the video pictures to user are acquired
According to the video pictures of acquiescence acquisition rate (i.e. the second acquisition rate) collection user, then to the video pictures that collect according to
After default time interval is sampled, to obtain user's picture of the default acquisition rate (i.e. first rate);
For example, front camera can be controlled to gather user's picture according to the acquisition rate of general 25 frame per second, when adopting
After the completion of collection, the user's picture collected is sampled according to the time interval of 1/5 second, so that it is per second to obtain acquisition rate
User's picture of 5 frames.
In the present embodiment, for the video pictures of this end subscriber collected, client can also be as local terminal
The session head portrait of user is dynamically presented in chat interface;Wherein, the client is by user's picture of described end subscriber
, it is necessary to be regarded according to default resolution ratio to described end subscriber before being shown as the session head portrait of this end subscriber in chat interface
The resolution ratio of frequency picture carries out accommodation;
For example, it is assumed that the default resolution of user's head portrait is 40 × 40 in client, and client passes through front camera
The resolution ratio of the video pictures collected is 640 × 480, because the video pictures of user in the present embodiment are finally needed with head
The form of picture is presented, thus client before the video pictures of the user are uploaded onto the server, it is necessary to be regarded described
The resolution adjustment of frequency picture is 40 × 40.
In addition, client by the video pictures collected before the server is uploaded to, the video can also be drawn
Face carries out the accommodation of resolution ratio as described above;At the same time it can also to resolution adaptation adjust after described in regard
Frequency picture carries out lossy compression method, to remove the redundancy in user's picture, so as to not sacrifice the premise of image quality
Under so that the size of the video pictures of upload is small as far as possible, so as to save user bandwidth.Wherein, client is to service
Can be uploaded by such as TCP or the HTTP connection pre-established during device uploaded videos picture, implement herein with
Prior art is identical, is no longer described in detail in the present embodiment.
In the present embodiment, when the server receives the video pictures of described end subscriber of client upload, root
According to the session connection for being this end subscriber and peer user foundation, user's picture of described end subscriber is sent to opposite end and used
The client at family;When the client of the peer user receives the video pictures of described end subscriber, will receive described in regard
Frequency picture is dynamically presented as the session head portrait of described end subscriber in chat interface.Same reason, when the local terminal is used
When the client at family receives the video pictures of the peer user, also the user's picture received is regard as the peer user
Session head portrait dynamically presented in chat interface.
What deserves to be explained is, the video pictures of user are dynamically presented as session head portrait in chat interface to be merely illustrative
A kind of preferred forms, can also be by the video pictures of the user by being different from the chat when implementing
On the single interface of one of interface Dynamic Announce is carried out as session head portrait.
The display methods of session head portrait wherein in chat interface, in the present embodiment without specific restriction;It can chat
Local terminal is individually in its interface and peer user delimited head portrait viewing area and shown, can also be as shown in Fig. 2 and Fig. 3
Like that, display is associated with the chat content of user in chat interface;Or can be according to different when implementing
Chat scenario uses different display methods;
For example, if group chat scene, now can be using the display methods as shown in Fig. 2 and Fig. 3, by the session head portrait
In chat interface display is associated with the chat content of user;, now can be in chat interface individually if private chat scene
Head portrait viewing area delimited for local terminal and peer user to be shown.
Since then, in the chat interface of described end subscriber and peer user, it is already possible to which the meeting of chat both sides is presented in dynamic
Thread of a conversation picture, also, due to only carrying out resolution adjustment and lossy compression method etc. to the session head portrait in the present embodiment
Simple processing, and need not be dynamic sequence or short-sighted frequency by session head portrait pretreatment, only in transmitting procedure with regarding
The form of frequency picture is transmitted frame by frame, therefore ensure that the real-time of picture transmission, so that the session head portrait is in visitor
Final presentation effect is in the chat interface at family end, and the refresh rate of session head portrait is synchronous with acquisition rate holding.
For example, it is assumed that the acquisition rate is 5 frame per second, then in the chat interface of client, the refreshing of user's head portrait
Speed also refreshed 5 times for 1 second, so that user is in chat process, can be by session head portrait come Real-time Feedback user
Expression or the user profile such as body language.
Please continue to refer to Fig. 2 and Fig. 3, it is assumed that certain user chats with a good friend, after chat sessions are successfully established, client
Gather the video of this end subscriber in real time by backstage, and by server by the transmission of video collected to opposite end, eventually as
Session head portrait is presented in chat interface.Assuming that now one of user is that peer user has said an amusing joke,
After peer user is seen, that can't help begins to laugh;When the picture that the peer user is laughed passes through server transport to sheet
The chat interface of end subscriber and after being showed eventually as session head portrait, described end subscriber can be to get institute in real time
The expression and limbs information of peer user laugh are stated, so as to enhance interactive in user's chat process.
In the present embodiment, when client detects this end subscriber by backstage has exited all chat sessions, then
Stop the video pictures of collection user;What deserves to be explained is, in a particular application, there is a user and chatted simultaneously with multiple users
It scene, therefore for this scene, when this end subscriber exits one of chat sessions, client does not stop immediately
The video pictures of described end subscriber are gathered, but after described end subscriber has exited all chat sessions, then stop collection
The video pictures of described end subscriber.
In the present embodiment, can also be by the chat content of the local terminal or peer user, and synchronization is described
The local terminal or the session head portrait of peer user presented in chat interface, together association is saved in local chat record,
To facilitate user when checking the chat record of local terminal or peer user, can synchronously it view in synchronization chat interface
The local terminal or the session head portrait of peer user presented.
By above description, the present invention by camera when chat sessions are opened by gathering regarding for this end subscriber
Frequency picture, and the video pictures are transferred to peer user, and as described end subscriber session head portrait in peer user
Chat interface in dynamically present so that using instant messenger carry out text chat when can also feed back in real time opposite end use
The user profile such as the expression or body language at family, enhance the interactive of user, improve Consumer's Experience..
Fig. 4 is referred to, the present invention also provides a kind of new instant communication client 40, applied in portable user terminal
On (such as smart mobile phone);Wherein, Fig. 5 is referred to, as involved by the portable user terminal of the carrying client 40
In hardware structure, CPU, internal memory, nonvolatile memory, network interface and internal bus etc. are generally included.It is implemented in software
Exemplified by, client 40 of the present invention is it is generally understood that be carried in the computer program in internal memory, after being run by CPU
The logic device that the software and hardware of formation is combined;Certain present invention is not precluded from the realization such as other logical devices or hardware
Mode.It is only illustrative so that software the most popular is realized as an example herein, in hardware environment, rise for convenience
See, the substantially general hardware structure needed for client operation is simply exemplarily given in Fig. 4.
Fig. 4 is refer to, from logic function aspect, the client includes session setup unit 401, picture capture list
Member 402, picture uploading unit 403, head portrait display unit 404 and record storage unit 405;
Wherein:
The session setup unit 401 is used to initiate chat sessions to the service end;
The picture capturing unit 402 is used for the head for obtaining first rate by preset camera when chat sessions are opened
As video pictures;
The picture uploading unit 403 is used to the head portrait video pictures being transferred to pair associated with the chat sessions
End subscriber;
The head portrait display unit 404 is used for the head portrait video pictures for receiving the peer user transmission, and will be described right
Image in the head portrait video pictures of end subscriber as the peer user session head portrait described end subscriber chat circle
Dynamically presented in face.
Preferably, the picture capturing unit 402 obtains the head portrait video pictures of first rate by preset camera
Process includes:
Control the preset camera according to first rate collection head as video pictures.
Preferably, the picture capturing unit 402 obtains the head portrait video pictures of first rate by preset camera
Process includes:
Control the preset camera according to the second speed collection head as video pictures;
Processing is sampled to the head portrait video pictures according to prefixed time interval, regarded with the head portrait for obtaining first rate
Frequency picture;Wherein, the first rate is less than second speed.
Preferably, the first rate is not less than 5 frames/second, no more than 10 frames/second.
Preferably, the picture capturing unit 402 is further used for:
Before the head portrait video pictures that first rate is obtained by camera, hardware detection is carried out to the user terminal, and
When being not detected by the preset camera or described end subscriber does not access the access rights of the preset camera, point out
Described end subscriber and the peer user associated with the chat sessions.
Preferably, the preset camera is front camera.
Preferably, the picture uploading unit 403 is further used for:
Before the head portrait video pictures are transferred into the peer user, according to default resolution ratio to the head portrait video
The resolution ratio of picture carries out accommodation, and the head portrait video pictures after adjustment are carried out into lossy compression method.
Preferably, the head portrait display unit 404 is further used for:
The resolution ratio of the head portrait video pictures got according to default resolution ratio to local terminal carries out accommodation, and will adjust
The image in the head portrait video pictures after whole is dynamically presented as the session head portrait of described end subscriber in chat interface.
Preferably, the head portrait display unit 404 is further used for:
The picture file for the peer user upload that the server is sent is received, and regard the picture file as institute
The data head portrait of peer user is stated, is presented in contacts list.
Preferably, the client also includes:
Storage unit 405 is recorded, for by the chat content of the local terminal or peer user, and synchronization is described
The session head portrait association of the local terminal or peer user that are presented in chat interface is saved in local chat record.
By the description of above example, it will be appreciated by those skilled in the art that the unit in embodiment in device can be closed
And be a unit, multiple subelements can also be further split into.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.
Claims (10)
1. a kind of instant communication client, applied in portable user terminal, is used cooperatively with service end, it is characterised in that
The client includes:
Session setup unit, for initiating chat sessions to the service end;
Picture capturing unit, the head portrait video for obtaining first rate by preset camera when chat sessions are opened is drawn
Face;
Picture uploading unit, for the head portrait video pictures to be transferred into the peer user associated with the chat sessions;
Head portrait display unit, the head portrait video pictures for receiving peer user transmission, and by the head of the peer user
As the image in video pictures is dynamically presented as the session head portrait of the peer user in the chat interface of this end subscriber;Its
In, the session head portrait for the peer user that the chat interface is dynamically presented is different from the data head portrait of the peer user.
2. client as claimed in claim 1, it is characterised in that the picture capturing unit obtains the by preset camera
The process of the head portrait video pictures of one speed includes:
Control the preset camera according to first rate collection head as video pictures.
3. client as claimed in claim 2, it is characterised in that the picture capturing unit obtains the by preset camera
The process of the head portrait video pictures of one speed includes:
Control the preset camera according to the second speed collection head as video pictures;
Processing is sampled to the head portrait video pictures according to prefixed time interval, drawn with the head portrait video for obtaining first rate
Face;Wherein, the first rate is less than second speed.
4. client as claimed in claim 3, it is characterised in that the first rate is not less than 5 frames/second, no more than 10 frames/
Second.
5. client as claimed in claim 3, it is characterised in that the picture capturing unit is further used for:
Before the head portrait video pictures that first rate is obtained by camera, hardware detection is carried out to the user terminal, and not
Detect the preset camera or when described end subscriber does not access the access rights of the preset camera, point out described
This end subscriber and the peer user associated with the chat sessions.
6. the client as described in claim 1 to 5 is any, it is characterised in that the preset camera is front camera.
7. client as claimed in claim 1, it is characterised in that the picture uploading unit is further used for:
Before the head portrait video pictures are transferred into peer user, the head portrait video pictures are divided according to default resolution ratio
Resolution carries out accommodation, and the head portrait video pictures after adjustment are carried out into lossy compression method.
8. client as claimed in claim 1, it is characterised in that the head portrait display unit is further used for:
The resolution ratio of the head portrait video pictures got according to default resolution ratio to local terminal carries out accommodation, and by after adjustment
The head portrait video pictures in image dynamically presented in chat interface as the session head portrait of described end subscriber.
9. client as claimed in claim 1, it is characterised in that the head portrait display unit is further used for:
Receive the picture file that the peer user that the server sends is uploaded, and using the picture file as described right
The data head portrait of end subscriber, is presented in contacts list.
10. client as claimed in claim 1, it is characterised in that the client also includes:
Storage unit is recorded, for by the chat content of the local terminal or peer user, and synchronization is in chat circle
The session head portrait association of the local terminal or peer user that are presented in face is saved in local chat record.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410304523.5A CN104065913B (en) | 2014-06-27 | 2014-06-27 | A kind of instant communication client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410304523.5A CN104065913B (en) | 2014-06-27 | 2014-06-27 | A kind of instant communication client |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104065913A CN104065913A (en) | 2014-09-24 |
CN104065913B true CN104065913B (en) | 2017-11-07 |
Family
ID=51553418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410304523.5A Active CN104065913B (en) | 2014-06-27 | 2014-06-27 | A kind of instant communication client |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104065913B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105451198B (en) * | 2014-09-30 | 2019-04-09 | 阿里巴巴集团控股有限公司 | Share the method and apparatus of picture in instant messaging |
CN105635232A (en) * | 2014-11-19 | 2016-06-01 | 中兴通讯股份有限公司 | Method and device for realizing dynamic head portrait |
CN105763828A (en) * | 2014-12-18 | 2016-07-13 | 中兴通讯股份有限公司 | Instant communication method and device |
CN109120866B (en) * | 2018-09-27 | 2020-04-03 | 腾讯科技(深圳)有限公司 | Dynamic expression generation method and device, computer readable storage medium and computer equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1819180A2 (en) * | 2006-02-13 | 2007-08-15 | Broadcom Corporation | Controlling alternative communication pathway utilization in a mobile communication device |
CN101166161A (en) * | 2007-10-11 | 2008-04-23 | 刘帅 | A method for dynamically obtaining exchange on screen of other party in instant communication tool |
CN101599017A (en) * | 2009-07-14 | 2009-12-09 | 阿里巴巴集团控股有限公司 | A kind of generation mthods, systems and devices of head image of network user |
CN102035938A (en) * | 2010-12-10 | 2011-04-27 | 福州瑞芯微电子有限公司 | Method for dynamically displaying video contacts in communication apparatus |
CN102255827A (en) * | 2011-06-16 | 2011-11-23 | 北京奥米特科技有限公司 | Video chatting method, device and system |
CN102647550A (en) * | 2011-02-16 | 2012-08-22 | 深圳市高斯贝尔家居智能电子有限公司 | Network camera system |
-
2014
- 2014-06-27 CN CN201410304523.5A patent/CN104065913B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1819180A2 (en) * | 2006-02-13 | 2007-08-15 | Broadcom Corporation | Controlling alternative communication pathway utilization in a mobile communication device |
CN101166161A (en) * | 2007-10-11 | 2008-04-23 | 刘帅 | A method for dynamically obtaining exchange on screen of other party in instant communication tool |
CN101599017A (en) * | 2009-07-14 | 2009-12-09 | 阿里巴巴集团控股有限公司 | A kind of generation mthods, systems and devices of head image of network user |
CN102035938A (en) * | 2010-12-10 | 2011-04-27 | 福州瑞芯微电子有限公司 | Method for dynamically displaying video contacts in communication apparatus |
CN102647550A (en) * | 2011-02-16 | 2012-08-22 | 深圳市高斯贝尔家居智能电子有限公司 | Network camera system |
CN102255827A (en) * | 2011-06-16 | 2011-11-23 | 北京奥米特科技有限公司 | Video chatting method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN104065913A (en) | 2014-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230209186A1 (en) | System and method for controlling surveillance cameras | |
WO2016050080A1 (en) | Multi-user video-watching real-time interaction method and system | |
US8848026B2 (en) | Video conference call conversation topic sharing system | |
CN104427296B (en) | The transmission method and device of Media Stream in video conference | |
US8446453B2 (en) | Efficient and on demand convergence of audio and non-audio portions of a communication session for phones | |
CN111935443B (en) | Method and device for sharing instant messaging tool in real-time live broadcast of video conference | |
US8885007B2 (en) | Method and system for initiating communication via a communication network | |
US20180167689A1 (en) | Video Studio Creating Method and Service Device | |
US20140372517A1 (en) | Systems and Methods for a Video Sharing Social Network | |
US11019013B2 (en) | Apparatus and method for managing sharing of content | |
CN113055628A (en) | Displaying video call data | |
CN104065913B (en) | A kind of instant communication client | |
EP3018899A1 (en) | Video communication method and device | |
CN109994115B (en) | Communication method and device, data processing method and device | |
US20170118335A1 (en) | Telephone user interface providing enhanced call blocking | |
KR101863218B1 (en) | Video call device and method using webrtc | |
CN104754281A (en) | Video conference control system and method | |
CN104754282A (en) | IP (Internet Protocol)-based video conference control system and method | |
CN105306870A (en) | File processing methods and devices | |
KR20210013923A (en) | Video Call Mediating Apparatus, Method and Computer Readable Recording Medium Thereof | |
CN104754280B (en) | Selectively use the AC system of high picture quantity multimedia | |
US9967345B2 (en) | Split screen teleconferencing | |
US20180376518A1 (en) | System and method for establishing a temporary electronic communication channel to allow an introduction of operators of electronic communication capable devices | |
KR101528268B1 (en) | System and method for streaming content to remote locations | |
US20240195850A1 (en) | Aggregation & distribution of diverse multimedia feeds |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20151118 Address after: 201818 room 10, building 25, No. 835, Lane 2101, Jiaxin Road, Shanghai, Jiading District Applicant after: Shanghai chatting Network Technology Co., Ltd. Address before: 201199 Shanghai city Minhang District No. 6088 humin Road Shanghai 2704 Applicant before: Shanghai Meng Di network technology Co., Ltd |
|
GR01 | Patent grant | ||
GR01 | Patent grant |