CN106130793A - The update method of Intelligent agricultural machinery system based on Internet of Things and system - Google Patents
The update method of Intelligent agricultural machinery system based on Internet of Things and system Download PDFInfo
- Publication number
- CN106130793A CN106130793A CN201610717078.4A CN201610717078A CN106130793A CN 106130793 A CN106130793 A CN 106130793A CN 201610717078 A CN201610717078 A CN 201610717078A CN 106130793 A CN106130793 A CN 106130793A
- Authority
- CN
- China
- Prior art keywords
- version
- subpackage
- bag
- host computer
- intelligent terminal
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
- H04L41/0826—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for reduction of network costs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
- H04L41/083—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for increasing network speed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0889—Techniques to speed-up the configuration process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/34—Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/36—Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
- H04L47/365—Dynamic adaptation of the packet size
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to update method and the system of a kind of Intelligent agricultural machinery system based on Internet of Things, comprise the following steps: S01 is under power-up state, the intelligent terminal of Intelligent agricultural machinery sent at interval of 5~30 minutes and once gathers packet to host computer, after host computer receives this collection packet, reply and gather data answering bag;S02 is when there being version updating, and host computer can regularly continuously transmit version updating request bag, includes version number, version size, version predetermined enabling time in this version updating request bag;S03 determines that version number, S04 determine subpackage size;S05 sends version updating subpackage;S06 detection time interval also adjusts host computer bidding strategy, and S08, repetitive cycling is until subpackage has been downloaded.
Description
Technical field
The present invention relates to agricultural machinery technological field, particularly relate to a kind of Intelligent agricultural machinery system based on Internet of Things
Update method and system.
Background technology
China is large agricultural country, but most agricultural production completes by manual labor substantially, sows, execute in most rural areas
Fertilizer, irrigates and the operation such as harvesting, relies primarily on pure manual labor, and the most not only efficiency is low, and affect crops growth and
Harvest.Even if some place achieves Mechanization sowing and harvesting, manpower is generally also needed to coordinate, and the machinery such as sowing and harvesting
Change operation independently of one another, the most reasonably link together, also have impact on efficiency and the production cycle of agricultural mechanical operation.Along with
The development of technology of Internet of things and the demand to construction modern agriculture, organically combine Internet of Things with agricultural mechanical operation,
Significant with yield for improving the efficiency of agricultural mechanical operation.But China's agriculture production environment is changeable, agricultural is raw
Product process is disperseed, and supplier is complicated, and demand is ever-changing waits difficulty.Intelligent agricultural machinery real-time Transmission acquisition parameter information is wanted
Ask higher.
At present, agricultural machinery Internet of things system mainly includes the intelligent agricultural machinery as slave computer and the server as host computer.
Equipped with electronic equipment and the control system of multiple parameter sensing in intelligent agricultural machinery, the normal use of these electronic equipments be unable to do without soft
Part, only software are in up-to-date release status just can make electronic equipment and control system be in optimized operation state, it is achieved
At most function, it is therefore desirable to software is carried out real-time update.The Oftware updating method of conventional Intelligent agricultural machinery and private car
The update method of interior control software is similar, is all to recall Intelligent agricultural machinery, beams back user again after returning the burned program of factory.This
The method cycle length of more new procedures, cost are high and consume a large amount of human resources, if busy farming season recall can give user
Bring immeasurable loss.
In order to solve drawbacks described above, if arranging remote server, by the telecommunication device in agricultural machinery with remote
More new procedures is downloaded and is installed in journey server communication.This mode there is also problem: first, and intelligent agricultural machinery can not be transported when operation
Row more new procedures, because GPRS communication module can be taken, makes electronic equipment real-time of multiple parameter sensing on intelligent agricultural machinery
Detection parameter cannot be uploaded in time.Second, if intelligent agricultural machinery does not run renewal program when operation, not at job state
Time, intelligent agricultural machinery the most all can stop working, and more new procedures needs system electrification, so such as Patent No.:
" update method of software, system and server in vehicle " its solution of " 201310544228.2 " is sent out at host computer exactly
When sending renewal PROGRAMMED REQUESTS, if vehicle is at transport condition, delay download can be sent and ask, and send the time of predetermined delay,
A timing, the when of arriving this timing, host computer can be set by intervalometer after the time that host computer receives this predetermined delay
Sending more new procedures to vehicle, at this moment vehicle must be in the state not travelled and can update, and vehicle automatic ignition has updated
Auto extinguishing after Biing.
For above-mentioned patent, first, the cycle that program updates is long, even if cannot update when program accounts for, the most not
The use of automobile can be affected.Second, above-mentioned patent " 201310544228.2 " " update method of software in vehicle, system and
Server " mainly private car, the most urban district stronger at signal of the parking spot of private car or cities and towns, and base station is many, logical
News signal is relatively strong, does not haves the situation of signal interruption in communication process.3rd, even separate unit vehicle cannot more redaction,
Do not interfere with server data to process yet.
If Intelligent agricultural machinery more new procedures improves the technology that below existence is to be solved on the basis of above-mentioned prior art
Problem:
First, some is distributed in the remote field, Plain of comparison or basin, mountain area, if communication base station is few, signal is weak
The operation area of Intelligent agricultural machinery is away from base station communication area coverage, again or there is the barriers such as the mountain ridge and block, and reading intelligent agriculture
Machinery is likely to communication signal and is obstructed, and (the flame-out agricultural machinery that updates is that original place updates, if do not received in renewal after being difficulty with stopping working
If signal, signal can be obtained, until it is complete to receive data) always.
Second, if the host computer of Intelligent agricultural machinery needs gather a new data or perform a New function,
Statistics as the cloud data of host computer server needs, it is necessary to make all of Intelligent agricultural machinery that this host computer is covered
(or the interior all agricultural machinery of all agricultural machinery of the most all a certain agricultural machinery or a certain city or the whole nation) update all
Complete and after using this more redaction, host computer could be unified gather these New function data or seek unity of action a New function also
Receive and perform the feedback data of this New function and then realize New function cloud data acquisition, analyze, process and store, if this sheet
Have in region part Intelligent agricultural machinery due to do not have the reasons such as communication signal cannot more redaction, whole host computer can be caused
The consequences such as cloud data acquisition is inaccurate, analytical error is big.
Summary of the invention
The technical problem to be solved is to provide the renewal of a kind of Intelligent agricultural machinery system based on Internet of Things
Method, first, solve and be distributed in the remote field, Plain of comparison or basin, mountain area, if communication base station is few, the weak intelligence of signal
Can the operation area of agricultural machinery away from base station communication area coverage, again or there is the barriers such as the mountain ridge and block, reading intelligent agriculture machine
Tool is likely to that communication signal is obstructed cannot more news.Second, all Intelligent agricultural machinery versions in a certain region can be realized
Unified renewal, substantially reduces host computer New function data acquisition or performs the statistical error of New function data feedback, reduces
The error probability of host computer data analysis.3rd, during the application method more redaction, consumed flow is few, the update cycle is short, renewal
Speed is fast, it is possible to meet the needs of the big data statistics of Internet of Things.
The technical solution adopted for the present invention to solve the technical problems is:
The update method of Intelligent agricultural machinery system based on Internet of Things, comprises the following steps:
S01: under power-up state, the intelligent terminal of Intelligent agricultural machinery sent at interval of 5~30 minutes and once gathers number
According to bag to host computer, after host computer receives this collection packet, reply and gather data answering bag;
S02: when there being version updating, host computer can regularly continuously transmit version updating request bag, and this version updating is asked
Version number, version size, version predetermined enabling time is included in bag;
After the intelligent terminal for reception of S03: Intelligent agricultural machinery is wrapped to version updating request, contrast intelligent terminal uses
Version number is wrapped with version updating request by version number;If version number's phase is wrapped with version updating request by the version number that intelligent terminal uses
With, then send refusal and update response, and register reject updates reason;If the version number that intelligent terminal uses please less than version updating
Qiu Bao version number, then send and confirm to update response, described confirmation update in response include the real-time speed uplink of this intelligent terminal,
Downstream rate and internal storage state;
S04: host computer is according to the collection packet transmission frequency of this intelligent terminal, communication transfer speeds, renewal bag size
Determine version updating bag optimal subpackage size with this intelligent terminal's internal storage state, and be divided into by version updating bag can be one
Secondary collection packet sends the subpackage of the descending size completed in interval time;Host computer is after completing above-mentioned action nearest one
Secondary receive this intelligent terminal send collection packet time send first version update subpackage;
After the intelligent terminal for reception of S05: Intelligent agricultural machinery updates subpackage to first version, intelligent terminal detects this version
This renewal subpackage address is mapped to whether Flash address exists data;If there being data, then wipe data with existing;If there is no data,
Then directly this first version is updated subpackage and write this Flash address being mapped to;After having write, intelligent terminal sends
One version updating subpackage response bag, described first version includes the subpackage sequence number of this subpackage in updating subpackage response bag;
After S06: host computer receives first version renewal subpackage response bag, if host computer updates from sending first version
Subpackage be initial time to receive first version update this section of time span that subpackage response bag is the termination time more than or etc.
Send the time interval gathering packet in intelligent terminal, then host computer adjusts does not has dividing of the residue version updating subpackage sent
Bag number, subpackage sequence number and subpackage size;If host computer is initial time to receiving the from send first version updating subpackage
One version updating subpackage response bag is that this section of time span of termination time sends the time gathering packet less than intelligent terminal
Be spaced, then being updated subpackage by host computer judgement from transmission first version is that initial time is answered to receiving first version renewal subpackage
Answer this section of time span and the intelligent terminal wrapped as the termination time and send the ratio between the time interval gathering packet;If should
Ratio is less than 1/2, then host computer sends second edition renewal subpackage;If this ratio is more than 1/2, then host computer reduces transmission version
Update the priority of bag and promote the priority gathering data answering bag and other downlink data packet;
S07: the first version in step S06 updates subpackage, first version updates subpackage response bag according to subpackage sequence number
Rear shifting is also replaced, and often replaces once repetition step S06, until host computer receives last subpackage sequence number correspondence version updating
Subpackage response bag;Host computer confirms that intelligent terminal's version updating bag of this Intelligent agricultural machinery is downloaded complete, and sends startup peace
Dress request;
After the intelligent terminal for reception of S08: Intelligent agricultural machinery starts mount request bag to transmission, check Flash address
The subpackage sequence number of interior version updating bag, if subpackage sequence number is the most errorless, then installs this version updating bag downloaded;If lacking one
Individual or several subpackage sequence numbers, then record these subpackage sequence numbers, and it be corresponding to re-download these subpackage sequence numbers to host computer transmission
The request of version updating subpackage, host computer receive re-download version updating subpackage corresponding to these subpackage sequence numbers request it
After, according to the version updating subpackage in the amendment of subpackage sequence number replacement step S04~S06 and version updating subpackage response bag, and
Circulation step S04~S06, until after the subpackage sequence number of version updating bag is the most errorless in Flash address, installing this and download
Version updating bag.
Further, also include step S09, be equipped with short in the intelligent terminal controller of described every Intelligent agricultural machinery
Journey wireless communication apparatus, is additionally provided with the difference threshold that short range wireless communications device starts, if host computer is in version in intelligent terminal
This deducts the difference threshold that real-time time starts more than short range wireless communications device predetermined enabling time, then Intelligent agricultural machinery
Intelligent terminal continues and upper machine communication;If host computer deducts real-time time less than or equal to short distance in version predetermined enabling time
The difference threshold that wireless communication apparatus starts, then startup short range wireless communications device, short range wireless communications device employing bluetooth,
WiFi, infrared ray or Zigbee protocol are connected to the intelligence of the Intelligent agricultural machinery that version updating bag in LAN receives eventually
End, carries out version updating bag transmission by short range wireless communications device, it is preferable that use Zigbee protocol.
Further, also include step S10, in described short range wireless communications device, include the communication speed threshold set
Value, if the intelligent terminal that a certain short range wireless communications device is connected to is connected and descending with other short range wireless communications device
Transmission communication speed is less than communication speed threshold value, then other intelligence in the range of this short range wireless communications device re-searches for LAN
Can terminal.
Further, short range wireless communications device, the intelligent terminal controller of described every Intelligent agricultural machinery are also included
Inside it is equipped with short range wireless communications device, in intelligent terminal, is additionally provided with the difference threshold that short range wireless communications device starts, if
Host computer deducts the difference threshold that real-time time starts, then intelligence more than short range wireless communications device in version predetermined enabling time
The intelligent terminal of agricultural machinery continues and upper machine communication;If host computer deducts real-time time in version predetermined enabling time and is less than
Or the difference threshold equal to the startup of short range wireless communications device, then start short range wireless communications device, short range wireless communications device
Bluetooth, WiFi, infrared ray or Zigbee protocol is used to be connected to the reading intelligent agriculture machine that version updating bag in LAN receives
The intelligent terminal of tool, carries out version updating bag transmission by short range wireless communications device, it is preferable that use Zigbee protocol.
Further, in described short range wireless communications device, include the communication speed threshold value set, if a certain short distance
The intelligent terminal that wireless communication apparatus is connected to is connected and downlink transfer communication speed with other short range wireless communications device
Less than communication speed threshold value, then other intelligent terminal in the range of this short range wireless communications device re-searches for LAN.
Beneficial effect
Owing to have employed above-mentioned technical scheme, the present invention compared with prior art, has the following advantages that and actively imitates
Really:
First, solve and be distributed in the remote field, Plain of comparison or basin, mountain area, communication base station is few, signal is weak, as
Really the operation area of Intelligent agricultural machinery is away from base station communication area coverage, again or there is the barriers such as the mountain ridge and block, and intelligence agriculture
Industry machinery is likely to that communication signal is obstructed cannot more news.Second, all Intelligent agricultural machineries in a certain region can be realized
Version is unified to be updated, and substantially reduces host computer New function data acquisition or performs the statistical error of New function data feedback, fall
The low error probability of host computer data analysis.3rd, during the application method more redaction, consumed flow is few, the update cycle is short,
Renewal speed is fast, it is possible to meet the needs of the big data statistics of Internet of Things.4th, it is to use to divide that the version updating bag of the application sends
The mode that bag sends, and send the interval time that selection of time sends at collection packet, so do not interfere with GPRS communication mould
Block time delay receives and gathers data answering bag and descending other instruction bags of host computer, improves the logical of intelligent terminal and host computer
News efficiency, can take into account the download of version updating bag while sending collection packet, need not be such as the patent No.:
Document disclosed in " 201310544228.2 " uses after stopping working and updates, and overcomes the technology prejudice of prior art, at same energy
In the case of consumption, improve production efficiency, reduce manufacturing cost.5th, the mode that the version updating bag subpackage of the application sends,
Can reduce single intelligent terminal's download version update bag time consume problems of liquid flow, the application by version updating bag according to data
Transmission speed and subpackage size determine subpackage quantity, and by each subpackage marking serial numbers, often download a subpackage, all return version
Update subpackage response bag and return sequence number, though packet loss, the subpackage sequence number of the subpackage that intelligent terminal can have been downloaded by inspection,
The subpackage sequence number of disappearance is uploaded to host computer repeated downloads, it is to avoid version updating subpackage is the feelings of packet loss in downlink transmission process
Condition.6th, the setting of short range wireless communications device, meet when single intelligent terminal in long-time no signal, (intelligence
The reply data bag that terminal sends generally only has several bytes, and data volume is the least, but the data volume of version updating bag is huge) logical
Cross Intelligent agricultural machinery LAN each other and transmit mutually version updating data, solve frequent no signal, version updating
When wrapping excessive, single Intelligent agricultural machinery cannot the problem of version updating in time.
Accompanying drawing explanation
Fig. 1 is the FB(flow block) of the present invention.
Fig. 2 is the FB(flow block) of the step 6 of the present invention.
Fig. 3 is the FB(flow block) of the step 8 of the present invention.
Fig. 4 is step 9 and the FB(flow block) of step 10 of the present invention.
Detailed description of the invention
Below in conjunction with specific embodiment, the present invention is expanded on further.Should be understood that these embodiments are merely to illustrate the present invention
Rather than restriction the scope of the present invention.In addition, it is to be understood that after having read the content that the present invention lectures, people in the art
The present invention can be made various changes or modifications by member, and these equivalent form of values fall within the application appended claims equally and limited
Scope.
Embodiments of the present invention:
See Fig. 1~Fig. 4, the update method of Intelligent agricultural machinery system based on Internet of Things, comprise the following steps:
S01: under power-up state, the intelligent terminal of Intelligent agricultural machinery sent at interval of 5~30 minutes and once gathers number
According to bag to host computer, after host computer receives this collection packet, reply and gather data answering bag;
S02: when there being version updating, host computer can regularly continuously transmit version updating request bag, and this version updating is asked
Version number, version size, version predetermined enabling time is included in bag;
After the intelligent terminal for reception of S03: Intelligent agricultural machinery is wrapped to version updating request, contrast intelligent terminal uses
Version number is wrapped with version updating request by version number;If version number's phase is wrapped with version updating request by the version number that intelligent terminal uses
With, then send refusal and update response, and register reject updates reason;If the version number that intelligent terminal uses please less than version updating
Qiu Bao version number, then send and confirm to update response, described confirmation update in response include the real-time speed uplink of this intelligent terminal,
Downstream rate and internal storage state;
S04: host computer is according to the collection packet transmission frequency of this intelligent terminal, communication transfer speeds, renewal bag size
Determine version updating bag optimal subpackage size with this intelligent terminal's internal storage state, and be divided into by version updating bag can be one
Secondary collection packet sends the subpackage of the descending size completed in interval time;Host computer is after completing above-mentioned action nearest one
Secondary receive this intelligent terminal send collection packet time send first version update subpackage;
After the intelligent terminal for reception of S05: Intelligent agricultural machinery updates subpackage to first version, intelligent terminal detects this version
This renewal subpackage address is mapped to whether Flash address exists data;If there being data, then wipe data with existing;If there is no data,
Then directly this first version is updated subpackage and write this Flash address being mapped to;After having write, intelligent terminal sends
One version updating subpackage response bag, described first version includes the subpackage sequence number of this subpackage in updating subpackage response bag;
After S06: host computer receives first version renewal subpackage response bag, if host computer updates from sending first version
Subpackage be initial time to receive first version update this section of time span that subpackage response bag is the termination time more than or etc.
Send the time interval gathering packet in intelligent terminal, then host computer adjusts does not has dividing of the residue version updating subpackage sent
Bag number, subpackage sequence number and subpackage size;If host computer is initial time to receiving the from send first version updating subpackage
One version updating subpackage response bag is that this section of time span of termination time sends the time gathering packet less than intelligent terminal
Be spaced, then being updated subpackage by host computer judgement from transmission first version is that initial time is answered to receiving first version renewal subpackage
Answer this section of time span and the intelligent terminal wrapped as the termination time and send the ratio between the time interval gathering packet;If should
Ratio is less than 1/2, then host computer sends second edition renewal subpackage;If this ratio is more than 1/2, then host computer reduces transmission version
Update the priority of bag and promote the priority gathering data answering bag and other downlink data packet;
S07: the first version in step S06 updates subpackage, first version updates subpackage response bag according to subpackage sequence number
Rear shifting is also replaced, and often replaces once repetition step S06, until host computer receives last subpackage sequence number correspondence version updating
Subpackage response bag;Host computer confirms that intelligent terminal's version updating bag of this Intelligent agricultural machinery is downloaded complete, and sends startup peace
Dress request;
After the intelligent terminal for reception of S08: Intelligent agricultural machinery starts mount request bag to transmission, check Flash address
The subpackage sequence number of interior version updating bag, if subpackage sequence number is the most errorless, then installs this version updating bag downloaded;If lacking one
Individual or several subpackage sequence numbers, then record these subpackage sequence numbers, and it be corresponding to re-download these subpackage sequence numbers to host computer transmission
The request of version updating subpackage, host computer receive re-download version updating subpackage corresponding to these subpackage sequence numbers request it
After, according to the version updating subpackage in the amendment of subpackage sequence number replacement step S04~S06 and version updating subpackage response bag, and
Circulation step S04~S06, until after the subpackage sequence number of version updating bag is the most errorless in Flash address, installing this and download
Version updating bag.
Further, also include step S09, be equipped with short in the intelligent terminal controller of described every Intelligent agricultural machinery
Journey wireless communication apparatus, is additionally provided with the difference threshold that short range wireless communications device starts, if host computer is in version in intelligent terminal
This deducts the difference threshold that real-time time starts more than short range wireless communications device predetermined enabling time, then Intelligent agricultural machinery
Intelligent terminal continues and upper machine communication;If host computer deducts real-time time less than or equal to short distance in version predetermined enabling time
The difference threshold that wireless communication apparatus starts, then startup short range wireless communications device, short range wireless communications device employing bluetooth,
WiFi, infrared ray or Zigbee protocol are connected to the intelligence of the Intelligent agricultural machinery that version updating bag in LAN receives eventually
End, carries out version updating bag transmission by short range wireless communications device, it is preferable that use Zigbee protocol.
Further, also include step S10, in described short range wireless communications device, include the communication speed threshold set
Value, if the intelligent terminal that a certain short range wireless communications device is connected to is connected and descending with other short range wireless communications device
Transmission communication speed is less than communication speed threshold value, then other intelligence in the range of this short range wireless communications device re-searches for LAN
Can terminal.
Further, short range wireless communications device, the intelligent terminal controller of described every Intelligent agricultural machinery are also included
Inside it is equipped with short range wireless communications device, in intelligent terminal, is additionally provided with the difference threshold that short range wireless communications device starts, if
Host computer deducts the difference threshold that real-time time starts, then intelligence more than short range wireless communications device in version predetermined enabling time
The intelligent terminal of agricultural machinery continues and upper machine communication;If host computer deducts real-time time in version predetermined enabling time and is less than
Or the difference threshold equal to the startup of short range wireless communications device, then start short range wireless communications device, short range wireless communications device
Bluetooth, WiFi, infrared ray or Zigbee protocol is used to be connected to the reading intelligent agriculture machine that version updating bag in LAN receives
The intelligent terminal of tool, carries out version updating bag transmission by short range wireless communications device, it is preferable that use Zigbee protocol.
Further, in described short range wireless communications device, include the communication speed threshold value set, if a certain short distance
The intelligent terminal that wireless communication apparatus is connected to is connected and downlink transfer communication speed with other short range wireless communications device
Less than communication speed threshold value, then other intelligent terminal in the range of this short range wireless communications device re-searches for LAN.
Claims (6)
1. the update method of Intelligent agricultural machinery system based on Internet of Things, it is characterised in that comprise the following steps:
S01: under power-up state, the intelligent terminal of Intelligent agricultural machinery sent at interval of 5~30 minutes and once gathers packet
To host computer, after host computer receives this collection packet, reply and gather data answering bag;
S02: when there being version updating, host computer can regularly continuously transmit version updating request bag, in this version updating request bag
Including version number, version size, version predetermined enabling time;
After the intelligent terminal for reception of S03: Intelligent agricultural machinery is wrapped to version updating request, the version that contrast intelligent terminal uses
Number with version updating request bag version number;If it is identical, then that version number is wrapped with version updating request by the version number that intelligent terminal uses
Send refusal and update response, and register reject updates reason;If the version number that intelligent terminal uses is less than version updating request bag
Version number, then send and confirm to update response, and described confirmation updates in response and includes the real-time speed uplink of this intelligent terminal, descending
Speed and internal storage state;
S04: host computer is according to the collection packet transmission frequency of this intelligent terminal, communication transfer speeds, renewal bag size and should
Intelligent terminal's internal storage state determines version updating bag optimal subpackage size, and is divided into by version updating bag and can once adopt
Collection packet sends the subpackage of the descending size completed in interval time;Host computer the last time after completing above-mentioned action connects
Send first version when receiving the collection packet of this intelligent terminal transmission and update subpackage;
After the intelligent terminal for reception of S05: Intelligent agricultural machinery updates subpackage to first version, intelligent terminal detects this version more
New subpackage address is mapped to whether Flash address exists data;If there being data, then wipe data with existing;If there is no data, the most directly
Connect and this first version is updated this Flash address that subpackage write is mapped to;After having write, intelligent terminal sends the first edition
This renewal subpackage response bag, described first version includes the subpackage sequence number of this subpackage in updating subpackage response bag;
After S06: host computer receives first version renewal subpackage response bag, if host computer updates subpackage from sending first version
It is more than or equal to intelligence to receiving this section of time span that first version renewal subpackage response bag is the termination time for initial time
Terminal can send the time interval gathering packet, then host computer adjusts the subpackage of the residue version updating subpackage not having transmission
Number, subpackage sequence number and subpackage size;If host computer is that initial time is to receiving first from send first version updating subpackage
Version updating subpackage response bag is that this section of time span of termination time sends between the time gathering packet less than intelligent terminal
Every, then judged that from send first version updating subpackage be that initial time updates subpackage response to receiving first version by host computer
This section of time span and intelligent terminal that bag is the termination time send the ratio between the time interval gathering packet;If this ratio
Example is less than 1/2, then host computer sends second edition renewal subpackage;If this ratio is more than 1/2, then host computer reduces transmission version more
The new priority wrapped also promotes the priority gathering data answering bag and other downlink data packet;
S07: the first version in step S06 updates subpackage, first version updates subpackage response bag and moves according to after subpackage sequence number
And replace, often replace once repetition step S06, until host computer receives last subpackage sequence number correspondence version updating subpackage
Response bag;Host computer confirm this Intelligent agricultural machinery intelligent terminal's version updating bag download complete, and send startup install please
Ask;
After the intelligent terminal for reception of S08: Intelligent agricultural machinery starts mount request bag to transmission, version in verification Flash address
The subpackage sequence number of this renewal bag, if subpackage sequence number is the most errorless, then installs this version updating bag downloaded;If lack one or
Several subpackage sequence numbers, then record these subpackage sequence numbers, and re-download, to host computer transmission, the version that these subpackage sequence numbers are corresponding
Update the request of subpackage, after host computer receives the request re-downloading version updating subpackage corresponding to these subpackage sequence numbers,
According to the version updating subpackage in the amendment of subpackage sequence number replacement step S04~S06 and version updating subpackage response bag, and circulate
Step S04~S06, until after the subpackage sequence number of version updating bag is the most errorless in Flash address, installing this version downloaded
This renewal is wrapped.
The update method of Intelligent agricultural machinery system based on Internet of Things the most according to claim 1, it is characterised in that also
Including step S09, in the intelligent terminal controller of described every Intelligent agricultural machinery, it is equipped with short range wireless communications device, intelligence
The difference threshold that short range wireless communications device starts it is additionally provided with, if host computer deducts reality in version predetermined enabling time in terminal
Time the time more than short range wireless communications device start difference threshold, then Intelligent agricultural machinery intelligent terminal continue and host computer
Communication;If host computer deducts, in version predetermined enabling time, the difference that real-time time starts less than or equal to short range wireless communications device
Value threshold value, then start short range wireless communications device, and short range wireless communications device uses bluetooth, WiFi, infrared ray or Zigbee association
View is connected to the intelligent terminal of the Intelligent agricultural machinery that version updating bag in LAN receives, and is filled by short range wireless communications
Put and carry out version updating bag transmission, it is preferable that use Zigbee protocol.
The update method of Intelligent agricultural machinery system based on Internet of Things the most according to claim 2, it is characterised in that also
Including step S10, in described short range wireless communications device, include the communication speed threshold value set, if a certain short-distance radio leads to
The intelligent terminal that news device is connected to has been connected with other short range wireless communications device and downlink transfer communication speed is less than logical
News threshold speed, then other intelligent terminal in the range of this short range wireless communications device re-searches for LAN.
4. a renewal system for Intelligent agricultural machinery system based on Internet of Things, including Intelligent agricultural machinery and host computer, its
It is characterised by,
Described Intelligent agricultural machinery has intelligent terminal, be provided with in described intelligent terminal version number's comparison module, update confirm should
Answer bag generation module, communication module, the erasing of Flash address module, version updating subpackage response bag generation module;
Described host computer includes communication module, version updating subpackage generation module, version updating subpackage judge module, version updating
Subpackage serial number gencration module, version updating divided stator frame time logging modle, version updating subpackage regenerate module.
The renewal system of Intelligent agricultural machinery system based on Internet of Things the most according to claim 4, it is characterised in that also
Including short range wireless communications device, in the intelligent terminal controller of described every Intelligent agricultural machinery, it is equipped with short range wireless communications
Device, is additionally provided with the difference threshold that short range wireless communications device starts in intelligent terminal, if host computer makes a reservation for enable at version
Time deducts the difference threshold that real-time time starts more than short range wireless communications device, then the intelligent terminal of Intelligent agricultural machinery continues
Continue and upper machine communication;If host computer deducts real-time time in version predetermined enabling time and fills less than or equal to short range wireless communications
Putting the difference threshold of startup, then start short range wireless communications device, short range wireless communications device uses bluetooth, WiFi, infrared ray
Or Zigbee protocol is connected to the intelligent terminal of the Intelligent agricultural machinery that version updating bag in LAN receives, pass through short distance
Wireless communication apparatus carries out version updating bag transmission.
The renewal system of Intelligent agricultural machinery system based on Internet of Things the most according to claim 5, it is characterised in that institute
The communication speed threshold value set is included in stating short range wireless communications device, if what a certain short range wireless communications device was connected to
Intelligent terminal has been connected with other short range wireless communications device and downlink transfer communication speed is less than communication speed threshold value, then should
Short range wireless communications device re-searches for other intelligent terminal in the range of LAN.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610717078.4A CN106130793A (en) | 2016-08-24 | 2016-08-24 | The update method of Intelligent agricultural machinery system based on Internet of Things and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610717078.4A CN106130793A (en) | 2016-08-24 | 2016-08-24 | The update method of Intelligent agricultural machinery system based on Internet of Things and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106130793A true CN106130793A (en) | 2016-11-16 |
Family
ID=57273913
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610717078.4A Pending CN106130793A (en) | 2016-08-24 | 2016-08-24 | The update method of Intelligent agricultural machinery system based on Internet of Things and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106130793A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111061255A (en) * | 2019-12-27 | 2020-04-24 | 山东国惠安创智能物联发展有限公司 | Control method and device of electric vehicle |
CN111316176A (en) * | 2017-08-01 | 2020-06-19 | 格兰集团电子设备有限公司 | Method for operating a user terminal of an agricultural machine and agricultural machine |
CN112913215A (en) * | 2018-08-31 | 2021-06-04 | 西门子股份公司 | Method and system for managing operations associated with objects on an IOT enabled device |
-
2016
- 2016-08-24 CN CN201610717078.4A patent/CN106130793A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111316176A (en) * | 2017-08-01 | 2020-06-19 | 格兰集团电子设备有限公司 | Method for operating a user terminal of an agricultural machine and agricultural machine |
CN112913215A (en) * | 2018-08-31 | 2021-06-04 | 西门子股份公司 | Method and system for managing operations associated with objects on an IOT enabled device |
CN112913215B (en) * | 2018-08-31 | 2024-04-16 | 西门子股份公司 | Method and system for managing operations associated with objects on IOT-enabled devices |
CN111061255A (en) * | 2019-12-27 | 2020-04-24 | 山东国惠安创智能物联发展有限公司 | Control method and device of electric vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103607456B (en) | A kind of method of the remote software upgrading of cluster mobile terminal | |
CN202475489U (en) | Wireless sensor network capable for updating program | |
DE102014012257B4 (en) | UPDATE MANAGEMENT | |
US8254351B2 (en) | Communication network and operating method for agricultural working machines | |
CN106130793A (en) | The update method of Intelligent agricultural machinery system based on Internet of Things and system | |
CN103532922B (en) | A kind of method for upgrading software version, Apparatus and system | |
CN101317476B (en) | Topological structure scanning method and scanning system | |
CN107835088A (en) | A kind of LoRa terminal devices over-the-air upgrade method and system | |
CN103874291A (en) | Power line carrier-based intelligent networking control system and method | |
JP6465937B1 (en) | Distribution apparatus and distribution method | |
CN102799448A (en) | Intelligent software upgrading method for vehicle-mounted terminal equipment | |
CN114340006A (en) | Method, system and equipment for wireless ad hoc network of sensor | |
CN110262820A (en) | Method, apparatus, system and storage medium based on MQTT protocol realization OTA upgrading | |
CN111552502A (en) | NB module upgrading method and device of intelligent equipment | |
CN105978975A (en) | Upgrading method and system for automobile function module | |
CN110825422A (en) | System for managing MCU version of intelligent household equipment | |
CN103476082B (en) | The implementation method that a kind of wireless sensor network of future generation builds | |
CN103873112A (en) | Intelligent power line carrier synchronous control method | |
CN108494688B (en) | A kind of Future Data network implementation approach of low-cost | |
CN105722117A (en) | Channel allocation method for wireless sensor network communication and router | |
CN105850162A (en) | Method and apparatus for sharing data quota | |
CN111417112B (en) | Distributed OTA gateway networking and terminal access method and OTA upgrading system | |
CN106453520A (en) | Wireless program downloading method of collecting node of Internet of Things monitoring system | |
CN109526017B (en) | Distributed small base station upgrading method and system | |
CN109889368B (en) | GPRS remote upgrading method based on STM32 controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161116 |