CN101931653B - Method for displaying communication state in instantaneous communication system - Google Patents

Method for displaying communication state in instantaneous communication system Download PDF

Info

Publication number
CN101931653B
CN101931653B CN 201010271980 CN201010271980A CN101931653B CN 101931653 B CN101931653 B CN 101931653B CN 201010271980 CN201010271980 CN 201010271980 CN 201010271980 A CN201010271980 A CN 201010271980A CN 101931653 B CN101931653 B CN 101931653B
Authority
CN
China
Prior art keywords
information
state information
packet
state
data packet
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
CN 201010271980
Other languages
Chinese (zh)
Other versions
CN101931653A (en
Inventor
唐沐
陈妍
林松涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN 201010271980 priority Critical patent/CN101931653B/en
Publication of CN101931653A publication Critical patent/CN101931653A/en
Application granted granted Critical
Publication of CN101931653B publication Critical patent/CN101931653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for displaying a communication state in an instantaneous communication system. The method comprises the following steps that: an information acquirer acquires the current state information of a local user; the information acquirer generates a corresponding state information data packet according to the state information, wherein the state information data packet comprises the current state information of the local user and different state information corresponds to different state information data packets respectively; the information acquirer transmits the state information data packet to an information displayer through an instantaneous communication system network; the information displayer receives and resolves the state information data packet; and a corresponding state mark is displayed according to the current state information in the state information data packet, wherein different state information corresponds to different state marks respectively. The bandwidth resource of a network can be saved when the communication state is displayed.

Description

A kind of in instantaneous communication system the method for communication state displaying
The application is that March 19 2005 applying date, application number are 200510056113.4, denomination of invention is divided an application for the method for communication state displaying " a kind of's in instantaneous communication system ".
Technical field
The present invention relates to electrical communication technology, particularly relate to a kind of in instantaneous communication system the method for communication state displaying.
Background technology
Along with society and development of science and technology, People more and more is paid attention to the promptness of information interchange and communication, therefore, can so that people's contact and various day by day easily mechanicss of communication of communication each other gradually by the recognition and acceptance of user institute.For example, in the daily life, instantaneous communication system has become the important communication tool of many people, for people's work, living and studying have brought facility.
The principle of instant messaging technology is to realize point-to-point real time information transmission through the Internet, comprises information such as file, literal, image, voice, video.As a kind of mode instant through the Internet and other people contact, instantaneous communication system has characteristics such as interactive strong, low price, and therefore instantaneous communication system can be popularized in the time of not growing.
Use the instant messaging product, people can be in the enterprising style of writing word of network, sound and Video show, shared file, picture, video etc., thus make living and studying more convenient.Simultaneously, increasing people also recognizes the effect of instant messaging product to increasing productivity, and begins the instant messaging product is used at work.We can say that the instant messaging product has surmounted the category of a simple technique instrument, become a kind of new symbol of modern AC mode.
When using instantaneous communication system to exchange, need the meaning that oneself will express be input in the computer through input equipments such as keyboard, mouse, touch-screen, handwriting pads, whole process generally includes the input of literal and tissue of picture or the like.But in traditional instantaneous communication system, when these information of user group, the other user knows nothing its state, thereby the gap on causing alternately influences the mutual real-time of instant messaging product.
In the prior art, exist some can solve the method for foregoing problems.In a kind of method of prior art, the system of communication state displaying mainly comprises: information acquisition system, the information transmission system and information exhibition system.
In the method for this prior art, comprise two processes of information gathering and information exhibition.
Wherein, the workflow of information gathering comprises: the operating position of the input equipment of information acquisition system monitoring user or the variation of entr screen, collection user's input state information; When first input of user arrived, information acquisition system began to safeguard a timer, and sends a specific packet through the Internet to the information exhibition system; Work as timer expiry, whether information acquisition system detects from the timer timer expiry of starting working has new input to arrive in this time period; If have, then send a new particular data packet, and start a new timer to the information exhibition system; If no, then finish a flow process.
The workflow of information exhibition comprises: receive the particular data packet of an information acquisition system transmission when the information exhibition system after, show a specific markers, and start the timer of a same size with information sender (perhaps big slightly); Work as timer expiry, the information exhibition system detects from timer to start to whether new particular data packet arrival was arranged in overtime this time period; If have, then continue to show specific markers, and start a new timer; If no, then cancel the displaying of specific markers, finish a flow process.
There are some shortcomings in the method for this prior art: at first, and in order to guarantee the real-time of exhibition information, in reality realizes; The timer that information acquisition system starts is generally in 5-10 this scope second; And generally speaking, the time of user group's information can surpass the 5-10 time in second, if surpass this time; Will whenever send a packet at a distance from a time cycle; Like this, in the process of user group's information, have a lot of identical particular data packet and send, very big to the requirement of the network bandwidth; Especially for some instant communication softwares that will pass through transit server, on huge customer volume basis, the method for using now can form googol according to the transfer amount at server, expends the huge bandwidth of server.Secondly; The identical particular data packet of transmission that this method continues in the information acquisition system organizational information is kept the displaying of information exhibition system; Whether the information exhibition system needs certain interval of time to continue detection has new particular data packet to arrive; The burden of increase system causes the waste of resource and the reduction of efficient.
Summary of the invention
In view of this, main purpose of the present invention be to provide a kind of in instantaneous communication system the method for communication state displaying, can realize the demonstration of communications status with network bandwidth resources still less.
For solving the problems of the technologies described above, technical scheme of the present invention is achieved in that
A kind of in instantaneous communication system the method for communication state displaying, comprise step:
1) information collection side gathers local user's current state information;
2) said information collection side generates corresponding state information data packet according to this state information, comprises local user's current state information in the said state information data packet; Wherein, different state information is corresponding different state information packet respectively, and said state information data packet is for beginning input information packet or stop the input information packet; Said information collection side starts timer when generating beginning input information packet; Judge when timer expiry whether the local user has new input,, then start new timer if having; If no, then stop the generation of input information packet;
3) said information collection side sends to information exhibition side through the instantaneous communication system network with this state information data packet;
4) said information exhibition side receives and resolves this state information data packet; Show the status indication corresponding according to the current state information that parses with it; Wherein, the corresponding different state mark of different state information difference.
The collection of said step 1) comprises: the operating position of monitoring user input equipment or the variation of entr screen, collection user's input state information; Said step 2) generation state information data packet comprises: generate beginning input information packet or generation and stop the input information packet.
The displaying of said step 4) comprises: show tags when receiving beginning input information packet; In the demonstration that receives stop flag when stopping the input information packet.
The displaying of said step 4) comprises: when receiving beginning input information packet, show first mark; Show second mark when stopping the input information packet receiving.
Said step 2) generation in specifically comprises: produce the instant messaging protocol header; Produce sub-protocol number; Generation state content-data; With said protocol header, sub-protocol number and state content groups of data generated data bag.
Said step 2) in the generative process, beginning input information packet with stop the input information packet and have number perhaps different state content-data of different sub-protocols.
The displaying mark of said step 4) comprises shows literal, picture, sound, animation.
The transmission of said step 3) is adopted the mode of transfer server transfer or is adopted point-to-point mode.
With respect to prior art; The invention has the beneficial effects as follows: because the present invention is when detecting the user and be in a certain state; Produce the state information data packet corresponding, that is to say, use a plurality of different state information packet to transmit different state information and give information exhibition side with it; Therefore, information exhibition side need not safeguard timer; And the established data bag is all used in each displaying, need not the particular data packet that the information collection side regularly sends same content, saves the uncommon network bandwidth resources that lacks more than prior art.
In the preferred version of the present invention, a state is from being shown to end, used two kinds of packets notices, sends out a specific beginning input information packet earlier, it's time to show one of end transmission specific stop the input information packet; The contrast prior art; Used a kind of packet classification more; Make information exhibition side need not safeguard timer; Most importantly two established data bags are all used and only used to each the displaying, saves the uncommon network bandwidth resources that lacks more than the method for using in the prior art, especially for some instant communication softwares that will pass through transit server.
Description of drawings
Fig. 1 is the sketch map of the system of method application of the present invention;
Fig. 2 is the sketch map of system shown in Figure 1 and network environment;
Fig. 3 is information collection side's a workflow diagram;
Fig. 4 is the workflow diagram of information exhibition side.
Embodiment
Seeing also Fig. 1, is the sketch map of the system of method application of the present invention.
Method of the present invention realizes through information acquisition unit 100 and cooperatively interacting of information exhibition unit 200; And, realize the transmission of data between information acquisition unit 100 and the information exhibition unit 200 through the information transmission system 900.
Please consulting Fig. 2 in the lump, is the sketch map of system shown in Figure 1 and network environment.
Wherein, information acquisition unit 100 and instant messaging product 110, operating system 120, hardware system 130, user input device 140 and network transmission system 150 mutual co-ordinations are accomplished the collection and the transmission of information.
Need to prove that said information acquisition unit 100 also can be integrated in the instant messaging product 110.
The operation principle of information gathering is: the user imports hardware system 130 through user input device 140 (like various input equipments such as keyboard, mouse, clipboards) with information (can be literal, static graphics, animation, video, various information such as sound); After operating system 120 perceives this input information, notice instant messaging product 110; Instant messaging product 110 is trigger message collecting unit 100 subsequently; Information acquisition unit 100 perceives user's input, and user's input state is encoded, and submits to instant messaging product 110 then; Instant messaging product 110 is transferred out by the input state of network transmission system 150 with the user under the cooperation of operating system 120 and hardware system 130.Wherein, Network Transmission can also can be used P2P (point-to-point) technology through unified central server transfer.
Information exhibition unit 200 and instant messaging product 210, operating system 220, hardware system 230 and network transmission system 250 mutual co-ordination, the reception of completion status information and the displayings of information.
Need to prove that said information exhibition unit 200 also can be integrated in the instant messaging product 210.
The operation principle of information exhibition is: hardware system 230 receives the data of coming automatic network of network transmission system 250 transmission, upwards sends to operating system 220, instant messaging product 210; Instant messaging product 210 trigger message display units 200 are carried out the application layer decoding of information and are carried out different information exhibitions according to different yards that solve by information exhibition unit 200.
Please consulting Fig. 3 and Fig. 4 in the lump, is information acquisition unit, message transfer system in the method for the present invention, the co-ordination flow process of information exhibition unit.
Seeing also Fig. 3, is information collection side's workflow diagram.
Step S31, the operating position of the input equipment of information acquisition unit 100 monitoring users or the variation of entr screen, collection user's input state information.
Step S32 when first input of user arrives, sends specific beginning to information exhibition unit 200 and imports packet.And sending the specific step S33 that gets into when beginning to import packet.
Saidly begin to import packet and can use existing communication protocol of instantaneous communication system and communication mechanism, and add a kind of subtype that is used for representing input state above that.In general, can send as follows: MsgHead+SubCmd+Status.
Wherein, MsgHead is the protocol header of instant messaging product; SubCmd is a sub-protocol number, and this sub-protocol number is used for transmitting the information of input state; Status representes to begin input or stops input, for example, can equal 1 situation with Status and represent to begin input, equals 0 situation with Status and representes to stop input; Certainly, also can come both of these case is encoded with other numerals.
Step S33, information acquisition unit 100 starts a timer.
The time length of said timer can be determined by factors such as user's input habit, input equipment type, input data types.This be because, if fixed too short of time can be imported the gap normally with the user and be used as the signal that the user stops to import; If the time is oversize, might an input gap be used as in user's the input that stops again, cause the user to stop to import a very long time, specific markers is also being showed in information exhibition unit 200, the user of expression information acquisition unit imports.In general, for the user who uses keyboard to carry out the literal input, input window 7-10 does not change second, just representes that the user does not have new input to arrive.
Step S34 works as timer expiry, detects from the timer overtime new input that whether has during this period of time of starting working; If have, forward step S33 to; If no, forward step S35 to.
Step S35 sends specific stopping to information exhibition unit 200 and imports packet.Finish current flow process.
In general, said specific stopping to be imported the packet use and imported the identical data format of packet with specific beginning, promptly identical information header (MsgHead), identical sub-protocol number (SubCmd), identical protocol entity (Status).Just to import packet different for the content (being the content of Status) in the protocol entity and specific beginning.Certainly, those skilled in the art knows, and also can use different sub-protocol number, just so does the difference that does not have what essence.
Seeing also Fig. 4, is the workflow diagram of information exhibition side.
Step S41 receives the specific packet that begins to import, and it is corresponding that packet is imported in this packet and specific the beginning that information acquisition unit 100 sends.
Step S42,200 pairs of these packets in information exhibition unit are decoded, and take out the employed information header of instant messaging product (MsgHead), find content (Status) and parsing in sub-protocol number (SubCmd) and the protocol entity; Show a specific markers according to analysis result.
This specific markers can be some literal, static images, animation, perhaps any other can be by the information of people's perception for sound.
Step S43 keeps display state, and up to receiving a specific packet that stops to import, it is corresponding that packet is imported in this input packet and specific the stopping of information acquisition unit 100 transmissions.
Step S44, this stops 200 pairs of information exhibition unit importing packet and takes to import the similar processing of packet with specific beginning.And stop to show specific markers according to result.
Certainly, also can import and stop to import the different specific markers of displaying beginning.
Certainly, those skilled in the art knows, and the present invention also can be applied to instantaneous communication system to realize the demonstration of other communications status, and this does not give unnecessary details.
Be similar to the demonstration of user's input state, when realizing the demonstration of other communications status, method of the present invention comprises step: the information collection side gathers local user's current state information; Said information collection side generates corresponding state information data packet according to this state information, comprises local user's current state information in the said state information data packet; Wherein, the corresponding different state information packet of different state information difference; Said information collection side sends to information exhibition side through the instantaneous communication system network with this state information data packet; Said information exhibition side receives and resolves this state information data packet; Show the status indication corresponding according to the current state information that comprises in the state information data packet with it; Wherein, the corresponding different state mark of different state information difference.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.

Claims (2)

1. the method for a communication state displaying in instantaneous communication system is characterized in that, comprises step:
1) information collection side gathers local user's current state information;
2) said information collection side generates corresponding state information data packet according to this state information, comprises local user's current state information in the said state information data packet; Wherein, different state information is corresponding different state information packet respectively, and said state information data packet is for beginning input information packet or stop the input information packet; Said information collection side starts timer when generating beginning input information packet; Judge when timer expiry whether the local user has new input,, then start new timer if having; If no, then stop the generation of input information packet;
3) said information collection side sends to information exhibition side through the instantaneous communication system network with this state information data packet;
4) said information exhibition side receives and resolves this state information data packet; Show the status indication corresponding according to the current state information that parses with it; Wherein, the corresponding different state mark of different state information difference.
2. according to claim 1 in instantaneous communication system the method for communication state displaying, it is characterized in that the transmission of said step 3) is adopted the mode of transfer server transfer or adopted point-to-point mode.
CN 201010271980 2005-03-19 2005-03-19 Method for displaying communication state in instantaneous communication system Active CN101931653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010271980 CN101931653B (en) 2005-03-19 2005-03-19 Method for displaying communication state in instantaneous communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010271980 CN101931653B (en) 2005-03-19 2005-03-19 Method for displaying communication state in instantaneous communication system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN2005100561134A Division CN1835440B (en) 2005-03-19 2005-03-19 Method of displaying communicating state in instant communicating system

Publications (2)

Publication Number Publication Date
CN101931653A CN101931653A (en) 2010-12-29
CN101931653B true CN101931653B (en) 2012-12-05

Family

ID=43370579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010271980 Active CN101931653B (en) 2005-03-19 2005-03-19 Method for displaying communication state in instantaneous communication system

Country Status (1)

Country Link
CN (1) CN101931653B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935495A (en) * 2014-03-19 2015-09-23 华为技术有限公司 Method for determining user state, unified communication system and related equipment

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932237A (en) * 2012-10-15 2013-02-13 北京推博信息技术有限公司 Method for displaying information state, server, client and system
CN109981446A (en) * 2019-03-19 2019-07-05 上海掌门科技有限公司 Information generating method, electronic equipment and computer-readable medium
CN110708424B (en) * 2019-09-27 2021-05-11 北京字节跳动网络技术有限公司 Information presentation method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6519639B1 (en) * 1999-07-21 2003-02-11 Microsoft Corporation System and method for activity monitoring and reporting in a computer network
CN1450763A (en) * 2003-04-25 2003-10-22 广东省电信公司科学技术研究院 Method and device for realizing interactive real time video text communication business
CN1591441A (en) * 2003-09-04 2005-03-09 国际商业机器公司 Method and system for providing status information for instant messaging users
CN1835440A (en) * 2005-03-19 2006-09-20 腾讯科技(深圳)有限公司 Method of displaying communicating state in instant communicating system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6519639B1 (en) * 1999-07-21 2003-02-11 Microsoft Corporation System and method for activity monitoring and reporting in a computer network
CN1450763A (en) * 2003-04-25 2003-10-22 广东省电信公司科学技术研究院 Method and device for realizing interactive real time video text communication business
CN1591441A (en) * 2003-09-04 2005-03-09 国际商业机器公司 Method and system for providing status information for instant messaging users
CN1835440A (en) * 2005-03-19 2006-09-20 腾讯科技(深圳)有限公司 Method of displaying communicating state in instant communicating system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935495A (en) * 2014-03-19 2015-09-23 华为技术有限公司 Method for determining user state, unified communication system and related equipment
CN104935495B (en) * 2014-03-19 2019-04-23 华为技术有限公司 Determine method, unified communication system and the relevant device of User Status

Also Published As

Publication number Publication date
CN101931653A (en) 2010-12-29

Similar Documents

Publication Publication Date Title
CN1835440B (en) Method of displaying communicating state in instant communicating system
CN103955470B (en) hotspot topic pushing method and device
CN101888302B (en) Interactive image information transmission system and method for teleconferences
CN106100969A (en) A kind of do not read the based reminding method of session, device and terminal unit
CN104243561B (en) A kind of electronic equipment, information processing method and information transmission system
CN103942697A (en) Three-dimensional virtual character inviting team forming method based on B/S mode
US9069385B1 (en) Communicating physical gestures as compressed data streams
CN105103182A (en) Systems and methods for interactive, real-time tablet-based tutoring
CN101931653B (en) Method for displaying communication state in instantaneous communication system
CN103973705A (en) Omnimedia and new media fusing platform
CN102368198A (en) Method and system for carrying out information cue through lip images
CN107633383A (en) A kind of method, apparatus, system and mobile terminal for polymerizeing backlog
KR100440045B1 (en) A method and system for chatting service providing realtime tag analysis
CN101083751B (en) Video teaching method and apparatus
CN102693655A (en) Electronic examination system for students
CN104518941A (en) Method, client, server and system for realizing an instant messaging (IM) multi-person drawing board
CN109302340A (en) One kind burying point data report method, device and computer readable storage medium
CN103428472A (en) Real object complete interactive communication method and device based on collaborative awareness
CN110503738A (en) A kind of multi-functional attendance all-in-one machine and multi-functional attendance checking system
CN102970214A (en) Method and system for displaying advertising information in instant messaging
CN111385402A (en) Method and device for realizing touch mobile phone business card exchange
CN101087293A (en) A method, chat client and system for displaying shielded status of members in chat room
CN103841166B (en) The methods, devices and systems of advertisement are shown in desktop cloud terminal
CN106775188A (en) The display methods and device of a kind of information
CN112837050B (en) Method, apparatus and computer readable medium for transmitting and receiving group receipt message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant