CN114866472B - Method and system for realizing open source community access in multi-mode network - Google Patents

Method and system for realizing open source community access in multi-mode network Download PDF

Info

Publication number
CN114866472B
CN114866472B CN202210807778.8A CN202210807778A CN114866472B CN 114866472 B CN114866472 B CN 114866472B CN 202210807778 A CN202210807778 A CN 202210807778A CN 114866472 B CN114866472 B CN 114866472B
Authority
CN
China
Prior art keywords
subnet
mode
open source
access
modal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210807778.8A
Other languages
Chinese (zh)
Other versions
CN114866472A (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.)
Guangdong Communications and Networks Institute
Original Assignee
Guangdong Communications and Networks Institute
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 Guangdong Communications and Networks Institute filed Critical Guangdong Communications and Networks Institute
Priority to CN202210807778.8A priority Critical patent/CN114866472B/en
Publication of CN114866472A publication Critical patent/CN114866472A/en
Application granted granted Critical
Publication of CN114866472B publication Critical patent/CN114866472B/en
Priority to PCT/CN2023/090258 priority patent/WO2024012001A1/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/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks

Landscapes

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

Abstract

The invention discloses a method for realizing open source community access in a multi-mode network, which comprises the following steps: obtaining an interest packet of an open source community built in a first-mode subnet or a second-mode subnet, and sending the interest packet of the open source community to an edge gateway router of the first-mode subnet or an edge gateway router of the second-mode subnet according to a preset access thread rule; processing the interest packet by the edge gateway router of the first-mode subnet or the edge gateway router of the second-mode subnet to generate an access packet; and routing the access packet to the user side of the first-mode subnet through the edge gateway router of the second-mode subnet or to the user side of the second-mode subnet through the edge gateway router of the first-mode subnet so as to realize access to the open source community in the multi-mode network. Therefore, the access of the open source community of the cross-modal network can be realized, the utilization rate of resources is improved, the cost of manpower and servers is reduced, and the construction of the multi-modal network is facilitated.

Description

Method and system for realizing open source community access in multi-mode network
Technical Field
The invention relates to the technical field of information processing, in particular to a method and a system for realizing open source community access in a multi-mode network.
Background
In order to promote a multi-modal intelligent network system structure and a multi-modal intelligent network technology system and promote the formation of an open and integrated novel network scientific research and industrial innovative ecological environment, a globally open multi-modal intelligent network open-source community system is being constructed. The open source community is generally built in a network of the same modality, so that access of users in the network of the same modality to the open source community can be easily realized.
However, one network is unique and more difficult to meet the requirements of diversified scenes on network service quality, and with the construction of a multi-mode intelligent network, the coexistence of multi-mode networks will become a normal state, but a problem that users of other mode networks are difficult to access the open source community can be generated, for example, two networks with large differences in operation modes and protocols, such as an IP network and an NDN network, are difficult to access with each other based on the existing foundation and technology, so that the original open source community can not be accessed in a cross-mode network.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method and a system for realizing the access of the open source community in the multi-modal network, which can realize the access of the open source community of the cross-modal network, improve the utilization rate of resources, reduce the cost of manpower and servers, and facilitate the construction of the multi-modal network.
In order to solve the technical problem, according to a first aspect of the present invention, a method for implementing an open source community access in a multi-modal network is disclosed, including obtaining an interest package of an open source community built in a first modal subnet or a second modal subnet, where the interest package at least includes a modal address of a modal subnet where an open source community content server is located; sending the interest packet of the open source community to an edge gateway router of a first modal subnet or an edge gateway router of a second modal subnet according to a preset access thread rule; the edge gateway router of the subnet in the first mode or the edge gateway router of the subnet in the second mode processes the interest packet to generate an access packet; and routing the access packet to the user side of the first-mode subnet through the edge gateway router of the second-mode subnet or routing the access packet to the user side of the second-mode subnet through the edge gateway router of the first-mode subnet so as to realize access to the open source community in the multi-mode network.
In some embodiments, the interest package of the open source community is sent to the edge gateway router of the subnet in the first modality according to a preset access thread rule, where the access thread rule includes: sending the interest packet to a first modal subnet for content detection; and when the content is detected to comprise the second-mode subnet field, forwarding the interest packet to an edge gateway router of the first-mode subnet.
In some embodiments, the method for generating the access packet by the edge gateway router of the first-modality subnet processes the interest packet to generate the access packet includes: the edge gateway router of the first-mode subnet analyzes and processes the interest packet to generate a second-mode address and a conversion table of the open-source community content server, and encapsulates the second-mode address of the edge gateway router of the first-mode subnet as a temporary source address into a UDP data packet; forwarding the UDP packet to an edge gateway router of a second modal subnet where the open source community content server is located according to a second modal address of the open source community content server; carrying out routing addressing to an open source community content server by using a second modal address in a second modal subnet, and acquiring open source community content from the open source community content server; and the open source community content server packages the open source community content into an access packet, and the second modal address of the edge gateway router of the first modal subnet is used as a temporary destination address to send the access packet which does not belong to the second modal subnet to the edge gateway router of the second modal subnet.
In some embodiments, routing the access packet through an edge gateway router of the second-modality subnet to the user side of the first-modality subnet comprises: the edge gateway router of the second mode subnet forwards the access packet to the edge gateway router of the first mode subnet according to the conversion table; and the edge gateway router of the first-mode subnet analyzes the access packet, encapsulates the access packet into a data packet of the first mode, and forwards the data packet to the user side of the first-mode subnet by routing in the first-mode subnet through a protocol of the first-mode subnet.
In some embodiments, the interest package of the open source community is sent to an edge gateway router of a second-modality subnet according to a preset access thread rule, where the access thread rule includes: packaging the interest packet into a UDP data packet, taking a second modal address of an edge gateway router of the subnet with the first modal as a temporary destination address, and routing and addressing the UDP data packet in the subnet with the second modal address; and sending the UDP data packet which does not belong to the subnet of the second mode to the edge gateway router of the subnet of the second mode.
In some embodiments, the method for generating the access packet by the edge gateway router of the second modality subnet processes the interest packet includes: the edge gateway router of the second-mode subnet sends the UDP data packet to the edge gateway router of the first-mode subnet; the edge gateway router of the first-mode subnet analyzes the UDP data packet to generate a first-mode interest packet and a conversion table; running a first-modality protocol to detect the content of the first-modality interest packet in a first-modality subnet; when the content is detected to comprise a first mode subnet field, forwarding the interest packet to an edge gateway router of the first mode subnet to obtain open source community content; and the open source community content server packages the open source community content into an access packet and forwards the access packet to the edge gateway router of the subnet in the first mode.
In some embodiments, routing the access packet through an edge gateway router of the first-modality subnet to a customer premises of the second-modality subnet comprises: the edge gateway router of the subnet with the first mode forwards the access packet to the edge gateway router of the subnet with the second mode according to the conversion table; and the edge gateway router of the second mode subnet analyzes and encapsulates the access packet into a data packet of the second mode, and the data packet is forwarded to the user side of the second mode subnet by routing in the second mode subnet through a protocol of the second mode subnet.
In some embodiments, the first-modality subnet is an NDN subnet and the second-modality subnet is an IP subnet.
According to a second aspect of the present invention, there is disclosed a system for implementing open source community access in a multimodal network, the system comprising: establishing an open source community in a first mode subnet or a second mode subnet; a first-modality subnet including an edge gateway router of the first-modality subnet; a second-modality subnet comprising an edge gateway router of the second-modality subnet; the method for realizing the open source community access in the multi-modal network is utilized to access the second-modal subnet in the open source community in the first-modal subnet or access the first-modal subnet in the open source community in the second-modal subnet.
According to a third aspect of the present invention, a computer readable storage medium is disclosed, having stored thereon a computer program which, when executed by a processor, performs the steps in the method of implementing open source community access in a multimodal network as described above.
Compared with the prior art, the invention has the beneficial effects that:
when the open source community is built in an IP subnet, users of other modal subnets (users of NDN subnets) can access the open source community besides the user of the IP subnet can access the open source community; similarly, when the open source community is built in the NDN subnet, in addition to the user of the NDN subnet can access the open source community, the user of the subnet of other modalities (user of the IP subnet) can also access the open source community. According to the method and the system, the cross-modal data transmission logic of the two modal subnets is researched, a cross-modal mode is realized, and multi-modal network access is realized on the basis of the original open source community by utilizing the interaction between the gateway of each modal subnet and the open source community. Therefore, users of different modal networks can access the same open source community, and the user quantity of the open source community is increased; and resources consumed by building the same open source community in different modal networks can be reduced, meanwhile, personnel for maintaining websites are reduced, and content synchronism is kept.
Drawings
FIG. 1 is a schematic flowchart illustrating a method for implementing open source community access in a multi-modal network according to an embodiment of the present invention;
FIG. 2 is a logic block diagram of accessing content of an open source community in a multimodal network according to an embodiment of the present invention;
FIG. 3 is a logic block diagram of another embodiment of the present invention for accessing content of an open source community in a multimodal network;
FIG. 4 is a block diagram of a system for implementing open source community access in a multimodal network according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an interaction apparatus for implementing open source community access in a multimodal network according to an embodiment of the present invention.
Detailed Description
For better understanding and implementation, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a method and a system for realizing open source community access in a multi-mode network, which can realize multi-mode network access on the basis of the original open source community by researching cross-mode data transmission logic of two mode subnets in a cross-mode manner and utilizing the interaction between a gateway of each mode subnet and the open source community. Therefore, users of different modal networks can access the same open source community, and the user quantity of the open source community is increased; and resources consumed by building the same open source community in different modal networks can be reduced, meanwhile, personnel for maintaining websites are reduced, and content synchronism is kept.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for implementing open source community access in a multi-modal network according to an embodiment of the present invention. The method for realizing the access of the open source community in the multi-modal network can be applied to an access system of the open source community, or can be expanded to an access system or an access module of the multi-modal network of other APP terminals, and the application of the method is not limited in the embodiment of the invention. As shown in FIG. 1, the method for realizing open source community access in the multi-modal network can comprise the following operations:
101. and obtaining an interest packet of the open source community built in the first mode subnet or the second mode subnet, wherein the interest packet at least comprises a mode address of the mode subnet where the open source community content server is located.
Since in the multi-modal network, a case that two modal subnets access each other is often involved, for example, the open source community is set in one of the modal subnets, and other modal subnets to be accessed are all set in the other modal subnet, so that a problem of cross-mode access exists, and of course, a case that other third modal subnets access the open source community together is also included, according to the main concept of the present invention, an access manner of the third modal subnet may be equal to an access manner of another modal subnet not in the open source community, so in this embodiment, cross-mode access is mainly performed in two modes, namely, the first modal subnet and the second modal subnet.
The method comprises the steps of firstly obtaining an interest packet of an open source community, wherein the open source community is built in a first modal subnet or a second modal subnet, and the mode of obtaining the interest packet can be provided for contents recorded by a server of the open source community through a terminal of the open source community, wherein the interest packet can comprise a network position of a content server of the open source community, a modal address of the modal subnet where the content server of the open source community is located, such as an IP address or an NDN address, and information which can be used for determining the position where the open source community is located and the contents, such as a modal address, a content name and the like of an edge gateway router of the modal subnet where the content server of the open source community is located.
102. And sending the interest packet of the open source community to an edge gateway router of the subnet in the first mode or an edge gateway router of the subnet in the second mode according to a preset access thread rule.
And then, sending the interest packet to an edge gateway router of the modal subnet according to a preset access thread rule, and if the current position of the open source community is in the second modal subnet, processing the interest packet of the open source community according to the access thread rule and then sending the interest packet to the edge gateway router of the first modal subnet. It should be noted that, although the open source community, i.e., the server itself, is in the subnet of the second modality, the terminal according to the open source community can directly transmit on the subnet side of the first modality and process according to the access thread rule. The processing of the access thread rule is a rule obtained by the inventor according to experience accumulation of the mode subnet and the gateway, and can be specifically referred to the following content.
Similarly, if the current position of the open source community is in the subnet in the first mode, the interest packet of the open source community is processed according to the access thread rule and then is sent to the edge gateway router of the subnet in the second mode.
103. And the edge gateway router of the subnet with the first mode or the edge gateway router of the subnet with the second mode processes the interest packet to generate an access packet.
Then, the edge gateway router of the first-mode subnet or the edge gateway router of the second-mode subnet processes the interest packet, the processing mode is a key component of cross-mode access, after the interest packet is analyzed, the content in the interest packet is firstly matched with the field of the current-mode subnet (i.e. the modal subnet where the server of the open-source community is located) and the like, so that the interest packet of the open-source community can be 'understood' by the current-mode subnet, then the understood data packet is sent to interact with the modal subnet where the open source community is to be accessed, processing according to this modality of subnets may include direct communication "learning" with the servers of the open source community, which, thereafter, the "learned" data packet is then returned as an access packet to the subnet of the current modality, and for a specific implementation of this step, please refer to the following example.
104. And routing the access packet to the user side of the first-mode subnet through the edge gateway router of the second-mode subnet or routing the access packet to the user side of the second-mode subnet through the edge gateway router of the first-mode subnet so as to realize access to the open source community in the multi-mode network.
After the access packet is transmitted back to the current modal subnet, the access packet can be directly routed to the user side by the edge gateway router of the current modal subnet for simple decompression, protocol operation and other operations, and the user side can directly use the access packet to access the server of the open source community in another modal subnet, so that the access efficiency and the resource utilization rate are greatly improved, the problem that the existing server carrying is limited by multi-modal access is solved, and the layout planning of multi-modal network construction is not facilitated.
It should be noted that the open source community in this embodiment is only an example object in an application layer, and the present invention is not limited to access to the open source community by the multimodal network, and all the access to other terminals, communities, websites, etc. having servers belong to the protection scope of this embodiment.
Specifically, to explain the implementation of the present embodiment in more detail, as shown in fig. 2 and fig. 3, the overall steps are described by taking the first-modality network as an NDN network and the second-modality network as an IP network as an example.
Illustratively, as shown in FIG. 2, when a server of an open source community is hosted on a second-modality subnet, IP, subnet, a logical block diagram of the content of the open source community that a user of a first-modality subnet, NDN, subnet, wants to access.
In the implementation of this embodiment, as a premise that the steps of this embodiment are supported, the terminal of the open source community records information such as a network location and an IP address of the open source community content server, and an IP address and a content name of an edge gateway router of an IP subnetwork where the open source community content server is located; the open source community terminal can package a data packet supported by the network according to the network where the user is located; the edge gateway router of the NDN sub-network simultaneously runs the NDN protocol and the IP protocol and has an IP address.
Firstly, generating and sending an interest package about an open source community by a terminal APP of the open source community, wherein the content name in the interest package is named in a mode of 'open source community + IP', as shown in fig. 2 (r); then, the interest packet is subjected to content detection in the first-modality subnet NDN subnet, which may also be referred to as content matching, and when the content of the first-modality subnet, i.e., the content name, is detected to have a second-modality subnet field, i.e., an IP field, during the detection or matching process, the interest packet is forwarded to an edge gateway router of the first-modality subnet NDN subnet, as shown in fig. 2. Therefore, the conversion processing of the interest package in the first stage can be completed, and the interest package is processed into the interest package in the first modality which can be understood by the subnet in the first modality.
Then, after receiving the Interest packet, the edge gateway router of the first-mode subnet NDN subnet parses the Interest packet to obtain the second-mode address IP address of the content server of the open-source community, and generates a translation table, for example, the translation table is recorded in a { Interest' name, router X IP } format, and then the IP address of the edge gateway router of the first-mode subnet NDN subnet is used as a temporary source address, and is encapsulated into a UDP data packet and forwarded to the edge gateway router of the second-mode subnet IP subnet where the open-source community content server is located, as shown in fig. 2 by (c). Thus, the process of packaging and sending the first-modality interest package to the second-modality subnet is completed.
Then, after the encapsulated UDP data packet reaches the second-mode subnet IP subnet where the content server of the open source community is located, performing routing addressing with an IP address in the second-mode subnet IP subnet to find the content server of the open source community, and obtaining the content of the open source community from the content server, as shown in fig. 2; the content server of the open source community encapsulates the content of the content server into an access packet, which may also be understood as a UDP data packet, and then, the IP address of the edge gateway router of the first-mode subnet NDN subnet is used as a temporary destination address, and the access packet not belonging to the IP subnet is sent out, and the access packet not belonging to the IP subnet may be understood as a protocol access packet not belonging to the IP subnet, as shown in (c) of fig. 2. Therefore, the process of packaging the cross-modal content needing to be accessed in the open source community of the second-modal subnet into the access package which can be understood by the first-modal subnet is completed.
Finally, the edge gateway router of the second-mode subnet forwards the access packet to the edge gateway router of the first-mode subnet NDN according to a conversion table { Interest' name, router X IP }, as shown in (ninu) of fig. 2, after receiving the access packet, the edge gateway router of the NDN subnet analyzes the access packet according to a mode of analyzing a UDP data packet, and encapsulates the access packet into a format of a data packet of the first-mode NDN, as shown in (ninu) of fig. 2; the encapsulated NDN packet can be routed in the first-modality NDN subnet in the protocol of the first-modality NDN subnet and forwarded to the user side, as shown in the portion in the interior of the capacitor in fig. 2. Therefore, the whole closed-loop logic thread of cross-modal access is completely realized, a user side of the NDN network directly accesses a server of an open source community of the IP network without crossing the modalities and crossing the server, the isolation of two modality networks is broken, and the establishment of a multi-modal network is facilitated.
Illustratively, as shown in FIG. 3, when a server of an open source community is built on a first-modality subnet, NDN, subnet, a user of a second-modality subnet, IP, subnet, wants to access the contents of the open source community.
In the implementation of this embodiment, as a premise that the steps of this embodiment are supported, the terminal of the open source community records information such as a network location and an IP address of the open source community content server, and an IP address and a content name of an edge gateway router of an IP subnetwork where the open source community content server is located; the open source community terminal can package a data packet supported by the network according to the network where the user is located; the edge gateway router of the NDN sub-network simultaneously runs the NDN protocol and the IP protocol and has an IP address.
Firstly, generating an interest packet of an open source community by an open source community terminal APP on a client, and encapsulating the interest packet into a UDP (user Datagram protocol) data packet, wherein an IP address of an edge gateway router of a first-mode subnet NDN (named data network) subnet is used as a temporary destination address, and the encapsulated UDP data packet is routed and addressed in the IP subnet, as shown in a second part in FIG. 3; then, the UDP packet that does not belong to the IP subnet of the second modality is sent to the edge gateway router of the IP subnet of the second modality, and further sent to the edge gateway router of the NDN subnet of the first modality, as shown in the fourth modality in fig. 3. Thus, the conversion processing of the interest package in the first stage is completed, and the interest package is processed into the second-modality interest package which can be understood by the second-modality subnet.
Then, after receiving the UDP data packet, the edge gateway router of the first-mode NDN subnetwork analyzes the UDP data packet and encapsulates the UDP data packet into a first-mode NDN Interest packet, and generates a translation table { Interest' name, user IP }, as shown in the fourth in fig. 3; then, running a first-mode NDN protocol to route in the first-mode NDN subnet and match the content of the first-mode interest packet, thereby finding the content of the open-source community, specifically, when detecting that the content includes a first-mode subnet field, forwarding the interest packet to an edge gateway router of the first-mode subnet to obtain the content of the open-source community, as shown in fig. 3 by a fifth step; then, the content server of the open source community encapsulates the content of the open source community into a first-mode NDN data packet, i.e. an access packet, and routes the matched user in the first-mode NDN subnet, as shown in fig. 3 by sixthly; then, operating the first-mode NDN protocol to match users in the first-mode NDN subnetwork, and forwarding a first-mode NDN data packet, that is, an access packet, which does not belong to a request of a user of the first-mode NDN subnetwork, to the first-mode NDN subnetwork edge gateway router, as shown in fig. 3; after receiving an access packet returned by an Interest packet which does not belong to a user request of the NDN subnetwork of the first mode, the edge gateway router a of the NDN subnetwork of the first mode encapsulates the access packet according to a generated translation table { Interest' name, user IP } and sends the access packet to an edge gateway router of a subnetwork of the second mode, as shown by (+) in fig. 3. Thus, the process of cross-modal packaging of the content needing to be accessed in the open source community of the first-modality subnet into an access package understandable by the second-modality subnet is completed.
Finally, the edge gateway router of the second-mode subnet IP subnet parses and encapsulates the access packet into a second-mode IP data packet, and routes and addresses in the IP subnet and sends the second-mode IP data packet to the user side in the second-mode subnet IP subnet via the second-mode IP protocol, as shown in the third part in fig. 3. Therefore, the whole closed-loop logic thread of cross-modal access is completely realized, the user side of the IP network directly accesses the server of the open source community of the NDN network without cross-modal and cross-server, the isolation of two modal networks is broken, and the establishment of a multi-modal network is facilitated.
Referring to fig. 4, fig. 4 is a block diagram of a system for implementing open source community access in a multimodal network according to an embodiment of the present invention. As shown in fig. 4, the system for implementing open source community access in a multimodal network includes:
an open source community 3 built in the first-modality subnet 1 or the second-modality subnet 2. The building of the open source community 3 can also be understood as the server location of the open source community.
A first-modality subnet 1, including an edge gateway router 11 of the first-modality subnet;
a second-modality subnet 2 comprising an edge gateway router 22 of the second-modality subnet;
the edge gateway router 11 of the first-modality subnet and the edge gateway router 22 of the second-modality subnet can serve as media for data interaction, and route access contents of servers in open-source communities of other modality subnets to clients of the corresponding modality subnets.
For a specific implementation manner of the cross-modal interaction manner of the system, the method for implementing the open source community access in the multi-modal network to access the second-modal subnet from the open source community in the first-modal subnet or to access the first-modal subnet from the open source community in the second-modal subnet may be utilized, and details are not described herein.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an interaction apparatus for implementing open source community access in a multimodal network according to an embodiment of the present invention. The apparatus for implementing the open source community access in the multimodal network described in fig. 5 can be applied to a multimodal network system, and the embodiment of the present invention is not limited to the application system of the interactive apparatus for implementing the open source community access in the multimodal network. As shown in fig. 5, the apparatus may include:
a memory 501 in which executable program code is stored;
a processor 502 coupled to a memory 501;
the processor 502 invokes executable program code stored in the memory 501 for performing the described method of implementing open source community access in a multimodal network.
The embodiment of the invention discloses a computer-readable storage medium for storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the method for realizing open source community access in a multi-modal network.
An embodiment of the invention discloses a computer program product comprising a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the described method for implementing open source community access in a multimodal network.
The above-described embodiments are only illustrative, and the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above detailed description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. Based on such understanding, the above technical solutions essentially or contributing to the prior art may be embodied in the form of software products, which may be stored in a computer-readable storage medium, the storage medium including a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an optical Disc (CD-ROM), or other disk memories, CD-ROMs, magnetic disks, or other magnetic memories, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
Finally, it should be noted that: the method and system for implementing open source community access in a multi-modal network disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, and are only used for illustrating the technical solutions of the present invention, not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (7)

1. A method for enabling open source community access in a multimodal network, the method comprising:
obtaining an interest package of an open source community built in a first modal subnet or a second modal subnet, wherein the interest package at least comprises a modal address of a modal subnet where an open source community content server is located;
sending the interest packet of the open source community to an edge gateway router of a subnet in a first mode or an edge gateway router of a subnet in a second mode according to a preset access thread rule; if the modal address of the modal subnet where the open source community content server is located is the second modal address, the interest packet of the open source community is processed according to the access thread rule and then is sent to the edge gateway router of the first modal subnet; if the modal address of the modal subnet where the open source community content server is located is the first modal address, processing the interest packet of the open source community according to the access thread rule and then sending the interest packet to the edge gateway router of the second modal subnet; sending the interest packet of the open source community to an edge gateway router of a subnet in a second mode according to a preset access thread rule, wherein the access thread rule comprises:
packaging the interest packet into a UDP data packet, taking a second modal address of an edge gateway router of the subnet with the first modal as a temporary destination address, and routing and addressing the UDP data packet in the subnet with the second modal address;
sending the UDP data packet which does not belong to the subnet in the second mode to an edge gateway router of the subnet in the second mode;
the edge gateway router of the subnet in the first mode or the edge gateway router of the subnet in the second mode processes the interest packet to generate an access packet;
the processing of the interest packet by the edge gateway router of the subnet in the first modality to generate an access packet includes:
the edge gateway router of the first-mode subnet analyzes and processes the interest packet to generate a second-mode address and a conversion table of the open-source community content server, and encapsulates the second-mode address of the edge gateway router of the first-mode subnet as a temporary source address into a UDP data packet;
forwarding the UDP packet to an edge gateway router of a second modal subnet where the open source community content server is located according to a second modal address of the open source community content server;
carrying out routing addressing to an open source community content server by using a second modal address in a second modal subnet, and acquiring open source community content from the open source community content server;
the open source community content server packages the open source community content into an access packet, and the second modal address of the edge gateway router of the first modal subnet is used as a temporary destination address to send the access packet which does not belong to the second modal subnet to the edge gateway router of the second modal subnet; or
The processing of the interest packet by the edge gateway router of the subnet in the second modality to generate an access packet includes:
the edge gateway router of the second-mode subnet sends the UDP data packet to the edge gateway router of the first-mode subnet;
the edge gateway router of the first-mode subnet analyzes the UDP data packet to generate a first-mode interest packet and a conversion table;
running a first-modality protocol to detect content of the first-modality interest packet within a first-modality subnet;
when the content is detected to comprise a first mode subnet field, forwarding the interest packet to an edge gateway router of the first mode subnet to obtain open source community content;
the open source community content server packages the open source community content into an access packet, and forwards the access packet to an edge gateway router of a subnet in a first mode;
and routing the access packet to the user side of the first-mode subnet through the edge gateway router of the second-mode subnet or routing the access packet to the user side of the second-mode subnet through the edge gateway router of the first-mode subnet so as to realize access to the open source community in the multi-mode network.
2. The method for implementing open source community access in a multi-modal network according to claim 1, wherein the interest package of the open source community is sent to the edge gateway router of the subnet in the first modality according to a preset access thread rule, wherein the access thread rule includes:
sending the interest packet to a first-mode subnet for content detection;
and when the content is detected to comprise the second-mode subnet field, forwarding the interest packet to an edge gateway router of the first-mode subnet.
3. The method of claim 1, wherein routing the access packet to the user side of the first-modality subnet through an edge gateway router of the second-modality subnet comprises:
the edge gateway router of the second mode subnet forwards the access packet to the edge gateway router of the first mode subnet according to the conversion table;
and the edge gateway router of the first-mode subnet analyzes and encapsulates the access packet into a data packet of the first mode, and the data packet is forwarded to the user side of the first-mode subnet by routing in the first-mode subnet through a protocol of the first-mode subnet.
4. The method of claim 1, wherein routing the access packet to the user end of the second-modality subnet through an edge gateway router of the first-modality subnet comprises:
the edge gateway router of the subnet with the first mode forwards the access packet to the edge gateway router of the subnet with the second mode according to the conversion table;
and the edge gateway router of the second mode subnet analyzes and encapsulates the access packet into a data packet of the second mode, and the data packet is forwarded to the user side of the second mode subnet by routing in the second mode subnet through a protocol of the second mode subnet.
5. The method for implementing open source community access in a multi-modal network as recited in any one of claims 1-4, wherein the first-modality subnet is an NDN subnet, and the second-modality subnet is an IP subnet.
6. A system for enabling open source community access in a multimodal network, the system comprising:
establishing an open source community in a first mode subnet or a second mode subnet;
a first-modality subnet including an edge gateway router of the first-modality subnet;
a second-modality subnet comprising an edge gateway router of the second-modality subnet;
the method for realizing the open source community access in the multi-modal network according to any one of claims 1 to 5 is utilized to access the second-modal subnet in the open source community in the first-modal subnet or to access the first-modal subnet in the open source community in the second-modal subnet.
7. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the steps of a method for open source community access in a multimodal network as claimed in any one of claims 1 to 5.
CN202210807778.8A 2022-07-11 2022-07-11 Method and system for realizing open source community access in multi-mode network Active CN114866472B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210807778.8A CN114866472B (en) 2022-07-11 2022-07-11 Method and system for realizing open source community access in multi-mode network
PCT/CN2023/090258 WO2024012001A1 (en) 2022-07-11 2023-04-24 Method and system for implementing access to open source community in multi-modal network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210807778.8A CN114866472B (en) 2022-07-11 2022-07-11 Method and system for realizing open source community access in multi-mode network

Publications (2)

Publication Number Publication Date
CN114866472A CN114866472A (en) 2022-08-05
CN114866472B true CN114866472B (en) 2022-09-30

Family

ID=82625615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210807778.8A Active CN114866472B (en) 2022-07-11 2022-07-11 Method and system for realizing open source community access in multi-mode network

Country Status (2)

Country Link
CN (1) CN114866472B (en)
WO (1) WO2024012001A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866472B (en) * 2022-07-11 2022-09-30 广东省新一代通信与网络创新研究院 Method and system for realizing open source community access in multi-mode network
CN115623091B (en) * 2022-12-14 2023-03-17 广东省新一代通信与网络创新研究院 Method and device for realizing network interconnection and intercommunication and forwarding of route

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107104871B (en) * 2016-02-22 2021-11-19 中兴通讯股份有限公司 Subnet intercommunication method and device
US10333836B2 (en) * 2017-04-13 2019-06-25 Cisco Technology, Inc. Convergence for EVPN multi-homed networks
US20190132282A1 (en) * 2017-08-11 2019-05-02 Peking University Shenzhen Graduate School Ndn and ip fusion network content control method and apparatus, and storage medium
CN107634935B (en) * 2017-08-11 2020-04-21 北京大学深圳研究生院 Content management and control method and device for NDN and IP fusion network and storage medium
CN110177098A (en) * 2019-05-28 2019-08-27 北京理工大学 NDN and IP network borde gateway conversion method and device
US11652791B2 (en) * 2019-08-07 2023-05-16 Cisco Technology, Inc. Consolidated routing table for extranet virtual networks
CN110457561A (en) * 2019-08-08 2019-11-15 北京航空航天大学 A kind of construction method and system of open source community project relationship network
CN114338397B (en) * 2021-12-27 2023-11-03 中国联合网络通信集团有限公司 Cloud platform network configuration method, device, server, storage medium and system
CN114866472B (en) * 2022-07-11 2022-09-30 广东省新一代通信与网络创新研究院 Method and system for realizing open source community access in multi-mode network

Also Published As

Publication number Publication date
WO2024012001A1 (en) 2024-01-18
CN114866472A (en) 2022-08-05

Similar Documents

Publication Publication Date Title
CN114866472B (en) Method and system for realizing open source community access in multi-mode network
CN111885075B (en) Container communication method, device, network equipment and storage medium
CN110266592B (en) Communication method and device for SRV6 network and IP MPLS network
CN109194660B (en) Network access method and device of mobile terminal
EP2253124B1 (en) Method and apparatus for communication of data packets between local networks
CN102484639B (en) A method and host node for multiple NAT64 environments
CN109218261B (en) Data processing method and data processing device
US20040071148A1 (en) Information device, gateway device and control method
CN103108089B (en) Connection establishment management method of network system and related system thereof
KR20140057553A (en) - virtualization gateway between virtualized and non-virtualized networks
CN105430059A (en) Smart client routing
CN101931658B (en) Method and device for IPv6 host computer with IPv4 application to perform communication
CN102984223B (en) A kind of message method, the network equipment and system
CN102710485B (en) Transparent proxy method and proxy server
CN110691150A (en) SDN-based IPv4 and IPv6 interconnection method and system
CN103107983A (en) Data management method of network system and related system thereof
CN112637367B (en) File sharing method, device, equipment and storage medium based on home network
CN109246016B (en) Cross-VXLAN message processing method and device
US20170207921A1 (en) Access to a node
CN111901412B (en) Data processing method and computer readable storage medium
EP3503484B1 (en) Message transmission methods and devices
JP2022052742A (en) Method and system for enhancing communication between ipv6 dedicated sip client and ipv4 dedicated server or client
CN108259350B (en) Message transmission method and device and machine-readable storage medium
CN104255014A (en) Method, device and server for setting and processing interactive connectivity establishment address
JP6432940B2 (en) Information communication system, communication control method thereof, and communication control program

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