CN103995745B - A kind of IP hard disks task executing method and IP hard disks - Google Patents
A kind of IP hard disks task executing method and IP hard disks Download PDFInfo
- Publication number
- CN103995745B CN103995745B CN201410219794.0A CN201410219794A CN103995745B CN 103995745 B CN103995745 B CN 103995745B CN 201410219794 A CN201410219794 A CN 201410219794A CN 103995745 B CN103995745 B CN 103995745B
- Authority
- CN
- China
- Prior art keywords
- task
- implementing result
- hard disks
- external 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.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses a kind of IP hard disks task executing method, the waste for avoiding hard disk implementing result data.Present invention method includes:Task and work mark that external node is sent are received, the work is identified for identifying the task;Whether judge the external node is available external node;When the external node is available external node, obtains the work and identify corresponding middle implementing result, the middle implementing result is the corresponding middle implementing result of the task;According to the middle implementing result, the execution to the task is completed, the corresponding final implementing result of the task is obtained;The final implementing result is sent to the external node.The embodiment of the present invention additionally provides the IP hard disks of correlation.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of IP hard disks task executing method and IP hard disks.
Background technology
With the development of science and technology, cloud storage technology is increasingly risen, and accelerates answering based on Key-Value mode interfaces
With.Industry has been occurred in that based on interconnection agreement (IP, Internet Protocol) hard disk between network semantic Key-Value, is thrown
Traditional scsi interface and consensus standard is abandoned, then PERCOM peripheral communication is carried out using IP.
The IP hard disks currently issued provide open Key-Value semantic interfaces, can additionally support more to service energy
The built-in compression of power, such as hard disk, encryption, overall integrity checking.Because the built-in computing capability necessarily of IP hard disks, while not
Interconnected by traditional direct-connected mode with extraneous processor, therefore operation of the extraneous processor in part to hard disk can be transferred to hard disk
On operate, such as antivirus, the compression for local data, delete, verify totally again, this generic operation can pass through extraneous processor
With on mobile virtual machine or mobile code means dynamic load or local Firmware static loadings to the computing unit of IP hard disks
Perform, and tell extraneous computing device result.
But, because IP hard disks depart from execution aforesaid operations with extraneous processor, so when the execution of IP hard disks is above-mentioned
When operating time is longer, extraneous processor offline or may fail.If now IP hard disks, which obtain middle implementing result, needs to lead to
Know external node, will be unable to the operation of completion notice external node.Can not be defeated which results in the middle implementing result of IP hard disks
Go out or even lose, cause the waste of implementing result data.
The content of the invention
The embodiments of the invention provide a kind of IP hard disks task executing method and IP hard disks, IP hard disks can be avoided to perform
The waste of result data.
The first aspect of the embodiment of the present invention provides a kind of IP hard disks task executing method, including:
Interconnection agreement IP hard disks receive task and the work mark that external node is sent, the work mark between network
For identifying the task;
Whether judge the external node is available external node;
When the external node is available external node, obtains the work and identify corresponding middle implementing result,
The middle implementing result is the corresponding middle implementing result of the task;
According to the middle implementing result, the execution to the task is completed, the task is obtained corresponding
Final implementing result;
The final implementing result is sent to the external node.
With reference to the embodiment of the present invention in a first aspect, in the first implementation of the first aspect of the embodiment of the present invention,
The task includes multiple execution steps, and the IP hard disks receive task and the work mark that external node is sent
It is preceding also to include:
The multiple at least one described execution step performed in step is performed, the middle implementing result is obtained;
Preserve the corresponding relation of the work mark and the middle implementing result.
With reference to the embodiment of the present invention in a first aspect, in second of implementation of the first aspect of the embodiment of the present invention,
The external node has node identification;
It is described to judge whether the external node is that available external node includes:
The node identification of the node identification of the external node available external node preset with the IP hard disks is entered
Row compares, if the node identification phase of the node identification of the external node available external node preset with the IP hard disks
Together, it is determined that the external node is available external node.
The first implementation of first aspect, first aspect with reference to the embodiment of the present invention and second of first aspect
In implementation, the third implementation of the first aspect of the embodiment of the present invention, the task includes association identification, institute
State association identification be used for identify other tasks associated with the task;Methods described also includes:
Preserve the corresponding relation between the final implementing result and the association identification, in order to the task
Associated other tasks obtain the final implementing result according to the association identification, and using the final implementing result as
Execution condition, performs the execution step that the other tasks associated with the task are included.
The second aspect of the embodiment of the present invention provides a kind of IP hard disks, including:
Receiving module, the task for receiving external node transmission is identified with work, and the work is identified for marking
Know the task;
Judge module, for judging whether the external node is available external node;
Acquisition module, for when the external node is available external node, obtaining the work mark corresponding
Middle implementing result, the middle implementing result is the corresponding middle implementing result of the task;
As a result performing module, for according to the middle implementing result, completing the execution to the task, obtaining institute
State the corresponding final implementing result of task;
Output module, for the final implementing result to be sent into the external node.
With reference to the second aspect of the embodiment of the present invention, in the first implementation of the second aspect of the embodiment of the present invention,
The task includes multiple execution steps, and the IP hard disks also include:
Middle performing module, for performing at least one described execution step in the multiple execution step, obtains institute
State middle implementing result;
Preserving module, the corresponding relation for preserving the work mark and the middle implementing result.
With reference to the second aspect of the embodiment of the present invention, in second of implementation of the second aspect of the embodiment of the present invention,
The external node has node identification;
The judge module specifically for:
The node identification of the node identification of the external node available external node preset with the IP hard disks is entered
Row compares, if the node identification phase of the node identification of the external node available external node preset with the IP hard disks
Together, it is determined that the external node is available external node.
The first implementation of second aspect, second aspect with reference to the embodiment of the present invention and second of second aspect
In implementation, the third implementation of the second aspect of the embodiment of the present invention, the task includes association identification, institute
State association identification be used for identify other tasks associated with the task;The preserving module is additionally operable to:
Preserve the corresponding relation between the final implementing result and the association identification, in order to the task
Associated other tasks obtain the final implementing result according to the association identification, and using the final implementing result as
Execution condition, performs the execution step that the other tasks associated with the task are included.
As can be seen from the above technical solutions, in the embodiment of the present invention, IP hard disks receive the work times that external node is sent
Business is identified with work;Whether judge the external node is available external node;When the external node is available outside
During node, middle implementing result is obtained according to work mark;According to the middle implementing result, complete to appoint the work
It is engaged in corresponding all execution steps, obtains the corresponding final implementing result of the task;Final implementing result is sent to
The external node.Wherein, IP hard disks are marked in the task that have received external node transmission with work in the embodiment of the present invention
After knowledge, the middle implementing result of the task can be obtained according to work mark so that IP hard disks can be in follow-up operation
In be continuing with the first middle implementing result.So ensure that the middle implementing result preserved in IP hard disks can be hard in IP
Disk continues to be used after being connected with enabled node foundation so that the middle implementing result of IP hard disks can be exported without losing,
Avoid the waste of IP hard disk implementing result data.
Brief description of the drawings
Fig. 1 is IP hard disk task executing method one embodiment flow charts in the embodiment of the present invention;
Fig. 2 is another embodiment flow chart of IP hard disks task executing method in the embodiment of the present invention;
Fig. 3 is IP hard disk one embodiment structure charts in the embodiment of the present invention;
Fig. 4 is another example structure figure of IP hard disks in the embodiment of the present invention;
Fig. 5 is another example structure figure of IP hard disks in the embodiment of the present invention.
Embodiment
The embodiments of the invention provide a kind of IP hard disks task executing method, IP hard disk implementing result data can be avoided
Waste.The embodiment of the present invention additionally provides the IP hard disks of correlation, will be described respectively below.
The basic procedure of IP hard disks task executing method provided in an embodiment of the present invention refers to Fig. 1, including:
101st, task and work mark that external node is sent are received;
External node described in the embodiment of the present invention is used to send the information such as task to IP hard disks, and it is hard to receive IP
Disk performs the implementing result obtained by task.Wherein, external node includes but is not limited to PC, server, center processing
The various devices with computing, processing or mission dispatching function such as device.When the external node is connected with IP hard disks, work is appointed
Business and the work mark of the task are handed down to IP hard disks, wherein, work mark is used to identify task.
IP receives task and the work mark that external node is sent.
Whether the 102nd, judge the external node is available external node;
IP hard disks are after the task of external node transmission is received, it is necessary to judge whether the external node is available
External node.Specific determination methods have a lot, will be described in detail, do not limit herein in embodiment below.
103rd, when the external node is available external node, obtain the work and identify corresponding middle implementing result;
Before the task that IP hard disks receive external node transmission, IP hard disks, which are possible to have received other nodes, to be issued
The task, and perform the task part perform step, obtained middle implementing result, then saved this
The corresponding relation of middle implementing result and the work mark of the task.But due to other node failures, cause in the middle of this
Implementing result can not be exported.
In the present embodiment, IP hard disks are established with external node to be connected, and have received the task of external node transmission
Identify, if IP hard disks performed the task that other nodes are issued before this, can be marked according to work with work
Know and identify corresponding middle implementing result to obtain the work.Wherein, middle implementing result is that the work that IP hard disks are preserved is appointed
It is engaged in corresponding middle implementing result.
104th, according to middle implementing result, execution to task is completed, obtains that the task is corresponding finally to be held
Row result;
IP hard disks are obtained after the middle implementing result, according to the middle implementing result, complete the execution to task,
Obtain the corresponding final implementing result of the task.Preferably due to which the middle implementing result, which is the IP hard disks, performs the work
Make task part perform step obtained by, as long as so IP hard disks perform the step of task residue is not carried out, so that it may
To obtain the final implementing result.Especially, all of the task are performed if the middle implementing result is the IP hard disks
Perform obtained by step, then IP hard disks regard the middle implementing result as final implementing result.
105th, final implementing result is sent to the external node.
IP hard disks have been obtained after final implementing result, and the final implementing result is sent into the external node.
In the present embodiment, IP hard disks receive task and the work mark that external node is sent;Judge the outside segments
Whether point is available external node;When the external node is available external node, is identified and obtained according to the work
Middle implementing result;According to the middle implementing result, all execution steps corresponding to the task are completed, institute is obtained
State the corresponding final implementing result of task;Final implementing result is sent to the external node.Wherein, in the present embodiment
IP hard disks have received the task of external node transmission with that after work mark, can obtain the work according to work mark and appoint
The middle implementing result of business so that IP hard disks can be continuing with the first middle implementing result in follow-up operation.So
Ensure that the middle implementing result preserved in IP hard disks can continue to be used after IP hard disks and enabled node are set up and be connected,
The middle implementing result of IP hard disks is exported without losing, it is to avoid the wastes of IP hard disk implementing result data.
Embodiment shown in Fig. 1 gives the basic procedure for the IP hard disk task executing methods that the present invention is provided, wherein IP
Hard disk is after it have received the work mark and task of external node transmission, according to the middle implementing result of the task,
Complete the execution to the task.The following examples obtain the middle implementing result of the task by IP hard disks are provided
Idiographic flow, refers to Fig. 2, and another IP hard disk task executing method that the present invention is provided includes:
201st, at least one performed in multiple execution steps of task performs step, obtains middle implementing result;
In the present embodiment, task includes multiple execution steps.The plurality of execution step is first carried out extremely in IP hard disks
Few execution step, obtains middle implementing result.
In this step, the task can be handed down to the IP hard disks with any node, not limit herein.Preferably, IP
Hard disk can receive the work mark of the task simultaneously when receiving the task, or be specified for the task
Work mark, is not limited herein.
Preferably, IP hard disks have been obtained after middle implementing result, preserve the middle implementing result.
202nd, the corresponding relation of the work mark and the middle implementing result is preserved;
IP hard disks preserve the corresponding relation of the middle implementing result and work mark after middle implementing result has been obtained.
Wherein, step 201 is with step 202 during execution, and the node that the task is handed down into IP hard disks can
To keep being connected with IP hard disks, it can also depart from the IP hard disks, not limited in the present embodiment.
203rd, task and work mark that external node is sent are received;
Wherein, the external node can be same node with the node that task is handed down into IP hard disks in step 201,
It can not also be same node, not limit in the present embodiment.
Whether the 204th, judge the external node is available external node;
IP hard disks are after the task of external node transmission is received, it is necessary to judge whether the external node is available
External node.Specific determination methods have a lot, including:The external node have preset in node identification, IP hard disks it is available
External node node identification, IP hard disks are by the node identification of external node and the preset available external node of IP hard disks
Node identification is compared, if the section of the node identification of the external node and the preset available external node of the IP hard disks
Point identification is identical, it is determined that the external node is available external node.
Wherein, the form of node identification has a lot, such as the IP address of node, URL of node etc., or other shapes
Formula, is not limited herein.
IP hard disks judge the external node whether be available external node can also be in other method, the present embodiment not
Limit.
205th, when the external node is available external node, obtain the work and identify corresponding middle implementing result;
When IP hard disks determine the external node for available external node, the work mark provided according to the external node
Know, obtain the work and identify corresponding middle implementing result.The middle implementing result is obtained in step 201 by IP hard disks.
206th, according to middle implementing result, execution to task is completed, obtains that the task is corresponding finally to be held
Row result;
Because IP hard disks during implementing result, have been only carried out in multiple execution steps of the task extremely in the middle of obtaining
Few execution step, as long as so IP hard disks perform the step of task residue is not carried out, it is possible to obtain this final
Implementing result.Especially, if the middle implementing result is IP hard disks perform all execution steps of the task obtained by,
IP hard disks regard the middle implementing result as final implementing result.
207th, final implementing result is sent to the external node.
IP hard disks have been obtained after final implementing result, and the final implementing result is sent into the external node.
The present embodiment further describes IP hard disks on the basis of the embodiment shown in Fig. 1 and obtains middle implementing result
Step.Wherein, IP hard disks perform at least one of task and perform step, obtain middle implementing result, and preserve centre holding
The corresponding relation of row result and work mark.By such method, IP hard disks are appointed in the work that have received external node transmission
Business according to work mark with that after work mark, can obtain the middle implementing result of the task so that IP hard disks can be
The first middle implementing result is continuing with follow-up operation.So ensure that the middle implementing result preserved in IP hard disks
Can continue to be used after IP hard disks and enabled node are set up and be connected so that the middle implementing result of IP hard disks can export and
It will not lose, it is to avoid the wastes of IP hard disk implementing result data.
Preferably, task can also include association identification, and it is related to the task that the association identification is used for mark
Other tasks of connection, the association identification can be obtained by IP hard disks from the node for issuing the task, can also be by the IP
Hard disk is specified, and is not limited herein.Wherein, the other tasks associated with the task include:Execution condition is the work
The task of the final implementing result of task.After step 207 is completed, IP hard disks can also preserve the final implementing result, and
The corresponding relation between final implementing result and the association identification is preserved, in order to other associated with the task
Business obtains the final implementing result according to the association identification, and using the final implementing result as execution condition, performs and the work
Make the execution step that the associated other tasks of task are included.
For the ease of understanding above-described embodiment, it will be said below by taking above-described embodiment concrete application scene as an example
It is bright:
Multiple IP address are preset in IP hard disks, the corresponding node of these IP address is that the IP hard disks give tacit consent to available outside
Node.
Node A is handed down to three tasks of IP hard disks, respectively task 1, task 2 and task 3.Wherein, task 1 for pair
File destination 1 is killed virus, and task 2 is kills virus to file destination 2, and task 3 is by the file destination 1 by antivirus and warp
The file destination 2 for crossing antivirus is compressed in a compressed file and exported to external node.
IP hard disks are received after task 1, task 2 and task 3, for 3 task assigned works marks be respectively Job1,
Job2 and Job3.Wherein, Job1 is used to identify task 1, Job2 for identifying task 2, Job3 for identifying task 3.Due to this 3
Individual task has correlation, so IP hard disks specify the association identification of this 3 tasks to be JobListOne.
The hard disk performs task 1 and task 2, i.e., file destination 1 is killed virus with file destination 2 respectively, and will antivirus
File destination 1 afterwards, the association identification JobListOne of file destination 1, file destination 2, the association identification of file destination 2
JobListOne is stored in special " the middle implementing result conservation zone " that hard disk partition goes out.
Now IP hard disks will perform task 3.Association identification JobListOne and the pass of task 1 and task 2 due to task 3
Connection mark is identical, so IP hard disks obtain Job1 implementing results corresponding with Job2 from " middle implementing result conservation zone ", i.e.,
File destination 1 by antivirus and the file destination 2 by antivirus.
IP hard disks perform task 3, by the file destination 1 by antivirus and 2 boil down to of file destination one by antivirus
Compressed file, the compressed file and corresponding work mark Job3 are stored in " middle implementing result conservation zone ".Now node A
Have been off, IP hard disks can not export the compressed file.
After 10 minutes, node B sets up with IP hard disks and is connected, and sends task 3 and work mark Job3 to IP hard disks.IP
Hard disk receives task 3 and work mark Job3.
IP hard disks are determined in node B IP address IP address preset in the IP hard disks, it is thus determined that node B is available
External node.IP hard disks obtain the above-mentioned compressed file being stored in " middle implementing result conservation zone ", by the compressed file
As Job3 final implementing result, and the compressed file is exported give node B.
The embodiment of the present invention additionally provides the IP hard disks of correlation, and its basic structure refers to Fig. 3, mainly included:
Receiving module 301, the task for receiving external node transmission is identified with work, and the work is identified for marking
Know the task;
Judge module 302, for judging whether external node is available external node;
Acquisition module 303, for when external node is available external node, obtaining the work and identifying corresponding centre
Implementing result, the middle implementing result is the corresponding middle implementing result of task;
As a result performing module 304, for according to middle implementing result, completing the execution to task, obtain work and appoint
It is engaged in corresponding final implementing result;
Output module 305, for final implementing result to be sent into the external node.
In the present embodiment, receiving module 301 receives task and the work mark that external node is sent;Judge module
302 judge whether the external node is available external node;When the external node is available external node, obtain
Module 303 obtains middle implementing result according to work mark;As a result performing module 304 is according to the middle implementing result,
All execution steps corresponding to the task are completed, the corresponding final implementing result of the task is obtained;Output
Final implementing result is sent to the external node by module 305.Wherein, IP hard disks have received external node in the present embodiment
The task of transmission according to work mark with that after work mark, can obtain the middle implementing result of the task so that
IP hard disks can be continuing with the first middle implementing result in follow-up operation.So ensure that what is preserved in IP hard disks
Middle implementing result can continue to be used after IP hard disks and enabled node are set up and be connected so that perform knot in the middle of IP hard disks
Fruit can be exported without losing, it is to avoid the wastes of IP hard disk implementing result data.
Embodiment shown in Fig. 3 gives the basic structure for the IP hard disks that the present invention is provided, and the following examples will be provided
A kind of more specifically structure of IP hard disks, refers to Fig. 4, and another IP hard disk that the present invention is provided includes:
At least one in middle performing module 401, multiple execution steps for performing task performs step, obtains
To middle implementing result;
Preserving module 402, the corresponding relation for preserving work mark and middle implementing result;
Receiving module 403, the task for receiving external node transmission is identified with work, and the work is identified for marking
Know the task;
Judge module 404, for judging whether external node is available external node;
Preferably, sentencing root module 404 can be specifically for:The node identification of external node and the IP hard disks is preset
The node identification of available external node is compared, if the node identification of the external node and the IP hard disks it is preset can
The node identification of external node is identical, it is determined that the external node is available external node.
Acquisition module 405, for when external node is available external node, obtaining the work and identifying corresponding centre
Implementing result, the middle implementing result is the corresponding middle implementing result of task;
As a result performing module 406, for according to middle implementing result, completing the execution to task, obtain work and appoint
It is engaged in corresponding final implementing result;
Output module 407, for final implementing result to be sent into the external node.
The present embodiment proposes a kind of IP hard disks more refined on the basis of the embodiment shown in Fig. 3, wherein, it is middle
Performing module 401 performs at least one execution step of task, middle implementing result is obtained, during preserving module 402 is preserved
Between implementing result with work mark corresponding relation.By such method, IP hard disks have received the work of external node transmission
Make task with that after work mark, the middle implementing result of the task can be obtained according to work mark so that IP hard disks can
To be continuing with the first middle implementing result in follow-up operation.Even if IP hard disks are saved when performing task with other
Point disconnects, and the middle implementing result that IP hard disks are obtained can also continue quilt after IP hard disks and available external node are set up and be connected
Use so that the middle implementing result of IP hard disks can be exported to available external node without losing, it is to avoid IP hard disks
The waste of implementing result data.
Preferably, task can also include association identification, and associated with the task for identifying is other
Task, the association identification can be obtained by IP hard disks from the node for issuing the task, can also be specified by the IP hard disks,
Do not limit herein.Wherein, the other tasks associated with the task include:Execution condition is final for the task
The task of implementing result.Preserving module 402 can be also used for:Preserve the corresponding pass between final implementing result and association identification
System, in order to which the other tasks associated with the task obtain the final implementing result according to the association identification, and
Using the final implementing result as execution condition, the execution step that the other tasks associated with the task are included is performed.
For the ease of understanding above-described embodiment, it will be said below by taking above-described embodiment concrete application scene as an example
It is bright:
Multiple IP address are preset in IP hard disks, the corresponding node of these IP address is that the IP hard disks give tacit consent to available outside
Node.
Node A is handed down to three tasks of IP hard disks, respectively task 1, task 2 and task 3.Wherein, task 1 for pair
File destination 1 is killed virus, and task 2 is kills virus to file destination 2, and task 3 is by the file destination 1 by antivirus and warp
The file destination 2 for crossing antivirus is compressed in a compressed file and exported to external node.
IP hard disks are received after task 1, task 2 and task 3, for 3 task assigned works marks be respectively Job1,
Job2 and Job3.Wherein, Job1 is used to identify task 1, Job2 for identifying task 2, Job3 for identifying task 3.Due to this 3
Individual task has correlation, so IP hard disks specify the association identification of this 3 tasks to be JobListOne.
The middle performing module 401 of the IP hard disks performs task 1 and task 2, i.e., respectively to file destination 1 and file destination
2 are killed virus, and by the file destination 1 after antivirus, the association identification JobListOne of file destination 1, file destination 2, target
The association identification JobListOne of file 2 is stored in special " the middle implementing result conservation zone " that hard disk partition goes out.
Now IP hard disks will perform task 3.Association identification JobListOne and the pass of task 1 and task 2 due to task 3
Connection mark is identical, so IP hard disks obtain Job1 implementing results corresponding with Job2 from " middle implementing result conservation zone ", i.e.,
File destination 1 by antivirus and the file destination 2 by antivirus.
The middle performing module 401 of IP hard disks performs task 3, by the file destination 1 by antivirus and the mesh by antivirus
File 2 boil down to, one compressed file is marked, the compressed file is stored in by preserving module 402 with corresponding work mark Job3
" middle implementing result conservation zone ".Now node A has been off, and IP hard disks can not export the compressed file.
After 10 minutes, node B sets up with IP hard disks and is connected, and sends task 3 and work mark Job3 to IP hard disks.Connect
Receive module 403 and receive task 3 and work mark Job3.
Judge module 404 is determined in node B IP address IP address preset in the IP hard disks, it is thus determined that node B
For available external node, acquisition module 405 obtains the above-mentioned compressed file being stored in " middle implementing result conservation zone ", knot
Fruit performing module 406 using the compressed file as Job3 final implementing result, output module 407 by the compressed file export to
Node B.
The IP hard disks in the embodiment of the present invention are described from the angle of blocking functional entity above, below from hard
IP hard disks in the embodiment of the present invention are described the angle of part processing, referring to Fig. 5, the IP hard disks in the embodiment of the present invention
500 another embodiments include:
Input unit 501, output device 502, processor 503 and the (processor wherein in IP hard disks 500 of memory 504
503 quantity can be with one or more, in Fig. 5 by taking a processor 503 as an example).In some embodiments of the invention, input
Device 501, output device 502, processor 503 and memory 504 can be connected by bus or other manner, wherein, in Fig. 5 with
Exemplified by being connected by bus.
Wherein, by the operational order for calling memory 504 to store, processor 503 is used to perform following steps:Receive outer
The task that portion's node is sent is identified with work;Whether judge the external node is available external node;When described outer
When portion's node is available external node, obtains the work and identify corresponding middle implementing result;According to the middle execution
As a result, the execution to the task is completed, the corresponding final implementing result of the task is obtained;Finally held described
Row result is sent to the external node;The multiple at least one described execution step performed in step is performed, institute is obtained
State middle implementing result;Preserve the corresponding relation of the work mark and the middle implementing result;By the external node
The node identification of the node identification available external node preset with the IP hard disks is compared, if the section of the external node
Point identification is identical with the node identification for the available external node that the IP hard disks are preset, it is determined that the external node is available
External node;Preserve the corresponding relation between the final implementing result and the association identification, in order to the work
The associated other tasks of task obtain the final implementing result according to the association identification, and final perform knot with described
Fruit is execution condition, performs the execution step that the other tasks associated with the task are included.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces
Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially
The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (6)
1. a kind of IP hard disks task executing method, it is characterised in that including:
Interconnection agreement IP hard disks receive task and the work mark that external node is sent between network, and the work, which is identified, to be used for
Identify the task;
The IP hard disks judge whether the external node is available external node;
When the external node is available external node, the IP hard disks obtain the corresponding middle execution of the work mark
As a result, the middle implementing result is the corresponding middle implementing result of the task;
The IP hard disks complete the execution to the task, obtain the task according to the middle implementing result
Corresponding final implementing result;
The final implementing result is sent to the external node by the IP hard disks;
The task includes multiple execution steps, and the IP hard disks receive the task of external node transmission and work is marked
Also include before knowledge:
The IP hard disks have received the task that other nodes are issued, and perform in the multiple execution step at least
One execution step, obtains the middle implementing result, and other described node failures cause the middle implementing result not
Can output;
The IP hard disks preserve the corresponding relation of the work mark and the middle implementing result.
2. IP hard disks task executing method according to claim 1, it is characterised in that the external node has node mark
Know;
It is described to judge whether the external node is that available external node includes:
The node identification of the node identification of the external node available external node preset with the IP hard disks is compared
Compared with, if the node identification of the external node is identical with the node identification for the available external node that the IP hard disks are preset,
It is available external node to determine the external node.
3. IP hard disks task executing method according to any one of claim 1 to 2, it is characterised in that the work is appointed
Business includes association identification, and the association identification is used to identify the other tasks associated with the task;Methods described is also
Including:
The corresponding relation between the final implementing result and the association identification is preserved, in order to related to the task
Other tasks of connection obtain the final implementing result according to the association identification, and using the final implementing result as execution
Condition, performs the execution step that the other tasks associated with the task are included.
4. a kind of IP hard disks, it is characterised in that including:
Receiving module, the task for receiving external node transmission is identified with work, and the work is identified for identifying institute
State task;
Judge module, for judging whether the external node is available external node;
Acquisition module, for when the external node is available external node, obtaining the work and identifying corresponding centre
Implementing result, the middle implementing result is the corresponding middle implementing result of the task;
As a result performing module, for according to the middle implementing result, completing the execution to the task, obtaining the work
Make the corresponding final implementing result of task;
Output module, for the final implementing result to be sent into the external node;
The task includes multiple execution steps, and the IP hard disks also include:
Middle performing module, for receiving the task that other nodes are issued, is performed in the multiple execution step
At least one described execution step, obtains the middle implementing result, and other described node failures cause to perform knot in the middle of described
Fruit can not export;
Preserving module, the corresponding relation for preserving the work mark and the middle implementing result.
5. IP hard disks according to claim 4, it is characterised in that the external node has node identification;
The judge module specifically for:
The node identification of the node identification of the external node available external node preset with the IP hard disks is compared
Compared with, if the node identification of the external node is identical with the node identification for the available external node that the IP hard disks are preset,
It is available external node to determine the external node.
6. the IP hard disks according to any one of claim 4 to 5, it is characterised in that the task includes association and marked
Know, the association identification is used to identify the other tasks associated with the task;The preserving module is additionally operable to:
The corresponding relation between the final implementing result and the association identification is preserved, in order to related to the task
Other tasks of connection obtain the final implementing result according to the association identification, and using the final implementing result as execution
Condition, performs the execution step that the other tasks associated with the task are included.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410219794.0A CN103995745B (en) | 2014-05-22 | 2014-05-22 | A kind of IP hard disks task executing method and IP hard disks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410219794.0A CN103995745B (en) | 2014-05-22 | 2014-05-22 | A kind of IP hard disks task executing method and IP hard disks |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103995745A CN103995745A (en) | 2014-08-20 |
CN103995745B true CN103995745B (en) | 2017-09-05 |
Family
ID=51309919
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410219794.0A Active CN103995745B (en) | 2014-05-22 | 2014-05-22 | A kind of IP hard disks task executing method and IP hard disks |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103995745B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461817B (en) * | 2014-11-26 | 2017-08-11 | 华为技术有限公司 | A kind of method and server for detecting key |
CN105407137B (en) * | 2015-10-22 | 2019-07-23 | 华为技术有限公司 | A kind of data migration method, IP hard disk, IP flaking pass and storage system |
CN105700823A (en) * | 2015-12-23 | 2016-06-22 | 华为技术有限公司 | Method and apparatus for transmitting data between IP hard disks |
CN107491265B (en) * | 2016-06-12 | 2021-05-25 | 杭州海康威视数字技术股份有限公司 | Method and device for distributing internet protocol IP disk |
CN108804218B (en) * | 2017-04-28 | 2021-04-06 | 深圳中电长城信息安全系统有限公司 | Hard disk allocation method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964807A (en) * | 2009-07-23 | 2011-02-02 | 林伟波 | Use technology of network disk and method thereof |
CN102246152A (en) * | 2008-12-12 | 2011-11-16 | 亚马逊技术有限公司 | Saving program execution state |
CN103514173A (en) * | 2012-06-20 | 2014-01-15 | 华为技术有限公司 | Data processing method and node equipment |
CN103703441A (en) * | 2013-05-20 | 2014-04-02 | 华为技术有限公司 | Hard disk and data processing method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7366784B2 (en) * | 2001-11-27 | 2008-04-29 | Hitachi, Ltd. | System and method for providing and using a VLAN-aware storage device |
US20080154986A1 (en) * | 2006-12-22 | 2008-06-26 | Storage Technology Corporation | System and Method for Compression of Data Objects in a Data Storage System |
-
2014
- 2014-05-22 CN CN201410219794.0A patent/CN103995745B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102246152A (en) * | 2008-12-12 | 2011-11-16 | 亚马逊技术有限公司 | Saving program execution state |
CN101964807A (en) * | 2009-07-23 | 2011-02-02 | 林伟波 | Use technology of network disk and method thereof |
CN103514173A (en) * | 2012-06-20 | 2014-01-15 | 华为技术有限公司 | Data processing method and node equipment |
CN103703441A (en) * | 2013-05-20 | 2014-04-02 | 华为技术有限公司 | Hard disk and data processing method |
Also Published As
Publication number | Publication date |
---|---|
CN103995745A (en) | 2014-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103995745B (en) | A kind of IP hard disks task executing method and IP hard disks | |
WO2015149600A1 (en) | Virtual network service deployment method and device | |
CN103248711B (en) | A kind of method of files passe and server | |
EP4328754A2 (en) | Techniques to isolating a portion of an online computing service | |
CN103905508A (en) | Cloud platform application deployment method and device | |
CN104360951B (en) | A kind of script method of testing and device | |
CN105306241A (en) | Service deployment method and network function acceleration platform | |
EP2838228A1 (en) | Alarm correlation analysis method, apparatus, and system | |
CN106031116A (en) | Method, apparatus and system for associating NS with VNF | |
CN106796635A (en) | Determining device, determine method and determination program | |
CN104486234A (en) | Method and server for uninstalling service exchanger to physical network card | |
CN110740057A (en) | service deployment method and block chain platform | |
CN104239122A (en) | VM (virtual machine) migration method and device | |
CN108563697A (en) | A kind of data processing method, device and storage medium | |
CN106934027A (en) | Distributed reptile realization method and system | |
CN111045893A (en) | Method, device and system for executing monitoring task, storage medium and electronic device | |
US10979392B2 (en) | Preventing unauthorized access to secure enterprise information systems using a multi-filtering and randomizing control system | |
CN106576260A (en) | Policy coordination method and apparatus in NFV system | |
Rodriguez Alvarado et al. | Implementation and Analysis of the Results of the Application of the Methodology for Hybrid Multi-cloud Replication Systems | |
CN110995489B (en) | Large data platform server management method, device, server and storage medium | |
US9189370B2 (en) | Smart terminal fuzzing apparatus and method using multi-node structure | |
CN102868594B (en) | Method and device for message processing | |
CN104699799A (en) | Data transmission method based on cross system | |
CN103544354B (en) | Network parallel computer dynamic emulation method and device | |
CN104660696B (en) | Parallel transmitting-receiving structure system and its construction method |
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 |