The content of the invention
In view of the above-mentioned drawbacks of the prior art, the invention provides a kind of machinery farmer method based on farmland situation
And system, to facilitate traveling and operation of the agricultural machinery in farmland region.
Technical scheme discloses a kind of machinery farmer method based on farmland situation, including:
Be installed on agricultural machinery car-mounted terminal on agricultural machinery send carry map scale information, this agricultural machinery car-mounted terminal it is current
The farmland geodata of positional information obtains request;
Machinery farmer platform is received after the farmland geodata obtains request, according to the positional information wherein carried,
And map scale information is determined to inquire about geographic range, and return to the farmland geodata in the inquiry geographic range, bag
Include:Section and the spatial data of node, and the attribute data in section;Wherein, the attribute data in the section includes:With it is described
Title, area, height above sea level, original position and the final position in the adjacent farmland in section;
After the agricultural machinery car-mounted terminal receives the farmland geodata of return, according to section therein and the space of node
Data draw out section topological structure, the farmland adjacent with each section are drawn out according to the attribute data in section, and will draw out
Section topological structure and farmland carry out map denotation, current positional information is demarcated on the map.
It is preferred that it is described the section topological structure drawn out and farmland are subjected to map denotation after, in addition to:
The agricultural machinery car-mounted terminal sends work route inquiry request;Wherein, carried in the work route inquiry request
There are operation starting point, the positional information of operation terminal and need to be by way of the title in farmland;
After the machinery farmer platform receives the work route inquiry request, operation starting point, operation are therefrom parsed
The positional information of terminal and need to be by way of the title in farmland;According to the title in the farmland parsed, determine adjacent with the farmland
Section;According to operation starting point, the positional information of operation terminal parsed, determine that the operation starting point, operation are whole respectively
Section belonging to point;And then after cooking up the work route comprising all sections determined, return to the work route and bag
Farmland geodata containing the work route;
The agricultural machinery car-mounted terminal receives the work route of return and the farmland geography number comprising the work route
According to rear, the spatial data in section and node in the farmland geodata comprising the work route draws out section
Topological structure, the farmland adjacent with each section is drawn out according to the attribute data in section therein, and the section drawn out is opened up
After flutterring structure and farmland progress map denotation, the work route is highlighted in display screen.
It is preferred that it is described the section topological structure drawn out and farmland are subjected to map denotation after, in addition to:
The agricultural machinery car-mounted terminal sends the farmland inquiry request for the title for carrying farmland;
After the machinery farmer platform receives the farmland inquiry request, according to the title in the farmland therefrom parsed,
Find the positional information in corresponding farmland;It is true according to the positional information in the farmland found, and default map scale information
The geographic range made, return to the farmland geodata in the geographic range;
The agricultural machinery car-mounted terminal carries out map denotation according to the farmland geodata of return.
It is preferred that the spatial data in the section specifically includes:The coordinate position of starting point, terminating point, and with it is described
The information of the adjacent node in section;And
The spatial data of the node specifically includes:The coordinate position of the node, and the road adjacent with the node
The information of section.
It is preferred that the attribute data in the section also includes:The section width in the section, the display level in the section
Not.
It is preferred that described carry out map denotation by the section topological structure drawn out and farmland, specifically include:
The agricultural machinery car-mounted terminal determines the display level corresponding with the ratio according to the ratio of map to be shown
Other and section width range;According to the display level and section width range determined, from the section topological structure drawn out
Choose qualified section;The farmland drawn out and the section selected are subjected to map denotation.
It is preferred that the spatial data in the section also includes:The coordinate position of interim key point.
It is preferred that the farmland geodata also includes:The attribute data of node;And the attribute data tool of the node
Body includes:Congestion situation, whether turn, hypsography situation.
It is preferred that the farmland geodata in the inquiry geographic range also includes:
The attribute information in each farmland in the inquiry geographic range;Wherein, the attribute information in farmland includes:The name in the farmland
Title, area, positional information, farmland terrain information, the field-crop situation of farmland starting point and farmland terminal;And
After the agricultural machinery car-mounted terminal receives the farmland geodata of return, in addition to:
The agricultural machinery car-mounted terminal is directed to each farmland in the farmland geodata, is believed according to the attribute in the farmland
Breath, cooks up the working path between the farmland starting point in the farmland and farmland terminal.
Technical scheme further simultaneously discloses a kind of machinery farmer system based on farmland situation, including:
The agricultural machinery car-mounted terminal being installed on agricultural machinery, map scale information, this agricultural machinery car-mounted terminal are carried for sending
The farmland geodata of current positional information obtains request;
Machinery farmer platform, after receiving the farmland geodata acquisition request, according to the position wherein carried
Information, and map scale information are determined to inquire about geographic range, and return to the farmland geography number in the inquiry geographic range
According to, including:The spatial data in section and node in the inquiry geographic range, and the attribute data in section;Wherein, it is described
The attribute data in section includes:Title, area, original position and the final position in the farmland adjacent with the section;
After the agricultural machinery car-mounted terminal is additionally operable to receive the farmland geodata of return, according to section therein and node
Spatial data draw out section topological structure, draw out the farmland adjacent with each section according to the attribute data in section, and will
The section topological structure drawn out and farmland are shown, current positional information is demarcated on the map.
It is preferred that the agricultural machinery car-mounted terminal is additionally operable to send work route inquiry request;Wherein, the work route is looked into
Ask and operation starting point, the positional information of operation terminal and need to be by way of the title in farmland are carried in request;
The machinery farmer platform is additionally operable to after receiving the work route inquiry request, is therefrom parsed operation and is risen
Point, operation terminal positional information and need to be by way of the title in farmland;According to the title in the farmland parsed, determine with accordingly
The adjacent section in farmland;According to operation starting point, the positional information of operation terminal parsed, determine that the operation rises respectively
Point, the affiliated section of operation terminal;And then cook up the work route for including all sections determined;Return to the operation road
Line and the farmland geodata comprising the work route;
The agricultural machinery car-mounted terminal is additionally operable to receive the work route of return and includes the farmland of the work route
After geodata, the spatial data in section and node in the farmland geodata comprising the work route is drawn
Go out section topological structure, draw out the farmland adjacent with each section according to the attribute data in section therein, and will draw out
After section topological structure and farmland are shown, the work route is highlighted in display screen.
It is preferred that the agricultural machinery car-mounted terminal is additionally operable to send the farmland inquiry request for the title for carrying farmland;
The machinery farmer platform is additionally operable to after receiving the farmland inquiry request, according to the farmland therefrom parsed
Title, find the positional information in corresponding farmland;Believed according to the positional information in the farmland found, and default map scale
The geographic range determined is ceased, returns to the farmland geodata in the geographic range.
It is preferred that the farmland geodata in the inquiry geographic range also includes:
The attribute information in each farmland in the inquiry geographic range;Wherein, the attribute information in farmland includes:The name in the farmland
Title, area, positional information, farmland terrain information, the field-crop situation of farmland starting point and farmland terminal;And
After the agricultural machinery car-mounted terminal is additionally operable to receive the farmland geodata of return, for the farmland geodata
In each farmland, according to the attribute information in the farmland, cook up the work between the farmland starting point in the farmland and farmland terminal
Industry path.
Further, technical scheme additionally provides a kind of agricultural machinery car-mounted terminal, including:
Satellite positioning module, for being positioned to this agricultural machinery car-mounted terminal, and export the current of this agricultural machinery car-mounted terminal
Positional information;
Request sending module, for obtaining the current position letter of this agricultural machinery car-mounted terminal from the satellite positioning module
Breath, and the farmland for carrying map scale information, the current positional information of this agricultural machinery car-mounted terminal is sent to machinery farmer platform
Geodata obtains request;
Map display module, after the farmland geodata returned for receiving the machinery farmer platform, according to wherein
Section and the spatial data of node draw out section topological structure, drawn out according to the attribute data in section adjacent with each section
Farmland, and the section topological structure drawn out and farmland are shown, current positional information are marked on the map
It is fixed.
It is preferred that the request sending module is additionally operable to send work route inquiry request to machinery farmer platform;Wherein,
Operation starting point, the positional information of operation terminal and need to be by way of the title in farmland are carried in the work route inquiry request;
The map display module is additionally operable to receive the work route of the machinery farmer platform return and comprising institute
After the farmland geodata for stating work route, after the section drawn out topological structure and farmland are shown, also showing
The work route is highlighted in screen.
It is preferred that the request sending module is additionally operable to send the title for carrying farmland to machinery farmer platform
Farmland inquiry request.
It is preferred that the spatial data in the section specifically includes:The coordinate position of starting point, terminating point, and with it is described
The information of the adjacent node in section;And
The spatial data of the node specifically includes:The coordinate position of the node, and the road adjacent with the node
The information of section.
It is preferred that the attribute data in the section also includes:The section width in the section, the display level in the section
Not.
It is preferred that the map display module is specifically used for receiving the farmland geography number that the machinery farmer platform returns
According to rear, section topological structure is drawn out according to the spatial data in section therein and node, drawn according to the attribute data in section
Go out the farmland adjacent with each section;According to the ratio of map to be shown, the display level corresponding with the ratio is determined
With section width range;According to the display level and section width range determined, selected from the section topological structure drawn out
Take qualified section;The farmland drawn out and the section selected are subjected to map denotation.
Technical scheme also provides a kind of machinery farmer platform simultaneously, including:Service layer's sub-platform, distribution are each
Multiple application nodes at place, and for storing the resource layer sub-platform of farmland geodata;Wherein,
The application node is used for after receiving the farmland geodata acquisition request that agricultural machinery car-mounted terminal is sent, and therefrom solves
Separate out positional information, and map scale information;It will be parsed when calling the map datum of service layer's sub-platform to inquire about service
The positional information gone out, and map scale information is as Transfer Parameters;
Service layer's sub-platform is used for when the inquiry service of its map datum is called, the position in Transfer Parameters
Information, and map scale information determine after inquiring about geographic range that it is geographical to obtain the inquiry from the resource layer sub-platform
In the range of farmland geodata returned to the application node;
The farmland geodata that the application node is additionally operable to return to service layer's sub-platform is vehicle-mounted to the agricultural machinery
Terminal returns.
It is preferred that the application node is additionally operable to receive the work route inquiry request that the agricultural machinery car-mounted terminal is sent
Afterwards, operation starting point, the positional information of operation terminal and need to be by way of the title in farmland are therefrom parsed;Call the service straton
By the operation starting point parsed, the positional information of operation terminal and need to be by way of the title in farmland during the route planning service of platform
As Transfer Parameters;
Service layer's sub-platform is used for when its route planning service is called, the title in Transfer Parameters, really
Make the section adjacent with corresponding farmland;Operation starting point, the positional information of operation terminal in Transfer Parameters, are determined respectively
Go out the operation starting point, the affiliated section of operation terminal;And then cook up the work route for including all sections determined;Return
The work route and the farmland geodata comprising the work route;
The application node is additionally operable to the work route for returning to service layer's sub-platform and comprising the operation road
The farmland geodata of line returns to the agricultural machinery car-mounted terminal.
It is preferred that the application node is additionally operable to after receiving the farmland inquiry request that the agricultural machinery car-mounted terminal is sent,
According to the title in the farmland therefrom parsed, the positional information in corresponding farmland is found;Call the ground of service layer's sub-platform
By the positional information in the farmland found during diagram data inquiry service, and default map scale information is as Transfer Parameters.
It is preferred that service layer's sub-platform is specially to service stratum server, or service layer's node cluster.
It is preferred that the resource layer sub-platform is specially resource stratum server, or resource layer node cluster.
In technical scheme, farmland field road data structure is defined in a manner of " field/node ", forms bag
Include the spatial data in section and node and the farmland geodata of the attribute data of section and node;So as to machinery farmer system
System can the farmland geodata based on acquisition, the section topological structure in drafting farmland region and the farmland adjacent with each section
And map denotation is carried out, the Map Services in farmland are provided as agricultural machinery driver;Further, can also be according to the agricultural machinery
Operation starting point, the positional information of operation terminal and the title for needing approach farmland, there is provided the agricultural machinery travel route in farmland field carries
Show service, in order to traveling of the agricultural machinery in farmland region and operation.
Embodiment
For the objects, technical solutions and advantages of the present invention are more clearly understood, referring to the drawings and preferred reality is enumerated
Example is applied, the present invention is described in more detail.However, it is necessary to illustrate, many details listed in specification are only to be
Reader is set to have a thorough explanation to the one or more aspects of the present invention, even without these specific details can also
Realize the aspects of the invention.
The term such as " module " used in this application, " system " is intended to include the entity related to computer, such as but unlimited
In hardware, firmware, combination thereof, software or executory software.For example, module can be, it is not limited to:Processing
The process run on device, processor, object, executable program, thread, program and/or the computer performed.For example, count
It can be module to calculate the application program run in equipment and this computing device.One or more modules can be located at executory
In one process and/or thread, a module can also be located on a computer and/or be distributed in two or more platforms and calculate
Between machine.
The present inventor considers the various features in farmland, and farmland field road is defined in a manner of " field/node "
Circuit-switched data structure, so that machinery farmer system can provide the map clothes in farmland based on the road data structure for agricultural machinery driver
Business, and the prompting service of the agricultural machinery travel route in farmland field, in order to traveling of the agricultural machinery in farmland region and operation.
The main technical schemes of the present invention are, to be checked according to this after machinery farmer system determines geographic range to be checked
Ask the farmland geodata in geographic range, draw out section topological structure in the geographic range to be checked and with each road
Duan Xianglin farmland, and map denotation is carried out, and the current location information of agricultural machinery is demarcated on the relevant position of map,
The Map Services in farmland are provided as agricultural machinery driver.
Further, according to the operation starting point of the agricultural machinery, the positional information of operation terminal and approach farmland can also be needed
Title, determine the work route and its farmland geodata of the agricultural machinery;And according to the work route of the agricultural machinery and its farmland
Data are managed, draw the section topological structure that simultaneously map denotation goes out in the work route and each section phase with the work route
Adjacent farmland, to provide the prompting service of agricultural machinery travel route, facilitates agricultural machinery in the interregional traveling in farmland and operation.
The technical scheme that the invention will now be described in detail with reference to the accompanying drawings.
The machinery farmer system based on farmland situation that the specific embodiment of the invention provides, as shown in figure 1, specifically can be with
Including:The agricultural machinery car-mounted terminal 101 and machinery farmer platform 102 being installed on agricultural machinery.
Wherein, agricultural machinery car-mounted terminal 101 can send to machinery farmer platform 102 and carry map scale information, this agricultural machinery
The farmland geodata of the current positional information of car-mounted terminal obtains request.
Machinery farmer platform 102 receive the transmission of agricultural machinery car-mounted terminal 101 farmland geodata obtain request after, can be with
The positional information carried in request is obtained according to farmland geodata, and map scale information is determined to inquire about geographic range,
And return to the farmland geodata in inquiry geographic range.
In practical application, the farmland geodata in machinery farmer platform 102 is advance collection storage, can specifically be wrapped
Include:The spatial data in section and node in certain geographical scope, and the attribute data in section.Wherein, the attribute number in section
According to can specifically include:Title, area, original position and the final position in the farmland adjacent with the section.
So, agricultural machinery car-mounted terminal 101 receive machinery farmer platform 102 return farmland geodata after, according to
The spatial data of section therein and node draws out section topological structure, is drawn out and each section according to the attribute data in section
Adjacent farmland;And the section topological structure drawn out and farmland are subjected to map denotation, by current positional information map again
Upper demarcation.How section topological structure drawn out according to the spatial data in section and node, how according to the attribute data in section
The farmland adjacent with each section is drawn out, is well known to the skilled person, here is omitted.
Further, the farmland geodata in inquiry geographic range that machinery farmer platform 102 returns can also include
The attribute information in each farmland in the inquiry geographic range.Wherein, the attribute information in farmland can specifically include:The name in the farmland
Title, area, positional information, farmland terrain information, field-crop situation, the farmland obstacle feelings of operation starting point and operation terminal
Condition etc..For example, farmland terrain information is specifically as follows the gradient in the farmland, dry and wet degree etc.;Field-crop situation is specific
It can be crop species, maturity, current work state and the expected activity duration in farmland etc..In practical application, agricultural machinery clothes
The attribute information in the farmland in business platform 102 can specifically be gathered by the sensor installed on agricultural machinery car-mounted terminal 101 in advance
Pass.So, agricultural machinery car-mounted terminal 102 can be directed in the geodata of farmland after the farmland geodata of return is received
Each farmland, according to the attribute information in the farmland, cook up the operation road between the operation starting point in the farmland and operation terminal
Footpath, facilitate operation of the agricultural machinery in farmland.Wherein, on how according to the attribute information in the farmland, cooking up in the farmland
Working path between operation starting point and operation terminal can use technical means commonly used by such a person skilled in the art, herein no longer
It is described in detail.
Specifically, the above-mentioned machinery farmer system based on farmland situation carries out the detailed process of machinery farmer, flow such as Fig. 2
It is shown, comprise the following steps:
S201:Agricultural machinery car-mounted terminal 101, which is sent, carries map scale information, the current position letter of this agricultural machinery car-mounted terminal
The farmland geodata of breath obtains request.
Specifically, agricultural machinery car-mounted terminal 101 will can take to obtain the farmland map of its present position to agricultural machinery
Business platform 102 sends and carries map scale information, the farmland geodata of the current positional information of this agricultural machinery car-mounted terminal obtains
Take request.Wherein, map scale information specifically includes required body of a map or chart and the ratio of map to be shown.
In practical application, agricultural machinery car-mounted terminal 101 can be specifically PC (Personal Computer, PC),
PDA (Personal Digital Assistant), palm PC), TCU (Transmission Control Unit, automatically
Gear box control unit) terminal.Satellite positioning module is provided with agricultural machinery car-mounted terminal 101, by locating module and can be determined
Position satellite obtains the positional information of agricultural machinery car-mounted terminal 101 in real time.
S202:Machinery farmer platform 102 obtains request according to the farmland geodata of reception and determines agricultural machinery car-mounted terminal
101 inquiry geographic range, and return to the farmland geodata in inquiry geographic range to agricultural machinery car-mounted terminal 101.
Specifically, machinery farmer platform 102 receives the farmland geodata acquisition request of the transmission of agricultural machinery car-mounted terminal 101
Afterwards, determine to inquire about geographic range according to the positional information wherein carried, and map scale information.That is, agricultural machinery takes
The map scale information that business platform 102 parses according to being obtained from farmland geodata in request is worked as with this agricultural machinery car-mounted terminal
Preceding positional information, it may be determined that go out an inquiry geographic range.
Afterwards, machinery farmer platform 102 obtains farmland geodata in inquiry geographic range to agricultural machinery car-mounted terminal 101
Return.Wherein, the farmland geodata in inquiry geographic range returned to agricultural machinery car-mounted terminal 101, is specifically included:Section and
The spatial data of node, and the attribute data in section;Further, the attribute number of node is may also include in the geodata of farmland
According to.
In practical application, the present invention defines road data structure by the way of " field/node ", and all roads are pressed
Section is divided into according to crosspoint and original position, and the starting point and ending point in each crosspoint, each section is defined as tying
Point;And each section and node have attribute data and the spatial data from initial land form data.
Wherein, the spatial data in section can specifically include:The starting point in the section, the coordinate position of terminating point, the road
The coordinate position (such as larger position of turn radian in the section) of the interim key point of section, and it is adjacent with the section
The information of node;The spatial data of node can specifically include:The coordinate position of the node and the section adjacent with the node
Information.Relation is defined by this inter-related segmental arc/node, is easy to clearly describe section topological structure exactly.
Further, the attribute data in section mainly includes:Title, area, the start bit in the farmland adjacent with the section
Put and final position;The attribute data of node mainly includes:The congestion situation of the node, with the presence or absence of turning situation, landform rise
Volt situation.
S203:Agricultural machinery car-mounted terminal 101 according to the farmland geodata of return, draw out section topological structure and with each road
Duan Xianglin farmland simultaneously carries out map denotation, and current positional information is demarcated on this map.
Specifically, can be with after agricultural machinery car-mounted terminal 101 receives the farmland geodata of the return of machinery farmer platform 102
The spatial data in section and node in the geodata of farmland, draws out section topological structure;Meanwhile can be according to section
Attribute data draw out the farmland adjacent with each section;And the section topological structure drawn out and farmland are subjected to map and shown
Show, then, current positional information is demarcated on this map.So, agricultural machinery car-mounted terminal 101 can be that driver shows week
The farmland situation on side.
In practical application, it is contemplated that the limitation of display information in map, display information in map can be carried out multistage
Display content can dynamically be adjusted according to engineer's scale when display, i.e. map denotation.For example shown when engineer's scale is big more specific
Agricultural land information, do not show the section that display level is low, width is small in engineer's scale hour.
Therefore, more preferably, in the farmland geodata that agricultural machinery car-mounted terminal 101 receives, further, the attribute number in section
According to can also include:The section width in section and the display level in section.So, agricultural machinery car-mounted terminal 101 can be according to waiting to show
The ratio of the map shown, determine the display level corresponding with the ratio and section width range.In agricultural machinery car-mounted terminal 101
In be directed to various displays ratio, the display level corresponding with the ratio and section width range can be previously provided with;It is aobvious
Show that rank and section width meet the section of the corresponding display level of the ratio and section width range, can be in the ratio
Under map in show.
Then, agricultural machinery car-mounted terminal 101 is according to the display level and section width range determined, from the section drawn out
Qualified section is chosen in topological structure;The farmland drawn out and the section selected are subjected to map denotation.It is for example, right
In the section selected from the section topological structure drawn out, its display level be equal to determine section display level,
Its section width is in the section width range determined.Wherein, the ratio of map to be shown can be inputted by driver
, so, agricultural machinery car-mounted terminal 101 can according to the display demand of driver, dynamic adjust farmland shown on map and
Section, driving of the agricultural machinery in farmland region is facilitated with this.
In addition, it is contemplated that driver is after the map that agricultural machinery car-mounted terminal 101 is shown is observed, it may be necessary to some agricultures
Field is inquired about, map denotation.Therefore, more preferably, in the embodiment of the present invention, as shown in figure 3, the section drawn out is topological
After structure and farmland carry out map denotation, some farmlands can also be inquired about as follows and carry out map denotation:
S301:Agricultural machinery car-mounted terminal 101 sends the farmland inquiry request for the title for carrying farmland.
S302:After machinery farmer platform 102 receives farmland inquiry request, according to the title in the farmland therefrom parsed,
Find the positional information in corresponding farmland;And according to the positional information in the farmland found, and default map scale information
The geographic range determined, farmland geodata in the geographic range is returned to for the farmland inquiry request of reception.Wherein, in advance
If map scale information can be 102 1, machinery farmer platform acquiescence map scale information.
S303:Agricultural machinery car-mounted terminal 101 carries out map denotation according to the farmland geodata of return.
Specifically, agricultural machinery car-mounted terminal 101 receives machinery farmer platform 102 and is directed to the agriculture that farmland inquiry request is returned
After the geodata of field, map denotation is carried out according to the farmland geodata of reception.
Further, the farmland geodata of return includes the positional information in the farmland of inquiry, therefore, more preferably,
After carrying out map denotation according to the farmland geodata of reception, the positional information in the farmland of inquiry can also be entered on this map
Rower is determined and highlighted.
The present inventor is it is considered that in fact, agricultural machinery is more than being directed to one piece of agriculture generally within a duty cycle
Field carries out operation, but needs to carry out operation for multiple farmlands.The farmland for needing operation can be referred to as needing approach herein
Farmland;In practical application, these need approach farmland generally geographically more dispersed, to save the activity duration, it is necessary to drive
The person of sailing shows one apart from short preferred work route.
Therefore, the embodiments of the invention provide a kind of more excellent embodiment, as shown in figure 4, in the section that will be drawn out
After topological structure and farmland carry out map denotation, for the preferred work route of agricultural machinery and it can also be shown as follows:
S401:Agricultural machinery car-mounted terminal 101 sends work route inquiry request.
Specifically, driver can input the operation starting point of the agricultural machinery, operation terminal in agricultural machinery car-mounted terminal 101 in advance
Positional information and the title for needing approach farmland.So, agricultural machinery car-mounted terminal 101 can will carry operation starting point, operation end
Point positional information and need to be sent by way of the work route inquiry request of the title in farmland to machinery farmer platform 102.
S402:After machinery farmer platform 102 receives work route inquiry request, operation starting point, operation are therefrom parsed
The positional information of terminal and need to be by way of the title in farmland;According to the title in the farmland parsed, determine adjacent with the farmland
Section.
S403:Machinery farmer platform 102 determines respectively according to the operation starting point parsed, the positional information of operation terminal
Go out operation starting point, the affiliated section of operation terminal;And then after cooking up the work route comprising all sections determined, return and make
Industry route and the farmland geodata comprising work route.
S404:Agricultural machinery car-mounted terminal 101 draws out section topological structure, Yi Jiyu according to the farmland geodata of return
The adjacent farmland in each section;It is prominent aobvious in display screen after the section topological structure drawn out and farmland are carried out into map denotation
Show the work route of return.
Specifically, agricultural machinery car-mounted terminal 101 receives the work route of return and the farmland geography comprising work route
After data, the spatial data in section and node in the farmland geodata comprising work route draws out section topology knot
Structure, the farmland adjacent with each section, and the section topological structure that will be drawn out are drawn out according to the attribute data in section therein
After carrying out map denotation with farmland, work route is highlighted in display screen.
In the embodiment of the present invention, the internal structure of agricultural machinery car-mounted terminal 101, as shown in figure 5, specifically including:Satellite fix
Module 501, request sending module 502, map display module 503.
Wherein, satellite positioning module 501 is used to position this agricultural machinery car-mounted terminal, and exports this agricultural machinery car-mounted terminal
Current positional information.
Request sending module 502 is used for the current position letter that this agricultural machinery car-mounted terminal is obtained from satellite positioning module 501
Breath, and the farmland for carrying map scale information, the current positional information of this agricultural machinery car-mounted terminal is sent to machinery farmer platform
Geodata obtains request.
Map display module 503 is used for after receiving the farmland geodata that machinery farmer platform returns, according to therein
The spatial data of section and node draws out section topological structure, is drawn out according to the attribute data in section adjacent with each section
Farmland, and the section topological structure drawn out and farmland are shown, current positional information is demarcated on map.
Wherein, the spatial data in the section in the geodata of farmland specifically includes:The starting point in section, the coordinate of terminating point
Position, and the information of the node adjacent with the section.The spatial data of node in the geodata of farmland specifically includes:Node
Coordinate position, and the information in the section adjacent with the node.
More preferably, the attribute data in the section in the geodata of farmland also includes:The section width in section and showing for section
Show rank.So, after map display module 503 receives the farmland geodata of machinery farmer platform return, according to therein
The spatial data of section and node draws out section topological structure, is drawn out according to the attribute data in section adjacent with each section
Farmland;According to the ratio of map to be shown, the display level corresponding with the ratio and section width range are determined;Root
According to the display level and section width range determined, qualified section is chosen from the section topological structure drawn out;
The farmland drawn out and the section selected are subjected to map denotation.
Further, request sending module 502 can also send work route inquiry request to machinery farmer platform.Its
In, operation starting point, the positional information of operation terminal and need to be by way of the title in farmland are carried in work route inquiry request.
Correspondingly, map display module 503 receives machinery farmer platform and is directed to the operation that request sending module 502 is sent
After route inquiry asks returned work route and farmland geodata comprising work route, on the road that will be drawn out
After section topological structure and farmland are shown, the work route is also highlighted in display screen.
More preferably, request sending module 502 is additionally operable to send the title for carrying farmland to machinery farmer platform
Farmland inquiry request.And then map display module 503 is directed to what request sending module 502 was sent according to machinery farmer device platform
The farmland geodata that farmland inquiry request is returned carries out map denotation.
In the embodiment of the present invention, the internal structure of machinery farmer platform, as shown in fig. 6, specifically including:Service layer's sub-platform
601st, the multiple application nodes 602 of distribution everywhere, and for storing the resource layer sub-platform 603 of farmland geodata.
Wherein, application node 602 is used for the farmland geodata acquisition request for receiving the transmission of agricultural machinery car-mounted terminal 101
Afterwards, positional information, and map scale information are therefrom parsed;Call the map datum inquiry service of service layer's sub-platform 601
When the positional information that will parse, and map scale information is as Transfer Parameters.In practical application, application node 602 can be with
The servlet Servlet specially run on the server.
Service layer's sub-platform 601 is used for when the inquiry service of its map datum is called, the position in Transfer Parameters
Information, and map scale information are determined after inquiring about geographic range, are obtained from resource layer sub-platform 603 in inquiry geographic range
Farmland geodata returned to application node 602.So, the agriculture that application node 602 can return to service layer's sub-platform 601
Field geodata returns to agricultural machinery car-mounted terminal 101.
In practical application, service layer's sub-platform 601 is specifically as follows service stratum server, or service layer's node cluster;
That is, service layer's sub-platform 601 can be single server or the cluster being made up of multiple server nodes.
Resource layer sub-platform 603 is specifically as follows resource stratum server, or resource layer node cluster;That is, money
Active layer sub-platform 603 can be single server or the cluster being made up of multiple server nodes.
Further, application node 602 is additionally operable to receive the work route inquiry request of the transmission of agricultural machinery car-mounted terminal 101
Afterwards, operation starting point, the positional information of operation terminal and need to be by way of the title in farmland are therefrom parsed;Call service layer's sub-platform
By the operation starting point parsed, the positional information of operation terminal and need to be by way of the title in farmland during 601 route planning service
As Transfer Parameters.
So, service layer's sub-platform 601, can be according to the name in Transfer Parameters when its route planning service is called
Claim, determine the section adjacent with corresponding farmland;And operation starting point, the positional information of operation terminal in Transfer Parameters,
Operation starting point, the affiliated section of operation terminal are determined respectively.And then cook up the work route for including all sections determined;
And return to the work route cooked up and the farmland geodata comprising the work route to application node 602.And then should
The work route that service layer's sub-platform 601 can be returned with node 602 and the farmland geodata comprising work route to
Agricultural machinery car-mounted terminal 101 returns.
It is flat on each son in each module in agricultural machinery car-mounted terminal and machinery farmer platform in the embodiment of the present invention
How platform and application node specifically realize machinery farmer, are referred to the specific method of above-mentioned flow.
In technical scheme, farmland field road data structure is defined in a manner of " field/node ", forms bag
Include the spatial data in section and node and the farmland geodata of the attribute data of section and node;So as to machinery farmer system
System can the farmland geodata based on acquisition, the section topological structure in drafting farmland region and the farmland adjacent with each section
And map denotation is carried out, the Map Services in farmland are provided as agricultural machinery driver;Further, farmland field can also be provided
Agricultural machinery travel route prompting service, in order to traveling of the agricultural machinery in farmland region and operation.
Can be with one of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method is
The hardware of correlation is instructed to complete by program, the program can be stored in a computer read/write memory medium, such as:
ROM/RAM, magnetic disc, CD etc..
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.