CN102209049B - Instant messaging system and method for user information processing - Google Patents

Instant messaging system and method for user information processing Download PDF

Info

Publication number
CN102209049B
CN102209049B CN 201110134280 CN201110134280A CN102209049B CN 102209049 B CN102209049 B CN 102209049B CN 201110134280 CN201110134280 CN 201110134280 CN 201110134280 A CN201110134280 A CN 201110134280A CN 102209049 B CN102209049 B CN 102209049B
Authority
CN
China
Prior art keywords
server
querying
task
querying server
communication
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.)
Expired - Fee Related
Application number
CN 201110134280
Other languages
Chinese (zh)
Other versions
CN102209049A (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.)
Codyy Education 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 CN 201110134280 priority Critical patent/CN102209049B/en
Publication of CN102209049A publication Critical patent/CN102209049A/en
Priority to PCT/CN2012/075542 priority patent/WO2012159539A1/en
Application granted granted Critical
Publication of CN102209049B publication Critical patent/CN102209049B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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]
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • 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/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an instant messaging system and an instant messaging method for user information processing. The system comprises a plurality of clients, a communication server, a global server and query servers, wherein the communication server is connected with the clients; the clients are connected with the query servers and the global server by the communication server respectively; the communication server is connected with the global server by the query servers; the clients transmit and store user information to the global server by the communication server; the global server synchronizes the user information to the query servers; when the number of query tasks received by the query server from the clients exceeds a threshold value, the communication server allocates the query tasks of which the number exceeds the threshold value according to the task processing priorities and task receiving strategy of the query server; and the number of the query servers is at least two.

Description

Instant communicating system and method that a kind of user profile is handled
Technical field
The invention belongs to the information processing technology, relate in particular to instant communicating system and method that a kind of user profile is handled.
Background technology
The development of Internet technology can be stayed indoors us and is just realized instant messaging, with good friend's chat, with affiliate's negotiation or the like.At present, the immediate communication tool that downloads and installs based on needs is like MSN; QQ; POPO has received everybody liking deeply, and it provides new approach for people's communication, information interchange, is another the important information interchange mode except mobile phone, fixed line, Email; By these instruments, the user can realize single or many people video, can hold the network teleconference, can carry out network remote education, can also let the interchange cost between people and the people reduce greatly, and improve efficient.
In the use of above-mentioned immediate communication tool, the user need carry out operations such as user profile inquiry.Yet; When the throughput of instant communication system is very big, and information interchange can cause the instant communicating system inquiring user to share the inefficiency of information when very frequent; Also can cause instant communicating system to postpone or the Business Processing failure, more seriously even cause system crash.
Summary of the invention
The present invention provides instant communicating system that a kind of user profile handles and method to address the above problem.
The instant communicating system that the present invention provides a kind of user profile to handle comprises a plurality of clients, at least one communication server, at least one global server and querying server.Communication server links to each other with client.Client links to each other with querying server and global server respectively through communication server, and communication server links to each other with global server through querying server.Client through communication server with user profile transmission and be stored to global server, global server with user profile synchronously to querying server.The query task that receives from client when querying server outnumber threshold value the time, communication server receives strategy according to the task processing priority of querying server and task and distributes the query task that surpasses threshold value.Wherein, the number of querying server is at least two.
The instant communication method that the present invention also provides a kind of user profile to handle.Said method may further comprise the steps: user's logging on client, client is with user profile transmission and be stored to global server, global server with user profile synchronously to querying server; Querying server receives query task through communication server from the client crowd; The query task that receives from client when querying server outnumber threshold value the time, communication server receives strategy according to the task processing priority of querying server and task and distributes the query task that surpasses threshold value.Wherein, the number of querying server is at least two.
Compared to prior art; Instant communicating system and method according to user profile processing provided by the invention; Client is carried out the user profile inquiry through the querying server of correspondence, and communication server will be dispensed to other querying servers above the query task of corresponding querying server threshold value, so; Can improve the operating efficiency of querying server and global server, and improve the search efficiency of user profile.In addition, also improve the throughput of instant communicating system effectively, and improved communication efficiency, made communication instant more smooth.
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:
The sketch map of the instant communicating system that the user profile that provides for preferred embodiment according to the present invention shown in Figure 1 is handled;
The sketch map of the communication server that provides for preferred embodiment according to the present invention shown in Figure 2;
The flow chart of the instant communication method that the user profile that provides for preferred embodiment according to the present invention shown in Figure 3 is handled.
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 sketch map of the instant communicating system that the user profile that provides for preferred embodiment according to the present invention shown in Figure 1 is handled.The instant communicating system that the user profile that preferred embodiment of the present invention provides is handled comprises a plurality of clients, at least one communication server, at least one global server and at least two querying servers.As shown in Figure 1, be that example describes with six customer end A 10, A11, A20, A21, A30, A31, global server, three communication server B1~B3 and three querying server C1~C3.Yet the present invention does not limit the number of client, global server, communication server and querying server.In addition, as shown in Figure 1, customer end A 10~A11 connects communication server B1, and customer end A 20~A21 connects communication server B2, and customer end A 30~A31 connects communication server B3.Yet the present invention does not also limit the number of the client of each communication server connection.
In present embodiment; As shown in Figure 1; Customer end A 10~A11 links to each other with querying server C1 and global server through communication server B1; Customer end A 20~A21 links to each other with querying server C2 and global server through communication server B2, and customer end A 30~A31 links to each other with querying server C3 and global server through communication server B3.Communication server B1 links to each other with global server through querying server C1, and communication server B2 links to each other with global server through querying server C2, and communication server B3 links to each other with global server through querying server C3.For example; The client in Shanghai links to each other with the querying server in Shanghai through the communication server in Shanghai; The client in Suzhou links to each other with the querying server in Suzhou through the communication server in Suzhou, and Pekinese's client links to each other with Pekinese's querying server through Pekinese's communication server.In this, the number of querying server is consistent with the number of communication server.Yet the present invention is not limited thereto.In other embodiment, the number of communication server can be one, and communication server can link to each other with a plurality of querying servers.
In present embodiment, customer end A 10~A11, A20~A21, A30~A31 respectively through communication server B1~B3 with user profile transmission and be stored to global server, global server with user profile synchronously to querying server C1~C3.Wherein, user profile is not limited to user login information, also can comprise user's modification information, user's lastest imformation etc.Particularly, the client of zones of different is through communication server and the continuous and shared global server of different querying servers.Corresponding querying server can be the client service of corresponding region, carries out the query task (for example searching user's information) that client is sent.For example, the querying server in Shanghai can be the Shanghai user user profile inquiry service is provided, and the querying server in Suzhou can be the Suzhou user user profile inquiry service is provided.So, adopt distributed querying server to be responsible for the query task of zones of different client, improved search efficiency, make communication more instant smooth.
In present embodiment, the query task that receives from a plurality of clients when querying server outnumber threshold value the time, communication server receives strategy according to the task processing priority of querying server and task and distributes the query task that surpasses threshold value.Wherein, threshold value for example can be set according to the operating efficiency of different querying servers.In addition, communication server is set the task processing priority of querying server according to the idleness of querying server.
Particularly, the predeterminable idleness of communication server and the task processing priority grade table of comparisons.For example; When the grade of task processing priority is set to level Four; Idleness is following with task processing priority grade corresponding relation: idleness is 80%~100% corresponding the 4th grade of querying server; Idleness is 60%~80% corresponding the 3rd grade of querying server, and idleness is 40%~60% corresponding the 2nd grade of querying server, and idleness is 0%~40% corresponding the 1st grade of querying server.In this, the priority level of the querying server that idleness is big more is high more.Yet the present invention is not limited thereto.The grade of above-mentioned task processing priority with and can set according to actual needs with the corresponding relation of idleness.
Next being set to 4 grades with three querying server C1~C3 and task processing priority grade is that example specifies.As shown in Figure 1, customer end A 10~A11, A20~A21, A30~A31 send query task to corresponding querying server C1~C3 through communication server B1~B3 respectively, and communication server B1~B3 monitors the operating state of querying server C1~C3 in real time.The query task that receives from customer end A 10~A11 through communication server B1 as querying server C1 outnumber the threshold value of querying server C1 the time, communication server B1 can be according to the arrangement of the idleness updating task processing priority of querying server C2, C3.If the real-time idleness of querying server C2 is 85%; The real-time idleness of querying server C3 is 70%; Then according to idleness and the task processing priority grade table of comparisons querying server C2 can be set be the 4th grade to communication server B1; Querying server C3 is the 3rd grade, and promptly the priority level of querying server C2 is higher than querying server C3.In present embodiment, according to the real-time idleness of querying server, but the task processing priority real-time update of querying server.So, communication server B1 can be dispensed to querying server C2 (that is the 4th grade querying server) earlier with the query task that querying server C1 surpasses its threshold value.Querying server C2 can receive the query task that strategy receives corresponding number according to task.In this, it is the threshold value of querying server and the difference of current task amount that task receives strategy.
After if querying server C2 receives the query task of communication server B1 distribution, the query task sum of its processing surpasses the threshold value that querying server C2 is provided with, and then querying server C2 is responsible for carrying out the query task that all surpass the threshold value of querying server C1.If the query task that querying server C2 handles sum surpasses the threshold value that querying server C2 is provided with, then communication server B1 will be redistributed to querying server C3 (that is the querying server of the 3rd grade) above the query task of querying server C2 threshold value.Yet the present invention is not limited thereto.In other embodiment; If the query task that querying server C2 handles sum surpasses the threshold value that querying server C2 is provided with; Then querying server C2 can be redistributed to querying server C3 (that is the querying server of the 3rd grade) with the query task that surpasses querying server C2 threshold value.Then, judge whether sum that querying server C3 receives query task behind the above-mentioned query task surpasses the threshold value of querying server C3.If surpass, then communication server B1 or querying server C3 can call the querying server execution query task of next grade in the priority sequence.When not having the querying server of next grade, pending query task is waited in line to handle.In this, communication server distributes query task according to the combination of idleness and priority, has made full use of querying server, has avoided the wasting of resources, has also improved information inquiry efficient.
Shown in Figure 2 is the sketch map of the communication server of preferred embodiment according to the present invention.Like Fig. 1 and shown in Figure 2, communication server comprises monitoring modular 100 and control module 101.Wherein, control module 101 connects monitoring modular 100.The number of monitoring modular 100 monitoring querying server C1~query tasks that C3 receives.Control module 101 is according to the idleness updating task processing priority of querying server C1~C3, and receives strategy according to task processing priority and task and distribute the query task that surpasses threshold value.
Particularly, user's logging on client, client is with user profile transmission and be stored to global server, global server with user profile synchronously to querying server C1~C3.Querying server C1~C3 receives query task through communication server B1~B3 from client, and the number of the monitoring modular 100 monitoring querying server C1~query tasks that C3 receives of communication server.Simultaneously, monitoring modular 100 transfers to control module 101 to the number of the query task of the querying server C1 that monitors~C3 reception.Control module 101 receives can judge whether above-mentioned data surpass the threshold value that is provided with and calculate the idleness of querying server C1~C3 after the above-mentioned data.The query task that receives from client as querying server C1~C3 outnumber the threshold value of its setting the time, the control module 101 of communication server receives strategy according to the task processing priority of querying server and task and distributes the query task that surpasses threshold value.Distribute the process of query task ditto said about communication server according to task processing priority and task reception strategy, so repeat no more in this.
Shown in Figure 3 is the flow chart of the instant communication method handled of the user profile of the preferred embodiment according to the present invention.As shown in Figure 3, in step 101, user's logging on client, client is with user profile transmission and be stored to global server, global server with user profile synchronously to querying server.In step 102, querying server receives query task through communication server from client.In step 103, the query task that receives from client when querying server outnumber threshold value the time, communication server receives strategy according to the task processing priority of querying server and task and distributes the query task that surpasses threshold value.Detailed process about above-mentioned steps is ditto said, so repeat no more in this.
In sum; Instant communicating system and method that the user profile that preferred embodiment provides according to the present invention is handled; Adopt distributed querying server to be responsible for the query task of zones of different client, communication server will be dispensed to other querying servers according to task processing priority and task reception strategy above the query task of corresponding querying server threshold value.So, can improve the operating efficiency of querying server and global server, and improve the search efficiency of user profile.In addition, also improve the throughput of instant communicating system effectively, and improved communication efficiency, made communication instant more smooth.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. the instant communicating system that user profile is handled is characterized in that, comprising:
A plurality of clients;
At least one communication server, said communication server links to each other with said a plurality of clients;
At least one global server; And
Querying server; Said a plurality of client links to each other with said querying server and said global server respectively through said communication server; Said communication server links to each other with said global server through said querying server; Said a plurality of client is transmitted user profile through said communication server and is stored to said global server, and said global server is synchronous to said querying server with said user profile
The query task that receives from said a plurality of clients when said querying server outnumber threshold value the time; Said communication server receives the query task that the strategy distribution surpasses said threshold value according to the task processing priority and the task of said querying server; Wherein, The number of said querying server is at least two, and it is the threshold value of querying server and the difference of current task amount that said task receives strategy.
2. the instant communicating system that user profile according to claim 1 is handled is characterized in that, said communication server is set the said task processing priority of said querying server according to the idleness of said querying server.
3. the instant communicating system that user profile according to claim 2 is handled; It is characterized in that; If the said task processing priority of said querying server is set at 4 grades according to the idleness of said querying server, then said communication server is dispensed to the said query task that surpasses threshold value the querying server of the 4th grade.
4. the instant communicating system that user profile according to claim 3 is handled; It is characterized in that; If after the querying server of the 4th grade receives the query task of said communication server distribution; The threshold value that outnumbers setting of the query task that the querying server of the 4th grade is handled, then said communication server are called the querying server of the 3rd grade and are carried out query task.
5. the instant communicating system that user profile according to claim 3 is handled; It is characterized in that; If after the querying server of the 4th grade receives the query task of said communication server distribution; The threshold value that outnumbers setting of the query task that the querying server of the 4th grade is handled, the querying server of then said the 4th grade are called the querying server of the 3rd grade and are carried out query task.
6. the instant communicating system that user profile according to claim 1 is handled; It is characterized in that; Said communication server comprises control module and monitoring modular; Said control module connects said monitoring modular; The number of the query task that the said querying server of said monitoring module monitors receives also transfers to said control module with the number of above-mentioned query task, and said control module is upgraded said task processing priority according to the idleness of said querying server, and receives strategy according to said task processing priority and said task and distribute the said query task that surpasses threshold value.
7. the instant communication method that user profile is handled is characterized in that, may further comprise the steps:
User's logging on client, said client is with user profile transmission and be stored to global server, said global server with said user profile synchronously to querying server;
Said querying server receives query task through communication server from said client;
The said query task that receives from said client when said querying server outnumber threshold value the time; Said communication server receives the query task that the strategy distribution surpasses said threshold value according to the task processing priority and the task of said querying server; Wherein, The number of said querying server is at least two, and it is the threshold value of querying server and the difference of current task amount that said task receives strategy.
CN 201110134280 2011-05-24 2011-05-24 Instant messaging system and method for user information processing Expired - Fee Related CN102209049B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 201110134280 CN102209049B (en) 2011-05-24 2011-05-24 Instant messaging system and method for user information processing
PCT/CN2012/075542 WO2012159539A1 (en) 2011-05-24 2012-05-15 Instant messaging system and method for processing user information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110134280 CN102209049B (en) 2011-05-24 2011-05-24 Instant messaging system and method for user information processing

Publications (2)

Publication Number Publication Date
CN102209049A CN102209049A (en) 2011-10-05
CN102209049B true CN102209049B (en) 2012-07-18

Family

ID=44697718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110134280 Expired - Fee Related CN102209049B (en) 2011-05-24 2011-05-24 Instant messaging system and method for user information processing

Country Status (2)

Country Link
CN (1) CN102209049B (en)
WO (1) WO2012159539A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209051B (en) * 2011-05-24 2012-07-04 苏州阔地网络科技有限公司 Instant messaging system and method for realizing user information sharing
CN102209048B (en) * 2011-05-24 2012-05-23 苏州阔地网络科技有限公司 Instant messaging system and method for realizing information sharing for users
CN102209049B (en) * 2011-05-24 2012-07-18 苏州阔地网络科技有限公司 Instant messaging system and method for user information processing
CN102209050B (en) * 2011-05-24 2012-07-18 苏州阔地网络科技有限公司 Instant messaging system and method for realizing user information sharing
CN103929454B (en) * 2013-01-15 2017-06-20 中国移动通信集团四川有限公司 The method and system of load balancing storage in a kind of cloud computing platform

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090371B (en) * 2006-06-14 2011-02-02 阿里巴巴集团控股有限公司 Method and system for user information management in at-once communication system
CN101102288B (en) * 2006-07-06 2011-08-24 阿里巴巴集团控股有限公司 A method and system for realizing large-scale instant message
CN100512236C (en) * 2007-06-18 2009-07-08 北京亿企通信息技术有限公司 An information monitoring system in instant communication
US7467207B1 (en) * 2008-02-01 2008-12-16 International Business Machines Corporation Balancing communication load in a system based on determination of user-user affinity levels
CN102209051B (en) * 2011-05-24 2012-07-04 苏州阔地网络科技有限公司 Instant messaging system and method for realizing user information sharing
CN102209048B (en) * 2011-05-24 2012-05-23 苏州阔地网络科技有限公司 Instant messaging system and method for realizing information sharing for users
CN102209047B (en) * 2011-05-24 2012-08-22 苏州阔地网络科技有限公司 Instant messaging system and method for realizing information sharing
CN102209049B (en) * 2011-05-24 2012-07-18 苏州阔地网络科技有限公司 Instant messaging system and method for user information processing
CN102209050B (en) * 2011-05-24 2012-07-18 苏州阔地网络科技有限公司 Instant messaging system and method for realizing user information sharing

Also Published As

Publication number Publication date
CN102209049A (en) 2011-10-05
WO2012159539A1 (en) 2012-11-29

Similar Documents

Publication Publication Date Title
CN102209047B (en) Instant messaging system and method for realizing information sharing
CN102209049B (en) Instant messaging system and method for user information processing
CN102209051B (en) Instant messaging system and method for realizing user information sharing
CN102209050B (en) Instant messaging system and method for realizing user information sharing
CN103561049A (en) Method for processing terminal scheduling request, system thereof and device thereof
CN105847139A (en) Data transmission method, apparatus and system
WO2011103387A8 (en) Systems and methods for managing pdp contexts in a wireless data communications network
CN110012115A (en) The update method and system of direct broadcasting room pushed information
CN101834765B (en) System and method for remote file transfer
CN102209048B (en) Instant messaging system and method for realizing information sharing for users
CN103179009B (en) A kind of dynamic self-adapting call method of distributed management system
CN209805866U (en) Conversation maintaining system
CN105072145A (en) IOT (Internet of Things) communication method and system
CN1487706B (en) Method, system and control process for enterprise to communicate timely
CN103152428A (en) Method for carrying out service communication among nodes on cloud platform
CN101425918A (en) Routing method based on tree network topology
CN107632991A (en) A kind of public material database method for building up and system
CN102185870B (en) Method and system for realizing mode switch between instant messaging and network conference
CN105515947A (en) Method, server and system for information intercommunication of heterogeneous terminal based on XMPP (Extensible Messaging and Presence Protocol)
CN104426746A (en) Client message pushing method, client message pushing device and server
CN103414652B (en) A kind of communication message processing method and system
CN104463478A (en) Communication platform and communication method
CN106790614B (en) Scheduling method and system based on cloud platform
CN101567802B (en) Mobile Internet client-parameter setting method, client and network-side device
CN211744484U (en) Multi-level cluster type supply chain simulation network architecture

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
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: Suzhou City, Jiangsu province 215121 Fengting Avenue Suzhou Industrial Park No. 666 Weiting Intelligent Industrial Park Building 8

Patentee after: Kuo Di education and science company limited

Address before: Suzhou City, Jiangsu province 215121 Fengting Avenue Suzhou Industrial Park No. 666 Weiting Intelligent Industrial Park Building 8

Patentee before: Suzhou Kuodi Network Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120718

Termination date: 20180524