CN106909530B - A kind of Dynamic calculation method - Google Patents

A kind of Dynamic calculation method Download PDF

Info

Publication number
CN106909530B
CN106909530B CN201710110100.3A CN201710110100A CN106909530B CN 106909530 B CN106909530 B CN 106909530B CN 201710110100 A CN201710110100 A CN 201710110100A CN 106909530 B CN106909530 B CN 106909530B
Authority
CN
China
Prior art keywords
circuit
calculation method
reconfigurable
dynamic calculation
reconfigurable circuit
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.)
Expired - Fee Related
Application number
CN201710110100.3A
Other languages
Chinese (zh)
Other versions
CN106909530A (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.)
JIANGSU DCOM INTELLIGENT TECHNOLOGY CO., LTD.
Original Assignee
Jiangsu Dcom Intelligent 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 Jiangsu Dcom Intelligent Technology Co Ltd filed Critical Jiangsu Dcom Intelligent Technology Co Ltd
Priority to CN201710110100.3A priority Critical patent/CN106909530B/en
Priority to CN201810664354.4A priority patent/CN109033007A/en
Priority to CN201810201331.XA priority patent/CN108415876B/en
Publication of CN106909530A publication Critical patent/CN106909530A/en
Application granted granted Critical
Publication of CN106909530B publication Critical patent/CN106909530B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7867Architectures of general purpose stored program computers comprising a single central processing unit with reconfigurable architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The present invention discloses a kind of Dynamic calculation method, is related to technical field of data processing, for improving the data-handling capacity of computer.The Dynamic calculation method includes:Estimate the required computing capability of cloud storage;According to the required computing capability estimated out, reconfigurable circuit is built;The reconfigurable circuit of structure is formed into virtual processor;Virtual processor is distributed into corresponding virtual machine;As the calculating needed for virtual machine completes cloud storage.The present invention is suitable for computer realm.

Description

A kind of Dynamic calculation method
Technical field
The present invention relates to technical field of data processing more particularly to a kind of Dynamic calculation methods.
Background technology
With the development of science and technology, all trades and professions such as are required for computer to be stored, calculate at a series of operation, this requirement Computer has powerful computing capability and processing processing capacity.Especially, cloud storage is as new fashion trend, it is often necessary to Carry out substantial amounts of data storage and calculating.
In the prior art, by increasing the quantity of processor, the required processing capacity of cloud storage is increased, although calculating effect Rate increases, but calculating cost increases.
The content of the invention
It is an object of the invention to provide a kind of Dynamic calculation method and its device, for not increasing the same of calculating cost When, improve the data-handling capacity of computer.
In order to achieve the above objectives, the present invention adopts the following technical scheme that:
The first aspect of the present invention provides a kind of Dynamic calculation method, which is characterized in that the Dynamic calculation method includes:
Step 1: estimate the required computing capability of cloud storage.
Step 2: according to the required computing capability estimated out, reconfigurable circuit is built.
Step 3: the reconfigurable circuit of structure is formed into virtual processor.
Step 4: virtual processor is distributed into corresponding virtual machine.
Step 5: as the calculating needed for virtual machine completes cloud storage.
According to above-mentioned Dynamic calculation method, the required computing capability of cloud storage is estimated first, according to computer Group and/or the existing computing capability of computer, are allocated processor from newly, so as to achieve the purpose that quickly to handle data, Constantly increase processor in compared with the prior art, this programme not only calculates cost without increasing, and effectively carries High computational efficiency.
The Dynamic calculation method further includes:Between step 1 and step 2, the quantity of idle logic circuit is counted.
In step 2, reconfigurable circuit includes n idle logic circuit, wherein, n is positive integer;If n is equal to 1, select Select any one logic circuit composition reconfigurable circuit being in idle condition;If n is more than 1, select physical address adjacent Two or more logic circuit composition reconfigurable circuits being in idle condition.
N logic circuit for forming reconfigurable circuit is arranged to possession state.
Logic circuit is coprocessor circuit, fast Fourier transform circuit, surmounts function circuit, bus control unit electricity Road, timer circuit or hardware algorithm build modular circuit.
In step 4, virtual processor is one-to-one relationship with virtual machine;Alternatively, multiple virtual processors correspond to one A virtual machine.
Step 5 further includes, if mistake occurs in virtual machine calculating process, terminates the calculating process, and by the calculating process The content of involved reconfigurable circuit is removed, and reconfigurable circuit is made to be restored to idle state, and rebuilds reconfigurable circuit.
The Dynamic calculation method further includes:Step 6: after calculating end or terminating, the content in reconfigurable circuit is clear It removes, reconfigurable circuit is made to be restored to idle state.
The second aspect of the present invention provides a kind of dynamic computing device, which includes:Unit is estimated, is used for Estimate the required computing capability of cloud storage;The construction unit being connected with estimating unit, by according to estimate out it is required based on Calculation ability builds reconfigurable circuit;The processing unit being connected with construction unit, for the virtual processing of reconfigurable circuit composition that will be built Device;The allocation unit being connected with processing unit, for virtual processor to be distributed to corresponding virtual machine.
The dynamic computing device further includes:The statistic unit being respectively connected with estimating unit and construction unit, for counting N idle logic circuit is formed reconfigurable circuit by the quantity of logic circuit, wherein, n is positive integer.
The dynamic computing device further includes:Clearing cell, for when calculate terminate or terminate after, will be in reconfigurable circuit Content is removed, and reconfigurable circuit is made to be restored to idle state.
According to above-mentioned dynamic computing device, processor is allocated again, so as to achieve the purpose that quickly to handle data, Constantly increase the solution of processor in compared with the prior art, this programme not only calculates cost, Er Qieyou without increasing Improve computational efficiency to effect.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, embodiment will be described below Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without creative efforts, can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is the flow chart of Dynamic calculation method in embodiment;
Fig. 2 is the structure diagram of dynamic computing device in embodiment.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without making creative work Example, belongs to the scope of protection of the invention.
Embodiment one
A kind of Dynamic calculation method is present embodiments provided, as shown in Figure 1, the Dynamic calculation method includes:
Step 1: estimate the required computing capability of cloud storage.
Step 2: according to the required computing capability estimated out, reconfigurable circuit is built.
Step 3: the reconfigurable circuit of structure is formed into virtual processor.
Step 4: virtual processor is distributed into corresponding virtual machine.
Step 5: as the calculating needed for virtual machine completes cloud storage.
According to above-mentioned Dynamic calculation method, the required computing capability of cloud storage is estimated first, according to computer Group and/or the existing computing capability of computer, are again allocated processor, so as to achieve the purpose that quickly to handle data, Constantly increase the solution of processor in compared with the prior art, this programme not only calculates cost, Er Qieyou without increasing Improve computational efficiency to effect.
In order to clearly illustrate Dynamic calculation method in the present embodiment, above-mentioned Dynamic calculation method is carried out in detail below Description:
First, the main control unit in computer cluster and/or computer is to needing to carry out the required meter of cloud storage Calculation ability is estimated, certainly, the main control unit include all processor and with all corresponding ports of processor. It is preferred in this example, by main control unit, any one idle processor or multiple idle processor compositions it is whole Body needs the progress required computing capability of cloud storage to estimate to above-mentioned.
Then, according to the above-mentioned computing capability estimated, reconfigurable circuit is built, which can be logic circuit, show Example property, it can be coprocessor circuit, fast Fourier transform circuit, surmount function circuit, bus control unit circuit, timer Circuit or hardware algorithm build the combination of one or more of modular circuit.
Illustratively, the present embodiment before reconfigurable circuit is built, can also count the quantity of idle logic circuit, and will Idle logic circuit composition reconfigurable circuit.Specifically, the Dynamic calculation method further includes:Between step 1 and step 2, The quantity of idle logic circuit is counted, the computing capability according to needed for cloud storage counts the logic electricity needed for the computing capability Road, and that idle logic circuit is formed into reconfigurable circuit, wherein, n is positive integer.
Also, according to required computing capability, the quantity of n can be 1 or multiple, if specifically, when n is equal to 1, selection is appointed The logic circuit composition reconfigurable circuit that meaning one is in idle condition;If n is more than 1, select that physical address is adjacent two Or multiple logic circuit composition reconfigurable circuits being in idle condition.
In order to not be disturbed in data processing, n logic circuit for forming reconfigurable circuit can be arranged to occupy State.Wherein, which can be coprocessor circuit, fast Fourier transform circuit, surmount function circuit, bus Controller circuitry, timer circuit or hardware algorithm build modular circuit.
Further, the reconfigurable circuit built is formed into virtual processor, and virtual processor is distributed to relatively The virtual machine answered.As the calculating needed for virtual machine completes cloud storage.At this point, the correspondence of virtual processor and virtual machine can be One-to-one relation;Alternatively, the correspondence of virtual processor and virtual machine can be many-to-one relation.Above-mentioned correspondence Selection, mainly depend on the quantity with required computing capability and the virtual machine that can be called.If for example, in the calculating process In, it can only be called there are one virtual machine, then the correspondence of above-mentioned virtual processor and virtual machine is then to a virtual processor Corresponding same virtual machine.For another example in the calculating process, the virtual machine quantity that can be called is multiple, will can virtually be handled The correspondence of device and virtual machine is so conducive to improve the processing speed of data, so as to effectively improve number to correspond According to processing capacity.
Certainly, in step 5, if mistake occurs in calculating process in virtual machine, the calculating process is terminated, and should The content of reconfigurable circuit involved by calculating process is removed, and reconfigurable circuit is made to be restored to idle state, and rebuilds reconstruct Circuit.If that is, in calculating process, there is mistake and be returned in step 2, rebuild reconfigurable circuit.So as to avoid Malfunction due to calculating, caused by calculate overlong time, further increase computational efficiency, save and calculate time.
Alternatively, can also set watchdog circuit on a virtual machine, if virtual machine does not export feeding-dog signal for a long time, terminate Calculating process, and the content for the reconfigurable circuit being involved in is removed, and reconfigurable circuit is made to be restored to idle state, and rebuild weight Structure circuit.
Illustratively, Dynamic calculation method further includes in this implementation:Step 6: after calculating end or terminating, it will weight Content in structure circuit is removed, and reconfigurable circuit is made to be restored to idle state.So as to which the reconfigurable circuit occupied in calculating process be released It puts, convenient for completing calculating next time.
Inevitably, in the present embodiment data processing complete after, be just stored in server or compared with memory in, Illustratively, which can be flash storage, i.e., new nonvolatile memory can be effectively prevented and count after a loss of power According to loss, the access speed of data is fast.
Embodiment two
The present embodiment provides a kind of dynamic computing device, which is suitable for dynamic described in above-described embodiment one State computational methods, as shown in Fig. 2, the dynamic computing device includes:
Unit 1 is estimated, for estimating the required computing capability of cloud storage;The construction unit 2 being connected with estimating unit 1, For according to the required computing capability calculated, building reconfigurable circuit;The processing unit 3 being connected with construction unit 2, for inciting somebody to action The reconfigurable circuit composition virtual processor of structure;The allocation unit 4 being connected with processing unit 3, for virtual processor to be distributed To corresponding virtual machine.
The dynamic computing device may also include:The statistic unit being respectively connected with estimating unit 1 and construction unit 2, is used for N idle logic circuit is formed reconfigurable circuit by the quantity of statistic logic circuit, wherein, n is positive integer.
Further, which is connected with one or more virtual machines, these virtual machines are deposited for completing cloud Calculating needed for storage, dynamic computing device distribute virtual processor for these virtual machines.
Above-mentioned virtual machine can be computer cluster and/or computer.
In addition, the dynamic computing device may also include:Watchdog unit, the watchdog unit are made of watchdog chip, The watchdog unit receives the regular and/or irregular feeding-dog signal that virtual processor is beamed back, if watchdog unit does not receive Regular and/or irregular feeding-dog signal, then terminate calculating process;And the termination signal is sent to clearing cell, it removes single After member receives the signal, the content of the reconfigurable circuit arrived involved in calculating process is removed, reconfigurable circuit is made to be restored to idle shape State.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (5)

1. a kind of Dynamic calculation method, which is characterized in that the Dynamic calculation method includes:
Step 1: estimate the required computing capability of cloud storage;
Step 2: according to the required computing capability estimated out, reconfigurable circuit is built;
Step 3: the reconfigurable circuit of structure is formed into virtual processor;
Step 4: virtual processor is distributed into corresponding virtual machine;
Step 5: as the calculating needed for virtual machine completes cloud storage;
It further includes:Between step 1 and step 2, the quantity of idle logic circuit is counted;
Reconfigurable circuit includes n idle logic circuit, wherein, n is positive integer;
If n is equal to 1, any one logic circuit being in idle condition is selected to form reconfigurable circuit;If n is more than 1, The adjacent two or more logic circuit composition reconfigurable circuits being in idle condition of selection physical address.
2. Dynamic calculation method according to claim 1, which is characterized in that n logic circuit of reconfigurable circuit will be formed It is arranged to possession state.
3. Dynamic calculation method according to claim 2, which is characterized in that logic circuit is coprocessor circuit, quickly Fourier-transform circuitry surmounts function circuit, bus control unit circuit, timer circuit or hardware algorithm construction modular circuit.
4. Dynamic calculation method according to claim 1, which is characterized in that step 5 further includes, if virtual machine calculated There is mistake in journey, then terminates the calculating process, and the content of the reconfigurable circuit involved by the calculating process is removed, and makes reconstruct Circuit is restored to idle state, and rebuilds reconfigurable circuit.
5. Dynamic calculation method according to claim 1, which is characterized in that the Dynamic calculation method further includes:
Step 6: after calculating end or terminating, the content in reconfigurable circuit is removed, reconfigurable circuit is made to be restored to idle shape State.
CN201710110100.3A 2017-02-28 2017-02-28 A kind of Dynamic calculation method Expired - Fee Related CN106909530B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201710110100.3A CN106909530B (en) 2017-02-28 2017-02-28 A kind of Dynamic calculation method
CN201810664354.4A CN109033007A (en) 2017-02-28 2017-02-28 A kind of dynamic computing device
CN201810201331.XA CN108415876B (en) 2017-02-28 2017-02-28 Dynamic calculation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710110100.3A CN106909530B (en) 2017-02-28 2017-02-28 A kind of Dynamic calculation method

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN201810664354.4A Division CN109033007A (en) 2017-02-28 2017-02-28 A kind of dynamic computing device
CN201810201331.XA Division CN108415876B (en) 2017-02-28 2017-02-28 Dynamic calculation device

Publications (2)

Publication Number Publication Date
CN106909530A CN106909530A (en) 2017-06-30
CN106909530B true CN106909530B (en) 2018-06-05

Family

ID=59208062

Family Applications (3)

Application Number Title Priority Date Filing Date
CN201810664354.4A Withdrawn CN109033007A (en) 2017-02-28 2017-02-28 A kind of dynamic computing device
CN201710110100.3A Expired - Fee Related CN106909530B (en) 2017-02-28 2017-02-28 A kind of Dynamic calculation method
CN201810201331.XA Active CN108415876B (en) 2017-02-28 2017-02-28 Dynamic calculation device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810664354.4A Withdrawn CN109033007A (en) 2017-02-28 2017-02-28 A kind of dynamic computing device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201810201331.XA Active CN108415876B (en) 2017-02-28 2017-02-28 Dynamic calculation device

Country Status (1)

Country Link
CN (3) CN109033007A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624870A (en) * 2012-02-01 2012-08-01 北京航空航天大学 Intelligent optimization algorithm based cloud manufacturing computing resource reconfigurable collocation method
CN103365727A (en) * 2013-07-09 2013-10-23 南京大学 Host load forecasting method in cloud computing environment
CN103678004A (en) * 2013-12-19 2014-03-26 南京大学 Host load prediction method based on unsupervised feature learning
CN105308553A (en) * 2013-05-22 2016-02-03 微软技术许可有限责任公司 Dynamically provisioning storage
CN106407015A (en) * 2016-10-13 2017-02-15 安徽鼎集信息科技有限公司 High-reliability virtualization server system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9137304B2 (en) * 2011-05-25 2015-09-15 Alcatel Lucent Method and apparatus for achieving data security in a distributed cloud computing environment
CN102722413B (en) * 2012-05-16 2017-12-29 上海兆民云计算科技有限公司 The distributed resource scheduling method that a kind of desktop cloud cluster uses
US9251115B2 (en) * 2013-03-07 2016-02-02 Citrix Systems, Inc. Dynamic configuration in cloud computing environments
US20140348044A1 (en) * 2013-05-21 2014-11-27 Ecrio, Inc. Real-Time Rich Communications Client Architecture
CN103455378A (en) * 2013-09-05 2013-12-18 华为技术有限公司 Resource distribution method of virtual clusters, device and system
CN103797462B (en) * 2013-10-23 2016-06-29 华为技术有限公司 A kind of method and apparatus creating virtual machine
CN104915151B (en) * 2015-06-02 2018-12-07 杭州电子科技大学 A kind of memory excess distribution method that active is shared in multi-dummy machine system
CN105007311A (en) * 2015-07-03 2015-10-28 叶秀兰 System and method for resource management based on cloud platform and cloud computing
CN106326002B (en) * 2015-07-10 2020-10-20 阿里巴巴集团控股有限公司 Resource scheduling method, device and equipment
CN106250217A (en) * 2016-07-22 2016-12-21 无锡华云数据技术服务有限公司 Synchronous dispatching method between a kind of many virtual processors and dispatching patcher thereof
CN106357800B (en) * 2016-10-21 2020-06-05 黄东 QoE-based cloud computing service architecture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624870A (en) * 2012-02-01 2012-08-01 北京航空航天大学 Intelligent optimization algorithm based cloud manufacturing computing resource reconfigurable collocation method
CN105308553A (en) * 2013-05-22 2016-02-03 微软技术许可有限责任公司 Dynamically provisioning storage
CN103365727A (en) * 2013-07-09 2013-10-23 南京大学 Host load forecasting method in cloud computing environment
CN103678004A (en) * 2013-12-19 2014-03-26 南京大学 Host load prediction method based on unsupervised feature learning
CN106407015A (en) * 2016-10-13 2017-02-15 安徽鼎集信息科技有限公司 High-reliability virtualization server system

Also Published As

Publication number Publication date
CN108415876A (en) 2018-08-17
CN108415876B (en) 2020-01-07
CN109033007A (en) 2018-12-18
CN106909530A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN108446176B (en) Task allocation method, computer readable storage medium and terminal device
CN102891896B (en) Cloud computing infrastructure system for mass storage of Internet of things
CN109034244A (en) Line loss abnormality diagnostic method and device based on electric quantity curve characteristic model
CN106951926A (en) The deep learning systems approach and device of a kind of mixed architecture
CN107005531A (en) Technology for the power management associated with the packet that processing is received at the network equipment
CN105808328A (en) Task scheduling method, device and system
CN108710531A (en) Method for writing data, device, terminal device and the storage medium of round-robin queue
CN103279330A (en) MapReduce multiple programming model based on virtual machine GPU computation
CN103956991B (en) A kind of FIR filtering Parallel Realization methods based on CPU/GPU heterogeneous platforms
CN109587072A (en) Distributed system overall situation speed limiting system and method
WO2020108536A1 (en) Virtual network resource allocation method and system and electronic device
CN105630712A (en) Counter and counting method
CN106909530B (en) A kind of Dynamic calculation method
CN107704322A (en) Ask distribution method and device
CN105554069B (en) A kind of big data processing distributed cache system and its method
CN109687485A (en) Power distribution method, system and the terminal device of energy-storage system
CN109189739A (en) Spatial cache recovery method and device
CN111338579A (en) Read-write cache optimization method, system, terminal and storage medium based on storage pool
CN109460535A (en) A kind of finite field matrix inversion device based on cloud and inversion technique
CN109242321A (en) Custom power load on-line analysis and terminal device
US9898228B2 (en) Write method and write apparatus for storage device
CN108804377A (en) A kind of bus task processing method and system
CN105652108B (en) The detection method and device of flexible direct current power transmission system
CN110780992B (en) Cloud computing platform optimized deployment method, system, terminal and storage medium
CN103218249B (en) A kind of virtual cluster control method and equipment, system of virtual cluster

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
TA01 Transfer of patent application right

Effective date of registration: 20180511

Address after: 215000 Xinping street, Suzhou Industrial Park, Suzhou, Jiangsu, 2-B603

Applicant after: JIANGSU DCOM INTELLIGENT TECHNOLOGY CO., LTD.

Address before: 075000 No. 04, zone B, three East Century Square, Chahar, Zhangjiakou, Hebei.

Applicant before: Zhangjiakou Hao Yang Technology Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180605

Termination date: 20190228

CF01 Termination of patent right due to non-payment of annual fee