CN114827071B - Cross-service area message interaction method and device based on information catalogue, electronic equipment and storage medium - Google Patents

Cross-service area message interaction method and device based on information catalogue, electronic equipment and storage medium Download PDF

Info

Publication number
CN114827071B
CN114827071B CN202210322977.XA CN202210322977A CN114827071B CN 114827071 B CN114827071 B CN 114827071B CN 202210322977 A CN202210322977 A CN 202210322977A CN 114827071 B CN114827071 B CN 114827071B
Authority
CN
China
Prior art keywords
message
service
subscription
region
cross
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210322977.XA
Other languages
Chinese (zh)
Other versions
CN114827071A (en
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.)
Research Institute of War of PLA Academy of Military Science
Original Assignee
Research Institute of War of PLA Academy of Military Science
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 Research Institute of War of PLA Academy of Military Science filed Critical Research Institute of War of PLA Academy of Military Science
Priority to CN202210322977.XA priority Critical patent/CN114827071B/en
Publication of CN114827071A publication Critical patent/CN114827071A/en
Application granted granted Critical
Publication of CN114827071B publication Critical patent/CN114827071B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits

Abstract

The embodiment of the disclosure provides a cross-service area message interaction method based on an information directory. The method comprises the following steps: the business service subscribing the business region carries out cross-region message subscription to the business service publishing the business region through the message cross-region service subscribing the business region; and the business service of the release business region performs cross-region message release to the business service of the subscription business region through the message cross-region service of the release business region. In this way, the information between different areas can be published and subscribed as required under the cross-service area environment, and the efficiency and the safety of the cross-service area information interaction can be improved.

Description

Cross-service area message interaction method and device based on information catalogue, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of communication, in particular to a cross-service area message interaction method based on an information directory.
Background
Under the scene that the security requirement is higher, the different service areas are communicated through the inter-area channels, and the inter-area gateway only opens a very limited number of ports to the outside, so that the communication flow between the different service areas can be conveniently checked, and effective long links cannot be established between the different areas under the condition. And for outdoor maneuvers a limited number of motorized vehicles make up a service area that is connected to a fixed service center (also a service area) through a wireless network, while jitter, delay, etc. of the wireless network are intolerable and manageable for the business service.
At present, the conventional service message clusters on the Internet basically do not exist in the cross-service area condition, and one set of message clusters is often only used in a certain service scene; and the conventional service on the internet basically has no condition that long links can not be established between gateways. Therefore, in the case that the requirements on the security of information transfer between the cross-service areas are high, and the network between the cross-service areas cannot establish an effective long link, especially in the case that the outdoor mobile operation network is poor, it is not practical to directly access other regional message service clusters through the message client in the region to obtain the required message (the message client directly accesses the message clusters generally needs to maintain the long link). Therefore, how to improve the efficiency of message interaction across service areas under the above conditions is a current urgent problem to be solved.
Disclosure of Invention
The present disclosure provides a method, an apparatus, a device, and a storage medium for cross-service area message interaction based on an information directory, which can improve the efficiency and safety of cross-service area message interaction.
In a first aspect, an embodiment of the present disclosure provides a method for interaction of a cross-service area message based on an information directory, where the method includes:
The business service subscribing the business region carries out cross-region message subscription to the business service publishing the business region through the message cross-region service subscribing the business region; wherein,
the business service subscribing to the business region sends a first cross-region message subscription request to the message cross-region service subscribing to the business region;
the message cross-regional service subscribing the service region adds a subscription record in a subscription list of an information catalog of the subscribing service region according to the first cross-regional message subscription request, and sends a second cross-regional message subscription request to the message cross-regional service publishing the service region;
the message cross-regional service of the release service region adds a release record in a release list of an information catalog of the release service region according to the second cross-regional message subscription request, and sends a third cross-regional message subscription request to a message service end of the release service region;
the business service of the release business region performs cross-region message release to the business service of the subscription business region through the message cross-region service of the release business region; wherein,
the business service of the release business region sends a message to the message cross-region service of the release business region through the message service end of the release business region;
Inquiring a release list of the release service area by the message cross-regional service of the release service area, and sending a message to the message cross-regional service of the subscription service area according to the domain name of the subscription service area in the release record obtained by inquiry;
the message cross-regional service of the subscription service region inquires a subscription list of an information catalog of the subscription service region, adjusts the message subject name of the message according to the subscription record obtained by inquiry, and sends the message to a message server of the subscription service region;
and the message service end subscribing the service area sends a message to the corresponding service.
In some implementations of the first aspect, the message cross-regional service subscribing to the service region sends a second cross-regional message subscription request to the message cross-regional service publishing the service region, including:
if the message cross-regional service of the subscription service region inquires the subscription record of which the message subject names and the domain names of the publishing service regions are consistent with the message subject names and the publishing service region names in the newly added subscription record in the subscription list of the subscription service region, the cross-regional message subscription is completed;
and if the message cross-regional service of the subscription service region does not inquire the subscription record of which the message subject name, the domain name of the publishing service region, the message subject name and the publishing service region name are consistent with those in the newly added subscription record in the subscription list of the subscription service region, sending a second cross-regional message subscription request to the message cross-regional service of the publishing service region.
In some implementations of the first aspect, the sending, by the message cross-regional service of the publishing service area, a third cross-regional message subscription request to a message server of the publishing service area includes:
if the message cross-regional service of the release service region inquires a release record with the message subject name consistent with the message subject name in the newly added release record in the release list of the release service region, the cross-regional message subscription is completed;
and if the message cross-regional service of the release service region does not inquire a release record with the message subject name consistent with the message subject name in the newly added release record in the release list of the release service region, sending a third cross-regional message subscription request to the message service terminal of the release service region.
In some implementations of the first aspect, the sending, by the message cross-regional service of the publish service area, a message to the message cross-regional service of the subscribe service area according to the subscribed service area domain name in the queried publish record includes:
if the message cross-regional service address corresponding to the subscription service region name is queried in the message cross-regional service address list of other regions in the information catalog of the release service region, the message cross-regional service of the release service region sends a message to the message cross-regional service of the subscription service region according to the queried message cross-regional service address;
And if the message cross-regional service address corresponding to the domain name of the subscription service area is not queried in the message cross-regional service address list of other areas in the information catalogue of the release service area, acquiring the message cross-regional service address of the subscription service area from the whole-area information catalogue according to the domain name of the subscription service area, and sending the message to the message cross-regional service of the subscription service area according to the acquired message cross-regional service address.
In some implementations of the first aspect, the message cross-regional service of the subscription service area adjusts a message header name of a message according to a subscription record obtained by the query, and sends the message to a message server of the subscription service area, including:
if the original publishing service area name in the obtained subscription record is a null value, the message cross-regional service of the subscribing service area splices the domain name of the publishing service area with the message subject name of the message, takes the spliced subject name as the message subject name of the message, and sends information to the message service end of the subscribing service area;
if the original publishing service area domain name in the obtained subscription record is not null, the message cross-regional service of the subscription service area splices the original publishing service area domain name with the message subject name of the message, takes the spliced subject name as the message subject name of the message, and sends the message to the message service end of the subscription service area.
In some implementations of the first aspect, the method further includes:
the business service subscribing the business region carries out cross-region message unsubscribing to the business service publishing the business region through the message cross-region service subscribing the business region; wherein,
the business service subscribing to the business region sends a first cross-region message unsubscribing request to the message cross-region service subscribing to the business region;
if the message cross-regional service of the subscription service region inquires the subscription record of which the service client number, the message subject name and the domain name of the publishing service region are consistent with the service client number, the message subject name and the publishing service region name in the first cross-regional message unsubscribe request in the subscription list of the subscription service region, deleting the inquired subscription record; if the subscription records with the same message subject names and the same publishing service area names as those in the first cross-area message subscription cancellation request are queried in the subscription list after the queried subscription records are deleted, finishing cross-area message subscription cancellation; if the subscription list after deleting the queried subscription records does not query the subscription records of which the message subject names and the domain names of the publishing service areas are consistent with the message subject names and the publishing service area names in the first cross-area message subscription cancellation request, sending a second cross-area message subscription cancellation request to the message cross-area service of the publishing service area;
Deleting the release records of which the message subject names and the subscription service area domain names are consistent with the message subject names and the subscription service area names in the release list of the release service area and the second cross-area message unsubscribe request by the message cross-area service of the release service area, and completing cross-area message unsubscribe if the release records of which the message subject names are consistent with the message subject names in the second cross-area message unsubscribe request are queried in the release list after the queried release records are deleted; if the queried release record is not queried in the release list after deleting the queried release record, sending a third cross-region message unsubscribe request to a message service end of a release service region, wherein the message subject name of the third cross-region message unsubscribe request is consistent with the message subject name in the second cross-region message unsubscribe request;
and if the message cross-regional service of the subscription service region inquires the subscription records of the service client number, the message subject name, the original publishing service region domain name, the service client number, the message subject name and the publishing service region name in the first cross-region message unsubscribing request are consistent in the subscription list of the subscription service region, deleting the inquired subscription records, and executing a message unsubscribing process corresponding to the inquired subscription records.
In some implementations of the first aspect, the method further includes:
according to the content of the name of the publishing service area input by the user to the subscription record in the subscription list of the subscribing service area, updating the content of the domain name of the original publishing service area in the subscription record to the content of the domain name of the publishing service area in the subscription record, and updating the content of the domain name of the publishing service area in the subscription record to the content of the name of the input publishing service area;
if the message cross-regional service of the subscription service region inquires the subscription record of which the message subject names and the domain names of the publishing service regions are consistent with the updated message subject names and the original publishing service region names in the subscription list of the subscription service region, the cross-regional message unsubscribing is completed;
if the message cross-regional service of the subscription service region does not inquire the subscription record of which the message subject name and the domain name of the publishing service region are consistent with the message subject name and the original publishing service region name of the updated subscription record in the subscription list of the subscription service region, canceling to subscribe to the message corresponding to the message subject name in the updated subscription record in the updated original publishing service region;
if the message cross-regional service of the subscription service region inquires the subscription record of which the message subject names and the domain names of the publishing service regions are consistent with the updated message subject names and the updated publishing service region names in the subscription list of the subscription service region, the cross-regional message subscription is completed;
And if the message cross-regional service of the subscription service region does not inquire the subscription record of which the message subject names and the domain names of the publishing service regions are consistent with the message subject names and the publishing service region names of the updated subscription record in the subscription list of the subscription service region, subscribing the message corresponding to the message subject names in the updated subscription record in the updated publishing service region.
In a second aspect, an embodiment of the present disclosure provides a cross-service area message interaction device based on an information directory, where the device includes:
the subscription module is used for subscribing the business services of the business region and carrying out cross-region message subscription on the business services of the publishing business region through the message cross-region services of the subscription business region; wherein,
the business service subscribing to the business region sends a first cross-region message subscription request to the message cross-region service subscribing to the business region;
the message cross-regional service subscribing the service region adds a subscription record in a subscription list of an information catalog of the subscribing service region according to the first cross-regional message subscription request, and sends a second cross-regional message subscription request to the message cross-regional service publishing the service region;
the message cross-regional service of the release service region adds a release record in a release list of an information catalog of the release service region according to the second cross-regional message subscription request, and sends a third cross-regional message subscription request to a message service end of the release service region;
The publishing module is used for publishing the cross-regional information to the business service of the subscription business region through the information cross-regional service of the publishing business region; wherein,
the business service of the release business region sends a message to the message cross-region service of the release business region through the message service end of the release business region;
inquiring a release list of the release service area by the message cross-regional service of the release service area, and sending a message to the message cross-regional service of the subscription service area according to the domain name of the subscription service area in the release record obtained by inquiry;
inquiring a subscription list of an information catalog of the subscription service area by the message cross-regional service of the subscription service area, adjusting the message subject name of the message according to the subscription record obtained by inquiring, and sending the message to a message server of the subscription service area;
and the message service end subscribing the service area sends the message to the corresponding service.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
In a fourth aspect, the disclosed embodiments provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform a method as described above.
In a fifth aspect, the disclosed embodiments provide a computer program product comprising a computer program which, when executed by a processor, implements a method as described above.
In the method, the device and the system, under a cross-service area environment, the information between different areas can be published and subscribed as required based on the information cross-area service in each area, so that the information interaction efficiency and the safety of the cross-service area are improved.
It should be understood that what is described in this summary is not intended to limit the critical or essential features of the embodiments of the disclosure nor to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. For a better understanding of the present disclosure, and without limiting the disclosure thereto, the same or similar reference numerals denote the same or similar elements, wherein:
FIG. 1 illustrates a schematic diagram of an exemplary operating environment in which embodiments of the present disclosure can be implemented;
FIG. 2 illustrates a flow chart of a method of cross-business area message interaction based on an information directory provided by an embodiment of the present disclosure;
fig. 3 illustrates a schematic diagram of a cross-service area message interaction scenario based on an information directory according to an embodiment of the present disclosure;
FIG. 4 is a block diagram of a cross-service area message interaction device based on an information directory according to an embodiment of the present disclosure;
fig. 5 illustrates a block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments in this disclosure without inventive faculty, are intended to be within the scope of this disclosure.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
It can be understood that, in the present disclosure, the cross-service area is different from the cross-domain on the internet, the concept of the domain on the internet is that the service using the same protocol, IP address and port is the same domain, and in the present disclosure, the service area refers to a service system that is independent and is a system, that is, the service area is a large software system that is formed by combining various service systems in a unit and sub-unit service systems together, the internal networks of the areas are directly interconnected, the internal service services can be directly accessed to each other (under the condition of having access authority), the networks of different service areas are not directly interconnected, and in addition, the protocols, IP addresses and ports used by the services in the areas can be different.
Aiming at the problems in the background art, the embodiment of the disclosure provides a method, a device, equipment and a storage medium for cross-service area message interaction based on an information directory. Specifically, the business service subscribed to the business region carries out cross-region message subscription to the business service published to the business region through the message cross-region service subscribed to the business region; and the business service of the release business region performs cross-region message release to the business service of the subscription business region through the message cross-region service of the release business region. In this way, under the cross-service area environment, the information between different areas can be published and subscribed as required based on the information cross-area service in each area, and the information interaction efficiency and the safety of the cross-service area are improved.
The method, the device, the equipment and the storage medium for cross-service area message interaction based on the information catalog provided by the embodiment of the disclosure are described in detail below by means of specific embodiments with reference to the accompanying drawings.
FIG. 1 illustrates a schematic diagram of an exemplary operating environment in which embodiments of the present disclosure can be implemented, as shown in FIG. 1, in which operating environment 100 may include subscription service areas and publication service areas, which may include business services, message servers, message trans-regional services, information directories, trans-regional gateways, and the like.
As one example, a business service subscribing to a business region may conduct a cross-regional message subscription to a business service publishing the business region through a message cross-regional service subscribing to the business region.
Specifically, the business service subscribing to the business region may send a first cross-region message subscription request to a message cross-region service subscribing to the business region.
The message cross-regional service of the subscription service region adds a subscription record in a subscription list of an information catalog of the subscription service region according to the first cross-regional message subscription request, and sends a second cross-regional message subscription request to the message cross-regional service of the release service region, namely sends the second cross-regional message subscription request to the message cross-regional service of the release service region through the subscription service region and a cross-regional gateway of the release service region.
And the message cross-regional service of the release service region adds a release record in a release list of the information catalogue of the release service region according to the second cross-regional message subscription request, and sends a third cross-regional message subscription request to the message server of the release service region.
The business services of the publishing business region can perform cross-region message publishing to the business services of the subscribing business region through the message cross-region services of the publishing business region.
Specifically, the service of the publishing service area may send a message to a message server of the publishing service area;
and the message service end of the release service area sends the message to the message cross-region service of the release service area.
The message cross-regional service of the publishing service region inquires a publishing list of the publishing service region, and sends a message to the message cross-regional service of the subscribing service region according to the domain name of the subscribing service region in the publishing record obtained by inquiry, namely sends the message to the message cross-regional service of the subscribing service region through the cross-regional gateways of the publishing service region and the subscribing service region.
The message cross-regional service of the subscription service region inquires a subscription list of an information catalog of the subscription service region, adjusts the message subject name of the message according to the subscription record obtained by inquiry, and sends the message to a message server of the subscription service region;
And the message service end subscribing the service area sends a message to the corresponding service.
The method for cross-service area message interaction based on the information directory according to the embodiment of the present disclosure will be described in detail, wherein the method for message interaction may be applied to the operating environment 100 shown in fig. 1.
Fig. 2 shows a flowchart of a cross-service area message interaction method based on an information directory according to an embodiment of the disclosure, and as shown in fig. 2, the message interaction method 200 may include the following steps:
s210, subscribing the business services of the business region to perform cross-region message subscription to the business services of the publishing business region through the message cross-region services of the subscribing business region.
Specifically, the service subscribing to the service area sends a first cross-area message subscription request to a message cross-area service subscribing to the service area, where the first cross-area message subscription request may include: message subject name, post service area domain name, business service client number.
In some embodiments, the service subscribing to the service area may send a message subscription request including a message header name and a service client number to a message service end subscribing to the service area through an embedded message client, and record a subscription list of the message service end, where the message client may determine according to a form of the message header name, and if the message subscription request is in a form of domainname, topicName, i.e. a service area domain name+a message header name, the message subscription request is determined to be a request subscribing to other areas, and the message header name is changed to a form of TopicName, and then a first cross-area message subscription request is sent to a message cross-area service subscribing to the service area, where the message header name in the first cross-area message subscription request is the changed message header name, the service area name is a service area domain name in the original message header name, and the service client number is used to identify the service initiating the message subscription.
The message cross-regional service of the subscription service region receives a first cross-regional message subscription request, adds a subscription record in a subscription list of an information catalog of the subscription service region according to the first cross-regional message subscription request, and sends a second cross-regional message subscription request to the message cross-regional service of the release service region.
The subscription record may include a message header name, a domain name of the publishing service area, a domain name of the original publishing service area, and a number of a service client, where the content of the domain name of the original publishing service area is NULL, that is, a NULL value. For example: the subscription record may be in the form of [ TopicName, publishDomain, outdatedPublishDomain, clientID ], where TopicName represents the message header name, publishDomain represents the post service area domain name, outdedPublishDomain represents the original post service area domain name, and ClientID represents the business service client number. The second cross-zone message subscription request may include: message subject name, subscription service area domain name.
In some embodiments, if the message cross-regional service in the subscription service region queries the subscription record in which the message subject name, the domain name of the publishing service region is consistent with the message subject name and the publishing service region name in the newly added subscription record in the subscription list in the subscription service region, the operation can be stopped, and the cross-regional message subscription can be completed quickly.
If the message cross-regional service of the subscription service region does not inquire the subscription record of which the message subject name and the domain name of the publishing service region are consistent with the message subject name and the publishing service region name in the newly added subscription record in the subscription list of the subscription service region, the message cross-regional service of the subscription service region can send a second cross-regional message subscription request to the message cross-regional service of the publishing service region.
For example: the message cross-regional service of the subscription service region inquires whether a subscription list of the region has a message subject name, a publishing service region domain name and a newly added subscription record with the same message subject name and publishing service region name, and if so, a value of 2 is returned; otherwise, inquiring whether the other area information cross-regional service address list in the information catalog of the area has the information cross-regional service address corresponding to the domain name of the release service area, if not, returning a value of 0 and the whole area information catalog address in the information catalog of the area, otherwise, returning a value of 1 and the information cross-regional service address corresponding to the domain name of the release service area. The method comprises the steps that a whole-area information directory is deployed by means of a certain service area, an operator establishes an external mapping address of an intra-area message cross-area service on each inter-area gateway of the service areas, registers the address to the whole-area information directory, establishes an external mapping address of the whole-area information directory on the inter-area gateway where the whole-area information directory is located, and establishes mapping from an internal address of the inter-area gateway to the external mapping address of the whole-area information directory on each inter-area gateway; and registering the mapping addresses inside the regional cross-regional gateways in the information catalogues of the regions, wherein the information catalogue addresses of the regions where the whole region information catalogues are located are registered with the internal addresses of the regions where the whole region information catalogues are located.
If the message cross-regional service subscribed to the service region receives the return value of 2, the fact that other service services in the region have subscribed to the same publishing service region and the same message subject name is indicated, and the next operation is not performed.
If the message cross-regional service of the subscription service region receives the message cross-regional service address with the return value of 1 and corresponding to the domain name of the release service region, the message cross-regional service address list of other region messages of the region stores the message cross-regional service address of the release service region, but the region does not have the same subscription record, and a second cross-regional message subscription request is sent to the message cross-regional service of the release service region according to the message cross-regional service address of the release service region.
If the message cross-regional service of the subscribed service region receives the return value of 0 and the whole-region information directory address, the message cross-regional service of the subscribed service region indicates that the region does not initiate any access request to the published service region, so that the message cross-regional service address of the published service region is not stored, the message cross-regional service of the region splices the Domain name of the published service region (Domain 2 is set as the region name of the published service region) and the message cross-regional service name of the Msg as the published service region (Domain 2. Msg), then the message cross-regional service of the region initiates access to the whole-region information directory with the message cross-regional service name of the published service region, and further after the message cross-regional service of the published region is acquired from the whole-region information directory and the message cross-regional service of the published region is mapped to the address IP1, namely the message cross-regional service address of the published service region outside the cross-regional gateway, an address mapping channel establishment request for the regional trans-regional gateway is initiated, mapping from the inter-regional gateway internal address IP2 of the subscription service region to the trans-regional service address IP1 of the message of the release service region is established, an address record is newly added in the trans-regional service address list of other regions of the region, wherein the ServiceName writing Domain2.Msg, innerAddress is IP2, the OuterAddress is IP1, as known, the ServiceName represents a service name, innerAdddress represents the inter-regional gateway internal address of the region, namely the inter-regional gateway of the region is mapped to the internal address of a certain service, and OuterAddress represents the external address of other regional trans-regional gateways, namely the external address of the regional trans-regional gateway of the region. And further, a second cross-regional message subscription request can be sent to the message cross-regional service of the release service region according to the message cross-regional service address of the release service region.
The message cross-regional service of the release service region receives a second cross-regional message subscription request, adds a release record in a release list of an information catalog of the release service region according to the second cross-regional message subscription request, and sends a third cross-regional message subscription request to a message service terminal of the release service region.
Wherein the publishing record includes a message subject name and a subscription service area domain name. For example: the publication record may be in the form of [ TopicName, subscribeDomain ], where TopicName represents the message subject name and subsribedomain represents the subscription service area domain name. The third cross-zone message subscription request may include: message subject name.
In some embodiments, if the message cross-regional service in the release service region queries a release record with a message subject name consistent with the message subject name in the newly added release record in the release list in the release service region, the operation can be stopped, and the cross-regional message subscription can be completed quickly.
If the message cross-regional service of the release service region does not query a release record with the message subject name consistent with the message subject name in the newly added release record in the release list of the release service region, a third cross-regional message subscription request can be sent to the message service terminal of the release service region.
For example: the message cross-regional service of the release service region inquires whether a release record with the message subject name consistent with the message subject name in the newly added release record exists in the release list of the region, if so, the value of 1 is returned, and if not, the value of 0 is returned.
If the message cross-regional service of the publishing service region receives a return value of 1, the message cross-regional service of the region can not perform the next operation if the message cross-regional service of the region has received subscription requests of other service regions to the same message subject.
If the message cross-regional service of the publishing service region receives a return value of 0, the message cross-regional service of the region does not receive subscription requests of other service regions for the same message theme before the message cross-regional service of the region, and a third cross-regional message subscription request is sent to a message service end of the region to subscribe the message corresponding to the message theme.
S220, the business service of the release business region performs cross-region message release to the business service of the subscription business region through the message cross-region service of the release business region.
Specifically, the service of the release service area sends a message to the message cross-area service of the release service area through the message service end of the release service area.
The message cross-regional service of the release service region receives the message, queries the release list of the release service region, and sends the message to the message cross-regional service of the subscription service region according to the domain name of the subscription service region in the release record obtained by query.
In some embodiments, if the message cross-regional service address corresponding to the subscription service area name is queried in the message cross-regional service address list of other areas in the information directory of the publishing service area, the message cross-regional service of the publishing service area is quickly sent to the message cross-regional service of the subscription service area according to the queried message cross-regional service address.
And if the message cross-regional service address corresponding to the domain name of the subscription service area is not queried in the message cross-regional service address list of other areas in the information catalogue of the release service area, acquiring the message cross-regional service address of the subscription service area from the whole-area information catalogue according to the domain name of the subscription service area, and rapidly sending the message to the message cross-regional service of the subscription service area according to the acquired message cross-regional service address.
For example: the message cross-regional service of the publishing service region carries a message subject name to inquire a publishing list of the region, acquire a subscription service region domain name, inquire whether a message cross-regional service address corresponding to the subscription service region domain name exists in a message cross-regional service address list of other regions of the region, and if so, return [ "subscription service region domain name", "1", message cross-regional service address of the subscription service region ]; otherwise, return [ "subscribe to service area domain name", "0", full area information directory address ].
If the return value received by the message cross-regional service of the publishing service region is [ "subscribed service region domain name", "0", and the whole-region information directory address ], the message cross-regional service address of the subscribed service region is obtained from the whole-region information directory according to the subscribed service region domain name, and the specific steps are similar to those of the example in S210, and are not repeated here.
The message cross-regional service of the subscription service region inquires a subscription list of an information catalog of the subscription service region, adjusts the message subject name of the message according to the subscription record obtained by inquiry, and sends the message to a message server of the subscription service region.
The message service end subscribed to the service area sends a message to the corresponding service, for example, pushes a message to the client of the corresponding service according to the subscription list of the message service end.
In some embodiments, if the original publishing service area name in the obtained subscription record is a null value, the message cross-regional service of the subscription service area splices the domain name of the publishing service area with the message subject name of the message, takes the spliced subject name as the message subject name of the message, and sends the message to the message service end of the subscription service area;
If the original publishing service area domain name in the obtained subscription record is not null, the message cross-regional service of the subscription service area splices the original publishing service area domain name with the message subject name of the message, takes the spliced subject name as the message subject name of the message, and sends the message to the message service end of the subscription service area.
For example, subscribing to business service 1 in business region Domain2 subscribes to message Domain2.TopicName, business service 2 subscribes to message Domain3.TopicName in business region Domain3, and subsequent business service 2 changes the release business region of TopicName to Domain2, so that message TopicName returned by Domain2 needs to be given to business service 1 as well as business service 2; because the theme name can not be changed in the program running process, the message TopicName returned by Domain2 needs to be issued to the message service end by taking the theme names of Domain2.TopicName and Domain3.TopicName at the same time, so that the service 1 and the service 2 can be conveniently received at the same time, and the flexibility of message subscription under the cross-regional environment is improved.
According to the embodiment of the disclosure, under the cross-service area environment, the information between different areas can be published and subscribed as required based on the information cross-area service in each area, so that the information interaction efficiency and the safety of the cross-service area are improved. Meanwhile, if a plurality of business services in a certain area need the same information of other areas, the other areas only need to transmit the information once to the area, and the plurality of identical information are not required to be transmitted, so that the bandwidth under the condition of outdoor maneuvering operation can be effectively saved.
In some embodiments, the business services subscribed to the business region may cross-region message unsubscribe from the business services publishing the business region through the message cross-region services subscribed to the business region.
Specifically, the service subscribing to the service region may send a first cross-region message unsubscribe request to the message cross-region service subscribing to the service region. Wherein the first cross-domain message unsubscribe request includes: message subject name, post service area domain name, business service client number.
The message cross-regional service of the subscription service region receives a first cross-regional message unsubscribe request, and if a subscription record of which the service client number, the message subject name, the domain name of the release service region are consistent with the service client number, the message subject name and the release service region name in the first cross-regional message unsubscribe request is queried in a subscription list of the subscription service region, the queried subscription record is deleted. If the subscription records, of which the message subject names and the domain names of the publishing service areas are consistent with the message subject names and the publishing service area names in the first cross-area message unsubscribing request, are found in the subscription list after the queried subscription records are deleted, cross-area message unsubscribing is completed. If the subscription list after deleting the queried subscription records does not query the subscription records of which the message subject names and the domain names of the publishing service areas are consistent with the message subject names and the publishing service area names in the first cross-area message subscription cancellation request, sending a second cross-area message subscription cancellation request to the message cross-area service of the publishing service area. Wherein the second cross-zone message unsubscribe request includes: message subject name, subscription service area domain name.
The message cross-regional service of the publishing service region receives a second cross-regional message unsubscribe request, and deletes the publishing records of which the message subject names and the subscription service region domain names are consistent with the message subject names and the subscription service region names in the second cross-regional message unsubscribe request in the publishing list of the publishing service region. And if the queried published records with the message subject names consistent with the message subject names in the second cross-regional message unsubscribe request are queried in the published list after deleting the queried published records, finishing cross-regional message unsubscribe. If the publishing record with the same message subject name as the message subject name in the second cross-regional message unsubscribe request is not queried in the publishing list after deleting the queried publishing record, a third cross-regional message unsubscribe request is sent to the message server side of the publishing service area. Wherein the third cross-zone message unsubscribe request includes: message subject name.
The message cross-regional service of the subscription service region receives a third cross-regional message unsubscribe request, if a subscription record that the service client number, the message subject name, the original publishing service region domain name are consistent with the service client number, the message subject name and the publishing service region name in the first cross-regional message unsubscribe request is queried in a subscription list of the subscription service region, the queried subscription record is deleted, a message unsubscribe flow corresponding to the queried subscription record is executed, and specific steps are similar to the message unsubscribe steps and are not repeated herein.
Therefore, the message subscription can be flexibly canceled, and the user experience is improved.
In some embodiments, according to the content of the publishing service area name input by the user to the subscription record in the subscription list of the subscription service area, the content of the original publishing service area domain name in the subscription record is updated to the content of the publishing service area domain name in the subscription record, and the content of the publishing service area domain name in the subscription record is updated to the input content of the publishing service area name.
For example: because of the adjustment of business or function, the TopicName message originally provided by the area Domain2 subscribed by the area Domain1 is provided by the area Domain3 instead, and then an operator changes the subscription record in the subscription list of the area Domain1, changes the original subscription record [ TopicName, domain2, NULL, clientID ] into [ TopicName, domain3, domain2, clientID ], and after the change is completed, the information catalog of the area Domain1 sends a message cross-regional service notifying the area Domain 1.
And if the message cross-regional service of the subscription service region inquires the subscription record of which the message subject name and the domain name of the publishing service region are consistent with the updated message subject name and the original publishing service region name in the subscription list of the subscription service region, stopping operation, and finishing cross-regional message unsubscribing.
And if the message cross-regional service of the subscription service area does not inquire the subscription record of which the message subject names and the domain names of the publishing service areas are consistent with the message subject names and the original publishing service area names of the updated subscription record in the subscription list of the subscription service area, canceling subscribing the message corresponding to the message subject names in the updated subscription record in the updated original publishing service area. It is known that the specific operation is similar to the above-mentioned unsubscribing operation, and will not be described herein.
And if the message cross-regional service of the subscription service region inquires the subscription record of which the message subject names and the domain names of the publishing service regions are consistent with the updated message subject names and the updated publishing service region names in the subscription list of the subscription service region, the cross-regional message subscription is completed.
And if the message cross-regional service of the subscription service region does not inquire the subscription record of which the message subject names and the domain names of the publishing service regions are consistent with the message subject names and the publishing service region names of the updated subscription record in the subscription list of the subscription service region, subscribing the message corresponding to the message subject names in the updated subscription record in the updated publishing service region. It is known that the specific operation is similar to the subscription operation described above, and will not be described herein.
Therefore, the message publishing area can be changed under the condition that the code is not modified, and the flexibility of message subscription in a cross-regional environment is improved.
The message interaction method provided by the present disclosure may be described in detail below with reference to fig. 3, which is specifically as follows:
as shown in fig. 3, the following four service areas are included: the fixed service area D1, the maneuvering service area D2, the maneuvering service area D3 and the fixed service area D4 are formed by relying on the area D4.
The following example is completed based on fig. 3:
example 1: the business service a of the area D1 subscribes to the message D4.Material of the area D4;
example 2: the business service E of the area D1 subscribes to the message D4.Material of the area D4;
example 3: the business service C of the area D3 subscribes to the message D4.Material of the area D4;
example 4: the business service D of the area D4 issues a message Material;
example 5: the business service a of the area D1 unsubscribes from the message D4.Material of the area D4;
example 6: the business service E of the area D1 unsubscribes from the message D4.Material of the area D4;
example 7: the business service C of the area D3 unsubscribes from the message D4.Material of the area D4;
example 8: business service a of zone D1 subscribes to message D2. Signalization of zone D2;
Example 9: the motoring service area function is adjusted, and the Sitution message originally provided by the area D2 is now provided by the area D3;
example 10: the business service C of the area D3 issues a message Sitution;
example 11: the business service a of the area D1 is unsubscribed from D2. Site.
First, a pre-operation is performed, specifically as follows:
and D1, D2, D3 and D4 service areas are opened, and the domain name and the cross-regional gateway external address of each area are shown in table 1.
TABLE 1
DomainName Address
D1 10.10.10.1:9001
D2 10.10.10.2:9001
D3 10.10.10.3:9001
D4 10.10.10.4:9001
The operator establishes external addresses of message cross-regional processing services in the respective regional areas on the cross-regional gateways corresponding to the areas D1, D2, D3 and D4, wherein the external addresses are respectively as follows:
region D1:10.10.1:9001/Msg- (21.21.21.3:8003);
region D2:10.10.2:9001/Msg- (22.22.22.3:8003);
region D3:10.10.10.3:9001/Msg- (23.23.23.3:8003);
region D4:10.10.4:9001/Msg- (24.24.24.3:8003).
The operator registers the above address in the whole area information directory as shown in table 2.
TABLE 2
ServiceName Address
D1Msg 10.10.10.1:9001/Msg
D2Msg 10.10.10.2:9001/Msg
D3Msg 10.10.10.3:9001/Msg
D4Msg 10.10.10.4:9001/Msg
And an operator establishes a full-area information directory external mapping address of 10.10.10.4:9001/glonnfoaddr- (24.24.24.5:8005) on the trans-regional gateway of the area D4.
The operator establishes address mapping to the whole-area information catalog 10.10.10.4:9001/glonnfoaddr on the cross-area gateways corresponding to the areas D1, D2 and D3, wherein the address mapping is respectively as follows:
Region D1:21.21.1:8001/glonnfoaddr- (10.10.10.4:9001/glonnfoaddr);
region D2:22.22.1:8001/glonnfoaddr- (10.10.10.4:9001/glonnfoaddr);
region D3:23.23.23.1:8001/glonfoadr- (10.10.10.4:9001/glonfoadd).
The operator registers the mapping address from the cross-regional gateway to the whole-region information catalog in the region on the information catalog of the region, and registers the address 24.24.24.5:8005 in the whole-region information catalog in the information catalog of the region D4; registration information on the area D1 is shown in table 2; the service name of the message cross-regional service addressing the full-regional information directory is fixed to GloInfoAddr.
In the message cross-regional service and the information directory of the present region, when the message cross-regional service of other regions is addressed, the message cross-regional service name is in the form of domainname+msg, for example, the service name of the message cross-regional service of the region D1 is "D1Msg".
Example 1: the business service a of the area D1 subscribes to the message D4.Material of the area D4, and is specifically implemented as follows:
the business service a of the area D1 initiates a subscription request for the message D4.Material through the embedded message client carrying the ClientID number ClientA.
The message client embedded in the business service A sends a subscription request of the message D4.Material to the message service end of the area D1 and the message cross-area service.
After the message cross-regional service of the region D1 receives the subscription request for the message D4.Material, the subscription request is written into the information directory of the region D1, as shown in table 3, the "Material" is written into the TopicName field of the subscription list, the "D4" is written into the publichdomain field, the "NULL" is written into the outpatient publichdomain field, and the "ClientA" is written into the ClientID field.
TABLE 3 Table 3
Figure SMS_1
After the information catalog of the area D1 receives the subscription request, inquiring whether subscription records with TopicName field of 'Material' and public Domain field of 'D4' exist in a subscription list of the information catalog, and if yes, returning to '2'; otherwise, inquiring whether the address information of the inter-regional service D4Msg of the information of the region D4 exists in the inter-regional service address list of other region information of the information directory, if not, returning to the '0' and the full-region information directory address, otherwise, returning to the '1' and the address information of the inter-regional service D4Msg of the region D4.
And (3) when the message is set to be subscribed to the D4 message for the first time, the information of the information directory of the last step of area D1 returned to the message trans-regional service is '0' and the whole-region information directory address is '21.21.21.1:8001/glonnfoaddr'.
After the message cross-regional service of the region D1 receives the returned information of 0 and the whole region information directory address, the splicing region domain name D4 and Msg are the message cross-regional service name D4Msg of the region D4, and then the message cross-regional service carries the D4Msg to initiate access to the whole region information directory.
After the message cross-regional service access full-regional information directory of the region D1 is mapped to the internal address "21.21.21.1:8001/glonnfoaddr" of the cross-regional gateway of the region D1, the request is mapped to the external address "10.10.10.4:9001/glonnfoaddr" of the cross-regional gateway of the region D4, and the cross-regional gateway of the region D4 maps the external address to the internal address "24.24.24.5:8005" of the full-regional information directory in the region D4.
After the gateway mapping, the area D1 obtains the external address "10.10.10.4:9001/Msg" of the information cross-regional service of the area D4 on the cross-regional gateway of the area D4 from the whole-regional information directory of the area D4.
The message cross-regional service of the region D1 initiates a channel establishment request for the cross-regional gateway of the region, and the mapping from the inter-regional gateway internal address of the region D1 to the cross-regional gateway external address of the region D4 is established by the message cross-regional service of the region D4, wherein 21.21.21.1:8001/D4Msg < - >10.10.10.4:9001/Msg; (the trans-regional gateway has the capability to receive the channel setup request and correspondingly set up the address mapping channel).
The message cross-regional service of the region D1 writes the address into the other region message cross-regional service address list of the information catalog of the region, wherein the ServiceName field is written into "D4Msg", the InnerAddress field is written into the cross-regional gateway internal address of the region D1 "21.21.21.1:8001/D4Msg", and the OuterAddress field is written into the cross-regional gateway external address of the region D4 "10.10.10.4:9001/Msg"; (the cross-regional gateway external address "outeraddress" field is an optional field, and the address map is stored in the cross-regional gateway).
The message cross-regional service of the region D1 carries the domain name "D1" of the region, and the message cross-regional service of the message subject name "Material" of the region D4 to be subscribed initiates a message subscription request.
After the message cross-regional service of the region D4 receives the subscription request, the subscription request is written into the information directory of the region D4.
After receiving the subscription request, the information directory of the area D4 writes "Material" in the TopicName field and "D1" in the subsribedomain field in the release list.
After receiving the subscription request, the information catalog of the area D4 inquires whether other subscription requests of other areas to the message theme 'Material' in the publishing list, namely, publishing records, if yes, the value '1' is returned, and if not, the value '0' is returned; setting the information catalog of the area D4 to be that the information catalog of the area D4 receives a subscription request of the information theme 'Material' of the other area for the first time, and returning '0' to the information cross-area service of the area D4.
After receiving the return value of 0, the message cross-regional service of the region D4 initiates a subscription request of message topic of Material on the message service end of the region D4 through the embedded message client; thus, the complete service A is completed to subscribe the message with the message theme of "D4. Material".
Example 2: the business service E of the area D1 subscribes to the message D4.Material of the area D4, and is specifically implemented as follows:
the business service E of the area D1 initiates a subscription request to the message D4.Material through the message client carrying the ClientID number ClientE.
The message client embedded by the business service E sends a subscription request of the message D4.Material to the message service end of the area D1 and the message cross-area processing service.
After receiving the subscription request of the business service E to the message D4.Material, the message cross-regional service of the region D1 writes the subscription request into the information catalog of the region D1.
After receiving the subscription request, the information directory of the area D1 writes "Material" in the TopicName field of the subscription list, "D4" in the publichdomain field, "NULL" in the outpatindpublichdomain field, and "ClientE" in the ClientID field.
After the information catalog of the area D1 receives the subscription request, inquiring whether subscription records with TopicName field of 'Material' and public Domain field of 'D4' exist in a subscription list of the information catalog, and if yes, returning to '2'; otherwise, inquiring whether the address information of the inter-regional service D4Msg of the information of the region D4 exists in the inter-regional service address list of other region information of the information directory, if not, returning to the '0' and the full-region information directory address, otherwise, returning to the '1' and the address information of the inter-regional service D4Msg of the region D4.
And then, the message with the TopicName field of 'Material' and the public Domain field of 'D4' is subscribed for the second time, and the information catalog of the area D1 is returned to the message cross-area service '2'.
After the message cross-regional service of the region D1 receives the information catalog return value of 2 of the region, representing that the region has initiated subscription record to the message Material of the region D4, no subsequent operation is performed; thus, the service E in the area D1 completes the subscription request to the message D4. Material.
Example 3: the business service C of the area D3 subscribes to the message D4.Material of the area D4, and is specifically implemented as follows:
the basic flow is similar to that of example 1 above, and the description is omitted here, if the setting area D3 is the message D4.Material of the first subscription area D4.
After receiving the subscription request, the information catalog of the area D4 inquires whether other subscription requests of other areas to the message theme 'Material' exist in the publishing list of the information catalog, if so, the value '1' is returned, and if not, the value '0' is returned; since the posting list in the information directory of the area D4 stores the posting record, which is the subscription request for the message D4.Material initiated by the area D1, the information directory of the area D4 returns to the message cross-area service "1" of the area D4.
After the message cross-regional service of the region D4 receives the return value of 1 of the information catalog of the region, the subscription request of the message service end of the region D4 for the message D4.Material is not required to be initiated; thus, the service C in the area D3 completes the subscription request to the message D4. Material.
Example 4: the business service D of the area D4 issues a message Material, which is specifically implemented as follows:
the business service D of the area D4 issues a message of which TopicName is 'Material' to a message service end of the area D4;
the message service end of the area D4 pushes the message whose TopicName is "Material" to the message cross-regional service of the area D4 (the message client embedded in the message cross-regional service pushed to the area D4 may be equivalent to the message client to a certain extent, which is a part of the message cross-regional service).
After receiving the message of TopicName as "Material" by the message cross-regional service of the region D4, correspondingly querying a release list in the information catalog of the region D4, and acquiring the substricbedomain information corresponding to TopicName as "Material" and "D3" in the release list; (as shown in Table 4).
TABLE 4 Table 4
Publication list TopicName SubscribeDomain
Material D1
Material D3
After the information directory of the area D4 is queried to the domain names "D1" and "D3" of the subscription service area, if the information directory of the area D4 has the message cross-area service addresses of the areas "D1" and "D3", returning [ "D1", "1" and the message cross-area service address of the area D1 ], [ "D3", "1" and the message cross-area service address of the area D3 ]; otherwise return [ "D1", "0", and full area information directory address ], [ "D3", "0", and full area information directory address ].
The information catalog of the area D4 is set to have the information cross-regional service addresses of the area D1 and the area D3, namely, the information returned to the information cross-regional service by the information catalog is [ "D1", "1", "24.24.1:8001/D1 Msg" ] [ "D3", "1", "24.24.24.1:8001/D3Msg" ].
After the information is acquired by the message cross-regional service of the region D4, the access to the message cross-regional service of the region D1 and the region D3 is initiated, and the message of which TopicName is "Material" is sent to the message cross-regional service of the corresponding region.
After the message cross-regional service of the region D1 receives the message, inquiring subscription records with TopicName as 'Material' and publichDomain as 'D4' in a subscription list of an information catalog of the region, returning OutdatedPublishDomain information, if the OutdatedPublishDomain information is 'NULL', indicating that the message Material returned by the region D4 has no original subscription region, the message cross-regional service of the region D1 issues the message Material to a message service end of the region D1, and then the message service end of the region D1 pushes the message to business services A and E of the region D1; the processing procedure of the region D3 is similar to that described above, and will not be described here again.
Example 5: the business service a of the area D1 unsubscribes from the message D4.Material of the area D4, concretely implemented as follows:
The business service a of the area D1 initiates an unsubscribe request to the message D4.Material to the message service side and the message cross-area service of the area D1 through the message client carrying the ClientID number ClientA.
After receiving the message unsubscribing request, the message cross-regional service of the region D1 inquires a subscription list of an information catalog of the region, inquires a subscription record of which TopicName is 'Material', clientID is 'ClientA', a public domain field or an original publishing region Outddiscloses public domain field is 'D4', and inquires a result of [ 'Material', 'D4', 'NULL', 'ClientA').
The message cross-regional service of the region D1 deletes the records in the subscription list of the information catalog of the region, and simultaneously inquires whether other subscription records with TopicName fields of 'Material' and public Domain fields of 'D4' exist in the subscription list, if yes, the value of '1' is returned, and if not, the value of '0' is returned; the return value in this example is "1".
After the message cross-regional service of the region D1 receives the return value "1", which represents that other business services in the region have subscription requests for the message D4.Material, the message cross-regional service of the region D1 does not perform subsequent operations.
Example 6: the service E of the area D1 unsubscribes from the message D4.Material of the area D4, concretely implemented as follows:
the business service E of the area D1 initiates an unsubscribe request for the message D4.Material to the message service end of the area D1 and the message cross-area service by the embedded message client carrying the ClientID number ClientE.
After receiving the message unsubscribe request, the message cross-regional service of the region D1 inquires a subscription list of an information catalog of the region, inquires subscription records of which TopicName is "Material", clientID is "ClientE", public domain field or Outde public domain field is "D4", and inquires results are [ "Material", "D4", "NULL", "ClientE" ].
Deleting the records in the subscription list through the regional service by the message of the region D1, and simultaneously inquiring whether other records with TopicName fields of 'Material' and public domain fields of 'D4' exist in the subscription list, if so, returning a value of '1', otherwise, returning to '0'; the return value in this example is "0".
After the message cross-regional service of the region D1 receives the return value of "0", which represents that no other service in the region has a subscription request for the message D4.Material, the message cross-regional service of the region D1 initiates an unsubscribe request for the message D4. Material.
After receiving the unsubscribe request of the message Material sent by the message cross-regional service of the region D1, the message cross-regional service of the region D4 inquires a release list of the information catalog of the region D4, and correspondingly deletes the release record.
The message cross-regional service of the region D4 inquires whether the release list of the region has other release records of the message Material at the same time, if so, the message cross-regional service returns to 1, otherwise, the message cross-regional service returns to 0; the return value in this example is "1".
After the message cross-regional service of the region D4 receives the return value "1", if there is a subscription request of other regions to the message Material in the release list of the region D4, the message cross-regional service of the region D4 does not perform subsequent operations.
Example 7: the business service C of the area D3 unsubscribes from the message D4.Material of the area D4; the method is concretely realized as follows:
the business service C of the area D3 initiates a subscription-canceling request to the message D4.Material; the subsequent flow is similar to example 6, except that the return value is "0" in this example.
After the message cross-regional service of the region D4 receives the return value of "0", if there is no subscription request of other regions to the message Material in the publishing list of the region D4, the message cross-regional service of the region D4 initiates a subscription cancellation request to the message Material by accessing the message service end of the region D4 through the embedded message client.
Example 8: the business service a of the area D1 subscribes to the message D2. Site of the area D2, and is specifically implemented as follows:
the message D2. Subscription flow of the business service a of the area D1 to the area D2 is similar to the subscription flow described above, and will not be repeated here.
Example 9: the motoring service area function is adjusted, and the Sitution message originally provided by the area D2 is now provided by the area D3, and the following specific implementation is realized:
the operator modifies [ "Sitution", "D2", "NULL", "ClientA" ] in the subscription list of the information directory of the area D1 to [ "Sitution", "D3", "D2", "ClientA" ], the message Sitution indicating the subscription of ClientA is originally provided by the area D2 and is now provided by the area D3 instead; after the modification is completed, the information directory of the area D1 transmits a message to the inter-area service (as shown in table 3) notifying the area D1.
After receiving the notification, the message cross-regional service of the region D1 inquires whether subscription records with TopicName field of "location" and publichDomain field of "D3" exist in the subscription list of the region D1, if yes, the value of "1" is returned, and if not, the value of "0" is returned; in this example, there are no other related records, and the return value of the information directory to the message cross-regional service is "0".
After receiving the return value of 0, the message cross-regional service of the region D1 represents that no other service in the region D1 currently initiates a message subscription request for the TopicName of the region D3, and the message cross-regional service of the region D1 carries the message subscription request for the region D3 initiated by the TopicName field with the message subscription information.
After receiving the subscription request, the message cross-regional service of the region D3 accesses the information directory of the region, and writes [ "location", "D1" ] in [ "TopicName", "subsribedomain" ] fields of the release list.
The operation of the message cross-regional service of the region D3 on the subscription request is similar to the foregoing example, and will not be repeated here.
Meanwhile, after receiving the notification, the message cross-regional service of the region D1 inquires whether a record with a TopicName field of "location" and a publichDomain field of "D2" exists in a subscription list of the information catalog of the region D1, if so, returns to "1", otherwise, returns to a value of "0"; in this example, there are no other related records, and the return value of the information directory to the message cross-regional service is "0".
After receiving the return value of "0", the message cross-regional service of the region D1 represents that no other service in the region D1 currently initiates a message subscription request for the TopicName of the region D2, and then the message cross-regional service of the region D1 carries the TopicName field to initiate a message unsubscribe request for the region D2.
After the inter-regional service receives the above-mentioned unsubscribe request, the subsequent operations are similar to the above-mentioned unsubscribe operation, and will not be repeated here.
Example 10: the business service C of the area D3 issues a message situtation, which is specifically implemented as follows:
the business service C of the area D3 issues a message to the message service through the embedded message client, and the message service pushes the message to the message client embedded by the message cross-regional service of the area D3.
After the message cross-regional service in the region D3 receives the message, it queries the record of TopicName being "location" in the distribution list of the information directory in the region, and the query result is [ "location", "D1" ] (as shown in table 5).
TABLE 5
Publication list TopicName SubscribeDomain
Situation D1
The message cross-domain service of the area D2 transmits a message site to the message cross-domain service of the area D1 according to the subscore domain field value "D1".
The message cross-regional service of the region D1 receives the message situtation sent by the region D3, queries the subscription record with TopicName "situtation" and publicishdomain "D3" in the subscription list of the information directory of the region, and returns an outpatiedpublicishdomain field value "D2".
After the message cross-regional service of the region D1 receives the return value "D2", the OutdatedPublishDomain value "D2" and the TopicName value "signalization" are concatenated to D2. Signalization.
The message cross-regional service of the region D1 issues a Sitution message received from the region D3 to a message service end of the region D1 by taking D2.Sitution as TopicName; the message server then pushes the message to the business service a of the area D1 by querying its subscription list.
Example 11: the business service a of the area D1 unsubscribes from D2. Site, which is specifically implemented as follows:
the business service A of the area D1 initiates an unsubscribe request of the message D2. Site through an embedded message client, and the message client sends the unsubscribe request to a message service end of the area D1 and the message cross-area service.
After the message cross-regional service of the region D1 receives the message unsubscribe request, the subscription list of the information catalogue of the region is queried through [ TopicName, clientID ] value [ "location", "ClientA" ], and public domain field or OutdutPublishDomain field value "D2", and the information catalogue returns [ PublishDomain, outdatedPublishDomain ] value [ "D3", "D2" ].
After the message cross-regional service of the region D1 receives the returned result, the outpatiedpublishdomain field is not null, and a message unsubscribe request of the message site of the region D3 is initiated.
After the message cross-regional service of the region D3 receives the above-mentioned unsubscribe request, the subsequent operations are similar to the related steps described above, and will not be repeated here.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present disclosure is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present disclosure. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all alternative embodiments, and that the acts and modules referred to are not necessarily required by the present disclosure.
The foregoing is a description of embodiments of the method, and the following further describes embodiments of the present disclosure through examples of apparatus.
Fig. 4 illustrates a block diagram of a cross-service area message interaction device based on an information directory according to an embodiment of the present disclosure, and as illustrated in fig. 4, a message interaction device 400 may include:
the subscription module 410 is configured to subscribe to a service of a service area to perform cross-regional message subscription to a service of a publishing service area through a message cross-regional service of the subscription service area.
The business service subscribing to the business region sends a first cross-region message subscription request to the message cross-region service subscribing to the business region.
The message cross-regional service of the subscription service region adds a subscription record in a subscription list of an information catalog of the subscription service region according to the first cross-regional message subscription request, and sends a second cross-regional message subscription request to the message cross-regional service of the release service region.
And the message cross-regional service of the release service region adds a release record in a release list of the information catalogue of the release service region according to the second cross-regional message subscription request, and sends a third cross-regional message subscription request to the message server of the release service region.
And the publishing module 420 is configured to publish the cross-regional message to the business service of the subscription business region through the message cross-regional service of the publishing business region.
The service of the release service area sends the message to the message cross-area service of the release service area through the message service end of the release service area.
The message cross-regional service of the release service region inquires a release list of the release service region, and sends a message to the message cross-regional service of the subscription service region according to the domain name of the subscription service region in the release record obtained by inquiry.
The message cross-regional service of the subscription service region inquires a subscription list of an information catalog of the subscription service region, adjusts the message subject name of the message according to the subscription record obtained by inquiry, and sends the message to a message server of the subscription service region.
And the message service end subscribing the service area sends a message to the corresponding service.
It can be appreciated that each module/unit in the message interaction device 400 shown in fig. 4 has a function of implementing each step in the message interaction method 200 provided in the embodiment of the present disclosure, and can achieve a corresponding technical effect, which is not described herein for brevity.
Fig. 5 illustrates a block diagram of an electronic device that may be used to implement embodiments of the present disclosure. Electronic device 500 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic device 500 may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 5, the electronic device 500 may include a computing unit 501 that may perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 502 or a computer program loaded from a storage unit 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data required for the operation of the electronic device 500 may also be stored. The computing unit 501, ROM502, and RAM503 are connected to each other by a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
A number of components in electronic device 500 are connected to I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, etc.; an output unit 507 such as various types of displays, speakers, and the like; a storage unit 508 such as a magnetic disk, an optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 501 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 501 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 501 performs the various methods and processes described above, such as method 200. For example, in some embodiments, the method 200 may be implemented as a computer program product, including a computer program, tangibly embodied on a computer-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 500 via the ROM502 and/or the communication unit 509. When the computer program is loaded into RAM503 and executed by computing unit 501, one or more steps of method 200 described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the method 200 by any other suitable means (e.g., by means of firmware).
The various embodiments described above herein may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems-on-a-chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a computer-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a computer-readable storage medium would include one or more wire-based electrical connections, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that, the present disclosure further provides a non-transitory computer readable storage medium storing computer instructions, where the computer instructions are configured to cause a computer to perform the method 200 and achieve corresponding technical effects achieved by performing the method according to the embodiments of the present disclosure, which are not described herein for brevity.
In addition, the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the method 200.
To provide for interaction with a user, the embodiments described above may be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The above-described embodiments may be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (9)

1. A method for cross-service area message interaction based on an information directory, the method comprising:
the business service subscribing the business region carries out cross-region message subscription to the business service publishing the business region through the message cross-region service subscribing the business region; wherein,
the business service of the subscription business region sends a first cross-region message subscription request to the message cross-region service of the subscription business region;
the message cross-regional service of the subscription service region adds a subscription record in a subscription list of an information catalog of the subscription service region according to the first cross-regional message subscription request, and sends a second cross-regional message subscription request to the message cross-regional service of the release service region;
the message cross-regional service of the release service region adds a release record in a release list of an information catalog of the release service region according to the second cross-regional message subscription request, wherein the release record comprises: the message subject name and the subscription service area domain name, and a third cross-region message subscription request is sent to the message server side of the release service area;
the business service of the release business region performs cross-region message release to the business service of the subscription business region through the message cross-region service of the release business region; wherein,
The business service of the release business region sends a message to the message cross-region service of the release business region through the message service end of the release business region;
the message cross-regional service of the release service region inquires a release list of the release service region according to the message subject name of the message, and sends the message to the message cross-regional service of the subscription service region according to the subscription service region domain name in the release record obtained by inquiry;
inquiring a subscription list of an information catalog of the subscription service area by the message cross-regional service of the subscription service area, adjusting the message subject name of the message according to the subscription record obtained by inquiring, and sending the message to a message server of the subscription service area;
the message service end of the subscribed service area sends the message to the corresponding service;
the message cross-regional service of the publishing service area sends the message to the message cross-regional service of the subscribing service area according to the domain name of the subscribing service area in the queried publishing record, and the method comprises the following steps:
if the message cross-regional service address corresponding to the subscription service region name is queried in the message cross-regional service address list of other regions in the information catalog of the release service region, the message cross-regional service of the release service region is sent to the message cross-regional service of the subscription service region according to the queried message cross-regional service address;
And if the message cross-regional service address corresponding to the subscription service region name is not queried in the message cross-regional service address list of other regions in the information catalogue of the release service region, acquiring the message cross-regional service address of the subscription service region from the whole region information catalogue according to the subscription service region domain name, and transmitting the message to the message cross-regional service of the subscription service region according to the acquired message cross-regional service address.
2. The method of claim 1, wherein the subscribing to the message cross-regional service of the service region sends a second cross-regional message subscription request to the publishing message cross-regional service of the service region, comprising:
if the message cross-regional service of the subscription service region inquires a subscription record with the same message subject name and the same publishing service region name as those in the newly added subscription record in a subscription list of the subscription service region, the cross-regional message subscription is completed;
and if the message cross-regional service of the subscription service region does not inquire the subscription record of which the message subject name, the domain name of the publishing service region is consistent with the message subject name and the publishing service region name in the newly added subscription record in the subscription list of the subscription service region, sending a second cross-regional message subscription request to the message cross-regional service of the publishing service region.
3. The method of claim 1, wherein the message cross-regional service of the publishing service area sends a third cross-regional message subscription request to a message server of the publishing service area, comprising:
if the message cross-regional service of the release service region inquires a release record with the message subject name consistent with the message subject name in the newly added release record in the release list of the release service region, the cross-regional message subscription is completed;
and if the message cross-regional service of the release service region does not inquire a release record with the message subject name consistent with the message subject name in the newly added release record in the release list of the release service region, sending a third cross-regional message subscription request to the message service terminal of the release service region.
4. The method of claim 1, wherein the message cross-regional service of the subscription service area adjusts a message subject name of the message according to the subscription record obtained by the query, and sends the message to a message service end of the subscription service area, including:
if the original publishing service area name in the obtained subscribing record is a null value, the message cross-regional service of the subscribing service area splices the domain name of the publishing service area with the message subject name of the message, takes the subject name obtained by splicing as the message subject name of the message, and sends the message to a message service end of the subscribing service area;
If the original publishing service area domain name in the subscription record obtained by inquiry is not null, the message cross-regional service of the subscription service area splices the original publishing service area domain name with the message subject name of the message, takes the subject name obtained by splicing as the message subject name of the message, and sends the message to the message service end of the subscription service area.
5. The method according to any one of claims 1-4, further comprising:
the business service of the subscription business region carries out cross-region message unsubscribation on the business service of the release business region through the message cross-region service of the subscription business region; wherein,
the business service of the subscription business region sends a first cross-region message subscription canceling request to the message cross-region service of the subscription business region;
if the message cross-regional service of the subscription service region inquires the subscription records of the service client number, the message subject name and the domain name of the publishing service region, which are consistent with the service client number, the message subject name and the domain name of the publishing service region in the first cross-regional message unsubscribe request, in the subscription list of the subscription service region, deleting the inquired subscription records; if the subscription records with the same message subject names and the same publishing service area names as those in the first cross-area message subscription cancellation request are queried in the subscription list after the queried subscription records are deleted, finishing cross-area message subscription cancellation; if the subscription records of which the message subject names and the domain names of the publishing service areas are consistent with the message subject names and the publishing service area names in the first cross-area message subscription cancellation request are not queried in the subscription list after the queried subscription records are deleted, a second cross-area message subscription cancellation request is sent to the message cross-area service of the publishing service area;
The message cross-regional service of the release service region deletes the release record of which the message subject names and the subscription service region domain names are consistent with the message subject names and the subscription service region names in the release list of the release service region and the second cross-regional message unsubscribe request, and if the release record of which the message subject names are consistent with the message subject names in the second cross-regional message unsubscribe request is queried in the release list after the queried release record is deleted, the cross-regional message unsubscribe is completed; if the publishing record with the message subject name consistent with the message subject name in the second cross-regional message unsubscribe request is not queried in the publishing list after deleting the queried publishing record, a third cross-regional message unsubscribe request is sent to the message server side of the publishing service area;
and if the message cross-regional service of the subscription service region inquires the subscription records of the service client number, the message subject name and the original publishing service region domain name which are consistent with the service client number, the message subject name and the publishing service region name in the first cross-regional message unsubscribe request in the subscription list of the subscription service region, deleting the inquired subscription records, and executing a message unsubscribe flow corresponding to the inquired subscription records.
6. The method according to any one of claims 1-4, further comprising:
according to the content of the publishing service area name input by the user to the subscribing record in the subscribing list of the subscribing service area, updating the content of the original publishing service area domain name in the subscribing record to the content of the publishing service area domain name in the subscribing record, and updating the content of the publishing service area domain name in the subscribing record to the content of the input publishing service area name;
if the message cross-regional service of the subscription service region inquires the subscription record of which the message subject name and the domain name of the publishing service region are consistent with the message subject name and the original publishing service region name of the updated subscription record in the subscription list of the subscription service region, the cross-regional message unsubscribing is completed;
if the message cross-regional service of the subscription service area does not inquire the subscription record of which the message subject name and the domain name of the publishing service area are consistent with the message subject name and the original publishing service area name of the updated subscription record in the subscription list of the subscription service area, canceling to subscribe to the message corresponding to the message subject name in the updated subscription record in the updated original publishing service area;
If the message cross-regional service of the subscription service region inquires the subscription record of which the message subject name and the domain name of the publishing service region are consistent with the updated message subject name and the updated publishing service region name in the subscription list of the subscription service region, the cross-regional message subscription is completed;
and if the message cross-regional service of the subscription service area does not inquire the subscription record of which the message subject name and the domain name of the publishing service area are consistent with the message subject name and the domain name of the updated subscription record in the subscription list of the subscription service area, subscribing the message corresponding to the message subject name in the updated subscription record in the updated publishing service area.
7. A cross-service area message interaction device based on an information directory, the device comprising:
the subscription module is used for subscribing the business services of the business region and carrying out cross-region message subscription on the business services of the publishing business region through the message cross-region services of the subscription business region; wherein,
the business service of the subscription business region sends a first cross-region message subscription request to the message cross-region service of the subscription business region;
The message cross-regional service of the subscription service region adds a subscription record in a subscription list of an information catalog of the subscription service region according to the first cross-regional message subscription request, and sends a second cross-regional message subscription request to the message cross-regional service of the release service region;
the message cross-regional service of the release service region adds a release record in a release list of an information catalog of the release service region according to the second cross-regional message subscription request, wherein the release record comprises: the message subject name and the subscription service area domain name, and a third cross-region message subscription request is sent to the message server side of the release service area;
a publishing module, configured to perform cross-regional message publishing on the service of the subscription service area through the message cross-regional service of the publishing service area, where,
the business service of the release business region sends a message to the message cross-region service of the release business region through the message service end of the release business region;
the message cross-regional service of the release service region inquires a release list of the release service region according to the message subject name of the message, and sends the message to the message cross-regional service of the subscription service region according to the subscription service region domain name in the release record obtained by inquiry;
Inquiring a subscription list of an information catalog of the subscription service area by the message cross-regional service of the subscription service area, adjusting the message subject name of the message according to the subscription record obtained by inquiring, and sending the message to a message server of the subscription service area;
the message service end of the subscribed service area sends the message to the corresponding service;
the release module is specifically configured to:
the message cross-regional service of the publishing service area sends the message to the message cross-regional service of the subscribing service area according to the domain name of the subscribing service area in the queried publishing record, and the method comprises the following steps:
if the message cross-regional service address corresponding to the subscription service region name is queried in the message cross-regional service address list of other regions in the information catalog of the release service region, the message cross-regional service of the release service region is sent to the message cross-regional service of the subscription service region according to the queried message cross-regional service address;
and if the message cross-regional service address corresponding to the subscription service region name is not queried in the message cross-regional service address list of other regions in the information catalogue of the release service region, acquiring the message cross-regional service address of the subscription service region from the whole region information catalogue according to the subscription service region domain name, and transmitting the message to the message cross-regional service of the subscription service region according to the acquired message cross-regional service address.
8. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
9. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-6.
CN202210322977.XA 2022-03-29 2022-03-29 Cross-service area message interaction method and device based on information catalogue, electronic equipment and storage medium Active CN114827071B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210322977.XA CN114827071B (en) 2022-03-29 2022-03-29 Cross-service area message interaction method and device based on information catalogue, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210322977.XA CN114827071B (en) 2022-03-29 2022-03-29 Cross-service area message interaction method and device based on information catalogue, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114827071A CN114827071A (en) 2022-07-29
CN114827071B true CN114827071B (en) 2023-05-09

Family

ID=82532564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210322977.XA Active CN114827071B (en) 2022-03-29 2022-03-29 Cross-service area message interaction method and device based on information catalogue, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114827071B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107147690A (en) * 2016-07-12 2017-09-08 国家电网公司 A kind of electrical power system wide-area method for message transmission
CN108848119B (en) * 2018-04-03 2020-04-28 阿里巴巴集团控股有限公司 Cross-block-chain interaction method, device, system and electronic equipment
CN111711663A (en) * 2020-05-26 2020-09-25 北京金山云网络技术有限公司 Processing method and device for publishing and subscribing services and electronic equipment
CN112954041A (en) * 2021-02-04 2021-06-11 许继集团有限公司 Distribution network wide area interactive message transmission structure and method

Also Published As

Publication number Publication date
CN114827071A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
US11088933B2 (en) Route advertisement management using tags in directly connected networks
US11689606B2 (en) Communication method, system and apparatus
CN109474936B (en) Internet of things communication method and system applied among multiple lora gateways
US10855576B2 (en) Information transmission method and device
CN113037855B (en) Multimedia access system, method, device, terminal and medium
JP2019525604A (en) Network function NF management method and NF management apparatus
US10051552B2 (en) Method for realizing resource attribute notification, and common service entity
CN114095430A (en) Processing method, system and working node of access message
CN111726400A (en) Reverse connection method, device and server-side system
CN110932876A (en) Communication system, method and device
US10069715B2 (en) Method for deploying resource in cloud computing environment
US8862095B2 (en) Managing mobile nodes in a lawful intercept architecture
CN108259605B (en) Data calling system and method based on multiple data centers
CN114827071B (en) Cross-service area message interaction method and device based on information catalogue, electronic equipment and storage medium
CN104426816A (en) Virtual machine communication method and device
CN112217649A (en) Terminal device management method, server and terminal device
EP3174322A1 (en) Method for deleting notification resource, and common service entity
CN115604226A (en) Domain name query method and device based on ECS protocol, storage medium and equipment
CN113395309B (en) Communication method and computer network
CN109361716B (en) Method and device for acquiring IP address, terminal equipment and storage medium
CN113556370A (en) Service calling method and device
CN117082029B (en) Access method and device based on line cache, electronic equipment and storage medium
CN113472621B (en) Network data forwarding method, device and system
CN110557728A (en) short message sending method, device and network equipment
CN115242733B (en) Message multicast method, multicast gateway, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant