Position: Home page » Ethereum » Ethereum interface C

Ethereum interface C

Publish: 2021-04-19 12:15:11
1.

They are:

bitcoin

the concept of bitcoin was first proposed by Nakamoto in 2009. According to Nakamoto's ideas, the open source software was designed and released, and the P2P network was built on it. Bitcoin is a kind of P2P digital currency. Point to point transmission means a decentralized payment system

bitcoin cash

bitcoin cash is a new version of bitcoin with different configurations launched by a small number of bitcoin developers

extended data:

virtual currency refers to non real currency. Well known virtual currency, such as network company's network currency, Tencent company's Q currency, Q point, Shanda company's voucher, Sina's Micro currency (used for micro games, Sina reading, etc.), chivalrous Yuanbao (used for chivalrous road game), silver pattern (used for bixue Qingtian game)

the popular digital currencies in 2013 are bitcoin, Leyte coin, infinite coin, quark coin, zeta coin, BBQ coin, pennies (Internet), invisible gold bar, red coin and prime currency. At present, hundreds of digital currencies are issued all over the world. Popular in the circle & quot; The legend of "bitcoin, Wright silver, infinite copper, pennies aluminum"

2. At the top of Ethereum is DAPP. It exchanges with the smart contract layer through Web3. JS. All smart contracts run on EVM (Ethereum virtual machine) and use RPC calls. Below EVM and RPC are the four core contents of Ethereum, including: blockchain, consensus algorithm, mining and network layer. Except DAPP, all other parts are in the Ethereum client. The most popular Ethereum client is geth (go Ethereum)
3.

Ethereum is an open source public blockchain platform with smart contract function. It provides decentralized virtual machine (Ethereum virtual machine) to process point-to-point contract through its special cryptocurrency ether (also known as "Ethereum")

The token on the

blockchain is called ether, and the code is eth. It can be traded in many foreign exchange markets of cryptocurrency, and it is also the medium used to pay transaction fees and computing services on Ethereum

the concept of Ethereum was first proposed by vitalik buterin, a programmer, from 2013 to 2014, inspired by bitcoin, with the general meaning of "next generation cryptocurrency and decentralized application platform", and began to develop through ICO crowdfunding in 2014. As of February 2018, Ethernet is the second highest cryptocurrency in market value, second only to bitcoin

extended data:

Ethereum platform has no characteristics and value. Like programming languages, it's up to entrepreneurs and developers to decide what to use. However, it is clear that some application types benefit more from the functions of Ethereum than others. Ethereum is especially suitable for those applications that automatically interact directly between points or promote group coordination activities across networks

for example, coordinate the application of point-to-point market, or the automation of complex financial contracts. Bitcoin enables indivials to exchange money without the help of financial institutions, banks or governments. The impact of Ethereum may be more profound

in theory, any complex financial activities or transactions can be automatically and reliably carried out on Ethereum with coding. In addition to financial applications, any application scenario with high requirements for trust, security and persistence, such as asset registration, voting, management and Internet of things, will be affected by Ethereum platform on a large scale

4. Eth interface refers to the interface, is the most widely used LAN communication mode, but also a protocol. Ethernet interface is the port of network data connection
each version of Ethernet has a maximum cable length limit (that is, the length without amplification). Signals within this range can propagate normally, and signals beyond this range cannot propagate
in order to allow the construction of a larger network, repeaters can be used to connect multiple cables. Repeater is a physical layer device, which can receive, amplify and retransmit signals in two directions
extended data
several common Ethernet interface types
1. SC optical fiber interface
SC optical fiber interface has been applied in the era of 100base TX Ethernet, so it was called 100base FX at that time (F is the abbreviation of optical fiber). However, at that time, because the performance was not more prominent than twisted pair, but the cost was higher, so it was not popularized. Now the instry vigorously promotes gigabit network, and SC optical fiber interface is re valued
2. RJ-45 interface
this kind of interface is the most common network equipment interface, commonly known as "crystal head", and the professional term is RJ-45 connector, which belongs to the type of twisted pair Ethernet interface. RJ-45 plug can only be inserted along the fixed direction, and a plastic spring piece is set to be stuck with RJ-45 slot to prevent it from falling off
3. FDDI interface
FDDI has the highest transmission rate among the mature LAN technologies. It has the characteristics of timed token protocol, supports a variety of topologies, and its transmission medium is optical fiber. Fiber distributed data interface (FDDI) is a set of protocols developed by American National Organization for Standardization (ANSI) to transmit digital signals on optical cables
reference source: Network Ethernet interface
5.

1. First, we click Start - control panel

6. In recent years, Cisco's high-end routers have basically adopted IOS XR system instead of the original IOS system; The original IOS system has a variety of simulators to simulate, a variety of play; However, it seems that there are not many options for IOS XR simulation. You can download the IOS xrv-k9-demo-5.2.0 file (the version is not necessarily 5.2.0) from the Cisco official website, and use VMware to run and simulate the IOS XR system
however, when I first used it, I encountered a problem, that is, the router simulated by IOS XR only has two physical interfaces: mgmteth0 / 0 / cpu0 / 0, and gigabitethernet 0 / 0 / 0 / 0, which is obviously not enough to play
therefore, under VMware, add the [network adapter] of the virtual machine. No matter how much you add it, the number of physical interfaces in the IOS XR system is always the same. What can you do
the solution is as follows: IOS XR virtual machine in my document, under the corresponding folder, there is a file: xxxxx.vmx, which corresponds to the name of the virtual machine. Use WordPad to open (Note: do not use Notepad to open and edit, because this will cause an error to be reported when running the virtual machine at last, and prompt "dictionary error"). In this document, there are some information about IOS XR physical interface, such as:
Ethernet0. Present = & quot; TRUE"< br />ethernet0.virtualDev = " e1000"< br />ethernet0.connectionType = " bridged"< br />ethernet0.startConnected = " TRUE"< br />ethernet0.addressType = " generated"< br />ethernet0.generatedAddress = " 00:0c:29:1c:1d:34"
in this document, the number of Ethernet is consistent with the number of network adapters in the virtual machine. According to the MAC address of each Ethernet in the document, it can correspond to each network adapter in the virtual machine. Therefore, as long as the [network adapter] of the virtual machine is added, the number of Ethernet in this document will be increased, and the corresponding configuration will be added
however, the problem to be solved in this paper is rooted in a command: Ethernet0. Virtualdev = & quot; e1000", By default, this command is available for Ethernet 0 and Ethernet 1, but not for other physical interfaces such as Ethernet 2 and Ethernet 3. Therefore, the router virtualized by IOS XR has no corresponding physical interface. By adding the following commands, we can solve the problem of unable to add physical interface of Router:
Ethernet 2. Virtualdev = & quot; e1000"< br />ethernet3.virtualDev = " e1000"
you can add [network adapter] in the virtual machine according to your own test needs, and add the above command in the VMX file, save the document, open it again, and you can see that the physical interface of the IOS XR router has increased, As follows
RP / 0 / 0 / cpu0: XR? Sho IP int bri
Thu Jul 16 22:45:55.638 UTC

interface IP address status protocol
mgmteth0 / 0 / cpu0 / 0 unassigned shutdown down
gigabitethernet 0 / 0 / 0 unassigned up
gigabitethernet ET0 / 0 / 0 / 1 unassigned shutdown down
gigabitethernet 0 / 0 / 0 / 2 unassigned shutdown down
gigabitethernet 0 / 0 / 0 / 3 unassigned shutdown down
note that when modifying the VMX document, you need to close the virtual machine first, save the closed document, and then open the virtual machine
when IOS XR virtual machine is just started, it is relatively slow, and it takes a long time to load the configuration, and the previous configuration can not be saved. As long as you wait for a period of time, you can resume normal use.
7. Ethtool - P eth0
after enter, the indicator light next to the network interface corresponding to eth0 will flash,
in this way, you can quickly determine the position of eth0 network interface (press Ctrl + C to stop flashing)
also determine eth1 and eth2...
8. 1. In the field of control, the system is often composed of decentralized subsystems; And each subsystem often uses the equipment and solutions of different manufacturers. Users need to integrate these subsystems and build a unified real-time monitoring system. 2. Such a real-time monitoring system needs to solve the data sharing among distributed subsystems, and each subsystem needs to coordinate the corresponding control instructions. 3. Considering that the real-time monitoring system often needs to be upgraded and adjusted. 4. All subsystems need to have a unified open interface. 5. OPC (OLE for process control) specification is the proct of this thinking. 6. OPC is based on Microsoft's distributed Internet application (DNA) architecture and component object model (COM) technology, and is designed for easy extensibility. OPC specification defines an instry standard interface. 7. OPC is a communication standard based on OLE / COM mechanism. Ole / COM is a client / server mode, which has the advantages of language independence, code reuse and easy integration. OPC standardizes the interface function, no matter what form the field device exists, the customer will visit it in a unified way, so as to ensure the transparency of the software to the customer, and make the user completely separated from the low-level development. 8. OPC defines an open interface on which PC based software components can exchange data. It is based on OLE object linking and embedding, COM component object model and DCOM Distributed COM. Therefore, OPC provides an ideal way for typical field devices in automation layer to connect instrial applications and office programs. OPC application domain 1, instrial control solution user 2, building control solution user 3, instrial control solution manufacturer 4, building control solution manufacturer 5, instrial control solution integrator 6, building control solution integrator 7, all automation fields OPC is a software interface standard for connecting data source (OPC server) and data user (OPC application program). The data source can be PLC, DCS, bar code reader and other control equipment. According to the composition of control system, OPC server as data source can be local OPC server running on the same computer with OPC application program, or remote OPC server running on another computer. OPC interface can not only be used to provide the original data of the lowest level control equipment to HMI (hardware supervision interface) / SCADA (supervision control and data acquisition), batch processing and other automation programs as data users (OPC application program) through the network, but also can be used to directly connect the application program and physical equipment. So OPC interface is an interface standard with high thickness and flexibility, which is suitable for many systems. What does OPC solve? Before the birth of OPC, there was no unified standard for the interface between the hardware driver and its connected application. For example, in the field of FA (factory automation) - factory automation, connecting PLC (programmable logic controller) and other control equipment with SCADA / HMI Software requires different FA network systems. According to a survey, in the cost of control system software development, the application program design of various machines accounts for 70% of the cost, while the development of the connection interface between machines and equipment accounts for 30%. In addition, in the PA (process automation) - process automation field, when you want to transfer all the process data in the distributed control system (DCS) to the proction management system, you must develop a specific interface according to each model of each supplier, for example, Use C language DLL (dynamic link database) to connect DDE (dynamic data exchange) server or use FTP (File Transfer Protocol) text to design application program. For example, when the system is composed of four kinds of control devices and their connected monitoring, trend diagram and reporting applications, it must spend a lot of time to develop the interface software of monitoring, trend diagram and reporting applications corresponding to devices a, B, C and D respectively. A total of 12 kinds of drivers are used. At the same time, e to the coexistence of various drives in the system, it is more difficult to maintain the stability and reliability of the operating environment. OPC is proposed for the purpose of standardizing the software interface between the devices and applications of different suppliers and simplifying the data exchange between them. As a result, it can provide users with process control software component procts that can be freely combined and used without depending on specific development language and development environment. The system using OPC is composed of OPC server which provides data collection service according to the requirements of application program (client program), OPC interface which is necessary for using OPC server, and OPC application program which receives service. OPC server is developed according to the hardware of each supplier, so that it can absorb the differences of hardware and system of each supplier, so as to realize the system composition independent of hardware. At the same time, by using a data type called variant, the data format can be provided according to the requirements of the application program, independent of the inherent data type in the hardware. Using OPC to standardize the interface can form a system as shown in Figure 5. As can be seen from Figure 5, users can choose monitoring, trend chart and reporting applications independent of the internal structure of devices a, B, C and D and their suppliers. Why develop independent OPC server and OPC gateway? 1. The high price of foreign original manufacturers; 2. The inflexibility of foreign original manufacturers in the face of projects; 3. The diversity of subsystem in domestic projects is difficult to provide driver; 4. The pursuit of independent OPC server is stable, real-time and fast. 5. Nonstandard of many subsystems 6. Possible inconsistency of EPC project before and after bidding 7. Expensive original platform server software 8. Whether the general contractor has invested a lot of manpower in the integration 9. Compatibility of platform and subsystem 10. Establishment of interoperability between OPC platform and subsystem 11. Solving the troubles of manufacturers and integrators in project integration 12 To solve the problem of distributed resources for secondary development by manufacturers and integrators 13. To solve the problem of subsystem manufacturers 14. To provide a transparent channel for data communication between upper and lower levels kayak, 2009-07-31 12:53:18 OPC interface, wrote a lot.
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750