CN103995745A - IP hard disk task execution method and IP hard disk - Google Patents

IP hard disk task execution method and IP hard disk Download PDF

Info

Publication number
CN103995745A
CN103995745A CN201410219794.0A CN201410219794A CN103995745A CN 103995745 A CN103995745 A CN 103995745A CN 201410219794 A CN201410219794 A CN 201410219794A CN 103995745 A CN103995745 A CN 103995745A
Authority
CN
China
Prior art keywords
task
hard disk
execution result
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.)
Granted
Application number
CN201410219794.0A
Other languages
Chinese (zh)
Other versions
CN103995745B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410219794.0A priority Critical patent/CN103995745B/en
Publication of CN103995745A publication Critical patent/CN103995745A/en
Application granted granted Critical
Publication of CN103995745B publication Critical patent/CN103995745B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An embodiment of the invention discloses an IP hard disk task execution method for avoiding waste of hard disk execution result data. The IP hard disk task execution method comprises the steps of receiving working tasks and working identifications sent by external nodes, wherein the working identifications are used for identifying the working tasks; judging whether the external nodes are available external nodes or not; obtaining middle execution results corresponding to the working identifications when the external nodes are available, wherein the middle execution results are middle execution results corresponding to the working tasks; finishing execution of the working tasks according to the middle execution results and obtaining final execution results corresponding to the working tasks; sending the final execution results to the external nodes. The embodiment of the invention further provides a relevant IP hard disk.

Description

A kind of IP hard disk task executing method and IP hard disk
Technical field
The present invention relates to the communications field, relate in particular to a kind of IP hard disk task executing method and IP hard disk.
Background technology
Along with scientific and technical development, cloud memory technology is risen day by day, has accelerated the application based on Key-Value mode interface.There is interconnection agreement between the network based on Key-Value semanteme (IP, Internet Protocol) hard disk in industry, the scsi interface discarding tradition and consensus standard, then adopt IP to carry out PERCOM peripheral communication.
The IP hard disk of current issue provides open Key-Value semantic interface, can support more service ability in addition, for example built-in compression of hard disk, encryption, overall integrity checking.Because computing power necessarily that IP hard disk is built-in, by traditional direct-connected mode and extraneous processor, do not interconnect simultaneously, therefore the extraneous processor of part can be transferred on hard disk and operate the operation of hard disk, such as virus killing, for the compression of local data, heavily delete, verification etc. totally, this generic operation can be carried out to the computing unit of IP hard disk with mobile virtual machine or mobile code mode dynamic load or local Firmware static loading by extraneous processor, and tells extraneous processor execution result.
But, because IP hard disk departs from extraneous processor when carrying out aforesaid operations, so when the IP hard disk execution aforesaid operations time is longer, extraneous processor is off-line or inefficacy.If now IP hard disk obtains middle execution result and need to notify external node, cannot complete the operation of notice external node.This has just caused the middle execution result of IP hard disk can not export even loss, has caused the waste of execution result data.
Summary of the invention
The embodiment of the present invention provides a kind of IP hard disk task executing method and IP hard disk, can avoid the waste of IP hard disk execution result data.
The first aspect of the embodiment of the present invention provides a kind of IP hard disk task executing method, comprising:
Between network, interconnection agreement IP hard disk receives the task and work sign that external node sends, and described work sign is used for identifying described task;
Judge whether described external node is available external node;
When described external node is available external node, obtain middle execution result corresponding to described work sign, described centre execution result is the middle execution result that described task is corresponding;
According to execution result in the middle of described, complete the execution to described task, obtain the final execution result that described task is corresponding;
Described final execution result is sent to described external node.
In conjunction with the first aspect of the embodiment of the present invention, in the first implementation of the first aspect of the embodiment of the present invention, described task comprises a plurality of execution steps, and described IP hard disk also comprises before receiving the external node task sending and the sign of working:
Carry out described at least one in described a plurality of execution step and perform step, obtain described in the middle of execution result;
Preserve the corresponding relation of described work sign and described middle execution result.
In conjunction with the first aspect of the embodiment of the present invention, in the second implementation of the first aspect of the embodiment of the present invention, described external node has node identification;
Describedly judge whether described external node is that available external node comprises:
The node identification of the node identification of described external node and the preset available external node of described IP hard disk is compared, if the node identification of the available external node that the node identification of described external node is preset with described IP hard disk is identical, determine that described external node is available external node.
The second implementation in conjunction with the first aspect of the embodiment of the present invention, the first implementation of first aspect and first aspect, in the third implementation of the first aspect of the embodiment of the present invention, described task comprises association identification, and described association identification is for identifying other task being associated with described task; Described method also comprises:
Preserve the corresponding relation between described final execution result and described association identification, so that other task being associated with described task obtains described final execution result according to described association identification, and the described final execution result of take is executive condition, the execution step that other task that execution is associated with described task comprises.
The second aspect of the embodiment of the present invention provides a kind of IP hard disk, comprising:
Receiver module, the task and work sign that for receiving external node, send, described work sign is used for identifying described task;
Judge module, for judging whether described external node is available external node;
Acquisition module, when being available external node when described external node, obtains middle execution result corresponding to described work sign, and described centre execution result is the middle execution result that described task is corresponding;
Result execution module, for according to execution result in the middle of described, completes the execution to described task, obtains the final execution result that described task is corresponding;
Output module, for sending to described external node by described final execution result.
In conjunction with 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, described task comprises a plurality of execution steps, and described IP hard disk also comprises:
Middle execution module, performs step for carrying out described at least one of described a plurality of execution steps, obtain described in the middle of execution result;
Preserve module, for preserving the corresponding relation of described work sign and described middle execution result.
In conjunction with the second aspect of the embodiment of the present invention, in the second implementation of the second aspect of the embodiment of the present invention, described external node has node identification;
Described judge module specifically for:
The node identification of the node identification of described external node and the preset available external node of described IP hard disk is compared, if the node identification of the available external node that the node identification of described external node is preset with described IP hard disk is identical, determine that described external node is available external node.
The second implementation in conjunction with the second aspect of the embodiment of the present invention, the first implementation of second aspect and second aspect, in the third implementation of the second aspect of the embodiment of the present invention, described task comprises association identification, and described association identification is for identifying other task being associated with described task; Described preservation module also for:
Preserve the corresponding relation between described final execution result and described association identification, so that other task being associated with described task obtains described final execution result according to described association identification, and the described final execution result of take is executive condition, the execution step that other task that execution is associated with described task comprises.
As can be seen from the above technical solutions, in the embodiment of the present invention, IP hard disk receives the task and work sign that external node sends; Judge whether described external node is available external node; When described external node is available external node, execution result in the middle of obtaining according to described work sign; According to execution result in the middle of described, complete all execution steps corresponding to described task, obtain the final execution result that described task is corresponding; Final execution result is sent to described external node.Wherein, in the embodiment of the present invention, IP hard disk is after the task that has received external node transmission identifies with work, can according to work sign, obtain the middle execution result of this task, make IP hard disk can in follow-up operation, continue to use this first middle execution result.So just guaranteed that the middle execution result preserved in IP hard disk can continue to be used after IP hard disk and enabled node connect, made the middle execution result of IP hard disk can export and can not lose, avoided the waste of IP hard disk execution result data.
Accompanying drawing explanation
Fig. 1 is embodiment process flow diagram of IP hard disk task executing method in the embodiment of the present invention;
Fig. 2 is another embodiment process flow diagram of IP hard disk task executing method in the embodiment of the present invention;
Fig. 3 is example structure figure of IP hard disk in the embodiment of the present invention;
Fig. 4 is another example structure of IP hard disk figure in the embodiment of the present invention;
Fig. 5 is another example structure of IP hard disk figure in the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of IP hard disk task executing method, can avoid the waste of IP hard disk execution result data.The embodiment of the present invention also provides relevant IP hard disk, below will be described respectively.
The basic procedure of the IP hard disk task executing method that the embodiment of the present invention provides refers to Fig. 1, comprising:
101, receive the task and work sign that external node sends;
External node described in the embodiment of the present invention is used for to IP hard disk, sending the information such as task, and receives the resulting execution result of IP hard disk execution work task.Wherein, external node includes but not limited to that PC, server, central processing unit etc. are various and has a device that computing, processing or task issue function.When this external node is connected with IP hard disk, the work sign of task and this task is handed down to IP hard disk, wherein, work sign is used for identifying task.
IP receives the task and work sign that external node sends.
102, judge whether this external node is available external node;
IP hard disk, after having accepted the task of external node transmission, need to judge whether this external node is available external node.Concrete determination methods has a lot, by describing in detail in the embodiment below, does not limit herein.
103,, when this external node is available external node, obtain middle execution result corresponding to this work sign;
Accept the task of external node transmission at IP hard disk before, IP hard disk has likely received this task that other nodes issue, and the part of having carried out this task performs step, obtain middle execution result, then preserved the corresponding relation of the work sign of this centre execution result and this task.But due to these other node failures, cause this centre execution result not export.
In the present embodiment, IP hard disk has been set up and has been connected with external node, and the task that has received external node transmission identifies with work, if IP hard disk was carried out this task that other nodes issue before this, can obtain middle execution result corresponding to this work sign according to work sign.Wherein, middle execution result is middle execution result corresponding to this task that IP hard disk is preserved.
104, according to middle execution result, complete the execution to task, obtain the final execution result that this task is corresponding;
IP hard disk has obtained after this centre execution result, according to this centre execution result, completes the execution to task, obtains the final execution result that this task is corresponding.Preferably, because the part execution step that this centre execution result is carried out this task for this IP hard disk is resulting, so IP hard disk remains unenforced step as long as carry out this task, just can obtain this final execution result.Especially, if this centre execution result is this IP hard disk, to carry out all execution steps of this task resulting, and IP hard disk is using this centre execution result as final execution result.
105, final execution result is sent to this external node.
IP hard disk has obtained after final execution result, and this final execution result is sent to this external node.
In the present embodiment, IP hard disk receives the task and work sign that external node sends; Judge whether described external node is available external node; When described external node is available external node, execution result in the middle of obtaining according to described work sign; According to execution result in the middle of described, complete all execution steps corresponding to described task, obtain the final execution result that described task is corresponding; Final execution result is sent to described external node.Wherein, in the present embodiment, IP hard disk is after the task that has received external node transmission identifies with work, can according to work sign, obtain the middle execution result of this task, make IP hard disk can in follow-up operation, continue to use this first middle execution result.So just guaranteed that the middle execution result preserved in IP hard disk can continue to be used after IP hard disk and enabled node connect, made the middle execution result of IP hard disk can export and can not lose, avoided the waste of IP hard disk execution result data.
Embodiment shown in Fig. 1 has provided the basic procedure of IP hard disk task executing method provided by the invention, wherein IP hard disk is after having received the work sign and task of external node transmission, middle execution result according to this task, completes the execution to this task.The following examples, by providing IP hard disk and obtain the idiographic flow of the middle execution result of this task, refer to Fig. 2, and another IP hard disk task executing method provided by the invention comprises:
At least one execution step in a plurality of execution steps of 201, execution work task, execution result in the middle of obtaining;
In the present embodiment, task comprises a plurality of execution steps.First IP hard disk carries out at least one execution step of the plurality of execution step, execution result in the middle of obtaining.
In this step, this task can be handed down to this IP hard disk by any node, does not limit herein.Preferably, IP hard disk, when receiving this task, can receive the work sign of this task simultaneously, or is this task assigned work sign, does not limit herein.
Preferably, IP hard disk has obtained after middle execution result, preserves this centre execution result.
202, preserve the corresponding relation of described work sign and described middle execution result;
IP hard disk, after having obtained middle execution result, is preserved this centre execution result and the corresponding relation of working and identifying.
Wherein, step 201 is with step 202 in the process of carrying out, and the node that this task is handed down to IP hard disk can keep being connected with IP hard disk, also can depart from this IP hard disk, in the present embodiment, does not limit.
203, receive the task and work sign that external node sends;
Wherein, this external node can with step 201 in task is handed down to IP hard disk node be same node, can be not also same node, in the present embodiment, do not limit.
204, judge whether this external node is available external node;
IP hard disk, after having accepted the task of external node transmission, need to judge whether this external node is available external node.Concrete determination methods has a lot, comprise: this external node has node identification, in IP hard disk, preset the node identification of available external node, IP hard disk compares the node identification of the node identification of external node and the preset available external node of IP hard disk, if the node identification of the available external node that the node identification of described external node is preset with described IP hard disk is identical, determine that described external node is available external node.
Wherein, the form of node identification has a lot, and as the IP address of node, the URL of node etc., can be also other forms, do not limit herein.
IP hard disk judges that whether this external node is that available external node can be also additive method, does not limit in the present embodiment.
205,, when this external node is available external node, obtain middle execution result corresponding to this work sign;
IP hard disk has been determined when this external node is available external node, and the work sign providing according to this external node is obtained middle execution result corresponding to this work sign.This centre execution result is obtained in step 201 by IP hard disk.
206, according to middle execution result, complete the execution to task, obtain the final execution result that this task is corresponding;
Because IP hard disk is in the middle of obtain during execution result, only carried out at least one execution step in a plurality of execution steps of this task, so IP hard disk remains unenforced step as long as carry out this task, just can obtain this final execution result.Especially, if this centre execution result is IP hard disk, to carry out all execution steps of this task resulting, and IP hard disk is using this centre execution result as final execution result.
207, final execution result is sent to this external node.
IP hard disk has obtained after final execution result, and this final execution result is sent to this external node.
The present embodiment on the basis of the embodiment shown in Fig. 1, further described IP hard disk obtain in the middle of the step of execution result.Wherein, at least one execution step of IP hard disk execution work task, execution result in the middle of obtaining, and preserve the corresponding relation of middle execution result and work sign.By such method, IP hard disk is after the task that has received external node transmission identifies with work, can according to work sign, obtain the middle execution result of this task, make IP hard disk can in follow-up operation, continue to use this first middle execution result.So just guaranteed that the middle execution result preserved in IP hard disk can continue to be used after IP hard disk and enabled node connect, made the middle execution result of IP hard disk can export and can not lose, avoided the waste of IP hard disk execution result data.
Preferably, task can also comprise association identification, and this association identification is for identifying other task being associated with this task, and this association identification can be obtained from issuing the Nodes of this task by IP hard disk, also can be specified by this IP hard disk, not limit herein.Wherein, other task being associated with this task comprises: the task of the final execution result that executive condition is this task.After having completed step 207, IP hard disk can also be preserved this final execution result, and preserve the corresponding relation between final execution result and described association identification, so that other task being associated with this task obtains this final execution result according to this association identification, and take this final execution result is executive condition, carry out the execution step that other task of being associated with this task comprises.
For the ease of understanding above-described embodiment, by take the concrete application scenarios of above-described embodiment, describe as example below:
In IP hard disk, preset a plurality of IP address, node corresponding to these IP addresses given tacit consent to available external node for this IP hard disk.
Node A is handed down to three tasks of IP hard disk, is respectively task 1, task 2 and task 3.Wherein, task 1 is for to kill virus to file destination 1, and task 2 is for to kill virus to file destination 2, and task 3 is for being compressed to the file destination through virus killing 1 and the file destination 2 through virus killing in a compressed file and exporting to external node.
IP hard disk receives after task 1, task 2 and task 3, for these 3 task assigned works signs are respectively Job1, Job2 and Job3.Wherein, Job1 is used for sign task 3 for sign task 1, Job2 for sign task 2, Job3.Because these 3 tasks have correlativity, so IP hard disk specifies the association identification of these 3 tasks to be JobListOne.
This hard disk execute the task 1 with task 2, respectively file destination 1 and file destination 2 are killed virus, and the association identification JobListOne of the association identification JobListOne of the file destination 1 after virus killing, file destination 1, file destination 2, file destination 2 is kept in the special use " middle execution result conservation zone " that hard disk partition goes out.
Now IP hard disk will execute the task 3.Because the association identification JobListOne of task 3 is identical with the association identification of task 2 with task 1, so IP hard disk obtains the execution result that Job1 is corresponding with Job2 from " middle execution result conservation zone ", through the file destination 1 of virus killing and the file destination 2 of process virus killing.
IP hard disk executes the task 3, and the compressed file of file destination 2 boil down to by the file destination through virus killing 1 with process virus killing is kept at " middle execution result conservation zone " by this compressed file with corresponding work sign Job3.Node A off-line now, IP hard disk cannot be exported this compressed file.
After 10 minutes, Node B and IP hard disk connect, and send task 3 and work sign Job3 to IP hard disk.IP hard disk receives task 3 and work sign Job3.
The IP address that IP hard disk is determined Node B is in this IP hard disk in preset IP address, so determine that Node B is available external node.IP hard disk obtains the above-mentioned compressed file being kept in " middle execution result conservation zone ", the final execution result using this compressed file as Job3, and this compressed file is exported to Node B.
The embodiment of the present invention also provides relevant IP hard disk, and its basic structure refers to Fig. 3, mainly comprises:
Receiver module 301, the task and work sign that for receiving external node, send, this work sign is used for identifying this task;
Judge module 302, for judging whether external node is available external node;
Acquisition module 303, when being available external node when external node, obtains middle execution result corresponding to this work sign, and this centre execution result is the middle execution result that task is corresponding;
Result execution module 304, for according to middle execution result, completes the execution to task, obtains the final execution result that task is corresponding;
Output module 305, for sending to described external node by final execution result.
In the present embodiment, receiver module 301 receives the task and work sign that external node sends; Judge module 302 judges whether described external node is available external node; When described external node is available external node, execution result in the middle of acquisition module 303 obtains according to described work sign; Result execution module 304, according to execution result in the middle of described, completes all execution steps corresponding to described task, obtains the final execution result that described task is corresponding; Output module 305 sends to described external node by final execution result.Wherein, in the present embodiment, IP hard disk is after the task that has received external node transmission identifies with work, can according to work sign, obtain the middle execution result of this task, make IP hard disk can in follow-up operation, continue to use this first middle execution result.So just guaranteed that the middle execution result preserved in IP hard disk can continue to be used after IP hard disk and enabled node connect, made the middle execution result of IP hard disk can export and can not lose, avoided the waste of IP hard disk execution result data.
Embodiment shown in Fig. 3 has provided the basic structure of IP hard disk provided by the invention, and the following examples, by providing a kind of more specifically structure of IP hard disk, refer to Fig. 4, and another IP hard disk provided by the invention comprises:
Middle execution module 401, at least one execution step of a plurality of execution steps of execution work task, execution result in the middle of obtaining;
Preserve module 402, the corresponding relation for preservation work sign with middle execution result;
Receiver module 403, the task and work sign that for receiving external node, send, this work sign is used for identifying this 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 the node identification of external node and the preset available external node of described IP hard disk is compared, if the node identification of the available external node that the node identification of described external node is preset with described IP hard disk is identical, determine that described external node is available external node.
Acquisition module 405, when being available external node when external node, obtains middle execution result corresponding to this work sign, and this centre execution result is the middle execution result that task is corresponding;
Result execution module 406, for according to middle execution result, completes the execution to task, obtains the final execution result that task is corresponding;
Output module 407, for sending to this external node by final execution result.
The present embodiment has proposed a kind of IP hard disk of more refinement on the basis of the embodiment shown in Fig. 3, wherein, at least one execution step of middle execution module 401 execution work tasks, obtains middle execution result, execution result and the corresponding relation of working and identifying in the middle of 402 preservations of preservation module.By such method, IP hard disk is after the task that has received external node transmission identifies with work, can according to work sign, obtain the middle execution result of this task, make IP hard disk can in follow-up operation, continue to use this first middle execution result.Even IP hard disk when execution work task and other nodes disconnect, the middle execution result that IP hard disk obtains also can continue to be used after IP hard disk and available external node connect, make the middle execution result of IP hard disk can export to available external node and can not lose, avoided the waste of IP hard disk execution result data.
Preferably, task can also comprise association identification, and for identifying other task being associated with described task, this association identification can be obtained from issuing the Nodes of this task by IP hard disk, also can be specified by this IP hard disk, does not limit herein.Wherein, other task being associated with this task comprises: the task of the final execution result that executive condition is this task.Preserving module 402 can also be for: preserve the corresponding relation between final execution result and association identification, so that other task being associated with this task obtains described final execution result according to this association identification, and take this final execution result is executive condition, carry out the execution step that other task of being associated with described task comprises.
For the ease of understanding above-described embodiment, by take the concrete application scenarios of above-described embodiment, describe as example below:
In IP hard disk, preset a plurality of IP address, node corresponding to these IP addresses given tacit consent to available external node for this IP hard disk.
Node A is handed down to three tasks of IP hard disk, is respectively task 1, task 2 and task 3.Wherein, task 1 is for to kill virus to file destination 1, and task 2 is for to kill virus to file destination 2, and task 3 is for being compressed to the file destination through virus killing 1 and the file destination 2 through virus killing in a compressed file and exporting to external node.
IP hard disk receives after task 1, task 2 and task 3, for these 3 task assigned works signs are respectively Job1, Job2 and Job3.Wherein, Job1 is used for sign task 3 for sign task 1, Job2 for sign task 2, Job3.Because these 3 tasks have correlativity, so IP hard disk specifies the association identification of these 3 tasks to be JobListOne.
The middle execution module 401 of this IP hard disk execute the task 1 with task 2, respectively file destination 1 and file destination 2 are killed virus, and the association identification JobListOne of the association identification JobListOne of the file destination 1 after virus killing, file destination 1, file destination 2, file destination 2 is kept in the special use " middle execution result conservation zone " that hard disk partition goes out.
Now IP hard disk will execute the task 3.Because the association identification JobListOne of task 3 is identical with the association identification of task 2 with task 1, so IP hard disk obtains the execution result that Job1 is corresponding with Job2 from " middle execution result conservation zone ", through the file destination 1 of virus killing and the file destination 2 of process virus killing.
The middle execution module 401 of IP hard disk executes the task 3, compressed file of file destination 2 boil down to by the file destination through virus killing 1 with process virus killing, preserves module 402 this compressed file is kept to " middle execution result conservation zone " with corresponding work sign Job3.Node A off-line now, IP hard disk cannot be exported this compressed file.
After 10 minutes, Node B and IP hard disk connect, and send task 3 and work sign Job3 to IP hard disk.Receiver module 403 reception tasks 3 and work sign Job3.
The IP address that judge module 404 is determined Node B is in this IP hard disk in preset IP address, so determine that Node B is available external node, acquisition module 405 obtains the above-mentioned compressed file being kept in " middle execution result conservation zone ", the final execution result of result execution module 406 using this compressed file as Job3, output module 407 is exported to Node B by this compressed file.
From the angle of blocking functional entity, the IP hard disk the embodiment of the present invention is described above, from the angle of hardware handles, the IP hard disk the embodiment of the present invention is described below, refer to Fig. 5, IP hard disk 500 another embodiment in the embodiment of the present invention comprise:
Input media 501, output unit 502, processor 503 and storer 504 (wherein the quantity of the processor 503 in IP hard disk 500 can be one or more, and the processor 503 of take in Fig. 5 is example).In some embodiments of the invention, input media 501, output unit 502, processor 503 and storer 504 can be connected by bus or alternate manner, wherein, in Fig. 5 to be connected to example by bus.
Wherein, by calling the operational order of storer 504 storages, processor 503 is for carrying out following steps: receive task and work sign that external node sends; Judge whether described external node is available external node; When described external node is available external node, obtain middle execution result corresponding to described work sign; According to execution result in the middle of described, complete the execution to described task, obtain the final execution result that described task is corresponding; Described final execution result is sent to described external node; Carry out described at least one in described a plurality of execution step and perform step, obtain described in the middle of execution result; Preserve the corresponding relation of described work sign and described middle execution result; The node identification of the node identification of described external node and the preset available external node of described IP hard disk is compared, if the node identification of the available external node that the node identification of described external node is preset with described IP hard disk is identical, determine that described external node is available external node; Preserve the corresponding relation between described final execution result and described association identification, so that other task being associated with described task obtains described final execution result according to described association identification, and the described final execution result of take is executive condition, the execution step that other task that execution is associated with described task comprises.
Those skilled in the art can be well understood to, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), the various media that can be program code stored such as random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above, above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (8)

1. an IP hard disk task executing method, is characterized in that, comprising:
Between network, interconnection agreement IP hard disk receives the task and work sign that external node sends, and described work sign is used for identifying described task;
Judge whether described external node is available external node;
When described external node is available external node, obtain middle execution result corresponding to described work sign, described centre execution result is the middle execution result that described task is corresponding;
According to execution result in the middle of described, complete the execution to described task, obtain the final execution result that described task is corresponding;
Described final execution result is sent to described external node.
2. IP hard disk task executing method according to claim 1, is characterized in that, described task comprises a plurality of execution steps, and described IP hard disk also comprises before receiving the external node task sending and the sign of working:
Carry out described at least one in described a plurality of execution step and perform step, obtain described in the middle of execution result;
Preserve the corresponding relation of described work sign and described middle execution result.
3. IP hard disk task executing method according to claim 1, is characterized in that, described external node has node identification;
Describedly judge whether described external node is that available external node comprises:
The node identification of the node identification of described external node and the preset available external node of described IP hard disk is compared, if the node identification of the available external node that the node identification of described external node is preset with described IP hard disk is identical, determine that described external node is available external node.
4. according to the IP hard disk task executing method described in any one in claims 1 to 3, it is characterized in that, described task comprises association identification, and described association identification is for identifying other task being associated with described task; Described method also comprises:
Preserve the corresponding relation between described final execution result and described association identification, so that other task being associated with described task obtains described final execution result according to described association identification, and the described final execution result of take is executive condition, the execution step that other task that execution is associated with described task comprises.
5. an IP hard disk, is characterized in that, comprising:
Receiver module, the task and work sign that for receiving external node, send, described work sign is used for identifying described task;
Judge module, for judging whether described external node is available external node;
Acquisition module, when being available external node when described external node, obtains middle execution result corresponding to described work sign, and described centre execution result is the middle execution result that described task is corresponding;
Result execution module, for according to execution result in the middle of described, completes the execution to described task, obtains the final execution result that described task is corresponding;
Output module, for sending to described external node by described final execution result.
6. IP hard disk according to claim 5, is characterized in that, described task comprises a plurality of execution steps, and described IP hard disk also comprises:
Middle execution module, performs step for carrying out described at least one of described a plurality of execution steps, obtain described in the middle of execution result;
Preserve module, for preserving the corresponding relation of described work sign and described middle execution result.
7. IP hard disk according to claim 5, is characterized in that, described external node has node identification;
Described judge module specifically for:
The node identification of the node identification of described external node and the preset available external node of described IP hard disk is compared, if the node identification of the available external node that the node identification of described external node is preset with described IP hard disk is identical, determine that described external node is available external node.
8. according to the IP hard disk described in any one in claim 5 to 7, it is characterized in that, described task comprises association identification, and described association identification is for identifying other task being associated with described task; Described preservation module also for:
Preserve the corresponding relation between described final execution result and described association identification, so that other task being associated with described task obtains described final execution result according to described association identification, and the described final execution result of take is executive condition, the execution step that other task that execution is associated with described task comprises.
CN201410219794.0A 2014-05-22 2014-05-22 A kind of IP hard disks task executing method and IP hard disks Active CN103995745B (en)

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 true CN103995745A (en) 2014-08-20
CN103995745B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407137A (en) * 2015-10-22 2016-03-16 华为技术有限公司 Data migration method, IP hard disk, IP disk gateway and storage system
WO2016082560A1 (en) * 2014-11-26 2016-06-02 华为技术有限公司 Method and server for testing keys
CN105700823A (en) * 2015-12-23 2016-06-22 华为技术有限公司 Method and apparatus for transmitting data between IP hard disks
WO2017215249A1 (en) * 2016-06-12 2017-12-21 杭州海康威视数字技术股份有限公司 Internet protocol (ip) disk assignment method and device
CN108804218A (en) * 2017-04-28 2018-11-13 深圳中电长城信息安全系统有限公司 The distribution method and system of hard disk

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030101239A1 (en) * 2001-11-27 2003-05-29 Takeshi Ishizaki Storage device with VLAN support
US20080154986A1 (en) * 2006-12-22 2008-06-26 Storage Technology Corporation System and Method for Compression of Data Objects in a Data Storage System
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030101239A1 (en) * 2001-11-27 2003-05-29 Takeshi Ishizaki Storage device with VLAN support
US20080154986A1 (en) * 2006-12-22 2008-06-26 Storage Technology Corporation System and Method for Compression of Data Objects in a Data Storage System
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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016082560A1 (en) * 2014-11-26 2016-06-02 华为技术有限公司 Method and server for testing keys
CN105407137A (en) * 2015-10-22 2016-03-16 华为技术有限公司 Data migration method, IP hard disk, IP disk gateway and storage system
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
WO2017215249A1 (en) * 2016-06-12 2017-12-21 杭州海康威视数字技术股份有限公司 Internet protocol (ip) disk assignment method and device
CN108804218A (en) * 2017-04-28 2018-11-13 深圳中电长城信息安全系统有限公司 The distribution method and system of hard disk
CN108804218B (en) * 2017-04-28 2021-04-06 深圳中电长城信息安全系统有限公司 Hard disk allocation method and system

Also Published As

Publication number Publication date
CN103995745B (en) 2017-09-05

Similar Documents

Publication Publication Date Title
AU2014235793B2 (en) Automatic tuning of virtual data center resource utilization policies
US8880793B2 (en) Storage management systems and methods
CN103995745A (en) IP hard disk task execution method and IP hard disk
WO2020151483A1 (en) Stress testing system for internet-of-things platform, method, device, and server
CN111984395B (en) Data migration method, system and computer readable storage medium
CN104486234A (en) Method and server for uninstalling service exchanger to physical network card
CN102316043B (en) Port virtualization method, switch and communication system
CN105471760A (en) Routing method, load balancing device and data communication system
CN108055165A (en) The method and equipment patrolling device of equipment routing inspection
CN105573819A (en) Method for obtaining disk capacity information of virtual machine directly through host machine
CN103905508A (en) Cloud platform application deployment method and device
US10992526B1 (en) Hyper-converged infrastructure networking configuration system
CN105607998B (en) A kind of System and method for carrying out embedded software debugging by online mode
CN112130748A (en) Data access method, network card and server
CN113890879B (en) Load balancing method and device for data access, computer equipment and medium
KR102210289B1 (en) Hardware management communication protocol
CN108199962A (en) Address transfer method, apparatus, the network equipment and readable storage medium storing program for executing
CN104199683A (en) ISO mirror image document loading method and device
CN109829546B (en) Platform as-a-service cloud server and machine learning data processing method thereof
CN104077187A (en) Method and system for scheduling execution of application programs
US20160196083A1 (en) Method and device for monitoring data integrity in shared memory environment
CN104092747A (en) USB dynamic linking method and device in virtualization environment
CN113791792A (en) Application calling information acquisition method and device and storage medium
CN107493234B (en) Message processing method and device based on virtual network bridge
CN112311624A (en) Cloud host testing method and device, storage medium and electronic equipment

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