CN108833265A - Message treatment method, device, server and storage medium - Google Patents
Message treatment method, device, server and storage medium Download PDFInfo
- Publication number
- CN108833265A CN108833265A CN201810689685.3A CN201810689685A CN108833265A CN 108833265 A CN108833265 A CN 108833265A CN 201810689685 A CN201810689685 A CN 201810689685A CN 108833265 A CN108833265 A CN 108833265A
- Authority
- CN
- China
- Prior art keywords
- service
- parameter
- party
- platform
- destination
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/53—Network services using third party service providers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application involves a kind of message treatment method, device, server and storage mediums, receive client messages, and client messages carry destination service mark;The service parameter for determining destination service is identified according to destination service;When service parameter includes loopback address, third-party service platform is determined according to loopback address;Wherein, loopback address is the chained address of third-party service platform, and third-party service platform is to provide the platform of third party's service when destination service is third party's service;Client messages are sent to third-party service platform.In this way, client messages are sent to third-party service platform, client messages are handled by third-party service platform.Therefore, this message treatment method, device, server and storage medium can dock client messages with third-party service platform, thus the message treatment method, device, server and storage medium can flexibility it is higher.
Description
Technical field
This application involves fields of communication technology, are situated between more particularly to a kind of message treatment method, device, server and storage
Matter.
Background technique
Service is provided at present or the enterprise of product generally passes through the various forms such as webpage, public platform public platform, service number
The Internet media to client provide for service or product customer service.For a kind of single platform or instant chat work
Tool is only capable of providing the customer service for carrying out customer service management by the platform or the chat tool.
Such as, the customer service for the customer service system being had by oneself based on a kind of enterprise, although can be realized in customer service system preferably
Customer service management, but it is only capable of providing customer service in the system;For another example, based on the customer service of instant messenger, only
Basic customer service can be provided by the interactive function that the chat tool provides, can not carry out preferable customer service management.
Therefore, the flexibility of customer service is lower.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of higher message treatment method of flexibility, device,
Server and storage medium.
A kind of message treatment method, the method includes:
Client messages are received, the client messages carry destination service mark;
The service parameter for determining destination service is identified according to the destination service;
When the service parameter includes loopback address, third-party service platform is determined according to the loopback address;
The client messages are sent to the third-party service platform;
Wherein, the loopback address is the chained address of the third-party service platform, and the third-party service platform is
When the destination service is third party's service, the platform of the third party's service is provided.
A kind of message processing apparatus, described device include:
Client messages' receiving module, for receiving client messages, the client messages carry destination service mark;
Service parameter determining module, for identifying the service parameter for determining destination service according to the destination service;
Third-party platform determining module, for when the service parameter includes loopback address, according to the loopback address
Determine third-party service platform;
Client messages' sending module, for the client messages to be sent to the third-party service platform;
Wherein, the loopback address is the chained address of the third-party service platform, and the third-party service platform is
When the destination service is third party's service, the platform of the third party's service is provided.
A kind of server, including memory and processor, the memory are stored with computer program, and the processor is held
The step of realizing above-mentioned message treatment method when the row computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The step of above-mentioned message treatment method is realized when row.
Above-mentioned message treatment method, device, server and storage medium, receive client messages, and client messages carry target
Service identifiers;The service parameter for determining destination service is identified according to destination service;When service parameter includes loopback address, according to
Loopback address determines third-party service platform;Wherein, loopback address is the chained address of third-party service platform, third party's service
Platform is to provide the platform of third party's service when destination service is third party's service;Client messages are sent to third party's clothes
Business platform.In this way, client messages are sent to third-party service platform, client messages are carried out by third-party service platform
Reason.Therefore, this message treatment method, device, server and storage medium can by client messages and third-party service platform into
Row docking, without paying close attention to, how third-party service platform carries out customer service management namely third-party service platform can be according to certainly
Body demand provides personalized customer service management, thus the message treatment method, device, server and storage medium flexibility compared with
It is high.
Detailed description of the invention
Fig. 1 is the applied environment figure of Message Processing in one embodiment;
Fig. 2 is the flow diagram of message treatment method in one embodiment;
Fig. 3 is the flow diagram of message treatment method in another embodiment;
Fig. 4 is the functional block diagram of message treatment method in a specific embodiment;
Fig. 5 is the structural block diagram of message processing apparatus in one embodiment;
Fig. 6 is the internal structure chart of server in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Message treatment method provided by the present application can be applied in the product of enterprise market.Its application environment such as Fig. 1 institute
Show.Wherein, client terminal 102 is communicated by network with server 104, and server 104 and third-party service platform 106 are logical
Network is crossed to be communicated.Message treatment method can run on server 104, i.e. the execution terminal of message treatment method can be
Server 104.Client terminal 102 sends client messages to server 104, and server 104 receives client messages, and the client disappears
Breath carries destination service mark;The service parameter for determining destination service is identified according to the destination service;When the service parameter
When including loopback address, third-party service platform 106 is determined according to the loopback address;The client messages are sent to described
Third-party service platform 106;Wherein, the loopback address is the chained address of the third-party service platform 106, the third
Square service platform 106 is to provide the platform of the third party's service when the destination service is third party's service.Wherein,
Tripartite's service platform 106 can be terminal or server.Terminal and client terminal 102 can be, but not limited to be various individual calculus
Machine, laptop, smart phone, tablet computer and portable wearable device.Server, can with independent server or
Person is the server cluster of multiple server compositions to realize.
In one embodiment, as shown in Fig. 2, providing a kind of message treatment method, include the following steps:
S202, receives client messages, and client messages carry destination service mark.
Client messages refer to the message that client terminal is sent.Client terminal refers to the terminal that client uses, and can pass through visitor
Family mark corresponds to.Client is the user using service, such as can be the user of certain service of goods.Service, which can refer to, to be passed through
The function that computer equipment provides can such as be to provide customer service function on the line of enterprise's offer of specific products in kind.It can lead to
Cross service identifiers unique identification one service.Destination service refers to the service that client messages are sent to, that is, needs to disappear to the client
Cease the service for being handled or being responded.Destination service mark refers to the mark of the destination service of client messages.
S204 identifies the service parameter for determining destination service according to destination service.
Service parameter may include that parameter to be used is needed when client messages are sent to destination service, can also include
Parameter to be used is needed when the message that destination service returns is sent to client terminal.Service parameter can be pre-set.
The service parameter respectively serviced can recorde in tables of data, and destination service mark pair can be determined by searching for the mode of tables of data
The service parameter for the destination service answered.
S206 determines third-party service platform according to loopback address when service parameter includes loopback address.
Wherein, loopback address is the chained address of third-party service platform, and third-party service platform is when destination service is
When third party's service, the platform of third party's service is provided.In the present embodiment, third-party service platform is had by oneself flat for enterprise
Platform, the platform operate on terminal or the server for the execution terminal for being different from this message treatment method.Same enterprise can be to
It executes terminal application and is no less than a service identifiers, and wherein at least one service identifiers can be set to what the enterprise provided
The service identifiers of customer service.It should be noted that in the present embodiment, entrained destination service is identified as in client messages
The service identifiers for the customer service that enterprise provides.
Client messages are sent to third-party service platform by S208.
Client messages can be sent to third by way of setting loopback address for the destination address of client messages
Square service platform.Client messages can also be sent to third-party service platform by way of establishing data channel.
Third-party service platform can provide artificial customer service for the client messages or automatically reply two kinds of customer services
Mode.The mode automatically replied is to be replied with the content in data bank client messages, therefore, can be in client messages
When the keyword of appearance includes preset keyword, the customer service mode automatically replied is provided, otherwise artificial customer service is provided;?
Artificial customer service can be provided in preset operating time, the mode automatically replied is provided except preset operating time;Also
The mode for providing and automatically replying can be provided, turn to provide artificial customer service after manual request in client's triggering.
Above-mentioned message treatment method, receives client messages, and client messages carry destination service mark;According to destination service mark
Know the service parameter for determining destination service;When service parameter includes loopback address, third party's service is determined according to loopback address
Platform;Wherein, loopback address is the chained address of third-party service platform, and third-party service platform is when destination service is third
When side's service, the platform of third party's service is provided;Client messages are sent to third-party service platform.In this way, by client messages
It is sent to third-party service platform, client messages are handled by third-party service platform.Therefore, this message treatment method energy
It is enough to dock client messages with third-party service platform, without paying close attention to how third-party service platform carries out customer service pipe
Reason namely third-party service platform can provide personalized customer service management according to self-demand, thus the message treatment method
Flexibility it is higher.
As shown in figure 3, in one embodiment, service parameter includes security parameter.Client messages are sent to third
Square service platform, including:
S315 is sent to third-party service platform after carrying out security processing to client messages according to security parameter.
Security parameter is that client messages are carried out with security processing to need the parameter used, such as can for encryption key,
Digital signature etc..Technical solution based on the present embodiment, after carrying out security processing to client messages according to security parameter,
The client messages by security processing are sent to third-party service platform again.In this way, can be improved client messages'
Safety, to improve the safety of Message Processing.
In one embodiment, security parameter includes linking secure parameter.Client messages are carried out according to security parameter
After security processing, it is sent to third-party service platform, including:According to linking secure parameter to the destination of client messages
Location carries out signature processing;Security will be carried out treated client messages are sent to third-party service platform, at security
Reason includes that signature is handled.
Linking secure parameter is the parameter for needing to use when linking address and carrying out security processing, can be such as label
Name label.In the present embodiment, signature processing is carried out according to destination address of the linking secure parameter to client messages, will signed
Client messages afterwards are sent to third-party service platform, in this way, pacifying third-party service platform to client messages
Full property processing, thus, improve the safety of Message Processing.
In another embodiment, security parameter includes content safety parameter.Client messages are counted according to security parameter
After word safe handling, it is sent to third-party service platform, including:According to content safety parameter to the message content of client messages
It is encrypted;It will carry out security treated client messages are sent to third-party service platform, security processing
Including encryption.
Content safety parameter is the parameter for needing to use when carrying out security processing to message content, such as can be to add
Key.In the present embodiment, the message content of client messages is encrypted according to the content safety parameter, will be encrypted
Treated, and client messages are sent to third-party service platform, in this way, allow third-party service platform to client messages into
Row safety processing, to improve the safety of Message Processing.
It should be noted that message content can using xml (Extens ib l e Markup Language, it is expansible
Markup language) format transmission.Client messages can be text message, image information and speech message etc., and client messages can be
Single chat message including two objects is also possible to the group chat message including at least three objects.
In a wherein application scenarios, content safety parameter is encryption key, and the encryption key is third party's service
The public key of offer, thus after being encrypted by message content of the public key to client messages, the only third party's service can be with
It is decrypted by the message content after private key pair encryption corresponding with the public key that it is provided.In this way, pacifying to client messages
Full property processing, to improve the safety of Message Processing.
In a wherein preferred embodiment, security parameter includes linking secure parameter and content safety parameter.According to safety
After parameter carries out security processing to client messages, it is sent to third-party service platform, including:According to linking secure parameter
Signature processing is carried out to the destination address of client messages;It is encrypted according to message content of the content safety parameter to client messages
Processing;The client messages for carrying out security processing are sent to third-party service platform, security processing includes at signature
Reason and encryption.
Technical solution based on this preferred embodiment not only carried out signature processing to the destination address of client messages, but also to visitor
The message content of family message is encrypted, and in such a way that dual security is handled, mentions for the safety of client messages
Guarantee for dual safety, to improve the safety of Message Processing.
In one embodiment, before identifying the service parameter for determining destination service according to destination service, further include:
S301, receives service profile information, and service profile information carries destination service mark.
S302 determines that destination service identifies corresponding service parameter according to service profile information.
Service profile information is the information for configuring service parameter.Message treatment method based on the present embodiment is the
Tripartite's service platform provides the interface of configuration service parameter, allows third-party service platform to send service by the interface and matches
Confidence breath.Third-party service platform can obtain the service for executing terminal distribution after the execution terminal for accessing this Message Processing
Then mark needs to provide service profile information to executing terminal.Terminal is executed after receiving service profile information, according to
The service profile information determines that destination service identifies corresponding service parameter.To provide one kind for the configuration of service parameter and match
Mode is set, the flexibility of Message Processing is further increased.
It is to be appreciated that service parameter may include loopback address, corresponding service profile information may include readjustment ground
Location.Loopback address supports http (Hyper Text Transfer Protocol, hypertext transfer protocol) and https (Hyper
Text Transfer Protocol Secure, Hyper text transfer security protocol).In this way, to the loopback address in service parameter
It is configured, thus, improve the flexibility of Message Processing.
Further, the technical solution based on a upper embodiment may include following two specific embodiment.Following two
In a specific embodiment, service parameter further includes security parameter.Security parameter may include linking secure parameter and/or content peace
Population parameter.
In one embodiment, according to service profile information, determine that destination service identifies corresponding service parameter, packet
It includes:When service profile information parameter safe to carry, service parameter is determined according to destination service mark and security parameter.
The case where security parameter is carried for service profile information, by service profile information carry security parameter and
Destination service identifies the security parameter that can determine destination service.Technical solution based on the present embodiment, passes through third party's service
Platform provides a kind of configuration mode of the security parameter of service parameter, to further improve the flexibility of Message Processing.
In wherein another embodiment, according to service profile information, determine that destination service identifies corresponding service parameter, packet
It includes:When service profile information not parameter safe to carry, security parameter is generated;It is true according to destination service mark and security parameter
Determine service parameter.
The case where not carrying security parameter for service profile information, can be raw in the execution terminal of message treatment method
At security parameter corresponding with destination service mark.Technical solution based on the present embodiment does not provide in third-party service platform
In the case where security parameter, the security parameter of service parameter can be provided by executing terminal, to further improve message
The flexibility of processing.
In one embodiment, client messages are received, further include before:
S303, receives session start order, and session start order carries customer ID and destination service mark.
S304 identifies corresponding service parameter according to destination service and determines session start message, and by session start message
It is sent to client terminal.Client terminal is the corresponding terminal of customer ID.
Technical solution based on the present embodiment can provide the support of event type for client terminal, and e.g., client can be
For client terminal by entering service number or clicking the event of message content, triggering sends session start order to this Message Processing
The execution terminal of method.It executes terminal and receives the session start order, and taken according to the target carried in the session start order
Business mark determines corresponding service parameter, and then determines session start message according to the service parameter, and the session start is disappeared
Breath is sent to client terminal.Wherein, the mode of session start message is determined according to the service parameter, can be to look for target clothes
Business identifies the content of the preset session start message in corresponding service parameter.The session start message can be to preset
Service parameter in one, the session start message can be configured when presetting the service parameter, can also be with
When third party's service sends service profile information and configures to service parameter, which is matched
It sets.Further, which can be welcome words, which may include text information, pictorial information and super
Link.Therefore, based on the technical solution of the present embodiment, the session start order that client terminal is sent can be carried out by executing terminal
Response.
Further, in one embodiment, corresponding service parameter is identified according to destination service and determines session start
Message, and session start message is sent to client terminal, further include later:
S305, reception turn manual request, turn manual request and carry customer ID and destination service mark.
S306 identifies corresponding service parameter according to destination service, will turn manual request and be sent to third-party service platform.
Technical solution based on the present embodiment can be client in the case where automatically replying cannot meet customer need
Terminal provides the trigger event for turning manual service, which can preset hyperlink etc. to click pre-set button or clicking.When
When the trigger event is triggered, client terminal sends the execution terminal for turning manual request to this message treatment method.Execute terminal
It receives and turns manual request, and according to this turn in manual request entrained destination service mark this is turned manual request to be sent to
The destination service identifies corresponding third-party service platform, responds so that third-party service platform turns manual request to this.
Technical solution based on the present embodiment, support turn manual service, and can be by third-party service platform according to its own demand
Personal management is carried out to manual service is turned, it is thus possible to improve the flexibility of Message Processing.
Further, corresponding service parameter is identified according to destination service, manual request will be turned and be sent to third party's service
Platform further includes later:
S307 receives third-party service platform according to the creation session request for turning manual request transmission.Create session request
Carry customer ID and customer service member identities.
S308 sends creation session command to client terminal according to customer ID and customer service member identities.
Technical solution based on the present embodiment provides creation session interface for third-party service platform, so that third party takes
Business platform can send creation session request to terminal is executed by the creation session interface, be that client and customer service member create meeting
Words, which can be group session or ordinary conversation.Group session refers to the session including at least three objects, and ordinary conversation refers to
It only include the session of two objects.Object includes client, customer service member, service number etc..Customer service clothes can be provided by the session
Business, provides the customer service of reply and answer by the customer service member in session for client, so turns people for customer in response terminal
Work request provides a kind of mode, so as to improve the robustness of Message Processing.
Further, creation session command is sent to client terminal, later according to customer ID and customer service member identities
Can also include:The session management request that third-party service platform is sent is received, and is requested to complete request according to the session management
Movement.Session management request carries session identification and request action, request action may include increase object, reduce object,
Modify session information etc..The execution terminal of Message Processing provides corresponding session management interface for third-party service platform, in this way,
Improve the integrality and practicability of Message Processing.
It is the another way for turning manual request and providing of customer in response terminal it is to be appreciated that in the application, for by the
Tripartite's service platform turn the processing of manual request, such as carries out the distribution of customer service member, the processing of message route assignment, customer service
Member replys client messages by third-party service platform.Before the customer service message of reply is directly delivered to by which
Session.It executes terminal and receives the answer content that customer service member replys client messages by third-party service platform
It is sent to client terminal.
In one embodiment, corresponding service parameter is identified according to destination service and determines session start message, and will
Session start message is sent to client terminal, further includes later:
S309 receives quick navigation requests.Quick navigation requests carry destination address, destination service mark and client's mark
Know.
S310 identifies corresponding service parameter according to destination service, quick navigation requests is sent to third party's service and are put down
Platform.
S311 receives the immediate navigational info that third-party service platform is returned according to destination address, and the letter that will quickly navigate
Breath is sent to the corresponding client terminal of customer ID.
Quick navigation requests are to be provided by providing the service window being arranged in the dialog box of client terminal for client default super
Grade link is connected to webpage or the service of client's needs.The default hyperlink can be the common hyperlink of client or visitor
Family most recently used hyperlink or through count the highest hyperlink of client's frequency of use.Destination address can be preset it is super
The chained address of link.Client can send quick in client terminal by clicking the default hyperlink in service window, triggering
Navigation requests request the corresponding webpage of the hyperlink or service.
It executes terminal and receives the quick navigation requests, and identified really according to the destination service carried in the quick navigation requests
Fixed corresponding service parameter, which includes loopback address, and it is corresponding which is sent to the loopback address
Third-party service platform.The quick navigation requests are handled by third-party service platform, which can be fast according to
Default hyperlink entrained by fast navigation requests sends a request to the default hyperlink and obtains immediate navigational info, the processing
It can also be the answer default corresponding customer service problem of hyperlink, it can be using the answer result as immediate navigational info;Most
The immediate navigational info is back to execution terminal afterwards.
After executing the immediate navigational info that terminal receives third-party service platform return, according to quick navigation requests institute
The immediate navigational info is sent to the corresponding client terminal of the customer ID by the customer ID of carrying.
In this way, realizing the function of quickly navigating, client is facilitated to be quickly navigate to the information of needs, so as to improve message
The efficiency of processing.
In one embodiment, method further includes:
S316, when service parameter does not include loopback address, and service parameter includes that customer service member determines parameter, according to visitor
It takes member and determines that parameter determines customer service terminal.
Client messages are sent to customer service terminal by S317, and customer service terminal is the visitor for determining parameter according to customer service member and determining
Take the corresponding terminal of member identities.
Technical solution based on the present embodiment is additionally provided based on the function of executing terminal offer customer service management.Work as service
When parameter does not include loopback address, then do not need to provide customer service by third-party service platform.At this point it is possible to according to service
Customer service member in parameter determines that parameter determines customer service member identities, and then is identified according to the consumer member and determine customer service terminal,
And after determining customer service terminal, client messages are sent to customer service terminal.In this way, realizing the simple visitor based on customer service terminal
Therefore the function of clothes management can provide simple customer service management function for the enterprise of no autonomous customer service management, to improve
The applicability of Message Processing.
It may include following it should be noted that wherein determining that parameter determines the process of customer service terminal according to customer service member
Three models, first, the customer service member of services client minimum number is determined as to handle the target customer service member of the client messages;
Second, the customer service member for servicing the client recently is determined as to handle the target customer service member of the client messages;Third, according to
The default classification of client messages' content determines the target customer service member for handling the client messages.
In one embodiment, method further includes:
S318 receives the service message that service terminal is sent.Service message carries target customer's mark.
Service message is sent to target client terminal by S319.Target client terminal is that target customer identifies corresponding end
End.
Wherein, service terminal includes third-party service platform or service terminal includes that third-party service platform and customer service are whole
End.
In the present embodiment according to the case where service terminal include two kinds of specific embodiments:First, service terminal includes the
Tripartite's service platform;Second, service terminal includes third-party service platform and customer service terminal.
Technical solution based on the present embodiment executes terminal and is receiving client messages, and client messages are sent to service
On the basis of terminal, it is also necessary to receive service message, and service message is sent to target client terminal.In this way, realizing client
The interaction of terminal and service terminal, to improve the interactivity and integrality of Message Processing.
Further, service message is sent to target client terminal, including:Service message is analyzed, is tested
Demonstrate,prove information;Proof of identity is carried out to service message according to verification information;When authentication result passes through, service message is sent
To target client terminal.
Technical solution based on the present embodiment, third-party service platform need to enclose verifying letter when sending service message
Breath.In a wherein preferred embodiment, which can be the access tag obtained before sending service message, this connects
Entering label can obtain according to the encryption key of the execution terminal distribution obtained when configuring service parameter to terminal request is executed
It arrives;The access tag can update primary every preset time.In another embodiment, which can also add
Key.It when third-party service platform sends message every time, is both needed to enclose access tag, carries out proof of identity for executing terminal.
In this way, improving the safety of Message Processing.
Fig. 3 and Fig. 4 are please referred to, in a wherein specific embodiment, turns manual request, session start order and fast
Fast navigation requests trigger client terminal by user's trigger event in client terminal and are sent to execution terminal.Terminal is executed to receive
Turn manual request and then determine service parameter executing terminal, and determines that access has when service parameter includes loopback address
Then third-party service platform will turn manual request by external interface according to loopback address and be sent to third-party service platform.
After execution terminal receives session start order, is determined and corresponded to according to the destination service mark carried in the session start order
Service parameter, and then session start message is determined according to the service parameter, and the session start message is sent to client's end
End.After execution terminal receives quick navigation requests, the corresponding service parameter is identified according to the destination service, by institute
It states quick navigation requests and is sent to the third-party service platform, then receive the third-party service platform according to the target
The immediate navigational info that address returns, and the immediate navigational info is sent to the corresponding client terminal of the customer ID.
It executes terminal and the service profile information that third-party service platform is sent is received by external interface, and according to the clothes
Business configuration information determines that the destination service identifies the corresponding service parameter.It executes terminal and passes through external interface reception the
Tripartite's service platform turns the creation session request of manual request transmission according to, and according to the customer ID and the customer service
Member identities send creation session command to the client terminal.Terminal is executed after receiving reception client messages, according to
The destination service carried in client messages identifies the service parameter for determining destination service.When the service parameter includes loopback address
When, third-party service platform is determined according to the loopback address, and the client messages are sent to by external interface described
Third-party service platform;When service parameter does not include loopback address, and the service parameter includes that customer service member determines parameter,
It determines that parameter determines customer service terminal according to the customer service member, and the client messages is sent to the customer service terminal.It executes
Terminal, which also passes through external interface and receives the service message that the service terminal is sent, disappears service after receiving service message
Breath is sent to client terminal.
Although it should be understood that Fig. 2,3 flow chart in each step successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, Fig. 2, at least one in 3
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown in figure 5, providing a kind of message processing apparatus, including:
Client messages' receiving module 502, for receiving client messages, the client messages carry destination service mark;
Service parameter determining module 504, for identifying the service parameter for determining destination service according to the destination service;
Third-party platform determining module 506, for when the service parameter includes loopback address, according to the readjustment ground
Location determines third-party service platform;
Client messages' sending module 508, for the client messages to be sent to the third-party service platform;
Wherein, the loopback address is the chained address of the third-party service platform, and the third-party service platform is
When the destination service is third party's service, the platform of the third party's service is provided.
Above-mentioned kind of message processing apparatus, receives client messages, and client messages carry destination service mark;According to destination service
Identify the service parameter for determining destination service;When service parameter includes loopback address, determine that third party takes according to loopback address
Business platform;Wherein, loopback address is the chained address of third-party service platform, and third-party service platform is when destination service is the
When tripartite services, the platform of third party's service is provided;Client messages are sent to third-party service platform.In this way, client is disappeared
Breath is sent to third-party service platform, is handled by third-party service platform client messages.Therefore, this message processing apparatus
Client messages can be docked with third-party service platform, without paying close attention to how third-party service platform carries out customer service pipe
Reason namely third-party service platform can provide personalized customer service management according to self-demand, thus the message processing apparatus
Flexibility it is higher.
In one embodiment, the service parameter includes security parameter;Client messages' sending module is used for root
After carrying out security processing to the client messages according to the security parameter, it is sent to the third-party service platform.
In one embodiment, the security parameter includes linking secure parameter;Client messages' sending module is used
In carrying out signature processing according to destination address of the linking secure parameter to the client messages, and will carry out at security
The client messages after reason are sent to the third-party service platform, and the security processing includes that the signature is handled.
In one embodiment, the security parameter includes content safety parameter;Client messages' sending module is used
The message content of the client messages is encrypted according to the content safety parameter, and will be carried out at security
The client messages after reason are sent to the third-party service platform, and the security processing includes the encryption.
In one embodiment, described device further includes:
Service parameter configuration module, for receiving service profile information, the service profile information carries the target clothes
Business mark, and according to the service profile information, determine that the destination service identifies the corresponding service parameter.
In one embodiment, the service parameter configuration module is also used to carry peace when the service profile information
When population parameter, the service parameter is determined according to destination service mark and the security parameter.
In one embodiment, described device further includes:
Service parameter generation module, for generating the safety when the service profile information not parameter safe to carry
Parameter, and the service parameter is determined according to destination service mark and the security parameter.
In one embodiment, described device further includes:
Session start Order receiver module, for receiving session start order, the session start order carries client's mark
Know and the destination service identifies;
Session start message transmission module, for determining meeting according to the corresponding service parameter of destination service mark
Words start message, and the session start message is sent to client terminal, and the client terminal is corresponding for the customer ID
Terminal.
In one embodiment, described device further includes:
Turn manual request receiving module, turn manual request for receiving, the manual request that turns carries the customer ID
And the destination service mark;
Turn manual request forwarding module, it, will be described for identifying the corresponding service parameter according to the destination service
Turn manual request and is sent to the third-party service platform.
In one embodiment, described device further includes:
Session request receiving module turns the wound of manual request transmission for receiving the third-party service platform according to
Session request is built, the creation session request carries the customer ID and customer service member identities;
Session command sending module, for sending creation session life according to the customer ID and the customer service member identities
It enables to the client terminal.
In one embodiment, described device further includes:
Navigation requests receiving module, for receiving quick navigation requests, the quick navigation requests carry destination address, institute
State destination service mark and the customer ID;
Navigation requests forwarding module will be described fast for identifying the corresponding service parameter according to the destination service
Fast navigation requests are sent to the third-party service platform;
Navigation information transceiver module is returned for receiving the third-party service platform according to the destination address quick
Navigation information, and the immediate navigational info is sent to the corresponding client terminal of the customer ID.
In one embodiment, described device further includes customer service terminal deciding module;
The customer service terminal deciding module, for not including loopback address when the service parameter, and the service parameter
When determining parameter including customer service member, determine that parameter determines customer service terminal according to the customer service member;
Client messages' forwarding module is also used to for the client messages to be sent to the customer service terminal, the customer service
Terminal is the corresponding terminal of customer service member identities for determining parameter according to the customer service member and determining.
In one embodiment, described device further includes:
Service message receiving module, the service message sent for receiving the service terminal, the service message carry
Target customer's mark;
Service message forwarding module, for the service message to be sent to target client terminal, the target customer is whole
End is that the target customer identifies corresponding terminal;
Wherein, the service terminal includes the third-party service platform or the service terminal includes the third party
Service platform and the customer service terminal.
In one embodiment, described device further includes verification information determining module and proof of identity module;
The verification information determining module is verified information for analyzing the service message;
The proof of identity module, for carrying out proof of identity to the service message according to the verification information;
The service message forwarding module, for when the authentication result passes through, the service message to be sent
To the target client terminal.
In one embodiment, a kind of server is provided, internal structure chart can be as shown in Figure 6.The server packet
Include processor, memory and the network interface connected by system bus.Wherein, the processor of the server is for providing calculating
And control ability.The memory of the server includes non-volatile memory medium, built-in storage.The non-volatile memory medium is deposited
Contain operating system and computer program.The built-in storage is operating system and computer program in non-volatile memory medium
Operation provide environment.The network interface of the server is used to communicate with external terminal by network connection.The computer journey
To realize a kind of message treatment method when sequence is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of server, including memory and processor are provided, is stored with calculating in memory
The step of machine program, which realizes above-mentioned message treatment method when executing computer program.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
The step of machine program realizes above-mentioned message treatment method when being executed by processor.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synch l i nk) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (15)
1. a kind of message treatment method, the method includes:
Client messages are received, the client messages carry destination service mark;
The service parameter for determining destination service is identified according to the destination service;
When the service parameter includes loopback address, third-party service platform is determined according to the loopback address;
The client messages are sent to the third-party service platform;
Wherein, the loopback address is the chained address of the third-party service platform, and the third-party service platform is works as
State destination service be third party's service when, the platform of the third party's service is provided.
2. the method according to claim 1, wherein the service parameter includes security parameter;It is described will be described
Client messages are sent to the third-party service platform, including:
After carrying out security processing to the client messages according to the security parameter, it is flat to be sent to the third party's service
Platform.
3. according to the method described in claim 2, it is characterized in that, the security parameter includes linking secure parameter;Described
After carrying out security processing to the client messages according to the security parameter, it is sent to the third-party service platform, is wrapped
It includes:
Signature processing is carried out according to destination address of the linking secure parameter to the client messages;
Security will be carried out treated the client messages the are sent to third-party service platform, at the security
Reason includes that the signature is handled.
4. according to the method described in claim 2, it is characterized in that, the security parameter includes content safety parameter;Described
After carrying out security processing to the client messages according to the security parameter, it is sent to the third-party service platform, is wrapped
It includes:
The message content of the client messages is encrypted according to the content safety parameter;
Security will be carried out treated the client messages the are sent to third-party service platform, at the security
Reason includes the encryption.
5. the method according to claim 1, wherein described identified according to the destination service determines destination service
Service parameter before, further include:
Service profile information is received, the service profile information carries the destination service mark;
According to the service profile information, determine that the destination service identifies the corresponding service parameter.
6. according to the method described in claim 5, determining the mesh it is characterized in that, described according to the service profile information
The corresponding service parameter of service identifiers is marked, including:
When service profile information parameter safe to carry, determined according to destination service mark and the security parameter
The service parameter.
7. according to the method described in claim 5, determining the mesh it is characterized in that, described according to the service profile information
The corresponding service parameter of service identifiers is marked, including:
When the service profile information not parameter safe to carry, the security parameter is generated;
The service parameter is determined according to destination service mark and the security parameter.
8. the method according to claim 1, wherein the reception client messages, further include before:
Session start order is received, the session start order carries customer ID and destination service mark;
The corresponding service parameter is identified according to the destination service and determines session start message, and the session start is disappeared
Breath is sent to client terminal, and the client terminal is the corresponding terminal of the customer ID.
9. according to the method described in claim 8, it is characterized in that, described identify the corresponding clothes according to the destination service
Business parameter determines session start message, and the session start message is sent to client terminal, further includes later:
Reception turns manual request, and the manual request that turns carries the customer ID and destination service mark;
The corresponding service parameter is identified according to the destination service, the manual request that turns is sent to third party's clothes
Business platform.
10. according to the method described in claim 9, it is characterized in that, described corresponding described according to destination service mark
The manual request that turns is sent to the third-party service platform, further includes later by service parameter:
The creation session request that the third-party service platform turns manual request transmission according to is received, the creation session is asked
It asks and carries the customer ID and customer service member identities;
Creation session command is sent to the client terminal according to the customer ID and the customer service member identities.
11. the method according to claim 1, wherein the method also includes:
When the service parameter does not include loopback address, and the service parameter includes that customer service member determines parameter, according to institute
It states customer service member and determines that parameter determines customer service terminal;
The client messages are sent to the customer service terminal, the customer service terminal is to determine that parameter is true according to the customer service member
The fixed corresponding terminal of customer service member identities.
12. according to claim 1 to method described in 11 any one, which is characterized in that the method also includes:
The service message that the service terminal is sent is received, the service message carries target customer's mark;
The service message is sent to target client terminal, the target client terminal is that target customer mark is corresponding
Terminal;
Wherein, the service terminal includes the third-party service platform or the service terminal includes the third party's service
Platform and the customer service terminal.
13. a kind of message processing apparatus, described device include:
Client messages' receiving module, for receiving client messages, the client messages carry destination service mark;
Service parameter determining module, for identifying the service parameter for determining destination service according to the destination service;
Third-party platform determining module, for being determined according to the loopback address when the service parameter includes loopback address
Third-party service platform;
Client messages' sending module, for the client messages to be sent to the third-party service platform;
Wherein, the loopback address is the chained address of the third-party service platform, and the third-party service platform is works as
State destination service be third party's service when, the platform of the third party's service is provided.
14. a kind of server, including memory and processor, the memory are stored with computer program, which is characterized in that institute
State the step of realizing any one of claims 1 to 12 the method when processor executes the computer program.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 12 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810689685.3A CN108833265B (en) | 2018-06-28 | 2018-06-28 | Message processing method, device, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810689685.3A CN108833265B (en) | 2018-06-28 | 2018-06-28 | Message processing method, device, server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108833265A true CN108833265A (en) | 2018-11-16 |
CN108833265B CN108833265B (en) | 2021-04-20 |
Family
ID=64133788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810689685.3A Active CN108833265B (en) | 2018-06-28 | 2018-06-28 | Message processing method, device, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108833265B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109639828A (en) * | 2019-01-15 | 2019-04-16 | 腾讯科技(深圳)有限公司 | Conversation message treating method and apparatus |
CN110535752A (en) * | 2019-08-26 | 2019-12-03 | 南京睿数网络科技有限公司 | A kind of intelligent Answer System and method based on wechat public platform |
CN111510565A (en) * | 2020-06-18 | 2020-08-07 | 北京灵伴即时智能科技有限公司 | Data encryption customer service system and customer service method |
CN111585874A (en) * | 2020-07-17 | 2020-08-25 | 支付宝(杭州)信息技术有限公司 | Method and system for automatically controlling service group |
CN111679876A (en) * | 2020-05-25 | 2020-09-18 | 泰康保险集团股份有限公司 | Data processing method and device, electronic equipment and storage medium |
WO2022042140A1 (en) * | 2020-08-31 | 2022-03-03 | Oppo广东移动通信有限公司 | Data processing method and apparatus, electronic device, and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103095753A (en) * | 2011-10-31 | 2013-05-08 | 中兴通讯股份有限公司 | Customer service system and customer service push method |
CN103227748A (en) * | 2013-03-14 | 2013-07-31 | 夏振宇 | Open public real-time communication platform network system |
CN104955003A (en) * | 2014-03-31 | 2015-09-30 | 金蝶软件(中国)有限公司 | Business data query system and method thereof |
CN105808694A (en) * | 2016-03-04 | 2016-07-27 | 上海携程商务有限公司 | Online customer service response system and method |
CN107196917A (en) * | 2017-04-27 | 2017-09-22 | 深圳市威富通科技有限公司 | A kind of service response method and its middleware |
US20170353495A1 (en) * | 2016-06-02 | 2017-12-07 | International Business Machines Corporation | System, method, and recording medium for moving target defense |
-
2018
- 2018-06-28 CN CN201810689685.3A patent/CN108833265B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103095753A (en) * | 2011-10-31 | 2013-05-08 | 中兴通讯股份有限公司 | Customer service system and customer service push method |
CN103227748A (en) * | 2013-03-14 | 2013-07-31 | 夏振宇 | Open public real-time communication platform network system |
CN104955003A (en) * | 2014-03-31 | 2015-09-30 | 金蝶软件(中国)有限公司 | Business data query system and method thereof |
CN105808694A (en) * | 2016-03-04 | 2016-07-27 | 上海携程商务有限公司 | Online customer service response system and method |
US20170353495A1 (en) * | 2016-06-02 | 2017-12-07 | International Business Machines Corporation | System, method, and recording medium for moving target defense |
CN107196917A (en) * | 2017-04-27 | 2017-09-22 | 深圳市威富通科技有限公司 | A kind of service response method and its middleware |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109639828A (en) * | 2019-01-15 | 2019-04-16 | 腾讯科技(深圳)有限公司 | Conversation message treating method and apparatus |
CN109639828B (en) * | 2019-01-15 | 2022-05-24 | 腾讯科技(深圳)有限公司 | Session message processing method and device |
CN110535752A (en) * | 2019-08-26 | 2019-12-03 | 南京睿数网络科技有限公司 | A kind of intelligent Answer System and method based on wechat public platform |
CN111679876A (en) * | 2020-05-25 | 2020-09-18 | 泰康保险集团股份有限公司 | Data processing method and device, electronic equipment and storage medium |
CN111510565A (en) * | 2020-06-18 | 2020-08-07 | 北京灵伴即时智能科技有限公司 | Data encryption customer service system and customer service method |
CN111585874A (en) * | 2020-07-17 | 2020-08-25 | 支付宝(杭州)信息技术有限公司 | Method and system for automatically controlling service group |
WO2022042140A1 (en) * | 2020-08-31 | 2022-03-03 | Oppo广东移动通信有限公司 | Data processing method and apparatus, electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108833265B (en) | 2021-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108833265A (en) | Message treatment method, device, server and storage medium | |
US11727381B2 (en) | Method, server, and readable storage medium for processing payment in offline scenario | |
KR20180051556A (en) | Method and device for implementing service functions | |
CN109325870A (en) | The method and system of shared private data | |
CN110489979A (en) | Conferencing information methods of exhibiting, device, computer equipment and storage medium | |
CN109447780A (en) | Information push method, device, computer equipment and storage medium | |
CN106709280A (en) | Method, client and server for processing information | |
US10831754B2 (en) | Using metadata to take action on an SMS message on a proprietary system | |
CN108605043A (en) | The certification of packetizing audio signal | |
CN108140176A (en) | Search result is concurrently identified from the local search and long-range search to communication | |
CN108140174A (en) | Dialogue and Version Control for object in communication | |
CN109816364A (en) | Transaction data processing method, device, computer equipment and storage medium | |
CN109697370A (en) | Database data encipher-decipher method, device, computer equipment and storage medium | |
CN105812481A (en) | Hypertext transfer protocol request identification system and hypertext transfer protocol request identification method | |
JP2022525840A (en) | Systems and methods for pre-authentication of customer support calls | |
US20180226069A1 (en) | Intelligent action recommendation | |
CN106485520B (en) | Cross-channel communication control method and server | |
CN115079880A (en) | Information code display method and device, terminal equipment and storage medium | |
CN112910741B (en) | Interface testing method and device, computer equipment and storage medium | |
US11902387B2 (en) | Apparatus and methods for real-time rendering of zero-byte customized software on a client station | |
US20200167665A1 (en) | Performing data processing based on decision tree | |
CN114357472B (en) | Data tagging method, system, electronic device and readable storage medium | |
CN114580689A (en) | Service prediction method, device, equipment, storage medium and program product | |
CN110266734A (en) | Speech verification method, apparatus calculates equipment and medium | |
CN109474762A (en) | Processing method, device, computer equipment and the storage medium for task of making house calls |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |