CN105323155A - Method for communication of on-line service system with third party instant messaging system - Google Patents
Method for communication of on-line service system with third party instant messaging system Download PDFInfo
- Publication number
- CN105323155A CN105323155A CN201510858581.7A CN201510858581A CN105323155A CN 105323155 A CN105323155 A CN 105323155A CN 201510858581 A CN201510858581 A CN 201510858581A CN 105323155 A CN105323155 A CN 105323155A
- Authority
- CN
- China
- Prior art keywords
- message
- communication
- server
- ncfs
- instant communicating
- 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
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a method for communication of an on-line service system with a third party instant messaging system. A server Ncfs obtains information and input information of a current visitor through a device binding social public service account number provided by an instant messaging system; and the server Ncfs packs messages and communicates with a client side and performs corresponding processing according to content. The messages packed by the server Ncfs are character strings in a special format which are appointed with the client side. The communication method provided by the invention is suitable for an on-line customer service system or a product expected to communicate with third party instant messaging systems. Intercommunication and interconnection with hot communication systems are realized, data are locally stored, customer management is performed, and Internet + services of enterprises are expanded easily and effectively.
Description
Technical field
The present invention relates to client and third party's instant communicating system in a kind of online service system and carry out the mechanism of communication, be applicable to the application scenarios that various online service system and third party's instant communicating system realize communication.
Background technology
Along with the fast development of mobile Internet, various instant communicating system develops with very fast speed.Various characteristic communication system plays huge user group by differentiated service Rapid Accumulation of riding on a horse to enclose, and becomes mobile Internet epoch important user entry; On the other hand, by function of enriching constantly, around this Core Feature of communication, develop into the hardware and software platform product integrating communication, social activity, marketing, media, instrument five functional.
Each instant communicating system provider can be all enterprise, the open social public service account of businessman, account and the intercommunication of each MSN account, by social public service account, businessman can realize on platform and the word of special group, picture, voice, the comprehensive communication of video, interaction.
In enterprise, to be reached the standard grade lower interactive marketing mode by the line that social public service account is carried out promotion communication exchange and become a kind of main flow with businessman, and mobile device can not form real productivity by input equipment restriction, and under a lot of mobile social platform does not also release the prerequisite of pc client, in the Internet online service system, access various mobile communication software just seem necessary.
How online service system as e-commerce services platform each social public service account number of simple and effective access can launch efficient the Internet+service by a kind of communication mechanism, is problem now to be solved.
Summary of the invention
The object of the invention is to: for the above-mentioned technical problem existed in prior art, provide each social public service account number of a kind of communication mechanism simple and effective access of energy to launch the means of communication of the online service system third party instant communicating system of efficient the Internet+service.
The present invention is achieved by the following technical solutions:
Server Ncfs binds by the device that instant communicating system provides information and the input information that social public service account number obtains current visitor; Server Ncfs packs message and carries out communication to customer side and carry out corresponding process according to content.The message that described server Ncfs packs is the special format character string appointed with customer side.
Described server Ncfs and client set up Socket link, and relevant information is transmitted to client.
The means of communication of described online service system third party instant communicating system, step is as follows;
Step 1, configuration server Ncfs and social public service account;
Step 2, visitor accesses social public service account;
Step 3, client receipt message also carries out respective handling;
Step 4, client sends message.
The performing step of described client is as follows:
Step 1, enumerating of definition type of message, and message structure;
Step 2, sets up Socket with server Ncfs and links;
Step 3, monitoring information method does not stop the message that reception server sends;
Step 4, message treatment method carries out different disposal to different messages.
Further, the enumeration structure of described type of message is
{
Connect third party's instant communicating system and send customer service ID message=" 8106 ";
The connection of third party's instant communicating system server returns to acknowledge message=" 8107 ";
Conversation message=" 8105 ";
Conversation message=" 8109 " are initiatively closed in customer service;
Obtain current visitor's session log=" 8110 ";
Obtain online customer service Id and name=" 8111 ";
Inquire about in 48 hours and specify customer service Effective Dialogue visitor information=" 8113 ";
};
Described message structure is
{
Message number;
Message content array;
}。
Further, described server Ncfs sets up Socket and is linked as
{
Socket links (bind address port);
Open thread monitoring information;
}。
Further, described monitoring information method
{
while(true)
{
Formatting messages;
Message call processing method;
}
}。
Further, described message treatment method
{
Message structure class formatting messages;
Message number and the type of message of message structure class are enumerated class and are mated and perform different handling procedures;
}。
In sum, owing to have employed technique scheme, the invention has the beneficial effects as follows: the present invention is applicable to the product that online customer service system or expectation and each third party's instant communicating system carry out getting through.Achieve and each popular communication system interconnection, data this locality stores, customer account management, the Internet+service of simple and effective expanded enterprise.
Accompanying drawing explanation
Examples of the present invention will be described by way of reference to the accompanying drawings, wherein:
Fig. 1 is the topological diagram of present system; .
Embodiment
All features disclosed in this specification, or the step in disclosed all methods or process, except mutually exclusive feature and/or step, all can combine by any way.
Arbitrary feature disclosed in this specification (comprising any accessory claim, summary and accompanying drawing), unless specifically stated otherwise, all can be replaced by other equivalences or the alternative features with similar object.That is, unless specifically stated otherwise, each feature is an example in a series of equivalence or similar characteristics.
As shown in Figure 1, a kind of means of communication of online service system third party instant communicating system, server Ncfs binds by the device that instant communicating system provides information and the input information that social public service account number obtains current visitor; Server Ncfs packs message and carries out communication to customer side and carry out corresponding process according to content.The message that described server Ncfs packs is the special format character string appointed with customer side.Such as: " <Mm><SdGreatT.Gr eaT.GT message number; Content A; Content B; </Md></mSGreatT. GreaT.GT "
Visitor's unique identification that note: openid provides for social public service account number
Then send to client by socket, client carries out according to openid the message distinguishing each visitor of display, and replys.
Described server Ncfs and client set up Socket link, and relevant information is transmitted to client.
The means of communication of described online service system third party instant communicating system, step is as follows;
Step 1, configuration server Ncfs and social public service account;
Step 2, visitor accesses social public service account; After user pays close attention to social public service account number, enter chat interface by clicking social public service account number and click menu access server, prompting accesses input content successfully and clicks transmission, and the device that now server Ncfs provides according to social public service account number can obtain the relevant visitor informations such as openid and nickName of visitor.These packets of information are dressed up special format character string <Mm><SdGreatT.Gr eaT.GT8105 by the form according to appointing with client; Openid; NickName; Content</Md></mS > is also sent by Socket
Step 3, client receipt message also carries out respective handling; Client receives <Mm><SdGreatT.Gr eaT.GT8105 by Socket; Openid; NickName; This character string message of content</Md></mS >, know that this is a conversation message by resolving acquisition message number 8105 to the fractionation of character string, in the middle of the dialog box so just according to openid the content content of this message being presented at this visitor current, nickName is presented in this dialog box tab.
Step 4, client sends message, and the packets of information that customer service inputs is dressed up specific format character string <Mm><SdGreatT.Gr eaT.GT8105; Cid; CuName; Content</Md></mS > also sends to server Ncfs by Socket, server Ncfs calls social public service account number device transmission message and imports relevant parameter into, and message content is just content.
The performing step of described client is as follows:
Step 1, enumerating of definition type of message, and message structure;
Step 2, sets up Socket with server Ncfs and links;
Step 3, monitoring information method does not stop the message that reception server sends;
Step 4, message treatment method carries out different disposal to different messages.
Further, the enumeration structure of described type of message is
{
Connect third party's instant communicating system and send customer service ID message=" 8106 ";
The connection of third party's instant communicating system server returns to acknowledge message=" 8107 ";
Conversation message=" 8105 ";
Conversation message=" 8109 " are initiatively closed in customer service;
Obtain current visitor's session log=" 8110 ";
Obtain online customer service Id and name=" 8111 ";
Inquire about in 48 hours and specify customer service Effective Dialogue visitor information=" 8113 ";
};
Described message structure is
{
Message number;
Message content array;
}。
Further, described server Ncfs sets up Socket and is linked as
{
Socket links (bind address port);
Open thread monitoring information;
}。
Further, described monitoring information method
{
while(true)
{
Formatting messages;
Message call processing method;
}
}。
Further, described message treatment method
{
Message structure class formatting messages;
Message number and the type of message of message structure class are enumerated class and are mated and perform different handling procedures;
}。
Above-described specific embodiment, further describes object of the present invention, technical scheme and beneficial effect, and institute it should be understood that and the foregoing is only specific embodiments of the invention, is not limited to the present invention.The present invention expands to any new feature of disclosing in this manual or any combination newly, and the step of the arbitrary new method disclosed or process or any combination newly.
Claims (8)
1. means of communication for online service system third party instant communicating system, is characterized in that: server Ncfs binds by the device that instant communicating system provides information and the input information that social public service account number obtains current visitor; Server Ncfs packs message and carries out communication to customer side and carry out corresponding process according to content; The message that described server Ncfs packs is the special format character string appointed with customer side.
2. the means of communication of online service system third party instant communicating system according to claim 1, is characterized in that, described server Ncfs and client set up Socket link, and relevant information is transmitted to client.
3. the means of communication of online service system third party instant communicating system according to claim 1, it is characterized in that, step is as follows:
Step 1, configuration server Ncfs and social public service account;
Step 2, visitor accesses social public service account;
Step 3, client receipt message also carries out respective handling;
Step 4, client sends message.
4. the means of communication of online service system third party instant communicating system according to claim 1 and 2, it is characterized in that, the performing step of described client is as follows:
Step 1, enumerating of definition type of message, and message structure;
Step 2, sets up Socket with server Ncfs and links;
Step 3, monitoring information method does not stop the message that reception server sends;
Step 4, message treatment method carries out different disposal to different messages.
5. the means of communication of online service system third party instant communicating system according to claim 4, is characterized in that,
The enumeration structure of described type of message is
{
Connect third party's instant communicating system and send customer service ID message=" 8106 ";
The connection of third party's instant communicating system server returns to acknowledge message=" 8107 ";
Conversation message=" 8105 ";
Conversation message=" 8109 " are initiatively closed in customer service;
Obtain current visitor's session log=" 8110 ";
Obtain online customer service Id and name=" 8111 ";
Inquire about in 48 hours and specify customer service Effective Dialogue visitor information=" 8113 ";
};
Described message structure is
{
Message number;
Message content array;
}。
6. the means of communication of online service system third party instant communicating system according to claim 4, is characterized in that,
Described server Ncfs sets up Socket and is linked as
{
Socket links (bind address port);
Open thread monitoring information;
}。
7. the means of communication of online service system third party instant communicating system according to claim 4, is characterized in that,
Described monitoring information method
{
while(true)
{
Formatting messages;
Message call processing method;
}
}。
8. the means of communication of online service system third party instant communicating system according to claim 4, is characterized in that,
Described message treatment method
{
Message structure class formatting messages;
Message number and the type of message of message structure class are enumerated class and are mated and perform different handling procedures;
}。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510858581.7A CN105323155A (en) | 2015-11-30 | 2015-11-30 | Method for communication of on-line service system with third party instant messaging system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510858581.7A CN105323155A (en) | 2015-11-30 | 2015-11-30 | Method for communication of on-line service system with third party instant messaging system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105323155A true CN105323155A (en) | 2016-02-10 |
Family
ID=55249785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510858581.7A Pending CN105323155A (en) | 2015-11-30 | 2015-11-30 | Method for communication of on-line service system with third party instant messaging system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105323155A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107358513A (en) * | 2017-07-25 | 2017-11-17 | 上海班盟网络科技有限公司 | A kind of method and terminal that architecture information is provided |
CN109889590A (en) * | 2019-01-24 | 2019-06-14 | 北京创鑫旅程网络技术有限公司 | Message treatment method, device, client and computer-readable medium |
CN111600789A (en) * | 2020-05-11 | 2020-08-28 | 百度在线网络技术(北京)有限公司 | Instant messaging method, system, device, electronic equipment and storage medium |
CN112929256A (en) * | 2017-06-02 | 2021-06-08 | 浙江嘉呼信息技术服务有限公司 | Communication method, device, system and computer storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103188156A (en) * | 2011-12-31 | 2013-07-03 | 北京大唐高鸿数据网络技术有限公司 | VOIP call routing device and method based on user datagram protocol (UDP) multicast |
CN104125131A (en) * | 2013-04-25 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Information interaction method and related equipment and a system thereof |
CN104123130A (en) * | 2013-04-28 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Information processing method, device and system |
CN104683454A (en) * | 2015-02-12 | 2015-06-03 | 腾讯科技(深圳)有限公司 | Data interaction method and device |
-
2015
- 2015-11-30 CN CN201510858581.7A patent/CN105323155A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103188156A (en) * | 2011-12-31 | 2013-07-03 | 北京大唐高鸿数据网络技术有限公司 | VOIP call routing device and method based on user datagram protocol (UDP) multicast |
CN104125131A (en) * | 2013-04-25 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Information interaction method and related equipment and a system thereof |
CN104123130A (en) * | 2013-04-28 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Information processing method, device and system |
CN104683454A (en) * | 2015-02-12 | 2015-06-03 | 腾讯科技(深圳)有限公司 | Data interaction method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112929256A (en) * | 2017-06-02 | 2021-06-08 | 浙江嘉呼信息技术服务有限公司 | Communication method, device, system and computer storage medium |
CN107358513A (en) * | 2017-07-25 | 2017-11-17 | 上海班盟网络科技有限公司 | A kind of method and terminal that architecture information is provided |
CN109889590A (en) * | 2019-01-24 | 2019-06-14 | 北京创鑫旅程网络技术有限公司 | Message treatment method, device, client and computer-readable medium |
CN111600789A (en) * | 2020-05-11 | 2020-08-28 | 百度在线网络技术(北京)有限公司 | Instant messaging method, system, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI770461B (en) | System and method of instant-messaging bot supporting human-machine symbiosis | |
JP2015519852A (en) | Conversation establishment method, server, apparatus, conversation establishment system, device, program, and recording medium | |
CN105323155A (en) | Method for communication of on-line service system with third party instant messaging system | |
CN101023658A (en) | Push information communication system accompanied by telephone communication | |
WO2020125775A1 (en) | Multi-service-party online customer service information processing method and apparatus | |
CN110708358B (en) | Session message processing method, electronic device and computer-readable storage medium | |
CN105337841B (en) | Information processing method and system, client and server | |
CN102484655B (en) | Public robot management method and system in private networks | |
US20180046707A1 (en) | Providing searching strategy in connection with answering question in message | |
CN108282393A (en) | A kind of good friend's adding method, device, computer equipment and readable storage medium storing program for executing | |
CN105704001A (en) | WeChat server message distribution method and WeChat server message distribution system | |
CN106411703A (en) | Information synchronization method and apparatus | |
CN110120908A (en) | Group message processing method, device and server | |
CN106027489A (en) | Internet online method, device and system | |
CN107483617A (en) | It is a kind of based on open Internet of Things supporting cloud platform system and its application method | |
US9961120B2 (en) | System and method for managing concurrent communications in a contact center | |
CN102045274B (en) | Method and communication system for realizing information interaction based on instant messaging | |
CN111773661B (en) | System, method and device for team formation game based on live broadcast interface | |
WO2015154379A1 (en) | Remote help method, controlling mobile intelligent terminal and controlled mobile intelligent terminal | |
CN105704008B (en) | A kind of webpage instant communication method, system and terminal | |
CN106488269A (en) | System and method to television equipment control is realized based on third-party application platform | |
CN103731337B (en) | Transfer method, system and the device and agent client of text chat session | |
CN109359179A (en) | Message treatment method, device, terminal device and computer storage medium | |
CN107222392A (en) | Communication means, device, system and computer-readable storage medium | |
CN106973110A (en) | Network real estate sales platform system with instant communication function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160210 |