CN101888391A - Method for network interacting activity - Google Patents
Method for network interacting activity Download PDFInfo
- Publication number
- CN101888391A CN101888391A CN2009100510944A CN200910051094A CN101888391A CN 101888391 A CN101888391 A CN 101888391A CN 2009100510944 A CN2009100510944 A CN 2009100510944A CN 200910051094 A CN200910051094 A CN 200910051094A CN 101888391 A CN101888391 A CN 101888391A
- Authority
- CN
- China
- Prior art keywords
- management
- user
- session
- robot
- answer
- 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
Links
Images
Abstract
The invention provides a method for network interacting activity, which is characterized in that: an MSN base communication module, a communication module and a multi-robot account management module are applied to on-line user acquisition and user information acquisition; and a robot session communication module, a service logic module and a database management module are applied to robot account management, robot nickname management, robot signature management, robot picture management, answer-question bank management, answer paper management, user account management, answer parameter configuration management, answer statistics and system management. The method can effectively realize intercommunication of Web and im tools, provide user communication of a multi-channel mode, provide interaction on msn and web, provide on-line user search, meanwhile support instant search of msn and web, and realize chatting interaction between the msn and the web and search of on-line users.
Description
Technical field
The present invention relates to a kind of method of network interacting activity, relate in particular to the text search engine technology, online user's state and search engine technique are integrated, msn protocol technology in the IM communication, the field of session xmpp technology.
Background technology
XMPP (Extensible Messageing and Presence Protocol: scalable message with have an agreement) is four kinds of IM (IM:instant messaging of present main flow, instant message) one of agreement, other three kinds are respectively: instant messages and space agreement (IMPP), space and instant messages agreement (PRIM), the process that expands at instant messaging and spatial balance begin agreement SIP (SIMPLE).
In these four kinds of agreements, XMPP is the most flexibly.XMPP is a kind of agreement based on XML, and it has inherited in the XML environment expansionary flexibly.Therefore, the application based on XMPP has superpower extensibility.Can come the demand of process user by the information that sends expansion through the later XMPP of expansion, and set up on the top of XMPP as content delivering system with based on the application programs such as service of address.And XMPP has comprised the software protocol at server end, makes it to converse with another, and this makes that the developer is easier and sets up client applications or add function for the system for preparing.
Is what meaning IM? IM is the abbreviation of Instant Messaging, the Chinese meaning of IM is an instant messages, the instrument that finger can online in real time exchanges, just usually said online chatting instrument all is the IM chat software that the Internet user uses always as QQ, MSN, the UC of Sina, TQ etc.The attached common instant messages IM software download address instant messages in back (IM) just came into vogue as far back as 1996, and foremost at that time JICQ is ICQ.ICQ is developed by three Israelis at first, is purchased by America Online in 1998, remains one of most popular instant messenger now.To the end of the year 2003, the ICQ number of users in the whole world surpasses 1,500,000,000, wherein is distributed in the countries in the world outside the U.S. more than 60%.
The IM instant messages has at the individual to be used and that enterprise uses is dissimilar, present prevailing is individual chat tool, and be free service mostly. Messenger), MSN courier (MSN Messenger), the instant courier of AOL (AIM) etc., and QQ, the Sina UC etc. of instant messages chat tool that provide of website in the country as rising fast company.In addition, the real-time interchange between the online user of inside, a website also is a kind of concrete application form of instant messages.
Summary of the invention:
The objective of the invention is to deficiency at above conventional art, a kind of method of network interacting activity is provided, can realize the intercommunication of Web and im instrument, mode user communication by all kinds of means is provided, is provided at msn, web is last mutual, online user search is provided, support the instant search of msn and web simultaneously, and the chat of reaching between them is mutual, online user's search engine technique.
In order to realize that this purpose robot is mainly by forming as lower module:
Notification service is used NS module, conversation applications SB module, database.
Wherein notification service application NS module comprises the communication layers module, user instruction adaptation layer module, user conversation formation module, user conversation management layer module, data buffering layer module, data application layer module.
Conversation applications SB module comprises the communication layers module, user instruction adaptation layer module, answer nucleus module, subscriber information module, exam pool administration module, user conversation management, user integral management, data buffering layer module, data application layer module.
MSN basis communication layers:
Main being responsible for and the intercommunication of msn im instrument supports msn8 to the msn15 agreement.
Communication layers adopts java nio
Aspects such as being used in the I/O read-write is usually used in the non-obstruction of Java NIO, we know, the performance bottleneck of system's operation is read and write at I/O usually, comprise in the operation to port and file, past, after opening an I/O passage, read () will wait at port always and read byte content on one side, if not having content comes in, read () also is stupid etc., and this can influence our program and continue to do other things, improves way so and offers thread exactly, allowing the thread go to wait for, also is suitable consumes resources but do like this.
The non-choked technique of Java NIO is actual to be to take the Reactor pattern, or perhaps the Observer pattern supervises the I/O port for us, if meaningfully come in, can notify us automatically, like this, we just needn't open a plurality of threads and wait indefinitely, from the external world, realized smooth I/O read-write, do not stopped up.
Utilize the characteristic of MSN agreement, robot is peeled off becomes 2, is respectively:
Notification Server (NS), Switchboard server (SB), NS server mainly are responsible for the login robot, the message that rolls off the production line on the contact person, and head portrait, signature change, notice SB server is set up session;
The SB server mainly is responsible for setting up session and concrete logic business and point-to-point transmission service.So just formed many distributed combinations that the SB server is a NS server service, this distributed combination has reduced the high capacity together time of NS, SB server effectively.
Multirobot account management layer
Adopt distributedly, trunking mode makes up account management, is responsible for account's interpolation, and deletion is enabled, and stops, and the online user gathers, the user profile collection.
The Distributed Services system can split the function of service system, and each function is placed on the several separate assembly, by the mutual cooperation between these several assemblies, finishes the function of whole system.Adopt distributed system, biggest advantage shows on the processing speed of system.Each function of system is placed on the several separate assembly, and the assembly of each several part is finished the functional block of oneself, with parallel mode collaborative work.The other advantage of Distributed Services system is functional module separately, be convenient to management, safeguard and upgrade, management maintenance also be considerable in large-scale service system.
Robot session communication layer
Adopt trunking mode to make up the session of user and robot.Be responsible for user's establishment, follow the tracks of.Adopt robot and the user account unique identification as session, conversation class is similar to Httpsession.
Its operation principle is such:
1. send first when request to server as a user, (SESSION is the server end internal memory to server for it sets up a session, Chinese often is translated as session, its original implication is meant a series of actions/message of carrying it through to the end, promptly be meant from a browser window be opened to close this during, when session one speech is associated with procotol, it often has implied " towards connecting " and/or " hold mode " such two implications again, and session is an object of database! Be used for storing data), and with adopting robot and user account identification number of session establishment for this reason;
2. the each subsequently Request System of this user must identify time identification number.Server can be proofreaded this identification number to judge which session request belongs to.
When needs were set up (during user's answer) session for user side, a session object had just been created by system.Wherein stored the information relevant with this session.So, in a system, there are what different users to connect, just have what session objects.
The step of using is:
1. from request, extract session object;
2. increase or the deletion session in attribute;
3. close session as required or make its inefficacy (regularly);
Concrete answer Business Logic
The business logic processing of concrete answer is responsible for the analysis of menu, the analysis of user command, finish various may situations under the entire flow of answer
Menu: system possesses the function of automatic importing menu, according to the version number of system's appointment, and the regular update menu.
Exam pool: to the importing of exercise question, resolve unexpectedly, regularly take out the exercise question in the database.
User command: support the conversion between the various inputs, comprise capital and small letter, full half-angle, spcial character.
User's rank: because system adopts distributed system, system adopts regular mode to upgrade user's rank, the authenticity of consideration data and ageing
The WEB back-stage management
Be responsible for the robot back-stage management, robot account management, robot pet name management, robot signature management, the robot pictures management, the management of answer exam pool, the management of answer paper, the management of user account, the answer parameter configuration management, answer statistics, system management etc.
Externally represent the website
User's answer results management is provided, the user is provided the management of winning a prize, provide the user to extract prize management, prize release management etc.
The present invention can effectively realize the intercommunication of Web and im instrument, and mode user communication by all kinds of means is provided, and is provided at msn, web is last mutual, and online user search is provided, and supports the instant search of msn and web simultaneously, and the chat of reaching between them is mutual, and online user's search is drawn.
Description of drawings
Fig. 1 is a kind of service logic figure of method of network interacting activity;
Fig. 2 is a kind of construction module figure of method of network interacting activity.
Embodiment
A kind of method of network interacting activity by
Notification service is used NS module, conversation applications SB module, database.
Wherein notification service application NS module comprises the communication layers module, user instruction adaptation layer module, user conversation formation module, user conversation management layer module, data buffering layer module, data application layer module.
Conversation applications SB module comprises the communication layers module, user instruction adaptation layer module, answer nucleus module, subscriber information module, exam pool administration module, user conversation management, user integral management, data buffering layer module, data application layer module.
Module is formed.(accompanying drawing 2)
Its service logic by
When a user 1 sends first when request to server, (SESSION is the server end internal memory to server for it sets up a session, Chinese often is translated as session, its original implication is meant a series of actions/message of carrying it through to the end, promptly be meant from a browser window be opened to close this during, when session one speech is associated with procotol, it often has implied " towards connecting " and/or " hold mode " such two implications again, and session is an object of database! Be used for storing data), and with adopting robot and user account identification number of session establishment for this reason;
The each subsequently Request System of this user must identify time identification number.Server can be proofreaded this identification number to judge which session request belongs to.
When needs were set up (during user's answer) session for user side, a session subscriber 2 had just been created by system.Wherein stored the information relevant with this session.So, in a system, there are what different users to connect, just have what session subscriber.
The step of using is:
1. from request, extract session subscriber;
2. increase or the deletion session in attribute;
3. close session as required or make its inefficacy (regularly);
Concrete answer Business Logic
The business logic processing of concrete answer is responsible for the analysis of menu, the analysis of user command, finish various may situations under the entire flow of answer
Menu: system possesses the function of automatic importing menu, according to the version number of system's appointment, and the regular update menu.
Exam pool: to the importing of exercise question, resolve unexpectedly, regularly take out the exercise question in the database.
User command: support the conversion between the various inputs, comprise capital and small letter, full half-angle, spcial character.
User's rank: because method adopts distributed system, system adopts regular mode to upgrade user's rank, the authenticity of consideration data and ageing
The WEB back-stage management
Externally represent the website
User's answer results management is provided, the user is provided the management of winning a prize, provide the user to extract prize management, prize release management etc.
Claims (7)
1. the method for a network interacting activity is characterized in that comprising:
MSN basis communication module is with the intercommunication of MSN IM instrument;
Communication module is used with the non-obstruction of JAVA NIO, and supervision I/O port realizes that the I/O read-write is smooth;
The multirobot account management module is used for the interpolation to account, and deletion is enabled, and stops, and the online user gathers, the user profile collection;
Robot session communication module is used for user's establishment, follows the tracks of;
Business logic modules is used for the analysis of menu, the analysis of user command, and user's rank, the importing of exam pool is resolved, and exam pool is derived from database;
Database management module is used for the robot back-stage management, robot account management, robot pet name management, robot signature management, robot pictures management, the management of answer exam pool, the management of answer paper, the management of user account, answer parameter configuration management, answer statistics, system management.
2. according to the method for claim 1 network interacting activity, it is characterized in that it is to use Reactor that the non-obstruction of described JAVANIO is used, a kind of in the Observer pattern supervises the I/O port.
3. according to the method for claim 1 network interacting activity, described multirobot account management layer is characterized in that with distributed, and trunking mode makes up account management.
4. according to the method for claim 1 network interacting activity, described robot session communication layer is characterized in that with the session between trunking mode structure user and the robot.
5. according to the method for claim 1 network interacting activity, described MSN basis communication layers is characterized in that supporting MSN8, MSN9, MSN10, MSN11, MSN12, MSN13, MSN14, one or more in the MSN15 agreement.
6. the method for a network interacting activity is characterized in that comprising the steps:
(1), when a user sends first when request to server, server is set up a session for it, and with employing robot and user account identification number of session establishment for this reason;
(2), the each subsequently Request System of this user must identify identification number.Server can be proofreaded this identification number to judge which session request belongs to.
(3), when needs are set up a session for user side, a session object has just been created by system.Wherein stored the information relevant with this session.So, in a system, there are what different users to connect, just have what session objects.
7. according to the method for claim 6 a networking interacting activity, described session object is characterized in that process is as follows:
A, from the request extract session object;
Attribute in b, increase or the deletion session;
C, close session or make its inefficacy (regularly) as required.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100510944A CN101888391A (en) | 2009-05-13 | 2009-05-13 | Method for network interacting activity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100510944A CN101888391A (en) | 2009-05-13 | 2009-05-13 | Method for network interacting activity |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101888391A true CN101888391A (en) | 2010-11-17 |
Family
ID=43074111
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100510944A Pending CN101888391A (en) | 2009-05-13 | 2009-05-13 | Method for network interacting activity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101888391A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI511060B (en) * | 2014-02-18 | 2015-12-01 | Synology Inc | Device, method and non-transitory computer readable storage medium for performing instant message communication |
CN110400564A (en) * | 2019-08-21 | 2019-11-01 | 科大国创软件股份有限公司 | A kind of chat robots dialogue management method based on stack |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1946066A (en) * | 2006-09-25 | 2007-04-11 | 钱晓东 | Method for providing and using WEB service on instant communication platform |
CN101188577A (en) * | 2007-12-29 | 2008-05-28 | 腾讯科技(深圳)有限公司 | Multi-page instant communication method and system |
CN101299761A (en) * | 2008-06-02 | 2008-11-05 | 国网信息通信有限公司 | Method and system for processing service unitedly in abeyance |
CN100473064C (en) * | 2004-07-08 | 2009-03-25 | 腾讯科技(深圳)有限公司 | Method for directly alternating information with instant communication system on web page |
-
2009
- 2009-05-13 CN CN2009100510944A patent/CN101888391A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100473064C (en) * | 2004-07-08 | 2009-03-25 | 腾讯科技(深圳)有限公司 | Method for directly alternating information with instant communication system on web page |
CN1946066A (en) * | 2006-09-25 | 2007-04-11 | 钱晓东 | Method for providing and using WEB service on instant communication platform |
CN101188577A (en) * | 2007-12-29 | 2008-05-28 | 腾讯科技(深圳)有限公司 | Multi-page instant communication method and system |
CN101299761A (en) * | 2008-06-02 | 2008-11-05 | 国网信息通信有限公司 | Method and system for processing service unitedly in abeyance |
Non-Patent Citations (1)
Title |
---|
樊燕红等: "基于XMPP的即时通信网关应用研究", 《计算机技术与应用》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI511060B (en) * | 2014-02-18 | 2015-12-01 | Synology Inc | Device, method and non-transitory computer readable storage medium for performing instant message communication |
US9647966B2 (en) | 2014-02-18 | 2017-05-09 | Synology Incorporated | Device, method and non-transitory computer readable storage medium for performing instant message communication |
CN110400564A (en) * | 2019-08-21 | 2019-11-01 | 科大国创软件股份有限公司 | A kind of chat robots dialogue management method based on stack |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11909923B2 (en) | Automated communications response system | |
US8356070B2 (en) | High level network layer system and method | |
TWI495295B (en) | Communications application having conversation and meeting environments | |
EP2561656B1 (en) | Servlet api and method for xmpp protocol | |
US20080104173A1 (en) | Third-party application chat integration | |
WO2014059347A1 (en) | Automatically suggesting groups based on past user interaction | |
CN102111347A (en) | Multi-protocol instant message-based processing method and system in unified communication system | |
CN102521407A (en) | Method for document collaboration among users | |
US10764233B1 (en) | Centralized communication platform with email which organizes communication as a plurality of information streams and which generates a second message based on and a first message and formatting rules associated with a communication setting | |
CN101483534A (en) | System and method for multiple userprofiles management in a synchronous conferencing environment | |
BRPI0924555B1 (en) | method of implementing call service and call center system | |
CN103873518B (en) | Multiple terminals synchronously obtains method, system and the Web server of enhancing address list | |
JP2021506034A (en) | Servers and user terminals that support the management of social networks | |
CN106487644A (en) | A kind of communication means and system | |
CN103491176A (en) | Method and system for automatically releasing micro-blogs | |
CN101888349A (en) | Interworking gateway of MSN and XMPP | |
US8447817B2 (en) | Associating multiple physical mailboxes with same user object in messaging system | |
CN101079823B (en) | A method and system for originating and creating virtual discussion group | |
CN101888391A (en) | Method for network interacting activity | |
CN103354516A (en) | Client layered address list realization method for instant messaging | |
CN105137839B (en) | A kind of cloud platform control method and its system based on memory database | |
EP2611082A1 (en) | Method for instant communicating between instant messaging clients | |
Zhai et al. | An improved DDS publish/subscribe automatic discovery algorithm | |
US8117302B2 (en) | Buddy list pruning for instant messaging system performance enhancement | |
CN105933200B (en) | Group's postal System and method for of the multi-platform information aggregation system of task based access control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20151104 |
|
C20 | Patent right or utility model deemed to be abandoned or is abandoned |