CN101064715A - Realization of embedded system based P2P technique - Google Patents

Realization of embedded system based P2P technique Download PDF

Info

Publication number
CN101064715A
CN101064715A CN 200610075911 CN200610075911A CN101064715A CN 101064715 A CN101064715 A CN 101064715A CN 200610075911 CN200610075911 CN 200610075911 CN 200610075911 A CN200610075911 A CN 200610075911A CN 101064715 A CN101064715 A CN 101064715A
Authority
CN
China
Prior art keywords
network
embedded system
shared resource
peer node
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
CN 200610075911
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.)
Beijing Zhengxinhuicheng Sci & Tech Development Co Ltd
Original Assignee
Beijing Zhengxinhuicheng Sci & Tech Development 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 Beijing Zhengxinhuicheng Sci & Tech Development Co Ltd filed Critical Beijing Zhengxinhuicheng Sci & Tech Development Co Ltd
Priority to CN 200610075911 priority Critical patent/CN101064715A/en
Publication of CN101064715A publication Critical patent/CN101064715A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to method of realizing P2P applications in multitask real time embedded system. The embedded system equipment possesses advantages of low spending, little volume, low cost, high reliability, process in time, it is used widely in multiple fields, because the process capability and storing capability are low, expansion of function is limited; the P2P technique combines the user terminals to a network, and shares the bandwidth, processes information; the invention syncretizes the embedded system, P2P technique, and distributed management, and realizes functions of sharing file download, searching and retrieving, content dispensing, network storing, cooperating work, internet call, instant communication, mobile communication, distributed calculation.

Description

P2P technology based on embedded system realizes
Technical field
The present invention relates to the communications field, multimedia field, especially the technology implementation method of P2P in embedded system device
Background technology
Fast development along with electronic technology, the particularly generation of large scale integrated circuit and the microcomputer that occurs, make modern scientific research obtain qualitative leap, the appearance of embedded microcontroller technology then is to have brought once new technological revolution to modern industry control field.The system that forms by embedded microcontroller, remarkable advantages can be embedded into any miniature or miniature instrument exactly, in the equipment, along with the requirement of market to superminiature Embedded Application technology and product constantly increases, and the progress of semiconductor technology and design method, embedded system is under present development situation, the more and more higher and Internet connection of reliability and application level has been a kind of tangible trend, embedded device possesses network function, and be connected with the Internet or corporate intranet, strengthened the many-sided practicality of embedded system, the flush bonding processor disposal ability that embedded system device uses is still very limited, data space is less relatively, storage capacity a little less than, such as more popular embedded hardware platform:
Processor: flush bonding processor (ARM, MIPS etc.)
Internal memory: SDRAM chip
Memory device: Flash chip
Input equipment: button, touch screen
Input equipment: LCD
Sound device: audio chip
The network equipment: network card chip (10M~100M)
Other equipment: USB chip etc.
The embedded system product that possesses network function mainly contains following aspect:
1) intelligent PDA
Built-in multimedia resource can not satisfy the demands far away, the resource that needs more renewals, also just must be from multimedia messagess such as the various films of liking of network download, picture, sound, crucial problem is exactly to search the thing of wanting, and quick-downloading, the function of search of present wireless network a little less than, download can only be to download from server, when the user was many, speed of download was slower, causes failed download.
2) industrial instrument
After the industrial instrument that possesses network function is connected to the Internet or corporate intranet, need in real time and server carries out communication, adopt traditional C/S model, need collaborative work between instrument and the instrument in the part industry, in this case, just must rely on server scheduling, can not guarantee timely degree, cause collaborative work to have some setbacks.
3) family's set-top box
The Streaming Media transmission of the at present main C/S of dependence mode realizes Vod and live, and the server-side system framework is huge, and streaming media server support concurrent limited, will can't bear the heavy load along with the user increases server, cause playing interrupted, even connect and interrupt.
4) other smart machines
Because the flush bonding processor computing capability is relatively low, when carrying out complicated calculating, will expend a large amount of stand-by period.
Conclude the above, several aspects that traditional embedded system product needed is improved:
1) be connected to the Internet after, but all kinds of shared information of intelligent search and can obtain loading source from multiple spot, concurrent download is increased network utilization, thereby quickens to download
2) reciprocity connection mode is adopted in the cooperation of the communication between the equipment, has the management of effectively reporting for work, and asynchronous, parallel, reliable and real time communication can be provided
3) the equipment self computing capability is limited, needs to rely on Internet resources to carry out extensive high-performance cooperation and calculates
Summary of the invention
Purpose of the present invention is exactly in the existing embedded product, the network shared resource utilance is low, and a kind of P2P solution of in embedded system, efficiently utilizing Internet resources that proposes, the internet resource that the present invention mentions is a resource available on the Peer equipment: the CPU disposal ability, bandwidth, disk space or the like.
P2P is Peer to Peer, be called equity and connect or peer-to-peer network, directly mutual by the Internet or corporate intranet between the Peer, P2P makes that the communication on the network becomes easily, more direct share and mutual, eliminate the agent veritably, the P2P technology has following characteristic:
A, Peer know the existence of other Peer
B, Peer move in a virtual network
C, Peer have the characteristics of Client and Server simultaneously
D, a plurality of Peer can consist of a Peer group
The P2P network is by building intelligent node overlay network, adopt the distribution management pattern, at the network key position intelligent node is set, is used for monitoring resource distribution and bandwidth availability ratio, transmission delay, route trend, flow rate mode and distribution, interruption and fault and virus infections popularity etc. on the ambient network.These information of exchange between the intelligence node further realize monitoring and control summary responses.The intelligence node provides the layering retrieval capability, uses based on the P2P of embedded system and mainly contains three major types: the P2P content is shared, P2P communication cooperation, P2P is collaborative calculates.
(1) the P2P content is shared
The P2P content is shared and is comprised shared file download, search and retrieval, content distribution, the network storage and peer broadcast etc.The P2P content is shared and is set up safe and reliable network by scheduling of resource.When a large number of users is visited a network simultaneously, can cause congested, adopt the P2P method, by the request of intelligent node supervision, in case extraordinary quick growth occurs to website visiting, automatically the page is distributed to additional node, adopts the directed again content delivery network (CDN) that forms of request.Adopt dynamically and mouthful to select and two-way download, can file of multidiameter delay download and upload and/or multidiameter delay download the part of a file, quickening file distributing speed.
(2) P2P communication cooperation
P2P communication cooperation comprises collaborative work, Internet Protocol telephone, instant messaging and mobile communication.Adopt the distributed index technology, set up the super-peer overlapping network, constitute the distributed terminal database,, help reducing search time by node butt joint swap date.Because this P2P network uses the disposal ability of the computer of terminal own, the disposal ability of whole network increases and increases along with terminal number.P2P instantaneous communication system (IM) adopts reciprocity connection mode, and message format uses XML (extensible Markup Language) (XML), has the management of effectively reporting for work, and can provide asynchronous, parallel, reliably communicate by letter with near real time.Support to move report for work management and mobile immediate communication.System uses ietf standard assurance intercommunication to use mutually.
3) P2P is collaborative calculates
The collaborative calculating of P2P comprises cooperation calculating, grid (Grid) and data content grid.Network is distributed P2P mode, adopts and mixes equality butt joint P2P architecture, based on the safety and the digital signature of PKIX, the Web service of Simple Object Access Protocol (SOAP) message is arranged.
In addition, present IPv4 the Internet adopts proprietary address and network address transmission device (NAT) in a large number because the IP address is not enough, and P2P does not need NAT just can realize function and logic control at the IPv6 in future online operation, can simplify network design.For the network architecture, no longer need to consider the compatibility between NAT and the software thereof, also do not need server, reduce operating cost at far-end.
Description of drawings
Fig. 1 is the method schematic diagram that embedded system is obtained resource in the prior art
Fig. 2 is that embedded system utilizes P2P to obtain the method schematic diagram of resource among the present invention
In the accompanying drawing 1,2: work station
3: intelligent PDA
4,5: embedded device
6: data server
Embodiment
As shown in Figure 1, traditional embedded system is obtained external resource and is undertaken by the Client/Server pattern, and the Internet resources path is single, and function a little less than, to be example, the specific embodiment of the present invention is described below in conjunction with Figure of description 2 based on embedded Linux system.
Step 1, build embedded system
A, reduction linux kernel: adjust Linux guiding kernel and initialize process, select and revise hardware device drivers as required, load essential system application, simplify the TCP/IP network protocol stack, recompilate linux kernel
B, reduction file system: reduce the unwanted file of goal systems as required, and revise the kernel respective profiles
C, design BootLoader: be responsible for detection hardware, and carry out the initiating hardware peripheral hardware, start linux kernel
D, design Linux built-in application program: write the P2P application program
E, storage medium is carried out subregion, programming linux kernel, file system and application program
Step 2, structure P2P application framework
A, start and to build the embedded system that finishes, enter system after, the configuration network relevant parameter enters the Internet or intranet
B, configuration P2P Internet resources, configuration information publisher node, P2P member organize information, safety verification information
C, configuration local shared resources (LSR), share service, and resource encrypted, the index announcement generated
Step 3, shared resource issue
A, startup P2P use, and according to configuration parameter, are connected to relevant P2P network, by safety verification, to the announcement of relevant super Peer node issue self the Peer network information, and set up the virtual network passage.
B, issue shared resource are to the P2P network, and Peer node retrieval local shared resources (LSR) generates the announcement of HASH index, and add the network location information of self Peer, notify to the P2P network of relevant super Peer node and correspondence.
Step 4, shared resource are found and are obtained
A, intelligent search shared resource
The Peer node receives the advertised information of P2P network in real time, and according to the agreement mode decode, obtain network shared resource information, and carry out intelligent search network resource as required, and obtaining Internet resources from the super Peer node of P2P network, super Peer node is by active probe and monitor link between the node, set up optimal path, reduce packet loss, reduce time delay, improve throughput.
B, intelligent multi-source are downloaded shared resource
After searching related resource, extract the network path after optimizing, carry out the multi-source file transfer, adopt the multidiameter delay download and upload between the Peer, super Peer node real-time optimization file fragment route improves network transfer speeds.After resource downloading finishes, carry out resource checksum, decode according to agreed manner.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.

Claims (5)

1, in the method for Implementation of Embedded System P2P, it is characterized in that, may further comprise the steps:
A, in the equipment of embedded system, load the P2P application program
B, by the P2P network, the issue shared resource
C, by the P2P network, the search shared resource
D, utilize shared resource to carry out data communication.
2, the P2P that loads in embedded system according to claim 1 uses, and it is characterized in that: comprise the P2P application program in the file system of embedded system, this P2P program also can connect the Internet or local area network (LAN), and enter outside P2P network.
3, embedded system according to claim 2 is by P2P network issue shared resource, it is characterized in that: embedded system enters the P2P network by network, by safety verification,, and set up the virtual network passage to the announcement of relevant super Peer node issue self the Peer network information.
4, embedded system according to claim 3 is by P2P web search shared resource, it is characterized in that: the Peer node receives the advertised information of P2P network in real time, and according to the agreement mode decode, obtain network shared resource information, and carry out intelligent search network resource as required, obtain Internet resources from the super Peer node of P2P network, super Peer node is set up optimal path by the link between active probe and the supervision node.
5, embedded system according to claim 4 is carried out data communication by P2P network utilisation shared resource, it is characterized in that:
A, Peer node utilize super node to optimize path intelligence multi-source downloaded resources
Collaborative calculating between B, the Peer node, the disposal ability of shared processing device
The communication cooperation is used point-to-point passage and is communicated between C, the Peer node.
CN 200610075911 2006-04-24 2006-04-24 Realization of embedded system based P2P technique Pending CN101064715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610075911 CN101064715A (en) 2006-04-24 2006-04-24 Realization of embedded system based P2P technique

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610075911 CN101064715A (en) 2006-04-24 2006-04-24 Realization of embedded system based P2P technique

Publications (1)

Publication Number Publication Date
CN101064715A true CN101064715A (en) 2007-10-31

Family

ID=38965426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610075911 Pending CN101064715A (en) 2006-04-24 2006-04-24 Realization of embedded system based P2P technique

Country Status (1)

Country Link
CN (1) CN101064715A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009089788A1 (en) * 2008-01-08 2009-07-23 Huawei Technologies Co., Ltd. Method, device and system for realizing resource sharing
CN102801800A (en) * 2012-08-03 2012-11-28 中国联合网络通信集团有限公司 Method and system for performing resource sharing processing among plurality of wireless terminals
CN103078922A (en) * 2012-12-28 2013-05-01 国家计算机网络与信息安全管理中心 Resource releasing system based on virtual computing environment
CN103269302A (en) * 2012-12-07 2013-08-28 北京奇虎科技有限公司 Shared file management method and system for instant messaging
CN103281234A (en) * 2012-12-07 2013-09-04 北京奇虎科技有限公司 File processing method and system in instant messaging
CN103826222A (en) * 2012-11-16 2014-05-28 中国电信股份有限公司 Method and system for cooperatively executing task, and user equipment
CN104506505A (en) * 2014-12-17 2015-04-08 王迪兴 Two-way information interactive Internet architecture system and implementation method thereof
CN107483614A (en) * 2017-08-31 2017-12-15 京东方科技集团股份有限公司 Content scheduling method and communication network based on CDN Yu P2P networks

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009089788A1 (en) * 2008-01-08 2009-07-23 Huawei Technologies Co., Ltd. Method, device and system for realizing resource sharing
CN102801800A (en) * 2012-08-03 2012-11-28 中国联合网络通信集团有限公司 Method and system for performing resource sharing processing among plurality of wireless terminals
CN102801800B (en) * 2012-08-03 2015-06-10 中国联合网络通信集团有限公司 Method and system for performing resource sharing processing among plurality of wireless terminals
CN103826222A (en) * 2012-11-16 2014-05-28 中国电信股份有限公司 Method and system for cooperatively executing task, and user equipment
CN103269302A (en) * 2012-12-07 2013-08-28 北京奇虎科技有限公司 Shared file management method and system for instant messaging
CN103281234A (en) * 2012-12-07 2013-09-04 北京奇虎科技有限公司 File processing method and system in instant messaging
CN103078922A (en) * 2012-12-28 2013-05-01 国家计算机网络与信息安全管理中心 Resource releasing system based on virtual computing environment
CN104506505A (en) * 2014-12-17 2015-04-08 王迪兴 Two-way information interactive Internet architecture system and implementation method thereof
CN107483614A (en) * 2017-08-31 2017-12-15 京东方科技集团股份有限公司 Content scheduling method and communication network based on CDN Yu P2P networks
CN107483614B (en) * 2017-08-31 2021-01-22 京东方科技集团股份有限公司 Content scheduling method and communication network based on CDN (content delivery network) and P2P network

Similar Documents

Publication Publication Date Title
US9521180B2 (en) Adaptive variable fidelity media distribution system and method
US20100037225A1 (en) Workload routing based on greenness conditions
CN101064715A (en) Realization of embedded system based P2P technique
US20150172345A1 (en) System and method for efficient delivery of repetitive multimedia content
Cao et al. Datacast: A scalable and efficient reliable group data delivery service for data centers
WO2014150378A1 (en) Distributed database management
WO2013060210A1 (en) Sharing control system and method for network resources download information
KR20010088742A (en) Parallel Information Delievery Method Based on Peer-to-Peer Enabled Distributed Computing Technology
CN104836821A (en) Method, device and equipment for network acceleration based on router
US8966107B2 (en) System and method of streaming data over a distributed infrastructure
TW202038581A (en) Management client, and device monitoring system and method
CN1897588A (en) Mixed-mode network file transmitting method and system
US20100115031A1 (en) System and Method For Enabling P2P Applications in a Wireless Mobile Network
US20140143339A1 (en) Method, apparatus, and system for resource sharing
US9740523B2 (en) Optimizing stream-mode content cache
WO2022242361A1 (en) Data download method and apparatus, computer device and storage medium
CN104394221B (en) Utilize edge service node for Stream Media Application carry out accelerate process method and system
CN103442034A (en) Streaming media service method and system based on cloud computing technology
CN102307196A (en) Real-time video data network transmission method
Kim et al. A scalable pub/sub system for ndn
Kelényi et al. Peer-to-peer file sharing for mobile devices
JP2013516900A (en) Use of resources in a peer-to-peer computing environment
Hoang Building a framework for high-performance in-memory message-oriented middleware
Baydeti et al. Scalable Models for Redundant Data Flow Analysis in Online Social Networks
CN113726723B (en) UDP-based data transmission method, device and equipment

Legal Events

Date Code Title Description
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Lv Xingxing

Document name: Written notice of preliminary examination of application for patent for invention

C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication