CN114172837A - Information sharing method, device, apparatus, system, storage medium, and program product - Google Patents

Information sharing method, device, apparatus, system, storage medium, and program product Download PDF

Info

Publication number
CN114172837A
CN114172837A CN202111546043.6A CN202111546043A CN114172837A CN 114172837 A CN114172837 A CN 114172837A CN 202111546043 A CN202111546043 A CN 202111546043A CN 114172837 A CN114172837 A CN 114172837A
Authority
CN
China
Prior art keywords
domain
information
server
shared information
sharing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111546043.6A
Other languages
Chinese (zh)
Other versions
CN114172837B (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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202111546043.6A priority Critical patent/CN114172837B/en
Publication of CN114172837A publication Critical patent/CN114172837A/en
Application granted granted Critical
Publication of CN114172837B publication Critical patent/CN114172837B/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/46Cluster building
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

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

Abstract

The embodiment of the invention provides an information sharing method, device, equipment, system, storage medium and program product, and relates to the technical field of sharing systems. In the service system, a first domain publisher sends sharing information to a central domain sharing server through a first domain proxy server; the central domain sharing server stores the sharing information and informs the central domain routing server; the central domain routing server receives the notification and generates registration information; the second domain visitor requests the central domain routing server for sharing information through the second domain proxy server; after receiving the request, the central domain routing server acquires the shared information from the central domain sharing server according to the registration information and sends the shared information to the second domain routing server through the second domain proxy server; the second domain routing server sends the shared information to the second domain visitor. Therefore, flexible cross-domain sharing of information and loose coupling of information sending and information obtaining processes are achieved.

Description

Information sharing method, device, apparatus, system, storage medium, and program product
Technical Field
The present invention relates to the field of sharing system technologies, and in particular, to an information sharing method, apparatus, device, system, storage medium, and program product.
Background
In the architecture design of the network platform, such an architecture is designed according to business requirements: dividing a server for realizing the service into a plurality of domains at a platform end, wherein each domain is a cluster formed by at least one server, and the servers in the same domain form a local area network for mutual communication; at the user end, each user device is assigned with a designated domain, the service of the user device is realized by a corresponding domain server, and the information between the user devices corresponding to the same domain is transmitted through the domain server. However, when some services require the user equipment to acquire information generated in another domain across domains, the current prior art scheme is cumbersome and needs to be further improved.
Disclosure of Invention
Embodiments of the present invention provide an information sharing method, apparatus, device, system, storage medium, and program product, to solve the problem that a scheme for a user equipment to acquire information generated in another domain across domains is complicated.
In a first aspect, an embodiment of the present invention provides an information sharing method, applied to a central domain routing server, including:
receiving a notice of stored shared information sent by a central domain sharing server, and generating registration information of the shared information; the shared information is information stored by the central domain shared server through the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors;
after receiving a first acquisition request sent by a second domain proxy server, acquiring shared information corresponding to the first acquisition request from the central domain shared server according to the generated at least one registration message;
sending the acquired sharing information to the second domain proxy server; so that the second domain proxy server sends the shared information to the second domain visitor through the second domain routing server.
Optionally, the first obtaining request is a request for directly obtaining the shared information;
after receiving a first acquisition request sent by a second domain proxy server, acquiring shared information corresponding to the first acquisition request from the central domain server according to the generated at least one registration message, including:
and acquiring the shared information corresponding to the first acquisition request from the central domain server according to the generated at least one registration message every time the first acquisition request sent by the second domain proxy server is received.
Optionally, the first obtaining request is a request for subscribing to the shared information;
before receiving the notification of the saved shared information sent by the central domain sharing server, the method further includes:
receiving release information corresponding to the shared information and sent by a first domain proxy server;
generating registration information of the shared information, including:
generating registration information of the shared information according to the release information and the notification;
after receiving a first acquisition request sent by a second domain proxy server, acquiring shared information corresponding to the first acquisition request from the central domain server according to the generated at least one registration message, including:
after receiving a first acquisition request sent by a second domain proxy server, establishing a publishing and subscribing relationship between the shared information and a second domain visitor;
acquiring the shared information from the central domain server according to the generated at least one registration information and the established at least one publishing and subscribing relationship after receiving the notification once or every preset time;
and the publishing information is sent to the first domain proxy server when the first domain publisher determines that the sharing information needs to be sent to other domain visitors.
In a second aspect, an embodiment of the present invention provides an information sharing method, applied to a first domain proxy server, including:
receiving shared information sent by a first domain publisher, and forwarding the shared information to a central domain shared server; so that the central domain sharing server stores the shared information and notifies the central domain routing server, so that the central domain routing server generates registration information of the shared information; so that the second domain proxy server sends a first acquisition request for acquiring the shared information to the central domain routing server; the central domain routing server acquires the shared information corresponding to the first acquisition request from the central domain shared server according to the generated at least one registration message and sends the shared information to the second domain proxy server; so that the second domain proxy server sends the shared information to the second domain visitor through a second domain routing server;
and the shared information is sent to the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
Optionally, before receiving the shared information sent by the first domain publisher, the method further includes:
receiving release information corresponding to the shared information and sent by the first domain publisher, and forwarding the release information to a central domain routing server; the central domain routing server generates registration information of the shared information according to the release information and the notification, establishes a release and subscription relationship between the shared information and a second domain visitor after receiving a first acquisition request for subscribing the shared information sent by a second domain proxy server, and acquires the shared information from the central domain server according to the generated at least one registration information and the established at least one release and subscription relationship and sends the shared information to the second domain proxy server after receiving the notification once or at preset intervals; so that the second domain proxy server sends the shared information to the second domain visitor through a second domain routing server.
In a third aspect, an embodiment of the present invention provides an information sharing method, applied to a second domain proxy server, including:
after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; the central domain routing server acquires the shared information from the central domain sharing server according to the generated at least one registration information and sends the shared information to the second domain proxy server; the shared information is sent to a first domain proxy server when a first domain publisher determines that the shared information needs to be sent to other domain visitors, so that the first domain proxy server forwards the information stored by the central domain shared server; the registration information is generated by the central domain routing server after the central domain sharing server stores the sharing information and informs the central domain routing server;
receiving the sharing information sent by the central domain routing server and transmitting the sharing information to a second domain routing server; so that the second domain routing server sends the shared information to the second domain visitor.
Optionally, the first obtaining request and the second obtaining request are requests for directly obtaining the shared information;
after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server, wherein the method comprises the following steps:
and generating a first acquisition request for acquiring the shared information according to the second acquisition request and sending the first acquisition request to the central domain routing server every time the second acquisition request for acquiring the shared information is sent by the second domain visitor.
Optionally, the second obtaining request is a request sent to a second domain proxy server after the second domain visitor fails to request the second domain routing server to obtain the shared information.
Optionally, the first obtaining request and the second obtaining request are requests for subscribing to the shared information;
after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server, wherein the method comprises the following steps:
after receiving a second acquisition request for subscribing the shared information sent by a second domain visitor for the first time, generating a first acquisition request for subscribing the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; the central domain routing server generates registration information of the shared information according to the published information corresponding to the shared information sent by the first domain publisher before sending the shared information, establishes a publish-subscribe relationship between the shared information and the second domain visitor after receiving the first acquisition request for subscribing the shared information, and acquires the shared information from the central domain server according to the generated at least one registration information and the established at least one publish-subscribe relationship and sends the shared information to the second domain proxy server after receiving the shared information once or at preset time intervals.
In a fourth aspect, an embodiment of the present invention provides a service system, including:
the first domain publisher is used for sending the shared information to the first domain proxy server when determining that the shared information needs to be sent to other domain visitors;
the first domain proxy server is used for receiving the sharing information sent by the first domain publisher and forwarding the sharing information to the central domain sharing server;
the central domain sharing server is used for storing the sharing information and informing the central domain routing server;
the central domain routing server is used for receiving a notice that the shared information is stored and sent by the central domain sharing server and generating registration information of the shared information; after a first acquisition request for acquiring the shared information sent by a second domain proxy server is received, acquiring the shared information corresponding to the first acquisition request from the central domain shared server according to the generated at least one registration information; sending the acquired sharing information to the second domain proxy server;
the second domain visitor is used for sending a second acquisition request for acquiring the shared information to the second domain proxy server; receiving the sharing information sent by a second domain routing server;
the second domain proxy server is configured to generate the first acquisition request according to the second acquisition request and send the first acquisition request to the central domain routing server after receiving the second acquisition request sent by the second domain visitor; receiving the sharing information sent by the central domain routing server and transmitting the sharing information to the second domain routing server;
and the second domain routing server is used for receiving the shared information transmitted by the second domain proxy server and sending the shared information to the second domain visitor.
In a fifth aspect, an embodiment of the present invention further provides an information sharing method, applied to a service system, including:
when a first domain publisher determines that shared information needs to be sent to other domain visitors, the first domain publisher sends the shared information to a first domain proxy server;
the first domain proxy server receives the sharing information sent by the first domain publisher and forwards the sharing information to a central domain sharing server;
the central domain sharing server receives and stores the sharing information sent by the first domain proxy server, and informs a central domain routing server;
after receiving the notification, the central domain routing server generates registration information of the shared information;
when the second domain visitor determines that the shared information needs to be acquired, a second acquisition request for acquiring the shared information is sent to a second domain proxy server;
after receiving the second acquisition request sent by the second domain visitor, the second domain proxy server generates a first acquisition request for acquiring the shared information according to the second acquisition request and sends the first acquisition request to the central domain routing server;
after receiving the first acquisition request sent by the second domain proxy server, the central domain routing server acquires the shared information corresponding to the first acquisition request from the central domain shared server according to the generated at least one registration information;
the central domain routing server sends the acquired sharing information to the second domain proxy server;
the second domain proxy server receives the shared information sent by the central domain routing server and transmits the shared information to the second domain routing server;
the second domain routing server receives the shared information transmitted by the second domain proxy server and sends the shared information to the second domain visitor;
and the second domain visitor receives the shared information sent by the second domain routing server.
In a sixth aspect, an embodiment of the present invention provides an information sharing apparatus, including:
the registration module is used for receiving a notice of stored shared information sent by a central domain sharing server and generating registration information of the shared information; the shared information is information stored by the central domain shared server through the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors;
the search module is used for acquiring shared information corresponding to a first acquisition request from the central domain sharing server according to the generated at least one registration message after receiving the first acquisition request sent by the second domain proxy server;
a sending module, configured to send the acquired shared information to the second domain proxy server; so that the second domain proxy server sends the shared information to the second domain visitor through the second domain routing server.
In a seventh aspect, an embodiment of the present invention provides an information sharing apparatus, including:
the sending module is used for receiving the sharing information sent by the first domain publisher and forwarding the sharing information to the central domain sharing server; so that the central domain sharing server stores the shared information and notifies the central domain routing server, so that the central domain routing server generates registration information of the shared information; so that the second domain proxy server sends a first acquisition request for acquiring the shared information to the central domain routing server; the central domain routing server acquires the shared information corresponding to the first acquisition request from the central domain shared server according to the generated at least one registration message and sends the shared information to the second domain proxy server; so that the second domain proxy server sends the shared information to the second domain visitor through a second domain routing server;
and the shared information is sent to the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
In an eighth aspect, an embodiment of the present invention provides an information sharing apparatus, including:
the request module is used for generating a first acquisition request for acquiring the shared information according to a second acquisition request after receiving the second acquisition request for acquiring the shared information sent by a second domain visitor and sending the first acquisition request to the central domain routing server; the central domain routing server acquires the shared information from the central domain sharing server according to the generated at least one registration information and sends the shared information to the second domain proxy server; the shared information is sent to a first domain proxy server when a first domain publisher determines that the shared information needs to be sent to other domain visitors, so that the first domain proxy server forwards the information stored by the central domain shared server; the registration information is generated by the central domain routing server after the central domain sharing server stores the sharing information and informs the central domain routing server;
the receiving module is used for receiving the sharing information sent by the central domain routing server and transmitting the sharing information to the second domain routing server; so that the second domain routing server sends the shared information to the second domain visitor.
In a ninth aspect, an embodiment of the present invention provides an information sharing method, applied to a central domain routing server, including:
receiving a notice of stored shared information sent by a central domain sharing server, and generating registration information of the shared information; the shared information is information stored by the central domain shared server through the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors;
after receiving a first acquisition request sent by a second domain proxy server, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server; and the second domain proxy server acquires the shared information from the central domain shared server according to the registration information and sends the shared information to a second domain visitor through a second domain routing server.
Optionally, the first obtaining request is a request for directly obtaining the shared information;
after receiving a first acquisition request sent by a second domain proxy server, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server, wherein the method comprises the following steps:
and after receiving the first acquisition request sent by the second domain proxy server every time, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server.
Optionally, the first obtaining request is a request for subscribing to the shared information;
before receiving the notification of the saved shared information sent by the central domain sharing server, the method further includes:
receiving release information corresponding to the shared information and sent by a first domain proxy server;
generating registration information of the shared information, including:
generating registration information of the shared information according to the release information and the notification;
after receiving a first acquisition request sent by a second domain proxy server, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server, wherein the method comprises the following steps:
after receiving a first acquisition request sent by a second domain proxy server, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server; after the second domain proxy server is spaced for preset time, the shared information is obtained from the central domain shared server according to the registration information and is sent to a second domain visitor through a second domain routing server;
and the publishing information is sent to the first domain proxy server when the first domain publisher determines that the sharing information needs to be sent to other domain visitors.
In a tenth aspect, an embodiment of the present invention provides an information sharing method, applied to a first domain proxy server, including:
receiving shared information sent by a first domain publisher, and forwarding the shared information to a central domain shared server; so that the central domain sharing server stores the shared information and notifies the central domain routing server, so that the central domain routing server generates registration information of the shared information; so that the second domain proxy server sends a first acquisition request for acquiring the shared information to the central domain routing server; the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server, so that the second domain proxy server obtains the shared information from the central domain sharing server according to the registration information and sends the shared information to a second domain visitor through the second domain routing server;
and the shared information is sent to the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
Optionally, before receiving the shared information sent by the first domain publisher, the method further includes:
receiving release information corresponding to the shared information and sent by the first domain publisher, and forwarding the release information to a central domain routing server; the central domain routing server generates registration information of the shared information according to the release information and the notification, and after receiving a first acquisition request for subscribing the shared information sent by a second domain proxy server, searches the registration information from at least one generated registration information and sends the registration information to the second domain proxy server; and after the second domain proxy server is spaced for preset time, acquiring the shared information from the central domain shared server according to the registration information and sending the shared information to a second domain visitor through a second domain routing server.
In an eleventh aspect, an embodiment of the present invention further provides an information sharing method, applied to a second domain proxy server, including:
after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; so that the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server; the shared information is sent to a first domain proxy server when a first domain publisher determines that the shared information needs to be sent to other domain visitors, so that the first domain proxy server forwards the information stored by the central domain shared server; the registration information is generated by the central domain routing server after the central domain sharing server stores the sharing information and informs the central domain routing server;
receiving the registration information sent by the central domain routing server, acquiring the sharing information from the central domain sharing server by using the registration information, and transmitting the sharing information to a second domain routing server; so that the second domain routing server sends the shared information to the second domain visitor.
Optionally, the first obtaining request and the second obtaining request are requests for directly obtaining the shared information;
after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server, wherein the method comprises the following steps:
and generating a first acquisition request for acquiring the shared information according to the second acquisition request and sending the first acquisition request to the central domain routing server every time the second acquisition request for acquiring the shared information is sent by the second domain visitor.
Optionally, the second obtaining request is a request sent to a second domain proxy server after the second domain visitor fails to request the second domain routing server to obtain the shared information.
Optionally, the first obtaining request and the second obtaining request are requests for subscribing to the shared information;
after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server, wherein the method comprises the following steps:
after receiving a second acquisition request for subscribing the shared information sent by a second domain visitor for the first time, generating a first acquisition request for subscribing the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; enabling the central domain routing server to generate registration information of the shared information according to the publishing information, corresponding to the shared information, sent by the first domain publisher before sending the shared information, and after receiving the first acquisition request subscribing the shared information, searching the registration information from at least one generated registration information and sending the registration information to the second domain proxy server;
receiving the registration information sent by the central domain routing server, acquiring the sharing information from the central domain sharing server by using the registration information, and transmitting the sharing information to a second domain routing server, wherein the method comprises the following steps:
and receiving the registration information sent by the central domain routing server, and after a preset time interval, acquiring the shared information from the central domain sharing server according to the registration information and sending the shared information to a second domain visitor through a second domain routing server.
In a twelfth aspect, an embodiment of the present invention further provides a service system, including:
the first domain publisher is used for sending the shared information to the first domain proxy server when determining that the shared information needs to be sent to other domain visitors;
the first domain proxy server is used for receiving the sharing information sent by the first domain publisher and forwarding the sharing information to the central domain sharing server;
the central domain sharing server is used for storing the sharing information and informing the central domain routing server;
the central domain routing server is used for receiving a notice that the shared information is stored and sent by the central domain sharing server and generating registration information of the shared information; after receiving a first acquisition request for acquiring the shared information sent by a second domain proxy server, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server;
the second domain visitor is used for sending a second acquisition request for acquiring the shared information to the second domain proxy server; receiving the sharing information sent by a second domain routing server;
the second domain proxy server is configured to generate the first acquisition request according to the second acquisition request and send the first acquisition request to the central domain routing server after receiving the second acquisition request sent by the second domain visitor; receiving the registration information sent by the central domain routing server, acquiring the sharing information from the central domain sharing server by using the registration information, and transmitting the sharing information to the second domain routing server;
and the second domain routing server is used for receiving the shared information transmitted by the second domain proxy server and sending the shared information to the second domain visitor.
In a thirteenth aspect, an embodiment of the present invention further provides an information sharing method, applied to a service system, including:
when a first domain publisher determines that shared information needs to be sent to other domain visitors, the first domain publisher sends the shared information to a first domain proxy server;
the first domain proxy server receives the sharing information sent by the first domain publisher and forwards the sharing information to a central domain sharing server;
the central domain sharing server receives and stores the sharing information sent by the first domain proxy server, and informs a central domain routing server;
after receiving the notification, the central domain routing server generates registration information of the shared information;
when the second domain visitor determines that the shared information needs to be acquired, a second acquisition request for acquiring the shared information is sent to a second domain proxy server;
after receiving the second acquisition request sent by the second domain visitor, the second domain proxy server generates a first acquisition request for acquiring the shared information according to the second acquisition request and sends the first acquisition request to the central domain routing server;
after receiving the first acquisition request sent by the second domain proxy server, the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server;
the second domain proxy server receives the registration information sent by the central domain routing server, acquires the sharing information from the central domain sharing server according to the registration information and transmits the sharing information to the second domain routing server;
the second domain routing server receives the shared information transmitted by the second domain proxy server and sends the shared information to the second domain visitor;
and the second domain visitor receives the shared information sent by the second domain routing server.
In a fourteenth aspect, an embodiment of the present invention provides an information sharing apparatus, including:
the registration module is used for receiving a notice of stored shared information sent by a central domain sharing server and generating registration information of the shared information; the shared information is information stored by the central domain shared server through the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors;
the search sending module is used for searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server after receiving a first acquisition request sent by the second domain proxy server; and the second domain proxy server acquires the shared information from the central domain shared server according to the registration information and sends the shared information to a second domain visitor through a second domain routing server.
In a fifteenth aspect, an embodiment of the present invention provides an information sharing apparatus, including:
the sending module is used for receiving the sharing information sent by the first domain publisher and forwarding the sharing information to the central domain sharing server; so that the central domain sharing server stores the shared information and notifies the central domain routing server, so that the central domain routing server generates registration information of the shared information; so that the second domain proxy server sends a first acquisition request for acquiring the shared information to the central domain routing server; the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server, so that the second domain proxy server obtains the shared information from the central domain sharing server according to the registration information and sends the shared information to a second domain visitor through the second domain routing server;
and the shared information is sent to the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
In a sixteenth aspect, an embodiment of the present invention further provides an information sharing apparatus, including:
the request module is used for generating a first acquisition request for acquiring the shared information according to a second acquisition request after receiving the second acquisition request for acquiring the shared information sent by a second domain visitor and sending the first acquisition request to the central domain routing server; so that the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server; the shared information is sent to a first domain proxy server when a first domain publisher determines that the shared information needs to be sent to other domain visitors, so that the first domain proxy server forwards the information stored by the central domain shared server; the registration information is generated by the central domain routing server after the central domain sharing server stores the sharing information and informs the central domain routing server;
the receiving module is used for receiving the registration information sent by the central domain routing server, acquiring the sharing information from the central domain sharing server by using the registration information and transmitting the sharing information to a second domain routing server; so that the second domain routing server sends the shared information to the second domain visitor.
In a seventeenth aspect, an embodiment of the present invention provides an electronic device, including: a processor and a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the information sharing method according to the first aspect, or to implement the information sharing method according to the second aspect, or to implement the information sharing method according to the third aspect, or to implement the information sharing method according to the ninth aspect, or to implement the information sharing method according to the tenth aspect, or to implement the information sharing method according to the eleventh aspect.
In an eighteenth aspect, embodiments of the present invention provide a computer-readable storage medium storing a computer program, where the computer program is used to implement the information sharing method according to the first aspect, or implement the information sharing method according to the second aspect, or implement the information sharing method according to the third aspect, or implement the information sharing method according to the ninth aspect, or implement the information sharing method according to the tenth aspect, or implement the information sharing method according to the eleventh aspect.
In a nineteenth aspect, an embodiment of the present invention provides a computer program product, including a computer program, where the computer program is used to implement the information sharing method according to the first aspect, or implement the information sharing method according to the second aspect, or implement the information sharing method according to the third aspect, or implement the information sharing method according to the ninth aspect, or implement the information sharing method according to the tenth aspect, or implement the information sharing method according to the eleventh aspect.
The invention has the following beneficial effects:
according to the information sharing method, device, equipment, system, storage medium and program product provided by the embodiment of the invention, a central domain is added in a service system consisting of a plurality of domains to transfer information needing cross-domain sharing, so that compared with direct connection of each domain, the architecture of the service system is simplified, and flexible cross-domain sharing of the information is realized. And each domain processes the shared information transmitted by other domains through the domain proxy server, so that loose coupling of the information sending and information obtaining processes is realized.
Drawings
Fig. 1 is a schematic structural diagram of a service system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an information sharing method applied to a first domain proxy server corresponding to a first service system according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of an information sharing method applied to a central domain routing server and corresponding to a first service system according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of an information sharing method applied to a second domain proxy server and corresponding to a first service system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an information sharing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an information sharing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an information sharing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic flowchart of an information sharing method applied to a first domain proxy server and corresponding to a second service system according to an embodiment of the present invention;
fig. 9 is a schematic flowchart of an information sharing method applied to a central domain routing server and corresponding to a second service system according to an embodiment of the present invention;
fig. 10 is a schematic flowchart of an information sharing method applied to a second domain proxy server and corresponding to a second service system according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an information sharing apparatus according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an information sharing apparatus according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of an information sharing apparatus according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, the present invention is further described with reference to the accompanying drawings and examples. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their repetitive description will be omitted. The words expressing the position and direction described in the present invention are illustrated in the accompanying drawings, but may be changed as required and still be within the scope of the present invention. The drawings of the present invention are for illustrative purposes only and do not represent true scale.
It should be noted that in the following description, specific details are set forth in order to provide a thorough understanding of the present invention. The invention can be implemented in a number of ways different from those described herein and similar generalizations can be made by those skilled in the art without departing from the spirit of the invention. Therefore, the present invention is not limited to the specific embodiments disclosed below. The description which follows is a preferred embodiment of the present application, but is made for the purpose of illustrating the general principles of the application and not for the purpose of limiting the scope of the application. The protection scope of the present application shall be subject to the definitions of the appended claims. In the technical scheme of the embodiment of the invention, the acquisition, storage, use, processing and the like of the information all conform to relevant regulations of national laws and regulations.
The following describes an information sharing method, apparatus, device, system, storage medium, and program product according to embodiments of the present invention with reference to the accompanying drawings.
An embodiment of the present invention provides a first service system, as shown in fig. 1, including: the system comprises first domain user equipment, second domain user equipment, a first domain, a second domain and a central domain. The first domain is used for providing service for corresponding first domain user equipment, and the second domain is used for providing service for corresponding second domain user equipment.
It should be noted that, the terms "first domain" and "second domain" referred to herein may not refer to two domains in the service system, and the terms "first domain" and "second domain" may be any two domains except the central domain in the service system, and are only named herein for distinguishing a domain that implements cross-domain information transmission and a domain that implements cross-domain information acquisition in the cross-domain information sharing process. Also, for the sake of distinction, the first domain user device in fig. 1 will be referred to as a "first domain issuer" and the second domain user device will be referred to as a "second domain visitor" hereinafter.
Specifically, the first domain includes a first domain proxy server, the second domain includes a second domain proxy server and a second domain routing server, and the central domain includes a central domain routing server and a central domain sharing server.
The functions of the devices will be described below with the steps that the devices in the service system execute in sequence when the first domain publisher needs to share information to the second domain visitor.
In the information sharing method applied to the service system provided in the embodiment of the present invention, each device sequentially performs the following steps:
s1, when the first domain publisher determines that the shared information needs to be sent to other domain visitors, the first domain publisher sends the shared information to the first domain proxy server.
S2, the first domain proxy server receives the sharing information sent by the first domain publisher and forwards the sharing information to the central domain sharing server.
S3, the central domain sharing server receives and stores the sharing information sent by the first domain proxy server, and informs the central domain routing server.
And S4, after receiving the notice, the central domain routing server generates the registration information of the shared information.
And S7, when the second domain visitor determines that the shared information needs to be acquired, sending a second acquisition request for acquiring the shared information to the second domain proxy server.
S8, after receiving the second obtaining request sent by the second domain visitor, the second domain proxy server generates a first obtaining request for obtaining the shared information according to the second obtaining request and sends the first obtaining request to the central domain routing server.
S9, after receiving the first obtaining request sent by the second domain proxy server, the central domain routing server obtains the shared information corresponding to the first obtaining request from the central domain shared server according to the generated at least one registration information.
S10, the central domain route server sends the acquired sharing information to the second domain proxy server.
S11, the second domain proxy server receives the sharing information sent by the central domain route server and transmits the sharing information to the second domain route server.
And S12, the second domain routing server receives the shared information transmitted by the second domain proxy server.
And S13, the second domain routing server sends the shared information to the second domain visitor.
And S14, the second domain visitor receives the shared information sent by the second domain routing server.
Therefore, the embodiment of the invention simplifies the architecture of the service system compared with the direct connection of each domain by adding a central domain in the service system consisting of a plurality of domains for transferring the information needing cross-domain sharing, and realizes the flexible cross-domain sharing of the information. And each domain processes the shared information transmitted by other domains through the domain proxy server, so that loose coupling of the information sending and information obtaining processes is realized.
In a specific implementation process, before the step S7, when the second domain visitor determines that the shared information needs to be acquired, and sends a second acquisition request for acquiring the shared information to the second domain proxy server, the method further includes:
and S5, when the second domain visitor determines that the shared information needs to be acquired, sending a second acquisition request for acquiring the shared information to the second domain routing server.
And S6, the second domain routing server receives the second acquisition request, and returns an acquisition failure result to the second domain visitor after the shared information corresponding to the second acquisition request is not found locally.
Optionally, as shown in fig. 1, a second domain of the service system further includes a second domain sharing server. The second domain sharing server is used for storing the sharing information received by the second domain routing server.
Further, in step S12, after the second domain routing server receives the shared information transmitted by the second domain proxy server, the second domain routing server also stores the shared information in the second domain sharing server.
If the second domain visitor does not determine that the shared information needs to be acquired for the first time (for example, the number of the second domain visitors is multiple, and another second domain visitor has already acquired the shared information before), then, through the above steps, the second domain routing server already stores the shared information, in step S5, after the second domain visitor sends a second acquisition request for acquiring the shared information to the second domain routing server, the second domain routing server receives the second acquisition request, and after finding the shared information corresponding to the second acquisition request in the second domain sharing server, acquires the shared information and executes step S13, and sends the shared information to the second domain visitor, thereby completing the acquisition of the shared information by the second domain visitor this time.
Therefore, the number of times of interaction between the second domain and the central domain can be reduced, and the process of acquiring the shared information by the second domain visitor is simplified.
When information cross-domain sharing is not involved, taking a second domain as an example, each device in the service system may further sequentially perform the following steps to implement information domain sharing, where the second domain user device illustrated in fig. 1 includes at least one second domain issuer and at least one second domain visitor:
and S21, when the second domain publisher determines that the shared information needs to be sent to the second domain visitor, the second domain publisher sends the shared information to the second domain sharing server.
S22, the second domain sharing server receives and stores the sharing information sent by the second domain publisher, and informs the second domain routing server.
And S23, the second domain routing server receives the notice and generates the registration information of the shared information.
And S23, when the second domain visitor determines that the shared information needs to be acquired, sending a second acquisition request for acquiring the shared information to the second domain routing server.
S24, the second domain routing server receives the second obtaining request, finds the shared information corresponding to the second obtaining request in the second domain sharing server according to the generated at least one registration information, and obtains the shared information.
And S25, the second domain routing server sends the shared information to the second domain visitor.
And S26, the second domain visitor receives the shared information sent by the second domain routing server.
Optionally, as shown in fig. 1, the first domain may further include a first domain routing server and a first domain sharing server. When the first domain publisher determines that the shared information needs to be sent to the other domain visitors, before sending the shared information to the first domain proxy server, the method further comprises the following steps:
the first domain publisher sends the shared information to a first domain routing server;
and the first domain routing server receives the shared information sent by the first domain publisher, transmits the shared information to the first domain sharing server for storage, and generates registration information of the shared information. So that the same shared information is shared simultaneously to other domains and the present domain. Here, the step of sharing the first domain is the same as the above embodiment of sharing the second domain, and therefore, the description is omitted.
Optionally, the registration information generated by the first domain routing server/the central domain routing server/the second domain routing server includes the following information:
a shared information name, a storage location (for example, a server name of the shared information stored), a publisher, a flag indicating whether or not the shared server is stored in the local domain, and a creation time.
In a specific implementation process, the shared information may be shared in an observer mode or in a publish-subscribe mode. These two modes will be specifically described below.
(I) observer mode
S1A, when the first domain publisher determines that the shared information needs to be sent to other domain visitors, the first domain publisher sends the shared information to the first domain proxy server once.
S2A, the first domain proxy server forwards the sharing information to the central domain sharing server once every time the first domain proxy server receives the sharing information sent by the first domain publisher.
And S3A, the central domain sharing server receives and stores the sharing information sent by the first domain proxy server, informs the central domain routing server, and generates the registration information of the sharing information.
And S4A, after receiving the notification, the central domain routing server generates the registration information of the shared information.
And S5A, when the second domain visitor determines that the shared information needs to be acquired, a second acquisition request for acquiring the shared information is sent to the second domain route server once.
S6A, the second domain route server returns an acquisition failure result to the second domain visitor after receiving the second acquisition request once and finding the shared information corresponding to the second acquisition request locally.
And S7A, the second domain visitor sends a second acquisition request for acquiring the shared information to the second domain proxy server once.
And S8A, the second domain proxy server generates a first acquisition request for acquiring the shared information according to the second acquisition request and sends the first acquisition request to the central domain routing server every time the second acquisition request sent by the second domain visitor is received.
S9A, the central domain route server acquires the sharing information corresponding to the first acquisition request from the central domain sharing server according to the generated at least one registration information every time the central domain route server receives the first acquisition request sent by the second domain proxy server.
S10A, the central domain route server sends the acquired sharing information to a second domain proxy server.
S11A, the second domain proxy server transmits the sharing information to the second domain route server when receiving the sharing information sent by the central domain route server.
And S12A, the second domain routing server receives the shared information transmitted by the second domain proxy server.
And S13A, the second domain routing server sends the shared information to the second domain visitor.
And S14A, the second domain visitor receives the shared information sent by the second domain routing server.
S21A, the second domain publisher sends the sharing information to the second domain sharing server once when determining that the sharing information needs to be sent to the second domain visitor.
S22A, the second domain sharing server receives and stores the sharing information sent by the second domain publisher every time, and informs the second domain routing server.
S23A, the second domain routing server receives the notification, and generates registration information of the shared information.
S23A, the second domain visitor sends a second obtaining request for obtaining the shared information to the second domain routing server once every time it determines that the shared information needs to be obtained.
S24A, after the second domain routing server finds the shared information corresponding to the second obtaining request in the second domain sharing server according to the generated at least one registration information each time the second obtaining request is received, obtaining the shared information.
And S25A, the second domain routing server sends the shared information to the second domain visitor.
And S26A, the second domain visitor receives the shared information sent by the second domain routing server.
Therefore, according to the needs of the first domain publisher/the second domain visitor, the shared information is sent/obtained as required, each server is only responsible for simple forwarding and storage, and the scheme is simple.
(II) publish-subscribe mode
And S01B, when the first domain publisher determines that the shared information needs to be sent to other domain visitors, the first domain publisher sends the published information corresponding to the shared information to the first domain proxy server.
S02B, the first domain proxy server receives the publishing information sent by the first domain publisher and forwards the publishing information to the central domain routing server.
And S03B, the central domain routing server receives the release information.
S1B, the first domain publisher sends the sharing information to the first domain proxy server.
S2B, the first domain proxy server receives the sharing information sent by the first domain publisher and forwards the sharing information to the central domain sharing server.
And S3B, the central domain sharing server receives and stores the sharing information sent by the first domain proxy server, and informs the central domain routing server.
And S4B, after receiving the notification, the central domain routing server generates the registration information of the shared information according to the release information and the notification.
And S7B, when the second domain visitor determines that the shared information needs to be acquired, sending a second acquisition request for subscribing the shared information to the second domain proxy server.
S8B, after the second domain proxy server receives the second acquisition request sent by the second domain visitor for the first time, the second domain proxy server generates a first acquisition request subscribing the shared information according to the second acquisition request and sends the first acquisition request to the central domain routing server.
S9B, after receiving the first acquisition request sent by the second domain proxy server, the central domain routing server establishes the publish-subscribe relationship between the shared information and the second domain visitor; and acquiring the shared information from the central domain server according to the generated at least one registration information and the established at least one publishing and subscribing relationship after receiving the notification once or every preset time.
S10B, the central domain route server sends the acquired sharing information to a second domain proxy server.
S11B, the second domain proxy server receives the sharing information sent by the central domain route server and transmits the sharing information to the second domain route server.
And S12B, the second domain routing server receives the shared information transmitted by the second domain proxy server.
And S13B, the second domain routing server sends the shared information to the second domain visitor.
And S14B, the second domain visitor receives the shared information sent by the second domain routing server.
And S211B, when the second domain publisher determines that the shared information needs to be sent to the second domain visitor, sending the published information corresponding to the shared information to the second domain routing server.
And S212B, the second domain routing server receives the publishing information.
S213B, the second domain publisher sends the sharing information to the second domain sharing server.
S22B, the second domain sharing server receives and stores the sharing information sent by the second domain publisher, and informs the second domain routing server.
S23B, the second domain route server receives the notice, and generates the registration information of the shared information according to the release information and the notice.
S23B, when the second domain visitor determines that the shared information needs to be acquired, sends a second acquisition request for subscribing the shared information to the second domain routing server.
S24B, after receiving the second obtaining request, the second domain routing server establishes the publishing and subscribing relationship between the shared information and the second domain visitor; and acquiring the shared information from the central domain server according to the generated at least one registration information and the established at least one publishing and subscribing relationship after receiving the notification once or every preset time.
And S25B, the second domain routing server sends the shared information to the second domain visitor.
And S26B, the second domain visitor receives the shared information sent by the second domain routing server.
In the implementation process, the above steps are not necessarily implemented in the order described above, for example, after the first domain publisher sends the published information to the central domain routing server through the first domain proxy server, when the shared information is not yet sent, the second domain visitor sends a second acquisition request for subscribing to the shared information to the second domain proxy server, and the execution order of the steps is not limited herein.
Therefore, the information is shared by adopting the subscription and release mode, and the subsequent data maintenance is facilitated.
Based on the above inventive concept, the embodiment of the present invention further provides a first service system for implementing the above method, which is not described herein again.
Based on the inventive concept, the embodiment of the invention also provides an information sharing method corresponding to the first domain proxy server, the central domain routing server and the second domain proxy server.
As shown in fig. 2, the information sharing method applied to the first domain proxy server includes:
s110, receiving the sharing information sent by the first domain publisher, and forwarding the sharing information to the central domain sharing server; so that the central domain sharing server stores the shared information and notifies the central domain routing server, so that the central domain routing server generates registration information of the shared information; so that the second domain proxy server sends a first acquisition request for acquiring the shared information to the central domain routing server; the central domain routing server acquires the shared information corresponding to the first acquisition request from the central domain shared server according to the generated at least one registration message and sends the shared information to the second domain proxy server; so that the second domain proxy server sends the shared information to the second domain visitor through a second domain routing server;
and the shared information is sent to the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
Optionally, if the scheme adopts a publish-subscribe mode, before the step S110 receives the shared information sent by the publisher in the first domain, the method further includes:
s100, receiving release information corresponding to the shared information and sent by the first domain publisher, and forwarding the release information to a central domain routing server; the central domain routing server generates registration information of the shared information according to the release information and the notification, establishes a release and subscription relationship between the shared information and a second domain visitor after receiving a first acquisition request for subscribing the shared information sent by a second domain proxy server, and acquires the shared information from the central domain server according to the generated at least one registration information and the established at least one release and subscription relationship and sends the shared information to the second domain proxy server after receiving the notification once or at preset intervals; so that the second domain proxy server sends the shared information to the second domain visitor through a second domain routing server.
If the scheme adopts the observer mode, the specific implementation manner may refer to the corresponding content in the service system described above, and details are not described here.
As shown in fig. 3, the information sharing method applied to the central domain routing server includes:
s210, receiving a notice of stored shared information sent by a central domain sharing server, and generating registration information of the shared information; and the shared information is information stored by the central domain shared server through the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
S220, after receiving a first acquisition request sent by a second domain proxy server, acquiring shared information corresponding to the first acquisition request from the central domain sharing server according to the generated at least one registration message.
S230, sending the acquired sharing information to the second domain proxy server; so that the second domain proxy server sends the shared information to the second domain visitor through the second domain routing server.
Optionally, if the scheme is the observer mode, the first obtaining request is a request for directly obtaining the shared information;
in step S220, after receiving the first obtaining request sent by the second domain proxy server, obtaining the shared information corresponding to the first obtaining request from the central domain server according to the generated at least one registration information, including:
and acquiring the shared information corresponding to the first acquisition request from the central domain server according to the generated at least one registration message every time the first acquisition request sent by the second domain proxy server is received.
Optionally, if the scheme is a publish-subscribe mode, the first acquisition request is a request for subscribing to the shared information;
before the step S210, the method further includes (not shown in fig. 3):
s200, receiving release information corresponding to the shared information and sent by a first domain proxy server;
in step S210, generating registration information of the shared information includes:
generating registration information of the shared information according to the release information and the notification;
in step S220, after receiving the first obtaining request sent by the second domain proxy server, obtaining, according to the generated at least one registration information, shared information corresponding to the first obtaining request from the central domain server, specifically including (not shown in fig. 3):
s221, after receiving a first acquisition request sent by a second domain proxy server, establishing a publish-subscribe relationship between the shared information and a second domain visitor;
s222, after receiving the notification once or every preset time, acquiring the shared information from the central domain server according to the generated at least one registration information and the established at least one publishing and subscribing relationship;
and the publishing information is sent to the first domain proxy server when the first domain publisher determines that the sharing information needs to be sent to other domain visitors.
As shown in fig. 4, the information sharing method applied to the second domain proxy server includes:
s310, after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; the central domain routing server acquires the shared information from the central domain sharing server according to the generated at least one registration information and sends the shared information to the second domain proxy server; the shared information is sent to a first domain proxy server when a first domain publisher determines that the shared information needs to be sent to other domain visitors, so that the first domain proxy server forwards the information stored by the central domain shared server; the registration information is generated by the central domain routing server after the central domain sharing server stores the sharing information and informs the central domain routing server;
s320, receiving the sharing information sent by the central domain routing server and transmitting the sharing information to a second domain routing server; so that the second domain routing server sends the shared information to the second domain visitor.
Optionally, if the scheme is the observer mode, the first obtaining request and the second obtaining request are requests for directly obtaining the shared information;
the step S310, after receiving a second obtaining request for obtaining shared information sent by a second domain visitor, generating a first obtaining request for obtaining the shared information according to the second obtaining request, and sending the first obtaining request to a central domain routing server, includes:
and generating a first acquisition request for acquiring the shared information according to the second acquisition request and sending the first acquisition request to the central domain routing server every time the second acquisition request for acquiring the shared information is sent by the second domain visitor.
Optionally, the second obtaining request is a request sent to a second domain proxy server after the second domain visitor fails to request the second domain routing server to obtain the shared information.
Optionally, if the scheme is a publish-subscribe mode, the first obtaining request and the second obtaining request are requests for subscribing to the shared information;
the step S310, after receiving a second obtaining request for obtaining shared information sent by a second domain visitor, generating a first obtaining request for obtaining the shared information according to the second obtaining request, and sending the first obtaining request to a central domain routing server, includes:
after receiving a second acquisition request for subscribing the shared information sent by a second domain visitor for the first time, generating a first acquisition request for subscribing the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; the central domain routing server generates registration information of the shared information according to the published information corresponding to the shared information sent by the first domain publisher before sending the shared information, establishes a publish-subscribe relationship between the shared information and the second domain visitor after receiving the first acquisition request for subscribing the shared information, and acquires the shared information from the central domain server according to the generated at least one registration information and the established at least one publish-subscribe relationship and sends the shared information to the second domain proxy server after receiving the shared information once or at preset time intervals.
In the specific implementation process, the remaining specific embodiments of the information sharing method applied to the first domain proxy server/the central domain routing server/the second domain proxy server may be implemented correspondingly with reference to the content of the service system described above, and details are not described here.
Based on the same inventive concept, an embodiment of the present invention further provides an information sharing apparatus, as shown in fig. 5, including:
a sending module M110, configured to receive the shared information sent by the first domain publisher, and forward the shared information to the central domain shared server; so that the central domain sharing server stores the shared information and notifies the central domain routing server, so that the central domain routing server generates registration information of the shared information; so that the second domain proxy server sends a first acquisition request for acquiring the shared information to the central domain routing server; the central domain routing server acquires the shared information corresponding to the first acquisition request from the central domain shared server according to the generated at least one registration message and sends the shared information to the second domain proxy server; so that the second domain proxy server sends the shared information to the second domain visitor through a second domain routing server;
and the shared information is sent to the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
Optionally, the information sharing apparatus further includes:
the publishing module M100 is configured to receive publishing information corresponding to the shared information sent by the first domain publisher, and forward the publishing information to the central domain routing server; the central domain routing server generates registration information of the shared information according to the release information and the notification, establishes a release and subscription relationship between the shared information and a second domain visitor after receiving a first acquisition request for subscribing the shared information sent by a second domain proxy server, and acquires the shared information from the central domain server according to the generated at least one registration information and the established at least one release and subscription relationship and sends the shared information to the second domain proxy server after receiving the notification once or at preset intervals; so that the second domain proxy server sends the shared information to the second domain visitor through a second domain routing server.
Based on the same inventive concept, an embodiment of the present invention further provides an information sharing apparatus, as shown in fig. 6, including:
a registration module M210, configured to receive a notification of stored shared information sent by a central domain sharing server, and generate registration information of the shared information; the shared information is information stored by the central domain shared server through the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors;
the search module M220 is configured to, after receiving a first acquisition request sent by a second domain proxy server, acquire, according to the generated at least one registration message, shared information corresponding to the first acquisition request from the central domain shared server;
a sending module M230, configured to send the acquired sharing information to the second domain proxy server; so that the second domain proxy server sends the shared information to the second domain visitor through the second domain routing server.
Optionally, the first obtaining request is a request for directly obtaining the shared information;
the search module M220 is specifically configured to:
and acquiring the shared information corresponding to the first acquisition request from the central domain server according to the generated at least one registration message every time the first acquisition request sent by the second domain proxy server is received.
Optionally, the first obtaining request is a request for subscribing to the shared information;
the information sharing apparatus further includes (not shown in fig. 6):
the publishing module M200 is configured to receive publishing information corresponding to the shared information sent by the first domain proxy server;
the registration module M210 is specifically configured to:
generating registration information of the shared information according to the release information and the notification;
the implementation finding module M220 is specifically configured to:
after receiving a first acquisition request sent by a second domain proxy server, establishing a publishing and subscribing relationship between the shared information and a second domain visitor;
acquiring the shared information from the central domain server according to the generated at least one registration information and the established at least one publishing and subscribing relationship after receiving the notification once or every preset time;
and the publishing information is sent to the first domain proxy server when the first domain publisher determines that the sharing information needs to be sent to other domain visitors.
Based on the same inventive concept, an embodiment of the present invention further provides an information sharing apparatus, as shown in fig. 7, including:
a request module M310, configured to receive a second acquisition request for acquiring shared information sent by a second domain visitor, generate a first acquisition request for acquiring the shared information according to the second acquisition request, and send the first acquisition request to a central domain routing server; the central domain routing server acquires the shared information from the central domain sharing server according to the generated at least one registration information and sends the shared information to the second domain proxy server; the shared information is sent to a first domain proxy server when a first domain publisher determines that the shared information needs to be sent to other domain visitors, so that the first domain proxy server forwards the information stored by the central domain shared server; the registration information is generated by the central domain routing server after the central domain sharing server stores the sharing information and informs the central domain routing server;
a receiving module M320, configured to receive the shared information sent by the central domain routing server, and transmit the shared information to a second domain routing server; so that the second domain routing server sends the shared information to the second domain visitor.
Optionally, the first obtaining request and the second obtaining request are requests for directly obtaining the shared information;
the request module M310 is specifically configured to:
and generating a first acquisition request for acquiring the shared information according to the second acquisition request and sending the first acquisition request to the central domain routing server every time the second acquisition request for acquiring the shared information is sent by the second domain visitor.
Optionally, the second obtaining request is a request sent to a second domain proxy server after the second domain visitor fails to request the second domain routing server to obtain the shared information.
Optionally, the first obtaining request and the second obtaining request are requests for subscribing to the shared information;
the request module M310 is specifically configured to:
after receiving a second acquisition request for subscribing the shared information sent by a second domain visitor for the first time, generating a first acquisition request for subscribing the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; the central domain routing server generates registration information of the shared information according to the published information corresponding to the shared information sent by the first domain publisher before sending the shared information, establishes a publish-subscribe relationship between the shared information and the second domain visitor after receiving the first acquisition request for subscribing the shared information, and acquires the shared information from the central domain server according to the generated at least one registration information and the established at least one publish-subscribe relationship and sends the shared information to the second domain proxy server after receiving the shared information once or at preset time intervals.
It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation. In addition, each module in the embodiments of the present application may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a form of hardware or a form of a software functional unit.
Since the specific manner in which each module of the three information sharing apparatuses performs operations has been described in detail in the embodiments related to the method, it is not described herein again.
Based on the same inventive concept, the embodiment of the present invention further provides a second service system, which has a structure substantially the same as that of the first service system described above. The difference is that after the second domain proxy server sends the first acquisition request to the central domain routing server, the central domain routing server sends the registration information of the shared information corresponding to the first acquisition request to the second domain proxy server, and the second domain proxy server acquires the shared information from the central domain shared server according to the registration information. The remaining specific embodiments of the second service system are substantially the same as those of the first service system, and the corresponding contents above may be referred to, and the same embodiments will not be described in detail below.
In the second service system, each device sequentially performs the following steps:
s1, when the first domain publisher determines that the shared information needs to be sent to other domain visitors, the first domain publisher sends the shared information to the first domain proxy server.
S2, the first domain proxy server receives the sharing information sent by the first domain publisher and forwards the sharing information to the central domain sharing server.
S3, the central domain sharing server receives and stores the sharing information sent by the first domain proxy server, and informs the central domain routing server.
And S4, after receiving the notice, the central domain routing server generates the registration information of the shared information.
And S7, when the second domain visitor determines that the shared information needs to be acquired, sending a second acquisition request for acquiring the shared information to the second domain proxy server.
S8, after receiving the second obtaining request sent by the second domain visitor, the second domain proxy server generates a first obtaining request for obtaining the shared information according to the second obtaining request and sends the first obtaining request to the central domain routing server.
S9', after receiving the first obtaining request sent by the second domain proxy server, the central domain route server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server.
S10', the second domain proxy server receives the registration information sent by the central domain route server.
S11', the second domain proxy server obtains the sharing information from the central domain sharing server according to the registration information and transmits the sharing information to the second domain routing server.
And S12, the second domain routing server receives the shared information transmitted by the second domain proxy server.
And S13, the second domain routing server sends the shared information to the second domain visitor.
And S14, the second domain visitor receives the shared information sent by the second domain routing server.
In a specific implementation process, before the step S7, when the second domain visitor determines that the shared information needs to be acquired, and sends a second acquisition request for acquiring the shared information to the second domain proxy server, the method further includes:
and S5, when the second domain visitor determines that the shared information needs to be acquired, sending a second acquisition request for acquiring the shared information to the second domain routing server.
And S6, the second domain routing server receives the second acquisition request, and returns an acquisition failure result to the second domain visitor after the shared information corresponding to the second acquisition request is not found locally.
Optionally, as shown in fig. 1, a second domain of the service system further includes a second domain sharing server. The second domain sharing server is used for storing the sharing information received by the second domain routing server.
Further, in step S12, after the second domain routing server receives the shared information transmitted by the second domain proxy server, the second domain routing server also stores the shared information in the second domain sharing server.
If the second domain visitor does not determine that the shared information needs to be acquired for the first time (for example, the number of the second domain visitors is multiple, and another second domain visitor has already acquired the shared information before), then, through the above steps, the second domain routing server already stores the shared information, in step S5, after the second domain visitor sends a second acquisition request for acquiring the shared information to the second domain routing server, the second domain routing server receives the second acquisition request, and after finding the shared information corresponding to the second acquisition request in the second domain sharing server, acquires the shared information and executes step S13, and sends the shared information to the second domain visitor, thereby completing the acquisition of the shared information by the second domain visitor this time.
Optionally, the registration information generated by the central domain routing server includes the following information:
a shared information name, a storage location (for example, a server name of the shared information stored), a publisher, a flag indicating whether or not the shared server is stored in the local domain, and a creation time.
In a specific implementation process, the shared information may be shared in an observer mode or in a publish-subscribe mode. These two modes will be specifically described below.
(I) observer mode
S1A, when the first domain publisher determines that the shared information needs to be sent to other domain visitors, the first domain publisher sends the shared information to the first domain proxy server once.
S2A, the first domain proxy server forwards the sharing information to the central domain sharing server once every time the first domain proxy server receives the sharing information sent by the first domain publisher.
And S3A, the central domain sharing server receives and stores the sharing information sent by the first domain proxy server, informs the central domain routing server, and generates the registration information of the sharing information.
And S4A, after receiving the notification, the central domain routing server generates the registration information of the shared information.
And S5A, when the second domain visitor determines that the shared information needs to be acquired, a second acquisition request for acquiring the shared information is sent to the second domain route server once.
S6A, the second domain route server returns an acquisition failure result to the second domain visitor after receiving the second acquisition request once and finding the shared information corresponding to the second acquisition request locally.
And S7A, the second domain visitor sends a second acquisition request for acquiring the shared information to the second domain proxy server once.
And S8A, the second domain proxy server generates a first acquisition request for acquiring the shared information according to the second acquisition request and sends the first acquisition request to the central domain routing server every time the second acquisition request sent by the second domain visitor is received.
S9A', the central domain route server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server every time the central domain route server receives the first acquisition request sent by the second domain proxy server.
S10A', the second domain proxy server receives the registration information sent by the central domain route server.
S11A', the second domain proxy server obtains the sharing information from the central domain sharing server according to the registration information and transmits the sharing information to the second domain routing server.
And S12A, the second domain routing server receives the shared information transmitted by the second domain proxy server.
And S13A, the second domain routing server sends the shared information to the second domain visitor.
And S14A, the second domain visitor receives the shared information sent by the second domain routing server.
S21A, the second domain publisher sends the sharing information to the second domain sharing server once when determining that the sharing information needs to be sent to the second domain visitor.
S22A, the second domain sharing server receives and stores the sharing information sent by the second domain publisher every time, and informs the second domain routing server.
S23A, the second domain routing server receives the notification, and generates registration information of the shared information.
S23A, the second domain visitor sends a second obtaining request for obtaining the shared information to the second domain routing server once every time it determines that the shared information needs to be obtained.
S24A, after the second domain routing server finds the shared information corresponding to the second obtaining request in the second domain sharing server according to the generated at least one registration information each time the second obtaining request is received, obtaining the shared information.
And S25A, the second domain routing server sends the shared information to the second domain visitor.
And S26A, the second domain visitor receives the shared information sent by the second domain routing server.
(II) publish-subscribe mode
And S01B, when the first domain publisher determines that the shared information needs to be sent to other domain visitors, the first domain publisher sends the published information corresponding to the shared information to the first domain proxy server.
S02B, the first domain proxy server receives the publishing information sent by the first domain publisher and forwards the publishing information to the central domain routing server.
And S03B, the central domain routing server receives the release information.
S1B, the first domain publisher sends the sharing information to the first domain proxy server.
S2B, the first domain proxy server receives the sharing information sent by the first domain publisher and forwards the sharing information to the central domain sharing server.
And S3B, the central domain sharing server receives and stores the sharing information sent by the first domain proxy server, and informs the central domain routing server.
And S4B, after receiving the notification, the central domain routing server generates the registration information of the shared information according to the release information and the notification.
And S7B, when the second domain visitor determines that the shared information needs to be acquired, sending a second acquisition request for subscribing the shared information to the second domain proxy server.
S8B, after the second domain proxy server receives the second acquisition request sent by the second domain visitor for the first time, the second domain proxy server generates a first acquisition request subscribing the shared information according to the second acquisition request and sends the first acquisition request to the central domain routing server.
S9B', after receiving the first obtaining request sent by the second domain proxy server, the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server.
S10B', the central domain route server sends the acquired sharing information to the second domain proxy server.
S11B', the second domain proxy server receives the sharing information sent by the central domain route server, and after each preset time interval, the sharing information is obtained from the central domain sharing server according to the registration information and is transmitted to the second domain route server.
And S12B, the second domain routing server receives the shared information transmitted by the second domain proxy server.
And S13B, the second domain routing server sends the shared information to the second domain visitor.
And S14B, the second domain visitor receives the shared information sent by the second domain routing server.
And S211B, when the second domain publisher determines that the shared information needs to be sent to the second domain visitor, sending the published information corresponding to the shared information to the second domain routing server.
And S212B, the second domain routing server receives the publishing information.
S213B, the second domain publisher sends the sharing information to the second domain sharing server.
S22B, the second domain sharing server receives and stores the sharing information sent by the second domain publisher, and informs the second domain routing server.
S23B, the second domain route server receives the notice, and generates the registration information of the shared information according to the release information and the notice.
S23B, when the second domain visitor determines that the shared information needs to be acquired, sends a second acquisition request for subscribing the shared information to the second domain routing server.
S24B, after receiving the second obtaining request, the second domain routing server establishes the publishing and subscribing relationship between the shared information and the second domain visitor; and acquiring the shared information from the central domain server according to the generated at least one registration information and the established at least one publishing and subscribing relationship after receiving the notification once or every preset time.
And S25B, the second domain routing server sends the shared information to the second domain visitor.
And S26B, the second domain visitor receives the shared information sent by the second domain routing server.
In the implementation process, the above steps are not necessarily implemented in the order described above, for example, after the first domain publisher sends the published information to the central domain routing server through the first domain proxy server, when the shared information is not yet sent, the second domain visitor sends a second acquisition request for subscribing to the shared information to the second domain proxy server, and the execution order of the steps is not limited herein.
Based on the above inventive concept, the embodiment of the present invention further provides a second service system for implementing the above method, which is not described herein again.
Based on the inventive concept, the embodiment of the invention also provides an information sharing method corresponding to the first domain proxy server, the central domain routing server and the second domain proxy server.
As shown in fig. 8, the information sharing method applied to the first domain proxy server includes:
s110', receiving the sharing information sent by the first domain publisher, and forwarding to the central domain sharing server; so that the central domain sharing server stores the shared information and notifies the central domain routing server, so that the central domain routing server generates registration information of the shared information; so that the second domain proxy server sends a first acquisition request for acquiring the shared information to the central domain routing server; the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server, so that the second domain proxy server obtains the shared information from the central domain sharing server according to the registration information and sends the shared information to a second domain visitor through the second domain routing server;
and the shared information is sent to the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
Optionally, if the scheme adopts a publish-subscribe mode, before the step S110' receives the shared information sent by the publisher in the first domain, the method further includes:
s100', receiving release information corresponding to the shared information sent by the first domain publisher, and forwarding the release information to a central domain routing server; the central domain routing server generates registration information of the shared information according to the release information and the notification, and after receiving a first acquisition request for subscribing the shared information sent by a second domain proxy server, searches the registration information from at least one generated registration information and sends the registration information to the second domain proxy server; and after the second domain proxy server is spaced for preset time, acquiring the shared information from the central domain shared server according to the registration information and sending the shared information to a second domain visitor through a second domain routing server.
If the scheme adopts the observer mode, the specific implementation may refer to the corresponding content in the second service system described above, and details are not described here.
As shown in fig. 9, the information sharing method applied to the central domain routing server includes:
s210, receiving a notice of stored shared information sent by a central domain sharing server, and generating registration information of the shared information; and the shared information is information stored by the central domain shared server through the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
S220', after receiving a first acquisition request sent by a second domain proxy server, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server; and the second domain proxy server acquires the shared information from the central domain shared server according to the registration information and sends the shared information to a second domain visitor through a second domain routing server.
Optionally, if the scheme is the observer mode, the first obtaining request is a request for directly obtaining the shared information;
after receiving the first obtaining request sent by the second domain proxy server, the step S220' searches for the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server, including:
and after receiving the first acquisition request sent by the second domain proxy server every time, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server.
Optionally, if the scheme is a publish-subscribe mode, the first acquisition request is a request for subscribing to the shared information;
before the step S210, the method further includes (not shown in fig. 9):
s200, receiving release information corresponding to the shared information and sent by a first domain proxy server;
in step S210, generating registration information of the shared information includes:
generating registration information of the shared information according to the release information and the notification;
in step S220', after receiving the first obtaining request sent by the second domain proxy server, obtaining, according to the generated at least one registration information, shared information corresponding to the first obtaining request from the central domain server, specifically including (not shown in fig. 9):
after receiving a first acquisition request sent by a second domain proxy server, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server; after the second domain proxy server is spaced for preset time, the shared information is obtained from the central domain shared server according to the registration information and is sent to a second domain visitor through a second domain routing server;
and the publishing information is sent to the first domain proxy server when the first domain publisher determines that the sharing information needs to be sent to other domain visitors.
As shown in fig. 10, the information sharing method applied to the second domain proxy server includes:
s310', after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; so that the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server; the shared information is sent to a first domain proxy server when a first domain publisher determines that the shared information needs to be sent to other domain visitors, so that the first domain proxy server forwards the information stored by the central domain shared server; the registration information is generated by the central domain routing server after the central domain sharing server stores the sharing information and informs the central domain routing server;
s320', receiving the registration information sent by the central domain routing server, acquiring the sharing information from the central domain sharing server by using the registration information, and transmitting the sharing information to a second domain routing server; so that the second domain routing server sends the shared information to the second domain visitor.
Optionally, if the scheme is the observer mode, the first obtaining request and the second obtaining request are requests for directly obtaining the shared information;
after the step S310' receives a second obtaining request for obtaining shared information sent by a second domain visitor, a first obtaining request for obtaining the shared information is generated according to the second obtaining request and sent to a central domain routing server, where the step S includes:
and generating a first acquisition request for acquiring the shared information according to the second acquisition request and sending the first acquisition request to the central domain routing server every time the second acquisition request for acquiring the shared information is sent by the second domain visitor.
Optionally, the second obtaining request is a request sent to a second domain proxy server after the second domain visitor fails to request the second domain routing server to obtain the shared information.
Optionally, if the scheme is a publish-subscribe mode, the first obtaining request and the second obtaining request are requests for subscribing to the shared information;
after the step S310' receives a second obtaining request for obtaining shared information sent by a second domain visitor, a first obtaining request for obtaining the shared information is generated according to the second obtaining request and sent to a central domain routing server, where the step S includes:
after receiving a second acquisition request for subscribing the shared information sent by a second domain visitor for the first time, generating a first acquisition request for subscribing the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; enabling the central domain routing server to generate registration information of the shared information according to the publishing information, corresponding to the shared information, sent by the first domain publisher before sending the shared information, and after receiving the first acquisition request subscribing the shared information, searching the registration information from at least one generated registration information and sending the registration information to the second domain proxy server;
the step S320' of receiving the registration information sent by the central domain routing server, acquiring the sharing information from the central domain sharing server by using the registration information, and transmitting the sharing information to the second domain routing server includes:
and receiving the registration information sent by the central domain routing server, and after a preset time interval, acquiring the shared information from the central domain sharing server according to the registration information and sending the shared information to a second domain visitor through a second domain routing server.
In the specific implementation process, the remaining specific implementation manners of the information sharing method applied to the first domain proxy server/the central domain routing server/the second domain proxy server may be implemented by referring to the content of the second service system described above, and are not described herein again.
Based on the same inventive concept, an embodiment of the present invention further provides an information sharing apparatus, as shown in fig. 11, including:
the sending module M110' is used for receiving the sharing information sent by the first domain publisher and forwarding the sharing information to the central domain sharing server; so that the central domain sharing server stores the shared information and notifies the central domain routing server, so that the central domain routing server generates registration information of the shared information; so that the second domain proxy server sends a first acquisition request for acquiring the shared information to the central domain routing server; the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server, so that the second domain proxy server obtains the shared information from the central domain sharing server according to the registration information and sends the shared information to a second domain visitor through the second domain routing server;
and the shared information is sent to the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
Optionally, the information sharing apparatus further includes:
the publishing module M100' is configured to receive publishing information corresponding to the shared information sent by the first domain publisher, and forward the publishing information to the central domain routing server; the central domain routing server generates registration information of the shared information according to the release information and the notification, and after receiving a first acquisition request for subscribing the shared information sent by a second domain proxy server, searches the registration information from at least one generated registration information and sends the registration information to the second domain proxy server; and after the second domain proxy server is spaced for preset time, acquiring the shared information from the central domain shared server according to the registration information and sending the shared information to a second domain visitor through a second domain routing server.
Based on the same inventive concept, an embodiment of the present invention further provides an information sharing apparatus, as shown in fig. 12, including:
a registration module M210, configured to receive a notification of stored shared information sent by a central domain sharing server, and generate registration information of the shared information; the shared information is information stored by the central domain shared server through the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors;
the search sending module M220' is configured to, after receiving a first acquisition request sent by a second domain proxy server, search for the registration information from the generated at least one registration information and send the registration information to the second domain proxy server; and the second domain proxy server acquires the shared information from the central domain shared server according to the registration information and sends the shared information to a second domain visitor through a second domain routing server.
Optionally, the first obtaining request is a request for directly obtaining the shared information;
the search sending module M220' is specifically configured to:
and after receiving the first acquisition request sent by the second domain proxy server every time, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server.
Optionally, the first obtaining request is a request for subscribing to the shared information;
the information sharing apparatus further includes (not shown in fig. 12):
the publishing module M200 is configured to receive publishing information corresponding to the shared information sent by the first domain proxy server;
the registration module M210 is specifically configured to:
generating registration information of the shared information according to the release information and the notification;
the search sending module M220' is specifically configured to:
after receiving a first acquisition request sent by a second domain proxy server, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server; after the second domain proxy server is spaced for preset time, the shared information is obtained from the central domain shared server according to the registration information and is sent to a second domain visitor through a second domain routing server;
and the publishing information is sent to the first domain proxy server when the first domain publisher determines that the sharing information needs to be sent to other domain visitors.
Based on the same inventive concept, an embodiment of the present invention further provides an information sharing apparatus, as shown in fig. 13, including:
the request module M310' is configured to receive a second acquisition request for acquiring shared information sent by a second domain visitor, generate a first acquisition request for acquiring the shared information according to the second acquisition request, and send the first acquisition request to the central domain routing server; so that the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server; the shared information is sent to a first domain proxy server when a first domain publisher determines that the shared information needs to be sent to other domain visitors, so that the first domain proxy server forwards the information stored by the central domain shared server; the registration information is generated by the central domain routing server after the central domain sharing server stores the sharing information and informs the central domain routing server;
a receiving module M320' configured to receive the registration information sent by the central domain routing server, obtain the shared information from the central domain sharing server by using the registration information, and transmit the shared information to a second domain routing server; so that the second domain routing server sends the shared information to the second domain visitor.
Optionally, the first obtaining request and the second obtaining request are requests for directly obtaining the shared information;
the request module M310' is specifically configured to:
and generating a first acquisition request for acquiring the shared information according to the second acquisition request and sending the first acquisition request to the central domain routing server every time the second acquisition request for acquiring the shared information is sent by the second domain visitor.
Optionally, the second obtaining request is a request sent to a second domain proxy server after the second domain visitor fails to request the second domain routing server to obtain the shared information.
Optionally, the first obtaining request and the second obtaining request are requests for subscribing to the shared information;
the request module M310' is specifically configured to:
after receiving a second acquisition request for subscribing the shared information sent by a second domain visitor for the first time, generating a first acquisition request for subscribing the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; enabling the central domain routing server to generate registration information of the shared information according to the publishing information, corresponding to the shared information, sent by the first domain publisher before sending the shared information, and after receiving the first acquisition request subscribing the shared information, searching the registration information from at least one generated registration information and sending the registration information to the second domain proxy server;
the receiving module M320' is specifically configured to:
and receiving the registration information sent by the central domain routing server, and after a preset time interval, acquiring the shared information from the central domain sharing server according to the registration information and sending the shared information to a second domain visitor through a second domain routing server.
It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation. In addition, each module in the embodiments of the present application may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a form of hardware or a form of a software functional unit.
Since the specific manner in which each module of the three information sharing apparatuses performs operations has been described in detail in the embodiments related to the method, it is not described herein again.
Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, as shown in fig. 14, including: a processor and a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement an information sharing method applied to a first domain proxy server corresponding to the first service system or the second service system, or an information sharing method applied to a central domain routing server corresponding to the first service system or the second service system, or an information sharing method applied to a second domain proxy server corresponding to the first service system or the second service system.
In particular implementations, the apparatus may vary significantly depending on configuration or performance, and may include one or more processors 110, a memory 120, a computer-readable storage medium 130, with one or more applications 131 or data 132 included in the memory 120 and/or the computer-readable storage medium 130. The memory 120 and/or computer-readable storage medium 130 may also include one or more operating systems 133 therein, such as Windows, Mac OS, Linux, IOS, Android, Unix, FreeBSD, and the like. Memory 120 and computer-readable storage medium 130 may be, among other things, transient storage or persistent storage. The application 131 may include one or more of the modules (not shown in fig. 14), each of which may include a series of instruction operations. Still further, the processor 110 may be configured to communicate with a computer-readable storage medium 130, on which a series of instruction operations in the storage medium 130 are executed. The apparatus may also include one or more power supplies (not shown in FIG. 14); one or more network interfaces 140, the network interfaces 140 comprising a wired network interface 141 and/or a wireless network interface 142; one or more input-output interfaces 143.
Based on the same inventive concept, the embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored; the computer program is used for implementing an information sharing method applied to a first domain proxy server corresponding to the first service system or the second service system, or implementing an information sharing method applied to a central domain routing server corresponding to the first service system or the second service system, or implementing an information sharing method applied to a second domain proxy server corresponding to the first service system or the second service system.
Based on the same inventive concept, an embodiment of the present invention further provides a computer program product, including a computer program, where the computer program is used to implement an information sharing method applied to a first domain proxy server corresponding to the first service system or the second service system, or to implement an information sharing method applied to a central domain routing server corresponding to the first service system or the second service system, or to implement an information sharing method applied to a second domain proxy server corresponding to the first service system or the second service system.
According to the information sharing method, device, equipment, system, storage medium and program product provided by the embodiment of the invention, a central domain is added in a service system consisting of a plurality of domains to transfer information needing cross-domain sharing, so that compared with direct connection of each domain, the architecture of the service system is simplified, and flexible cross-domain sharing of the information is realized. And each domain processes the shared information transmitted by other domains through the domain proxy server, so that loose coupling of the information sending and information obtaining processes is realized.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (31)

1. An information sharing method applied to a central domain routing server includes:
receiving a notice of stored shared information sent by a central domain sharing server, and generating registration information of the shared information; the shared information is information stored by the central domain shared server through the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors;
after receiving a first acquisition request sent by a second domain proxy server, acquiring shared information corresponding to the first acquisition request from the central domain shared server according to the generated at least one registration message;
sending the acquired sharing information to the second domain proxy server; so that the second domain proxy server sends the shared information to the second domain visitor through the second domain routing server.
2. The method of claim 1, wherein the first acquisition request is a request to directly acquire the shared information;
after receiving a first acquisition request sent by a second domain proxy server, acquiring shared information corresponding to the first acquisition request from the central domain server according to the generated at least one registration message, including:
and acquiring the shared information corresponding to the first acquisition request from the central domain server according to the generated at least one registration message every time the first acquisition request sent by the second domain proxy server is received.
3. The method of claim 1, wherein the first acquisition request is a request to subscribe to the shared information;
before receiving the notification of the saved shared information sent by the central domain sharing server, the method further includes:
receiving release information corresponding to the shared information and sent by a first domain proxy server;
generating registration information of the shared information, including:
generating registration information of the shared information according to the release information and the notification;
after receiving a first acquisition request sent by a second domain proxy server, acquiring shared information corresponding to the first acquisition request from the central domain server according to the generated at least one registration message, including:
after receiving a first acquisition request sent by a second domain proxy server, establishing a publishing and subscribing relationship between the shared information and a second domain visitor;
acquiring the shared information from the central domain server according to the generated at least one registration information and the established at least one publishing and subscribing relationship after receiving the notification once or every preset time;
and the publishing information is sent to the first domain proxy server when the first domain publisher determines that the sharing information needs to be sent to other domain visitors.
4. An information sharing method applied to a first domain proxy server is characterized by comprising the following steps:
receiving shared information sent by a first domain publisher, and forwarding the shared information to a central domain shared server; so that the central domain sharing server stores the shared information and notifies the central domain routing server, so that the central domain routing server generates registration information of the shared information; so that the second domain proxy server sends a first acquisition request for acquiring the shared information to the central domain routing server; the central domain routing server acquires the shared information corresponding to the first acquisition request from the central domain shared server according to the generated at least one registration message and sends the shared information to the second domain proxy server; so that the second domain proxy server sends the shared information to the second domain visitor through a second domain routing server;
and the shared information is sent to the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
5. The method of claim 4, wherein prior to receiving the shared information sent by the first domain publisher, further comprising:
receiving release information corresponding to the shared information and sent by the first domain publisher, and forwarding the release information to a central domain routing server; the central domain routing server generates registration information of the shared information according to the release information and the notification, establishes a release and subscription relationship between the shared information and a second domain visitor after receiving a first acquisition request for subscribing the shared information sent by a second domain proxy server, and acquires the shared information from the central domain server according to the generated at least one registration information and the established at least one release and subscription relationship and sends the shared information to the second domain proxy server after receiving the notification once or at preset intervals; so that the second domain proxy server sends the shared information to the second domain visitor through a second domain routing server.
6. An information sharing method applied to a second domain proxy server is characterized by comprising the following steps:
after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; the central domain routing server acquires the shared information from the central domain sharing server according to the generated at least one registration information and sends the shared information to the second domain proxy server; the shared information is sent to a first domain proxy server when a first domain publisher determines that the shared information needs to be sent to other domain visitors, so that the first domain proxy server forwards the information stored by the central domain shared server; the registration information is generated by the central domain routing server after the central domain sharing server stores the sharing information and informs the central domain routing server;
receiving the sharing information sent by the central domain routing server and transmitting the sharing information to a second domain routing server; so that the second domain routing server sends the shared information to the second domain visitor.
7. The method of claim 6, wherein the first acquisition request and the second acquisition request are requests to directly acquire the shared information;
after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server, wherein the method comprises the following steps:
and generating a first acquisition request for acquiring the shared information according to the second acquisition request and sending the first acquisition request to the central domain routing server every time the second acquisition request for acquiring the shared information is sent by the second domain visitor.
8. The method of claim 6 or 7, wherein the second acquisition request is a request sent to a second domain proxy server after the second domain visitor fails to request the second domain routing server to acquire the shared information.
9. The method of claim 6, wherein the first acquisition request and the second acquisition request are requests to subscribe to the shared information;
after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server, wherein the method comprises the following steps:
after receiving a second acquisition request for subscribing the shared information sent by a second domain visitor for the first time, generating a first acquisition request for subscribing the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; the central domain routing server generates registration information of the shared information according to the published information corresponding to the shared information sent by the first domain publisher before sending the shared information, establishes a publish-subscribe relationship between the shared information and the second domain visitor after receiving the first acquisition request for subscribing the shared information, and acquires the shared information from the central domain server according to the generated at least one registration information and the established at least one publish-subscribe relationship and sends the shared information to the second domain proxy server after receiving the shared information once or at preset time intervals.
10. A business system, comprising:
the first domain publisher is used for sending the shared information to the first domain proxy server when determining that the shared information needs to be sent to other domain visitors;
the first domain proxy server is used for receiving the sharing information sent by the first domain publisher and forwarding the sharing information to the central domain sharing server;
the central domain sharing server is used for storing the sharing information and informing the central domain routing server;
the central domain routing server is used for receiving a notice that the shared information is stored and sent by the central domain sharing server and generating registration information of the shared information; after a first acquisition request for acquiring the shared information sent by a second domain proxy server is received, acquiring the shared information corresponding to the first acquisition request from the central domain shared server according to the generated at least one registration information; sending the acquired sharing information to the second domain proxy server;
the second domain visitor is used for sending a second acquisition request for acquiring the shared information to the second domain proxy server; receiving the sharing information sent by a second domain routing server;
the second domain proxy server is configured to generate the first acquisition request according to the second acquisition request and send the first acquisition request to the central domain routing server after receiving the second acquisition request sent by the second domain visitor; receiving the sharing information sent by the central domain routing server and transmitting the sharing information to the second domain routing server;
and the second domain routing server is used for receiving the shared information transmitted by the second domain proxy server and sending the shared information to the second domain visitor.
11. An information sharing method is applied to a service system, and comprises the following steps:
when a first domain publisher determines that shared information needs to be sent to other domain visitors, the first domain publisher sends the shared information to a first domain proxy server;
the first domain proxy server receives the sharing information sent by the first domain publisher and forwards the sharing information to a central domain sharing server;
the central domain sharing server receives and stores the sharing information sent by the first domain proxy server, and informs a central domain routing server;
after receiving the notification, the central domain routing server generates registration information of the shared information;
when the second domain visitor determines that the shared information needs to be acquired, a second acquisition request for acquiring the shared information is sent to a second domain proxy server;
after receiving the second acquisition request sent by the second domain visitor, the second domain proxy server generates a first acquisition request for acquiring the shared information according to the second acquisition request and sends the first acquisition request to the central domain routing server;
after receiving the first acquisition request sent by the second domain proxy server, the central domain routing server acquires the shared information corresponding to the first acquisition request from the central domain shared server according to the generated at least one registration information;
the central domain routing server sends the acquired sharing information to the second domain proxy server;
the second domain proxy server receives the shared information sent by the central domain routing server and transmits the shared information to the second domain routing server;
the second domain routing server receives the shared information transmitted by the second domain proxy server and sends the shared information to the second domain visitor;
and the second domain visitor receives the shared information sent by the second domain routing server.
12. An information sharing apparatus, comprising:
the registration module is used for receiving a notice of stored shared information sent by a central domain sharing server and generating registration information of the shared information; the shared information is information stored by the central domain shared server through the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors;
the search module is used for acquiring shared information corresponding to a first acquisition request from the central domain sharing server according to the generated at least one registration message after receiving the first acquisition request sent by the second domain proxy server;
a sending module, configured to send the acquired shared information to the second domain proxy server; so that the second domain proxy server sends the shared information to the second domain visitor through the second domain routing server.
13. An information sharing apparatus, comprising:
the sending module is used for receiving the sharing information sent by the first domain publisher and forwarding the sharing information to the central domain sharing server; so that the central domain sharing server stores the shared information and notifies the central domain routing server, so that the central domain routing server generates registration information of the shared information; so that the second domain proxy server sends a first acquisition request for acquiring the shared information to the central domain routing server; the central domain routing server acquires the shared information corresponding to the first acquisition request from the central domain shared server according to the generated at least one registration message and sends the shared information to the second domain proxy server; so that the second domain proxy server sends the shared information to the second domain visitor through a second domain routing server;
and the shared information is sent to the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
14. An information sharing apparatus, comprising:
the request module is used for generating a first acquisition request for acquiring the shared information according to a second acquisition request after receiving the second acquisition request for acquiring the shared information sent by a second domain visitor and sending the first acquisition request to the central domain routing server; the central domain routing server acquires the shared information from the central domain sharing server according to the generated at least one registration information and sends the shared information to the second domain proxy server; the shared information is sent to a first domain proxy server when a first domain publisher determines that the shared information needs to be sent to other domain visitors, so that the first domain proxy server forwards the information stored by the central domain shared server; the registration information is generated by the central domain routing server after the central domain sharing server stores the sharing information and informs the central domain routing server;
the receiving module is used for receiving the sharing information sent by the central domain routing server and transmitting the sharing information to the second domain routing server; so that the second domain routing server sends the shared information to the second domain visitor.
15. An information sharing method applied to a central domain routing server includes:
receiving a notice of stored shared information sent by a central domain sharing server, and generating registration information of the shared information; the shared information is information stored by the central domain shared server through the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors;
after receiving a first acquisition request sent by a second domain proxy server, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server; and the second domain proxy server acquires the shared information from the central domain shared server according to the registration information and sends the shared information to a second domain visitor through a second domain routing server.
16. The method of claim 15, wherein the first acquisition request is a request to directly acquire the shared information;
after receiving a first acquisition request sent by a second domain proxy server, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server, wherein the method comprises the following steps:
and after receiving the first acquisition request sent by the second domain proxy server every time, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server.
17. The method of claim 15, wherein the first acquisition request is a request to subscribe to the shared information;
before receiving the notification of the saved shared information sent by the central domain sharing server, the method further includes:
receiving release information corresponding to the shared information and sent by a first domain proxy server;
generating registration information of the shared information, including:
generating registration information of the shared information according to the release information and the notification;
after receiving a first acquisition request sent by a second domain proxy server, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server, wherein the method comprises the following steps:
after receiving a first acquisition request sent by a second domain proxy server, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server; after the second domain proxy server is spaced for preset time, the shared information is obtained from the central domain shared server according to the registration information and is sent to a second domain visitor through a second domain routing server;
and the publishing information is sent to the first domain proxy server when the first domain publisher determines that the sharing information needs to be sent to other domain visitors.
18. An information sharing method applied to a first domain proxy server includes:
receiving shared information sent by a first domain publisher, and forwarding the shared information to a central domain shared server; so that the central domain sharing server stores the shared information and notifies the central domain routing server, so that the central domain routing server generates registration information of the shared information; so that the second domain proxy server sends a first acquisition request for acquiring the shared information to the central domain routing server; the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server, so that the second domain proxy server obtains the shared information from the central domain sharing server according to the registration information and sends the shared information to a second domain visitor through the second domain routing server;
and the shared information is sent to the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
19. The method of claim 18, wherein prior to receiving the shared information sent by the first domain publisher, further comprising:
receiving release information corresponding to the shared information and sent by the first domain publisher, and forwarding the release information to a central domain routing server; the central domain routing server generates registration information of the shared information according to the release information and the notification, and after receiving a first acquisition request for subscribing the shared information sent by a second domain proxy server, searches the registration information from at least one generated registration information and sends the registration information to the second domain proxy server; and after the second domain proxy server is spaced for preset time, acquiring the shared information from the central domain shared server according to the registration information and sending the shared information to a second domain visitor through a second domain routing server.
20. An information sharing method applied to a second domain proxy server is characterized by comprising the following steps:
after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; so that the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server; the shared information is sent to a first domain proxy server when a first domain publisher determines that the shared information needs to be sent to other domain visitors, so that the first domain proxy server forwards the information stored by the central domain shared server; the registration information is generated by the central domain routing server after the central domain sharing server stores the sharing information and informs the central domain routing server;
receiving the registration information sent by the central domain routing server, acquiring the sharing information from the central domain sharing server by using the registration information, and transmitting the sharing information to a second domain routing server; so that the second domain routing server sends the shared information to the second domain visitor.
21. The method of claim 20, wherein the first acquisition request and the second acquisition request are requests to directly acquire the shared information;
after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server, wherein the method comprises the following steps:
and generating a first acquisition request for acquiring the shared information according to the second acquisition request and sending the first acquisition request to the central domain routing server every time the second acquisition request for acquiring the shared information is sent by the second domain visitor.
22. The method of claim 20 or 21, wherein the second acquisition request is a request sent to a second domain proxy server after the second domain visitor fails to request the second domain routing server to acquire the shared information.
23. The method of claim 20, wherein the first acquisition request and the second acquisition request are requests to subscribe to the shared information;
after receiving a second acquisition request for acquiring shared information sent by a second domain visitor, generating a first acquisition request for acquiring the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server, wherein the method comprises the following steps:
after receiving a second acquisition request for subscribing the shared information sent by a second domain visitor for the first time, generating a first acquisition request for subscribing the shared information according to the second acquisition request, and sending the first acquisition request to a central domain routing server; enabling the central domain routing server to generate registration information of the shared information according to the publishing information, corresponding to the shared information, sent by the first domain publisher before sending the shared information, and after receiving the first acquisition request subscribing the shared information, searching the registration information from at least one generated registration information and sending the registration information to the second domain proxy server;
receiving the registration information sent by the central domain routing server, acquiring the sharing information from the central domain sharing server by using the registration information, and transmitting the sharing information to a second domain routing server, wherein the method comprises the following steps:
and receiving the registration information sent by the central domain routing server, and after a preset time interval, acquiring the shared information from the central domain sharing server according to the registration information and sending the shared information to a second domain visitor through a second domain routing server.
24. A business system, comprising:
the first domain publisher is used for sending the shared information to the first domain proxy server when determining that the shared information needs to be sent to other domain visitors;
the first domain proxy server is used for receiving the sharing information sent by the first domain publisher and forwarding the sharing information to the central domain sharing server;
the central domain sharing server is used for storing the sharing information and informing the central domain routing server;
the central domain routing server is used for receiving a notice that the shared information is stored and sent by the central domain sharing server and generating registration information of the shared information; after receiving a first acquisition request for acquiring the shared information sent by a second domain proxy server, searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server;
the second domain visitor is used for sending a second acquisition request for acquiring the shared information to the second domain proxy server; receiving the sharing information sent by a second domain routing server;
the second domain proxy server is configured to generate the first acquisition request according to the second acquisition request and send the first acquisition request to the central domain routing server after receiving the second acquisition request sent by the second domain visitor; receiving the registration information sent by the central domain routing server, acquiring the sharing information from the central domain sharing server by using the registration information, and transmitting the sharing information to the second domain routing server;
and the second domain routing server is used for receiving the shared information transmitted by the second domain proxy server and sending the shared information to the second domain visitor.
25. An information sharing method is applied to a service system, and comprises the following steps:
when a first domain publisher determines that shared information needs to be sent to other domain visitors, the first domain publisher sends the shared information to a first domain proxy server;
the first domain proxy server receives the sharing information sent by the first domain publisher and forwards the sharing information to a central domain sharing server;
the central domain sharing server receives and stores the sharing information sent by the first domain proxy server, and informs a central domain routing server;
after receiving the notification, the central domain routing server generates registration information of the shared information;
when the second domain visitor determines that the shared information needs to be acquired, a second acquisition request for acquiring the shared information is sent to a second domain proxy server;
after receiving the second acquisition request sent by the second domain visitor, the second domain proxy server generates a first acquisition request for acquiring the shared information according to the second acquisition request and sends the first acquisition request to the central domain routing server;
after receiving the first acquisition request sent by the second domain proxy server, the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server;
the second domain proxy server receives the registration information sent by the central domain routing server, acquires the sharing information from the central domain sharing server according to the registration information and transmits the sharing information to the second domain routing server;
the second domain routing server receives the shared information transmitted by the second domain proxy server and sends the shared information to the second domain visitor;
and the second domain visitor receives the shared information sent by the second domain routing server.
26. An information sharing apparatus, comprising:
the registration module is used for receiving a notice of stored shared information sent by a central domain sharing server and generating registration information of the shared information; the shared information is information stored by the central domain shared server through the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors;
the search sending module is used for searching the registration information from the generated at least one registration information and sending the registration information to the second domain proxy server after receiving a first acquisition request sent by the second domain proxy server; and the second domain proxy server acquires the shared information from the central domain shared server according to the registration information and sends the shared information to a second domain visitor through a second domain routing server.
27. An information sharing apparatus, comprising:
the sending module is used for receiving the sharing information sent by the first domain publisher and forwarding the sharing information to the central domain sharing server; so that the central domain sharing server stores the shared information and notifies the central domain routing server, so that the central domain routing server generates registration information of the shared information; so that the second domain proxy server sends a first acquisition request for acquiring the shared information to the central domain routing server; the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server, so that the second domain proxy server obtains the shared information from the central domain sharing server according to the registration information and sends the shared information to a second domain visitor through the second domain routing server;
and the shared information is sent to the first domain proxy server when the first domain publisher determines that the shared information needs to be sent to other domain visitors.
28. An information sharing apparatus, comprising:
the request module is used for generating a first acquisition request for acquiring the shared information according to a second acquisition request after receiving the second acquisition request for acquiring the shared information sent by a second domain visitor and sending the first acquisition request to the central domain routing server; so that the central domain routing server searches the registration information from the generated at least one registration information and sends the registration information to the second domain proxy server; the shared information is sent to a first domain proxy server when a first domain publisher determines that the shared information needs to be sent to other domain visitors, so that the first domain proxy server forwards the information stored by the central domain shared server; the registration information is generated by the central domain routing server after the central domain sharing server stores the sharing information and informs the central domain routing server;
the receiving module is used for receiving the registration information sent by the central domain routing server, acquiring the sharing information from the central domain sharing server by using the registration information and transmitting the sharing information to a second domain routing server; so that the second domain routing server sends the shared information to the second domain visitor.
29. An electronic device, comprising: a processor and a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the information sharing method of any one of claims 1-3, or to implement the information sharing method of any one of claims 4-5, or to implement the information sharing method of any one of claims 6-9, or to implement the information sharing method of any one of claims 15-17, or to implement the information sharing method of any one of claims 18-19, or to implement the information sharing method of any one of claims 20-23.
30. A computer-readable storage medium storing a computer program, characterized in that the computer program is used to implement the information sharing method according to any one of claims 1 to 3, or to implement the information sharing method according to any one of claims 4 to 5, or to implement the information sharing method according to any one of claims 6 to 9, or to implement the information sharing method according to any one of claims 15 to 17, or to implement the information sharing method according to any one of claims 18 to 19, or to implement the information sharing method according to any one of claims 20 to 23.
31. A computer program product comprising a computer program, characterized in that the computer program is used to implement the information sharing method according to any one of claims 1-3, or to implement the information sharing method according to any one of claims 4-5, or to implement the information sharing method according to any one of claims 6-9, or to implement the information sharing method according to any one of claims 15-17, or to implement the information sharing method according to any one of claims 18-19, or to implement the information sharing method according to any one of claims 20-23.
CN202111546043.6A 2021-12-16 2021-12-16 Information sharing method, device, equipment, system and storage medium Active CN114172837B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111546043.6A CN114172837B (en) 2021-12-16 2021-12-16 Information sharing method, device, equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111546043.6A CN114172837B (en) 2021-12-16 2021-12-16 Information sharing method, device, equipment, system and storage medium

Publications (2)

Publication Number Publication Date
CN114172837A true CN114172837A (en) 2022-03-11
CN114172837B CN114172837B (en) 2023-04-07

Family

ID=80487028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111546043.6A Active CN114172837B (en) 2021-12-16 2021-12-16 Information sharing method, device, equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN114172837B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090282005A1 (en) * 2008-05-09 2009-11-12 Samsung Electronics Co. Ltd. Sip network-based content sharing method and system
US20100131554A1 (en) * 2008-11-26 2010-05-27 Yahoo! Inc. System and method for publishing messages asynchronously in a distributed database
US20160241642A1 (en) * 2013-09-26 2016-08-18 Zte Corporation Multimedia sharing method, registration method, server and proxy server
CN108600326A (en) * 2018-03-29 2018-09-28 阿里巴巴集团控股有限公司 Communication means, device and equipment
CN109618005A (en) * 2019-01-18 2019-04-12 华为终端有限公司 Method for calling server and proxy server
CN110636500A (en) * 2019-08-27 2019-12-31 西安电子科技大学 Access control system and method supporting cross-domain data sharing and wireless communication system
CN111666514A (en) * 2020-04-28 2020-09-15 平安科技(深圳)有限公司 Data processing method and device for realizing cross-domain request at webpage end and related equipment
CN111711663A (en) * 2020-05-26 2020-09-25 北京金山云网络技术有限公司 Processing method and device for publishing and subscribing services and electronic equipment
CN111984289A (en) * 2020-07-31 2020-11-24 广州市百果园信息技术有限公司 Service updating method, device, equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090282005A1 (en) * 2008-05-09 2009-11-12 Samsung Electronics Co. Ltd. Sip network-based content sharing method and system
US20100131554A1 (en) * 2008-11-26 2010-05-27 Yahoo! Inc. System and method for publishing messages asynchronously in a distributed database
US20160241642A1 (en) * 2013-09-26 2016-08-18 Zte Corporation Multimedia sharing method, registration method, server and proxy server
CN108600326A (en) * 2018-03-29 2018-09-28 阿里巴巴集团控股有限公司 Communication means, device and equipment
CN109618005A (en) * 2019-01-18 2019-04-12 华为终端有限公司 Method for calling server and proxy server
CN110636500A (en) * 2019-08-27 2019-12-31 西安电子科技大学 Access control system and method supporting cross-domain data sharing and wireless communication system
CN111666514A (en) * 2020-04-28 2020-09-15 平安科技(深圳)有限公司 Data processing method and device for realizing cross-domain request at webpage end and related equipment
CN111711663A (en) * 2020-05-26 2020-09-25 北京金山云网络技术有限公司 Processing method and device for publishing and subscribing services and electronic equipment
CN111984289A (en) * 2020-07-31 2020-11-24 广州市百果园信息技术有限公司 Service updating method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114172837B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
EP3138003B1 (en) System and method for supporting a bypass-domain model and a proxy model and updating service information for across-domain messaging in a transactional middleware machine environment
CN111711663A (en) Processing method and device for publishing and subscribing services and electronic equipment
CN106817408B (en) Distributed server cluster scheduling method and device
WO2021129008A1 (en) Service invocation method, apparatus and device, and medium
US20220271924A1 (en) Method and apparatus for processing data request
RU2008138577A (en) NETWORK SYSTEM
CN106712981A (en) Method and device for informing node change
US8606908B2 (en) Wake-up server
CN110012083A (en) A kind of data transmission method, server and data transmission device
CN105099763A (en) Method and device for reminding lost connection of equipment
CN110417646A (en) The method and device for subscribing to message are pushed based on RPC application program
CN114172837B (en) Information sharing method, device, equipment, system and storage medium
CN110780973A (en) Virtual machine migration device, method, equipment and readable storage medium
CN105938490B (en) Intelligent switching method and system for web application system connection data source
CN111798207A (en) Mail processing method, device, equipment and medium
CN106254814B (en) Conference recovery method, service management center and system
CN113220432B (en) Multi-cloud interconnection method, device, equipment, storage medium and product
CN107948226B (en) License management method and system
CN112527669A (en) Self-testing method and system for local service
CN112596897A (en) Method and system for multi-tenant isolation
CN114490100A (en) Message queue telemetry transmission load balancing method and device and server
CN114257632B (en) Method and device for reconnecting broken wire, electronic equipment and readable storage medium
CN102957539A (en) Digital signature management and verification system and method for distributed software
CN115827517A (en) Control method and device and computing device
CN111931211B (en) Secure multiparty computing method, device and system

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