Communication method and related device thereof

By obtaining channel attribute information of faulty sites from non-faulty communication sites, and dynamically matching target channels using the scheduling decision module and gateway, the problem of low transmission success rate caused by channel resource differences in multi-site high availability solutions is solved, achieving high reach rate and good user experience.

CN116567680BActive Publication Date: 2026-02-24ALIBABA CLOUD COMPUTING CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310571341.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-17
Publication Date
2026-02-24
Estimated Expiration
2043-05-17

AI Technical Summary

Technical Problem

Traditional multi-site high availability solutions suffer from reduced success rates in sending user information due to differences in channel resources at different communication sites.

Method used

By pre-obtaining the channel attribute information of faulty communication stations from non-faulty communication stations, and using the scheduling decision module and gateway to dynamically match the target communication channel, information can be quickly switched and efficiently transmitted after a fault occurs.

Benefits of technology

It ensures a high reach rate of user information, provides a good user experience, and restores traffic to its original state after the fault is resolved, with users experiencing almost no impact.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116567680B_ABST
    Figure CN116567680B_ABST
Patent Text Reader

Abstract

The application relates to a communication method and a related device thereof, the method comprising: in response to information that a fault communication site occurs a communication fault, providing a communication service for a user of the fault communication site through a predetermined non-fault communication site; when the non-fault communication site provides the communication service, selecting, by the non-fault communication site, a target communication channel for to-be-sent information of the user according to channel attribute information and pre-acquired service attribute information of the user, so as to provide the to-be-sent information to a receiving party of the to-be-sent information through the target communication channel, wherein the channel attribute information comprises first attribute information of a communication channel possessed by the non-fault communication site and second attribute information of a communication channel possessed by the fault communication site and pre-acquired by the non-fault communication site. The application solves the problem that, due to the difference of channel resources of different communication sites, the traditional multi-site high-availability scheme reduces the sending success rate of user information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to communication methods and related equipment. Background Technology

[0002] This section is intended to provide background or context for the embodiments of the invention set forth in the claims. It should not be construed as an admission that the description herein is prior art.

[0003] Communication sites provide communication services to users by deploying communication platform services. The architecture of the communication platform service includes an access layer, a scheduling decision module, and a gateway. The access layer typically refers to the part of the network that directly connects to or accesses users, such as the interactive interface provided for user access requests. The scheduling decision module is used to accurately recommend channel resources that meet predetermined requirements for different users' pending messages based on pre-determined decision strategies (e.g., recommending communication channels with better communication quality for financial information). The gateway mainly solves the information interoperability and service provider access issues between different networks and operators, and can perform different protocol conversions. When the communication platform service uses the communication channels provided by the operator to send the pending message to the information recipient, the gateway sends the pending message to the communication channel recommended by the scheduling decision module, thereby reaching the information recipient. The communication channel can be an information channel formed by integrating resources from multiple parties. For example, an SMS channel for sending text messages; the gateway can send the user's pending SMS to the SMS channel, which then delivers the SMS to the user's designated number. Because different communication site services have different user groups, the underlying supporting channel resources also vary.

[0004] Communication platform services have extremely high availability requirements; only by ensuring the high availability of communication platform services can the high reach of user information be guaranteed. Therefore, not only must individual communication sites possess high availability capabilities, but multiple sites must also be highly available. That is, when a communication site experiences a major failure and cannot provide service to users, it needs the ability to quickly switch to another communication site. Based on the current architecture of communication platform services, when a single communication site fails and cannot provide service to users, traditional multi-site high availability solutions perform bidirectional synchronization of service attribute information at the access layer of multiple sites. (Service attribute information is information obtained by configuring the attributes of users at the failed communication site, such as user quality tags, user levels, user models, etc.) This achieves multi-site synchronization of service attribute information. When a failure occurs, traffic from the failed communication site is quickly switched to the unfailed, non-failed communication site, ensuring that traffic can be sent. This traffic includes the domain name entered by the user at the access layer to access the communication services provided by the failed communication site. However, the scheduling decision module of the non-failed communication site can only decide on the channel resources under the non-failed communication site based on the service attribute information. Generally, users and channel resources vary greatly across different sites. This can significantly reduce the information reach rate for users at faulty communication sites, impacting users. For example, if financial institutions with higher requirements for channel quality do not have communication channels that meet the corresponding quality requirements at non-faulty communication sites, the reach rate of financial information will be affected.

[0005] It is evident that current traditional multi-site high availability solutions simply switch inbound traffic from a faulty communication site to a non-faulty communication site. However, due to the differences in channel resources among different communication sites, the success rate of sending user information will be reduced. Summary of the Invention

[0006] The communication method and related equipment provided in this invention at least solve the problem that traditional multi-site high availability solutions reduce the success rate of sending user information due to the differences in channel resources among different communication sites.

[0007] According to one aspect of the present invention, a communication method is provided, the method comprising:

[0008] In response to information indicating a communication failure at a faulty communication site, communication services are provided to users of the faulty communication site through pre-determined non-faulty communication sites, wherein the non-faulty communication sites are sites that have not experienced communication failures.

[0009] When providing the communication service through the non-faulty communication station, the non-faulty communication station selects a target communication channel for the user's message to be sent based on channel attribute information and the user's service attribute information obtained in advance, so that the message to be sent is provided to the recipient of the message to be sent through the target communication channel. The channel attribute information includes first attribute information of the communication channel possessed by the non-faulty communication station and second attribute information of the communication channel possessed by the faulty communication station obtained in advance by the non-faulty communication station.

[0010] In some embodiments, the non-faulty communication station includes an access layer and a scheduling decision module. In response to information indicating a communication failure at the faulty communication station, before providing communication services to users of the faulty communication station through a pre-determined non-faulty communication station, the method includes:

[0011] The service attribute information is synchronized from the faulty communication site to the access layer, and then sent to the scheduling decision module through the access layer.

[0012] The second attribute information is synchronized from the faulty communication station to the scheduling decision module, so that the scheduling decision module obtains the channel attribute information containing the first attribute information and the second attribute information;

[0013] Then, the step of the non-faulty communication station selecting a target communication channel for the user's message to be sent based on channel attribute information and the user's service attribute information obtained in advance includes:

[0014] The scheduling decision module selects the target communication channel for the information to be sent based on the first attribute information, the second attribute information, and the service attribute information.

[0015] In some embodiments, both the first attribute information and the second attribute information include communication attribute information, which is information used to describe the communication attributes of the communication channel. The step of the scheduling decision module selecting the target communication channel for the information to be sent based on the first attribute information, the second attribute information, and the service attribute information includes:

[0016] The scheduling decision module selects the target communication channel for the information to be sent based on the communication attribute information of the first attribute information, the communication attribute information of the second attribute information, and the service attribute information.

[0017] In some embodiments, the non-faulty communication site further includes a gateway, and the method further includes:

[0018] After establishing a communication connection with the target communication channel through the gateway, the information to be sent is sent to the target communication channel through the gateway, so that the information to be sent is provided to the recipient of the information to be sent by the target communication channel.

[0019] In some embodiments, the first attribute information and the second attribute information further include connection attribute information, which is information used to describe the connection attributes required to connect the communication channel. When synchronizing the second attribute information from the faulty communication station to the scheduling decision module, the method further includes:

[0020] The second attribute information is synchronized from the faulty communication station to the gateway, so that the gateway obtains the channel attribute information containing the first attribute information and the second attribute information;

[0021] The steps for establishing a communication connection between the gateway and the target communication channel include:

[0022] The gateway establishes a communication connection with the target communication channel based on the connection attribute information of the first attribute information or the connection attribute information of the second attribute information corresponding to the target communication channel.

[0023] In some embodiments, the method further includes:

[0024] In response to information indicating that the communication failure of the faulty communication site has been resolved, the communication connection between the gateway and the target communication channel is disconnected.

[0025] In some embodiments, the step of providing communication services to users of the faulty communication site through a predetermined non-faulty communication site includes:

[0026] Obtain the domain name registered by the user, wherein the domain name is the domain name corresponding to the first address information used to identify the faulty communication station;

[0027] The first address information corresponding to the domain name is changed to a second address information used to identify the non-faulty communication site, so that the user can access the communication services provided by the non-faulty communication site based on the domain name.

[0028] According to another aspect of the present invention, a communication method is also provided, the method being applied to a non-faulty communication station where no communication failure has occurred, the method comprising:

[0029] In response to an access message that provides communication services to a user at a faulty communication site, a target communication channel is selected for the user's message to be sent, based on channel attribute information and pre-acquired service attribute information of the user, so that the message to be sent is provided to the recipient of the message to be sent by the target communication channel. The channel attribute information includes first attribute information of the communication channel possessed by the non-faulty communication site, and second attribute information of the communication channel possessed by the faulty communication site pre-acquired by the non-faulty communication site.

[0030] In some embodiments, the non-faulty communication station includes an access layer and a scheduling decision module. Before selecting a target communication channel for the user's to-be-sent information based on channel attribute information and pre-acquired service attribute information of the user, the method includes:

[0031] The service attribute information is obtained through the access layer and then sent to the scheduling decision module through the access layer.

[0032] The scheduling decision module obtains the second attribute information so that it acquires the channel attribute information containing the first attribute information and the second attribute information.

[0033] The step of selecting a target communication channel for the user's message to be sent, based on channel attribute information and pre-acquired user service attribute information, includes:

[0034] The scheduling decision module selects the target communication channel for the information to be sent based on the first attribute information, the second attribute information, and the service attribute information.

[0035] In some embodiments, both the first attribute information and the second attribute information include communication attribute information, which is information used to describe the communication attributes of the communication channel. The step of the scheduling decision module selecting the target communication channel for the information to be sent based on the first attribute information, the second attribute information, and the service attribute information includes:

[0036] The scheduling decision module selects the target communication channel for the information to be sent based on the communication attribute information of the first attribute information, the communication attribute information of the second attribute information, and the service attribute information.

[0037] In some embodiments, the non-faulty communication site further includes a gateway, and the method further includes:

[0038] After establishing a communication connection with the target communication channel through the gateway, the information to be sent is sent to the target communication channel through the gateway, so that the information to be sent is provided to the recipient of the information to be sent by the target communication channel.

[0039] In some embodiments, the first attribute information and the second attribute information further include connection attribute information, which is information used to describe the connection attributes required to connect the communication channel. When synchronizing the second attribute information from the faulty communication station to the scheduling decision module, the method further includes:

[0040] The second attribute information is synchronized from the faulty communication station to the gateway, so that the gateway obtains the channel attribute information containing the first attribute information and the second attribute information;

[0041] The steps for establishing a communication connection between the gateway and the target communication channel include:

[0042] The gateway establishes a communication connection with the target communication channel based on the connection attribute information of the first attribute information or the connection attribute information of the second attribute information corresponding to the target communication channel.

[0043] In some embodiments, the method further includes:

[0044] In response to information indicating that the communication failure of the faulty communication site has been resolved, the communication connection between the gateway and the target communication channel is disconnected.

[0045] According to another aspect of the present invention, a communication station is also provided for performing the communication method described above.

[0046] According to another aspect of the invention, a communication system is also provided, the communication system including the aforementioned communication station.

[0047] According to another aspect of the present invention, an electronic device is also provided, comprising: a processor, and a memory storing a program, wherein the program includes instructions that, when executed by the processor, cause the processor to perform the communication method.

[0048] According to another aspect of the invention, a non-transitory machine-readable medium storing computer instructions is also provided, wherein the computer instructions are used to cause the computer to perform the communication method described above.

[0049] Beneficial effects of the embodiments of the present invention:

[0050] In this embodiment of the invention, after a communication station fails, a non-faulty communication station provides communication services to the users of the faulty communication station. Since the non-faulty communication station has synchronously acquired the second attribute information of the communication channel of the faulty communication station in advance, the non-faulty communication station has the complete channel transmission capability of the faulty communication station. That is, before the information to be sent to the receiver, the non-faulty communication station selects a suitable target communication channel for the information to be sent based on the channel attribute information containing the second attribute information and the user's service attribute information, so that the target communication channel can provide the information to be sent to the receiver, thereby ensuring a high reach rate of the information to be sent.

[0051] Details of one or more embodiments of the present invention are set forth in the following drawings and description, so that other features, objects and advantages of the invention will be more readily understood. Attached Figure Description

[0052] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other embodiments can be obtained based on these drawings without creative effort.

[0053] Figure 1 This is a schematic diagram of a conventional multi-site high availability solution provided in an embodiment of the present invention;

[0054] Figure 2 This is a flowchart illustrating a communication method according to an embodiment of the present invention.

[0055] Figure 3 This is a schematic diagram of the process for synchronizing information between a faulty communication station and a non-faulty communication station according to an embodiment of the present invention;

[0056] Figure 4 This is a schematic diagram of the process for switching from a faulty communication site to a non-faulty communication site according to an embodiment of the present invention;

[0057] Figure 5 This is a schematic diagram illustrating an application embodiment of the communication method provided in one embodiment of the present invention. Detailed Implementation

[0058] Embodiments of this embodiment will now be described in more detail with reference to the accompanying drawings. While some embodiments of this embodiment are shown in the drawings, it should be understood that this embodiment can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this embodiment. It should be understood that the accompanying drawings and embodiments are for illustrative purposes only and are not intended to limit the scope of protection of this embodiment.

[0059] Under existing traditional multi-site high availability solutions, such as Figure 1 As shown, when a communication station experiences a major failure and cannot provide communication services, only bidirectional synchronization of service attribute information is performed at the access layer. This means that non-failed communication stations lack the ability to load the communication channels of the failed communication station. Due to the differences in user and resource characteristics between the two communication stations' channel resources, traffic from the failed communication station cannot be matched to a suitable communication channel, significantly reducing the delivery rate of information to be sent from the failed communication station. In view of this, the first embodiment of the present invention provides a communication method, such as... Figure 2 As shown, the communication method includes the following steps:

[0060] Step S11: In response to information indicating a communication failure at the faulty communication station, communication services are provided to users of the faulty communication station through pre-determined non-faulty communication stations, wherein the non-faulty communication stations are those that have not experienced a communication failure. That is, in this embodiment of the invention, when a communication failure occurs at the faulty communication station, communication services are provided to users of the faulty communication station by non-faulty communication stations.

[0061] Step S12: When providing communication services through a non-faulty communication station, the non-faulty communication station selects a target communication channel for the user's message to be sent based on the channel attribute information and the user's service attribute information obtained in advance, so that the message to be sent is provided to the recipient of the message to be sent through the target communication channel. The channel attribute information includes the first attribute information of the communication channel possessed by the non-faulty communication station and the second attribute information of the communication channel possessed by the faulty communication station obtained in advance by the non-faulty communication station.

[0062] Therefore, in this embodiment of the invention, after a communication station fails, the non-faulty communication station provides communication services to the users of the faulty communication station. Since the non-faulty communication station has synchronously acquired the second attribute information of the communication channel of the faulty communication station in advance, the non-faulty communication station has the complete channel transmission capability of the faulty communication station. That is, before the information to be sent to the receiver, the non-faulty communication station selects a suitable target communication channel for the information to be sent based on the channel attribute information containing the second attribute information and the user's service attribute information, so that the target communication channel can provide the information to be sent to the receiver, thereby ensuring a high reach rate of the information to be sent.

[0063] Among them, the non-faulty communication sites include an access layer and a scheduling decision module. In step S11, in response to information indicating a communication failure at the faulty communication site, before providing communication services to users of the faulty communication site through pre-determined non-faulty communication sites, i.e., during the period before the faulty communication site experiences a communication failure, such as... Figure 3 As shown, the method provided in this embodiment of the invention includes the following steps:

[0064] Step S21: Synchronize the service attribute information from the faulty communication site to the access layer, and send the service attribute information to the scheduling decision module through the access layer.

[0065] Step S22: Synchronize the second attribute information from the faulty communication station to the scheduling decision module, so that the scheduling decision module obtains channel attribute information containing the first and second attribute information. In practice, steps S21 and S22 are not sequential; the execution order of steps S21 and S22 is not uniquely limited in this embodiment of the invention.

[0066] As can be seen from steps S21 and S22, this embodiment of the invention synchronizes the service attribute information of the faulty communication station at the access layer. Therefore, when a communication failure occurs at a faulty communication station, traffic switching from the faulty communication station to a non-faulty communication station can be performed quickly. The scheduling decision module performs bidirectional synchronization of the channel resources of the faulty communication station (i.e., synchronization of the second attribute information of the communication channel of the faulty communication station), enabling the scheduling decision module to dynamically recommend and disrecommend communication channels of the faulty communication station, matching more suitable communication channels of the faulty communication station to the information to be sent by the faulty communication station, thereby ensuring a high reach rate of the information to be sent, i.e., a high success rate of transmission. Therefore, based on steps S21 and S22, in step S12 of this embodiment of the invention, the step of the non-faulty communication station selecting a target communication channel for the user's information to be sent based on the channel attribute information and the pre-acquired user service attribute information includes:

[0067] The scheduling decision module selects a target communication channel for the information to be sent based on the first attribute information, the second attribute information, and the service attribute information. The selected target communication channel may be a communication channel inherent to the non-faulty communication station itself, or a communication channel corresponding to the faulty communication station, as long as the target communication channel can ensure a high delivery rate for the information to be sent. For example, the scheduling decision module can match the information to be sent by a financial institution belonging to a faulty communication station with a communication channel that has higher communication quality, thereby ensuring a high delivery rate for the financial institution's information. This ensures that the non-faulty communication station has the ability to send information to different users, thus guaranteeing a high delivery rate for the information to be sent. Furthermore, the scheduling decision module can not only match and select a suitable target communication channel for the information to be sent by the faulty communication station, but also select a suitable communication channel for the information to be sent by its affiliated non-faulty communication station, thereby ensuring a high delivery rate for different information to be sent.

[0068] In this embodiment of the invention, both the first attribute information and the second attribute information include communication attribute information. The communication attribute information describes the communication attributes of the communication channel, such as the quality label of the communication channel, the channel transmission type, and the number of connection hops. The step of selecting a target communication channel for the information to be sent by the scheduling decision module based on the first attribute information, the second attribute information, and the service attribute information includes: selecting a target communication channel for the information to be sent based on the communication attribute information of the first attribute information, the communication attribute information of the second attribute information, and the service attribute information. Therefore, the information to be sent is provided to the receiver based on the target communication channel determined by the scheduling decision module.

[0069] The non-faulty communication site also includes a gateway. The method provided in this embodiment of the invention further includes: after establishing a communication connection with the target communication channel through the gateway, sending the information to be sent to the target communication channel through the gateway, so that the information to be sent is provided to the recipient of the information to be sent by the target communication channel. Among them, the first attribute information and the second attribute information also include connection attribute information. The connection attribute information is information used to describe the connection attributes required to connect the communication channel, such as the channel IP address, port, etc. of the communication channel. The IP address is the Internet Protocol Address (IP address). When synchronizing the second attribute information from the faulty communication site to the scheduling decision module in step S22, the method provided in this embodiment of the invention further includes: synchronizing the second attribute information from the faulty communication site to the gateway, so that the gateway obtains channel attribute information containing the first attribute information and the second attribute information, thereby enabling the gateway to have the ability to dynamically load the communication channel of the faulty communication site. In this regard, the step of establishing a communication connection with the target communication channel through the gateway in this embodiment of the invention includes: establishing a communication connection with the target communication channel through the gateway according to the connection attribute information of the first attribute information or the connection attribute information of the second attribute information corresponding to the target communication channel. When the target communication channel selected by the scheduling decision module is a communication channel of a non-faulty communication station, the gateway establishes a communication connection with the target communication channel based on the connection attribute information of the first attribute information corresponding to that target communication channel. Conversely, when the target communication channel selected by the scheduling decision module is a communication channel of a faulty communication station, the gateway establishes a communication connection with the target communication channel based on the connection attribute information of the first attribute information corresponding to that target communication channel.

[0070] Once the communication failure of the faulty communication station is resolved, meaning the faulty communication station fully restores normal communication, the method provided in this embodiment of the invention further includes: in response to information indicating that the communication failure of the faulty communication station has been resolved, disconnecting the communication connection between the gateway and the target communication channel. Therefore, when the target communication channel is the communication channel of the faulty communication station, the gateway in this embodiment of the invention can also disconnect the communication connection with the communication channel of the faulty communication station. After the gateway disconnects the communication connection with the target communication channel, non-faulty communication stations do not recommend traffic (such as domain names entered by users of the faulty communication station for accessing communication services) to the communication channel of the faulty communication station. The applications and resources of the faulty communication station are fully restored, and the traffic of the faulty communication station is switched back to the faulty communication station. Normally, the faulty communication station provides communication services to its own users. After the faulty communication station is fully restored, non-faulty communication stations only accept the traffic of their own communication station. The traffic of each communication station is restored to its original state, and the intermediate process is almost imperceptible to the user, ensuring a high delivery rate of information to be sent while providing a good user experience.

[0071] like Figure 4 As shown, in this embodiment of the invention, step S11, which involves providing communication services to users of faulty communication sites through pre-determined non-faulty communication sites, includes:

[0072] Step S31: Obtain the domain name registered by the user, wherein the domain name is the domain name corresponding to the first address information used to identify the faulty communication site.

[0073] Step S32: Change the first address information corresponding to the domain name to the second address information used to identify the non-faulty communication site, so that the user can access the communication services provided by the non-faulty communication site based on the domain name. Thus, this embodiment of the invention quickly switches from a faulty communication site to a non-faulty communication site by resolving the user's domain name, thereby providing communication services to the user through the non-faulty communication site.

[0074] As can be seen from the above, since the non-faulty communication stations in this embodiment of the invention possess the complete channel transmission capabilities of the faulty communication stations, a high delivery rate of the information to be sent is guaranteed. Specifically, since bidirectional data synchronization (i.e., bidirectional synchronization of service attribute information) is performed at the access layer between each communication station, traffic switching from the faulty communication station to the non-faulty communication station can be performed quickly after a fault occurs. Secondly, since bidirectional synchronization of channel resources (i.e., bidirectional synchronization of channel attribute information) is performed by the scheduling decision module between each communication station, and the gateway has the ability to dynamically load and disconnect the communication channels of the faulty communication station, and the scheduling decision module has the ability to dynamically recommend and not recommend the communication channels of the faulty communication station, these ensure that the non-faulty communication stations have the ability to send the information to be sent from the faulty communication station, thus guaranteeing a high delivery rate of the information to be sent. After the faulty communication station is fully restored, the non-faulty communication station only takes over the traffic of its own communication station, and the traffic of each communication station is restored to its original state. The user is almost unaware of the intermediate process, ensuring a high delivery rate of the information to be sent while providing a good user experience.

[0075] A second embodiment of the present invention also provides a communication method applied to a non-faulty communication station that has not experienced a communication failure. The communication method includes: in response to an access message that provides communication services to a user of a faulty communication station, selecting a target communication channel for a user's message to be sent based on channel attribute information and pre-acquired user service attribute information, so as to provide the message to be sent to the recipient of the message through the target communication channel. The channel attribute information includes first attribute information of the communication channel possessed by the non-faulty communication station and second attribute information of the communication channel possessed by the faulty communication station that the non-faulty communication station has pre-acquired.

[0076] Therefore, in this embodiment of the invention, after a communication station fails, the non-faulty communication station provides communication services to the users of the faulty communication station. Since the non-faulty communication station has synchronously acquired the second attribute information of the communication channel of the faulty communication station in advance, the non-faulty communication station has the complete channel transmission capability of the faulty communication station. That is, before the information to be sent to the receiver, the non-faulty communication station selects a suitable target communication channel for the information to be sent based on the channel attribute information containing the second attribute information and the user's service attribute information, so that the target communication channel can provide the information to be sent to the receiver, thereby ensuring a high reach rate of the information to be sent.

[0077] In this embodiment of the invention, a non-faulty communication site includes an access layer and a scheduling decision module. Before selecting a target communication channel for a user's pending message based on channel attribute information and pre-acquired user service attribute information, the method provided includes: obtaining service attribute information through the access layer and sending the service attribute information to the scheduling decision module through the access layer; and obtaining second attribute information through the scheduling decision module, so that the scheduling decision module obtains channel attribute information containing first and second attribute information. This embodiment of the invention synchronizes the service attribute information of the faulty communication site with the access layer of the non-faulty communication site. Therefore, when a communication failure occurs at the faulty communication site, traffic switching from the faulty communication site to the non-faulty communication site can be performed quickly. The scheduling decision module performs bidirectional synchronization of the channel resources of the faulty communication site (i.e., synchronization of the second attribute information of the communication channel of the faulty communication site), enabling the scheduling decision module to dynamically recommend and not recommend communication channels of the faulty communication site, thereby matching more suitable communication channels of the faulty communication site to the pending message of the faulty communication site, ensuring a high reach rate of the pending message. Therefore, the step of selecting a target communication channel for a user's message to be sent based on channel attribute information and pre-acquired user service attribute information in this embodiment of the invention includes:

[0078] The scheduling decision module selects a target communication channel for the information to be sent based on the first attribute information, the second attribute information, and the service attribute information. The target communication channel selected by the scheduling decision module may be a communication channel inherent to the non-faulty communication station itself, or a communication channel corresponding to the faulty communication station, as long as the target communication channel can ensure a high delivery rate for the information to be sent. For example, matching the information to be sent by a financial institution belonging to the faulty communication station with a communication channel with higher communication quality ensures a high delivery rate for the financial institution's information. This ensures that the non-faulty communication station has the ability to send information to different users, thus guaranteeing a high delivery rate for the information to be sent. Furthermore, the scheduling decision module can not only match and select suitable target communication channels for the information to be sent by the faulty communication station, but also select suitable communication channels for the information to be sent by its affiliated non-faulty communication stations, thereby ensuring a high delivery rate for different information to be sent.

[0079] In this embodiment of the invention, both the first attribute information and the second attribute information include communication attribute information. The communication attribute information describes the communication attributes of the communication channel, such as the quality label of the communication channel, the channel transmission type, and the number of connection hops. Therefore, the step of selecting a target communication channel for the information to be sent by the scheduling decision module based on the first attribute information, the second attribute information, and the service attribute information includes: selecting a target communication channel for the information to be sent by the scheduling decision module based on the communication attribute information of the first attribute information, the communication attribute information of the second attribute information, and the service attribute information. Thus, the information to be sent is provided to the receiver based on the target communication channel determined by the scheduling decision module, resulting in a high reach rate for the information to be sent.

[0080] The non-faulty communication site also includes a gateway. The method provided in this embodiment further includes: after establishing a communication connection with the target communication channel through the gateway, sending the information to be sent to the target communication channel through the gateway, so that the information to be sent is provided by the target communication channel to the recipient of the information to be sent. The first attribute information and the second attribute information also include connection attribute information, which is information used to describe the connection attributes required to connect the communication channel, such as the channel IP address and port of the communication channel. When synchronizing the second attribute information from the faulty communication site to the scheduling decision module, the method provided in this embodiment further includes: synchronizing the second attribute information from the faulty communication site to the gateway, so that the gateway obtains channel attribute information containing the first attribute information and the second attribute information. This enables the gateway to dynamically load the communication channel of the faulty communication site. In this regard, the step of establishing a communication connection between the gateway and the target communication channel in this embodiment includes: establishing a communication connection with the target communication channel through the gateway based on the connection attribute information of the first attribute information or the connection attribute information of the second attribute information corresponding to the target communication channel. That is, when the scheduling decision module matches and selects a target communication channel as a communication channel of a non-faulty communication site, the gateway establishes a communication connection with the target communication channel based on the connection attribute information of the first attribute information corresponding to the target communication channel. When the target communication channel selected by the scheduling decision module is the communication channel of the faulty communication station, the gateway establishes a communication connection with the target communication channel based on the connection attribute information of the first attribute information corresponding to the target communication channel.

[0081] Once the communication failure of the faulty communication station is resolved, meaning the faulty communication station has fully resumed normal communication, the method provided in this embodiment of the invention further includes: in response to information indicating that the communication failure of the faulty communication station has been resolved, disconnecting the communication connection between the gateway and the target communication channel. Thus, when the target communication channel is the communication channel of the faulty communication station, the gateway in this embodiment of the invention not only has the ability to dynamically load the communication channel of the faulty communication station, but also can disconnect the communication connection with the communication channel of the faulty communication station when the faulty communication station resumes normal communication. After the gateway disconnects the communication connection with the target communication channel, non-faulty communication stations do not recommend traffic to the communication channel of the faulty communication station. The applications and resources of the faulty communication station are fully restored, and the traffic of the faulty communication station is switched back to the faulty communication station. The faulty communication station then normally provides communication services to its own users. After the faulty communication station has fully recovered, non-faulty communication stations only accept the traffic of their own communication station. The traffic of each communication station is restored to its original state, and the intermediate process is almost imperceptible to the user, ensuring a high delivery rate of information to be sent while providing a good user experience.

[0082] As can be seen from the above, since the non-faulty communication stations in this embodiment of the invention possess the complete channel transmission capabilities of the faulty communication stations, a high delivery rate of the information to be sent is guaranteed. Specifically, since bidirectional data synchronization (i.e., bidirectional synchronization of service attribute information) is performed at the access layer between each communication station, traffic switching from the faulty communication station to the non-faulty communication station can be performed quickly after a fault occurs. Secondly, since bidirectional synchronization of channel resources (i.e., bidirectional synchronization of channel attribute information) is performed by the scheduling decision module between each communication station, and the gateway has the ability to dynamically load and disconnect the communication channels of the faulty communication station, and the scheduling decision module has the ability to dynamically recommend and not recommend the communication channels of the faulty communication station, these ensure that the non-faulty communication stations have the ability to send the information to be sent from the faulty communication station, thus guaranteeing a high delivery rate of the information to be sent. After the faulty communication station is fully restored, the non-faulty communication station only takes over the traffic of its own communication station, and the traffic of each communication station is restored to its original state. The user is almost unaware of the intermediate process, ensuring a high delivery rate of the information to be sent while providing a good user experience.

[0083] The third embodiment of the present invention also provides a communication station for executing the communication method provided in the second embodiment of the present invention. For details of the communication method, please refer to the content provided in the second embodiment of the present invention. The embodiments of the present invention will not be described again here.

[0084] The communication station in this embodiment of the invention possesses the complete channel transmission capability of the faulty communication station, thereby ensuring a high delivery rate of the information to be sent. Specifically, since bidirectional data synchronization (i.e., bidirectional synchronization of service attribute information) is performed at the access layer between each communication station, traffic switching from the faulty communication station to the communication station provided in this embodiment of the invention can be performed quickly after a fault occurs. Secondly, since bidirectional synchronization of channel resources (i.e., bidirectional synchronization of channel attribute information) is performed by the scheduling decision module between each communication station, and the gateway of the communication station provided in this embodiment of the invention has the ability to dynamically load and disconnect the communication channels of the faulty communication station, and the scheduling decision module has the ability to dynamically recommend and not recommend the communication channels of the faulty communication station, these capabilities ensure that non-faulty communication stations have the ability to send the information to be sent from the faulty communication station, thus ensuring a high delivery rate of the information to be sent. After the faulty communication station is fully restored, the communication station provided in this embodiment of the invention only accepts the traffic of its own communication station, and the traffic of each communication station is restored to its original state. The intermediate process is almost imperceptible to the user, ensuring a high delivery rate of the information to be sent while providing a good user experience.

[0085] The fourth embodiment of the present invention also provides a communication system, which includes the communication station provided in the third embodiment of the present invention. For details of the communication station, please refer to the content provided in the third embodiment of the present invention. The embodiments of the present invention will not be described again here.

[0086] The fifth embodiment of the present invention also provides an electronic device, including: a processor and a memory storing a program, wherein the program includes instructions, which, when executed by the processor, cause the processor to execute the communication method provided in the first embodiment of the present invention. For details of the communication method, please refer to the content provided in the first embodiment of the present invention. The embodiments of the present invention will not be described again here.

[0087] The sixth embodiment of the present invention also provides a non-transitory machine-readable medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the communication method provided in the first embodiment of the present invention. For details of the communication method, please refer to the content provided in the first embodiment of the present invention. The embodiments of the present invention will not be described again here.

[0088] The seventh embodiment of the present invention also provides a computer program product, including a computer program, wherein when the computer program is executed by the processor of a computer, it is used to cause the computer to execute the communication method provided in the first embodiment of the present invention. For details of the communication method, please refer to the content provided in the first embodiment of the present invention. The embodiments of the present invention will not be described again here.

[0089] The eighth embodiment of the present invention is combined with the appendix. Figure 5 An application embodiment of the communication method is also provided, describing a multi-active approach for cross-national communication stations in the communication field. The data synchronization scope of this application embodiment includes not only user service attribute information (such as user quality tags, user level, user model, etc.), but also extends to the attribute information of the communication channels of each communication station (such as channel quality tags, channel transmission type, connection hop count, channel IP address, port, etc.). Based on this, the gateway of the non-faulty communication station has the ability to dynamically connect and disconnect the communication channels of the faulty communication station (this capability of the gateway is mainly achieved by configuring a multi-active switch on the gateway, which dynamically connects or disconnects the communication channels of the faulty communication station). The scheduling decision module of the non-faulty communication station has the ability to dynamically and accurately recommend and not recommend the communication channels of the faulty communication station. This application embodiment ensures that: when a fault occurs, the non-faulty communication station dynamically loads the channels of the faulty communication station, and the scheduling decision module can accurately recommend all communication channels. When the fault is recovered, the gateway dynamically disconnects the communication channels of the previously faulty communication station from the non-faulty communication station, and the scheduling decision module of the non-faulty communication station only accurately matches the communication channels of its own communication station, while the faulty communication station returns to normal. Therefore, this application embodiment not only has the ability to quickly switch communication stations that provide communication services after a failure, but also ensures a high delivery rate of the user's pending information, which is basically imperceptible to the user.

[0090] The communication platform service has been deployed and is provided at multiple communication sites globally, such as the Singapore communication site (primarily serving global users) and the Indonesia communication site (primarily serving local Indonesian users). This embodiment of the invention uses the Singapore and Indonesian communication sites as examples to illustrate the specific implementation process of this application embodiment.

[0091] like Figure 5 As shown, this application embodiment features a comprehensive data redundancy strategy. Besides bidirectional synchronization of service attribute information at the access layer of each communication station (e.g., bidirectional synchronization of service attribute information at the access layer of Singapore and Indonesian communication stations), it also performs bidirectional synchronization of communication channel attribute information at the gateway and scheduling decision module, ensuring the consistency of resource data across multiple communication stations. Specifically, each communication station's gateway has the ability to dynamically connect to and disconnect the communication channels of a faulty communication station: when a fault occurs, a non-faulty communication station dynamically establishes a communication connection with the communication channel of the faulty communication station through its own gateway; when the faulty communication station recovers, the non-faulty communication station dynamically disconnects the communication channel of the faulty communication station through its own gateway. Secondly, each communication station's scheduling decision module has the ability to dynamically and accurately recommend and not recommend communication channels of faulty communication stations: when a fault occurs, the scheduling decision module of a non-faulty communication station can accurately recommend all communication channels, including those under both the non-faulty and faulty communication stations. When the faulty communication station recovers, the scheduling decision module of a non-faulty communication station accurately matches the communication channels of its own communication station, excluding those of the faulty communication station. Based on the above, the specific implementation process of this application embodiment includes:

[0092] 1. After a communication failure occurs at a faulty communication site (e.g., a complete failure of the Singapore communication site, with the Indonesian communication site acting as a backup), the implementation process of this application example includes:

[0093] Step 11: The inbound traffic of the Singapore communication site (i.e., the faulty communication site) is quickly switched to the Indonesian communication site (i.e., the non-faulty communication site) through DNS resolution. Specifically, the DNS resolution method mainly involves changing the IP address of the Singapore communication site corresponding to the domain name of the user of the Singapore communication site to the IP address of the Indonesian communication site.

[0094] Step 12: The gateway of the Indonesian communication site dynamically loads the communication channels of the Singapore communication site (i.e., the channel resources available to the Singapore communication site). At this time, the communication channels connected to the gateway of the Indonesian communication site include: the communication channels previously used by the Singapore communication site, and the communication channels of the Indonesian communication site.

[0095] Step 13: The scheduling decision module of the Indonesian communication site dynamically and accurately matches all communication channels of the two communication sites.

[0096] Through steps 11 to 113, the Indonesian communication site has completed the formal takeover of traffic from the Singapore communication site, ensuring a high reach rate and high receipt rate for all users' pending messages at the Singapore communication site.

[0097] 2. After the communication failure of the faulty communication site is resolved, the implementation process of this application embodiment includes:

[0098] Step 21: The scheduling decision module of the Indonesian communication site does not recommend traffic to the communication channel of the Singapore communication site.

[0099] Step 22: The gateway of the Indonesian communication site dynamically disconnects the communication channel with the Singapore communication site.

[0100] Step 23: Fully restore the applications and resources of the Singapore communication site.

[0101] Step 24: Switch the traffic from the Singapore communication site back to the Singapore communication site.

[0102] As a result, the Singapore communication site was fully restored, and the Indonesian communication site only took over the traffic from the local site. The traffic of both communication sites was restored to normal, and users hardly noticed the process.

[0103] As can be seen from the above, the Indonesian communication station in this embodiment of the invention possesses the complete channel transmission capability of the Singapore communication station, thereby ensuring a high delivery rate of the information to be sent. Specifically, due to the bidirectional data synchronization (i.e., bidirectional synchronization of service attribute information) performed at the access layer between the communication stations, traffic switching from the Singapore communication station to the Indonesian communication station can be performed quickly after a failure of the Singapore communication station. Secondly, due to the bidirectional synchronization of channel resources (i.e., bidirectional synchronization of channel attribute information) performed by the scheduling decision module between the communication stations, the gateway's ability to dynamically load and disconnect the communication channels of the failed communication station, and the scheduling decision module's ability to dynamically recommend and not recommend the communication channels of the failed communication station, these ensure that the Indonesian communication station has the ability to send the information to be sent from the Singapore communication station, thus guaranteeing a high delivery rate of the information to be sent. After the Singapore communication station is fully restored, the Indonesian communication station only takes over the traffic of its own communication station, and the traffic of each communication station is restored to its original state. The user is almost unaware of the intermediate process, ensuring a high delivery rate of the information to be sent while providing a good user experience.

[0104] Computer programs for implementing the methods of embodiments of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0105] In the context of embodiments of the present invention, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable signal medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0106] It should be noted that the term "comprising" and its variations used in the embodiments of the present invention are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The modifications of "one" and "multiple" mentioned in the embodiments of the present invention are illustrative and not restrictive. Those skilled in the art should understand that, unless explicitly indicated otherwise in the context, they should be understood as "one or more".

[0107] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present invention are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0108] The steps described in the method embodiments provided by this invention can be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of protection of this invention is not limited in this respect.

[0109] The term "embodiment" in this specification refers to a specific feature, structure, or characteristic described in connection with an embodiment that may be included in at least one embodiment of the invention. The appearance of this phrase in various places in the specification does not necessarily imply the same embodiment, nor does it imply independence or alternativeity from other embodiments. The various embodiments in this specification are described in a related manner, with reference to each other for similar or identical parts. In particular, for apparatus, device, and system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, and relevant details are referred to in the description of the method embodiments.

[0110] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of patent protection. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the appended claims.

Claims

1. A communication method, the method comprising: Service attribute information is synchronized from the faulty communication site to the access layer, and then sent to the scheduling decision module through the access layer; wherein, the non-faulty communication site includes the access layer and the scheduling decision module; The second attribute information is synchronized from the faulty communication station to the scheduling decision module, so that the scheduling decision module obtains channel attribute information containing the first attribute information and the second attribute information; In response to information indicating a communication failure at a faulty communication site, communication services are provided to users of the faulty communication site through pre-determined non-faulty communication sites, wherein the non-faulty communication sites are sites that have not experienced communication failures. When the communication service is provided through the non-faulty communication station, the scheduling decision module selects a target communication channel for the information to be sent based on the first attribute information, the second attribute information, and the service attribute information, so that the information to be sent is provided to the recipient of the information to be sent through the target communication channel. The channel attribute information includes the first attribute information of the communication channel of the non-faulty communication station and the second attribute information of the communication channel of the faulty communication station that the non-faulty communication station has obtained in advance.

2. The method according to claim 1, wherein, Both the first attribute information and the second attribute information include communication attribute information, which describes the communication attributes of the communication channel. The step of the scheduling decision module selecting the target communication channel for the information to be sent based on the first attribute information, the second attribute information, and the service attribute information includes: The scheduling decision module selects the target communication channel for the information to be sent based on the communication attribute information of the first attribute information, the communication attribute information of the second attribute information, and the service attribute information.

3. The method according to claim 1, wherein, The non-faulty communication station further includes a gateway, and the method further includes: After establishing a communication connection with the target communication channel through the gateway, the information to be sent is sent to the target communication channel through the gateway, so that the information to be sent is provided to the recipient of the information to be sent by the target communication channel.

4. The method according to claim 3, wherein, The first attribute information and the second attribute information further include connection attribute information, which is information used to describe the connection attributes required to connect the communication channel. When synchronizing the second attribute information from the faulty communication station to the scheduling decision module, the method further includes: The second attribute information is synchronized from the faulty communication station to the gateway, so that the gateway obtains the channel attribute information containing the first attribute information and the second attribute information; The steps for establishing a communication connection between the gateway and the target communication channel include: The gateway establishes a communication connection with the target communication channel based on the connection attribute information of the first attribute information or the connection attribute information of the second attribute information corresponding to the target communication channel.

5. The method according to claim 3, wherein, The method further includes: In response to information indicating that the communication failure of the faulty communication site has been resolved, the communication connection between the gateway and the target communication channel is disconnected.

6. The method according to claim 1, wherein, The steps of providing communication services to users of a faulty communication site through a pre-determined non-faulty communication site include: Obtain the domain name registered by the user, wherein the domain name is the domain name corresponding to the first address information used to identify the faulty communication station; The first address information corresponding to the domain name is changed to a second address information used to identify the non-faulty communication site, so that the user can access the communication services provided by the non-faulty communication site based on the domain name.

7. A communication method applied to a non-faulty communication station where no communication failure has occurred, the method comprising: In response to an access message that provides communication services to a user at a faulty communication site, a target communication channel is selected for the user's message to be sent based on channel attribute information and pre-acquired service attribute information of the user, so that the message to be sent is provided to the recipient of the message to be sent by the target communication channel. The channel attribute information includes first attribute information of the communication channel of the non-faulty communication site and second attribute information of the communication channel of the faulty communication site pre-acquired by the non-faulty communication site. The non-faulty communication station includes an access layer and a scheduling decision module. Before selecting a target communication channel for the user's to-be-sent information based on channel attribute information and pre-acquired service attribute information of the user, the method includes: The service attribute information is obtained through the access layer and then sent to the scheduling decision module through the access layer. The scheduling decision module obtains the second attribute information so that it acquires the channel attribute information containing the first attribute information and the second attribute information. The step of selecting a target communication channel for the user's message to be sent, based on channel attribute information and pre-acquired user service attribute information, includes: The scheduling decision module selects the target communication channel for the information to be sent based on the first attribute information, the second attribute information, and the service attribute information.

8. The method according to claim 7, wherein, Both the first attribute information and the second attribute information include communication attribute information, which describes the communication attributes of the communication channel. The step of the scheduling decision module selecting the target communication channel for the information to be sent based on the first attribute information, the second attribute information, and the service attribute information includes: The scheduling decision module selects the target communication channel for the information to be sent based on the communication attribute information of the first attribute information, the communication attribute information of the second attribute information, and the service attribute information.

9. The method according to claim 7, wherein, The non-faulty communication station further includes a gateway, and the method further includes: After establishing a communication connection with the target communication channel through the gateway, the information to be sent is sent to the target communication channel through the gateway, so that the information to be sent is provided to the recipient of the information to be sent by the target communication channel.

10. The method according to claim 9, wherein, The first attribute information and the second attribute information further include connection attribute information, which is information used to describe the connection attributes required to connect the communication channel. When synchronizing the second attribute information from the faulty communication station to the scheduling decision module, the method further includes: The second attribute information is synchronized from the faulty communication station to the gateway, so that the gateway obtains the channel attribute information containing the first attribute information and the second attribute information; The steps for establishing a communication connection between the gateway and the target communication channel include: The gateway establishes a communication connection with the target communication channel based on the connection attribute information of the first attribute information or the connection attribute information of the second attribute information corresponding to the target communication channel.

11. The method according to claim 9, wherein, The method further includes: In response to information indicating that the communication failure of the faulty communication site has been resolved, the communication connection between the gateway and the target communication channel is disconnected.

Citation Information

Patent Citations

  • Communication system, channel scheduling method, device and storage medium

    CN114124964A