CN102316148A - Method for displaying friend list with friend state - Google Patents

Method for displaying friend list with friend state Download PDF

Info

Publication number
CN102316148A
CN102316148A CN2011100599809A CN201110059980A CN102316148A CN 102316148 A CN102316148 A CN 102316148A CN 2011100599809 A CN2011100599809 A CN 2011100599809A CN 201110059980 A CN201110059980 A CN 201110059980A CN 102316148 A CN102316148 A CN 102316148A
Authority
CN
China
Prior art keywords
account
user
webpage
flash
friend
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.)
Pending
Application number
CN2011100599809A
Other languages
Chinese (zh)
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.)
Suzhou Codyy Network Technology Co Ltd
Original Assignee
Suzhou Codyy Network Technology 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 Suzhou Codyy Network Technology Co Ltd filed Critical Suzhou Codyy Network Technology Co Ltd
Priority to CN2011100599809A priority Critical patent/CN102316148A/en
Publication of CN102316148A publication Critical patent/CN102316148A/en
Pending legal-status Critical Current

Links

Images

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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Abstract

The invention provides a method for displaying a friend list with a friend state, belonging to the technical field of networks. The method comprises the steps of: logging a webpage by a user, obtaining a friend list without a friend state of the user and displaying, loading a flash by the webpage, connecting the flash with a socket server, sending friends and user account numbers to the socket server; recording the account numbers to an online list by the socket server, finding out an account number matched with friend account numbers from the online list and sending the account number to the flash by the socket server according to the received friend account numbers, and marking the user state of the matched amount number as online by the webpage where the flash is in. The method can ensure that the friend state in the friend list is accurately displayed on the webpage and a user can visually see which friends of the user are online and which friends of the user are offline, thus use value and user experience of a webpage instant communication tool are greatly improved.

Description

A kind of method that shows the buddy list of band good friend state
Technical field
The invention belongs to networking technology area, relate in particular to a kind of method that shows the buddy list of band good friend state.
Background technology
At present; IM (Instant Messaging) immediate communication tool that downloads and installs based on needs; Like MSN, QQ, POPO have received everybody liking deeply; It provides new approach for people's communication, information interchange, is another the important information interchange mode except that mobile phone, fixed line, Email.Through these instruments, greatly reduce people's interchange cost, and improved efficient.But, as using above-mentioned IMU instrument, the user must download and install correspondent customer terminal software.This is a comparatively complicated configuration and understands the process of being familiar with, and is relatively more difficult for never using this kind tool and not frequent computed user.And the immediate communication tool software of present client downloads is increasing, reaches 32.6MB such as QQ2010 software, and MSN software reaches 11.2MB, has taken no small computer memory space; Simultaneously, because the network security problem that brings down also can perplex the user; In addition, (such as chat record etc.) all is stored in the computer terminal because all data messages, in case changed computer reasons such as (if) going on business or reinstalled software, the user can't obtain original data message, very inconvenience.
Under this strong market demand, Web IM (immediate communication tool of webpage version) has been born.Web IM just is based on the instant media of communication of web browser in fact; Its display form is to be media with the webpage; Its effect is the user's use to those have more than is needed or inconvenient use application clients, and its maximum value provides the channel of communication easily.Can be stored on the webpage such as chat record and vital document, need not to download to local computing, improve the convenience that safety of data and data are read greatly.
Along with the continuous increase of Web IM number of users, everybody also progressively increases the functional requirement of Web IM, from chat simply one to one originally, begins to turn to cluster communication and many people communication.When good friend's quantity of user Web IM was ever-increasing, they must hope that the good friend's state on the buddy list can show immediately exactly.In order to satisfy the tight demand of user to convenience and fail safe better, the existing network teleconference and network remote education begin progressively to change the pattern based on the web browser into from original terminal downloads pattern.For the video conference and the long-distance education of webpage version, the good friend's state that can correctly distinguish in the buddy list is their inevitable demand.Because must distinguishing through the good friend's state on the buddy list, the speaker of the host of video conference or long-distance education can know clearly just whether all personnels participating in the meeting have reached the standard grade; Then could select beginning or continue to wait for also there is not concrete implementation at present.
Summary of the invention
The invention provides a kind of method that shows the buddy list of band good friend state, the reading and the state subscription problem of the buddy list of having realized relating in the instant messaging of webpage version.
In order to solve the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of method that shows the buddy list of band good friend state may further comprise the steps:
1) user's log-on webpage, obtain this user not with the buddy list of good friend's state and show;
2) load flash, connect the socket server, good friend's number of the account and login user number of the account are sent to the socket server;
3) all online users' of socket server record number of the account is in online tabulation;
4) the socket server is found out all and the number of the account that good friend's number of the account is mated according to good friend's number of the account of receiving from online tabulation, and the number of the account that finds is sent to flash;
5) script interface of flash invoking web page with the buddy list in the webpage and the number of the account matching user status indication that finds for reaching the standard grade.
Wherein, step 1) comprises following process: 1a) record web page access person user account behind the browser client Website login, and the browser client accessed web page page, web page program obtain all good friends' of visitor's user account number of the account, the pet name, head portrait from database; 1b) information with all good friends is shown on the webpage.
Wherein, step 2) comprise following process: 2a) load a flash to webpage; 2b) flash connects the socket server; 2c) page script sends to the socket server with all good friends' number of the account and login person's number of the account through calling the flash interface.
The present invention compared with prior art has the following advantages:
(1) Web IM makes the user after login, just can see own good friend's presence intuitively.
(2) the present invention has simplicity on realizing, has versatility in the application.
(3) instantaneity is fine, does not have to lag behind.
Reading and the state subscription problem of the buddy list that the present invention has realized often relating in the instant messaging of webpage version has very significant meaning for the liveness, user experience and the Web IM that strengthen Web IM user interactive.Simultaneously, also be convenient to the solution that shows with good friend's state that reads that the technical staff grasps buddy list apace.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the embodiment of the invention 1;
Fig. 2 is the flow chart of the embodiment of the invention 2.
Embodiment
Hereinafter will and combine embodiment to specify the present invention with reference to accompanying drawing.Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
The technical scheme of present embodiment is following:
A kind of general method that can on webpage, show the buddy list of being with good friend's state may further comprise the steps:
1) user's log-on webpage, obtain this user not with the buddy list of good friend's state and show;
2) load flash, connect the socket server, good friend's number of the account and login user number of the account are sent to the socket server;
3) all online users' of socket server record number of the account is in online tabulation;
4) the socket server is found out all and the number of the account that good friend's number of the account is mated according to good friend's number of the account of receiving from online tabulation, and the number of the account that finds is sent to flash;
5) script interface of flash invoking web page with the buddy list in the webpage and the number of the account matching user status indication that finds for reaching the standard grade.
Following further explain method of the present invention:
6) referring to Fig. 1, Fig. 2 in the Figure of description, browser client input number of the account and password log-on webpage, login successfully after, web page program is shown to the information on the page from the needs that data base querying goes out all good friends of browser client, and is shown on the webpage.Webpage loads a flash simultaneously, and flash connects the socket server, and connects.The page script program is formed data with login person's number of the account and login person good friend's number of the account; Send to the socket server through the interface that calls flash; After the socket server is received data; Login person's number of the account is joined in the online tabulation list, and from all online lists, find out and the number of the account of login person good friend number of the account coupling.The Socket server connects through socket the number of the account that matches is sent to flash, flash invoking web page shell script with the status indication of the number of the account of these couplings in the webpage for reaching the standard grade.
Fig. 1 is the flow chart of the embodiment of the invention 1, specifies as follows:
Step 101: beginning;
Step 102: user's log-on webpage, obtain this user not with the buddy list of good friend's state and be shown to webpage;
Step 103: buddy list and number of the account are sent to the socket server, and the socket server is added to state of user in the online tabulation;
Step 104:socket server is according to good friend's number of the account of receiving, from online tabulation, finds out the number of the account of all and good friend's list match;
Step 105: the number of the account that finds is returned to webpage, page script with the buddy list in the webpage and the number of the account matching user status indication that finds for reaching the standard grade;
Step 106: finish.
Fig. 2 is the flow chart of the embodiment of the invention 2, and detailed step is following:
Step 201: beginning;
Step 202: user's log-on webpage, obtain this user not with the buddy list of good friend's state and be shown to webpage;
Step 203: load flash, connect the socket server, good friend's number of the account and user account are sent to the socket server;
All online users' of step 204:socket server record number of the account is in online tabulation;
Step 205:socket server is found out all and good friend's number of the account matching user name according to good friend's number of the account of receiving from online tabulation;
Step 206: the number of the account that finds is sent to flash;
The script interface of step 207:flash invoking web page with the buddy list in the webpage and the number of the account matching user status indication that finds for reaching the standard grade;
Step 208: finish.
Certainly; The present invention also can have other multiple combinations; Under the situation that does not deviate from spirit of the present invention and essence thereof; Those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. method that shows the buddy list of band good friend state may further comprise the steps:
1) user's log-on webpage, obtain this user not with the buddy list of good friend's state and show;
2) load flash, connect the socket server, good friend's number of the account and login user number of the account are sent to the socket server;
3) all online users' of socket server record number of the account is in online tabulation;
4) the socket server is found out all and the number of the account that good friend's number of the account is mated according to good friend's number of the account of receiving from online tabulation, and the number of the account that finds is sent to flash;
5) script interface of flash invoking web page with in the webpage with the number of the account matching user status indication that finds for reaching the standard grade.
2. the method for claim 1; It is characterized in that: wherein step 1) comprises following process: 1a) record web page access person user account behind the browser client Website login; The browser client accessed web page page, web page program obtain all good friends' of visitor's user account number of the account, the pet name, head portrait from database; 1b) information with all good friends is shown on the webpage.
3. the method for claim 1 is characterized in that: step 2 wherein) comprise following process: 2a) load a flash to webpage; 2b) flash connects the socket server; 2c) page script sends to the socket server with all good friends' number of the account and login person's number of the account through calling the flash interface.
4. the method for claim 1; It is characterized in that: the user is published to server with the presence of oneself; Simultaneously good friend's number of the account is sent to server; Server finds out the good friend's number of the account that exists in the alignment table from all online tabulations, and returns to webpage, and webpage is made online mark according to the number of the account of returning.
5. method that shows the buddy list of band good friend state, it is characterized in that: the user sends to said server through the web page access server and with friend information, and wherein, all online user's information of said server record are in online tabulation; Said server is according to the said friend information of receiving, from said online tabulation, obtains with said friend information matching user information and sends said user; Said user is according to the said user profile that receives, mark corresponding states.
6. method according to claim 5 is characterized in that: user's log-on webpage, obtain this user not with the buddy list of good friend's state and show; Load flash, connect the socket server, good friend's number of the account and login user number of the account are sent to said socket server.
7. method according to claim 5 is characterized in that: said socket server is found out all and the number of the account that good friend's number of the account is mated according to good friend's number of the account of receiving from online tabulation, the number of the account that finds is sent to said flash.
8. method according to claim 5 is characterized in that: the User Status of the number of the account that the number of the account that the script interface of said flash invoking web page finds following in the webpage is mated is labeled as reaches the standard grade.
9. method according to claim 6; It is characterized in that: record web page access person user account behind the browser client Website login; The said browser client accessed web page page, web page program obtain all good friends' of visitor's user account number of the account, the pet name, head portrait from database; All good friends' information is shown on the webpage.
10. method according to claim 6 is characterized in that: load a flash to webpage; Said flash connects said socket server; Page script sends to said socket server with all good friends' number of the account and lander's number of the account through calling the flash interface.
CN2011100599809A 2010-07-02 2011-03-14 Method for displaying friend list with friend state Pending CN102316148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100599809A CN102316148A (en) 2010-07-02 2011-03-14 Method for displaying friend list with friend state

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN2010102237136A CN101883151A (en) 2010-07-02 2010-07-02 General method for creating friend list capable of showing friend state on webpage
CN201010223713.6 2010-07-02
CN2011100599809A CN102316148A (en) 2010-07-02 2011-03-14 Method for displaying friend list with friend state

Publications (1)

Publication Number Publication Date
CN102316148A true CN102316148A (en) 2012-01-11

Family

ID=43055033

Family Applications (2)

Application Number Title Priority Date Filing Date
CN2010102237136A Pending CN101883151A (en) 2010-07-02 2010-07-02 General method for creating friend list capable of showing friend state on webpage
CN2011100599809A Pending CN102316148A (en) 2010-07-02 2011-03-14 Method for displaying friend list with friend state

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN2010102237136A Pending CN101883151A (en) 2010-07-02 2010-07-02 General method for creating friend list capable of showing friend state on webpage

Country Status (2)

Country Link
CN (2) CN101883151A (en)
WO (1) WO2012000229A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101854365B1 (en) * 2012-08-29 2018-05-03 에스케이플래닛 주식회사 SYSTEM AND METHOD FOR MANAGING Social Network Service ACCOUNT BASED ON PHONE NUMBER
CN104883290A (en) * 2015-04-03 2015-09-02 魅族科技(中国)有限公司 Contact person online status notification method and apparatus
CN106453067A (en) * 2016-12-09 2017-02-22 Tcl集团股份有限公司 Method and system for displaying friend login states in instant messaging tool

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040152477A1 (en) * 2001-03-26 2004-08-05 Xiaoguang Wu Instant messaging system and method
CN101217554A (en) * 2008-01-14 2008-07-09 张尧森 An instant communication method realized on website
CN101399785A (en) * 2008-10-16 2009-04-01 腾讯科技(深圳)有限公司 Buddy list exhibition system and method for IM platform
CN101635689A (en) * 2009-06-18 2010-01-27 北京亿企通信息技术有限公司 Method for detecting friend state in instant messaging tool

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1668439A1 (en) * 2003-09-30 2006-06-14 British Telecommunications Public Limited Company Personalisation
CN100354821C (en) * 2004-09-30 2007-12-12 腾讯科技(深圳)有限公司 OTA method and system based on instant messaging platform
US9083758B2 (en) * 2007-06-11 2015-07-14 Nokia Technologies Oy System and method for using presence information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040152477A1 (en) * 2001-03-26 2004-08-05 Xiaoguang Wu Instant messaging system and method
CN101217554A (en) * 2008-01-14 2008-07-09 张尧森 An instant communication method realized on website
CN101399785A (en) * 2008-10-16 2009-04-01 腾讯科技(深圳)有限公司 Buddy list exhibition system and method for IM platform
CN101635689A (en) * 2009-06-18 2010-01-27 北京亿企通信息技术有限公司 Method for detecting friend state in instant messaging tool

Also Published As

Publication number Publication date
CN101883151A (en) 2010-11-10
WO2012000229A1 (en) 2012-01-05

Similar Documents

Publication Publication Date Title
CN101217554B (en) An instant communication method realized on website
CN102307155A (en) Method for realizing group communication
EP2119153B1 (en) Sharing of Media Content Using Contact Data
CN106375865B (en) Bullet screen interaction method, system and terminal based on social information
CN101080056B (en) A management method and system of network browser collection folder of mobile terminal
US20090209286A1 (en) Aggregated view of local and remote social information
CN101945057B (en) Method for obtaining information provided by contact through network after input of contact information
US20080040436A1 (en) Instant messaging integrated in a browser
CN102307215A (en) Method for peer-to-peer (p2p) communication
CN102316049A (en) Method for automatically receiving group message
CN102014078A (en) Method for realizing instant messaging based on flash on webpage
CN103067257A (en) Method and server and system for achieving data mutual communication in social networking service
CN102307214A (en) Method for realizing list synchronization
CN102316149A (en) P2p (peer-to-peer) video communication method
CN103825806A (en) Display style adjusting method, device and system
CN102355509A (en) Method and device for transmitting and receiving message according to mobile number in contact list
CN102170480A (en) Processing method of contact information and server
CN102316148A (en) Method for displaying friend list with friend state
CN102315949A (en) Method for realizing p2p technology-based network conference
CN102387089A (en) Method and server for transporting messages
US20230013744A1 (en) Connection of network members
CN104144105A (en) Information transmission method, device and system
CN103152249A (en) Method and system for realizing mail receiving and sending and instant communication functions at clients
CN102158429A (en) Community platform based group communication method and system
CN102006565A (en) Method for sending personal social account numbers to host of business card after identification of business card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120111

WD01 Invention patent application deemed withdrawn after publication