CN103685402B - The method of remote resource, server and task initiating equipment - Google Patents

The method of remote resource, server and task initiating equipment Download PDF

Info

Publication number
CN103685402B
CN103685402B CN201210345729.3A CN201210345729A CN103685402B CN 103685402 B CN103685402 B CN 103685402B CN 201210345729 A CN201210345729 A CN 201210345729A CN 103685402 B CN103685402 B CN 103685402B
Authority
CN
China
Prior art keywords
resource
storage
action
capability
execution route
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
Application number
CN201210345729.3A
Other languages
Chinese (zh)
Other versions
CN103685402A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210345729.3A priority Critical patent/CN103685402B/en
Priority to US14/023,189 priority patent/US9819718B2/en
Publication of CN103685402A publication Critical patent/CN103685402A/en
Application granted granted Critical
Publication of CN103685402B publication Critical patent/CN103685402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a kind of method of remote resource, server and task initiating equipment.The method of remote resource according to embodiments of the present invention, is applied to first server, and methods described includes:Receive the remote operation instruction for carrying out task initiating equipment;Released news according to capability resource and released news with storage resource, obtain at least one execution route for performing remote operation instruction, and the atomic action included in every execution route;Obtain the first weight score of each atomic action;The first weight score according to each atomic action calculates every second weight score of execution route;According to the second weight score, the minimum execution route of executory cost is defined as target execution route;The ability offer device of the atomic action that performance objective execution route is included is defined as target capability offer device;And instructed to the action executing that target capability offer device is sent for performing corresponding atomic action.

Description

The method of remote resource, server and task initiating equipment
Technical field
The present invention relates to a kind of method of remote resource, server and task initiating equipment.
Background technology
In recent years, more and more such as personal computer, portable computer, tablet computer, smart phone, just The high-performance terminal device for taking formula multimedia player, intelligent television etc is widely used.Personal user may be simultaneously Possess high-performance terminal device as multiple.
When user's multiple equipment is cooperated, current solution is often in being with the equipment of current operation The heart.For example, when needing to print file of the storage on Cloud Server with mobile phone, it is necessary to first download this file into Mobile phone is local, then, transfers the file to PC, then be transmitted to printing device by PC initiation printings.However, work as to cooperate Multiple equipment in, except when miscellaneous equipment beyond preceding operation equipment also has stronger disposal ability and/or network connection During ability, many equipment collaboration processing schemes centered on the equipment of current operation are often not the processing scheme of optimization.
Additionally, the portable electric appts battery of such as smart phone, portable media player etc is smaller, continuation of the journey Time is shorter.When such portable electric appts are used as the central apparatus of many equipment collaboration processing schemes, equipment is increased Use power consumption, and reduce the use time of portable electric appts.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method of remote resource, server and task to initiate to set It is standby, to solve the above problems.
An embodiment provides a kind of method of remote resource, first server is applied to, wherein The capability resource that storage is received by wide area network from least one information distributing apparatus in first server releases news and deposits Storage resource release news, each capability resource release news including provide this capability resource it is ability offer device, can By first operation address and the ability description information of this capability resource of wide-area network access, each storage resource issue letter Breath include this storage resource, can be retouched by the storage of the first storage address of wide-area network access and this storage resource State information.Methods described includes:Receive the remote operation instruction for carrying out task initiating equipment;Released news according to capability resource and deposited Storage resource releases news, and obtains at least one execution route for performing remote operation instruction, and included in every execution route Atomic action, wherein atomic action refers to being performed by ability offer device, will not be employed program scheduler mechanism and beat Disconnected operation;The first weight score of each atomic action is obtained, wherein required for the first weight score indicates the atomic action Executory cost;The first weight score according to each atomic action calculates every second weight score of execution route, wherein Second weight score indicate the execution route required for executory cost;It is according to the second weight score, executory cost is minimum Execution route is defined as target execution route;The ability offer device of the atomic action that performance objective execution route is included is true It is set to target capability offer device;And held to the action that target capability offer device is sent for performing corresponding atomic action Row instruction.
Another embodiment of the present invention provides a kind of method of remote resource, is applied to task initiating equipment, described Method includes:First server is logged in via wide area network;Ability money of the storage in first server is received from first server Source releases news and is released news with storage resource, and wherein each capability resource releases news including the energy for providing this capability resource Power offer device, can by the first operation address of wide-area network access and the ability description information of this capability resource, And each storage resource release news it is including this storage resource, can by the first storage address of wide-area network access with And the storage description information of this storage resource, show that received capability resource releases news and released news with storage resource; Receive the operational order from user;Determine whether operational order is remote operation instruction;And when operational order is long-range behaviour When instructing, the remote operation instruction is sent to first server, wherein first server released news according to capability resource and Storage resource releases news and obtains what the target execution route and the target execution route that perform remote operation instruction included Atomic action, the ability offer device of the atomic action that performance objective execution route is included is defined as target capability and provides dress Put, and instructed to the action executing that target capability offer device is sent for performing corresponding atomic action, atomic action is Refer to it is being performed by ability offer device, the operation that program scheduler mechanism is interrupted will not be employed.
Another embodiment of the present invention provides a kind of server, including:Memory cell, configures to store by wide area network The capability resource received from least one information distributing apparatus releases news and is released news with storage resource, wherein each ability money Source release news including provide this capability resource it is ability offer device, can be by the first of wide-area network access operatively Location and the ability description information of this capability resource, each storage resource release news it is including this storage resource, can By first storage address and the storage description information of this storage resource of wide-area network access;Receiving unit, configures to connect Receive the remote operation instruction for carrying out task initiating equipment;Resolution unit, configuration releases news and storage resource according to capability resource Release news, obtain at least one execution route for performing remote operation instruction, and the atom included in every execution route Action, wherein atomic action refer to being performed by an ability offer device, will not be employed the behaviour that program scheduler mechanism is interrupted Make;First weighted units, configure to obtain the first weight score of each atomic action, wherein the first weight score indicates the original Executory cost required for son action;Second weighted units, configuration to be calculated according to the first weight score of each atomic action Every second weight score of execution route, wherein the executory cost required for the second weight score indicates the execution route;Road Footpath select unit, configuration comes according to the second weight score, and the minimum execution route of executory cost is defined as into target execution route; Device determining unit, the ability offer device of the atomic action that configuration includes performance objective execution route is defined as target Ability offer device;And transmitting element, configure to be sent for performing corresponding atomic action to target capability offer device Action executing instruction.
One more embodiment of the present invention includes there is provided a kind of task initiating equipment:Log in control unit, configuration come via Wide area network logs in first server;Receiving unit, configuration to receive ability of the storage in first server from first server Resource releases news and is released news with storage resource, and wherein each capability resource releases news including providing this capability resource Ability offer device, can be believed by the ability description of the first operation address of wide-area network access and this capability resource Breath, and each storage resource release news it is including this storage resource, can be by the first storage of wide-area network access Location and the storage description information of this storage resource;Display unit, configures to show that received capability resource releases news Released news with storage resource;Input block, configures to receive the operational order from user;Instruction-determining unit, configuration comes Determine whether operational order is remote operation instruction;And transmitting element, configure and come when operational order is remote operation instruction, The remote operation instruction is sent to first server, wherein first server releases news according to capability resource and sent out with storage resource Cloth information acquisition performs the atomic action that the target execution route and the target execution route of remote operation instruction include, will The ability offer device of the atomic action that performance objective execution route includes is defined as target capability offer device, and to mesh The action executing that mark ability offer device sends for performing corresponding atomic action is instructed, and atomic action refers to by an ability Offer device perform, the operation that program scheduler mechanism is interrupted will not be employed.
Additionally, one embodiment of the invention additionally provides a kind of task initiating equipment including:Display unit, configures to show Capability resource releases news and is released news wherein with storage resource, and capability resource releases news and had by first information distribution apparatus The information of standby ability, storage resource releases news the information of the resource stored by the second information distributing apparatus;Input block, Configure and release news receiving capability resource from user, releasing news indicated for capability resource and storage resource The resource operation instruction of the target resource in indicated storage resource;And transmitting element, configure and to be sent out to first server Resource operation is sent to instruct, wherein first server releases news according to capability resource and released news in terminal device with storage resource The middle target terminal equipment for determining to perform resource operation instruction.
In the scheme that the embodiments of the present invention are provided, released news by prestoring capability resource in the server Released news with storage resource so that server has the resource of connected all devices and the external device (ED) of the equipment complete Looks, so that, server can be looked into the shortest path that the remote operation instruction from task initiating equipment is converted to weights network Problem is looked for, the events dispatcher under efficient distributed environment is realized.So as to, when multiple equipment is cooperated need not with work as Centered on the equipment of preceding operation, the use power consumption of equipment is reduced, and improve the use time of mobile device.Additionally, logical The scheme of embodiments of the present invention offer is provided, immediately under complex network environment, large-scale equipment distribution also can be efficiently performed In task initiating equipment being initiated of the task.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, will will make needed for the description to embodiment below Accompanying drawing is briefly described.Drawings in the following description are only exemplary embodiment of the invention.
Fig. 1 depicts the flow chart of the method for remote resource according to an embodiment of the invention.
Fig. 2 depicts an illustrative case for carrying out remote control according to existing many equipment collaboration processing schemes and says Bright figure.
The method that Fig. 3 depicts the remote resource according to Fig. 1 carries out the illustrative case of remote resource control Explanatory diagram.
Fig. 4 is depicted in the illustrative case shown in Fig. 3, is released news to be issued with storage resource according to capability resource and believed Breath, the schematic diagram of the execution route of the execution remote operation instruction of acquisition.
Fig. 5 depicts the flow chart of the method for remote resource according to another embodiment of the present invention.
Fig. 6 is the exemplary block diagram for showing server according to an embodiment of the invention.
Fig. 7 is the exemplary block diagram for showing task initiating equipment according to an embodiment of the invention.
Specific embodiment
Hereinafter, by preferred embodiments of the present invention will be described in detail with reference to the annexed drawings.Note, in the specification and drawings In, it is denoted by the same reference numerals with substantially the same step and element, and to these steps and the repetition solution of element Releasing to be omitted.
In following examples of the invention, stored in first server and issued from least one information by wide area network Information distributing apparatus and/or the capability resource of other terminal devices for being connected to the information distributing apparatus that equipment is received are issued Information and storage resource release news.Each capability resource releases news including the ability offer device for providing this capability resource , can be by the first operation address of wide-area network access and the ability description information of this capability resource, and each is deposited Storage resource release news it is including this storage resource, can be stored by the first storage address of wide-area network access and this The storage description information of resource.
In an embodiment of the present invention, the concrete form of information distributing apparatus and terminal device includes but is not limited to intelligence Phone, personal computer, personal digital assistant, portable computer, tablet computer, portable media player, intelligence Energy TV etc..An example of the invention, information distributing apparatus can be directly connected to wide area network, and by wide area network Carry out data transmission with server.Information distributing apparatus have the wide area entoilage that can be identified in the wide area network in the case Location.Alternatively, another example of the invention, information distributing apparatus can not be directly connected to wide area network.In this situation Under, information distributing apparatus can be via in the first autonomous environment and the agent equipment that connects of wide area network, with the service in wide area network Device carries out data transmission, and wherein agent equipment has the wide area network address that can be used in the wide area network.
Additionally, in an embodiment of the present invention, autonomous environment refer at least one terminal device by being connected with each other and It is connected to the LAN environment that the external equipment of corresponding terminal device is constituted.It is as described below, in autonomous environment, exist at least One information distributing apparatus, is sent out with the capability resource of the capacity of equipment resource having to wide area network management and issue terminal equipment Cloth information.An example of the invention, each terminal device can serve as information distributing apparatus.Alternatively, one Individual autonomous environment can pre-set specific terminal device as information distributing apparatus, and other-end equipment provides its capacity of equipment The capability resource in source releases news and is sent to information distributing apparatus, and is sent to server by information distributing apparatus.May be selected Ground, another example of the invention, each terminal device in autonomous environment and be connected to corresponding terminal device can be with Information equipment resource-sharing cooperation with service(IGRS)It is connected with each other based on agreement.Additionally, another example of the invention, from It can be wired or wireless LAN environment to control environment.
Fig. 1 depicts the flow chart of the method 100 of remote resource according to an embodiment of the invention.Long-range control The method 100 of resource processed can be applied to above-mentioned first server.As shown in figure 1, in step S 101, receiving and carrying out task initiation The remote operation instruction of equipment.Task initiating equipment can be that above-mentioned such as smart phone, personal computer, individual digital are helped The information distributing apparatus of hand, portable computer, tablet computer, portable media player, intelligent television etc or Terminal device.
In step s 102, released news according to capability resource and released news with storage resource, obtained and perform remote operation At least one execution route of instruction, and the atomic action included in every execution route, wherein atomic action refers to by one It is that individual ability offer device is performed, the operation that program scheduler mechanism is interrupted will not be employed.Atomic action can be used as an entirety. An example of the invention, can be to the called side being called to atomic action(In the present embodiment, for example, the first clothes Business device)Feed back the success or failure of atomic action.Specifically, as described above, each described capability resource releases news and can wrap The ability description information of this capability resource is included, and each described storage resource releases news and may include this storage resource Storage description information.In step s 102, according to ability description information and storage description information, it is determined to long-range for performing Storage resource required for the capability resource offer device and/or remote operation instruction of operational order, and and then obtain execution far At least one execution route of journey operational order.
Additionally, an example of the invention, capability resource be the interior arrangement that is had by information distributing apparatus and/ Or the peripheral unit offer of information distributing apparatus is provided in the first autonomous environment as belonging in information distributing apparatus.In letter In the case that breath distribution apparatus directly can be connected by wide area network with first server, during aforementioned capabilities resource releases news The first operation address may include the first device identification of information distributing apparatus and the interior arrangement of this capability resource be provided And/or device identification of the peripheral unit in the first autonomous environment.Additionally, as described above, the first device identification may include user The second device identification in the first autonomous environment of mark, the mark and distribution apparatus of the first autonomous environment belonging to it.And And first device identification may conform to the wan protocol of such as http protocol and/or XMPP etc.For example, in ID It is User_ID, the first autonomous environment is designated LenovoDomain, in the first autonomous environment of the distribution apparatus belonging to it In the case that second device identification is PublisherID, information distributing apparatus can be with according to the first device identification of http protocol It is " http://LenovoDomain/User_ID/ { PublisherID }/", and information distributing apparatus are according to the of XMPP One device identification can be " User_ID@LenovoDomain/ { PublisherID }/".Additionally, in the first autonomous environment Device identification is Container_ID.Energy can be generated according to the wan protocol of such as http protocol and/or XMPP etc Enough by the first operation address of wide-area network access.For example, can be according to the first operation address that http protocol is generated “http://LenovoDomain/User_ID/ { PublisherID }/container/ { Container_ID }/", and according to XMPP generation the first operation address can be " User_ID@LenovoDomain/ { PublisherID }/ container/{Container_ID}/”.Although the first operation address generated according to http protocol is given birth to according to XMPP Into the first operation address form it is different, but the first operation address generated according to http protocol is given birth to according to XMPP Into the first operation address it is corresponding, and according to http protocol generate the first operation address can be given birth to according to http protocol Into the first operation address mutually change.
Additionally, storage resource may include local data, storage of the storage in information distributing apparatus in information distributing apparatus Relational database in data entry information, information distributing apparatus produce data flow, and/or storage can sent out with information Remote data in the second server that cloth equipment is connected.First storage address includes the first equipment mark of information distributing apparatus Know and storage resource is identified relative to the storage of the storage location of information distributing apparatus.Additionally, one of the invention is shown Example, storage resource may include with all or part of content in beginning a project.For example, being the feelings of smart mobile phone in information distributing apparatus Under condition, storing the data entry information in the relational database of information distributing apparatus may include storage in the logical of the smart mobile phone Contacts entries in news record database.Again for example, can be information distributing apparatus in the data flow that information distributing apparatus are produced Camera produce preview and video acquisition data, the alignment sensor of information distributing apparatus(Such as global positioning system (GPS)Module)The real-time voice of the sound pick-up outfit collection of the real time positioning data, and/or information distributing apparatus of generation records note Record etc..Again for example, remote data of the storage in the second server that can be connected with information distributing apparatus can be stored Such as data in the wide area network server of Dropbox server etc.
For example, one storage resource of storage, storage device or be connected with information distributing apparatus in information distributing apparatus Second server be expressed as storage, indicate storage resource to be identified relative to the storage of the storage location of information distributing apparatus It is Storage_Loc, i.e. storage logic of the storage resource relative to information distributing apparatus.It is similar with the first operation address, can root Can be by the first storage of wide-area network access according to the wan protocol generation of such as http protocol and/or XMPP etc Location.For example, can be " http according to the first storage address that http protocol is generated://LenovoDomain:User_ID/ { PublisherID }/storage/ { Storage_Loc }/", and can be according to the first storage address that XMPP is generated “User_ID@LenovoDomain/{PublisherID}/storage/{Storage_Loc}/”.Although according to http protocol First storage address of generation is different from the form of the first storage address generated according to XMPP, but according to http protocol First storage address of generation is corresponding with the first storage address generated according to XMPP, and is generated according to http protocol The first storage address can mutually be changed with the first storage address generated according to http protocol.
An example of the invention, the method shown in Fig. 1 may also include reception task hair before step S102 The ID that the equipment of rising sends, in step s 102, first server can be according to the capability resource matched with the ID Release news and released news with storage resource, obtain at least one execution route for performing remote operation instruction, and every is held The atomic action included in walking along the street footpath.That is, user can only use the capability resource that is matched with the ID of oneself and Storage resource, so that, improve the security of the method for remote resource.
Specifically, connect from least one information distributing apparatus by wide area network as described above, being stored in first server The capability resource of receipts releases news in being released news with storage resource and may include ID.Can be received before step S102 and appointed The ID that business initiating equipment sends.For example, in step S101, receiving from the simultaneous long-range behaviour of task initiating equipment Instruct and ID.In step s 102, can be released news to be released news with storage resource according to capability resource includes ID, in capability resource releases news and released news with storage resource, the ability that is matched with ID of acquisition is provided Source releases news and is released news with storage resource, then, releases news and stores according to the capability resource matched with ID Resource releases news and obtains at least one execution route of execution remote operation instruction, and the original included in every execution route Son action.
In step s 103, the first weight score of each atomic action is obtained, wherein the first weight score indicates the original Executory cost required for son action.An example of the invention, the executory cost required for atomic action may include energy Power offer device performs the time cost that is spent of atomic action and/or power consumption cost etc..Another show additionally, of the invention Example, in step s 103, the ability description information in being released news according to capability resource obtains the first of each atomic action Weight score.For example, ability description information at least includes the resource name of this capacity of equipment resource and provides this equipment The attribute description of the equipment of capability resource.Attribute description may include the disposal ability of ability offer device, network connection bandwidth, be It is no to belong to portable set etc..Additionally, another example of the invention, in step S 103, may also include and provided according to storage Source release news in storage description information, obtain the first weight score of each atomic action.For example, the description of storage resource Parameter includes mode of operation, resource type, file name, the issuing time and in the renewal time of this storage resource Individual or multiple.Additionally, alternatively, also the weight score of identical first can be assigned for each atomic action.
Then, in step S104, the first weight score according to each atomic action calculates every the of execution route Two weight scores, wherein the executory cost required for the second weight score indicates the execution route.One of the invention is shown Example, similar with the executory cost required for atomic action, the executory cost required for execution route may include to have the ability to provide Device performs that execution route spent total time cost and/or total power consumption cost etc..
In step S105, according to the second weight score, the minimum execution route of executory cost is defined as target and is performed Path.And the ability offer device of the atomic action that in step s 106, performance objective execution route is included is defined as Target capability offer device.Finally, in step s 107, sent to identified target capability offer device in step s 106 Action executing for performing corresponding atomic action is instructed.
According to the method for the remote resource of the present embodiment, sent out by prestoring capability resource in the server Cloth information and storage resource release news so that server has connected all devices and the external device (ED) of the equipment Resource overall picture, so that, the remote operation instruction from task initiating equipment can be converted to the most short of weights network by server Path searching problem, realizes the events dispatcher under efficient distributed environment.So as to be not required to when multiple equipment is cooperated The use power consumption of equipment centered on the equipment of current operation, is reduced, and improves the use time of mobile device.This Outward, the scheme for being provided by the embodiments of the present invention, immediately under complex network environment, also can efficiently perform large-scale equipment The task that task initiating equipment in distribution is initiated.
Additionally, another example of the invention, the method described in Fig. 1 may also include:Sent to task initiating equipment The atomic action that target execution route includes so that understand that remote operation instruction using the user of task initiating equipment Executive mode.Additionally, the method shown in Fig. 1 can also be further included:Target is received from target capability offer device perform road The executive process of the atomic action that footpath includes;And moved to the atom that task initiating equipment transmission target execution route includes The executive process of work so that the user using task initiating equipment can further know the implementation progress of remote operation instruction.
Additionally, another example of the invention, in some cases, user may want to Iterim Change task and initiate to set The long-range execute instruction sent before standby, now, the method shown in Fig. 1 may also include:First is received from task initiating equipment Instruction is cancelled in action;Instruction is cancelled according to the first action the first atom is determined in the atomic action that target execution route includes Action;The first ability offer device for performing the first atomic action is determined in target capability offer device;And to One ability offer device sends the second action and cancels instruction, and wherein the first ability offer device is cancelled instruction and taken according to the second action Disappear the first atomic action of execution.
Additionally, another example of the invention, when the finally needs that remote operation instruction is download file etc are in office When business initiating equipment obtains the instruction of implementing result, the method shown in Fig. 1 may additionally include target execution route and perform completion Afterwards, the ability offer device of last atomic action receives implementing result from execution route is completed;And initiated to task Equipment sends implementing result.Specifically, after the completion of the execution of target execution route, first server can perform road from comprising completion The ability offer device of last atomic action or the information distributing apparatus being connected with the ability offer device connect in footpath Receive implementing result.
Hereinafter, will describe to carry out remote resource using the method for the remote resource shown in Fig. 1 with reference to Fig. 2 to Fig. 4 One example of control.Fig. 2 depicts the example that remote control is carried out according to existing many equipment collaboration processing schemes The explanatory diagram of situation.
As shown in Fig. 2 when task initiating equipment 210 wishes the high in the clouds figure of the printing terminal equipment 230 of control terminal equipment 220 During file A under piece catalogue, according to existing many equipment collaboration processing schemes, task initiating equipment 210 is sent out to terminal device 220 Printing terminal equipment 230 is sent to store the instruction 211 of the file A on server 240.Terminal device 220 is sent out to terminal device 230 The first data acquisition is sent to instruct 221, to obtain the file A under the picture directory of high in the clouds.The file A under picture directory is eventually beyond the clouds In the case that end equipment 230 stores the file on server 240, terminal device 230 according to the first data acquisition instruction 221 to Server 240 sends the second data acquisition instruction 231.Server 240 is according to the instruction 231 of the second data acquisition to terminal device 230 send file A, and after terminal device 230 receives file A from server 240, are transmitted a document A to terminal device 220. Last terminal device 220 is printed to file 1.In the illustrated example shown in fig. 2, due between the multiple equipment of co-ordination And the capability resource and storage resource of miscellaneous equipment are unaware of, even if therefore can also connect with server 240 in terminal device 220 In the case of connecing, file A still needs elder generation and is sent to terminal device 230 from server 240, then is sent out from terminal device 230 It is sent to terminal device 220, i.e. file A needs repeatedly to be transmitted.Additionally, being the feelings of portable mobile apparatus in terminal device 230 Under condition, the A that downloads and transmit a document increased the power consumption of terminal device 230, reduce the stand-by time of terminal device 230.
The method that Fig. 3 depicts the remote resource according to Fig. 1 carries out the illustrative case of remote resource control Explanatory diagram.In the example depicted in fig. 3, storage passes through wide area network from the He of information distributing apparatus 320 in first server 350 330 capability resources for receiving release news CI and storage resource releases news SI.Each capability resource releases news including providing This capability resource it is ability offer device, can be by the first operation address of wide-area network access and this capability resource Ability description information, and each storage resource release news it is including this storage resource, can be by wide-area network access The first storage address and this storage resource storage description information.
As shown in figure 3, when task initiating equipment 310 wishes the type information distribution apparatus 330 of control information distribution apparatus 320 Picasa catalogues under file A when, S101, first server the step of the method for the remote resource according to Fig. 1 350 receive the remote operation instruction 311 for carrying out task initiating equipment 310.Then according to step S102, issued according to capability resource and believed Breath and storage resource release news, and obtain at least one execution route for performing remote operation instruction, and every execution route In the atomic action that includes.
Fig. 4 is depicted in the illustrative case shown in Fig. 3, is released news to be issued with storage resource according to capability resource and believed Breath, the schematic diagram of the execution route of the execution remote operation instruction of acquisition.When the capability resource hair stored in first server 350 Cloth Information Indication information distribution apparatus 320 and information distributing apparatus 330 all include providing the net for having and being connectable to wide area network Network concatenation ability offer device, and the storage resource stored in first server 350 releases news configured information distribution apparatus In the case that file A under 330 Picasa catalogues is file of the storage on second server 340, as shown in figure 4, can obtain Obtain the first execution route 410 and the second execution route 420.Include the first atomic action 411 and second in the first execution route 410 Atomic action 412.Information distributing apparatus 320 are by its network-connectivity offer device from the in the first atomic action 411 The downloading files A of two server 340.The printing downloaded file of information distributing apparatus 320 A in the second atomic action 412. Second execution route 420 includes the atomic action 423 of the 3rd atomic action 421 to the 5th.In the 3rd atomic action 421, information Distribution apparatus 330 are by its network-connectivity offer device from the downloading files A of second server 340.It is dynamic in the 4th atom Make in 422, file A is sent to information distributing apparatus by information distributing apparatus 330 by its network-connectivity offer device 320.In the 5th atomic action 423, information distributing apparatus 320 print received file A.
Then according to step S103, the first weight score of the first to the 5th atomic action is obtained, wherein first weights The executory cost divided required for indicating the atomic action.An example of the invention, can release news according to capability resource In the atomic action of ability description information acquisition first to the 5th the first weight score.For example, ability description information may include Network connection bandwidth, disposal ability, whether be the ability parameters such as portable electric appts, can be set for each ability parameter plus Weight coefficient, so as to obtain the first weight score of each atomic action according to weight coefficient and ability parameter.For example when the first clothes The capability resource stored in business device 350 releases news and indicates the network-connectivity in information distributing apparatus 320 to provide dress When the connection bandwidth put is less than the connection bandwidth of the network-connectivity offer device in information distributing apparatus 330, first First weight score of atomic action 411 is high than the first weight score of the 3rd atomic action 421, to indicate the first atom to move Executory cost required for making 411(For example, performing time cost)Than the executory cost required for the 3rd atomic action 421 (For example, performing time cost)It is high.
Then, according to step S104, the first weight score according to each atomic action calculates every the of execution route Two weight scores, wherein the executory cost required for the second weight score indicates the execution route.And according to step S105, root According to the second weight score, the minimum execution route of executory cost is defined as target execution route.It is assumed that the first to the 5th atom First weight score of action is identical.In the case, the second weight score of the first execution route 410 is than the second execution route 420 the second weight score is low, to indicate the executory cost required for the first execution route 410 than the institute of the second execution route 420 The executory cost of needs is low.First execution route 410 can be defined as by target execution route according to step S105.
The first atomic action and the energy of the second atomic action that the first execution route 410 can be included according to step S106 Power offer device is defined as target capability offer device.Finally, according to step S107, to identified target in step s 106 The action executing that ability offer device sends for performing corresponding atomic action is instructed.It is shown according to Fig. 1 in figure 3 Remote resource method carry out remote resource control example in, using only an end as information distributing apparatus End equipment can complete the remote control commands similar with the situation shown in Fig. 2, so that when multiple equipment is cooperated Centered on an operation equipment, and the executory cost of control instruction need not be saved.
Fig. 5 depicts the flow chart of the method 500 of remote resource according to another embodiment of the present invention.Long-range control The method 500 of resource processed can be applied to above-mentioned task initiating equipment.As shown in figure 5, in step S501, being logged in via wide area network First server.In step S502, receive capability resource of the storage in first server from first server and release news Released news with storage resource, wherein each capability resource releases news including the ability offer device for providing this capability resource , can be by the first operation address of wide-area network access and the ability description information of this capability resource, and each is deposited Storage resource release news it is including this storage resource, can be stored by the first storage address of wide-area network access and this The storage description information of resource.First server in this implementation is similar with above-mentioned first server.Below Fig. 1 has been combined to The capability resource of one server and storage in first server releases news to be released news with storage resource and has carried out in detail Description, therefore will not be repeated here.Then, in step S503, show that received capability resource releases news and storage resource Release news.
An example of the invention, in step S501, can log in first and take by ID via wide area network Business device.Also, in step S502, from first server reception storage being matched with ID in first server Capability resource releases news and is released news with storage resource.That is, task initiating equipment can only receive with transmitted by oneself ID matching capability resource and storage resource so that, improve the security of the method for remote resource.
Additionally, an example of the invention, in step S503, the ability having as task initiating equipment is provided Source(For example, as the device being included in task initiating equipment)Capability resource to show with received releases news corresponding Capability resource, and similarly, as the storage resource that task initiating equipment has(For example, being initiated in task as storage Data in equipment)Storage resource to show with received releases news corresponding storage resource.Alternatively, also can by from The capability resource that first server the is received corresponding capability resource that releases news is shown as being different from task initiating equipment and is had Capability resource remote capability resource, and similarly, it is right that the storage resource that received from first server can release news The storage resource answered is shown as being different from the remote storage resource of the capability resource that task initiating equipment has.
In step S504, the operational order from user is received.Then, in step S505, it is determined that in step S504 Middle reception, the operational order from user whether be remote operation instruction, i.e. in step S505, it is determined that in step S504 Middle reception, whether the operational order from user can be by task initiating equipment locally completing, without using passing through net Other electronic equipments that network is connected to.
When operational order is remote operation instruction, in step S506 sending the remote operation to first server refers to Order.Wherein first server releases news to release news to obtain with storage resource according to capability resource and performs remote operation instruction The atomic action that target execution route and the target execution route include, the atom that performance objective execution route is included The ability offer device of action is defined as target capability offer device, and is sent for performing phase to target capability offer device The action executing instruction of the atomic action answered, atomic action refers to being performed by an ability offer device, will not be employed journey The operation that sequence scheduling mechanism is interrupted.Atomic action can be used as an entirety.An example of the invention, can be to dynamic to atom The called side that work is called(In the present embodiment, for example, first server)Feed back the success or failure of atomic action.With On detail the operation that first server is carried out according to remote operation instruction with reference to Fig. 1, therefore will not be described in detail herein.
According to the method for the remote resource of the present embodiment, task initiating equipment receives advance from first server Storage capacity resource of the storage in first server releases news and is released news with storage resource, so that user would know that connection Capability resource and storage money in the information distributing apparatus of server and/or the terminal device being connected with information distributing apparatus Source, remote control operation is carried out in order to user.
Additionally, in the present embodiment, be sent to for remote operation instruction and prestore capability resource hair by task initiating equipment The server that cloth information and storage resource release news, releases news and stores due to prestoring capability resource in the server Resource releases news, so server has the resource overall picture of connected all devices and the external device (ED) of the equipment, from And, server can be asked the shortest path searching that the remote operation instruction from task initiating equipment is converted to weights network Topic, realizes the events dispatcher under efficient distributed environment.So as to need not be currently grasping when multiple equipment is cooperated Centered on the equipment of work, the use power consumption of equipment is reduced, and improve the use time of mobile device.
Additionally, another example of the invention, when the finally needs that remote operation instruction is download file etc are in office When business initiating equipment obtains the instruction of implementing result, the method shown in Fig. 5 may additionally include target execution route and perform completion Afterwards, implementing result is received.For example, after the completion of the execution of target execution route, task initiating equipment can be from execution route be completed The ability offer device of last atomic action receives implementing result.Alternatively, after the completion of the execution of target execution route, Via first server can be sent to implementing result by the ability offer device for completing last atomic action in execution route Task initiating equipment.
Additionally, another example of the invention, the method described in Fig. 5 may also include from first server and receive target The executive process of the atomic action that the atomic action and target execution route that execution route includes include.So that using appoint The be engaged in user of initiating equipment understand that the executive mode of remote operation instruction, and remote operation instruction implementation progress.
Additionally, another example of the invention, in some cases, user may want to Iterim Change task and initiate to set The long-range execute instruction sent before standby, now, the method shown in Fig. 5 may also include:Cancellation input according to user, in mesh Determine the first atomic action in the atomic action that mark execution route includes;Generation indicates cancel the first atomic action first to move Make to cancel instruction;The first action being sent to first server and cancelling instruction, wherein first server can be cancelled according to the first action Instruction determines the first atomic action in the atomic action that target execution route includes, and in target capability offer device It is determined that the first ability offer device for performing the first atomic action, and send the second action to the first ability offer device Cancel instruction, wherein the first ability offer device cancels the first atomic action according to the second action cancellation instruction.
Below, reference picture 6 illustrates the server of one embodiment of the present of invention.Fig. 6 is to show according to embodiments of the present invention Server 600 exemplary block diagram.As shown in Figure 6, the server 600 of the present embodiment includes memory cell 610, connects Receive unit 620, resolution unit 630, the first weighted units 640, the second weighted units 650, path selection unit 660, device true Order unit 670 and transmitting element 680.The unit of server 600 performs the method for the remote resource in above-mentioned Fig. 1 Each step/function, therefore, it is succinct in order to describe, no longer specifically describe.
For example, memory cell 610 can store the capability resource received from least one information distributing apparatus by wide area network Release news and released news with storage resource, wherein each capability resource releases news including the ability for providing this capability resource Offer device, can be by the first operation address of wide-area network access and the ability description information of this capability resource, often Storage resource release news it is including this storage resource, can by the first storage address of wide-area network access and this The storage description information of storage resource.
Receiving unit 620 can receive the remote operation instruction for carrying out task initiating equipment.Task initiating equipment can be above-mentioned Such as smart phone, personal computer, personal digital assistant, portable computer, tablet computer, portable multimedia broadcasting Put the information distributing apparatus or terminal device of device, intelligent television etc.
Resolution unit 630 can release news according to capability resource and be released news with storage resource, obtain and perform remote operation At least one execution route of instruction, and the atomic action included in every execution route, wherein atomic action refers to by one It is that individual ability offer device is performed, the operation that program scheduler mechanism is interrupted will not be employed.Atomic action can be used as an entirety. An example of the invention, can be to the called side being called to atomic action(In the present embodiment, for example, the first clothes Business device)Feed back the success or failure of atomic action.Specifically, as described above, each described capability resource releases news and can wrap The ability description information of this capability resource is included, and each described storage resource releases news and may include this storage resource Storage description information.Resolution unit 630 can be determined to long-range for performing according to ability description information and storage description information Storage resource required for the capability resource offer device and/or remote operation instruction of operational order, and and then obtain execution far At least one execution route of journey operational order.
Additionally, an example of the invention, capability resource be the interior arrangement that is had by information distributing apparatus and/ Or the peripheral unit offer of information distributing apparatus is provided in the first autonomous environment as belonging in information distributing apparatus.In letter In the case that breath distribution apparatus directly can be connected by wide area network with first server, during aforementioned capabilities resource releases news The first operation address may include the first device identification of information distributing apparatus and the interior arrangement of this capability resource be provided And/or device identification of the peripheral unit in the first autonomous environment.Additionally, as described above, the first device identification may include user The second device identification in the first autonomous environment of mark, the mark and distribution apparatus of the first autonomous environment belonging to it.And And first device identification may conform to the wan protocol of such as http protocol and/or XMPP etc.For example, in ID It is User_ID, the first autonomous environment is designated LenovoDomain, in the first autonomous environment of the distribution apparatus belonging to it In the case that second device identification is PublisherID, information distributing apparatus can be with according to the first device identification of http protocol It is " http://LenovoDomain/User_ID/ { PublisherID }/", and information distributing apparatus are according to the of XMPP One device identification can be " User_ID@LenovoDomain/ { PublisherID }/".Additionally, in the first autonomous environment Device identification is Container_ID.Energy can be generated according to the wan protocol of such as http protocol and/or XMPP etc Enough by the first operation address of wide-area network access.For example, can be according to the first operation address that http protocol is generated “http://LenovoDomain/User_ID/ { PublisherID }/container/ { Container_ID }/", and according to XMPP generation the first operation address can be " User_ID@LenovoDomain/ { PublisherID }/ container/{Container_ID}/”.Although the first operation address generated according to http protocol is given birth to according to XMPP Into the first operation address form it is different, but the first operation address generated according to http protocol is given birth to according to XMPP Into the first operation address it is corresponding, and according to http protocol generate the first operation address can be given birth to according to http protocol Into the first operation address mutually change.
Additionally, storage resource may include local data, storage of the storage in information distributing apparatus in information distributing apparatus Relational database in data entry information, information distributing apparatus produce data flow, and/or storage can sent out with information Remote data in the second server that cloth equipment is connected.First storage address includes the first equipment mark of information distributing apparatus Know and storage resource is identified relative to the storage of the storage location of information distributing apparatus.Additionally, one of the invention is shown Example, storage resource may include with all or part of content in beginning a project.For example, being the feelings of smart mobile phone in information distributing apparatus Under condition, storing the data entry information in the relational database of information distributing apparatus may include storage in the logical of the smart mobile phone Contacts entries in news record database.Again for example, can be information distributing apparatus in the data flow that information distributing apparatus are produced Camera produce preview and video acquisition data, the alignment sensor of information distributing apparatus(Such as global positioning system (GPS)Module)The real-time voice of the sound pick-up outfit collection of the real time positioning data, and/or information distributing apparatus of generation records note Record etc..Again for example, remote data of the storage in the second server that can be connected with information distributing apparatus can be stored Such as data in the wide area network server of Dropbox server etc.
For example, one storage resource of storage, storage device or be connected with information distributing apparatus in information distributing apparatus , storage is expressed as the second server of storage device, indicate storage resource relative to information distributing apparatus storage The storage of position is designated Storage_Loc, i.e. storage logic of the storage resource relative to information distributing apparatus.With the first behaviour Make address to be similar to, can be generated according to the wan protocol of such as http protocol and/or XMPP etc can be by wide area network The first storage address for accessing.For example, can be " http according to the first storage address that http protocol is generated:// LenovoDomain:User_ID/ { PublisherID }/storage/ { Storage_Loc }/", and generated according to XMPP The first storage address can be " User_ID@LenovoDomain/ { PublisherID }/storage/ { Storage_ Loc}/”.Although according to the lattice of http protocol the first storage address for generating and the first storage address generated according to XMPP Formula is different, but relative with the first storage address generated according to XMPP according to the first storage address that http protocol is generated Should, and can be mutual with the first storage address generated according to http protocol according to the first storage address that http protocol is generated Conversion.
An example of the invention, the method shown in Fig. 1 may also include reception task hair before step S102 The ID that the equipment of rising sends, in step s 102, first server can be according to the capability resource matched with the ID Release news and released news with storage resource, obtain at least one execution route for performing remote operation instruction, and every is held The atomic action included in walking along the street footpath.That is, user can only use the capability resource that is matched with the ID of oneself and Storage resource, so that, improve the security of the method for remote resource.
Specifically, connect from least one information distributing apparatus by wide area network as described above, being stored in first server The capability resource of receipts releases news in being released news with storage resource and may include ID.Receiving unit 620 can also be received appoints The ID that business initiating equipment sends.For example, receiving unit 620 is received from the simultaneous remote operation of task initiating equipment Instruction and ID.Resolution unit 630 can release news the use for being released news with storage resource and being included according to capability resource Family identifies, in capability resource releases news and is released news with storage resource, the capability resource hair that acquisition is matched with ID Cloth information and storage resource release news, and then, are released news according to the capability resource matched with ID and storage resource Release news at least one execution route for obtaining and performing remote operation instruction, and the atom included in every execution route is dynamic Make.
First weighted units 640 can obtain the first weight score of each atomic action, wherein the first weight score is indicated Executory cost required for the atomic action.An example of the invention, the executory cost required for atomic action can be wrapped Include ability offer device and perform the time cost that is spent of atomic action and/or power consumption cost etc..Additionally, of the invention another One example, the first weighted units 640 can be released news according to capability resource in ability description information, obtain each atomic action The first weight score.For example, resource name and offer of the ability description information at least including this capacity of equipment resource should The attribute description of the equipment of item capacity of equipment resource.Attribute description may include the disposal ability of ability offer device, network connection Bandwidth, whether belong to portable set etc..Additionally, another example of the invention, the first weighted units 640 may also include root Storage description information in being released news according to storage resource, obtains the first weight score of each atomic action.For example, storage money When the characterising parameter in source includes mode of operation, resource type, file name, issuing time and the renewal of this storage resource Between in one or more.Additionally, alternatively, also the weight score of identical first can be assigned for each atomic action.
Then, the second weighted units 650 can calculate every execution route according to the first weight score of each atomic action The second weight score, wherein the executory cost required for the second weight score indicates the execution route.Of the invention one Individual example, similar with the executory cost required for atomic action, the executory cost required for execution route may include to have the ability Offer device performs that execution route spent total time cost and/or total power consumption cost etc..
The minimum execution route of executory cost can be defined as target by path selection unit 660 according to the second weight score Execution route.And the ability offer device of the atomic action that device determining unit 670 includes performance objective execution route It is defined as target capability offer device.Finally, transmitting element 680 is provided to target capability determined by device determining unit 670 The action executing that device sends for performing corresponding atomic action is instructed.
In the present embodiment, released news and storage resource issue letter by prestoring capability resource in the server Breath so that server has the resource overall picture of connected all devices and the external device (ED) of the equipment, so that, server energy Enough shortest path searching problems that the remote operation instruction from task initiating equipment is converted to weights network, realize efficient Events dispatcher under distributed environment.So as in need not being with the equipment of current operation when multiple equipment is cooperated The heart, reduces the use power consumption of equipment, and improves the use time of mobile device.Additionally, being implemented by the invention described above The scheme that example is provided, immediately under complex network environment, also can efficiently perform the task initiating equipment in large-scale equipment distribution Being initiated for task.
Additionally, another example of the invention, transmitting element 680 can also be to task initiating equipment transmission target execution road The atomic action that footpath includes so that the executive mode of remote operation instruction is understand that using the user of task initiating equipment. Additionally, receiving unit 620 can also receive the execution of the atomic action that target execution route includes from target capability offer device Process, and transmitting element 680 can also send the execution of the atomic action that target execution route includes to task initiating equipment Process so that the user using task initiating equipment can further know the implementation progress of remote operation instruction.
Additionally, another example of the invention, in some cases, user may want to Iterim Change task and initiate to set The long-range execute instruction sent before standby, now, receiving unit 620 can also receive the first action cancellation and refer to from task initiating equipment Order.It is true in the atomic action that target execution route includes that path selection unit 660 can also cancel instruction according to the first action Fixed first atomic action.And device determining unit 670 can also determine former for performing first in target capability offer device The first ability offer device of son action.Transmitting element 680 can also send the second action cancellation and refer to the first ability offer device Order, wherein the first ability offer device cancel instruction and cancel the first atomic action according to the second action.
Additionally, another example of the invention, when the finally needs that remote operation instruction is download file etc are in office When business initiating equipment obtains the instruction of implementing result, receiving unit 620 can also be after the completion of the execution of target execution route, from completion The ability offer device of last atomic action receives implementing result in execution route, and transmitting element 680 can be to task Initiating equipment sends implementing result.Specifically, after the completion of the execution of target execution route, receiving unit 620 can be from comprising completion The ability offer device of last atomic action or the information issue being connected with the ability offer device in execution route Equipment receives implementing result.
Below, reference picture 7 illustrates the task initiating equipment of one embodiment of the present of invention.Fig. 7 is shown according to the present invention The exemplary block diagram of the task initiating equipment 700 of embodiment.As shown in Figure 7, the task initiating equipment 700 of the present embodiment Including logging in control unit 710, receiving unit 720, display unit 730, input block 740, instruction-determining unit 750 and sending Unit 760.Each step of the method for the remote resource in above-mentioned Fig. 5 of unit execution of task initiating equipment 700/ Function, therefore, it is succinct in order to describe, no longer specifically describe.
For example, logging in control unit 710 can log in first server via wide area network.Receiving unit 720 is from first service Capability resource of the device reception storage in first server releases news and is released news with storage resource, wherein each capability resource Release news including provide this capability resource it is ability offer device, can be by the first operation address of wide-area network access And the ability description information of this capability resource, and each storage resource releases news including this storage resource, energy Enough by first storage address and the storage description information of this storage resource of wide-area network access.The first clothes in this implementation Business device is similar with above-mentioned first server.Below energy of the Fig. 1 to first server and storage in first server has been combined Power resource releases news to be released news with storage resource and has been described in detail, therefore will not be repeated here.Then, display unit The received capability resource of 730 displays releases news and is released news with storage resource.
An example of the invention, logging in control unit 710 can log in first by ID via wide area network Server.Also, receiving unit 720 can receive storage being matched with ID in first server from first server Capability resource release news and released news with storage resource.That is, task initiating equipment can only be received being sent out with oneself The capability resource and storage resource of the ID matching sent, so that, improve the security of the method for remote resource.
Additionally, an example of the invention, the capability resource that display unit 730 has as task initiating equipment (For example, as the device being included in task initiating equipment)Capability resource to show with received releases news corresponding energy Power resource, and similarly, as the storage resource that task initiating equipment has(For example, initiating to set in task as storage Data in standby)Storage resource to show with received releases news corresponding storage resource.Alternatively, display unit The capability resource received from the first server corresponding capability resource that releases news can be also shown as being different from task and initiated by 730 The remote capability resource of the capability resource that equipment has, and similarly, the storage resource that will can be received from first server The corresponding storage resource that releases news is shown as being different from the remote storage resource of the capability resource that task initiating equipment has.
For example, it can be released news corresponding ability with the capability resource of information distributing apparatus that capability resource releases news The mark and/or description information of resource.Similarly, it can be storage resource with information distributing apparatus that storage resource releases news The mark and/or description information of the corresponding storage resource that releases news.
Input block 740 can receive the operational order from user.Then, instruction-determining unit 750 determines input block 740 receive, the operational order from user whether be remote operation instruction, i.e. instruction-determining unit 750 determine input block 740 receive, whether the operational order from user can be by task initiating equipment locally completing, without using passing through net Other electronic equipments that network is connected to.
When operational order is remote operation instruction, transmitting element 760 sends the remote operation instruction to first server. Wherein first server releases news to be released news with storage resource according to capability resource and obtains the mesh of execution remote operation instruction The atomic action that mark execution route and the target execution route include, the atom that performance objective execution route includes is moved The ability offer device of work is defined as target capability offer device, and sends corresponding for performing to target capability offer device Atomic action action executing instruction, atomic action refers to being performed by ability offer device, will not be employed program The operation that scheduling mechanism is interrupted.Atomic action can be used as an entirety.An example of the invention, can be to atomic action The called side being called(In the present embodiment, for example, first server)Feed back the success or failure of atomic action.More than The operation that first server is carried out according to remote operation instruction is detailed with reference to Fig. 1, therefore be will not be described in detail herein.
In the task initiating equipment according to the present embodiment, task initiating equipment is received from first server and is stored in advance in Storage capacity resource in first server releases news and is released news with storage resource, so that user would know that connection server Information distributing apparatus and/or the terminal device that is connected with information distributing apparatus in capability resource and storage resource, so as to Remote control operation is carried out in user.
Additionally, in the present embodiment, be sent to for remote operation instruction and prestore capability resource hair by task initiating equipment The server that cloth information and storage resource release news, releases news and stores due to prestoring capability resource in the server Resource releases news, so server has the resource overall picture of connected all devices and the external device (ED) of the equipment, from And, server can be asked the shortest path searching that the remote operation instruction from task initiating equipment is converted to weights network Topic, realizes the events dispatcher under efficient distributed environment.So as to need not be currently grasping when multiple equipment is cooperated Centered on the equipment of work, the use power consumption of equipment is reduced, and improve the use time of mobile device.
Additionally, another example of the invention, when the finally needs that remote operation instruction is download file etc are in office When business initiating equipment obtains the instruction of implementing result, the method shown in Fig. 5 may additionally include target execution route and perform completion Afterwards, implementing result is received.For example, after the completion of the execution of target execution route, task initiating equipment can be from execution route be completed The ability offer device of last atomic action receives implementing result.Alternatively, after the completion of the execution of target execution route, Via first server can be sent to implementing result by the ability offer device for completing last atomic action in execution route Task initiating equipment.
Additionally, another example of the invention, receiving unit 720 can also be from first server reception target execution route The executive process of the atomic action that the atomic action and target execution route for including include.So that initiating to set using task Standby user understand that the executive mode of remote operation instruction, and remote operation instruction implementation progress.
Additionally, another example of the invention, in some cases, user may want to Iterim Change task and initiate to set The long-range execute instruction sent before standby, now, input block 720 can also be input into according to the cancellation of user, be held in the target The first atomic action is determined in the atomic action that walking along the street footpath includes.Task initiating equipment 700 may also include instruction generation unit. Instruction generation unit can be generated and indicate the first action for cancelling first atomic action to cancel instruction.Transmitting element 760 may be used also The first action being sent to first server and cancelling instruction, wherein first server can cancel instruction and be held in target according to the first action The first atomic action is determined in the atomic action that walking along the street footpath includes, and is determined for performing in target capability offer device The first ability offer device of the first atomic action, and the second action cancellation instruction is sent to the first ability offer device, its Middle the first ability offer device cancels instruction and cancels the first atomic action according to the second action.
Additionally, according to another embodiment of the present invention, task initiating equipment may include display unit, input block and transmission Unit.Specifically, display unit can show the capability resource issue letter of the information distributing apparatus that task initiating equipment is able to access that Breath and storage resource release news.For example, task initiating equipment can be received from first server storing in first server The capability resource of information distributing apparatus releases news and is released news with storage resource.Task initiating equipment and information distributing apparatus are equal Can be connected with wide area network.Alternatively, the ability money of information distributing apparatus can be prestored in task initiating equipment in advance Source releases news and is released news with storage resource.
For example, it can be released news corresponding ability with the capability resource of information distributing apparatus that capability resource releases news The mark and/or description information of resource.Similarly, it can be storage resource with information distributing apparatus that storage resource releases news The mark and/or description information of the corresponding storage resource that releases news.
Additionally, the capability resource that display unit itself can have as task initiating equipment set with information issue to show Standby capability resource releases news corresponding capability resource, and similarly, can as task initiating equipment itself have Storage resource released news corresponding storage resource with the storage resource of information distributing apparatus to show.Alternatively, show single The capability resource of the information distributing apparatus corresponding capability resource that releases news also can be shown as being different from task initiating equipment by unit The remote capability resource of the capability resource itself having, and similarly, the storage resource of information distributing apparatus can be issued The corresponding storage resource of information is shown as being different from the remote storage resource of the capability resource that task initiating equipment has itself.
Input block can receive capability resource from user, releasing news indicated for capability resource and storage Resource releases news the resource operation instruction of the target resource in indicated storage resource.Transmitting element can be to first server Send resource operation instruction.First server can prestore the energy received from least one information distributing apparatus by wide area network Power resource releases news and is released news with storage resource, and wherein each capability resource releases news including providing this capability resource It is ability offer device, can be believed by the ability description of the first operation address of wide-area network access and this capability resource Breath, each storage resource release news it is including this storage resource, can by the first storage address of wide-area network access with And the storage description information of this storage resource.Alternatively, task initiating equipment can be grasped resource is sent to first server The capability resource for sending the information distributing apparatus of its storage while instruction to first server releases news and storage resource Release news.First server can release news according to capability resource and be released news in information distributing apparatus really with storage resource Surely the target information distribution apparatus of resource operation instruction are performed.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Unit and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two.And software module can put In any form of computer-readable storage medium.In order to clearly demonstrate the interchangeability of hardware and software, in the above description The composition and step of each example have been generally described according to function.These functions are come with hardware or software mode actually Perform, depending on the application-specific and design constraint of technical scheme.Those skilled in the art can specifically should to each For realizing described function, but this realization it is not considered that beyond the scope of this invention using distinct methods.
It should be appreciated by those skilled in the art that can be dependent on design requirement and other factorses carries out various repairing to the present invention Change, combine, part is combined and replaced, as long as they are in the range of appended claims and its equivalent.

Claims (30)

1. a kind of method of remote resource, is applied to first server, wherein
Storage is issued by the capability resource that wide area network is received from least one information distributing apparatus in the first server Information and storage resource release news,
Each described capability resource release news including provide this capability resource it is ability offer device, can be by described First operation address of wide-area network access and the ability description information of this capability resource,
Each described storage resource release news it is including this storage resource, can be deposited by the first of the wide-area network access Storage address and the storage description information of this storage resource,
Methods described includes:
Receive the remote operation instruction from task initiating equipment;
Released news according to the capability resource and released news with the storage resource, obtained and perform the remote operation instruction The atomic action included at least one execution route, and every execution route, wherein the atomic action refer to by It is that one ability offer device is performed, the operation that program scheduler mechanism is interrupted will not be employed;
The first weight score of each atomic action is obtained, wherein needed for first weight score indicates the atomic action The executory cost wanted;
The first weight score according to each atomic action calculates every second weight score of the execution route, wherein Second weight score indicate the execution route required for executory cost;
According to second weight score, the minimum execution route of executory cost is defined as target execution route;
The ability offer device for performing the atomic action that the target execution route includes is defined as target capability dress is provided Put;And
The action executing sent for performing corresponding atomic action to the target capability offer device is instructed.
2. the method for claim 1, wherein first weight score for obtaining each atomic action includes:
The ability description information in being released news according to the capability resource, obtain each atomic action first adds Power score.
3. method as claimed in claim 1 or 2, wherein
The ability description information at least includes the resource name of this capability resource and provides the ability of this capability resource The attribute description of offer device.
4. method as claimed in claim 2, wherein first weight score for obtaining each atomic action also includes:
The storage description information in being released news according to the storage resource, obtain each atomic action first adds Power score.
5. the method as described in claim 1 or 4, wherein
The storage description information of the storage resource includes mode of operation, resource type, file name, the hair of this storage resource One or more in cloth time and renewal time.
6. the method for claim 1, wherein
The capability resource is the interior arrangement that is had by described information distribution apparatus and/or by described information distribution apparatus The peripheral unit offer of described information distribution apparatus is provided in the autonomous environment of affiliated first, wherein
First operation address includes the first device identification of described information distribution apparatus and provides this capability resource The device identification of the interior arrangement and/or the peripheral unit in the described first autonomous environment;
The storage resource includes local data, storage of the storage in described information distribution apparatus in described information distribution apparatus Relational database in data entry information, the data flow that produces of described information distribution apparatus, and/or storage can be with institute The remote data in the second server that information distributing apparatus are connected is stated,
First storage address includes first device identification of described information distribution apparatus and the storage resource phase Storage for the storage location of described information distribution apparatus is identified;
First device identification includes ID, the mark of the described first autonomous environment and described information distribution apparatus The second device identification in the first autonomous environment belonging to it.
7. method as claimed in claim 6, also includes:
Receive the ID that the task initiating equipment sends;
Described being released news according to the capability resource releases news with the storage resource, obtains the execution remote operation and refers to At least one execution route of order, and the atomic action included in every execution route includes:
In the capability resource releases news and is released news with the storage resource, the energy that acquisition is matched with the ID Power resource releases news and is released news with storage resource;And
Capability resource according to being matched with the ID release news with storage resource release news acquisition perform it is described remote The atomic action included at least one execution route of journey operational order, and every execution route.
8. the method for claim 1, also includes:
The atomic action that the target execution route includes is sent to the task initiating equipment;
The executive process of the atomic action that the target execution route includes is received from the target capability offer device;And
The executive process of the atomic action that the target execution route includes is sent to the task initiating equipment.
9. method as claimed in claim 8, also includes:
The first action is received from the task initiating equipment cancel instruction;
Instruction is cancelled according to the described first action and determines the first atom in the atomic action that the target execution route includes Action;
The first ability offer device for performing first atomic action is determined in the target capability offer device;With And
The second action is sent to the first ability offer device and cancel instruction, wherein the first ability offer device is according to institute State the second action cancellation instruction and cancel first atomic action.
10. the method for claim 1, also includes:
After the completion of target execution route execution, implementing result is received;And
The implementing result is sent to the task initiating equipment.
A kind of 11. methods of remote resource, are applied to task initiating equipment, and methods described includes:
First server is logged in via wide area network;
Capability resource of the storage in the first server is received from the first server to release news and storage resource hair Cloth information, wherein each described capability resource release news including provide this capability resource it is ability offer device, can By first operation address and the ability description information of this capability resource of the wide-area network access, and deposited described in each Storage resource release news it is including this storage resource, can by the first storage address of the wide-area network access and this The storage description information of storage resource,
The received capability resource of display releases news and is released news with storage resource;
Receive the operational order from user;
Determine whether the operational order is remote operation instruction;And
When the operational order is remote operation instruction, the remote operation instruction is sent to the first server,
Wherein described first server releases news to be released news with the storage resource according to the capability resource and is performed The atomic action that the target execution route of the remote operation instruction and the target execution route include, will perform the mesh The ability offer device of the atomic action that mark execution route includes is defined as target capability offer device, and to the target The action executing that ability offer device sends for performing corresponding atomic action is instructed,
The atomic action refers to being performed by the ability offer device, will not be employed program scheduler mechanism interrupts Operation.
12. methods as claimed in claim 11, wherein
It is described to include via wide area network login first server:
First server is logged in via wide area network by ID;
It is described to receive capability resource of the storage in the first server from the first server and release news and store money Source release news including:
The capability resource that with the ID matches of the storage in the first server is received from the first server Release news and released news with storage resource.
13. methods as claimed in claim 11, also include:
After the completion of target execution route execution, implementing result is received.
14. methods as claimed in claim 11, also include:
Atomic action and the target execution route that the target execution route includes are received from the first server The executive process of the atomic action for including.
15. methods as described in claim 14, also include:
Cancellation input according to user, the first atomic action is determined in the atomic action that the target execution route includes;
Generation indicates the first action for cancelling first atomic action to cancel instruction;
First action is sent to the first server cancel instruction,
Wherein described first server cancels the atom that instruction includes in the target execution route according to the described first action First atomic action is determined in action, and is determined in the target capability offer device former for performing described first The first ability offer device of son action, and the second action cancellation instruction is sent to the first ability offer device, wherein The first ability offer device cancels instruction and cancels first atomic action according to the described second action.
A kind of 16. servers, including:
Memory cell, configuration is released news storing the capability resource received from least one information distributing apparatus by wide area network Released news with storage resource, wherein each described capability resource releases news and provided including providing the ability of this capability resource Device, can be by the first operation address of the wide-area network access and the ability description information of this capability resource, often Described storage resource release news it is including this storage resource, can be by the first storage address of the wide-area network access And the storage description information of this storage resource;
Receiving unit, configures to receive the remote operation instruction from task initiating equipment;
Resolution unit, configuration releases news to be released news according to the capability resource with the storage resource, obtains and performs institute State the atomic action included at least one execution route of remote operation instruction, and every execution route, wherein institute Atomic action is stated to refer to being performed by an ability offer device, the operation that program scheduler mechanism is interrupted will not be employed;
First weighted units, configure to obtain the first weight score of each atomic action, wherein described first weights The executory cost divided required for indicating the atomic action;
Second weighted units, configure to calculate every execution route according to the first weight score of each atomic action The second weight score, wherein the executory cost required for second weight score indicates the execution route;
Path selection unit, configuration comes according to second weight score, and the minimum execution route of executory cost is defined as into mesh Mark execution route;
Device determining unit, configuration is true by the ability offer device for performing the atomic action that the target execution route includes It is set to target capability offer device;And
Transmitting element, configures to send the action executing for performing corresponding atomic action to the target capability offer device Instruction.
17. servers as claimed in claim 16, wherein
First weighted units released news according to the capability resource in the ability description information, obtain described in each First weight score of atomic action.
18. server as described in claim 16 or 17, wherein
The ability description information at least includes the resource name of this capability resource and provides the ability of this capability resource The attribute description of offer device.
19. servers as claimed in claim 17, wherein
First weighted units released news always according to the storage resource in the storage description information, obtain each institute State the first weight score of atomic action.
20. server as described in claim 16 or 19, wherein
The storage description information of the storage resource includes mode of operation, resource type, file name, the hair of this storage resource One or more in cloth time and renewal time.
21. servers as claimed in claim 16, wherein
The capability resource is the interior arrangement that is had by described information distribution apparatus and/or by described information distribution apparatus The peripheral unit offer of described information distribution apparatus is provided in the autonomous environment of affiliated first, wherein
First operation address includes the first device identification of described information distribution apparatus and provides this capability resource The device identification of the interior arrangement and/or the peripheral unit in the described first autonomous environment;
The storage resource includes local data, storage of the storage in described information distribution apparatus in described information distribution apparatus Relational database in data entry information, the data flow that produces of described information distribution apparatus, and/or storage can be with institute The remote data in the second server that information distributing apparatus are connected is stated,
First storage address includes first device identification of described information distribution apparatus and the storage resource phase Storage for the storage location of described information distribution apparatus is identified;
First device identification includes ID, the mark of the described first autonomous environment and described information distribution apparatus The second device identification in the first autonomous environment belonging to it.
22. servers as claimed in claim 21, wherein
The receiving unit is further configured to receive the ID that the task initiating equipment sends;
The resolution unit is obtained and the user in the capability resource releases news and released news with the storage resource The capability resource of mark matching releases news and is released news with storage resource, and according to the ability matched with the ID Resource releases news to be released news with storage resource and obtains at least one execution route of the execution remote operation instruction, and The atomic action included in every execution route.
23. servers as claimed in claim 16, wherein
The atom that the transmitting element is further configured to include to the task initiating equipment transmission target execution route is moved Make;
The receiving unit is further configured to receive the original that the target execution route includes from the target capability offer device The executive process of son action;And
The atom that the transmitting element is further configured to include to the task initiating equipment transmission target execution route is moved The executive process of work.
24. servers as claimed in claim 23, wherein
The receiving unit is further configured to receive the first action cancellation instruction from the task initiating equipment;
The path selection unit is further configured to cancel instructing according to the described first action include in the target execution route Atomic action in determine the first atomic action;
Described device determining unit is further configured to determine for performing first atom in the target capability offer device The first ability offer device of action;And
The transmitting element is further configured to send the second action to the first ability offer device cancels instruction, wherein described the One ability offer device cancels instruction and cancels first atomic action according to the described second action.
25. servers as claimed in claim 16, wherein
The receiving unit is further configured to after the completion of the target execution route is performed, and receives implementing result;And
The transmitting element is further configured to send the implementing result to the task initiating equipment.
A kind of 26. task initiating equipments include:
Control unit is logged in, configuration to log in first server via wide area network;
Receiving unit, configuration to receive capability resource of the storage in the first server and issue from the first server to believe Breath and storage resource release news, and wherein each described capability resource releases news and carried including providing the ability of this capability resource For device, can by the first operation address of the wide-area network access and the ability description information of this capability resource, And each described storage resource release news it is including this storage resource, can be deposited by the first of the wide-area network access Storage address and the storage description information of this storage resource;
Display unit, configuration is released news with storage resource showing that received capability resource releases news;
Input block, configures to receive the operational order from user;
Instruction-determining unit, configures to determine whether the operational order is remote operation instruction;And
Transmitting element, configuration, when the operational order is remote operation instruction, to send this to the first server long-range Operational order,
Wherein described first server releases news to be released news with the storage resource according to the capability resource and is performed The atomic action that the target execution route of the remote operation instruction and the target execution route include, will perform the mesh The ability offer device of the atomic action that mark execution route includes is defined as target capability offer device, and to the target The action executing that ability offer device sends for performing corresponding atomic action is instructed,
The atomic action refers to being performed by the ability offer device, will not be employed program scheduler mechanism interrupts Operation.
27. task initiating equipments as claimed in claim 26, wherein
The login control unit logs in first server by ID via wide area network;
The receiving unit receives ID store in the first server and described from the first server The capability resource matched somebody with somebody releases news and is released news with storage resource.
28. task initiating equipments as claimed in claim 26, wherein
The receiving unit is further configured to after the completion of the target execution route is performed, and receives implementing result.
29. task initiating equipments as claimed in claim 26, wherein
The receiving unit is further configured to receive the atomic action that the target execution route includes from the first server And the executive process of atomic action that the target execution route includes.
The 30. task initiating equipment as described in claim 29, wherein
The input block is further configured to be input into according to the cancellation of user, in the atomic action that the target execution route includes The first atomic action of middle determination;
The task initiating equipment also includes:
Instruction generation unit, configuration indicates the first action for cancelling first atomic action to cancel instruction to generate;
The transmitting element is further configured to send the first action cancellation instruction to the first server,
Wherein described first server cancels the atom that instruction includes in the target execution route according to the described first action First atomic action is determined in action, and is determined in the target capability offer device former for performing described first The first ability offer device of son action, and the second action cancellation instruction is sent to the first ability offer device, wherein The first ability offer device cancels instruction and cancels first atomic action according to the described second action.
CN201210345729.3A 2012-09-10 2012-09-17 The method of remote resource, server and task initiating equipment Active CN103685402B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210345729.3A CN103685402B (en) 2012-09-17 2012-09-17 The method of remote resource, server and task initiating equipment
US14/023,189 US9819718B2 (en) 2012-09-10 2013-09-10 Method for managing apparatus and information distributing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210345729.3A CN103685402B (en) 2012-09-17 2012-09-17 The method of remote resource, server and task initiating equipment

Publications (2)

Publication Number Publication Date
CN103685402A CN103685402A (en) 2014-03-26
CN103685402B true CN103685402B (en) 2017-06-27

Family

ID=50321702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210345729.3A Active CN103685402B (en) 2012-09-10 2012-09-17 The method of remote resource, server and task initiating equipment

Country Status (1)

Country Link
CN (1) CN103685402B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156198B (en) * 2015-04-22 2019-12-27 阿里巴巴集团控股有限公司 Task execution method and device based on distributed database
CN105183614A (en) * 2015-11-03 2015-12-23 华夏银行股份有限公司 Database failure prediction method and device
CN110780937B (en) * 2019-09-16 2023-12-08 腾讯大地通途(北京)科技有限公司 Task issuing method, device, computer readable storage medium and equipment
CN111673747B (en) * 2020-06-02 2021-12-17 中国建设银行股份有限公司 Remote testing method and device for robot agent end

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114937A (en) * 2007-08-02 2008-01-30 上海交通大学 Electric power computation gridding application system
CN101441580A (en) * 2008-12-09 2009-05-27 华北电网有限公司 Distributed paralleling calculation platform system and calculation task allocating method thereof
CN101834890A (en) * 2010-04-02 2010-09-15 浪潮(北京)电子信息产业有限公司 Intelligent management system and method of distributed system
WO2012113290A1 (en) * 2011-02-22 2012-08-30 深圳华大基因科技有限公司 Gene computing system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8442015B2 (en) * 2007-07-20 2013-05-14 Broadcom Corporation Method and system for an atomizing function of a mobile device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114937A (en) * 2007-08-02 2008-01-30 上海交通大学 Electric power computation gridding application system
CN101441580A (en) * 2008-12-09 2009-05-27 华北电网有限公司 Distributed paralleling calculation platform system and calculation task allocating method thereof
CN101834890A (en) * 2010-04-02 2010-09-15 浪潮(北京)电子信息产业有限公司 Intelligent management system and method of distributed system
WO2012113290A1 (en) * 2011-02-22 2012-08-30 深圳华大基因科技有限公司 Gene computing system and method

Also Published As

Publication number Publication date
CN103685402A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
WO2021047332A1 (en) Data analysis method and device, apparatus, and storage medium
CN105340357B (en) Electronic equipment and its method for multi radio access
CN104488254B (en) Multifunction peripheral, multifunction peripheral control system, and multifunction peripheral management method
CN103685402B (en) The method of remote resource, server and task initiating equipment
CN108287758A (en) A kind of application resource management method, application method and device
CN109684054A (en) Information processing method and device, electronic equipment and memory
CN109525624A (en) A kind of container login method, device and storage medium
CN109561171A (en) The configuration method and device of virtual private cloud service
CN109660400A (en) Flow control configuration method and system
CN109040343A (en) Domain name analytic method, device, computer readable storage medium and electronic equipment
WO2014101889A1 (en) Data synchronization method and device
CN108737534A (en) A kind of data transmission method, device, block catenary system based on block chain
CN104410660A (en) Method and device of downloading multimedia resources as well as router and server
CN107070782A (en) A kind of Interface integration method, server and the system expansible based on message queue
CN109152094A (en) Wireless network connecting method for terminal
CN110247951A (en) A kind of file transfer control method, device, equipment and storage medium
CN109996125A (en) Generate method, apparatus, electronic equipment and the storage medium of video list
CN107147945A (en) Multimedia resource play system, method and device
CN108696887A (en) The mobile device record assisted for troubleshooting
CN107665703A (en) The audio synthetic method and system and remote server of a kind of multi-user
CN109086365A (en) local file sharing method, system, device, electronic equipment and storage medium
JPWO2006054778A1 (en) COMMUNICATION SYSTEM, COMMUNICATION TERMINAL DEVICE, SERVER DEVICE, COMMUNICATION METHOD USED FOR THEM, AND PROGRAM THEREOF
CN114615096B (en) Event-driven architecture-based telecommunication charging method, system and related equipment
CN107181825A (en) The on-line processing method of terminal device data
US9819718B2 (en) Method for managing apparatus and information distributing apparatus

Legal Events

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