CN106487541B - Multi-communication module fault control method and server - Google Patents
Multi-communication module fault control method and server Download PDFInfo
- Publication number
- CN106487541B CN106487541B CN201510528154.2A CN201510528154A CN106487541B CN 106487541 B CN106487541 B CN 106487541B CN 201510528154 A CN201510528154 A CN 201510528154A CN 106487541 B CN106487541 B CN 106487541B
- Authority
- CN
- China
- Prior art keywords
- communication
- module
- event
- communication module
- modules
- 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.)
- Active
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
A multi-communication module fault control method comprises the following steps: when a communication module is detected to generate a communication event, analyzing and storing the communication content and the communication object identification of the communication event; when the communication module with the communication event has a fault, determining other communication modules corresponding to the communication object of the party with the fault according to a pre-stored mapping relation table between the communication object identifications; counting all historical times of communication events of the other communication modules or historical times of the communication events in a latest preset time period; sequencing the other communication modules according to the historical times; and according to the sequence, skipping and using the communication module with the largest historical times for communication. The invention also provides a server suitable for the method. The invention can jump to other communication modules when a certain communication module has a fault so as to provide service between cross-tools for a client.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a multi-communication module fault control method and a server.
Background
With the development of the internet and the significance of the network marketing mode, the online customer service system becomes an important tool for network marketing and is also a necessary tool for improving the website image of an enterprise and enhancing the interaction between the enterprise and visitors.
Generally, in order to meet the requirements of different customers, a customer service server is configured with a plurality of instant messaging modules, such as a telephone messaging module, a WeChat module, a short message module, an email module, and a web page IM (instant message) module. However, the data communication between these modules is independent, and information sharing cannot be achieved. When a communication module has a communication fault, the communication module can continue to serve the client only after the fault is recovered.
Disclosure of Invention
In view of the foregoing, there is a need for a method and a server for controlling multiple communication module failures, which can jump to another communication module when a failure occurs in a communication module, so as to provide a service across tools to a client.
A multi-communication module fault control method comprises the following steps:
detecting communication events of various communication modules installed in an electronic device to detect whether one communication module has a communication event;
when one communication module has a communication event, analyzing and storing the communication content and the communication object identification of the communication event;
detecting and judging whether the communication module with the communication event has a fault or not;
when the communication module of the communication event has a fault, determining other communication object identifiers corresponding to the communication object identifiers of the communication event according to a pre-stored mapping relation table between the communication object identifiers;
counting all the historical times of the other communication object identifiers based on the communication events of the corresponding other communication modules or the historical times of the communication events in the latest preset time period;
sequencing other communication modules corresponding to the other communication object identifications according to the sequence of the historical times; and
and according to the sequencing, skipping and using other communication modules with the maximum corresponding historical times for communication.
Preferably, the method further comprises:
and sharing the communication content of the communication module with the fault to the communication module with the jump.
Preferably, the multiple communication modules comprise a telephone communication module, a WeChat module, a short message module, a mail module and a webpage IM module; the communication events comprise a call event, a WeChat sending event, a short message sending event, an email sending event and an instant webpage message sending event; different communication modules correspond to different communication object identifiers.
Preferably, the communication content includes phone voice data, WeChat content data, short message content data, mail content data and webpage content data, and the data type of the communication content includes characters, pictures, texts, voice and video.
Preferably, the communication object identifier includes a telephone number, a micro signal, a mail address, a QQ number, and a wang number, and the communication object includes a customer and a customer service.
A server adapted for use in the above method, the server being equipped with a plurality of communication modules, a storage device and a processor, wherein:
the storage unit is used for storing a mapping relation table between communication object identifiers and also storing a multi-communication module fault control system;
the processor is used for calling and executing the multi-communication module fault control system so as to execute the following steps:
detecting communication events of a plurality of installed communication modules so as to detect whether one communication module has a communication event;
when one communication module has a communication event, analyzing and storing the communication content and the communication object identification of the communication event;
detecting and judging whether the communication module with the communication event has a fault or not;
when the communication module of the communication event has a fault, determining other communication object identifiers corresponding to the communication object identifiers of the communication event according to a pre-stored mapping relation table between the communication object identifiers;
counting all the historical times of the communication events of the other communication object identifiers based on the corresponding other communication modules or the historical times of the communication events in the latest preset time period;
sequencing other communication modules corresponding to the other communication object identifications according to the sequence of the historical times; and
and skipping and correspondingly using other communication modules with the largest historical times for communication according to the sequence.
Preferably, the processor calls and executes the multi-communication module fault control system, and further executes the following steps:
and sharing the communication content of the communication module with the fault to the communication module with the jump.
Preferably, the plurality of communication modules comprise a telephone communication module, a WeChat module, a short message module, a mail module and a webpage IM module; the communication events comprise a call event, a WeChat sending event, a short message sending event, an email sending event and an instant webpage message sending event; different communication modules correspond to different communication object identifiers.
Preferably, the communication content includes phone voice data, WeChat content data, short message content data, mail content data and webpage content data, and the data type of the communication content includes characters, pictures, texts, voice and video.
Preferably, the communication object identifier includes a telephone number, a micro signal, a mail address, a QQ number, and a wang number, and the communication object includes a customer and a customer service.
By utilizing the multi-communication module fault control method and the server, when a certain communication module has a fault, the server can jump to other communication modules so as to provide cross-tool service for a client.
Drawings
FIG. 1 is a diagram of a hardware environment of a preferred embodiment of the multiple communication module fault control system of the present invention.
FIG. 2 is a functional block diagram of a multi-communication module fault control system according to a preferred embodiment of the present invention.
FIG. 3 is a flowchart illustrating a method of controlling a fault in multiple communication modules according to a preferred embodiment of the present invention.
Fig. 4 illustrates a table of mapping relationships between pre-stored communication object identifiers.
Detailed Description
FIG. 1 is a hardware environment diagram of a preferred embodiment of the multi-communication module fault control system of the present invention. The multi-communication module fault control system 10 of the present embodiment may be installed and operated in a server 1, and the server 1 may be a customer service server.
The server 1 further includes a plurality of instant messaging tools 11, including a first communication module 111, a second communication module 112, a third communication module 113, … … and an nth communication module 11N. The first communication module 111, the second communication module 112, the third communication modules 113 and … …, and the nth communication module 11N may be a telephone communication module, a WeChat module, a short message module, an email module, a web page IM (instant message) module, etc.
Further, the server 1 further comprises a storage device 12 and a processor 13.
The storage device 12 may be one or more non-volatile memory units, such as ROM, EPROM, or flash memory, etc. The storage device 12 may be internal or external to the server 1.
The processor 13 is a Core Unit (Core Unit) and a Control Unit (Control Unit) of the server 1, and is configured to interpret instructions in the multi-communication-module Control apparatus 1 and process software data in the server 1.
The multi-communication module fault control system 10 includes computer executable program code, which can be stored in the storage device 12 and executed by the processor 13 to implement the following functions: detecting communication events of each communication module, and when detecting that one communication module has a communication event, analyzing and storing the communication content and the communication object identification of the communication event; when the communication module with the communication event is in fault, determining other communication object identifiers corresponding to the communication object identifiers of the communication event according to a pre-stored mapping relation table between the communication object identifiers, counting all historical times of the other communication object identifiers based on the communication event of the corresponding other communication module or the historical times of the communication event in a latest preset time period, and sequencing the other communication modules corresponding to the other communication object identifiers according to the sequence of the historical times; and according to the sequence, skipping and using other communication modules with the maximum corresponding historical times for communication.
In this embodiment, different communication modules correspond to different communication object identifiers.
Further, the multi-communication module fault control system 10, under the execution of the processor 13, further implements the following functions: and sharing the communication content of the communication module with the fault to the communication module with the jump.
In this embodiment, the communication event may include, for example, a call event, a WeChat sending event, a short message sending event, an email sending event, an instant web page message sending event, and the like.
In this embodiment, the communication content of the communication event may include, for example, telephone voice data, WeChat content data, short message content data, mail content data, web page content data, and the like. The data type of the communication content of the communication event can be characters, pictures, texts, voice, video and the like.
In this embodiment, the communication object identifier may include, for example, a telephone number, a micro signal, an email address, a QQ number, a wang number, and the like.
In this embodiment, the communication object includes users of both communication parties of the communication event, such as a client and a customer service.
The mapping relationship table between the communication object identifiers is shown in fig. 4. In the mapping relationship table, all communication identifiers of each user are stored in advance, for example, the user includes a first communication module, which is identified as AAAAAAAAA, such as a QQ number 1234567, a second communication module, which is identified as bbbbbbbb, such as a mobile phone number 13011111111, a third communication module, which is identified as CCCCCCCCCC, such as a micro signal whoareyou, and an nth communication module, which is identified as NNNNNNNNN, such as a mail address 123456@163. com. All communication modules and their identities of each user may be obtained by means of big data or may be transmitted to the server 1 by each user.
Referring to fig. 2, a functional block diagram of a multi-communication module fault control system according to a preferred embodiment of the present invention is shown.
The program code of the multi-communication module fault control system 10 may be divided into a plurality of functional modules according to different functions. In this embodiment, the multi-communication module fault control system 10 may include a detection module 100, a storage module 101, a fault detection module 102, a matching module 103, a statistics module 104, a sorting module 105, a skip module 106, and a sharing module 107.
The detecting module 100 is used for detecting communication events of each communication module to detect whether one of the communication modules, such as the first communication module 111, has a communication event. The first communication module 111 may be any one of a telephone communication module, a WeChat module, a short message module, an email module, a web page IM (instant message) module, and the like. The communication event may be, for example, a call event, a WeChat event, a short message event, a mail event, an instant Web message event, etc.
The storage module 101 is configured to analyze and store a communication content and a communication object identifier of a communication event when one of the communication modules, for example, the first communication module 111, has the communication event. The communication content may include, for example, telephone voice data, WeChat content data, short message content data, mail content data, web page content data, and the like. The data type of the communication content can be characters, pictures, voice, video and the like. The communication object identifier may be, for example, a telephone number, a micro signal, a mail address, a QQ number, a wang number, or the like. The communication object comprises users of both communication parties of the communication event, such as a client and a customer service. The communication content of the communication event and the communication object identifier may be temporarily stored in the storage device 12.
The failure detection module 102 is configured to detect and determine whether a communication module that has the communication event has a failure. The failure includes, for example, failure to communicate, disconnection, etc.
The matching module 103 is configured to determine other communication object identifiers corresponding to the communication object identifier of the communication event according to a mapping relationship table between pre-stored communication object identifiers. For example, the matching module 103 determines other communication object identifiers corresponding to the communication object identifiers according to a mapping relationship table between pre-stored communication object identifiers as shown in fig. 4. For example, if the communication module with the fault is the first communication module 111 of the user X, the matching module 103 determines, according to the mapping relationship table pre-stored in fig. 4 between the communication object identifiers, other communication module object identifiers corresponding to the communication object identifiers, including the identifier bbbbbbbb of the second communication module 112, such as the mobile phone number 13011111111, the identifier CCCCCCCCCC of the third communication module 113, such as the micro signal whoareyou, and the identifier NNNNNNNNN of the nth communication module 11N, such as the email address 123456@163. com.
The counting module 104 is configured to count all the historical times of the communication events occurring on the basis of the other corresponding communication module of the other communication object identifiers or the historical times of the communication events occurring within the latest preset time period. The preset time period may be, for example, one month, one week, etc.
The sorting module 105 is configured to sort, according to the historical times, other communication modules corresponding to the other communication object identifiers. In this embodiment, the sorting may be in an order from large to small according to the history times.
The skip module 106 is configured to skip and use the other communication module with the largest corresponding historical time for communication according to the above sorting.
The sharing module 107 is configured to share the communication content of the failed communication module with the skipped communication module.
Fig. 4 is a flowchart illustrating a method of controlling a fault of multiple communication modules according to a preferred embodiment of the present invention. The method for controlling the fault of the multiple communication modules in this embodiment is not limited to the steps shown in the flowchart, and in addition, some steps may be omitted and the sequence between the steps may be changed in the steps shown in the flowchart.
In step S10, the detecting module 100 detects a communication event of each communication module. The communication event may be, for example, a call event, a WeChat event, a short message event, a mail event, an instant Web message event, etc.
In step S11, the detecting module 100 determines whether a communication event occurs in one of the communication modules, such as the first communication module 111. The first communication module 111 may be any one of a telephone communication module, a WeChat module, a short message module, an email module, a web page IM (instant message) module, and the like. When detecting that a communication event occurs in one of the communication modules, the following step S12 is executed. Otherwise, if no communication event is detected to occur in any of the communication modules, the step S10 is executed continuously.
In step S12, the storage module 101 analyzes and stores the communication content and the communication object id of the communication event. The communication content may include, for example, telephone voice data, WeChat content data, short message content data, mail content data, web page content data, and the like. The data type of the communication content can be characters, pictures, voice, video and the like. The communication object identifier may be, for example, a telephone number, a micro signal, a mail address, a QQ number, a wang number, or the like. The communication object comprises users of both communication parties of the communication event, such as a client and a customer service. The communication content of the communication event and the communication object identifier may be temporarily stored in the storage device 12.
In step S13, the failure detection module 102 detects and determines whether the communication module having the communication event has failed. The failure includes, for example, failure to communicate, disconnection, etc. When the communication module having the communication event does not have a fault, the step S12 is continuously executed. Otherwise, when the communication module having the communication event is failed, the following step S14 is executed.
In step S14, the matching module 103 determines other communication object identifiers corresponding to the communication object identifier of the communication event according to a mapping relationship table between pre-stored communication object identifiers. For example, the matching module 103 determines other communication module object identifiers corresponding to the communication object identifiers according to a pre-stored mapping relationship table between the communication object identifiers as shown in fig. 4. For example, if the communication module with the fault is the first communication module 111 of the user X, the matching module 103 determines, according to the mapping relationship table pre-stored in fig. 4 between the communication object identifiers, other communication module object identifiers corresponding to the communication object identifiers, including the identifier bbbbbbbb of the second communication module 112, such as the mobile phone number 13011111111, the identifier CCCCCCCCCC of the third communication module 113, such as the micro signal whoareyou, and the identifier NNNNNNNNN of the nth communication module 11N, such as the email address 123456@163. com.
In step S15, the counting module 104 counts all the historical times of the communication events of the other communication modules or the historical times of the communication events occurring within the latest preset time period. The last preset time period may be, for example, within one month, one week, etc.
In step S16, the sorting module 105 sorts the other communication modules corresponding to the other communication object identifiers according to the historical times. In this embodiment, the sorting may be in an order from large to small according to the history times.
In step S17, the skip module 106 is configured to skip and use the other communication module with the largest historical frequency for communication according to the above sorting.
In step S18, the sharing module 107 shares the communication content of the failed communication module with the skipped communication module.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims (6)
1. A multi-communication module fault control method is characterized by comprising the following steps:
detecting communication events of various communication modules installed in an electronic device to detect whether one communication module has a communication event; the various communication modules comprise a telephone communication module, a WeChat module, a short message module, a mail module and a webpage IM module; the communication events comprise a call event, a WeChat sending event, a short message sending event, an email sending event and an instant webpage message sending event; different communication modules correspond to different communication object identifiers;
when one communication module has a communication event, analyzing and storing the communication content and the communication object identification of the communication event;
detecting and judging whether the communication module with the communication event has a fault or not;
when the communication module of the communication event has a fault, determining other communication object identifiers corresponding to the communication object identifiers of the communication event according to a pre-stored mapping relation table between the communication object identifiers;
counting all the historical times of the other communication object identifiers based on the communication events of the corresponding other communication modules or the historical times of the communication events in the latest preset time period;
sequencing other communication modules corresponding to the other communication object identifications according to the sequence of the historical times; and
and according to the sequencing, skipping and using other communication modules with the maximum corresponding historical times for communication, and sharing the communication content of the communication module with the fault to the skipped communication module.
2. The method according to claim 1, wherein the communication content includes phone voice data, micro communication content data, short message content data, mail content data, and web page content data, and the data type of the communication content includes text, picture, graphics, voice, and video.
3. The method of claim 1, wherein the communication object identifier comprises a phone number, a micro signal, a mail address, a QQ number, and a Wang number, and the communication object comprises a customer and a customer service.
4. A server adapted to the multiple communication module fault control method according to any one of claims 1 to 3, wherein the server is equipped with a plurality of communication modules, a storage device, and a processor, wherein:
the storage device is used for storing a mapping relation table between communication object identifiers and also storing a multi-communication module fault control system;
the processor is used for calling and executing the multi-communication module fault control system so as to execute the following steps:
detecting communication events of a plurality of installed communication modules so as to detect whether one communication module has a communication event; the communication modules comprise a telephone communication module, a WeChat module, a short message module, a mail module and a webpage IM module; the communication events comprise a call event, a WeChat sending event, a short message sending event, an email sending event and an instant webpage message sending event; different communication modules correspond to different communication object identifiers;
when one communication module has a communication event, analyzing and storing the communication content and the communication object identification of the communication event;
detecting and judging whether the communication module with the communication event has a fault or not;
when the communication module of the communication event has a fault, determining other communication object identifiers corresponding to the communication object identifiers of the communication event according to a pre-stored mapping relation table between the communication object identifiers;
counting all the historical times of the communication events of the other communication object identifiers based on the corresponding other communication modules or the historical times of the communication events in the latest preset time period;
sequencing other communication modules corresponding to the other communication object identifications according to the sequence of the historical times; and
and according to the sequencing, skipping and correspondingly using other communication modules with the largest historical times for communication, and sharing the communication content of the communication module with the fault to the skipped communication module.
5. The server according to claim 4, wherein the communication content includes telephone voice data, WeChat content data, short message content data, mail content data, and web page content data, and the data types of the communication content include text, picture, text, voice, and video.
6. The server according to claim 4, wherein the communication object identifier includes a telephone number, a micro signal, a mail address, a QQ number, and a Wang number, and the communication object includes a customer and a customer service.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510528154.2A CN106487541B (en) | 2015-08-25 | 2015-08-25 | Multi-communication module fault control method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510528154.2A CN106487541B (en) | 2015-08-25 | 2015-08-25 | Multi-communication module fault control method and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106487541A CN106487541A (en) | 2017-03-08 |
CN106487541B true CN106487541B (en) | 2020-07-24 |
Family
ID=58233262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510528154.2A Active CN106487541B (en) | 2015-08-25 | 2015-08-25 | Multi-communication module fault control method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106487541B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483616A (en) * | 2007-12-31 | 2009-07-15 | 国际商业机器公司 | Message processing method and system |
CN101971584A (en) * | 2008-02-06 | 2011-02-09 | 高通股份有限公司 | Method and apparatus for delivery confirmation of a message |
CN102404301A (en) * | 2010-09-15 | 2012-04-04 | 中华电信股份有限公司 | Integration method of communication service and system thereof |
CN102664909A (en) * | 2011-01-28 | 2012-09-12 | 微软公司 | Re-establishing push notification channels via user identifiers |
CN103580998A (en) * | 2013-11-22 | 2014-02-12 | 中国联合网络通信集团有限公司 | Method and device for sharing communication behavior information |
-
2015
- 2015-08-25 CN CN201510528154.2A patent/CN106487541B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483616A (en) * | 2007-12-31 | 2009-07-15 | 国际商业机器公司 | Message processing method and system |
CN101971584A (en) * | 2008-02-06 | 2011-02-09 | 高通股份有限公司 | Method and apparatus for delivery confirmation of a message |
CN102404301A (en) * | 2010-09-15 | 2012-04-04 | 中华电信股份有限公司 | Integration method of communication service and system thereof |
CN102664909A (en) * | 2011-01-28 | 2012-09-12 | 微软公司 | Re-establishing push notification channels via user identifiers |
CN103580998A (en) * | 2013-11-22 | 2014-02-12 | 中国联合网络通信集团有限公司 | Method and device for sharing communication behavior information |
Also Published As
Publication number | Publication date |
---|---|
CN106487541A (en) | 2017-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10795629B2 (en) | Text and custom format information processing method, client, server, and computer-readable storage medium | |
US8352546B1 (en) | Contextual and location awareness for device interaction | |
FI119168B (en) | SMS delivery method and system for queries and invitations | |
US9894208B2 (en) | Connection routing system | |
CN106569585B (en) | A kind of method and terminal managing program process | |
CN108848280B (en) | Call processing method, device, storage medium and service equipment | |
CN109669835B (en) | MySQL database monitoring method, device, equipment and readable storage medium | |
CN105491539A (en) | Message push management method and device | |
CN105827459B (en) | Method and device for calling maintenance center by intelligent equipment | |
CN110312046B (en) | Outbound data optimization method and device, computer equipment and storage medium | |
CN109947408B (en) | Message pushing method and device, storage medium and electronic equipment | |
CN107302493B (en) | Message processing method, message processing device and intelligent terminal | |
CN112367345A (en) | Data processing method, server device and computer readable storage medium | |
CN114338793A (en) | Message pushing method and device, electronic equipment and readable storage medium | |
CN110120909B (en) | Message transmission method and device, storage medium and electronic device | |
CN110213071B (en) | Data checking method, device, system, computer equipment and storage medium | |
CN106485520B (en) | Cross-channel communication control method and server | |
CN110708360A (en) | Information processing method and system and electronic equipment | |
US20210112025A1 (en) | Method and server for processing messages | |
CN109391658B (en) | Account data synchronization method and equipment, storage medium and terminal thereof | |
CN115951923B (en) | Subscription event management method, display system, device and storage medium | |
US20230300092A1 (en) | Multichannel messaging system and method | |
CN106487541B (en) | Multi-communication module fault control method and server | |
US20170126883A1 (en) | Method and system for logging and reporting call detail information | |
CN106487827B (en) | Multi-module push control method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |