CN105260199A - Method and device for deploying and managing electronic devices - Google Patents

Method and device for deploying and managing electronic devices Download PDF

Info

Publication number
CN105260199A
CN105260199A CN201510549586.1A CN201510549586A CN105260199A CN 105260199 A CN105260199 A CN 105260199A CN 201510549586 A CN201510549586 A CN 201510549586A CN 105260199 A CN105260199 A CN 105260199A
Authority
CN
China
Prior art keywords
electronic equipment
information
ore deposit
mac
identity information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510549586.1A
Other languages
Chinese (zh)
Other versions
CN105260199B (en
Inventor
白洋
詹克团
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Bitmain Technology Co Ltd
Original Assignee
Beijing Bitmain 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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=55099902&utm_source=***_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=CN105260199(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Beijing Bitmain Technology Co Ltd filed Critical Beijing Bitmain Technology Co Ltd
Priority to CN201510549586.1A priority Critical patent/CN105260199B/en
Publication of CN105260199A publication Critical patent/CN105260199A/en
Application granted granted Critical
Publication of CN105260199B publication Critical patent/CN105260199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and a device for deploying and managing electronic devices, and relates to the technical field of computer networks. The method comprises the steps of: obtaining the IP of the electronic devices, starting the electronic devices for work, sending the IP and MAC information of the electronic devices to PC software, and receiving the IP and MAC information sent by the electronic devices and correspondingly recording the physical positions of the electronic devices by the PC software. According to the method and device for deploying and managing the electronic devices, while the electronic devices are rapidly online is ensured, the physical location of each electronic device can be accurately learned.

Description

The method and apparatus of deployment and managing electronic equipment
Technical field
The present invention relates to technical field of the computer network, particularly relate to the method and apparatus of a kind of deployment and managing electronic equipment.
Background technology
Along with bit coin price continue rise violently, bit coin attracts the concern of more and more people as a kind of valuable electronic money, and increasing people pays close attention to and invests bit coin, and increasing people buys bit coin ore deposit machine and participates in digging ore deposit and obtain abundant profit.Bit coin digs ore deposit industry and enters the unprecedented white-hot stage.Calculation power increases substantially, and miner is to the lifting of the performance and deployment request of digging ore deposit equipment.Dig ore deposit industry and turn to large-scale trend gradually, enter the large mining site epoch.
In early days, the equipment that miners dig ore deposit still depends on CPU, video card.In recent years, along with calculation power increases substantially, these equipment have been not enough to support and meet the serious hope of miners to bit coin.So the bit coin of specialty digs ore deposit machine and is announced to the world splendidly, bit coin ore deposit machine is a kind of special customized computer, and kernel is made up of extensive ASIC integrated circuit, carries out the computing of hash algorithm specially.Nowadays, family ore deposit of digging cannot meet the miner's demand having sufficient electric power resource and fund.2014, part miner have selected extensive mining site formula and digs ore deposit, along with calculation power soars, the extensive mining site in the whole world also increases gradually, the ore deposit machine of institute's arrangement can hundreds thousand of countings, deploy to ensure effective monitoring and control of illegal activities on a large scale and not only have the advantage of calculation power, be more reduction of the integrated costs such as management, can allow the income that the main acquisition in ore deposit is larger.
But in practical application, mining site is built, the centralized management of mining site, the daily servicing of ore deposit machine and malfunction elimination etc. need to rely on a large amount of manually supporting.The technical matters needing those skilled in the art urgently to solve at present is exactly: how can innovatively propose a kind of effective measures, greatly facilitates the management maintenance work in the places such as mining site, meets more demands of practical application.
Summary of the invention
Embodiment of the present invention technical matters to be solved is to provide the method and apparatus of a kind of deployment and managing electronic equipment, greatly facilitates the maintenance and management of the place electronic equipments such as mining site.
In order to solve the problem, the invention discloses a kind of method of deployment and managing electronic equipment, comprising:
Obtain the identity information of electronic equipment; Described identity information is for showing the uniqueness of electronic equipment;
Send the identity information of electronic equipment to PC software;
The identity information that PC software receipt electronic equipment sends also carries out corresponding record with the physical location of electronic equipment.
Further, described identity information comprises one or more in word, numeral, letter and character.
Further, described identity information comprise electronic equipment IP and or MAC information.
Further, the IP of electronic equipment is obtained by arranging agreement automatic acquisition by DynamicHost.
Further, described method, after the identity information that PC software receipt electronic equipment sends, also comprises the verification of the identity information to electronic equipment with the physical location of electronic equipment before carrying out corresponding record.
Further, the verification of IP and the MAC information of electronic equipment is comprised the following steps:
The MAC information received is sent to corresponding electronic equipment according to IP information by PC software;
Electronic equipment receives the MAC information of PC transmission and verifies with self MAC information.
Further, described electronic equipment receives the MAC information of PC transmission and verifies with self MAC information, if check results is yes, then carries out corresponding record with the physical location of electronic equipment; Otherwise, then electronic equipment resend IP and MAC information to PC software and or electronic equipment is detected.
Further, described electronic equipment comprises computer server, virtual digit coin digs ore deposit machine, router and other there is the electronic equipment that virtual digit coin digs ore deposit function.
Further, described electronic equipment is virtual digit coin when digging ore deposit machine, and described method comprises:
Record digs the physical location of ore deposit machine;
Create watcher thread and port parameter is set;
Dig ore deposit machine broadcast transmission IP and MAC information;
PC software receipt data also intercept the former road of MAC field and beam back;
Dig ore deposit machine receive MAC and carry out information checking with self MAC:
If so, then IP and MAC information and physical location are carried out corresponding record, lay equal stress on new record next dig the physical location of ore deposit machine;
If not, then dig ore deposit machine resend IP and MAC information to PC software and or detect digging ore deposit machine.
The present invention also disclosed the device of a kind of deployment and managing electronic equipment, comprising:
Acquisition module, for completing the identity information obtaining electronic equipment; Described identity information is for showing the uniqueness of electronic equipment;
Sending module, for completing the identity information of transmission electronic equipment to PC software;
Logging modle, for completing the identity information of PC software receipt electronic equipment transmission and carrying out corresponding record with the physical location of electronic equipment.
Compared with prior art, the present invention includes following advantage:
Scheme provided by the invention is by obtaining the identity information of electronic equipment, described identity information is for showing the uniqueness of electronic equipment, send the identity information of electronic equipment to PC software, the identity information that PC software receipt electronic equipment sends also carries out corresponding record with the physical location of electronic equipment, accurately can know the physical location of electronic equipment while ensureing electronic equipment Quick thread, greatly facilitate the maintenance and management of electronic equipment.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, introduce doing one to the accompanying drawing used required in embodiment or description of the prior art simply below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is that a kind of described in the embodiment of the present invention one disposes and the method schematic diagram of managing electronic equipment;
Fig. 2 is that a kind of described in the embodiment of the present invention two disposes and the structural representation of device of managing electronic equipment.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
That introduces that the embodiment of the present invention provides in detail a kind ofly disposes and the method for managing electronic equipment.
With reference to Fig. 1, show the method schematic diagram of a kind of deployment of the present invention and managing electronic equipment, comprising:
S101, obtains the identity information of electronic equipment; Described identity information is for showing the uniqueness of electronic equipment; In application, identity information can be one or more the random combination in word, numeral, letter and character.The common identity information of electronic equipment as IP and or MAC information.
In actual applications, the IP of electronic equipment acquisition electronic equipment can by arranging protocol DHCP automatic acquisition by DynamicHost.
S102, sends the identity information of electronic equipment to PC software;
The identity information of electronic equipment is sent to PC, the identity information that PC software receipt electronic equipment sends, it is concrete when identity information is IP and MAC information, by the MAC received information is sent to corresponding electronic equipment according to IP information, the MAC information that electronic equipment reception PC sends and self MAC information verify, if check results is yes, then carry out corresponding record with the physical location of electronic equipment; Otherwise, then electronic equipment resend IP and MAC information to PC software and or electronic equipment is detected.
The identity information that S103, PC software receipt electronic equipment sends also carries out corresponding record with the physical location of electronic equipment.
In practical application, electronic equipment can be computer server, virtual digit coin digs ore deposit machine, router, can also be that other have the electronic equipment that virtual digit coin digs ore deposit function.
When electronic equipment be virtual digit coin dig ore deposit machine time, scheme comprises: record digs the physical location of ore deposit machine, create watcher thread and port parameter is set, dig ore deposit machine broadcast transmission IP and MAC information, PC software receipt data also intercept the former road of MAC field and beam back, and dig ore deposit machine and receive MAC and carry out information checking with self MAC, if, then IP and MAC information and physical location are carried out corresponding record, lay equal stress on new record next dig the physical location of ore deposit machine; If not, then dig ore deposit machine resend IP and MAC information to PC software and or detect digging ore deposit machine.
More specifically can realize in such a way:
1. ore deposit pusher side monitors pressing of button on ore deposit machine;
2. after button is pressed:
A) pusher side program in ore deposit starts;
B) network interface card IP is read, MAC information, and according to agreement form f1 packing;
C) send udp broadcast by agreement port p1 to LAN broadcast address, content is information packed in b;
D) monitor agreement port p2 and obtain PC end confirmation.
3.PC side is monitored in 2-c and is arranged port p1;
4. after PC side receives the broadcast of ore deposit pusher side transmission.
A) according to the form f1 arranged in 2-b, the packetizes messages received is resolved;
B) message by obtaining in 4-a, sets up tcpsocket using ip as destination address and connects and the MAC Address received in 4-a is sent to as information the port p2 arranged in the 2-d of destination address.
5. ore deposit pusher side receives in 4-b after message, contrasts with self mac address, is connected send acknowledge message to PC by the tcpsocket set up in 4-b;
After 6.PC receives acknowledge message, by IP and mac address and ore deposit machine physical location (artificially can input, also can automatically add up) associate and store.
By such scheme, ore deposit machine arranges the time that DHCP greatly reduces ore deposit machine IP initial configuration, and ore deposit machine rapid deployment is reached the standard grade, and obtains income in the shortest time.Simultaneously, do not worry the IP address cannot knowing ore deposit machine in specific physical location, mining site managerial personnel can know the IP address of current machine by the button pressed on the machine of ore deposit, the rule of physical location is set in PC side, IP can be completed by software, MAC, the correspondence of physical location, facilitates the management of ore deposit machine in mining site.
Embodiment two
That introduces that the embodiment of the present invention provides in detail a kind ofly disposes and the device of managing electronic equipment.
See Fig. 2, show the structural representation of the device of a kind of deployment of the present invention and managing electronic equipment, comprising:
Acquisition module 201, for completing the identity information obtaining electronic equipment; Described identity information is for showing the uniqueness of electronic equipment;
Sending module 202, for completing the identity information of transmission electronic equipment to PC software;
Logging modle 203, for completing the identity information of PC software receipt electronic equipment transmission and carrying out corresponding record with the physical location of electronic equipment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
A kind ofly to dispose and the method and apparatus of managing electronic equipment provided by the present invention above, be described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands realization of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a method for deployment and managing electronic equipment, is characterized in that, comprising:
Obtain the identity information of electronic equipment; Described identity information is for showing the uniqueness of electronic equipment;
Send the identity information of electronic equipment to PC software;
The identity information that PC software receipt electronic equipment sends also carries out corresponding record with the physical location of electronic equipment.
2. method according to claim 1, is characterized in that, described identity information comprise in word, numeral, letter and character one or more.
3. method according to claim 1, is characterized in that, described identity information comprise electronic equipment IP and or MAC information.
4. method according to claim 3, is characterized in that, obtains the IP of electronic equipment by arranging agreement automatic acquisition by DynamicHost.
5. method according to claim 3, is characterized in that, described method, after the identity information that PC software receipt electronic equipment sends, also comprises the verification of the identity information to electronic equipment with the physical location of electronic equipment before carrying out corresponding record.
6. method according to claim 5, is characterized in that, comprises the following steps the verification of IP and the MAC information of electronic equipment:
The MAC information received is sent to corresponding electronic equipment according to IP information by PC software;
Electronic equipment receives the MAC information of PC transmission and verifies with self MAC information.
7. method according to claim 6, is characterized in that, described electronic equipment receives the MAC information of PC transmission and verifies with self MAC information, if check results is yes, then carries out corresponding record with the physical location of electronic equipment; Otherwise, then electronic equipment resend IP and MAC information to PC software and or electronic equipment is detected.
8. method according to claim 1, is characterized in that, described electronic equipment comprises computer server, virtual digit coin digs ore deposit machine, router and other there is the electronic equipment that virtual digit coin digs ore deposit function.
9. method according to claim 7, is characterized in that, described electronic equipment is virtual digit coin when digging ore deposit machine, and described method comprises:
Record digs the physical location of ore deposit machine;
Create watcher thread and port parameter is set;
Dig ore deposit machine broadcast transmission IP and MAC information;
PC software receipt data also intercept the former road of MAC field and beam back;
Dig ore deposit machine receive MAC and carry out information checking with self MAC:
If so, then IP and MAC information and physical location are carried out corresponding record, lay equal stress on new record next dig the physical location of ore deposit machine;
If not, then dig ore deposit machine resend IP and MAC information to PC software and or detect digging ore deposit machine.
10. a device for deployment and managing electronic equipment, is characterized in that, comprising:
Acquisition module, for completing the identity information obtaining electronic equipment; Described identity information is for showing the uniqueness of electronic equipment;
Sending module, for completing the identity information of transmission electronic equipment to PC software;
Logging modle, for completing the identity information of PC software receipt electronic equipment transmission and carrying out corresponding record with the physical location of electronic equipment.
CN201510549586.1A 2015-08-31 2015-08-31 The method and apparatus of deployment and management electronic equipment Active CN105260199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510549586.1A CN105260199B (en) 2015-08-31 2015-08-31 The method and apparatus of deployment and management electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510549586.1A CN105260199B (en) 2015-08-31 2015-08-31 The method and apparatus of deployment and management electronic equipment

Publications (2)

Publication Number Publication Date
CN105260199A true CN105260199A (en) 2016-01-20
CN105260199B CN105260199B (en) 2019-05-21

Family

ID=55099902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510549586.1A Active CN105260199B (en) 2015-08-31 2015-08-31 The method and apparatus of deployment and management electronic equipment

Country Status (1)

Country Link
CN (1) CN105260199B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009807A (en) * 2017-10-17 2018-05-08 国家计算机网络与信息安全管理中心 A kind of bit coin transaction identity method
CN108647130A (en) * 2018-05-28 2018-10-12 比特大陆科技有限公司 A kind of localization method, alarm method and the relevant device and system of failure mine machine
CN109190387A (en) * 2018-08-01 2019-01-11 杭州微兔科技有限公司 A kind of method and system for digital block block chain calculating equipment remote identification

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455350A (en) * 2002-05-02 2003-11-12 微软公司 Method and system for determining position of mobile computer
CN101345659A (en) * 2008-08-27 2009-01-14 杭州华三通信技术有限公司 Network terminal control method and network terminal control system
CN101350153A (en) * 2008-07-15 2009-01-21 曹梅花 Label information system capable of gathering geographic position using label terminal and information acquisition method
CN101378353A (en) * 2007-08-27 2009-03-04 华为技术有限公司 User resource orientation method as well as communication system and relevant equipment
EP2479935A1 (en) * 2009-09-18 2012-07-25 ZTE Corporation Method, system and communication terminal for implementing inter-communication between new network and internet

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455350A (en) * 2002-05-02 2003-11-12 微软公司 Method and system for determining position of mobile computer
CN101378353A (en) * 2007-08-27 2009-03-04 华为技术有限公司 User resource orientation method as well as communication system and relevant equipment
CN101350153A (en) * 2008-07-15 2009-01-21 曹梅花 Label information system capable of gathering geographic position using label terminal and information acquisition method
CN101345659A (en) * 2008-08-27 2009-01-14 杭州华三通信技术有限公司 Network terminal control method and network terminal control system
EP2479935A1 (en) * 2009-09-18 2012-07-25 ZTE Corporation Method, system and communication terminal for implementing inter-communication between new network and internet

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009807A (en) * 2017-10-17 2018-05-08 国家计算机网络与信息安全管理中心 A kind of bit coin transaction identity method
CN108647130A (en) * 2018-05-28 2018-10-12 比特大陆科技有限公司 A kind of localization method, alarm method and the relevant device and system of failure mine machine
CN109190387A (en) * 2018-08-01 2019-01-11 杭州微兔科技有限公司 A kind of method and system for digital block block chain calculating equipment remote identification
CN109190387B (en) * 2018-08-01 2022-07-26 浙江微片科技有限公司 Method and system for remotely identifying digital block chain computing device

Also Published As

Publication number Publication date
CN105260199B (en) 2019-05-21

Similar Documents

Publication Publication Date Title
US11533187B2 (en) Device birth certificate
CN102437938B (en) Large-scale network monitoring oriented virtual deployment system and method
US9720673B2 (en) System, method, and computer program product for collaboratively installing a computer application
CN104811433A (en) Distributed IoT (Internet of Things) solution scheme of C/S configuration
CN104243182A (en) Directional traffic charging method and directional traffic charging system
CN105260199A (en) Method and device for deploying and managing electronic devices
CN104461683A (en) Verification method, device and system for virtual machine illegal configuration
CN103327051A (en) Long-distance desktop management system and method
CN104202334A (en) Network connection establishing method and device
CN106406980B (en) A kind of dispositions method and device of virtual machine
CN104506370A (en) Management method and management device for non-network-management system
CN105657677A (en) Short message sending method, short message gateway and service platform
CN106657134A (en) Method and system for stabilizing communication, mining server and client
CN112579353A (en) Automatic operation and maintenance method and device and big data platform
CN103684792A (en) Safety authentication method for OAM (Operation, Administration and Maintenance) and OAM message sending/receiving device
CN104113510A (en) Virtual desktop system and message data transmitting method thereof
CN104869142A (en) Link sharing method based on social platform, system and device
CN103888435A (en) Service admission control method, device and system
CN109683917A (en) For the method for being deployed in application server, equipment and medium will to be applied
US9172607B2 (en) Transmitting of configuration items within a network
CN111682945A (en) Block chain authority control method, device, equipment and medium
CN104539528A (en) Multi-core communication equipment and method for message interaction between multi-core communication equipment and RADIUS server
CN107566182A (en) The adapting method and system of a kind of NFS
CN108512688A (en) Network node configuration method and terminal
CN105357185A (en) Shared account login verification method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant