Summary of the invention
The embodiment of the invention provides a kind of processing method and device of outside line resource, has promoted distribution and the search efficiency of outside line resource.
The technical scheme that the embodiment of the invention adopts is:
A kind of processing method of outside line resource comprises:
Server obtains outside line resource corresponding to described task according to the scheduling rule that attribute information and the described server of task presets;
When the attribute information of described outside line resource does not satisfy the attribute information of described task, described server obtains at least one outside line resource of the filtercondition that satisfies the user terminal setting, and shows described at least one outside line resource at GIS-Geographic Information System GIS map;
Described server obtains the target outside line resource that described user terminal is selected from described at least one outside line resource, and generates information corresponding to described target outside line resource at described GIS map;
Described server is distributed to described target outside line resource with described task.
The scheduling rule that described server presets according to attribute information and the described server of task is obtained outside line resource corresponding to described task and is comprised:
The outside line resource that the attribute information of described server getattr information and described task is complementary.
Described outside line resource comprises the tool information that the information of outdoor electric lining engineering teacher FME, the information of vehicle, described FME are equipped with.
Described server is distributed to described target outside line resource with described task and is comprised:
Described server is judged at the track of described GIS map existence from described task location to described target outside line resource location;
Described server sends task allocation information to portable terminal corresponding to described target outside line resource.
Information corresponding to target outside line resource that described server generates described user terminal selecting comprises:
Described server generates the initial sum termination time information that the range information between the position corresponding with described task, position corresponding to described target outside line resource, described target outside line resource are processed described task.
A kind of processing unit of outside line resource comprises:
Acquiring unit obtains outside line resource corresponding to described task for the scheduling rule that attribute information and described server according to task preset;
Described acquiring unit, also be used for when the attribute information of described outside line resource does not satisfy the attribute information of described task, obtain at least one outside line resource of the filtercondition that satisfies described user terminal setting, and show described at least one outside line resource at GIS-Geographic Information System GIS map;
Described acquiring unit also is used for obtaining the target outside line resource that described user terminal is selected from described at least one outside line resource;
Generation unit is used for generating information corresponding to target outside line resource that described acquiring unit obtains at described GIS map;
Allocation units are used for described task is distributed to the described target outside line resource that described acquiring unit obtains.
Described acquiring unit specifically is used for the outside line resource that the attribute information of getattr information and described task is complementary.
Described outside line resource comprises the tool information that the information of outdoor electric lining engineering teacher FME, the information of vehicle, described FME are equipped with.
Described allocation units comprise:
Judge module is used for judging in the touch track of described GIS map existence from described task location to described target outside line resource location;
Sending module is used for sending task allocation information to portable terminal corresponding to described target outside line resource.
Described generation unit concrete is used for generating the initial sum termination time information that the range information between the position corresponding with described task, position corresponding to described target outside line resource, described target outside line resource are processed described task.
Processing method and the device of the outside line resource that the embodiment of the invention provides, at first server obtains outside line resource corresponding to described task according to the scheduling rule that attribute information and the described server of task presets, then when described outside line resource does not satisfy the condition of user terminal, described server obtains at least one outside line resource of the filtercondition that satisfies described user terminal setting, and shows described at least one outside line resource at GIS-Geographic Information System GIS map; Obtain again the target outside line resource that described user terminal is selected from described at least one outside line resource, and in information corresponding to the GIS-Geographic Information System GIS map described target outside line resource of generation, last described server is distributed to described target outside line resource with described task.At present server can only be after task have assigned, in GIS(Geographic Information System, GIS-Geographic Information System) show position that communication failure occurs and the position of outside line resource on the map; Can not before task is distributed, according to the filtercondition that sets in advance, show the outside line resource at the GIS map in real time, thereby cause the utilization of outside line resource and search efficiency not high.The present invention can assign the task to the outside line resource that satisfies filtercondition according to the filtercondition of user terminal before task is distributed, and when having improved the efficient of outside line resource lookup and distribution, has promoted user's experience.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtain under the creative work prerequisite.
For the advantage that makes technical solution of the present invention is clearer, below in conjunction with drawings and Examples the present invention is elaborated.
The present embodiment provides a kind of processing method of outside line resource, and as shown in Figure 1, described method comprises:
101, server obtains outside line resource corresponding to described task according to the scheduling rule that attribute information and the described server of task presets.
Wherein, the outside line resource can comprise the tool information that the information of outdoor electric lining engineering teacher FME, the information of vehicle, described FME are equipped with, described scheduling rule.The attribute information of described task can comprise that time started of task identification ID, mission requirements and concluding time, task are to grade of skill requirement, task affiliated area, task type, task belonging positions ID, the FME ID of mission requirements, the vehicle ID of mission requirements of FME.The information of FME can comprise the position, FME work at present state, the task list of FME, the task ID that FME will carry out of grade of skill, the FME of FME ID, FME.Information of vehicles can comprise the task ID that oil mass state, the position of vehicle, vehicle work at present state, the vehicle of vehicle ID, type of vehicle, vehicle will carry out.
Particularly, server can obtain outside line resource corresponding to task according to the scheduling rule that presets, such as can being task distribution outside line resource according to scheduling rules such as Region Matching rule (the affiliated area field of task is identical with the affiliated area field of FME), technical ability matched rules (grade of skill of mission requirements is identical with the grade of skill of FME).
102, when the attribute information of described outside line resource does not satisfy the attribute information of discontented sufficient task, described server obtains at least one outside line resource of the filtercondition that satisfies described user terminal setting, and shows described at least one outside line resource at GIS-Geographic Information System GIS map.
Wherein, described filtercondition can be set according to the current operating state of FME, the position range at user terminal needs FME place, the conditions such as initial sum termination time of task needs, thereby so that server is when obtaining the outside line resource of finishing the work required, the demand of properer user terminal, simultaneously so that the outside line resource that gets access to more accurately and reliably.
103, described server obtains the target outside line resource that described user terminal is selected from described at least one outside line resource, and generates information corresponding to described target outside line resource at the GIS map.
Wherein, information corresponding to described target outside line resource can comprise that the distance between the position corresponding with described task, position corresponding to target outside line resource, described target outside line resource process the initial sum termination time of described task etc., thereby can be so that user terminal gets access to the specifying information of processing described task more intuitively.
104, described server is distributed to described target outside line resource with described task.
The method that the present embodiment provides, server can be before task be distributed according to the filtercondition of user terminal, assign the task to the outside line resource that satisfies the user terminal filtercondition, when having improved the efficient of outside line resource lookup and distribution, promoted user's experience.
The present embodiment provides a kind of processing unit of outside line resource, and as shown in Figure 2, described device comprises: acquiring unit 21, generation unit 22, allocation units 23.
Acquiring unit 21, the scheduling rule that can preset for attribute information and the described server according to task is obtained outside line resource corresponding to described task.
Wherein, the outside line resource can comprise the tool information that the information of outdoor electric lining engineering teacher FME, the information of vehicle, described FME are equipped with, described scheduling rule.The attribute information of described task can comprise that time started of task identification ID, mission requirements and concluding time, task are to grade of skill requirement, task affiliated area, task type, task belonging positions ID, the FME ID of mission requirements, the vehicle ID of mission requirements of FME.The information of FME can comprise the position, FME work at present state, the task list of FME, the task ID that FME will carry out of grade of skill, the FME of FME ID, FME.Information of vehicles can comprise the task ID that oil mass state, the position of vehicle, vehicle work at present state, the vehicle of vehicle ID, type of vehicle, vehicle will carry out.
Particularly, acquiring unit 21 can obtain outside line resource corresponding to task according to the scheduling rule that presets, such as can being task distribution outside line resource according to scheduling rules such as Region Matching rule (the affiliated area field of task is identical with the affiliated area field of FME), technical ability matched rules (grade of skill of mission requirements is identical with the grade of skill of FME).
Acquiring unit 21, can also be used for when the attribute information of described outside line resource does not satisfy the attribute information of described task, obtain at least one outside line resource of the filtercondition that satisfies described user terminal setting, and show described at least one outside line resource at GIS-Geographic Information System GIS map.
Wherein, described filtercondition can be set according to the current operating state of FME, the position range at user terminal needs FME place, the conditions such as initial sum termination time of task needs, thereby so that acquiring unit 21 is when obtaining the outside line resource of finishing the work required, the demand of properer user terminal, simultaneously so that the outside line resource that gets access to more accurately and reliably.
Acquiring unit 21 can also be used for obtaining the target outside line resource that described user terminal is selected from described at least one outside line resource.
Generation unit 22 can be used for generating information corresponding to described target outside line resource that described acquiring unit 21 obtains at the GIS map.
Wherein, information corresponding to described target outside line resource can comprise that the distance between the position corresponding with described task, position corresponding to target outside line resource, described target outside line resource process the initial sum termination time of described task etc., thereby can be so that user terminal gets access to the specifying information of processing described task more intuitively.
Allocation units 23 can be used for described task is distributed to the target outside line resource that described acquiring unit 21 obtains.
The entity of the device that the present embodiment provides can be a kind of server, as shown in Figure 3, described server comprises: central processing unit 31, input equipment 32, output equipment 33, memory 34, described input equipment 32, output equipment 33, memory 34 are connected with described central processing unit 31 respectively.
Described central processing unit 31 comprises: acquiring unit 3101, generation unit 3102, allocation units 3103.
Acquiring unit 3101, the scheduling rule that can preset for attribute information and the described server according to task is obtained outside line resource corresponding to described task.
Wherein, the outside line resource can comprise the tool information that the information of outdoor electric lining engineering teacher FME, the information of vehicle, described FME are equipped with, described scheduling rule.The attribute information of described task can comprise that time started of task identification ID, mission requirements and concluding time, task are to grade of skill requirement, task affiliated area, task type, task belonging positions ID, the FME ID of mission requirements, the vehicle ID of mission requirements of FME.The information of FME can comprise the position, FME work at present state, the task list of FME, the task ID that FME will carry out of grade of skill, the FME of FME ID, FME.Information of vehicles can comprise the task ID that oil mass state, the position of vehicle, vehicle work at present state, the vehicle of vehicle ID, type of vehicle, vehicle will carry out.
Particularly, acquiring unit 3101 can obtain outside line resource corresponding to task according to the scheduling rule that presets, such as can being task distribution outside line resource according to scheduling rules such as Region Matching rule (the affiliated area field of task is identical with the affiliated area field of FME), technical ability matched rules (grade of skill of mission requirements is identical with the grade of skill of FME).
Acquiring unit 3101, can also be used for when the attribute information of described outside line resource does not satisfy the attribute information of described task, obtain at least one outside line resource of the filtercondition that satisfies described user terminal setting, and show described at least one outside line resource at GIS-Geographic Information System GIS map.
Wherein, described filtercondition can be set according to the current operating state of FME, the position range at user terminal needs FME place, the conditions such as initial sum termination time of task needs, thereby so that acquiring unit 21 is when obtaining the outside line resource of finishing the work required, the demand of properer user terminal, simultaneously so that the outside line resource that gets access to more accurately and reliably.
Acquiring unit 3101 can also be used for obtaining the target outside line resource that described user terminal is selected from described at least one outside line resource.
Generation unit 3102 can be used for generating information corresponding to described target outside line resource that described acquiring unit 3101 obtains at the GIS map.
Wherein, information corresponding to described target outside line resource can comprise that the distance between the position corresponding with described task, position corresponding to target outside line resource, described target outside line resource process the initial sum termination time of described task etc., thereby can be so that user terminal gets access to the specifying information of processing described task more intuitively.
Allocation units 3103 can be used for described task is distributed to the target outside line resource that described acquiring unit 3101 obtains.
The device that the present embodiment provides can assign the task to the outside line resource that satisfies filtercondition according to the filtercondition of user terminal before task is distributed, and when having improved the efficient of outside line resource lookup and distribution, has promoted user's experience.
The present embodiment provides the processing method of another kind of outside line resource, and as shown in Figure 4, described method comprises:
401, server obtains outside line resource corresponding to described task according to the scheduling rule that attribute information and the described server of task presets.
Wherein, the outside line resource can comprise the tool information that the information of outdoor electric lining engineering teacher FME, the information of vehicle, described FME are equipped with, described scheduling rule.The attribute information of described task can comprise that time started of task identification ID, mission requirements and concluding time, task are to grade of skill requirement, task affiliated area, task type, task belonging positions ID, the FME ID of mission requirements, the vehicle ID of mission requirements of FME.The information of FME can comprise the position, FME work at present state, the task list of FME, the task ID that FME will carry out of grade of skill, the FME of FME ID, FME.Information of vehicles can comprise the task ID that oil mass state, the position of vehicle, vehicle work at present state, the vehicle of vehicle ID, type of vehicle, vehicle will carry out.
Particularly, the outside line resource that the attribute information of server getattr information and described task is complementary is such as can being task distribution outside line resource according to scheduling rules such as Region Matching rule (the affiliated area field of task is identical with the affiliated area field of FME), technical ability matched rules (grade of skill of mission requirements is identical with the grade of skill of FME).
402, when the attribute information of described outside line resource does not satisfy the attribute information of described task, described server obtains at least one outside line resource of the filtercondition that satisfies described user terminal setting, and shows described at least one outside line resource at GIS-Geographic Information System GIS map.
Wherein, described filtercondition can be set according to the current operating state of FME, the position range at user terminal needs FME place, the conditions such as initial sum termination time of task needs, thereby so that server is when obtaining the outside line resource of finishing the work required, the demand of properer user terminal, simultaneously so that the outside line resource that gets access to more accurately and reliably.
403, described server obtains the target outside line resource that described user terminal is selected from described at least one outside line resource, and generates information corresponding to described target outside line resource at the GIS map.
Wherein, information corresponding to described target outside line resource can comprise that the distance between the position corresponding with described task, position corresponding to target outside line resource, described target outside line resource process the initial sum termination time of described task etc., thereby can be so that user terminal gets access to the specifying information of processing described task more intuitively.
404, described server is judged at the track of described GIS map existence from described task location to described target outside line resource location.
Wherein, user terminal can form described task location to the track of described target outside line resource location by modes such as mouse drag, touches, divides timing simple to operate thereby embodied the present invention carrying out task.
405, described server sends task allocation information to portable terminal corresponding to described target outside line resource.
The method that the present embodiment provides, server can be before task be distributed according to the filtercondition of user terminal, assign the task to the outside line resource that satisfies the user terminal filtercondition, when having improved the efficient of outside line resource lookup and distribution, promoted user's experience.
The present embodiment provides the processing unit of another kind of outside line resource, and as shown in Figure 5, described device comprises: acquiring unit 51, generation unit 52, allocation units 53.
Acquiring unit 51, the scheduling rule that can preset for attribute information and the described server according to task is obtained outside line resource corresponding to described task.
Acquiring unit 51, the outside line resource that specifically can be complementary for the attribute information of getattr information and described task.
Acquiring unit 51, can also be used for when the attribute information of described outside line resource does not satisfy the attribute information of described task, obtain at least one outside line resource of the filtercondition that satisfies described user terminal setting, and show described at least one outside line resource at GIS-Geographic Information System GIS map.
Acquiring unit 51 can also be used for obtaining the target outside line resource that described user terminal is selected from described at least one outside line resource.
Generation unit 52 can be used for generating information corresponding to target outside line resource that described acquiring unit 51 obtains at the GIS map.
Generation unit 52 specifically can be used for generating the initial sum termination time information that the range information between the position corresponding with described task, position corresponding to described target outside line resource, described target outside line resource are processed described task.
Allocation units 53 can be used for described task is distributed to the target outside line resource that described acquiring unit 51 obtains.
Described allocation units 53 specifically can comprise: judge module 5301, sending module 5302.
Judge module 5301 can be used for judging in the touch track of described GIS map existence from described task location to described target outside line resource location.
Sending module 5302 can be used for sending task allocation information to portable terminal corresponding to described target outside line resource.
The entity of the device that the present embodiment provides can be another kind of server, as shown in Figure 6, described server comprises: central processing unit 61, input equipment 62, output equipment 63, memory 64, described input equipment 62, output equipment 63, memory 64 are connected with described central processing unit 61 respectively.
Described central processing unit 61 comprises: acquiring unit 6101, generation unit 6102, allocation units 6103.
Acquiring unit 6101, the scheduling rule that can preset for attribute information and the described server according to task is obtained outside line resource corresponding to described task.
Acquiring unit 6101, the outside line resource that specifically can be complementary for the attribute information of getattr information and described task.
Acquiring unit 6101, can also be used for when the attribute information of described outside line resource does not satisfy the attribute information of described task, obtain at least one outside line resource of the filtercondition that satisfies described user terminal setting, and show described at least one outside line resource at GIS-Geographic Information System GIS map.
Acquiring unit 6101 can also be used for obtaining the target outside line resource that described user terminal is selected from described at least one outside line resource.
Generation unit 6102 can be used for generating information corresponding to target outside line resource that described acquiring unit 51 obtains at the GIS map.
Generation unit 6102 specifically can be used for generating the initial sum termination time information that the range information between the position corresponding with described task, position corresponding to described target outside line resource, described target outside line resource are processed described task.
Allocation units 6103 can be used for described task is distributed to the target outside line resource that described acquiring unit 51 obtains.
Described allocation units 6103 specifically can comprise: judge module 610301, sending module 610302.
Judge module 610301 can be used for judging in the touch track of described GIS map existence from described task location to described target outside line resource location.
Sending module 610302 can be used for sending task allocation information to portable terminal corresponding to described target outside line resource.
The another kind of device that the present embodiment provides can assign the task to the outside line resource that satisfies filtercondition according to the filtercondition of user terminal before task is distributed, and when having improved the efficient of outside line resource lookup and distribution, has promoted user's experience.
The above-mentioned embodiment of the method that provides can be provided the processing unit of the outside line resource that the embodiment of the invention provides, and concrete function realizes seeing also the explanation in the embodiment of the method, does not repeat them here.Processing method and the device of the outside line resource that the embodiment of the invention provides go for field of wireless communications, but are not limited only to this.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process such as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memorr, RAM) etc.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.