[go: up one dir, main page]

WO2024234839A1 - Communication method and related device - Google Patents

Communication method and related device Download PDF

Info

Publication number
WO2024234839A1
WO2024234839A1 PCT/CN2024/083792 CN2024083792W WO2024234839A1 WO 2024234839 A1 WO2024234839 A1 WO 2024234839A1 CN 2024083792 W CN2024083792 W CN 2024083792W WO 2024234839 A1 WO2024234839 A1 WO 2024234839A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
attribute information
information
site
channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/083792
Other languages
French (fr)
Chinese (zh)
Inventor
常小会
李增强
陆宗泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou AliCloud Feitian Information Technology Co Ltd
Original Assignee
Hangzhou AliCloud Feitian Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou AliCloud Feitian Information Technology Co Ltd filed Critical Hangzhou AliCloud Feitian Information Technology Co Ltd
Publication of WO2024234839A1 publication Critical patent/WO2024234839A1/en
Anticipated expiration legal-status Critical
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Definitions

  • the present application relates to the field of communication technology, and in particular to a communication method and related equipment.
  • the communication site provides 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, wherein the access layer generally refers to the part of the network that is directly connected or accessed by users, such as an interactive interface provided for user access requests.
  • the scheduling decision module is used to accurately recommend channel resources that meet predetermined requirements for the information to be sent by different users through a predetermined decision strategy (such as recommending a communication channel with better communication quality for financial information).
  • the gateway is mainly used to solve the information intercommunication between various networks and operators and the access problem of service providers, and can perform different protocol conversions.
  • the communication platform service uses the communication channel provided by the operator to send the information to the information recipient, the communication platform service sends the information to be sent to the communication channel recommended by the scheduling decision module by the gateway, thereby reaching the information recipient.
  • the communication channel can be an information channel formed by integrating multiple resources, such as a text message channel for sending text messages.
  • the gateway can send the user's text messages to be sent to the text message channel, and the text message channel provides the text message to the number specified by the user. Since the user groups served by different communication sites are different, the channel resources supported by the underlying layer are also different.
  • Communication platform services have very high requirements for high availability. Only by ensuring the high availability of communication platform services can the high reach of user information be guaranteed. Therefore, not only a single communication site needs to have high availability capabilities, but also multi-site high availability capabilities, that is, when a communication site fails and cannot provide services to users, it needs to have the ability to quickly switch to another communication site.
  • the traditional multi-site high availability solution performs two-way synchronization of service attribute information at the access layer of multiple sites (service attribute information is information obtained by configuring the attributes of users of the failed communication site, such as user quality labels, user levels, user models, etc.), and realizes multi-site synchronization of service attribute information.
  • the traffic of the failed communication site is quickly switched to the non-faulty communication site that has not failed, to ensure that the traffic can be sent.
  • the traffic here is such as the domain name entered by the user at the access layer to access the communication service provided by the failed communication site.
  • the scheduling decision module of the non-faulty communication site can only decide on the channel resources under the non-faulty communication site based on the service attribute information.
  • the users and channel resources at different sites are quite different, which will significantly reduce the information reach rate of users at faulty communication sites and have an impact on users. For example, if the information of financial institutions with higher channel quality requirements does not have a communication channel that meets the corresponding quality requirements at non-faulty communication sites, the reach rate of financial information will be affected.
  • the communication method and related equipment provided in the embodiments of the present application at least solve the problem that the traditional multi-site high-availability solution reduces the success rate of sending user information due to the differences in channel resources of different communication sites.
  • a communication method comprising:
  • the non-faulty communication site selects a target communication channel for the user's information to be sent based on the channel attribute information and the service attribute information of the user obtained in advance, so as to provide the information to be sent to the recipient of the information to be sent through the target communication channel, wherein 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 obtained in advance by the non-faulty communication site.
  • the non-faulty communication site includes an access layer and a scheduling decision module.
  • the method includes:
  • the step of selecting a target communication channel for the information to be sent by the non-faulty communication site according to the channel attribute information and the pre-acquired service attribute information of the user includes:
  • the scheduling decision module selects the target communication channel for the information to be sent according to the first attribute information, the second attribute information and the service attribute information.
  • the first attribute information and the second attribute information both include communication attribute information
  • the communication attribute information is information used to describe the communication attribute of the communication channel.
  • the scheduling decision module selects the target communication channel for the information to be sent according to the communication attribute information of the first attribute information, the communication attribute information of the second attribute information, and the service attribute information.
  • the non-faulty communication site further includes a gateway, and the method further includes:
  • the information to be sent is 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 further include connection attribute information, where the connection attribute information is information for describing connection attributes required to connect the communication channel, and when synchronizing the second attribute information from the faulty communication site to the scheduling decision module, the method further includes:
  • the step of establishing a communication connection with the target communication channel through the gateway comprises:
  • a communication connection is established 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.
  • the method further comprises:
  • the communication connection between the gateway and the target communication channel is disconnected.
  • the step of providing communication services to users of the faulty communication site through a predetermined non-faulty communication site includes:
  • the domain name is a domain name corresponding to the first address information used to identify the faulty communication site
  • the first address information corresponding to the domain name is changed into second address information for identifying the non-faulty communication site, so that the user can access the communication service provided by the non-faulty communication site based on the domain name.
  • a communication method is further provided, the method being applied to a non-faulty communication site where no communication failure occurs, the method comprising:
  • a target communication channel is selected for the user's information to be sent based on channel attribute information and pre-acquired service attribute information of the user, so that the information to be sent is provided by the target communication channel to a recipient of the information to be sent, wherein 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 that is pre-acquired by the non-faulty communication site.
  • the non-faulty communication site includes an access layer and a scheduling decision module.
  • the method includes:
  • the scheduling decision module obtains the channel attribute information including the first attribute information and the second attribute information
  • the step of selecting a target communication channel for the information to be sent by the user according to the channel attribute information and the pre-acquired service attribute information of the user includes:
  • the scheduling decision module selects the target communication channel for the information to be sent according to the first attribute information, the second attribute information and the service attribute information.
  • the first attribute information and the second attribute information both include communication attribute information
  • the communication attribute information is information used to describe the communication attribute of the communication channel.
  • the scheduling decision module selects the target communication channel for the information to be sent according to the communication attribute information of the first attribute information, the communication attribute information of the second attribute information, and the service attribute information.
  • the non-faulty communication site further includes a gateway, and the method further includes:
  • the information to be sent is sent through the gateway
  • the target communication channel is sent to the target communication channel, so that the information to be sent is provided to the recipient of the information to be sent through the target communication channel.
  • the first attribute information and the second attribute information further include connection attribute information, where the connection attribute information is information for describing connection attributes required to connect the communication channel, and when synchronizing the second attribute information from the faulty communication site to the scheduling decision module, the method further includes:
  • the step of establishing a communication connection with the target communication channel through the gateway comprises:
  • a communication connection is established 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.
  • the method further comprises:
  • the communication connection between the gateway and the target communication channel is disconnected.
  • a communication site is also provided, wherein the communication site is used to execute the above communication method.
  • a communication system is also provided, and the communication system includes the communication site.
  • an electronic device comprising: a processor, and a memory storing a program, wherein the program comprises instructions, and when the instructions are executed by the processor, the processor executes the communication method.
  • a non-transitory machine-readable medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the communication method.
  • a non-faulty communication site provides communication services to users of the faulty communication site. Since the non-faulty communication site synchronously obtains the second attribute information of the communication channel of the faulty communication site in advance, the non-faulty communication site has the complete channel sending capability of the faulty communication site. That is, before sending the information to be sent to the recipient, the non-faulty communication site selects a suitable target communication channel for the information to be sent based on the channel attribute information including the second attribute information and the service attribute information of the user, so that the target communication channel provides the information to be sent to the recipient, thereby ensuring a high reach rate of the information to be sent.
  • FIG1 is a schematic diagram of a traditional multi-site high availability solution provided by an embodiment of the present application.
  • FIG2 is a flow chart of a communication method provided in an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a process of synchronizing information between a faulty communication site and a non-faulty communication site according to an embodiment of the present application
  • FIG4 is a schematic diagram of a process of switching a faulty communication site to a non-faulty communication site according to an embodiment of the present application
  • FIG5 is a schematic diagram of an application example of a communication method provided by an embodiment of the present application.
  • the first embodiment of the present application provides a communication method, as shown in Figure 2, which includes the following steps:
  • Step S11 In response to the information that the communication failure occurs at the faulty communication site, a communication service is provided to the users of the faulty communication site through a predetermined non-faulty communication site, wherein the non-faulty communication site is a site where no communication failure occurs. That is, in the embodiment of the present application, when a communication failure occurs at the faulty communication site, the non-faulty communication site provides communication services to the users of the faulty communication site.
  • Step S12 When providing communication services through a non-faulty communication site, the non-faulty communication site selects a target communication channel for the user's information to be sent based on the channel attribute information and the user's service attribute information obtained in advance, so as to provide the information to be sent to the recipient of the information to be sent through the target communication channel, wherein 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 obtained in advance by the non-faulty communication site.
  • a non-faulty communication site provides communication services to users of the faulty communication site. Since the non-faulty communication site has synchronously acquired the second attribute information of the communication channel of the faulty communication site in advance, the non-faulty communication site has the complete channel sending capability of the faulty communication site. That is, before sending the information to be sent to the recipient, the non-faulty communication site 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 service attribute information of the user, so that the target communication channel provides the information to be sent to the recipient, thereby ensuring a high reach rate of the information to be sent.
  • the non-faulty communication site includes an access layer and a scheduling decision module.
  • step S11 in response to information that a communication failure occurs at the faulty communication site, before providing communication services to users of the faulty communication site through a predetermined non-faulty communication site, that is, before the faulty communication site has a communication failure, as shown in FIG3, the method provided in the embodiment of the present application includes the following steps:
  • 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.
  • Step S22 Synchronize the second attribute information from the faulty communication site to the dispatch decision module so that the dispatch decision module
  • the channel attribute information including the first attribute information and the second attribute information is obtained.
  • step S21 and step S22 the embodiment of the present application synchronizes the service attribute information of the faulty communication site at the access layer. Therefore, when a communication failure occurs at the faulty communication site, the traffic switching from the faulty communication site to the non-faulty communication site can be quickly performed.
  • the scheduling decision module performs bidirectional synchronization of the channel resources of the faulty communication site (that is, the second attribute information of the communication channel of the faulty communication site is synchronized), so that the scheduling decision module has the ability to dynamically recommend and not recommend the communication channel of the faulty communication site, and matches the more suitable communication channel of the faulty communication site to the information to be sent of the faulty communication site, thereby ensuring a high reach rate of the information to be sent, that is, a high sending success rate.
  • the step of selecting the target communication channel for the user's information to be sent by the non-faulty communication site based on the channel attribute information and the user's service attribute information obtained in advance includes:
  • the scheduling decision module selects a target communication channel for the information to be sent according to the first attribute information, the second attribute information and the service attribute information.
  • the selected target communication channel may be a communication channel of the non-faulty communication site itself, or it may be a communication channel corresponding to the faulty communication site, as long as the target communication channel can ensure a high reach rate of the information to be sent, such as matching the information to be sent to the financial institution of the faulty communication site with a communication channel with higher communication quality of the faulty communication site, thereby ensuring a high reach rate of the information to be sent by the financial institution. It ensures that the non-faulty communication site has the ability to send the information to be sent to different users of the faulty communication site, so as to ensure a high reach rate of the information to be sent.
  • the scheduling decision module can also select a suitable communication channel for the information to be sent of the non-faulty communication site to which it belongs, thereby ensuring a high reach rate of different information to be sent.
  • the first attribute information and the second attribute information both include communication attribute information
  • the communication attribute information is information used to describe the communication attributes of the communication channel, such as the quality label of the communication channel, the channel transmission type, the number of connection hops, etc.
  • the step of selecting a target communication channel for the information to be sent according to the first attribute information, the second attribute information and the service attribute information by the scheduling decision module includes: selecting a target communication channel for the information to be sent according to the communication attribute information of the first attribute information and the communication attribute information of the second attribute information and the service attribute information by the scheduling decision module.
  • the information to be sent is provided to the recipient based on the target communication channel determined by the scheduling decision module.
  • the non-faulty communication site also includes a gateway, and the method provided by the embodiment of the present application also 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 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
  • the connection attribute information is information used to describe the connection attributes required for connecting the communication channel, such as the channel IP address, port port, etc.
  • the method provided by the embodiment of the present application also includes: synchronizing the second attribute information from the faulty communication site to the gateway, so that the gateway obtains the channel attribute information containing the first attribute information and the second attribute information, so that the gateway can 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 the embodiment of the present application 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.
  • the gateway when the target communication channel selected by the scheduling decision module is the communication channel of the non-faulty communication site, the gateway The communication channel corresponds to the connection attribute information of the first attribute information, and establishes a communication connection with the target communication channel.
  • the gateway establishes a communication connection with the target communication channel according to the connection attribute information of the first attribute information corresponding to the target communication channel.
  • the method provided in the embodiment of the present application also includes: in response to the information that the communication failure of the faulty communication site has been resolved, disconnecting the communication connection between the gateway and the target communication channel.
  • the gateway in the embodiment of the present application can also disconnect the communication connection with the communication channel of the faulty communication site.
  • the non-faulty communication site does not recommend traffic (such as the domain name entered by the user of the faulty communication site for accessing the communication service) to the communication channel of the faulty communication site, and the applications and resources of the faulty communication site are fully restored, and the traffic of the faulty communication site is switched back to the faulty communication site.
  • the faulty communication site provides communication services to the users of its own site.
  • the non-faulty communication site also only undertakes the traffic of this communication site. The traffic of each communication site is restored as before, and the user is almost unaware of the intermediate process, which ensures a high reach rate of the information to be sent and a good user experience.
  • the step S11 of providing communication services to users of the faulty communication site through a predetermined non-faulty communication site includes:
  • Step S31 Acquire a domain name registered by a user, wherein the domain name is a domain name corresponding to the first address information used to identify the faulty communication site.
  • Step S32 The first address information corresponding to the domain name is changed to the second address information for identifying the non-faulty communication site, so that the user can access the communication service provided by the non-faulty communication site based on the domain name.
  • the embodiment of the present application quickly switches from the faulty communication site to the non-faulty communication site by resolving the user's domain name, thereby providing the user with communication services through the non-faulty communication site.
  • the non-fault communication site in the embodiment of the present application has the complete channel sending capability of the faulty communication site, the high reach rate of the information to be sent is guaranteed.
  • two-way data synchronization i.e., two-way synchronization of service attribute information
  • the traffic switching from the faulty communication site to the non-faulty communication site can be quickly performed.
  • the scheduling decision module between each communication site performs two-way synchronization of channel resources (i.e., two-way synchronization of channel attribute information), and the gateway has the ability to dynamically load and disconnect the communication channel of the faulty communication site, and the scheduling decision module has the ability to dynamically recommend and not recommend the communication channel of the faulty communication site, these can ensure that the non-faulty communication site has the ability to send the information to be sent by the faulty communication site, so the high reach rate of the information to be sent can be guaranteed.
  • the non-faulty communication site After the faulty communication site is fully restored, the non-faulty communication site only undertakes the traffic of this communication site, and the traffic of each communication site is restored as before. The user is almost unaware of the intermediate process, which ensures the high reach rate of the information to be sent while providing a good user experience.
  • the second embodiment of the present application also provides a communication method, which is applied to a non-faulty communication site where no communication failure has occurred.
  • the communication method includes: in response to an access message that provides communication services to a user of the faulty communication site, selecting a target communication channel for the user's information to be sent based on channel attribute information and pre-acquired service attribute information of the user, so as to provide the information to be sent by the target communication channel to the recipient of the information to be sent, wherein 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 that is pre-acquired by the non-faulty communication site.
  • a non-faulty communication site replaces the faulty communication site.
  • the non-faulty communication site since the non-faulty communication site has synchronously acquired the second attribute information of the communication channel of the faulty communication site in advance, the non-faulty communication site has the complete channel sending capability of the faulty communication site, that is, before sending the information to be sent to the recipient, the non-faulty communication site selects a suitable target communication channel for the information to be sent according to the channel attribute information containing the second attribute information and the service attribute information of the user, so that the target communication channel provides the information to be sent to the recipient, thereby ensuring a high reach rate of the information to be sent.
  • the non-fault communication site includes an access layer and a scheduling decision module. Then, before the embodiment of the present application selects a target communication channel for the user's to-be-sent information according to the channel attribute information and the pre-acquired user's service attribute information, the method provided by the embodiment of the present application includes: obtaining the service attribute information through the access layer, and sending the service attribute information to the scheduling decision module through the access layer. And, obtaining the second attribute information through 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. The embodiment of the present application synchronizes the service attribute information of the faulty communication site at the access layer of the non-faulty communication site.
  • the scheduling decision module performs bidirectional synchronization of the channel resources of the faulty communication site (that is, the synchronization of the second attribute information of the communication channel of the faulty communication site), so that the scheduling decision module has the ability to dynamically recommend and not recommend the communication channel of the faulty communication site, thereby matching the communication channel of the more suitable faulty communication site to the information to be sent of the faulty communication site, ensuring a high reach rate of the information to be sent.
  • the step of selecting a target communication channel for the user's to-be-sent information according to the channel attribute information and the pre-acquired service attribute information of the user includes:
  • the scheduling decision module selects a target communication channel for the information to be sent according to 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 of the non-faulty communication site itself, or it may be a communication channel corresponding to the faulty communication site, as long as the target communication channel can ensure a high reach rate of the information to be sent, such as matching the information to be sent to the financial institution of the faulty communication site with a communication channel with higher communication quality of the faulty communication site, thereby ensuring a high reach rate of the information to be sent by the financial institution.
  • the scheduling decision module can also select a suitable communication channel for the information to be sent of the non-faulty communication site to which it belongs, thereby ensuring a high reach rate of different information to be sent.
  • the first attribute information and the second attribute information both include communication attribute information
  • the communication attribute information is information used to describe the communication attributes of the communication channel, such as the quality label of the communication channel, the channel transmission type, the number of connection hops, etc.
  • the step of selecting a target communication channel for the information to be sent according to the first attribute information, the second attribute information, and the service attribute information through the scheduling decision module includes: selecting a target communication channel for the information to be sent according to the communication attribute information of the first attribute information and the communication attribute information of the second attribute information and the service attribute information through the scheduling decision module.
  • the information to be sent is provided to the recipient based on the target communication channel determined by the scheduling decision module, and the reach rate of the information to be sent is high.
  • the non-faulty communication site also includes a gateway.
  • the method provided in the embodiment of the present application also 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 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
  • the connection attribute information 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.
  • the present invention also includes: synchronizing the second attribute information from the faulty communication site to the gateway, so that the gateway obtains the channel attribute information including the first attribute information and the second attribute information.
  • the gateway is able to have the ability to dynamically load the communication channel of the faulty communication site.
  • the step of establishing a communication connection with the target communication channel through the gateway in the embodiment of the present application 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.
  • the gateway when the scheduling decision module matches the selected target communication channel as the communication channel of the non-faulty communication site, the gateway establishes a communication connection with the target communication channel according to the connection attribute information of the first attribute information corresponding to the target communication channel.
  • the gateway When the scheduling decision module matches the selected target communication channel as the communication channel of the faulty communication site, the gateway establishes a communication connection with the target communication channel according to the connection attribute information of the first attribute information corresponding to the target communication channel.
  • the method provided in the embodiment of the present application also includes: in response to the information that the communication failure of the faulty communication site has been resolved, disconnecting the communication connection between the gateway and the target communication channel.
  • the gateway in the embodiment of the present application not only has the ability to dynamically load the communication channel of the faulty communication site, but also can disconnect the communication connection between the communication channel of the faulty communication site when the faulty communication site resumes normal communication.
  • the non-faulty communication site does not recommend traffic to the communication channel of the faulty communication site, the applications and resources of the faulty communication site are fully restored, and the traffic of the faulty communication site is switched back to the faulty communication site.
  • the faulty communication site provides communication services for users of its own site.
  • the non-faulty communication site also only undertakes the traffic of this communication site. The traffic of each communication site is restored as before, and the user is almost unaware of the intermediate process, ensuring a high reach rate of the information to be sent while providing a good user experience.
  • the non-fault communication site in the embodiment of the present application has the complete channel sending capability of the faulty communication site, the high reach rate of the information to be sent is guaranteed.
  • two-way data synchronization i.e., two-way synchronization of service attribute information
  • the traffic switching from the faulty communication site to the non-faulty communication site can be quickly performed.
  • the scheduling decision module between each communication site performs two-way synchronization of channel resources (i.e., two-way synchronization of channel attribute information), and the gateway has the ability to dynamically load and disconnect the communication channel of the faulty communication site, and the scheduling decision module has the ability to dynamically recommend and not recommend the communication channel of the faulty communication site, these can ensure that the non-faulty communication site has the ability to send the information to be sent by the faulty communication site, so the high reach rate of the information to be sent can be guaranteed.
  • the non-faulty communication site After the faulty communication site is fully restored, the non-faulty communication site only undertakes the traffic of this communication site, and the traffic of each communication site is restored as before. The user is almost unaware of the intermediate process, which ensures the high reach rate of the information to be sent while providing a good user experience.
  • the third embodiment of the present application also provides a communication site, which is used to execute the communication method provided by the second embodiment of the present application.
  • a communication site which is used to execute the communication method provided by the second embodiment of the present application.
  • the communication site in the embodiment of the present application has the complete channel sending capability of the faulty communication site, thereby ensuring a high reach rate of the information to be sent. Specifically, since two-way data synchronization (i.e., two-way synchronization of service attribute information) is performed at the access layer between the communication sites, when a fault occurs, the traffic switching from the faulty communication site to the communication site provided in the embodiment of the present application can be quickly performed.
  • two-way data synchronization i.e., two-way synchronization of service attribute information
  • the scheduling decision module between the communication sites performs two-way synchronization of channel resources (i.e., two-way synchronization of channel attribute information)
  • the gateway of the communication site provided in the embodiment of the present application has the ability to dynamically load and disconnect the communication channel of the faulty communication site
  • the scheduling decision module has the ability to dynamically recommend and The capabilities of the communication channels of the faulty communication sites are not recommended. These capabilities can ensure that the non-faulty communication sites have the ability to send the information to be sent by the faulty communication sites, thereby ensuring a high reach rate of the information to be sent.
  • the communication site provided in the embodiment of the present application only undertakes the traffic of this communication site, and the traffic of each communication site is restored as before. The user has almost no perception of the intermediate process, which ensures a high reach rate of the information to be sent and a good user experience.
  • the fourth embodiment of the present application also provides a communication system, which includes the communication site provided by the third embodiment of the present application.
  • a communication system which includes the communication site provided by the third embodiment of the present application.
  • the communication site provided by the third embodiment of the present application.
  • the fifth embodiment of the present application also provides an electronic device, including: a processor, and a memory for storing a program, wherein the program includes instructions, and when the instructions are executed by the processor, the processor executes the communication method provided by the first embodiment of the present application.
  • the communication method please refer to the content provided in the first embodiment of the present application, and the embodiments of the present application will not be repeated here.
  • the sixth embodiment of the present application also provides a non-transitory machine-readable medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the communication method provided by the first embodiment of the present application.
  • the communication method please refer to the content provided by the first embodiment of the present application, and the embodiments of the present application will not be repeated here.
  • the seventh embodiment of the present application also provides a computer program product, including a computer program, wherein the computer program, when executed by the processor of the computer, is used to enable the computer to execute the communication method provided by the first embodiment of the present application.
  • the communication method please refer to the content provided in the first embodiment of the present application, and the embodiments of the present application will not be repeated here.
  • the eighth embodiment of the present application also provides an application embodiment of a communication method in combination with FIG5, and the application embodiment describes how to implement a multi-active method for cross-national communication sites in the field of communication.
  • the data synchronization scope of this application embodiment not only includes the user's service attribute information (such as the user's quality label, user level, user model, etc.), but also extends to the attribute information of the communication channel of each communication site (such as channel quality label, channel sending type, connection hop number, channel IP address, port and other attributes).
  • the gateway of the non-fault communication site is enabled to dynamically connect and disconnect the communication channel of the faulty communication site (this capability of the gateway is mainly to configure a multi-active switch for the gateway, and use the multi-active switch to dynamically connect or disconnect the communication channel of the faulty communication site), and the scheduling decision module of the non-fault communication site has the ability to dynamically and accurately recommend or not recommend the communication channel of the faulty communication site.
  • This application embodiment can ensure that: when a fault occurs, the non-fault communication site dynamically loads the channel of the faulty communication site, and the scheduling decision module can accurately recommend all communication channels.
  • this application embodiment not only has the ability to quickly switch the communication site providing communication services after a fault occurs, but also can ensure the high reach rate of the user's to-be-sent information, which is basically imperceptible to the user.
  • the communication platform service has been deployed and provided services at multiple communication sites around the world, such as the Singapore communication site (mainly serving global users), the Indonesian communication site (focusing on serving local Indonesian users), etc.
  • This application embodiment uses the Singapore communication site and the Indonesian communication site as examples to illustrate the specific implementation process of this application embodiment.
  • this application embodiment has a comprehensive data redundancy strategy.
  • bidirectional synchronization of service attribute information at the access layer of each communication site (such as bidirectional synchronization of service attribute information at the access layer of the Singapore communication site and the Indonesian communication site)
  • bidirectional synchronization of attribute information of the communication channel is also performed at the gateway and the scheduling decision module to ensure the consistency of resource data of multiple communication sites.
  • the gateway of each communication site has the ability to dynamically connect and disconnect the communication channel of the faulty communication site: when a fault occurs, the non-faulty communication site dynamically connects to the faulty communication site through its own gateway.
  • the communication channel of the communication site establishes a communication connection.
  • the scheduling decision module of each communication site has the ability to dynamically and accurately recommend and not recommend the communication channels of the faulty communication site: when a fault occurs, the scheduling decision module of the non-faulty communication site where the fault has not occurred can accurately recommend all communication channels, including the communication channels under the non-faulty communication site, and the communication channels under the faulty communication site.
  • the scheduling decision module of the non-faulty communication site is accurately matched to the communication channel of this communication site, excluding the communication channel of the faulty communication site.
  • the implementation process of this application embodiment includes:
  • Step 11 The ingress 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.
  • the DNS resolution method mainly changes 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.
  • Step 12 The gateway of the Indonesian communication site dynamically loads the communication channel of the Singaporean communication site (ie, the channel resources of the Singaporean communication site).
  • the communication channels connected to the gateway of the Indonesian communication site include: the communication channel before the Singaporean communication site, and the communication channel of the Indonesian communication site.
  • Step 13 The scheduling decision module of the Indonesian communication site dynamically and accurately matches all communication channels of the two communication sites.
  • the Indonesian communication site has completed the formal acceptance of the traffic of the Singaporean communication site, which can ensure a high reach rate and a high receipt rate for the information to be sent by all users of the Singaporean communication site.
  • the implementation process of the application embodiment includes:
  • Step 21 The scheduling decision module of the Indonesian communication site does not recommend traffic to the communication channel of the Singaporean communication site.
  • Step 22 The gateway of the Indonesian communication site dynamically disconnects the communication channel with the Singaporean communication site.
  • Step 23 The applications and resources of the Singapore communication site are fully restored.
  • Step 24 Switch the traffic of the Singapore communication site back to the Singapore communication site.
  • the Indonesian communication site in the embodiment of the present application has the complete channel sending capability of the Singapore communication site, thereby ensuring the high reach rate of the information to be sent. Specifically, since two-way data synchronization (i.e., two-way synchronization of service attribute information) is performed at the access layer between each communication site, when the failure of the Singapore communication site occurs, the traffic switching from the Singapore communication site to the Indonesian communication site can be quickly performed.
  • two-way data synchronization i.e., two-way synchronization of service attribute information
  • the scheduling decision module between each communication site performs two-way synchronization of channel resources (i.e., two-way synchronization of channel attribute information), and the gateway has the ability to dynamically load and disconnect the communication channel of the faulty communication site, and the scheduling decision module has the ability to dynamically recommend and not recommend the communication channel of the faulty communication site, these can ensure that the Indonesian communication site has the ability to send the information to be sent by the Singapore communication site, so the high reach rate of the information to be sent can be guaranteed.
  • the Indonesian communication site After the Singapore communication site is fully restored, the Indonesian communication site only undertakes the traffic of this communication site, and the traffic of each communication site is restored as before. The user is almost unaware of the intermediate process, ensuring the high reach rate of the information to be sent, while the user experience is good.
  • the computer programs for implementing the methods of the embodiments of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a general-purpose computer, a special-purpose computer, or other programmable data processing device.
  • a processor or controller is provided so that when the computer program is executed by the processor or controller, the functions/operations specified in the flowchart and/or block diagram are implemented.
  • the computer program can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
  • machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment.
  • Machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable signal medium can include but is not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the above.
  • machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
  • RAM random access memories
  • ROM read-only memories
  • EPROM or flash memory erasable programmable read-only memories
  • CD-ROM compact disk read-only memories
  • magnetic storage devices or any suitable combination of the above.
  • 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 application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present application relates to a communication method and a related device. The method comprises: in response to information that communication failure occurs in a failed communication station, a predetermined non-failed communication station provides a communication service for a user of the failed communication station; and when the non-failed communication station provides the communication service, according to channel attribute information and pre-acquired service attribute information of the user, the non-failed communication station selects a target communication channel for information to be sent of the user, so that the information to be sent is provided through the target communication channel to a receiver of the information to be sent, wherein the channel attribute information comprises first attribute information of a communication channel of the non-failed communication station and second attribute information of a communication channel of the failed communication station pre-acquired by the non-failed communication station. The present application solves the problem in conventional multi-station high-availability schemes that the sending success rate of user information is reduced due to the differences in channel resources of different communication stations.

Description

通信方法及其相关设备Communication method and related equipment

本申请要求于2023年5月17日提交中国专利局、申请号为202310571341.3、发明名称为“通信方法及其相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on May 17, 2023, with application number 202310571341.3 and invention name “Communication method and related equipment”, the entire contents of which are incorporated by reference in this application.

技术领域Technical Field

本申请涉及通信技术领域,特别是涉及通信方法及其相关设备。The present application relates to the field of communication technology, and in particular to a communication method and related equipment.

背景技术Background Art

本部分旨在为权利要求书中陈述的本申请实施例提供背景或上下文。不应以此处的描述包括在本部分中就承认是现有技术。This section is intended to provide a background or context to the embodiments of the present application as recited in the claims. No admission that the description herein is prior art is made by its inclusion in this section.

通信站点通过部署通信平台服务向用户提供通信服务。通信平台服务的架构包括接入层、调度决策模块以及网关,其中,接入层通常指网络中直接面向用户连接或访问的部分,如为用户的访问请求提供的交互接口。调度决策模块用于通过预先确定的决策策略为不同用户的待发送信息精准推荐符合预定要求的通道资源(如为金融信息推荐通信质量更好的通信通道)。网关主要为了解决各网络、各运营商之间的信息互通和服务提供商的接入问题,可进行不同的协议转换。通信平台服务利用运营商提供的通信通道将待发送信息发送至信息接收方时,通信平台服务由网关将待发送信息发送至调度决策模块推荐的通信通道,从而触达信息接收方。通信通道可以是通过整合多方资源而形成的信息通道,该信息通道如用于发送短信的短信通道,网关可将用户的待发送短信发送至短信通道,由短信通道将短信提供给用户指定的号码。由于不同通信站点服务的用户群体有所差异,因此底层支撑的通道资源也有所差异。The communication site provides 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, wherein the access layer generally refers to the part of the network that is directly connected or accessed by users, such as an interactive interface provided for user access requests. The scheduling decision module is used to accurately recommend channel resources that meet predetermined requirements for the information to be sent by different users through a predetermined decision strategy (such as recommending a communication channel with better communication quality for financial information). The gateway is mainly used to solve the information intercommunication between various networks and operators and the access problem of service providers, and can perform different protocol conversions. When the communication platform service uses the communication channel provided by the operator to send the information to the information recipient, the communication platform service sends the information to be sent to the communication channel recommended by the scheduling decision module by the gateway, thereby reaching the information recipient. The communication channel can be an information channel formed by integrating multiple resources, such as a text message channel for sending text messages. The gateway can send the user's text messages to be sent to the text message channel, and the text message channel provides the text message to the number specified by the user. Since the user groups served by different communication sites are different, the channel resources supported by the underlying layer are also different.

通信平台服务对高可用都有着非常高的要求,只有保证了通信平台服务的高可用,才可以保证用户信息的高触达。因此,不仅要求单个通信站点需要具备高可用的能力,同时要求需要具备多站点的高可用能力,即当一个通信站点发生了重大故障无法为用户提供服务时,需要具备可快速切换到另一个通信站点的能力。基于目前通信平台服务具有的架构,当单个通信站点发生故障无法为用户提供服务时,传统的多站点高可用解决方案,在多个站点的接入层进行服务属性信息的双向同步(服务属性信息为对发生故障的故障通信站点的用户具有的属性进行配置获得的信息,如用户的质量标签、用户等级、用户模型等),实现服务属性信息的多站点同步,当故障发生时,将故障通信站点的流量快速切换到未发生故障的非故障通信站点,保证流量可发送,这里的流量如用户在接入层输入的用于访问故障通信站点提供的通信服务的域名。但是非故障通信站点的调度决策模块仅可以依据服务属性信息决策到非故障通信站点下的通道资源。一般情况下,不同站点的用户和通道资源都是具有较大差异性的,因此会大幅降低故障通信站点的用户的信息触达率,对用户产生影响,如对通道质量要求更高的金融机构的信息在非故障通信站点没有满足相应质量要求的通信通道时,将会影响金融信息的触达率。Communication platform services have very high requirements for high availability. Only by ensuring the high availability of communication platform services can the high reach of user information be guaranteed. Therefore, not only a single communication site needs to have high availability capabilities, but also multi-site high availability capabilities, that is, when a communication site fails and cannot provide services to users, it needs to have 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 services to users, the traditional multi-site high availability solution performs two-way synchronization of service attribute information at the access layer of multiple sites (service attribute information is information obtained by configuring the attributes of users of the failed communication site, such as user quality labels, user levels, user models, etc.), and realizes multi-site synchronization of service attribute information. When a failure occurs, the traffic of the failed communication site is quickly switched to the non-faulty communication site that has not failed, to ensure that the traffic can be sent. The traffic here is such as the domain name entered by the user at the access layer to access the communication service provided by the failed communication site. However, the scheduling decision module of the non-faulty communication site can only decide on the channel resources under the non-faulty communication site based on the service attribute information. Generally speaking, the users and channel resources at different sites are quite different, which will significantly reduce the information reach rate of users at faulty communication sites and have an impact on users. For example, if the information of financial institutions with higher channel quality requirements does not have a communication channel that meets the corresponding quality requirements at non-faulty communication sites, the reach rate of financial information will be affected.

可见,目前传统的多站点高可用的方案,仅是通过将入口流量由故障通信站点切换到费故障通信站点,但是由于不同通信站点通道资源的差异性,会降低用户信息的发送成功 率。It can be seen that the current traditional multi-site high availability solution only switches the inlet traffic from the faulty communication site to the non-faulty communication site. However, due to the differences in channel resources at different communication sites, the success rate of user information transmission will be reduced. Rate.

发明内容Summary of the invention

本申请实施例提供的通信方法及其相关设备,至少解决传统的多站点高可用的方案,由于不同通信站点通道资源的差异性,会降低用户信息的发送成功率的问题。The communication method and related equipment provided in the embodiments of the present application at least solve the problem that the traditional multi-site high-availability solution reduces the success rate of sending user information due to the differences in channel resources of different communication sites.

根据本申请的一个方面,提供了一种通信方法,所述方法包括:According to one aspect of the present application, a communication method is provided, the method comprising:

响应于故障通信站点发生通信故障的信息,通过预先确定的非故障通信站点向所述故障通信站点的用户提供通信服务,其中,所述非故障通信站点为未发生通信故障的站点;In response to information that a communication failure occurs at a failed communication site, providing communication services to users of the failed communication site through a predetermined non-faulty communication site, wherein the non-faulty communication site is a site where no communication failure occurs;

通过所述非故障通信站点提供所述通信服务时,由所述非故障通信站点根据通道属性信息和预先获取的所述用户的服务属性信息,为所述用户的待发送信息选择目标通信通道,以将所述待发送信息由所述目标通信通道提供给所述待发送信息的接收方,其中,所述通道属性信息包括所述非故障通信站点具有的通信通道的第一属性信息,以及所述非故障通信站点预先获取的所述故障通信站点具有的通信通道的第二属性信息。When the communication service is provided by the non-faulty communication site, the non-faulty communication site selects a target communication channel for the user's information to be sent based on the channel attribute information and the service attribute information of the user obtained in advance, so as to provide the information to be sent to the recipient of the information to be sent through the target communication channel, wherein 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 obtained in advance by the non-faulty communication site.

在其中的一些实施例中,所述非故障通信站点包括接入层和调度决策模块,响应于故障通信站点发生通信故障的信息,通过预先确定的非故障通信站点向所述故障通信站点的用户提供通信服务之前,所述方法包括:In some embodiments, the non-faulty communication site includes an access layer and a scheduling decision module. In response to information that a communication failure occurs at the faulty communication site, before providing communication services to users of the faulty communication site through a predetermined non-faulty communication site, the method includes:

将所述服务属性信息从所述故障通信站点同步至所述接入层,并通过所述接入层将所述服务属性信息发送至所述调度决策模块;Synchronizing the service attribute information from the faulty communication site to the access layer, and sending the service attribute information to the scheduling decision module through the access layer;

将所述第二属性信息从所述故障通信站点同步至所述调度决策模块,以使所述调度决策模块获得包含有所述第一属性信息和所述第二属性信息的所述通道属性信息;Synchronize the second attribute information from the faulty communication site to the scheduling decision module, so that the scheduling decision module obtains the channel attribute information including the first attribute information and the second attribute information;

则,由所述非故障通信站点根据通道属性信息和预先获取的所述用户的服务属性信息,为所述用户的待发送信息选择目标通信通道的步骤包括:Then, the step of selecting a target communication channel for the information to be sent by the non-faulty communication site according to the channel attribute information and the pre-acquired service attribute information of the user includes:

通过所述调度决策模块根据所述第一属性信息、所述第二属性信息以及所述服务属性信息,为所述待发送信息选择所述目标通信通道。The scheduling decision module selects the target communication channel for the information to be sent according to the first attribute information, the second attribute information and the service attribute information.

在其中的一些实施例中,所述第一属性信息和所述第二属性信息均包括通信属性信息,所述通信属性信息为用于描述所述通信通道的通信属性的信息,通过所述调度决策模块根据所述第一属性信息、所述第二属性信息以及所述服务属性信息,为所述待发送信息选择所述目标通信通道的步骤包括:In some embodiments, the first attribute information and the second attribute information both include communication attribute information, and the communication attribute information is information used to describe the communication attribute of the communication channel. The step of selecting the target communication channel for the information to be sent by the scheduling decision module according to 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 according to the communication attribute information of the first attribute information, the communication attribute information of the second attribute information, and the service attribute information.

在其中的一些实施例中,所述非故障通信站点还包括网关,所述方法还包括:In some of the embodiments, the non-faulty communication site 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 by the target communication channel to the recipient of the information to be sent.

在其中的一些实施例中,所述第一属性信息和所述第二属性信息还包括连接属性信息,所述连接属性信息为用于描述连接所述通信通道所需的连接属性的信息,将所述第二属性信息从所述故障通信站点同步至所述调度决策模块时,所述方法还包括:In some embodiments, the first attribute information and the second attribute information further include connection attribute information, where the connection attribute information is information for describing connection attributes required to connect the communication channel, and when synchronizing the second attribute information from the faulty communication site to the scheduling decision module, the method further includes:

将所述第二属性信息从所述故障通信站点同步至所述网关,以使所述网关获得包含有所述第一属性信息和所述第二属性信息的所述通道属性信息; Synchronizing the second attribute information from the faulty communication site to the gateway, so that the gateway obtains the channel attribute information including the first attribute information and the second attribute information;

通过所述网关与所述目标通信通道建立通信连接的步骤包括:The step of establishing a communication connection with the target communication channel through the gateway comprises:

通过所述网关根据所述目标通信通道对应的所述第一属性信息的连接属性信息或所述第二属性信息的连接属性信息,与所述目标通信通道建立通信连接。A communication connection is established 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.

在其中的一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

响应于所述故障通信站点的通信故障已解除的信息,断开所述网关与所述目标通信通道之间的通信连接。In response to the information that the communication failure of the failed communication site has been resolved, the communication connection between the gateway and the target communication channel is disconnected.

在其中的一些实施例中,通过预先确定的非故障通信站点向所述故障通信站点的用户提供通信服务的步骤包括:In some embodiments, the step of providing communication services to users of the faulty communication site through a predetermined non-faulty communication site includes:

获取所述用户注册的域名,其中,所述域名为与用于标识所述故障通信站点的第一地址信息对应的域名;Acquire a domain name registered by the user, wherein the domain name is a domain name corresponding to the first address information used to identify the faulty communication site;

将所述域名对应的所述第一地址信息更改为用于标识所述非故障通信站点的第二地址信息,以使所述用户基于所述域名访问所述非故障通信站点提供的通信服务。The first address information corresponding to the domain name is changed into second address information for identifying the non-faulty communication site, so that the user can access the communication service provided by the non-faulty communication site based on the domain name.

根据本申请的另一个方面,还提供了一种通信方法,所述方法应用于未发生通信故障的非故障通信站点,所述方法包括:According to another aspect of the present application, a communication method is further provided, the method being applied to a non-faulty communication site where no communication failure occurs, the method comprising:

响应于为故障通信站点的用户提供通信服务的访问消息,根据通道属性信息和预先获取的所述用户的服务属性信息,为所述用户的待发送信息选择目标通信通道,以将所述待发送信息由所述目标通信通道提供给所述待发送信息的接收方,其中,所述通道属性信息包括所述非故障通信站点具有的通信通道的第一属性信息,以及所述非故障通信站点预先获取的所述故障通信站点具有的通信通道的第二属性信息。In response to an access message for providing communication services to a user of a faulty communication site, a target communication channel is selected for the user's information to be sent based on channel attribute information and pre-acquired service attribute information of the user, so that the information to be sent is provided by the target communication channel to a recipient of the information to be sent, wherein 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 that is pre-acquired by the non-faulty communication site.

在其中的一些实施例中,所述非故障通信站点包括接入层和调度决策模块,根据通道属性信息和预先获取的所述用户的服务属性信息,为所述用户的待发送信息选择目标通信通道之前,所述方法包括:In some embodiments, the non-faulty communication site includes an access layer and a scheduling decision module. Before selecting a target communication channel for the information to be sent by the user according to the channel attribute information and the pre-acquired service attribute information of the user, the method includes:

通过所述接入层获取所述服务属性信息,并通过所述接入层将所述服务属性信息发送至所述调度决策模块;Acquire the service attribute information through the access layer, and send the service attribute information to the scheduling decision module through the access layer;

通过所述调度决策模块获取所述第二属性信息,以使所述调度决策模块获得包含有所述第一属性信息和所述第二属性信息的所述通道属性信息;Acquiring the second attribute information through the scheduling decision module, so that the scheduling decision module obtains the channel attribute information including the first attribute information and the second attribute information;

则,根据通道属性信息和预先获取的所述用户的服务属性信息,为所述用户的待发送信息选择目标通信通道的步骤包括:Then, the step of selecting a target communication channel for the information to be sent by the user according to the channel attribute information and the pre-acquired service attribute information of the user includes:

通过所述调度决策模块根据所述第一属性信息、所述第二属性信息以及所述服务属性信息,为所述待发送信息选择所述目标通信通道。The scheduling decision module selects the target communication channel for the information to be sent according to the first attribute information, the second attribute information and the service attribute information.

在其中的一些实施例中,所述第一属性信息和所述第二属性信息均包括通信属性信息,所述通信属性信息为用于描述所述通信通道的通信属性的信息,通过所述调度决策模块根据所述第一属性信息、所述第二属性信息以及所述服务属性信息,为所述待发送信息选择所述目标通信通道的步骤包括:In some embodiments, the first attribute information and the second attribute information both include communication attribute information, and the communication attribute information is information used to describe the communication attribute of the communication channel. The step of selecting the target communication channel for the information to be sent by the scheduling decision module according to 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 according to the communication attribute information of the first attribute information, the communication attribute information of the second attribute information, and the service attribute information.

在其中的一些实施例中,所述非故障通信站点还包括网关,所述方法还包括:In some of the embodiments, the non-faulty communication site 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 through the gateway The target communication channel is sent to the target communication channel, so that the information to be sent is provided to the recipient of the information to be sent through the target communication channel.

在其中的一些实施例中,所述第一属性信息和所述第二属性信息还包括连接属性信息,所述连接属性信息为用于描述连接所述通信通道所需的连接属性的信息,将所述第二属性信息从所述故障通信站点同步至所述调度决策模块时,所述方法还包括:In some embodiments, the first attribute information and the second attribute information further include connection attribute information, where the connection attribute information is information for describing connection attributes required to connect the communication channel, and when synchronizing the second attribute information from the faulty communication site to the scheduling decision module, the method further includes:

将所述第二属性信息从所述故障通信站点同步至所述网关,以使所述网关获得包含有所述第一属性信息和所述第二属性信息的所述通道属性信息;Synchronizing the second attribute information from the faulty communication site to the gateway, so that the gateway obtains the channel attribute information including the first attribute information and the second attribute information;

通过所述网关与所述目标通信通道建立通信连接的步骤包括:The step of establishing a communication connection with the target communication channel through the gateway comprises:

通过所述网关根据所述目标通信通道对应的所述第一属性信息的连接属性信息或所述第二属性信息的连接属性信息,与所述目标通信通道建立通信连接。A communication connection is established 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.

在其中的一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

响应于所述故障通信站点的通信故障已解除的信息,断开所述网关与所述目标通信通道之间的通信连接。In response to the information that the communication failure of the failed communication site has been resolved, the communication connection between the gateway and the target communication channel is disconnected.

根据本申请的另一个方面,还提供了一种通信站点,所述通信站点用于执行上述的通信方法。According to another aspect of the present application, a communication site is also provided, wherein the communication site is used to execute the above communication method.

根据本申请的另一个方面,还提供了一种通信系统,所述通信系统包括所述的通信站点。According to another aspect of the present application, a communication system is also provided, and the communication system includes the communication site.

根据本申请的另一个方面,还提供了一种电子设备,包括:处理器,以及存储程序的存储器,其中,所述程序包括指令,所述指令在由所述处理器执行时使所述处理器执行所述的通信方法。According to another aspect of the present application, an electronic device is provided, comprising: a processor, and a memory storing a program, wherein the program comprises instructions, and when the instructions are executed by the processor, the processor executes the communication method.

根据本申请的另一个方面,还提供了一种存储有计算机指令的非瞬时机器可读介质,其中,所述计算机指令用于使所述计算机执行所述的通信方法。According to another aspect of the present application, a non-transitory machine-readable medium storing computer instructions is also provided, wherein the computer instructions are used to enable the computer to execute the communication method.

本申请实施例的有益效果:Beneficial effects of the embodiments of the present application:

本申请实施例在故障通信站点发生故障后,由非故障通信站点为故障通信站点的用户提供通信服务,由于非故障通信站点提前同步获取了故障通信站点的通信通道的第二属性信息,使得非故障通信站点具备故障通信站点的完整的通道发送能力,即将待发生信息发送至接收方之前,由非故障通信站点根据包含有第二属性信息的通道属性信息和用户的服务属性信息,为待发送信息选择合适的目标通信通道,以由目标通信通道将待发送信息提供给接收方,从而保障待发送信息的高触达率。In the embodiment of the present application, after a fault occurs at a faulty communication site, a non-faulty communication site provides communication services to users of the faulty communication site. Since the non-faulty communication site synchronously obtains the second attribute information of the communication channel of the faulty communication site in advance, the non-faulty communication site has the complete channel sending capability of the faulty communication site. That is, before sending the information to be sent to the recipient, the non-faulty communication site selects a suitable target communication channel for the information to be sent based on the channel attribute information including the second attribute information and the service attribute information of the user, so that the target communication channel provides the information to be sent to the recipient, thereby ensuring a high reach rate of the information to be sent.

本申请的一个或多个实施例的细节在以下附图和描述中提出,以使本申请的其他特征、目的和优点更加简明易懂。Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单的介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的实施例。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can be obtained based on these drawings without creative work.

图1为本申请一实施例提供的传统的多站点高可用方案的示意图;FIG1 is a schematic diagram of a traditional multi-site high availability solution provided by an embodiment of the present application;

图2为本申请一实施例提供的一种通信方法的流程示意图; FIG2 is a flow chart of a communication method provided in an embodiment of the present application;

图3为本申请一实施例提供的故障通信站点与非故障通信站点之间同步信息的流程示意图;3 is a schematic diagram of a process of synchronizing information between a faulty communication site and a non-faulty communication site according to an embodiment of the present application;

图4为本申请一实施例提供的故障通信站点切换至非故障通信站点的流程示意图;FIG4 is a schematic diagram of a process of switching a faulty communication site to a non-faulty communication site according to an embodiment of the present application;

图5为本申请一实施例提供的通信方法的应用实施例的示意图。FIG5 is a schematic diagram of an application example of a communication method provided by an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

下面将参照附图更详细地描述本实施例的实施例。虽然附图中显示了本实施例的某些实施例,然而应当理解的是,本实施例可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本实施例。应当理解的是,本实施例的附图及实施例仅用于示例性作用,并非用于限制本实施例的保护范围。Embodiments of the present embodiment will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present embodiment are shown in the accompanying drawings, it should be understood that the present embodiment can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein, which are instead provided for a more thorough and complete understanding of the present embodiment. It should be understood that the drawings and embodiments of the present embodiment are only for exemplary purposes and are not intended to limit the scope of protection of the present embodiment.

在现有传统的多站点高可用的方案下,如图1所示,当一个通信站点发生重大故障无法提供通信服务时,只在接入层进行了服务属性信息的双向同步,使得非故障通信站点没有加载故障通信站点的通信通道的能力,由于两个通信站点的通道资源存在用户和资源的差异性,会导致故障通信站点的流量无法匹配到合适的通信通道上,大幅降低了故障通信站点的待发送信息的触达率。有鉴于此,本申请第一个实施例提供了一种通信方法,如图2所示,该通信方法包括如下步骤:In the existing traditional multi-site high availability solution, as shown in Figure 1, when a communication site fails to provide communication services due to a major failure, only the service attribute information is synchronized bidirectionally at the access layer, so that the non-faulty communication site does not have the ability to load the communication channel of the faulty communication site. Since the channel resources of the two communication sites have differences in users and resources, the traffic of the faulty communication site cannot be matched to the appropriate communication channel, which greatly reduces the reach rate of the information to be sent by the faulty communication site. In view of this, the first embodiment of the present application provides a communication method, as shown in Figure 2, which includes the following steps:

步骤S11:响应于故障通信站点发生通信故障的信息,通过预先确定的非故障通信站点向故障通信站点的用户提供通信服务,其中,非故障通信站点为未发生通信故障的站点。即本申请实施例在故障通信站点发生通信故障时,由非故障通信站点向故障通信站点的用户提供通信服务。Step S11: In response to the information that the communication failure occurs at the faulty communication site, a communication service is provided to the users of the faulty communication site through a predetermined non-faulty communication site, wherein the non-faulty communication site is a site where no communication failure occurs. That is, in the embodiment of the present application, when a communication failure occurs at the faulty communication site, the non-faulty communication site provides communication services to the users of the faulty communication site.

步骤S12:通过非故障通信站点提供通信服务时,由非故障通信站点根据通道属性信息和预先获取的用户的服务属性信息,为用户的待发送信息选择目标通信通道,以将待发送信息由目标通信通道提供给待发送信息的接收方,其中,通道属性信息包括非故障通信站点具有的通信通道的第一属性信息,以及非故障通信站点预先获取的故障通信站点具有的通信通道的第二属性信息。Step S12: When providing communication services through a non-faulty communication site, the non-faulty communication site selects a target communication channel for the user's information to be sent based on the channel attribute information and the user's service attribute information obtained in advance, so as to provide the information to be sent to the recipient of the information to be sent through the target communication channel, wherein 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 obtained in advance by the non-faulty communication site.

由此,本申请实施例在故障通信站点发生故障后,由非故障通信站点为故障通信站点的用户提供通信服务,由于非故障通信站点提前同步获取了故障通信站点的通信通道的第二属性信息,使得非故障通信站点具备故障通信站点的完整的通道发送能力,即将待发生信息发送至接收方之前,由非故障通信站点根据包含有第二属性信息的通道属性信息和用户的服务属性信息,为待发送信息选择合适的目标通信通道,以由目标通信通道将待发送信息提供给接收方,从而保障待发送信息的高触达率。Therefore, in the embodiment of the present application, after a fault occurs at a faulty communication site, a non-faulty communication site provides communication services to users of the faulty communication site. Since the non-faulty communication site has synchronously acquired the second attribute information of the communication channel of the faulty communication site in advance, the non-faulty communication site has the complete channel sending capability of the faulty communication site. That is, before sending the information to be sent to the recipient, the non-faulty communication site 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 service attribute information of the user, so that the target communication channel provides the information to be sent to the recipient, thereby ensuring a high reach rate of the information to be sent.

其中,非故障通信站点包括接入层和调度决策模块,步骤S11中,响应于故障通信站点发生通信故障的信息,通过预先确定的非故障通信站点向故障通信站点的用户提供通信服务之前,即故障通信站点还未发生通信故障期间,如图3所示,本申请实施例提供的方法包括如下步骤:The non-faulty communication site includes an access layer and a scheduling decision module. In step S11, in response to information that a communication failure occurs at the faulty communication site, before providing communication services to users of the faulty communication site through a predetermined non-faulty communication site, that is, before the faulty communication site has a communication failure, as shown in FIG3, the method provided in the embodiment of the present application includes the following steps:

步骤S21:将服务属性信息从故障通信站点同步至接入层,并通过接入层将服务属性信息发送至调度决策模块。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.

步骤S22:将第二属性信息从故障通信站点同步至调度决策模块,以使调度决策模块 获得包含有第一属性信息和第二属性信息的通道属性信息。其中,步骤S21和步骤S22在具体实施时没有先后之分,本申请实施例对步骤S21和步骤S22的执行顺序并不做唯一限定。Step S22: Synchronize the second attribute information from the faulty communication site to the dispatch decision module so that the dispatch decision module The channel attribute information including the first attribute information and the second attribute information is obtained. There is no order of execution for step S21 and step S22 in specific implementation, and the embodiment of the present application does not limit the execution order of step S21 and step S22.

由步骤S21和步骤S22可知,本申请实施例在接入层同步了故障通信站点的服务属性信息,因此,当故障通信站点发生通信故障后,可快速进行故障通信站点到非故障通信站点的流量切换。在调度决策模块进行了故障通信站点的通道资源的双向同步(即进行了障通信站点的通信通道的第二属性信息的同步),使调度决策模块具备动态推荐和不推荐故障通信站点的通信通道的能力,将更合适的故障通信站点的通信通道匹配给故障通信站点的待发送信息,从而确保待发送信息的高触达率,即发送成功率高。则,基于步骤S21和步骤S22,本申请实施例的步骤S12中,由非故障通信站点根据通道属性信息和预先获取的用户的服务属性信息,为用户的待发送信息选择目标通信通道的步骤包括:It can be seen from step S21 and step S22 that the embodiment of the present application synchronizes the service attribute information of the faulty communication site at the access layer. Therefore, when a communication failure occurs at the faulty communication site, the traffic switching from the faulty communication site to the non-faulty communication site can be quickly performed. The scheduling decision module performs bidirectional synchronization of the channel resources of the faulty communication site (that is, the second attribute information of the communication channel of the faulty communication site is synchronized), so that the scheduling decision module has the ability to dynamically recommend and not recommend the communication channel of the faulty communication site, and matches the more suitable communication channel of the faulty communication site to the information to be sent of the faulty communication site, thereby ensuring a high reach rate of the information to be sent, that is, a high sending success rate. Then, based on step S21 and step S22, in step S12 of the embodiment of the present application, the step of selecting the target communication channel for the user's information to be sent by the non-faulty communication site based on the channel attribute information and the user's service attribute information obtained in advance includes:

通过调度决策模块根据第一属性信息、第二属性信息以及服务属性信息,为待发送信息选择目标通信通道。选择的目标通信通道可能是非故障通信站点本身具有的通信通道,也可以是故障通信站点对应具有的通信通道,只要目标通信通道能够确保待发送信息的高触达率即可,如给故障通信站点的金融机构的待发送信息匹配故障通信站点具有的通信质量更高的通信通道,从而确保金融机构的待发送信息的高触达率。保障了非故障通信站点具备故障通信站点发送不同用户的待发送信息的能力,因此可保障待发送信息的高触达率。且调度决策模块除了能为故障通信站点的待发送信息匹配选择合适的目标通信通道,也能为所属的非故障通信站点的待发送信息选择合适的通信通道,从而保障不同待发送信息的高触达率。The scheduling decision module selects a target communication channel for the information to be sent according to the first attribute information, the second attribute information and the service attribute information. The selected target communication channel may be a communication channel of the non-faulty communication site itself, or it may be a communication channel corresponding to the faulty communication site, as long as the target communication channel can ensure a high reach rate of the information to be sent, such as matching the information to be sent to the financial institution of the faulty communication site with a communication channel with higher communication quality of the faulty communication site, thereby ensuring a high reach rate of the information to be sent by the financial institution. It ensures that the non-faulty communication site has the ability to send the information to be sent to different users of the faulty communication site, so as to ensure a high reach rate of the information to be sent. In addition to being able to select a suitable target communication channel for matching the information to be sent of the faulty communication site, the scheduling decision module can also select a suitable communication channel for the information to be sent of the non-faulty communication site to which it belongs, thereby ensuring a high reach rate of different information to be sent.

在本申请实施例中,第一属性信息和第二属性信息均包括通信属性信息,通信属性信息为用于描述通信通道的通信属性的信息,如通信通道的质量标签、通道发送类型、连接跳数等。其中,通过调度决策模块根据第一属性信息、第二属性信息以及服务属性信息,为待发送信息选择目标通信通道的步骤包括:通过调度决策模块根据第一属性信息的通信属性信息和第二属性信息的通信属性信息以及服务属性信息,为待发送信息选择目标通信通道。由此,基于调度决策模块确定的目标通信通道将待发送信息提供给接收方。In the embodiment of the present application, the first attribute information and the second attribute information both include communication attribute information, and the communication attribute information is information used to describe the communication attributes of the communication channel, such as the quality label of the communication channel, the channel transmission type, the number of connection hops, etc. Among them, the step of selecting a target communication channel for the information to be sent according to the first attribute information, the second attribute information and the service attribute information by the scheduling decision module includes: selecting a target communication channel for the information to be sent according to the communication attribute information of the first attribute information and the communication attribute information of the second attribute information and the service attribute information by the scheduling decision module. Thus, the information to be sent is provided to the recipient based on the target communication channel determined by the scheduling decision module.

非故障通信站点还包括网关,本申请实施例提供的方法还包括:通过网关与目标通信通道建立通信连接后,通过网关将待发送信息发送至目标通信通道,以将待发送信息由目标通信通道提供给待发送信息的接收方。其中,第一属性信息和第二属性信息还包括连接属性信息,连接属性信息为用于描述连接通信通道所需的连接属性的信息,如通信通道的通道IP地址、端口port等,其中,IP地址为互联网协议地址(英语全称为Internet Protocol Address,又译为网际协议地址),缩写为IP地址,步骤S22将第二属性信息从故障通信站点同步至调度决策模块时,本申请实施例提供的方法还包括:将第二属性信息从故障通信站点同步至网关,以使网关获得包含有第一属性信息和第二属性信息的通道属性信息,从而使网关能够具备动态加载故障通信站点的通信通道的能力,对此,本申请实施例通过网关与目标通信通道建立通信连接的步骤包括:通过网关根据目标通信通道对应的第一属性信息的连接属性信息或第二属性信息的连接属性信息,与目标通信通道建立通信连接。即调度决策模块匹配选择的目标通信通道为非故障通信站点的通信通道时,网关根据该目标 通信通道对应具有的第一属性信息的连接属性信息,与该目标通信通道建立通信连接。调度决策模块匹配选择的目标通信通道为故障通信站点的通信通道时,网关根据该目标通信通道对应具有的第一属性信息的连接属性信息,与该目标通信通道建立通信连接。The non-faulty communication site also includes a gateway, and the method provided by the embodiment of the present application also 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 by the target communication channel to the recipient of the information to be sent. Among them, the first attribute information and the second attribute information also include connection attribute information, and the connection attribute information is information used to describe the connection attributes required for connecting the communication channel, such as the channel IP address, port port, etc. of the communication channel, wherein the IP address is an Internet Protocol address (full name in English: Internet Protocol Address, also translated as Internet Protocol address), abbreviated as IP address, when step S22 synchronizes the second attribute information from the faulty communication site to the scheduling decision module, the method provided by the embodiment of the present application also includes: synchronizing the second attribute information from the faulty communication site to the gateway, so that the gateway obtains the channel attribute information containing the first attribute information and the second attribute information, so that the gateway can 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 the embodiment of the present application 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. That is, when the target communication channel selected by the scheduling decision module is the communication channel of the non-faulty communication site, the gateway The communication channel corresponds to the connection attribute information of the first attribute information, and establishes a communication connection with the target communication channel. When the target communication channel selected by the scheduling decision module is the communication channel of the faulty communication site, the gateway establishes a communication connection with the target communication channel according to the connection attribute information of the first attribute information corresponding to the target communication channel.

当故障通信站点的通信故障解除后,即故障通信站点全面恢复正常通信,本申请实施例提供的方法还包括:响应于故障通信站点的通信故障已解除的信息,断开网关与目标通信通道之间的通信连接。由此,目标通信通道为故障通信站点的通信通道时,本申请实施例中的网关还能与故障通信站点的通信通道断开通信连接,网关与目标通信通道断开通信连接后,非故障通信站点不推荐流量(如故障通信站点的用户输入的用于访问通信服务的域名)到故障通信站点的通信通道,故障通信站点的应用和资源进行全面恢复,将故障通信站点的流量切换回故障通信站点,正常由故障通信站点为自身站点的用户提供通信服务,故障通信站点全面恢复后,非故障通信站点也仅承接本通信站点的流量,各通信站点的流量恢复如初,中间过程用户几乎无感知,保障待发送信息高触达率的同时,用户体验佳。When the communication failure of the faulty communication site is resolved, that is, the faulty communication site fully resumes normal communication, the method provided in the embodiment of the present application also includes: in response to the information that the communication failure of the faulty communication site 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 site, the gateway in the embodiment of the present application can also disconnect the communication connection with the communication channel of the faulty communication site. After the gateway disconnects the communication connection with the target communication channel, the non-faulty communication site does not recommend traffic (such as the domain name entered by the user of the faulty communication site for accessing the communication service) to the communication channel of the faulty communication site, and the applications and resources of the faulty communication site are fully restored, and the traffic of the faulty communication site is switched back to the faulty communication site. Normally, the faulty communication site provides communication services to the users of its own site. After the faulty communication site is fully restored, the non-faulty communication site also only undertakes the traffic of this communication site. The traffic of each communication site is restored as before, and the user is almost unaware of the intermediate process, which ensures a high reach rate of the information to be sent and a good user experience.

如图4所示,在本申请实施例中,步骤S11通过预先确定的非故障通信站点向故障通信站点的用户提供通信服务的步骤包括:As shown in FIG. 4 , in the embodiment of the present application, the step S11 of providing communication services to users of the faulty communication site through a predetermined non-faulty communication site includes:

步骤S31:获取用户注册的域名,其中,域名为与用于标识故障通信站点的第一地址信息对应的域名。Step S31: Acquire a domain name registered by a user, wherein the domain name is a domain name corresponding to the first address information used to identify the faulty communication site.

步骤S32:将域名对应的第一地址信息更改为用于标识非故障通信站点的第二地址信息,以使用户基于域名访问非故障通信站点提供的通信服务。由此,本申请实施例通过解析用户的域名快速进行故障通信站点到非故障通信站点的切换,从而通过非故障通信站点为用户提供通信服务。Step S32: The first address information corresponding to the domain name is changed to the second address information for identifying the non-faulty communication site, so that the user can access the communication service provided by the non-faulty communication site based on the domain name. Thus, the embodiment of the present application quickly switches from the faulty communication site to the non-faulty communication site by resolving the user's domain name, thereby providing the user with communication services through the non-faulty communication site.

由上可知,由于本申请实施例中的非故障通信站点具备故障通信站点的完整的通道发送能力,从而保障待发送信息的高触达率。具体地,由于在各通信站点间的接入层进行了双向的数据同步(即服务属性信息的双向同步),因此,当故障发生后,可快速进行故障通信站点到非故障通信站点的流量切换。其次,由于在各通信站点间的调度决策模块进行了通道资源的双向同步(即通道属性信息的双向同步),同时网关具备动态加载和断开故障通信站点的通信通道的能力,以及调度决策模块具备动态推荐和不推荐故障通信站点的通信通道的能力,这些可保障非故障通信站点具备故障通信站点发送待发送信息的能力,因此可保障待发送信息的高触达率。在故障通信站点全面恢复后,非故障通信站点也仅承接本通信站点的流量,各通信站点的流量恢复如初,中间过程用户几乎无感知,保障待发送信息高触达率的同时,用户体验佳。It can be seen from the above that since the non-fault communication site in the embodiment of the present application has the complete channel sending capability of the faulty communication site, the high reach rate of the information to be sent is guaranteed. Specifically, since two-way data synchronization (i.e., two-way synchronization of service attribute information) is performed at the access layer between each communication site, when a fault occurs, the traffic switching from the faulty communication site to the non-faulty communication site can be quickly performed. Secondly, since the scheduling decision module between each communication site performs two-way synchronization of channel resources (i.e., two-way synchronization of channel attribute information), and the gateway has the ability to dynamically load and disconnect the communication channel of the faulty communication site, and the scheduling decision module has the ability to dynamically recommend and not recommend the communication channel of the faulty communication site, these can ensure that the non-faulty communication site has the ability to send the information to be sent by the faulty communication site, so the high reach rate of the information to be sent can be guaranteed. After the faulty communication site is fully restored, the non-faulty communication site only undertakes the traffic of this communication site, and the traffic of each communication site is restored as before. The user is almost unaware of the intermediate process, which ensures the high reach rate of the information to be sent while providing a good user experience.

本申请第二个实施例还提供了一种通信方法,该通信方法应用于未发生通信故障的非故障通信站点,该通信方法包括:响应于为故障通信站点的用户提供通信服务的访问消息,根据通道属性信息和预先获取的用户的服务属性信息,为用户的待发送信息选择目标通信通道,以将待发送信息由目标通信通道提供给待发送信息的接收方,其中,通道属性信息包括非故障通信站点具有的通信通道的第一属性信息,以及非故障通信站点预先获取的故障通信站点具有的通信通道的第二属性信息。The second embodiment of the present application also provides a communication method, which is applied to a non-faulty communication site where no communication failure has occurred. The communication method includes: in response to an access message that provides communication services to a user of the faulty communication site, selecting a target communication channel for the user's information to be sent based on channel attribute information and pre-acquired service attribute information of the user, so as to provide the information to be sent by the target communication channel to the recipient of the information to be sent, wherein 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 that is pre-acquired by the non-faulty communication site.

由此,本申请实施例在故障通信站点发生故障后,由非故障通信站点为故障通信站点 的用户提供通信服务,由于非故障通信站点提前同步获取了故障通信站点的通信通道的第二属性信息,使得非故障通信站点具备故障通信站点的完整的通道发送能力,即将待发生信息发送至接收方之前,由非故障通信站点根据包含有第二属性信息的通道属性信息和用户的服务属性信息,为待发送信息选择合适的目标通信通道,以由目标通信通道将待发送信息提供给接收方,从而保障待发送信息的高触达率。Therefore, in the embodiment of the present application, after a faulty communication site fails, a non-faulty communication site replaces the faulty communication site. In order to provide communication services to users, since the non-faulty communication site has synchronously acquired the second attribute information of the communication channel of the faulty communication site in advance, the non-faulty communication site has the complete channel sending capability of the faulty communication site, that is, before sending the information to be sent to the recipient, the non-faulty communication site selects a suitable target communication channel for the information to be sent according to the channel attribute information containing the second attribute information and the service attribute information of the user, so that the target communication channel provides the information to be sent to the recipient, thereby ensuring a high reach rate of the information to be sent.

其中,非故障通信站点包括接入层和调度决策模块,则本申请实施例根据通道属性信息和预先获取的用户的服务属性信息,为用户的待发送信息选择目标通信通道之前,本申请实施例提供的方法包括:通过接入层获取服务属性信息,并通过接入层将服务属性信息发送至调度决策模块。以及,通过调度决策模块获取第二属性信息,以使调度决策模块获得包含有第一属性信息和第二属性信息的通道属性信息。本申请实施例在非故障通信站点的接入层同步故障通信站点的服务属性信息,因此,当故障通信站点发生通信故障后,可快速进行故障通信站点到非故障通信站点的流量切换。在调度决策模块进行了故障通信站点的通道资源的双向同步(即进行了障通信站点的通信通道的第二属性信息的同步),使调度决策模块具备动态推荐和不推荐故障通信站点的通信通道的能力,从而将更合适的故障通信站点的通信通道匹配给故障通信站点的待发送信息,确保待发送信息的高触达率。则,本申请实施例根据通道属性信息和预先获取的用户的服务属性信息,为用户的待发送信息选择目标通信通道的步骤包括:Among them, the non-fault communication site includes an access layer and a scheduling decision module. Then, before the embodiment of the present application selects a target communication channel for the user's to-be-sent information according to the channel attribute information and the pre-acquired user's service attribute information, the method provided by the embodiment of the present application includes: obtaining the service attribute information through the access layer, and sending the service attribute information to the scheduling decision module through the access layer. And, obtaining the second attribute information through 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. The embodiment of the present application synchronizes the service attribute information of the faulty communication site at the access layer of the non-faulty communication site. Therefore, when a communication failure occurs at the faulty communication site, the traffic switching from the faulty communication site to the non-faulty communication site can be quickly performed. The scheduling decision module performs bidirectional synchronization of the channel resources of the faulty communication site (that is, the synchronization of the second attribute information of the communication channel of the faulty communication site), so that the scheduling decision module has the ability to dynamically recommend and not recommend the communication channel of the faulty communication site, thereby matching the communication channel of the more suitable faulty communication site to the information to be sent of the faulty communication site, ensuring a high reach rate of the information to be sent. Then, in the embodiment of the present application, the step of selecting a target communication channel for the user's to-be-sent information according to the channel attribute information and the pre-acquired service attribute information of the user includes:

通过调度决策模块根据第一属性信息、第二属性信息以及服务属性信息,为待发送信息选择目标通信通道。调度决策模块选择的目标通信通道可能是非故障通信站点本身具有的通信通道,也可以是故障通信站点对应具有的通信通道,只要目标通信通道能够确保待发送信息的高触达率即可,如给故障通信站点的金融机构的待发送信息匹配故障通信站点具有的通信质量更高的通信通道,从而确保金融机构的待发送信息的高触达率。保障了非故障通信站点具备故障通信站点发送不同用户的待发送信息的能力,因此可保障待发送信息的高触达率。且调度决策模块除了能为故障通信站点的待发送信息匹配选择合适的目标通信通道,也能为所属的非故障通信站点的待发送信息选择合适的通信通道,从而保障不同待发送信息的高触达率。The scheduling decision module selects a target communication channel for the information to be sent according to 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 of the non-faulty communication site itself, or it may be a communication channel corresponding to the faulty communication site, as long as the target communication channel can ensure a high reach rate of the information to be sent, such as matching the information to be sent to the financial institution of the faulty communication site with a communication channel with higher communication quality of the faulty communication site, thereby ensuring a high reach rate of the information to be sent by the financial institution. It ensures that the non-faulty communication site has the ability to send the information to be sent by the faulty communication site to different users, so as to ensure a high reach rate of the information to be sent. In addition to being able to select a suitable target communication channel for matching the information to be sent of the faulty communication site, the scheduling decision module can also select a suitable communication channel for the information to be sent of the non-faulty communication site to which it belongs, thereby ensuring a high reach rate of different information to be sent.

在本申请实施例中,第一属性信息和第二属性信息均包括通信属性信息,通信属性信息为用于描述通信通道的通信属性的信息,如通信通道的质量标签、通道发送类型、连接跳数等。则,通过调度决策模块根据第一属性信息、第二属性信息以及服务属性信息,为待发送信息选择目标通信通道的步骤包括:通过调度决策模块根据第一属性信息的通信属性信息和第二属性信息的通信属性信息以及服务属性信息,为待发送信息选择目标通信通道。由此,基于调度决策模块确定的目标通信通道将待发送信息提供给接收方,待发送信息的触达率高。In an embodiment of the present application, the first attribute information and the second attribute information both include communication attribute information, and the communication attribute information is information used to describe the communication attributes of the communication channel, such as the quality label of the communication channel, the channel transmission type, the number of connection hops, etc. Then, the step of selecting a target communication channel for the information to be sent according to the first attribute information, the second attribute information, and the service attribute information through the scheduling decision module includes: selecting a target communication channel for the information to be sent according to the communication attribute information of the first attribute information and the communication attribute information of the second attribute information and the service attribute information through the scheduling decision module. Thus, the information to be sent is provided to the recipient based on the target communication channel determined by the scheduling decision module, and the reach rate of the information to be sent is high.

非故障通信站点还包括网关,本申请实施例提供的方法还包括:通过网关与目标通信通道建立通信连接后,通过网关将待发送信息发送至目标通信通道,以将待发送信息由目标通信通道提供给待发送信息的接收方。其中,第一属性信息和第二属性信息还包括连接属性信息,连接属性信息为用于描述连接通信通道所需的连接属性的信息,如通信通道的通道IP地址、端口port等,将第二属性信息从故障通信站点同步至调度决策模块时,本 申请实施例提供的方法还包括:将第二属性信息从故障通信站点同步至网关,以使网关获得包含有第一属性信息和第二属性信息的通道属性信息。从而使网关能够具备动态加载故障通信站点的通信通道的能力,对此,本申请实施例通过网关与目标通信通道建立通信连接的步骤包括:通过网关根据目标通信通道对应的第一属性信息的连接属性信息或第二属性信息的连接属性信息,与目标通信通道建立通信连接。即调度决策模块匹配选择的目标通信通道为非故障通信站点的通信通道时,网关根据该目标通信通道对应具有的第一属性信息的连接属性信息,与该目标通信通道建立通信连接。调度决策模块匹配选择的目标通信通道为故障通信站点的通信通道时,网关根据该目标通信通道对应具有的第一属性信息的连接属性信息,与该目标通信通道建立通信连接。The non-faulty communication site also includes a gateway. The method provided in the embodiment of the present application also 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 by the target communication channel to the recipient of the information to be sent. Among them, the first attribute information and the second attribute information also include connection attribute information, and the connection attribute information 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 the second attribute information is synchronized from the faulty communication site to the scheduling decision module, the present invention The method provided in the embodiment of the application also includes: synchronizing the second attribute information from the faulty communication site to the gateway, so that the gateway obtains the channel attribute information including the first attribute information and the second attribute information. Thereby, the gateway is able to have the ability to dynamically load the communication channel of the faulty communication site. To this end, the step of establishing a communication connection with the target communication channel through the gateway in the embodiment of the present application 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. That is, when the scheduling decision module matches the selected target communication channel as the communication channel of the non-faulty communication site, the gateway establishes a communication connection with the target communication channel according to the connection attribute information of the first attribute information corresponding to the target communication channel. When the scheduling decision module matches the selected target communication channel as the communication channel of the faulty communication site, the gateway establishes a communication connection with the target communication channel according to the connection attribute information of the first attribute information corresponding to the target communication channel.

当故障通信站点的通信故障解除后,即故障通信站点全面恢复正常通信,本申请实施例提供的方法还包括:响应于故障通信站点的通信故障已解除的信息,断开网关与目标通信通道之间的通信连接。由此,目标通信通道为故障通信站点的通信通道时,本申请实施例中的网关不仅具备动态加载故障通信站点的通信通道的能力,还能在故障通信站点恢复正常通信时断开与故障通信站点的通信通道之间的通信连接。网关与目标通信通道断开通信连接后,非故障通信站点不推荐流量到故障通信站点的通信通道,故障通信站点的应用和资源进行全面恢复,将故障通信站点的流量切换回故障通信站点,正常由故障通信站点为自身站点的用户提供通信服务,故障通信站点全面恢复后,非故障通信站点也仅承接本通信站点的流量,各通信站点的流量恢复如初,中间过程用户几乎无感知,保障待发送信息高触达率的同时,用户体验佳。When the communication failure of the faulty communication site is resolved, that is, the faulty communication site fully resumes normal communication, the method provided in the embodiment of the present application also includes: in response to the information that the communication failure of the faulty communication site 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 site, the gateway in the embodiment of the present application not only has the ability to dynamically load the communication channel of the faulty communication site, but also can disconnect the communication connection between the communication channel of the faulty communication site when the faulty communication site resumes normal communication. After the gateway disconnects the communication connection with the target communication channel, the non-faulty communication site does not recommend traffic to the communication channel of the faulty communication site, the applications and resources of the faulty communication site are fully restored, and the traffic of the faulty communication site is switched back to the faulty communication site. Normally, the faulty communication site provides communication services for users of its own site. After the faulty communication site is fully restored, the non-faulty communication site also only undertakes the traffic of this communication site. The traffic of each communication site is restored as before, and the user is almost unaware of the intermediate process, ensuring a high reach rate of the information to be sent while providing a good user experience.

由上可知,由于本申请实施例中的非故障通信站点具备故障通信站点的完整的通道发送能力,从而保障待发送信息的高触达率。具体地,由于在各通信站点间的接入层进行了双向的数据同步(即服务属性信息的双向同步),因此,当故障发生后,可快速进行故障通信站点到非故障通信站点的流量切换。其次,由于在各通信站点间的调度决策模块进行了通道资源的双向同步(即通道属性信息的双向同步),同时网关具备动态加载和断开故障通信站点的通信通道的能力,以及调度决策模块具备动态推荐和不推荐故障通信站点的通信通道的能力,这些可保障非故障通信站点具备故障通信站点发送待发送信息的能力,因此可保障待发送信息的高触达率。在故障通信站点全面恢复后,非故障通信站点也仅承接本通信站点的流量,各通信站点的流量恢复如初,中间过程用户几乎无感知,保障待发送信息高触达率的同时,用户体验佳。It can be seen from the above that since the non-fault communication site in the embodiment of the present application has the complete channel sending capability of the faulty communication site, the high reach rate of the information to be sent is guaranteed. Specifically, since two-way data synchronization (i.e., two-way synchronization of service attribute information) is performed at the access layer between each communication site, when a fault occurs, the traffic switching from the faulty communication site to the non-faulty communication site can be quickly performed. Secondly, since the scheduling decision module between each communication site performs two-way synchronization of channel resources (i.e., two-way synchronization of channel attribute information), and the gateway has the ability to dynamically load and disconnect the communication channel of the faulty communication site, and the scheduling decision module has the ability to dynamically recommend and not recommend the communication channel of the faulty communication site, these can ensure that the non-faulty communication site has the ability to send the information to be sent by the faulty communication site, so the high reach rate of the information to be sent can be guaranteed. After the faulty communication site is fully restored, the non-faulty communication site only undertakes the traffic of this communication site, and the traffic of each communication site is restored as before. The user is almost unaware of the intermediate process, which ensures the high reach rate of the information to be sent while providing a good user experience.

本申请第三个实施例还提供了一种通信站点,该通信站点用于执行本申请第二个实施例提供的通信方法,该通信方法具体请参见本申请第二个实施例提供的内容,本申请实施例在此不再赘述。The third embodiment of the present application also provides a communication site, which is used to execute the communication method provided by the second embodiment of the present application. For details of the communication method, please refer to the content provided by the second embodiment of the present application, and the embodiment of the present application will not be repeated here.

本申请实施例中的通信站点具备故障通信站点的完整的通道发送能力,从而保障待发送信息的高触达率。具体地,由于在各通信站点间的接入层进行了双向的数据同步(即服务属性信息的双向同步),因此,当故障发生后,可快速进行故障通信站点到本申请实施例提供的通信站点的流量切换。其次,由于在各通信站点间的调度决策模块进行了通道资源的双向同步(即通道属性信息的双向同步),同时本申请实施例提供的通信站点的网关具备动态加载和断开故障通信站点的通信通道的能力,以及调度决策模块具备动态推荐和 不推荐故障通信站点的通信通道的能力,这些能力可保障非故障通信站点具备故障通信站点发送待发送信息的能力,因此可保障待发送信息的高触达率。在故障通信站点全面恢复后,本申请实施例提供的通信站点也仅承接本通信站点的流量,各通信站点的流量恢复如初,中间过程用户几乎无感知,保障待发送信息高触达率的同时,用户体验佳。The communication site in the embodiment of the present application has the complete channel sending capability of the faulty communication site, thereby ensuring a high reach rate of the information to be sent. Specifically, since two-way data synchronization (i.e., two-way synchronization of service attribute information) is performed at the access layer between the communication sites, when a fault occurs, the traffic switching from the faulty communication site to the communication site provided in the embodiment of the present application can be quickly performed. Secondly, since the scheduling decision module between the communication sites performs two-way synchronization of channel resources (i.e., two-way synchronization of channel attribute information), and the gateway of the communication site provided in the embodiment of the present application has the ability to dynamically load and disconnect the communication channel of the faulty communication site, and the scheduling decision module has the ability to dynamically recommend and The capabilities of the communication channels of the faulty communication sites are not recommended. These capabilities can ensure that the non-faulty communication sites have the ability to send the information to be sent by the faulty communication sites, thereby ensuring a high reach rate of the information to be sent. After the faulty communication site is fully restored, the communication site provided in the embodiment of the present application only undertakes the traffic of this communication site, and the traffic of each communication site is restored as before. The user has almost no perception of the intermediate process, which ensures a high reach rate of the information to be sent and a good user experience.

本申请第四个实施例还提供了一种通信系统,该通信系统包括本申请第三个实施例提供的通信站点,该通信站点具体请参见本申请第三个实施例提供的内容,本申请实施例在此不再赘述。The fourth embodiment of the present application also provides a communication system, which includes the communication site provided by the third embodiment of the present application. For details of the communication site, please refer to the content provided by the third embodiment of the present application, and the embodiments of the present application will not be repeated here.

本申请第五个实施例还提供了一种电子设备,包括:处理器,以及存储程序的存储器,其中,程序包括指令,指令在由处理器执行时使处理器执行本申请第一个实施例提供的通信方法,该通信方法具体请参见本申请第一个实施例提供的内容,本申请实施例在此不再赘述。The fifth embodiment of the present application also provides an electronic device, including: a processor, and a memory for storing a program, wherein the program includes instructions, and when the instructions are executed by the processor, the processor executes the communication method provided by the first embodiment of the present application. For details of the communication method, please refer to the content provided in the first embodiment of the present application, and the embodiments of the present application will not be repeated here.

本申请第六个实施例还提供了一种存储有计算机指令的非瞬时机器可读介质,其中,计算机指令用于使计算机执行本申请第一个实施例提供的通信方法,该通信方法具体请参见本申请第一个实施例提供的内容,本申请实施例在此不再赘述。The sixth embodiment of the present application also provides a non-transitory machine-readable medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the communication method provided by the first embodiment of the present application. For details of the communication method, please refer to the content provided by the first embodiment of the present application, and the embodiments of the present application will not be repeated here.

本申请第七个实施例还提供了一种计算机程序产品,包括计算机程序,其中,计算机程序在被计算机的处理器执行时用于使计算机执行本申请第一个实施例提供的通信方法,该通信方法具体请参见本申请第一个实施例提供的内容,本申请实施例在此不再赘述。The seventh embodiment of the present application also provides a computer program product, including a computer program, wherein the computer program, when executed by the processor of the computer, is used to enable the computer to execute the communication method provided by the first embodiment of the present application. For details of the communication method, please refer to the content provided in the first embodiment of the present application, and the embodiments of the present application will not be repeated here.

本申请第八个实施例结合附图5还提供了一种通信方法的应用实施例,应用实施例描述了如何在通信领域下跨国家通信站点的多活方法。该应用实施例数据同步范围,不仅包含用户的服务属性信息(如用户的质量标签、用户等级、用户模型等),同时扩展至各通信站点的通信通道的属性信息(如通道质量标签、通道发送类型、连接跳数、通道IP地址、端口等属性),在此基础上,让非故障通信站点的网关具备动态连接和断开故障通信站点的通信通道的能力(网关的该能力主要为对网关配置一个多活开关,利用该多活开关动态连接或断开故障通信站点的通信通道),非故障通信站点的调度决策模块具备动态精准推荐和不推荐故障通信站点的通信通道的能力,此应用实施例可保障:当故障发生后,非故障通信站点动态加载故障通信站点的通道,并且调度决策模块可精准推荐所有的通信通道。当故障恢复后,非故障通信站点由网关动态断开之前故障通信站点的通信通道,非故障通信站点的调度决策模块仅精准匹配本通信站点的通信通道,同时故障通信站点恢复正常。因此本应用实施例不仅具备发生故障后的提供通信服务的通信站点的快速切换能力,同时能保障用户的待发送信息的高触达率,对用户来说基本无感知。The eighth embodiment of the present application also provides an application embodiment of a communication method in combination with FIG5, and the application embodiment describes how to implement a multi-active method for cross-national communication sites in the field of communication. The data synchronization scope of this application embodiment not only includes the user's service attribute information (such as the user's quality label, user level, user model, etc.), but also extends to the attribute information of the communication channel of each communication site (such as channel quality label, channel sending type, connection hop number, channel IP address, port and other attributes). On this basis, the gateway of the non-fault communication site is enabled to dynamically connect and disconnect the communication channel of the faulty communication site (this capability of the gateway is mainly to configure a multi-active switch for the gateway, and use the multi-active switch to dynamically connect or disconnect the communication channel of the faulty communication site), and the scheduling decision module of the non-fault communication site has the ability to dynamically and accurately recommend or not recommend the communication channel of the faulty communication site. This application embodiment can ensure that: when a fault occurs, the non-fault communication site dynamically loads the channel of the faulty communication site, and the scheduling decision module can accurately recommend all communication channels. When the fault is restored, the gateway of the non-faulty communication site dynamically disconnects the communication channel of the previously faulty communication site, and the scheduling decision module of the non-faulty communication site only accurately matches the communication channel of the communication site, and the faulty communication site returns to normal. Therefore, this application embodiment not only has the ability to quickly switch the communication site providing communication services after a fault occurs, but also can ensure the high reach rate of the user's to-be-sent information, which is basically imperceptible to the user.

通信平台服务在全球多个通信站点均进行了部署并提供服务,比如新加坡通信站点(主要服务全球用户)、印尼通信站点(重点服务印尼本地用户)等。本申请实施例在此以新加坡通信站点和印尼通信站点为例说明该应用实施例的具体实施流程。The communication platform service has been deployed and provided services at multiple communication sites around the world, such as the Singapore communication site (mainly serving global users), the Indonesian communication site (focusing on serving local Indonesian users), etc. This application embodiment uses the Singapore communication site and the Indonesian communication site as examples to illustrate the specific implementation process of this application embodiment.

如图5所示,该应用实施例具有全面的数据冗余策略,除了在各通信站点的接入层进行服务属性信息的双向同步(如在新加坡通信站点和印尼通信站点的接入层进行服务属性信息的双向同步),同时在网关和调度决策模块进行通信通道的属性信息的双向同步,保障多个通信站点的资源数据的一致性。其中,各通信站点的网关具备动态连接和断开故障通信站点的通信通道的能力:当故障发生后,非故障通信站点通过自身的网关动态与故障 通信站点的通信通道建立通信连接,当故障通信站点恢复正常后,非故障通信站点通过自身的网关动态断开故障通信站点的通信通道。其次,各通信站点的调度决策模块具备动态精准推荐和不推荐故障通信站点的通信通道的能力:当故障发生后,未发生故障的非故障通信站点的调度决策模块可精准推荐至所有的通信通道,包括非故障通信站点下的通信通道,和故障通信站点下的通信通道。当故障通信站点恢复正常后,非故障通信站点的调度决策模块精准匹配至本通信站点的通信通道,不包含故障通信站点的通信通道。基于上述内容,该应用实施例的具体实施流程包括:As shown in Figure 5, this application embodiment has a comprehensive data redundancy strategy. In addition to bidirectional synchronization of service attribute information at the access layer of each communication site (such as bidirectional synchronization of service attribute information at the access layer of the Singapore communication site and the Indonesian communication site), bidirectional synchronization of attribute information of the communication channel is also performed at the gateway and the scheduling decision module to ensure the consistency of resource data of multiple communication sites. Among them, the gateway of each communication site has the ability to dynamically connect and disconnect the communication channel of the faulty communication site: when a fault occurs, the non-faulty communication site dynamically connects to the faulty communication site through its own gateway. The communication channel of the communication site establishes a communication connection. When the faulty communication site returns to normal, the non-faulty communication site dynamically disconnects the communication channel of the faulty communication site through its own gateway. Secondly, the scheduling decision module of each communication site has the ability to dynamically and accurately recommend and not recommend the communication channels of the faulty communication site: when a fault occurs, the scheduling decision module of the non-faulty communication site where the fault has not occurred can accurately recommend all communication channels, including the communication channels under the non-faulty communication site, and the communication channels under the faulty communication site. When the faulty communication site returns to normal, the scheduling decision module of the non-faulty communication site is accurately matched to the communication channel of this communication site, excluding the communication channel of the faulty communication site. Based on the above content, the specific implementation process of this application embodiment includes:

1、故障通信站点发生通信故障后(如新加坡通信站点全面故障,印尼通信站点充当新加坡通信站点的备用通信站点)该应用实施例的实施流程包括:1. After a communication failure occurs at a faulty communication site (for example, a complete failure occurs at a Singapore communication site, and the Indonesian communication site serves as a backup communication site for the Singapore communication site), the implementation process of this application embodiment includes:

步骤11、新加坡通信站点(即故障通信站点)的入口流量快速通过DNS解析方式切换到印尼通信站点(即非故障通信站点),具体地,DNS解析方式主要为将新加坡通信站点的用户的域名对应的新加坡通信站点的IP地址更改为印尼通信站点的IP地址。Step 11. The ingress 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 changes 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.

步骤12、印尼通信站点的网关动态加载新加坡通信站点的通信通道(即新加坡通信站点具有的通道资源),此时,印尼通信站点的网关连接的通信通道包括:新加坡通信站点之前的通信通道,和印尼通信站点的通信通道。Step 12: The gateway of the Indonesian communication site dynamically loads the communication channel of the Singaporean communication site (ie, the channel resources of the Singaporean communication site). At this time, the communication channels connected to the gateway of the Indonesian communication site include: the communication channel before the Singaporean communication site, and the communication channel of the Indonesian communication site.

步骤13、印尼通信站点的调度决策模块动态精准匹配到两个通信站点的所有通信通道。Step 13: The scheduling decision module of the Indonesian communication site dynamically and accurately matches all communication channels of the two communication sites.

通过步骤11只步骤113,印尼通信站点完成了新加坡通信站点的流量的正式承接工作,能保证新加坡通信站点所有用户的待发送信息的高触达率和高回执率。Through steps 11 to 113, the Indonesian communication site has completed the formal acceptance of the traffic of the Singaporean communication site, which can ensure a high reach rate and a high receipt rate for the information to be sent by all users of the Singaporean communication site.

2、故障通信站点的通信故障解除后该应用实施例的实施流程包括:2. After the communication failure of the faulty communication site is resolved, the implementation process of the application embodiment includes:

步骤21、印尼通信站点的调度决策模块不推荐流量到新加坡通信站点的通信通道。Step 21: The scheduling decision module of the Indonesian communication site does not recommend traffic to the communication channel of the Singaporean communication site.

步骤22、印尼通信站点的网关动态断开与新加坡通信站点的通信通道的通信连接。Step 22: The gateway of the Indonesian communication site dynamically disconnects the communication channel with the Singaporean communication site.

步骤23、新加坡通信站点的应用和资源进行全面恢复。Step 23: The applications and resources of the Singapore communication site are fully restored.

步骤24、将新加坡通信站点的流量切换回新加坡通信站点。Step 24: Switch the traffic of the Singapore communication site back to the Singapore communication site.

由此,新加坡通信站点全面恢复,印尼通信站点仅承接本也站点的流量,两个通信站点的流量恢复如初,中间过程用户几乎无感知。As a result, the Singapore communication site was fully restored, and the Indonesian communication site only took over the traffic of this site. The traffic of the two communication sites was restored to normal, and users were almost unaware of the intermediate process.

由上可见,本申请实施例中的印尼通信站点具备新加坡通信站点的完整的通道发送能力,从而保障待发送信息的高触达率。具体地,由于在各通信站点间的接入层进行了双向的数据同步(即服务属性信息的双向同步),因此,当新加坡通信站点的故障发生后,可快速进行新加坡通信站点到印尼通信站点的流量切换。其次,由于在各通信站点间的调度决策模块进行了通道资源的双向同步(即通道属性信息的双向同步),同时网关具备动态加载和断开故障通信站点的通信通道的能力,以及调度决策模块具备动态推荐和不推荐故障通信站点的通信通道的能力,这些可保障印尼通信站点具备新加坡通信站点发送待发送信息的能力,因此可保障待发送信息的高触达率。在新加坡通信站点全面恢复后,印尼通信站点也仅承接本通信站点的流量,各通信站点的流量恢复如初,中间过程用户几乎无感知,保障待发送信息高触达率的同时,用户体验佳。As can be seen from the above, the Indonesian communication site in the embodiment of the present application has the complete channel sending capability of the Singapore communication site, thereby ensuring the high reach rate of the information to be sent. Specifically, since two-way data synchronization (i.e., two-way synchronization of service attribute information) is performed at the access layer between each communication site, when the failure of the Singapore communication site occurs, the traffic switching from the Singapore communication site to the Indonesian communication site can be quickly performed. Secondly, since the scheduling decision module between each communication site performs two-way synchronization of channel resources (i.e., two-way synchronization of channel attribute information), and the gateway has the ability to dynamically load and disconnect the communication channel of the faulty communication site, and the scheduling decision module has the ability to dynamically recommend and not recommend the communication channel of the faulty communication site, these can ensure that the Indonesian communication site has the ability to send the information to be sent by the Singapore communication site, so the high reach rate of the information to be sent can be guaranteed. After the Singapore communication site is fully restored, the Indonesian communication site only undertakes the traffic of this communication site, and the traffic of each communication site is restored as before. The user is almost unaware of the intermediate process, ensuring the high reach rate of the information to be sent, while the user experience is good.

用于实施本申请实施例的方法的计算机程序可以采用一个或多个编程语言的任何组合来编写。这些计算机程序可以提供给通用计算机、专用计算机或其他可编程数据处理装 置的处理器或控制器,使得计算机程序当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。计算机程序可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。The computer programs for implementing the methods of the embodiments of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a general-purpose computer, a special-purpose computer, or other programmable data processing device. A processor or controller is provided so that when the computer program is executed by the processor or controller, the functions/operations specified in the flowchart and/or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

在本申请实施例的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读信号介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present application embodiment, machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable signal medium can include but is not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the above. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

需要说明的是,本申请实施例使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。本申请实施例中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the term "including" and its variations used in the embodiments of the present application are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". The modifications of "one" and "multiple" mentioned in the embodiments of the present application are illustrative and not restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

本申请实施例所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据,并且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准,并提供有相应的操作入口,供用户选择授权或者拒绝。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 application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

本申请实施例所提供的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本申请的保护范围在此方面不受限制。The various steps described in the method implementation methods provided in the embodiments of the present application can be performed in different orders and/or in parallel. In addition, the method implementation methods may include additional steps and/or omit the steps shown. The scope of protection of the present application is not limited in this respect.

“实施例”一词在本说明书中指的是结合实施例描述的具体特征、结构或特性可以包括在本申请的至少一个实施例中。该短语出现在说明书中的各个位置并不一定意味着相同的实施例,也不意味着与其它实施例相互排斥而具有独立性或可供选择。本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见。尤其,对于装置、设备、系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明。The term "embodiment" in this specification refers to specific features, structures or characteristics described in conjunction with the embodiment that can be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. The various embodiments in this specification are described in a related manner, and the same or similar parts between the various embodiments refer to each other. In particular, for the device, equipment, and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对专利保护范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请的保护范围应以所附权利要求为准。 The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of patent protection. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.

Claims (14)

一种通信方法,所述方法包括:A communication method, the method comprising: 响应于故障通信站点发生通信故障的信息,通过预先确定的非故障通信站点向所述故障通信站点的用户提供通信服务,其中,所述非故障通信站点为未发生通信故障的站点;In response to information that a communication failure occurs at a failed communication site, providing communication services to users of the failed communication site through a predetermined non-faulty communication site, wherein the non-faulty communication site is a site where no communication failure occurs; 通过所述非故障通信站点提供所述通信服务时,由所述非故障通信站点根据通道属性信息和预先获取的所述用户的服务属性信息,为所述用户的待发送信息选择目标通信通道,以将所述待发送信息由所述目标通信通道提供给所述待发送信息的接收方,其中,所述通道属性信息包括所述非故障通信站点具有的通信通道的第一属性信息,以及所述非故障通信站点预先获取的所述故障通信站点具有的通信通道的第二属性信息。When the communication service is provided by the non-faulty communication site, the non-faulty communication site selects a target communication channel for the user's information to be sent based on the channel attribute information and the service attribute information of the user obtained in advance, so as to provide the information to be sent to the recipient of the information to be sent through the target communication channel, wherein 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 obtained in advance by the non-faulty communication site. 根据权利要求1所述的方法,其中,所述非故障通信站点包括接入层和调度决策模块,响应于故障通信站点发生通信故障的信息,通过预先确定的非故障通信站点向所述故障通信站点的用户提供通信服务之前,所述方法包括:The method according to claim 1, wherein the non-faulty communication site comprises an access layer and a scheduling decision module, and in response to information that a communication failure occurs at the faulty communication site, before providing communication services to users of the faulty communication site through a predetermined non-faulty communication site, the method comprises: 将所述服务属性信息从所述故障通信站点同步至所述接入层,并通过所述接入层将所述服务属性信息发送至所述调度决策模块;Synchronizing the service attribute information from the faulty communication site to the access layer, and sending the service attribute information to the scheduling decision module through the access layer; 将所述第二属性信息从所述故障通信站点同步至所述调度决策模块,以使所述调度决策模块获得包含有所述第一属性信息和所述第二属性信息的所述通道属性信息;Synchronize the second attribute information from the faulty communication site to the scheduling decision module, so that the scheduling decision module obtains the channel attribute information including the first attribute information and the second attribute information; 则,由所述非故障通信站点根据通道属性信息和预先获取的所述用户的服务属性信息,为所述用户的待发送信息选择目标通信通道的步骤包括:Then, the step of selecting a target communication channel for the information to be sent by the non-faulty communication site according to the channel attribute information and the pre-acquired service attribute information of the user includes: 通过所述调度决策模块根据所述第一属性信息、所述第二属性信息以及所述服务属性信息,为所述待发送信息选择所述目标通信通道。The scheduling decision module selects the target communication channel for the information to be sent according to the first attribute information, the second attribute information and the service attribute information. 根据权利要求2所述的方法,其中,所述第一属性信息和所述第二属性信息均包括通信属性信息,所述通信属性信息为用于描述所述通信通道的通信属性的信息,通过所述调度决策模块根据所述第一属性信息、所述第二属性信息以及所述服务属性信息,为所述待发送信息选择所述目标通信通道的步骤包括:The method according to claim 2, wherein the first attribute information and the second attribute information both include communication attribute information, and the communication attribute information is information used to describe the communication attribute of the communication channel, and the step of selecting the target communication channel for the information to be sent according to the first attribute information, the second attribute information and the service attribute information by the scheduling decision module comprises: 通过所述调度决策模块根据所述第一属性信息的通信属性信息和所述第二属性信息的通信属性信息以及所述服务属性信息,为所述待发送信息选择所述目标通信通道。The scheduling decision module selects the target communication channel for the information to be sent according to the communication attribute information of the first attribute information, the communication attribute information of the second attribute information, and the service attribute information. 根据权利要求2所述的方法,其中,所述非故障通信站点还包括网关,所述方法还包括:The method according to claim 2, wherein the non-faulty communication site further comprises a gateway, and the method further comprises: 通过所述网关与所述目标通信通道建立通信连接后,通过所述网关将所述待发送信息发送至所述目标通信通道,以将所述待发送信息由所述目标通信通道提供给所述待发送信息的接收方。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 by the target communication channel to the recipient of the information to be sent. 根据权利要求4所述的方法,其中,所述第一属性信息和所述第二属性信息还包括连接属性信息,所述连接属性信息为用于描述连接所述通信通道所需的连接属性的信息,将所述第二属性信息从所述故障通信站点同步至所述调度决策模块时,所述方法还包括: The method according to claim 4, wherein the first attribute information and the second attribute information further include connection attribute information, the connection attribute information being information for describing connection attributes required to connect the communication channel, and when synchronizing the second attribute information from the faulty communication site to the scheduling decision module, the method further includes: 将所述第二属性信息从所述故障通信站点同步至所述网关,以使所述网关获得包含有所述第一属性信息和所述第二属性信息的所述通道属性信息;Synchronizing the second attribute information from the faulty communication site to the gateway, so that the gateway obtains the channel attribute information including the first attribute information and the second attribute information; 通过所述网关与所述目标通信通道建立通信连接的步骤包括:The step of establishing a communication connection with the target communication channel through the gateway comprises: 通过所述网关根据所述目标通信通道对应的所述第一属性信息的连接属性信息或所述第二属性信息的连接属性信息,与所述目标通信通道建立通信连接。A communication connection is established 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. 根据权利要求4所述的方法,其中,所述方法还包括:The method according to claim 4, wherein the method further comprises: 响应于所述故障通信站点的通信故障已解除的信息,断开所述网关与所述目标通信通道之间的通信连接。In response to the information that the communication failure of the failed communication site has been resolved, the communication connection between the gateway and the target communication channel is disconnected. 根据权利要求1所述的方法,其中,通过预先确定的非故障通信站点向所述故障通信站点的用户提供通信服务的步骤包括:The method according to claim 1, wherein the step of providing communication services to users of the faulty communication site through a predetermined non-faulty communication site comprises: 获取所述用户注册的域名,其中,所述域名为与用于标识所述故障通信站点的第一地址信息对应的域名;Acquire a domain name registered by the user, wherein the domain name is a domain name corresponding to the first address information used to identify the faulty communication site; 将所述域名对应的所述第一地址信息更改为用于标识所述非故障通信站点的第二地址信息,以使所述用户基于所述域名访问所述非故障通信站点提供的通信服务。The first address information corresponding to the domain name is changed into second address information for identifying the non-faulty communication site, so that the user can access the communication service provided by the non-faulty communication site based on the domain name. 一种通信方法,所述方法应用于未发生通信故障的非故障通信站点,所述方法包括:A communication method, the method being applied to a non-fault communication site where no communication failure has occurred, the method comprising: 响应于为故障通信站点的用户提供通信服务的访问消息,根据通道属性信息和预先获取的所述用户的服务属性信息,为所述用户的待发送信息选择目标通信通道,以将所述待发送信息由所述目标通信通道提供给所述待发送信息的接收方,其中,所述通道属性信息包括所述非故障通信站点具有的通信通道的第一属性信息,以及所述非故障通信站点预先获取的所述故障通信站点具有的通信通道的第二属性信息。In response to an access message for providing communication services to a user of a faulty communication site, a target communication channel is selected for the user's information to be sent based on channel attribute information and pre-acquired service attribute information of the user, so that the information to be sent is provided by the target communication channel to a recipient of the information to be sent, wherein 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 that is pre-acquired by the non-faulty communication site. 根据权利要求8所述的方法,其中,所述非故障通信站点包括接入层和调度决策模块,根据通道属性信息和预先获取的所述用户的服务属性信息,为所述用户的待发送信息选择目标通信通道之前,所述方法包括:The method according to claim 8, wherein the non-faulty communication site includes an access layer and a scheduling decision module, and before selecting a target communication channel for the user's to-be-sent information according to the channel attribute information and the pre-acquired service attribute information of the user, the method includes: 通过所述接入层获取所述服务属性信息,并通过所述接入层将所述服务属性信息发送至所述调度决策模块;Acquire the service attribute information through the access layer, and send the service attribute information to the scheduling decision module through the access layer; 通过所述调度决策模块获取所述第二属性信息,以使所述调度决策模块获得包含有所述第一属性信息和所述第二属性信息的所述通道属性信息;Acquiring the second attribute information through the scheduling decision module, so that the scheduling decision module obtains the channel attribute information including the first attribute information and the second attribute information; 则,根据通道属性信息和预先获取的所述用户的服务属性信息,为所述用户的待发送信息选择目标通信通道的步骤包括:Then, the step of selecting a target communication channel for the information to be sent by the user according to the channel attribute information and the pre-acquired service attribute information of the user includes: 通过所述调度决策模块根据所述第一属性信息、所述第二属性信息以及所述服务属性信息,为所述待发送信息选择所述目标通信通道。The scheduling decision module selects the target communication channel for the information to be sent according to the first attribute information, the second attribute information and the service attribute information. 根据权利要求9所述的方法,其中,所述第一属性信息和所述第二属性信息均包括通信属性信息,所述通信属性信息为用于描述所述通信通道的通信属性的信息,通过所述调度决策模块根据所述第一属性信息、所述第二属性信息以及所述服务属性信息,为所 述待发送信息选择所述目标通信通道的步骤包括:The method according to claim 9, wherein the first attribute information and the second attribute information both include communication attribute information, and the communication attribute information is information used to describe the communication attributes of the communication channel, and the scheduling decision module is used to determine the communication attribute of the communication channel according to the first attribute information, the second attribute information and the service attribute information. The step of selecting the target communication channel for the information to be sent comprises: 通过所述调度决策模块根据所述第一属性信息的通信属性信息和所述第二属性信息的通信属性信息以及所述服务属性信息,为所述待发送信息选择所述目标通信通道。The scheduling decision module selects the target communication channel for the information to be sent according to 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 9, wherein the non-faulty communication site further comprises a gateway, and the method further comprises: 通过所述网关与所述目标通信通道建立通信连接后,通过所述网关将所述待发送信息发送至所述目标通信通道,以将所述待发送信息由所述目标通信通道提供给所述待发送信息的接收方。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 by the target communication channel to the recipient of the information to be sent. 根据权利要求11所述的方法,其中,所述第一属性信息和所述第二属性信息还包括连接属性信息,所述连接属性信息为用于描述连接所述通信通道所需的连接属性的信息,将所述第二属性信息从所述故障通信站点同步至所述调度决策模块时,所述方法还包括:The method according to claim 11, wherein the first attribute information and the second attribute information further include connection attribute information, the connection attribute information being information used to describe connection attributes required to connect the communication channel, and when synchronizing the second attribute information from the faulty communication site to the scheduling decision module, the method further includes: 将所述第二属性信息从所述故障通信站点同步至所述网关,以使所述网关获得包含有所述第一属性信息和所述第二属性信息的所述通道属性信息;Synchronize the second attribute information from the faulty communication site to the gateway, so that the gateway obtains the channel attribute information including the first attribute information and the second attribute information; 通过所述网关与所述目标通信通道建立通信连接的步骤包括:The step of establishing a communication connection with the target communication channel through the gateway comprises: 通过所述网关根据所述目标通信通道对应的所述第一属性信息的连接属性信息或所述第二属性信息的连接属性信息,与所述目标通信通道建立通信连接。A communication connection is established 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. 根据权利要求11所述的方法,其中,所述方法还包括:The method according to claim 11, wherein the method further comprises: 响应于所述故障通信站点的通信故障已解除的信息,断开所述网关与所述目标通信通道之间的通信连接。In response to the information that the communication failure of the failed communication site has been resolved, the communication connection between the gateway and the target communication channel is disconnected. 一种通信站点,所述通信站点用于执行权利要求8至13任一所述的通信方法。 A communication site, wherein the communication site is used to execute the communication method described in any one of claims 8 to 13.
PCT/CN2024/083792 2023-05-17 2024-03-26 Communication method and related device Pending WO2024234839A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310571341.3A CN116567680A (en) 2023-05-17 2023-05-17 Communication method and related equipment
CN202310571341.3 2023-05-17

Publications (1)

Publication Number Publication Date
WO2024234839A1 true WO2024234839A1 (en) 2024-11-21

Family

ID=87501600

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/083792 Pending WO2024234839A1 (en) 2023-05-17 2024-03-26 Communication method and related device

Country Status (2)

Country Link
CN (1) CN116567680A (en)
WO (1) WO2024234839A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119545393A (en) * 2025-01-20 2025-02-28 辛巴网络科技(南京)有限公司 Big data analysis method and platform for the success rate of SMS sending in multi-regional Internet of Vehicles

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116567680A (en) * 2023-05-17 2023-08-08 阿里云计算有限公司 Communication method and related equipment
CN118433760B (en) * 2024-07-03 2024-09-03 云南中广核能源服务有限公司 Broadband radio self-adaptive communication management system and method for wind farm

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181631A (en) * 2017-07-26 2017-09-19 郑州云海信息技术有限公司 A kind of Samba clusters interior joint failure switching method and system
CN107566475A (en) * 2017-08-28 2018-01-09 北京天元创新科技有限公司 A kind of session failure transfer method and device
CN110336742A (en) * 2019-06-20 2019-10-15 网联清算有限公司 Method for sending information, device, computer equipment and storage medium
CN114124964A (en) * 2022-01-24 2022-03-01 阿里云计算有限公司 Communication system, channel scheduling method, device and storage medium
CN115866538A (en) * 2022-11-29 2023-03-28 中国联合网络通信集团有限公司 Short message processing method, device, system and storage medium
CN116567680A (en) * 2023-05-17 2023-08-08 阿里云计算有限公司 Communication method and related equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112003782B (en) * 2020-09-02 2022-05-24 新华三信息安全技术有限公司 Fault processing method, device, network equipment and machine readable storage medium
CN115511486B (en) * 2021-06-07 2025-08-05 腾讯科技(深圳)有限公司 Transaction processing method, device, medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181631A (en) * 2017-07-26 2017-09-19 郑州云海信息技术有限公司 A kind of Samba clusters interior joint failure switching method and system
CN107566475A (en) * 2017-08-28 2018-01-09 北京天元创新科技有限公司 A kind of session failure transfer method and device
CN110336742A (en) * 2019-06-20 2019-10-15 网联清算有限公司 Method for sending information, device, computer equipment and storage medium
CN114124964A (en) * 2022-01-24 2022-03-01 阿里云计算有限公司 Communication system, channel scheduling method, device and storage medium
CN115866538A (en) * 2022-11-29 2023-03-28 中国联合网络通信集团有限公司 Short message processing method, device, system and storage medium
CN116567680A (en) * 2023-05-17 2023-08-08 阿里云计算有限公司 Communication method and related equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119545393A (en) * 2025-01-20 2025-02-28 辛巴网络科技(南京)有限公司 Big data analysis method and platform for the success rate of SMS sending in multi-regional Internet of Vehicles

Also Published As

Publication number Publication date
CN116567680A (en) 2023-08-08

Similar Documents

Publication Publication Date Title
WO2024234839A1 (en) Communication method and related device
EP2426827B1 (en) Method and network system for implementing user port orientation in multi-machine backup scenario of broadband remote access server
CN107919971B (en) Method, apparatus and system for audio/video communication connection disaster tolerance
CN110912835A (en) Service distribution method, device and system
CN102104532B (en) Fault switching method and system and hub provider edge (Hub PE) router
CN109379450B (en) Network interface interaction management method and device, computer equipment and storage medium
WO2017067345A1 (en) Iptv disaster recovery method, apparatus, system, and set-top box
CN113014847B (en) Method and system for realizing audio and video communication based on hybrid cloud architecture
US20190124407A1 (en) Virtual Cable Modem Termination System Redundancy
CN105847264A (en) Method and system of providing streaming media service
CN102420868A (en) Service providing method, device and system
CN106936683B (en) A kind of method and device for realizing tunnel configuration
US20120240225A1 (en) Verification apparatus and verification method
CN102142981B (en) Method and system for processing terminal disconnection and broadband remote access server
CN107864058A (en) Fault judgment method and device
CN113794773B (en) Edge node scheduling method and device, storage medium and electronic equipment
CN103200148A (en) Method, device and system of registration of internet protocol (IP) private branch exchange (PBX)
JP2017017539A (en) Method and program for setting virtual network, and relay device
CN106992905A (en) Long-distance service method and system after network link failure
CN115550321B (en) Communication open system with hierarchical decoupling and fusion opening
CN115051970B (en) Method and device for controlling user to be online, forwarding plane network element and medium
CN105847138A (en) Business processing method and device
CN112969048B (en) Video conference management and control method, system and device based on video networking
CN114979034A (en) Data packet forwarding system, method, device and storage medium
EP2645661A1 (en) Data service processing method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24806199

Country of ref document: EP

Kind code of ref document: A1