CN105871698A - Management method and system of instant communication service - Google Patents

Management method and system of instant communication service Download PDF

Info

Publication number
CN105871698A
CN105871698A CN201610373292.2A CN201610373292A CN105871698A CN 105871698 A CN105871698 A CN 105871698A CN 201610373292 A CN201610373292 A CN 201610373292A CN 105871698 A CN105871698 A CN 105871698A
Authority
CN
China
Prior art keywords
service
instant messaging
cryptographic hash
service identifiers
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.)
Granted
Application number
CN201610373292.2A
Other languages
Chinese (zh)
Other versions
CN105871698B (en
Inventor
权伟
张宏科
周华春
刘亚娜
赵允
富建国
刘宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jiaotong University
Original Assignee
Beijing Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jiaotong University filed Critical Beijing Jiaotong University
Priority to CN201610373292.2A priority Critical patent/CN105871698B/en
Publication of CN105871698A publication Critical patent/CN105871698A/en
Application granted granted Critical
Publication of CN105871698B publication Critical patent/CN105871698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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/06Message adaptation to terminal or network requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Abstract

A management method of instant communication service includes the steps of at least collecting user account numbers, user passwords, instant communication service names, client side versions, client side terminal type and login state information from registration information sent by instant communication service client sides, and generating hash values from the collected information through a hash function, recombining the hash values to form service identification of instant communication service, and managing the instant communication service according to the service identification. The compatibility and expandability of network service are improved, and instant communication service is uniformly managed.

Description

The management method of a kind of instant messaging service and system
Technical field
The present invention relates to computer network and the communications field.The management method serviced more particularly, to a kind of instant messaging and system.
Background technology
Along with developing rapidly and growing to communication requirement of people of information network technique, network service continues to bring out (such as: Email, Online Video, ecommerce and instant messaging etc.).In numerous service of information network, instant messaging (Instant Messaging, IM) service develops rapidly, and its convenience, real-time, cheapness etc. is doomed to make its beyond tradition communication mode become major flow section conveniently.Instant messaging can be described as continuing after Email (Electronic Mail, E-mail), World Wide Web (World Wide Web, WWW), the application of most lethality on the Internet.For the communication modes such as traditional phone, E-mail, expense is not only saved in instant messaging, and efficiency is the highest.
Rise due to MSN, " content " that can carry out instant intercommunication is expanded to just rapidly the aspects such as image, word, data by voice comprehensively, but " multi-functional " is not the most whole intensions of instant messaging, it is possible to crosses over multiple platforms such as the Internet, mobile phone, landline telephone and communicates the value place being only instant messaging future.The content of instant intercommunication is not only voice, also includes image, data, data etc.;Terminal unit is possible not only to be computer, it is also possible to be mobile phone;The version of MSN does not only have PC (Personal Computer) version, also mobile phone version, webpage version etc..Generally speaking, MSN can carry out the communication of any mode with anyone whenever and wherever possible to realize user,
" multi-functional ", " super convenient " of instant messaging service, although can largely promote Consumer's Experience, but, this also will certainly bring certain burden to network.Make a general survey of these network services, it can be seen that there is implementation difference, COS difference, service orientation terminal not parity problem between service, cause instant messaging service to be difficult to be uniformly controlled management.
For solving the problems referred to above, the service identifiers proposing Pervasive Service in integrated identification network system and key technology [1] is theoretical, establishes and resolves mapping model accordingly, and the service layer of establishment based on this is uniformly processed mechanism and mechanism, it is provided that Pervasive Service.In integrated identification network new model, service layer introduces virtual service module and virtual connection module.Virtual service module can solve unified service object's scheduling, it is provided that the controlled of service is managed, for supporting that multiple service provides possible.It is crucial that introduce service identifiers (Service IDentifier, SID) concept, service to various network supports carries out unified classified description, and design service is uniformly processed mechanism (including service registry, service-seeking, service foundation etc.) on this basis.
Under integrated identification network background, it has been proposed that about the specific service mark generting machanism of web page resources with service, i.e. use URL (Uniform Resource Locator, URL) to generate the SID of this web page resources.But, for how to realize instant messaging service homogeneous classification description and the design processed and study the most not deeply.Current Internet resources use the naming method centered by main frame, the upper webpage of Internet and other resources to use URL, and the first half of each URL represents that host domain name, latter half represent resource position in current hosts.Why Internet resources and service can use URL, and it is changeless for being because they positions in a network, and each file on the Internet has a unique URL, and the information that it comprises points out how the position of file and browser should process it.
But for instant messaging service, if still using this mode of URL the most applicable.Main cause have following some: (1) instant communication user only account is changeless, but every time registration service time state can change, such as, the client release number of login, the terminal type logged in etc. can be different.(2) instant messaging provides instant conversational services end to end, and this service can change along with the change of User Status.Such as, user's logging status is transferred to off-line by presence, and the software version number that user logs in changes, and the terminal type that user logs in switches etc., all can cause the change that instant messaging services.2 reasons of summary, it is necessary to for instant messaging own characteristic, determine service identifiers, and utilize this service identifiers to complete instant messaging service to unify high-efficiency management.
Patent documentation [2] proposes the unified description of a kind of Internet resources and service, service and the lookup of resource mainly for the Internet, propose based on ontology describing, the unified description that resource and service are got up by attribute relationship, to realize unifying resource and service to search.The present invention includes: comprise the Internet of LAN and wide area network and wireless network, and its committed step is: the level of the class of definition body;Defined attribute;User registers its resource provided and service to registration center;Internet resources are inquired about by user side.Client is needed the Internet resources obtained from network and service to do pro forma unification by the present invention, can realize resource and the registration of service and inquiry based on this unification.
The shortcoming of the program is:
(1) program does not accounts for the instant messaging uncertain feature of service login state.The uniform service proposed in the program describes method and relies primarily on service and the position uniqueness of resource and invariance, is pointed to the resource in a certain network site and carries out unique device mark description, and is managed it by this service identifiers.But, instant communication user only account is changeless, and state during each registration service is likely to change, and such as, the client release number of login, the terminal type etc. of login are understood different.When the either element (include logging status, log in client release number etc.) in User Status changes, the instant messaging service of this user registration will be different.
(2) program does not accounts for the feature of instant messaging service instantaneity.Instant messaging provides instant conversational services end to end, and when the either element (include logging status, log in client release number etc.) in User Status changes, this service can change along with the change of User Status.But, the service describing method proposed in this programme is just for services.
Patent documentation [3] provides a kind of network naming mechanism and name analytic mapping system, belongs to networking technology area.The naming mechanism of the present invention first by data, service publisher or requestor sends data or service request;Then it is responsible for extracting data or the metamessage of service by relay layer;Obtaining a character string through hash algorithm again, this character string is used for identifying extracted data or service.The name resolution system of the present invention applies a Three Tiered Network Architecture maintenance level, realize layer and relay layer realizes, the parsing utilizing the name of above-mentioned rule name maps, thus substitute the name analytic mapping system of existing DNS, have effectively achieved network name and resolve mapping.The present invention realizes the Unify legislation of data and service by the Uniform Name of data and service, and realizes name resolving process with Three Tiered Network Architecture, thus have effectively achieved name resolution and map, and reduces the waste of Internet resources.
The shortcoming of the program is: the program does not illustrate the particular make-up key element of this name when network service is named, mention the resource utilizing web crawlers means to be actively discovered in network, then info web is analyzed, for network data, extract positional information, Service provider information is extracted for service, then is responsible for extracting data or the metamessage of service by relay layer.But for Service provider information's specifically which content it is not further elaborated.
Patent documentation [4] relates to instant messaging technical field, particularly relates to implementation method and the system thereof of a kind of instant messaging service.The present invention is implementation method and the system thereof of a kind of instant messaging service, user for regional distributes area code and language version information in advance, the instant messaging number utilizing area code and each user carries out authentication to instant communication user, enable a user to log-in instant communication service system, and after user logins successfully, record the language version information of this user, in user interaction process, utilize the language version information of this record, display content is carried out code conversion and character translation, thus realizes interconnecting between zones of different user.Utilize the present invention, it is possible to make each user that its Language Interface being familiar with can be used to exchange with other users with language so that the exchange between user is no longer influenced by the restriction of region and language, thus substantially increases the service quality of instant messaging service.
The shortcoming of the program is: although proposing the Explore of Unified Management Ideas for instant messaging service in the program, but using the method, cannot distinguish between client type, client release number and terminal type between each instant messaging service.The program more lays particular emphasis on the problem of language convention between different geographical that solves, between zones of different, due to different language convention, there are the different sayings to identical things, such as, continent is referred to as Fructus Ananadis comosi, Fructus Ananadis comosi then it is referred to as in Taiwan, this kind of saying inconsistent, can be when the user of zones of different interconnects, and the exchange for user manufactures certain difficulty.Although using the program to can solve the problem that the problem of language convention, but the unified management of prior problem service identifiers not solving.
List of references:
[1] Su Wei, Liu Qi, Zhang Hongke. integrated identification network system and key technology [J]. ZTE Corporation's technology, 2011,17 (2): 1-4.
[2] a kind of Internet resources and the unified description of service, the patent No.: CN200710121749.1
[3] a kind of network naming mechanism and name analytic mapping system, the patent No.: CN200910092501.6
[4] a kind of instant messaging service implementation method and system, the patent No.: CN200510071191.1
Summary of the invention
It is an object of the invention to provide management method and the system of a kind of instant messaging service, solve at least one problem above-mentioned.
For reaching above-mentioned purpose, the present invention uses following technical proposals:
The management method of a kind of instant messaging service, comprises the following steps:
Step a: collecting part information from the log-on message that instant messaging service client sends, described partial information at least includes: user account, user cipher, instant messaging service name, client release, client terminal type and logging status;Wherein, logging status is dummy status;
Step b: by hash function, the information gathered is generated cryptographic Hash respectively, described cryptographic Hash is reconfigured, as the service identifiers of instant messaging service;
Step c: store described service identifiers;
Step d: when user logs in, gather described partial information, the information of collection is generated cryptographic Hash respectively by hash function, described cryptographic Hash is reconfigured the new service identifiers as instant messaging service, according to user account in the service identifiers stored and user cipher cryptographic Hash, login is authenticated;
Step e: certification success, then in detection latest services mark, instant messaging service name, client release and client terminal type cryptographic Hash are the most consistent with instant messaging service name, client release and client terminal type cryptographic Hash in the service identifiers stored;
Step f: if consistent, then presence cryptographic Hash in described new service identifiers is replaced off-line state cryptographic Hash in the service identifiers stored;
Step j: if it is inconsistent, store new service identifiers;
Step h: authentification failure, then refuse this time to log in requirement;
Step i: management instant messaging service;
Wherein, described management instant messaging service includes:
According to instant messaging service name cryptographic Hash in the service identifiers stored, distinguish between different instant messaging service communication protocol difference and ensure that system compatible variety classes instant messaging services;
According to user account cryptographic Hash in the service identifiers stored, it is achieved the inquiry of instant messaging object also sets up instant messaging service;
According to client release cryptographic Hash in the service identifiers stored, it is achieved the instant messaging service between identical type instant messaging service different clients version;
According to client terminal type cryptographic Hash in the service identifiers stored, it is achieved the instant messaging service between the different terminals of identical instant messaging service;
Step j: judge whether client has been off according to client heartbeat message;
Step k: if it is, judge described client off-line, replaces the logging status cryptographic Hash stored by off-line state cryptographic Hash;
Step l: if it is not, then forward step j to.
Preferably, service identifiers described in centralized or distributed storage mode storage is used.
Preferably, the cryptographic Hash that user account generates is stored in first character section, and the cryptographic Hash that user cipher generates is stored in second field.
The management system of a kind of instant messaging service, including information acquisition unit, service identifiers signal generating unit, service identifiers memory element, login authentication unit, service managing unit and judging unit;
Collecting part information registration that described information acquisition unit sends from client or log-on message, as service identifiers after being generated cryptographic Hash by the information gathered by hash function and described cryptographic Hash reconfigured;Described partial information at least includes: user account, user cipher, instant messaging service name, client release, client terminal type and logging status;Wherein, during registration, described logging status is dummy status;
The information of collection is generated cryptographic Hash by hash function by described service identifiers signal generating unit respectively, described cryptographic Hash is reconfigured, as the service identifiers of instant messaging service;
Service identifiers described in described service identifiers cell stores;Wherein, the cryptographic Hash that user account generates is stored in first character section, and the cryptographic Hash that user cipher generates is stored in second field;
Login, for when users log on, is authenticated by described login authentication unit according to user account in the service identifiers stored and user cipher cryptographic Hash;If certification success, then allow this time to log in requirement, if authentification failure, then refuse this time to log in requirement;
The management instant messaging service of described service managing unit service identifiers based on described service identifiers cell stores;
According to client heartbeat message, described judging unit is for judging whether client has been off;If it is, off-line state is converted into cryptographic Hash and replaces the logging status cryptographic Hash stored;If it is not, then continue to judge.
Preferably, described login authentication unit farther includes more new module, detects instant messaging service name, client release and client terminal type cryptographic Hash in latest services mark the most consistent with instant messaging service name, client release and client terminal type cryptographic Hash in the service identifiers stored after logining successfully;If consistent, then presence cryptographic Hash in new service identifiers is replaced off-line state cryptographic Hash in the service identifiers stored;If it is inconsistent, store described new service identifiers.
Preferably, described service managing unit includes:
Discriminating module, according to instant messaging service name cryptographic Hash in the service identifiers stored, distinguishes between different instant messaging service communication protocol difference and ensures that system compatible variety classes instant messaging services;
Enquiry module, according to user account cryptographic Hash in the service identifiers stored, it is achieved the inquiry of instant messaging object also sets up Communications service;
Version unified modules, according to client release cryptographic Hash in the service identifiers stored, it is achieved the instant messaging service between identical type instant messaging service different clients version
Terminal unified modules, according to client terminal type cryptographic Hash in the service identifiers stored, it is achieved the instant messaging service between the different terminals of identical instant messaging service.
Preferably, described service identifiers memory element storage mode is distributed or centralized.
Beneficial effects of the present invention is as follows:
User account, user cipher, instant messaging service name, client release, client terminal type and the logging status of instant messaging service is identified, improve the compatibility of network service, extensibility, it is achieved the unified management to instant messaging service.
Accompanying drawing explanation
Below in conjunction with the accompanying drawings the detailed description of the invention of the present invention is described in further detail.
Fig. 1 illustrates the method for the invention step.
Fig. 2 illustrates that cryptographic Hash of the present invention generates process schematic.
Fig. 3 illustrates cryptographic Hash storage mode schematic diagram of the present invention.
Fig. 4 illustrates system structure schematic diagram of the present invention.
Detailed description of the invention
In order to be illustrated more clearly that the present invention, below in conjunction with preferred embodiments and drawings, the present invention is described further.Parts similar in accompanying drawing are indicated with identical reference.It will be appreciated by those skilled in the art that following specifically described content is illustrative and be not restrictive, should not limit the scope of the invention with this.
As it is shown in figure 1, the management method of a kind of instant messaging service comprises the following steps:
Step a: collecting part information from the log-on message that instant messaging service client sends, described partial information at least includes: user account, user cipher, instant messaging service name, client release, client terminal type and logging status;Wherein, logging status is dummy status.
Step b: by hash function, the information gathered is generated cryptographic Hash respectively, described cryptographic Hash is reconfigured, as the service identifiers of instant messaging service.
Step c: use service identifiers described in centralized or distributed storage mode storage;Wherein, the cryptographic Hash that user account generates is stored in first character section, and the cryptographic Hash that user cipher generates is stored in second field.
Step d: when user logs in, gather described partial information, the information of collection is generated cryptographic Hash respectively by hash function, described cryptographic Hash is reconfigured the new service identifiers as instant messaging service, according to user account in the service identifiers stored and user cipher cryptographic Hash, login is authenticated.
Step e: certification success, then in detection latest services mark, instant messaging service name, client release and client terminal type cryptographic Hash are the most consistent with instant messaging service name, client release and client terminal type cryptographic Hash in the service identifiers stored.
Step f: if consistent, then presence cryptographic Hash in described new service identifiers is replaced off-line state cryptographic Hash in the service identifiers stored.
Step j: if it is inconsistent, store new service identifiers.
Step h: authentification failure, then refuse this time to log in requirement.
Step i: management instant messaging service, including:
According to instant messaging service name cryptographic Hash in the service identifiers stored, distinguish between different instant messaging service communication protocol difference and ensure that system compatible variety classes instant messaging services.
According to user account cryptographic Hash in the service identifiers stored, it is achieved the inquiry of instant messaging object also sets up instant messaging service.
According to client release cryptographic Hash in the service identifiers stored, it is achieved the instant messaging service between identical type instant messaging service different clients version.
According to client terminal type cryptographic Hash in the service identifiers stored, it is achieved the instant messaging service between the different terminals of identical instant messaging service.
Step j: judge whether client has been off according to client heartbeat message.
Step k: if it is, judge described client off-line, replaces the logging status cryptographic Hash stored by off-line state cryptographic Hash.
Step l: if it is not, then forward step j to.
As in figure 2 it is shown, at least six group information gathered generate cryptographic Hash, the service identifiers that the cryptographic Hash recombinant of generation services as this instant messaging by hash function one by one, and centralized or distributed storage pattern is used to store.
Concrete, in the user account, user cipher, instant messaging service name, client release, client terminal type and the logging status information that gather each group generates one group of character string respectively by hash function, and the process of service identifiers can be indicated by following:
ZSID=< Φ (U1),Φ(U2),Φ(C1),Φ(C2),Φ(T1),Φ(T2) >
Wherein, ZSIDRepresenting instant messaging service identifiers, Φ represents hash function, can map through hash algorithm hexa-atomic information group and obtain service identifiers.U1,U2,C1,C2,T1,T2Represent user account, user cipher, instant communication client title, client release, client terminal type and logging status respectively.
The set of described character string is exactly the service identifiers of this instant messaging service, utilizes hash function from plain text to the characteristic of the irreversible mapping of ciphertext, it is ensured that the safety of service identifiers.
As it is shown on figure 3, use the centralized or distributed storage pattern described service identifiers of storage.
As shown in Figure 4, the management system of a kind of instant messaging service, including information acquisition unit, service identifiers signal generating unit, service identifiers memory element, login authentication unit, service managing unit and judging unit;
Collecting part information registration that described information acquisition unit sends from client or log-on message, as service identifiers after being generated cryptographic Hash by the information gathered by hash function and described cryptographic Hash reconfigured;Described partial information at least includes: user account, user cipher, instant messaging service name, client release, client terminal type and logging status;Wherein, during registration, described logging status is dummy status.
The information of collection is generated cryptographic Hash by hash function by described service identifiers signal generating unit respectively, described cryptographic Hash is reconfigured, as the service identifiers of instant messaging service.
Described service identifiers memory element uses the distributed or centralized fashion described service identifiers of storage;Wherein, the cryptographic Hash that user account generates is stored in first character section, and the cryptographic Hash that user cipher generates is stored in second field.
Login, for when users log on, is authenticated by described login authentication unit according to user account in the service identifiers stored and user cipher cryptographic Hash, if certification success, then allows this time to log in requirement, if authentification failure, then refuses this time to log in requirement;It farther includes more new module, detects instant messaging service name, client release and client terminal type cryptographic Hash in latest services mark the most consistent with instant messaging service name, client release and client terminal type cryptographic Hash in the service identifiers stored after logining successfully;If consistent, then presence cryptographic Hash in new service identifiers is replaced off-line state cryptographic Hash in the service identifiers stored;If it is inconsistent, store described new service identifiers.
The management instant messaging service of described service managing unit service identifiers based on described service identifiers cell stores;Comprising:
Discriminating module, according to instant messaging service name cryptographic Hash in the service identifiers stored, distinguishes between different instant messaging service communication protocol difference and ensures that system compatible variety classes instant messaging services;
Enquiry module, according to user account cryptographic Hash in the service identifiers stored, it is achieved the inquiry of instant messaging object also sets up Communications service;
Version unified modules, according to client release cryptographic Hash in the service identifiers stored, it is achieved the instant messaging service between identical type instant messaging service different clients version;
Terminal unified modules, according to client terminal type cryptographic Hash in the service identifiers stored, it is achieved the instant messaging service between the different terminals of identical instant messaging service.
According to client heartbeat message, described judging unit is for judging whether client has been off;If it is, off-line state is converted into cryptographic Hash and replaces the logging status cryptographic Hash stored;If it is not, then continue to judge.
Need be explained further be, after described heartbeat message is log-in instant communication service, the heartbeat packet that client timing sends, to server, described heartbeat packet is for proving that this client is the most online, if in the appointment time arranged, server does not receive client heartbeat message and then regards client off-line.
<registering and logging process embodiments>
Wechat user carries out user's registration at mobile phone terminal by wechat 6.3.15 client, clicking on registration after filling the information such as account number cipher, information acquisition unit at least gathers user account, user cipher, instant messaging service name (wechat), client release (6.3.15), client terminal type (mobile phone) and logging status according to the log-on message received;The information gathered is generated cryptographic Hash by hash function by service identifiers signal generating unit, as service identifiers after reconfiguring, and this service identifiers being sent to service identifiers memory element, service identifiers memory element stores this service identifiers, wherein, logging status is dummy status.
After having registered, user is logged in by wechat 6.3.15 client at mobile phone terminal, information acquisition unit at least gathers user account according to the log-on message received, user cipher, instant messaging service name (wechat), client release (6.3.15), client terminal type (mobile phone) and logging status, the information gathered is generated cryptographic Hash by hash function by service identifiers signal generating unit, as new service identifiers after reconfiguring, in the new service identifiers of login authentication unit judges, user account is the most consistent with the user account of storage during registration and the cryptographic Hash of user cipher generation with the cryptographic Hash that user cipher generates, if it is consistent, then allow this time to log in, if it is inconsistent, then refusal this time logs in.
After logining successfully, detect instant messaging service name in new service identifiers, client release and client terminal type cryptographic Hash the most consistent with Communications service title, client release and client terminal type cryptographic Hash in the service identifiers stored;If consistent, then off-line state cryptographic Hash during presence cryptographic Hash replaces the service identifiers stored in latest services being identified;If it is inconsistent, store this new service identifiers.
This wechat user is managed by service managing unit according to stored service identifiers, completes the instant communication function of wechat.
<instant messaging service management system embodiment>
User A logs in PC end QQ client, in service identifiers management system, information acquisition unit at least gathers QQ user account according to the log-on message received, QQ user cipher, instant messaging service name (QQ), client release, client terminal type (PC) and logging status, the information gathered is generated cryptographic Hash by hash function by service identifiers signal generating unit, as new service identifiers after reconfiguring, in this service identifiers of login authentication unit judges, user account is the most consistent with the user account of storage when registration or last login and the cryptographic Hash of user cipher generation with the cryptographic Hash that user cipher generates, if it is consistent, then allow this time to log in, if it is inconsistent, then refusal this time logs in.
After logining successfully, in login authentication unit, instant messaging service name, client release and client terminal type cryptographic Hash in new service identifiers are mated by more new module with Communications service title, client release and client terminal type cryptographic Hash in the service identifiers stored;If coupling is consistent, then off-line state cryptographic Hash during presence cryptographic Hash replaces the service identifiers stored in latest services being identified;If it is inconsistent, store this new service identifiers.
The user A being in line states sends the account information of communication object B to service management system, the enquiry module of service managing unit carries out service identifiers inquiry in the memory unit according to user's B account, the online service of all party B-subscribers searched is identified and all returns to user A, if only existing offline service mark in the memory unit, then return user's B information off-line;Then returning lookup failure information to user A if there is no the information of user B, after being successfully found the service identifiers of party B-subscriber, enquiry module also sets up A with B further and communicates, it is ensured that instant communication function.
The discriminating module of service managing unit, according to instant messaging service name, i.e. QQ, determines that the communication protocol of instant messaging service QQ the system that adjusts make its compatible described instant messaging service QQ;Version unified modules ensures that user A with B, when client release is different, is still able to proper communication;Terminal unified modules ensures that user A with B is still able to proper communication when client terminal type is different.
The discriminating module of service managing unit, supports various communications protocols, as, UDP, HTTP etc., and distinguish communication protocol according to the cryptographic Hash of instant messaging service name in service identifiers, a kind of MSN is fixing uses a kind of communication protocol to complete communication, as, QQ uses udp protocol.As long as i.e. can determine which kind of communication protocol this instant messaging service uses by instant messaging title.And complete the communication between user A, B according to the communication protocol of discriminating module identification.
Version unified modules, supports multiple client release, and according to client release cryptographic Hash in the service identifiers stored and the client release cryptographic Hash of communication the other side storage, compares.If both are identical directly carries out communication, if it is different, then version unified modules can select the side that version is low, complete the transmission of information.
Terminal unified modules, client terminal type cryptographic Hash in service identifiers according to the communication two party stored, terminal unified modules can be supported multiple terminal type, compare according to communication two party terminal type cryptographic Hash in terminal unified modules, if unified, can directly carry out communication;If it is different, terminal unified modules carries out information transmission according to the terminal type of communication two party support.
Such as, discriminating module, version unified modules, terminal unified modules collect corresponding information respectively, the instant messaging service name of user A is QQ, client release number is V6.2.1, terminal type is PC, the instant messaging service name of user B is QQ, client release number is V6.2.2, and terminal type is mobile phone.
After discriminating module determines that instant messaging service name is QQ, determine that the communication protocol of both sides is udp protocol, and use udp protocol to complete the communication of both sides.After version unified modules identification, determine that both sides' version is inconsistent, then version unified modules can select the side that version is low, completes the transmission of information.In this example, the version number V6.2.2 of party B-subscriber can be selected, complete the communication of both sides.During the terminal type difference of terminal unified modules identification both sides, information transmission can be carried out according to the terminal type that both sides support.
After the user logs, the heartbeat message that in service managing unit, judge module sends according to subscription client judges user's logging status;When judged result is no, it is judged that active client is then considered as off-line state by module, and the cryptographic Hash of off-line state is replaced with presence cryptographic Hash, it should be noted that online and off-line cryptographic Hash is directly stored in judge module, it is not necessary to again generate.
Obviously; the above embodiment of the present invention is only for clearly demonstrating example of the present invention; and it is not the restriction to embodiments of the present invention; for those of ordinary skill in the field; can also make other changes in different forms on the basis of the above description; here cannot all of embodiment be given exhaustive, every belong to obvious change that technical scheme extended out or the variation row still in protection scope of the present invention.

Claims (7)

1. the management method of an instant messaging service, it is characterised in that comprise the following steps:
Step a: collecting part information from the log-on message that instant messaging service client sends, described portion Point information at least includes: user account, user cipher, instant messaging service name, client release, Client terminal type and logging status;Wherein, logging status is dummy status;
Step b: the information gathered is generated cryptographic Hash, by described cryptographic Hash weight respectively by hash function Combination nova, as the service identifiers of instant messaging service;
Step c: store described service identifiers;
Step d: when user logs in, gathers described partial information, the information of collection is divided by hash function Do not generate cryptographic Hash, described cryptographic Hash is reconfigured the new service identifiers as instant messaging service, root According to user account in the service identifiers stored and user cipher cryptographic Hash, login is authenticated;
Step e: if certification success, then instant messaging service name, client in detection latest services mark Hold version and client terminal type cryptographic Hash and Communications service title, visitor in the service identifiers stored Family end version and client terminal type cryptographic Hash are the most consistent;
Step f: if consistent, then presence cryptographic Hash replacement in described new service identifiers has been stored Off-line state cryptographic Hash in service identifiers;
Step g: if it is inconsistent, store described new service identifiers;
Step h: if authentification failure, then refuse this time to log in requirement;
Step i: management instant messaging service;
Wherein, described management instant messaging service includes:
According to instant messaging service name cryptographic Hash in the service identifiers stored, distinguish different instant messaging clothes Communication protocol difference ensure that system compatible variety classes instant messaging services between business;
According to user account cryptographic Hash in the service identifiers stored, it is achieved the inquiry of instant messaging object is also built Vertical Communications service;
According to client release cryptographic Hash in the service identifiers stored, it is achieved identical type instant messaging services Instant messaging service between different clients version;
According to client terminal type cryptographic Hash in the service identifiers stored, it is achieved identical instant messaging service Different terminals between instant messaging service;
Step j: judge whether client has been off according to client heartbeat message;
Step k: if it is, judge described client off-line, replaces off-line state cryptographic Hash and stores Logging status cryptographic Hash;
Step l: if it is not, then forward step j to.
Method the most according to claim 1, it is characterised in that use centralized or distributed storage Service identifiers described in mode storage.
Method the most according to claim 2, it is characterised in that the cryptographic Hash storage that user account generates There is first character section, the cryptographic Hash that user cipher generates is stored in second field.
4. the management system of an instant messaging service, it is characterised in that include information acquisition unit, clothes Business identification generation unit, service identifiers memory element, login authentication unit, service managing unit and sentence Disconnected unit;
Collecting part information registration that described information acquisition unit sends from client or log-on message, will The information gathered generates cryptographic Hash by hash function and described cryptographic Hash is reconfigured rear as service Mark;Described partial information at least includes: user account, user cipher, instant messaging service name, Client release, client terminal type and logging status;Wherein, during registration, described logging status For dummy status;
The information of collection is generated cryptographic Hash by hash function by described service identifiers signal generating unit respectively, will Described cryptographic Hash reconfigures, as the service identifiers of instant messaging service;
Service identifiers described in described service identifiers cell stores;Wherein, the Hash that user account generates Value is stored in first character section, and the cryptographic Hash that user cipher generates is stored in second field;
Described login authentication unit is for when users log on, according to user's account in the service identifiers stored Number and user cipher cryptographic Hash login is authenticated;If certification success, then allow this time to log in requirement, If authentification failure, then refuse this time to log in requirement;
The management of described service managing unit service identifiers based on described service identifiers cell stores is instant Communications service;
According to client heartbeat message, described judging unit is for judging whether client has been off;If It is then off-line state to be converted into cryptographic Hash and replaces the logging status cryptographic Hash stored;If it does not, Then continue to judge.
System the most according to claim 4, it is characterised in that described login authentication unit is further Including more new module, after being used for logining successfully, detect instant messaging service name, visitor in latest services mark Family end version and client terminal type cryptographic Hash and instant messaging Service name in the service identifiers stored Title, client release and client terminal type cryptographic Hash are the most consistent;If consistent, then will newly take In business mark, presence cryptographic Hash replaces off-line state cryptographic Hash in the service identifiers stored;If no Unanimously, then described new service identifiers is stored.
System the most according to claim 4, it is characterised in that described service managing unit includes:
Discriminating module, according to instant messaging service name cryptographic Hash in the service identifiers stored, distinguishes difference Communication protocol difference ensure that system compatible variety classes instant messaging services between instant messaging service;
Enquiry module, according to user account cryptographic Hash in the service identifiers stored, it is achieved instant messaging object Inquiry and set up Communications service;
Version unified modules, according to client release cryptographic Hash in the service identifiers stored, it is achieved mutually of the same race Instant messaging service between class instant messaging service different clients version;
Terminal unified modules, according to client terminal type cryptographic Hash in the service identifiers stored, it is achieved phase With the instant messaging service between the different terminals of instant messaging service.
System the most according to claim 4, it is characterised in that described service identifiers memory element is deposited Storage mode is distributed or centralized.
CN201610373292.2A 2016-05-31 2016-05-31 A kind of management method and system of instant messaging service Active CN105871698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610373292.2A CN105871698B (en) 2016-05-31 2016-05-31 A kind of management method and system of instant messaging service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610373292.2A CN105871698B (en) 2016-05-31 2016-05-31 A kind of management method and system of instant messaging service

Publications (2)

Publication Number Publication Date
CN105871698A true CN105871698A (en) 2016-08-17
CN105871698B CN105871698B (en) 2018-11-23

Family

ID=56642801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610373292.2A Active CN105871698B (en) 2016-05-31 2016-05-31 A kind of management method and system of instant messaging service

Country Status (1)

Country Link
CN (1) CN105871698B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107147643A (en) * 2017-05-10 2017-09-08 武汉票据交易中心有限公司 A kind of client login method
CN110674493A (en) * 2019-09-29 2020-01-10 重庆市筑智建信息技术有限公司 BIM system login verification method and system
CN110717170A (en) * 2019-10-09 2020-01-21 重庆市筑智建信息技术有限公司 BIM system fingerprint login system, method and device
CN110879713A (en) * 2018-09-06 2020-03-13 山东华软金盾软件股份有限公司 Android-end strong encryption plug-in hot update management method
CN114338574A (en) * 2021-12-07 2022-04-12 哈尔滨工业大学 Instant messaging method, management node and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866934A (en) * 2005-05-20 2006-11-22 腾讯科技(深圳)有限公司 Instant communication service realizing method and its system
CN101662510A (en) * 2009-09-16 2010-03-03 北京交通大学 Network naming mechanism and name analytic mapping system
CN101867514A (en) * 2010-05-10 2010-10-20 北京交通大学 Method for implementing fusion of network middleware

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866934A (en) * 2005-05-20 2006-11-22 腾讯科技(深圳)有限公司 Instant communication service realizing method and its system
CN101662510A (en) * 2009-09-16 2010-03-03 北京交通大学 Network naming mechanism and name analytic mapping system
CN101867514A (en) * 2010-05-10 2010-10-20 北京交通大学 Method for implementing fusion of network middleware

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WEI QUAN等: "M-Label A naming scheme for services in future networks", 《CLOUD COMPUTING AND INTELLIGENT SYSTEMS (CCIS), 2012 IEEE 2ND INTERNATIONAL CONFERENCE》 *
权伟: "未来网络资源命名与分发机理研究", 《中国优秀博士学位论文全文数据库信息科技辑》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107147643A (en) * 2017-05-10 2017-09-08 武汉票据交易中心有限公司 A kind of client login method
CN110879713A (en) * 2018-09-06 2020-03-13 山东华软金盾软件股份有限公司 Android-end strong encryption plug-in hot update management method
CN110879713B (en) * 2018-09-06 2023-06-20 山东华软金盾软件股份有限公司 Android terminal strong encryption plug-in thermal update management method
CN110674493A (en) * 2019-09-29 2020-01-10 重庆市筑智建信息技术有限公司 BIM system login verification method and system
CN110717170A (en) * 2019-10-09 2020-01-21 重庆市筑智建信息技术有限公司 BIM system fingerprint login system, method and device
CN110717170B (en) * 2019-10-09 2023-08-11 江苏重华数字科技有限公司 Fingerprint login system, method and device of BIM system
CN114338574A (en) * 2021-12-07 2022-04-12 哈尔滨工业大学 Instant messaging method, management node and system
CN114338574B (en) * 2021-12-07 2024-01-30 哈尔滨工业大学 Instant messaging method, management node and system

Also Published As

Publication number Publication date
CN105871698B (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN104506510B (en) Method and device for equipment authentication and authentication service system
CN103905497B (en) Realize the method, apparatus and application platform of third-party application business website log
CN105871698A (en) Management method and system of instant communication service
KR100838911B1 (en) Communication model, signal, method, and device for confirming reachability in network where host reachability is accomplisiied by relating static identifier to dynamic address
CN101997759B (en) Service implementation method and service system
CN101127606B (en) Method and device for transmitting data object
CN103457837B (en) The method and system of instant messaging search are carried out by search engine
CN102833262B (en) Phishing website collection and identification method and system based on whois information
CN101771677A (en) Method for providing resource for access user, server and system thereof
CN103647701B (en) The control method and device of instantaneous communication system message forwarding
CN106453414A (en) Third party login authentication method and system, proxy server and client
CN102801742A (en) XMPP (Extensible Messaging and Presence Protocol)-based messaging system and method
CN103338213A (en) Method, system and access gateway for intercommunication between local equipment and IMS (IP Multimedia Subsystem) network
CN102347964B (en) Log in the method for website, system, information aggregation platform and website
CN105577626A (en) User name registration and use method, system and device
CN105071965B (en) A kind of management system of the network equipment
CN102045166A (en) Method and system of single sign-on
CN102647432A (en) Authentication information transmission method, device and authentication middleware
CN104125310B (en) Message method based on semi-permanent address
KR101506594B1 (en) Method and system for subscriber to log in internet content provider(icp) website in identity/location separation network and login device thereof
JP2009217522A (en) System and method for providing personal attribute information
CN105721274A (en) Method and device for integrating variety of instant messaging
Martinez-Julia et al. Secure and robust framework for id/locator mapping system
JP5589034B2 (en) Information distribution system, authentication linkage method, apparatus, and program thereof
CN103001931A (en) Communication system of terminals interconnected among different networks

Legal Events

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