CN110191204A - A kind of Intranet communication between devices method, system, device and computer storage medium - Google Patents

A kind of Intranet communication between devices method, system, device and computer storage medium Download PDF

Info

Publication number
CN110191204A
CN110191204A CN201910463570.7A CN201910463570A CN110191204A CN 110191204 A CN110191204 A CN 110191204A CN 201910463570 A CN201910463570 A CN 201910463570A CN 110191204 A CN110191204 A CN 110191204A
Authority
CN
China
Prior art keywords
target
intranet
intranet equipment
equipment
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910463570.7A
Other languages
Chinese (zh)
Inventor
李杰绪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201910463570.7A priority Critical patent/CN110191204A/en
Publication of CN110191204A publication Critical patent/CN110191204A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/59Network arrangements, protocols or services for addressing or naming using proxies for addressing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

This application discloses a kind of Intranet communication between devices method, system, device and computer storage mediums, applied to target Intranet equipment, in the distributed network of target Intranet equipment access, target proxy node of the outer net node as target Intranet equipment is chosen;The mailing address of target proxy node is set as to the mailing address of target Intranet equipment;The mailing address of broadcast target Intranet equipment is to another Intranet equipment to be communicated, so that another Intranet equipment is communicated by the mailing address of target Intranet equipment with target Intranet equipment.A kind of Intranet communication between devices method provided by the present application, another Intranet equipment can carry out information exchange by the target proxy node and target Intranet equipment and compared with prior art be not required to that the communication of Intranet equipment room can be realized by server, process is easy, and communication efficiency is high.A kind of Intranet communication system, device and computer readable storage medium provided by the present application also solve the problems, such as relevant art.

Description

A kind of Intranet communication between devices method, system, device and computer storage medium
Technical field
This application involves Internet communication technology fields, more specifically to a kind of Intranet communication between devices method, are System, device and computer storage medium.
Background technique
In internet, when two Intranet equipment rooms are communicated, burrow, Intranet involved in the application is set The standby equipment referred in Intranet, it is existing by taking two Intranet equipment are respectively Intranet equipment A and Intranet equipment B as an example A kind of Intranet equipment room method of burrowing is: Intranet equipment A and Intranet equipment B pass through respectively oneself router it is long be connected to it is public And disclosed server;Intranet equipment A obtains the mailing address of router B from server, and sends out to the mailing address of router B Request is sent, so that saving the session (session) of the outer net address of Intranet equipment A on router B;Intranet equipment A is to server Instruction is sent, which is transmitted to Intranet equipment B by server, so that Intranet equipment B is to Intranet equipment A on router A Mapping address sends request, to there be the session of the outer net address of Intranet equipment B on router A;Later, Intranet is set Standby A and Intranet equipment B directly can carry out information exchange by router A and router B.
However, existing Intranet communication between devices method needs Intranet equipment to burrow by server, burrow process Cumbersome, the communication efficiency of Intranet equipment room is low.
It is asked in conclusion the communication efficiency for how improving Intranet equipment room is that current those skilled in the art are urgently to be resolved Topic.
Summary of the invention
The purpose of the application is to provide a kind of Intranet communication between devices method, can solve how to improve to a certain extent The technical issues of communication efficiency of Intranet equipment room.Present invention also provides a kind of Intranet communication system, device and meters Calculation machine readable storage medium storing program for executing.
To achieve the goals above, the application provides a kind of Intranet communication between devices method, is applied to target Intranet equipment, Include:
In the distributed network of target Intranet equipment access, an outer net node is chosen as the target Intranet The target proxy node of equipment;
The mailing address of the target proxy node is set as to the mailing address of the target Intranet equipment;
The mailing address of the target Intranet equipment is broadcasted to another Intranet equipment to be communicated, so that another Intranet Equipment is communicated by the mailing address of the target Intranet equipment with the target Intranet equipment.
Preferably, after the target proxy node for choosing an outer net node as the target Intranet equipment, also Include:
Again alternative proxy node of the outer net node as the target Intranet equipment is chosen;
Save the mailing address of the alternative proxy node;
Judge whether that by the target proxy node replacement be the alternative proxy node, if so, by the spare generation The mailing address of reason node is set as the mailing address of the target Intranet equipment, and broadcasts the target Intranet equipment communicatedly Location.
It is preferably, described to judge whether the target proxy node replacement to be the alternative proxy node, comprising:
Judge whether the performance of the target proxy node meets default capabilities, if it is not, then determining the target proxy Node replacement is the alternative proxy node, if so, determining without being the spare generation by the target proxy node replacement Manage node.
Preferably, the distributed network includes DHT distributed network;
The target proxy node that an outer net node is chosen as the target Intranet equipment, comprising:
The outer net nodal information saved by the target Intranet equipment, traverses corresponding outer net node;
In the outer net node of traversal, an outer net node is chosen as the target proxy node.
Preferably, the target proxy node for choosing an outer net node as the target Intranet equipment, comprising:
In the distributed network, the load value for each outer net node connecting with the target Intranet equipment is obtained;
It chooses a load value and is less than the outer net node of default load value as the target proxy node.
Preferably, the target proxy node for choosing an outer net node as the target Intranet equipment, comprising:
In the distributed network, the time delay value for each outer net node connecting with the target Intranet equipment is obtained;
It chooses a time delay value and is less than the outer net node of default time delay value as the target proxy node.
Preferably, the target proxy node for choosing an outer net node as the target Intranet equipment, comprising:
In the distributed network, choosing one has the outer of the ability connected with target Intranet equipment foundation length Net node is as the target proxy node.
To achieve the goals above, the application provides a kind of Intranet communication system, is applied to target Intranet equipment, Include:
First chooses module, for choosing an outer net section in the distributed network that the target Intranet equipment accesses Target proxy node of the point as the target Intranet equipment;
First setup module, for the mailing address of the target proxy node to be set as the logical of the target Intranet equipment Believe address;
First broadcast module, mailing address to another Intranet to be communicated for broadcasting the target Intranet equipment are set It is standby, so that another Intranet equipment is led to by the mailing address of the target Intranet equipment with the target Intranet equipment Letter.
Preferably, further includes:
Second chooses module, chooses one outer net node of the selection as the target Intranet equipment for described first Target proxy node after, choose alternative proxy node of the outer net node as the target Intranet equipment again;
First preserving module, for saving the mailing address of the alternative proxy node;
First judgment module, for judging whether the target proxy node replacement to be the alternative proxy node, if It is the mailing address of the alternative proxy node to be then set as to the mailing address of the target Intranet equipment, and broadcast the mesh Mark the mailing address of Intranet equipment.
Preferably, the first judgment module includes:
First judging unit, for judging whether the performance of the target proxy node meets default capabilities, if it is not, then sentencing Determine the target proxy node replacement to be the alternative proxy node, if so, determining to be not necessarily to the target proxy node It is changed to the alternative proxy node.
Preferably, the distributed network includes DHT distributed network;
Described first, which chooses module, includes:
First spider module, the outer net nodal information for being saved by the target Intranet equipment traverse corresponding outer Net node;
First selection unit, in the outer net node of traversal, choosing an outer net node as the target proxy Node.
Preferably, the first selection module includes:
First acquisition unit, in the distributed network, acquisition to connect each with the target Intranet equipment The load value of outer net node;
Second selection unit is less than the outer net node of default load value as the target generation for choosing a load value Manage node.
Preferably, the first selection module includes:
Second acquisition unit, in the distributed network, acquisition to connect each with the target Intranet equipment The time delay value of outer net node;
Third selection unit is less than the outer net node of default time delay value as the target generation for choosing a time delay value Manage node.
Preferably, the first selection module includes:
4th selection unit is chosen one and is had and build with the target Intranet equipment in the distributed network The outer net node of the ability of vertical long connection is as the target proxy node.
To achieve the above object, the application provides a kind of Intranet communication between devices device, described device include memory and Processor is stored with the Intranet communication between devices program that can be run on the processor on the memory, and the Intranet is set As above any method is realized when signal procedure is executed by the processor between standby.
To achieve the above object, the application provides a kind of computer readable storage medium, the computer-readable storage medium Intranet communication between devices program is stored in matter, the Intranet communication between devices program can be held by one or more processor Row, to realize as above any Intranet communication between devices method.
A kind of Intranet communication between devices method provided by the present application is applied to target Intranet equipment, in target Intranet equipment In the distributed network of access, target proxy node of the outer net node as target Intranet equipment is chosen;By target proxy The mailing address of node is set as the mailing address of target Intranet equipment;The mailing address of broadcast target Intranet equipment is to be communicated Another Intranet equipment, so that another Intranet equipment is led to by the mailing address of target Intranet equipment with target Intranet equipment Letter.A kind of Intranet communication between devices method provided by the present application, target Intranet equipment choose outer net node in distributed network Inform that another Intranet is set as the target proxy node of itself, and using the mailing address of outer net node as the mailing address of itself Standby, Intranet equipment another in this way can carry out information exchange by the target proxy node and target Intranet equipment, and existing Technology is compared, and is not required to that the communication of Intranet equipment room can be realized by server, and process is easy, and communication efficiency is high.The application mentions A kind of Intranet communication system, device and the computer readable storage medium supplied also solves the problems, such as relevant art.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow diagram of the application first embodiment;
Fig. 2 is the flow diagram of the application second embodiment;
Fig. 3 is the flow diagram of the application 3rd embodiment;
Fig. 4 is the structural schematic diagram for the Intranet communication system that one embodiment of the application discloses;
Fig. 5 is the schematic diagram of internal structure for the Intranet communication between devices device that one embodiment of the application discloses.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot It is interpreted as its relative importance of indication or suggestion or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment Art scheme can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when technical solution Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not the present invention claims Protection scope within.
The application provides a kind of Intranet communication between devices method, is applied to target Intranet equipment.
Fig. 1 is please referred to, Fig. 1 is the flow diagram of the application first embodiment.
In the first embodiment, this method comprises:
S101 chooses an outer net node and sets as target Intranet in the distributed network of target Intranet equipment access Standby target proxy node.
In practical application, target Intranet equipment can choose an outer net node first in the distributed network of its access Target proxy node as target Intranet equipment;Namely target Intranet equipment need to access distributed network, involved by the application Distributed network be as be distributed in different location and with multiple terminals Node station interconnection made of network, it can be appreciated that After target Intranet equipment accesses distributed network, still belonging to Intranet equipment, the definition of Intranet and outer net please refers to the prior art, Details are not described herein by the application.
The mailing address of target proxy node is set as the mailing address of target Intranet equipment by S102.
In practical application, target Intranet equipment, can be by target proxy node after having chosen target proxy node section Mailing address be set as itself mailing address, Intranet equipment involved in the application and the type of mailing address can be according to realities Border it needs to be determined that.
S103, the mailing address of broadcast target Intranet equipment is to another Intranet equipment to be communicated, so that another Intranet is set It is standby to be communicated by the mailing address of target Intranet equipment with target Intranet equipment.
In practical application, the mailing address of target proxy node is being set as the mailing address of itself by target Intranet equipment Afterwards, can broadcast target Intranet equipment mailing address to another Intranet equipment to be communicated;Correspondingly, another Intranet equipment When needing to be communicated with target Intranet equipment, only information need to be sent to the mailing address of target Intranet equipment, and in target The mailing address of net equipment is the mailing address of target proxy node, and target proxy node is the outer net in distributed network Node, so the information that another Intranet equipment is sent can first be transmitted to target proxy node, target Intranet equipment can pass through Target proxy node obtains the information that another Intranet equipment is sent so that target Intranet equipment and another Intranet equipment without Server burrows Intranet can be realized between communication.
A kind of Intranet communication between devices method provided by the present application is applied to target Intranet equipment, in target Intranet equipment In the distributed network of access, target proxy node of the outer net node as target Intranet equipment is chosen;By target proxy The mailing address of node is set as the mailing address of target Intranet equipment;The mailing address of broadcast target Intranet equipment is to be communicated Another Intranet equipment, so that another Intranet equipment is led to by the mailing address of target Intranet equipment with target Intranet equipment Letter.A kind of Intranet communication between devices method provided by the present application, target Intranet equipment choose outer net node in distributed network Inform that another Intranet is set as the target proxy node of itself, and using the mailing address of outer net node as the mailing address of itself Standby, Intranet equipment another in this way can carry out information exchange by the target proxy node and target Intranet equipment, and existing Technology is compared, and is not required to that the communication of Intranet equipment room can be realized by server, and process is easy, and communication efficiency is high.
Referring to figure 2., Fig. 2 is the flow diagram of the application second embodiment.
In a second embodiment, this method comprises:
S201 chooses an outer net node and sets as target Intranet in the distributed network of target Intranet equipment access Standby target proxy node.
The mailing address of target proxy node is set as the mailing address of target Intranet equipment by S202.
S203, the mailing address of broadcast target Intranet equipment is to another Intranet equipment to be communicated, so that another Intranet is set It is standby to be communicated by the mailing address of target Intranet equipment with target Intranet equipment.
S204: alternative proxy node of the outer net node as target Intranet equipment is chosen again, saves backup agency The mailing address of node.
S205: judging whether that by target proxy node replacement be alternative proxy node, if so, thening follow the steps S206: will The mailing address of alternative proxy node is set as the mailing address of target Intranet equipment, and broadcast target Intranet equipment is communicatedly Location.
In practical application, during target Intranet equipment and another Intranet equipment carry out information exchange, in fact it could happen that Target proxy node traffic rate excessively slow situations such as can not even communicating, influences the logical of target Intranet equipment and another Intranet equipment Believe stability, in order to guarantee the communication stability of target Intranet equipment Yu another target Intranet equipment, target Intranet equipment can be with It is selecting target proxy node and then is choosing an outer net node again as alternative proxy node, saving backup agency The mailing address of node, and determine need to by target proxy node replacement for alternative proxy node when, by alternative proxy node Mailing address be set as the mailing address of target Intranet equipment, and the mailing address of broadcast target Intranet equipment so that in another Net equipment carries out information exchange by the mailing address and target Intranet equipment of standby node.It should be pointed out that the application and unlimited The opportunity of the Intranet that sets the goal node selection alternative proxy node does not limit target Intranet node yet and judges whether target proxy Node replacement is the opportunity of alternative proxy node, can flexibly be determined according to actual needs;And determine in target Intranet equipment When without being alternative proxy node by target proxy node replacement, it is nonetheless possible to use target proxy node and another Intranet equipment into Row communication etc..
In practical application, target proxy equipment can be according to a variety of conditions to determine whether being by target proxy node replacement Alternative proxy node, for example may determine that whether the performance of target proxy node meets default capabilities, if it is not, then determining target Agent node is changed to alternative proxy node, if so, determining without being alternative proxy node by target proxy node replacement.It answers When pointing out, the performance of target proxy node and the type of default capabilities can be determined flexibly according to actual needs, such as target generation The performance for managing node can be time delay value, load value, traffic rate value etc..
Referring to figure 3., Fig. 3 is the flow diagram of the application 3rd embodiment.
In the third embodiment, this method comprises:
S301 passes through the outer net section of target Intranet equipment preservation in the DHT distributed network of target Intranet equipment access Point information, traverses corresponding outer net node.
S302 chooses an outer net node as target proxy node in the outer net node of traversal.
The mailing address of target proxy node is set as the mailing address of target Intranet equipment by S303.
S304, the mailing address of broadcast target Intranet equipment is to another Intranet equipment to be communicated, so that another Intranet is set It is standby to be communicated by the mailing address of target Intranet equipment with target Intranet equipment.
In practical application, target proxy node, the application are chosen in distributed network for the ease of target Intranet equipment Related distributed network can be DHT (Distributed Hash Table, distributed hashtable) distributed network, phase It answers, since the node in DHT distributed network can save the information of other corresponding nodes, so in DHT distributed network In, target Intranet equipment can traverse corresponding outer net node, and in the outer of traversal by the outer net nodal information itself saved In net node, an outer net node is chosen as target proxy node.Certainly, target Intranet equipment can also be from DHT distribution Outer net nodal information is obtained at other network nodes in network, and is chosen according to the outer net nodal information at other network nodes Target proxy node.
It is extraneous possible for traffic rate, the communication quality etc. for guaranteeing Intranet equipment room first into 3rd embodiment It needs that performance requirement is arranged to the target proxy node that target Intranet equipment is chosen, in order to adapt to such situation, target Intranet is set When the standby target proxy node in one outer net node of selection as target Intranet equipment, it can be obtained in distributed network The load value for each outer net node being connect with target Intranet equipment;Choose the outer net section that a load value is less than default load value Point is used as target proxy node.
It is of course also possible in distributed network, obtain each outer net node being connect with target Intranet equipment when Prolong value;It chooses a time delay value and is less than the outer net node of default time delay value as target proxy node.
It is, of course, also possible to which choosing one has the ability for establishing long connection with target Intranet equipment in distributed network Outer net node as target proxy node.
It should be pointed out that the application illustrates three kinds of target Intranet equipment in distributed network herein, an outer net is chosen Mode of the node as target proxy node, but do not mean that there is no other target Intranet equipment to choose target proxy node Mode;And the application is also not intended to limit target Intranet equipment and only chooses according to single condition when choosing target proxy node The mode that target proxy node namely target Intranet equipment choose target proxy node can determine flexibly according to actual needs, Such as target Intranet equipment can in distributed network, choose that a time delay value is small, load value is small and can in target Net equipment establishes the outer net node of long connection as target proxy node etc..
On the other hand, the application provides a kind of Intranet communication system, is applied to target Intranet equipment.
Referring to figure 4., Fig. 4 is the structural schematic diagram for the Intranet communication system that one embodiment of the application discloses.
A kind of Intranet communication system provided by the present application is applied to target Intranet equipment, may include:
First chooses module 401, for choosing an outer net node in the distributed network that target Intranet equipment accesses Target proxy node as target Intranet equipment;
First setup module 402, for the mailing address of target proxy node to be set as target Intranet equipment communicatedly Location;
First broadcast module 403, the mailing address for broadcast target Intranet equipment to another Intranet equipment to be communicated, So that another Intranet equipment is communicated by the mailing address of target Intranet equipment with target Intranet equipment.
A kind of Intranet communication system provided by the present application is applied to target Intranet equipment, can also include:
Second chooses module, chooses module for first and chooses target generation of the outer net node as target Intranet equipment After managing node, alternative proxy node of the outer net node as target Intranet equipment is chosen again;
First preserving module, for saving backup the mailing address of agent node;
First judgment module, for judging whether that by target proxy node replacement be alternative proxy node, if so, by standby The mailing address of target Intranet equipment, and the mailing address of broadcast target Intranet equipment are set as with the mailing address of agent node.
A kind of Intranet communication system provided by the present application is applied to target Intranet equipment, and first judgment module can To include:
First judging unit, for judging whether the performance of target proxy node meets default capabilities, if it is not, then determine by Target proxy node replacement is alternative proxy node, if so, determining without being alternative proxy section by target proxy node replacement Point.
A kind of Intranet communication system provided by the present application, is applied to target Intranet equipment, and distributed network can be with Including DHT distributed network;
Correspondingly, the first selection module includes:
First spider module, the outer net nodal information for being saved by target Intranet equipment, traverses corresponding outer net section Point;
First selection unit, in the outer net node of traversal, choosing an outer net node as target proxy node.
A kind of Intranet communication system provided by the present application is applied to target Intranet equipment, and first chooses module can To include:
First acquisition unit, for obtaining each outer net node connecting with target Intranet equipment in distributed network Load value;
Second selection unit is less than the outer net node of default load value as target proxy section for choosing a load value Point.
A kind of Intranet communication system provided by the present application is applied to target Intranet equipment, and first chooses module can To include:
Second acquisition unit, for obtaining each outer net node connecting with target Intranet equipment in distributed network Time delay value;
Third selection unit is less than the outer net node of default time delay value as target proxy section for choosing a time delay value Point.
A kind of Intranet communication system provided by the present application is applied to target Intranet equipment, and first chooses module can To include:
4th selection unit has and the long connection of target Intranet equipment foundation in distributed network, choosing one Ability outer net node as target proxy node.
On the other hand, the application provides a kind of Intranet communication between devices device.
It is the schematic diagram of internal structure for the Intranet communication between devices device that one embodiment of the application discloses referring to Fig. 5, Fig. 5.
In the present embodiment, Intranet communication between devices device 1 can be PC (Personal Computer, PC), It can be smart phone, tablet computer, palm PC, portable computer, intelligent router, mine machine, network storage equipment terminal Equipment.
The Intranet communication between devices device 1 can be the node of composition CDN network or block chain network.
The Intranet communication between devices device 1 may include memory 11, processor 12 and bus 13.
Wherein, memory 11 includes at least a type of readable storage medium storing program for executing, and readable storage medium storing program for executing includes flash memory, hard Disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 11 exists It can be the internal storage unit of Intranet communication between devices device 1, such as the Intranet communication between devices device 1 in some embodiments Hard disk.Memory 11 is also possible to the External memory equipment of Intranet communication between devices device 1 in further embodiments, such as The plug-in type hard disk being equipped on Intranet communication between devices device 1, intelligent memory card (Smart Media Card, SMC), safe number Word (Secure Digital, SD) card, flash card (Flash Card) etc..Further, memory 11 can also both include interior The internal storage unit of net communication between devices device 1 also includes External memory equipment.Memory 11 can be not only used for storage peace Application software and Various types of data loaded on Intranet communication between devices device 1, such as the code etc. of Intranet communication between devices program 01, It can be also used for temporarily storing the data that has exported or will export.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 11 Code or processing data, such as execute Intranet communication between devices program 01 etc..
The bus 13 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA) Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 5 only with one slightly Line indicates, it is not intended that an only bus or a type of bus.
Further, Intranet communication between devices device can also include network interface 14, and network interface 14 optionally can be with Including wireline interface and/or wireless interface (such as WI-FI interface, blue tooth interface), commonly used in the device 1 and other electronics Communication connection is established between equipment.
Optionally, which can also include user interface, and user interface may include display (Display), input unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface, Wireless interface.Optionally, in some embodiments, it is aobvious to can be light-emitting diode display, liquid crystal display, touch control type LCD for display Show that device and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touch device etc..Wherein, display Can also it is appropriate be known as display screen or display unit, for be shown in the information handled in Intranet communication between devices device 1 with And for showing visual user interface.
Fig. 5 illustrates only the Intranet communication between devices device with component 11-14 and Intranet communication between devices program 01 1, it will be appreciated by persons skilled in the art that the structure shown in Fig. 5 does not constitute the limit to Intranet communication between devices device 1 It is fixed, it may include perhaps combining certain components or different component layouts than illustrating less perhaps more components.
A kind of computer readable storage medium provided by the present application is stored with video code conversion on computer readable storage medium Program, video code conversion program can be executed by one or more processor, to realize video described in any embodiment as above Code-transferring method.
Computer readable storage medium referred to herein includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field Any other form of storage medium well known to interior.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another website Website, computer, server or data center are transmitted.The computer readable storage medium can be computer and can deposit Any usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are set It is standby.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or partly lead Body medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the article of the element Or there is also other identical elements in method.
The foregoing description of the disclosed embodiments makes those skilled in the art can be realized or use the application.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the application, to realize in other embodiments.Therefore, the application will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.

Claims (10)

1. a kind of Intranet communication between devices method, which is characterized in that be applied to target Intranet equipment, comprising:
In the distributed network of target Intranet equipment access, an outer net node is chosen as the target Intranet equipment Target proxy node;
The mailing address of the target proxy node is set as to the mailing address of the target Intranet equipment;
The mailing address of the target Intranet equipment is broadcasted to another Intranet equipment to be communicated, so that another Intranet equipment It is communicated by the mailing address of the target Intranet equipment with the target Intranet equipment.
2. the method according to claim 1, wherein one outer net node of the selection is as the target Intranet After the target proxy node of equipment, further includes:
Again alternative proxy node of the outer net node as the target Intranet equipment is chosen;
Save the mailing address of the alternative proxy node;
Judge whether that by the target proxy node replacement be the alternative proxy node, if so, by the alternative proxy section The mailing address of point is set as the mailing address of the target Intranet equipment, and broadcasts the mailing address of the target Intranet equipment.
3. according to the method described in claim 2, it is characterized in that, it is described judge whether be by the target proxy node replacement The alternative proxy node, comprising:
Judge whether the performance of the target proxy node meets default capabilities, if it is not, then determining the target proxy node It is changed to the alternative proxy node, if so, determining without being the alternative proxy section by the target proxy node replacement Point.
4. method according to any one of claims 1 to 3, which is characterized in that the distributed network includes DHT distribution Network;
The target proxy node that an outer net node is chosen as the target Intranet equipment, comprising:
The outer net nodal information saved by the target Intranet equipment, traverses corresponding outer net node;
In the outer net node of traversal, an outer net node is chosen as the target proxy node.
5. according to the method described in claim 4, it is characterized in that, one outer net node of the selection is as the target Intranet The target proxy node of equipment, comprising:
In the distributed network, the load value for each outer net node connecting with the target Intranet equipment is obtained;
It chooses a load value and is less than the outer net node of default load value as the target proxy node.
6. according to the method described in claim 4, it is characterized in that, one outer net node of the selection is as the target Intranet The target proxy node of equipment, comprising:
In the distributed network, the time delay value for each outer net node connecting with the target Intranet equipment is obtained;
It chooses a time delay value and is less than the outer net node of default time delay value as the target proxy node.
7. according to the method described in claim 4, it is characterized in that, one outer net node of the selection is as the target Intranet The target proxy node of equipment, comprising:
In the distributed network, an outer net section with the ability for establishing long connection with the target Intranet equipment is chosen Point is used as the target proxy node.
8. a kind of Intranet communication system, which is characterized in that be applied to target Intranet equipment, comprising:
First chooses module, makees in the distributed network that the target Intranet equipment accesses, choosing an outer net node For the target proxy node of the target Intranet equipment;
First setup module, for the mailing address of the target proxy node to be set as the target Intranet equipment communicatedly Location;
First broadcast module, for broadcasting the mailing address of the target Intranet equipment to another Intranet equipment to be communicated, with Communicate another Intranet equipment with the target Intranet equipment by the mailing address of the target Intranet equipment.
9. a kind of Intranet communication between devices device, which is characterized in that described device includes memory and processor, the memory On be stored with the Intranet communication between devices program that can be run on the processor, the Intranet communication between devices program is described Processor realizes method as described in any one of claim 1 to 7 when executing.
10. a kind of computer readable storage medium, which is characterized in that be stored with Intranet on the computer readable storage medium and set Signal procedure between standby, the Intranet communication between devices program can be executed by one or more processor, to realize as right is wanted Seek 1 to 7 described in any item Intranet communication between devices methods.
CN201910463570.7A 2019-05-30 2019-05-30 A kind of Intranet communication between devices method, system, device and computer storage medium Pending CN110191204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910463570.7A CN110191204A (en) 2019-05-30 2019-05-30 A kind of Intranet communication between devices method, system, device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910463570.7A CN110191204A (en) 2019-05-30 2019-05-30 A kind of Intranet communication between devices method, system, device and computer storage medium

Publications (1)

Publication Number Publication Date
CN110191204A true CN110191204A (en) 2019-08-30

Family

ID=67718931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910463570.7A Pending CN110191204A (en) 2019-05-30 2019-05-30 A kind of Intranet communication between devices method, system, device and computer storage medium

Country Status (1)

Country Link
CN (1) CN110191204A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730244A (en) * 2019-10-22 2020-01-24 深圳市网心科技有限公司 Networking method and system of DHT (distributed hash table) system, network equipment and storage medium
CN110730237A (en) * 2019-10-21 2020-01-24 深圳市网心科技有限公司 Data transmission method, device, system and equipment
CN110784549A (en) * 2019-11-01 2020-02-11 深圳市网心科技有限公司 Network node selection method and device, first network node and storage medium
CN111131484A (en) * 2019-12-30 2020-05-08 深圳市网心科技有限公司 Node mounting method, device, network node and storage medium
CN111277635A (en) * 2020-01-14 2020-06-12 深圳市网心科技有限公司 Method, equipment, device and computer medium for accessing external node to block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863152A (en) * 2005-09-28 2006-11-15 华为技术有限公司 Method for transmitting various messages between internal network users
US20130058253A1 (en) * 2010-03-26 2013-03-07 Hitachi Kokusai Electric Inc. Network management system and internetworking unit
CN104980528A (en) * 2015-06-26 2015-10-14 广州华多网络科技有限公司 Method, system and apparatus for realizing communication between nodes
CN109728988A (en) * 2017-10-27 2019-05-07 贵州白山云科技股份有限公司 Across the Intranet communication means of one kind and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863152A (en) * 2005-09-28 2006-11-15 华为技术有限公司 Method for transmitting various messages between internal network users
US20130058253A1 (en) * 2010-03-26 2013-03-07 Hitachi Kokusai Electric Inc. Network management system and internetworking unit
CN104980528A (en) * 2015-06-26 2015-10-14 广州华多网络科技有限公司 Method, system and apparatus for realizing communication between nodes
CN109728988A (en) * 2017-10-27 2019-05-07 贵州白山云科技股份有限公司 Across the Intranet communication means of one kind and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
沈旭杰: "《处于NAT之后的主机之间互联的方法研究》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730237A (en) * 2019-10-21 2020-01-24 深圳市网心科技有限公司 Data transmission method, device, system and equipment
CN110730244A (en) * 2019-10-22 2020-01-24 深圳市网心科技有限公司 Networking method and system of DHT (distributed hash table) system, network equipment and storage medium
CN110784549A (en) * 2019-11-01 2020-02-11 深圳市网心科技有限公司 Network node selection method and device, first network node and storage medium
CN111131484A (en) * 2019-12-30 2020-05-08 深圳市网心科技有限公司 Node mounting method, device, network node and storage medium
CN111277635A (en) * 2020-01-14 2020-06-12 深圳市网心科技有限公司 Method, equipment, device and computer medium for accessing external node to block chain
CN111277635B (en) * 2020-01-14 2022-11-08 深圳市迅雷网络技术有限公司 Method, equipment, device and computer medium for accessing external node to block chain

Similar Documents

Publication Publication Date Title
CN110191204A (en) A kind of Intranet communication between devices method, system, device and computer storage medium
CN103546467B (en) The method applying Modbus rtu protocol on TCP/IP network
CN109634915A (en) File dispositions method, Cloud Server, system and storage medium
CN109413207A (en) A kind of file uploading method, system, device and computer readable storage medium
CN110493357A (en) A kind of calculation resource disposition method, system, device and computer storage medium
CN105472291A (en) Digital video recorder with multiprocessor cluster and realization method of digital video recorder
CN107889183A (en) Data transmission method and device
CN109242458A (en) Approaches to IM and relevant device based on block chain
CN109726076A (en) A kind of small routine life cycle management method and system
CN109309735A (en) Connection processing method, server, system and storage medium
CN110278278A (en) A kind of data transmission method, system, device and computer media
CN113890712A (en) Data transmission method and device, electronic equipment and readable storage medium
CN111181769B (en) Network topological graph drawing method, system, device and computer readable storage medium
CN110730244A (en) Networking method and system of DHT (distributed hash table) system, network equipment and storage medium
CN106487864A (en) The method for building up of data cube computation, service end and mobile terminal
CN105049452B (en) Switching method, device and the intelligent terminal of resource downloading mode
CN110417789A (en) Server connection method, electronic equipment, system and medium
CN109905397A (en) A kind of method and intranet server for establishing data connection
CN109032693A (en) Method and device for loading display information, electronic equipment and readable storage medium
CN104038518B (en) information processing method, server and terminal device
CN102902593B (en) Agreement distributing and processing system based on caching mechanism
CN109219070A (en) Supplementary service configuration method, device and electronic equipment
CN108089968A (en) A kind of method of host's machine monitoring virtual-machine data storehouse state
CN111245948A (en) DHT network connection method, electronic device, and medium
CN109862134A (en) A kind of the lease time configuration method and system of IP address

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190830

RJ01 Rejection of invention patent application after publication