CN109669705A - A kind of method and system of programming firmware - Google Patents
A kind of method and system of programming firmware Download PDFInfo
- Publication number
- CN109669705A CN109669705A CN201811559218.5A CN201811559218A CN109669705A CN 109669705 A CN109669705 A CN 109669705A CN 201811559218 A CN201811559218 A CN 201811559218A CN 109669705 A CN109669705 A CN 109669705A
- Authority
- CN
- China
- Prior art keywords
- programming
- intelligent object
- firmware
- server
- wireless lan
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
Abstract
The present invention provides a kind of method and systems of programming firmware, this method comprises: wirelessly communicating firmware in advance for intelligent object programming, the firmware of at least two products is stored in server, the wireless communication firmware based on programming is established between intelligent object and server and is wirelessly connected;It determines the product identification of the affiliated product of intelligent object, and in the server, it is corresponding to programming firmware to search product identification;Intelligent object is downloaded by being wirelessly connected to programming firmware;Intelligent object by programming firmware belong to controller be sent to controller to programming firmware, firmware programming is carried out to intelligent object and controller.Scheme provided by the invention realizes being switched fast for programming firmware between different product.
Description
Technical field
The present invention relates to intellectual product technical field, in particular to a kind of method and system of programming firmware.
Background technique
Intellectual product is usually made of intelligent object and controller, and the two carries out data interaction by serial ports.Wherein, intelligence
Energy module is responsible for that the real-time status of controller is reported to given server or cloud etc. by internet, while will be from interconnection
The control command of net is issued to controller.And intelligent object and controller have been required to corresponding application program and have controlled to it
System, which is firmware of the programming on intelligent object and controller.
The mode of programming firmware is mainly at present, carries out programming according to predetermined programming plan, according to Market Feedback,
Need to adjust programming plan, then need to stop programming firmware, it is to be adjusted it is good after could continue programming.Such as: it is predetermined
Programming plan is, for product A programming firmware a1000 part, to be product B programming firmware b500 part, be first product A programming firmware a, to
It after the completion of product A programming firmware a, then is product B programming firmware b.And according to the market demand, need be by programming Plan rescheduling
Stop being product A programming firmware a, and be product B programming firmware b, then needs to stop entire programming process at this time, after adjustment
Programming plan redeploy.In addition, the programming of existing firmware is often completed in supply of material factory, if supply of material factory completes the supply of material,
Once production Plan rescheduling then needs to return factory and refreshes firmware again, time-consuming and laborious.
Therefore, the mode of existing this programming firmware cannot achieve being switched fast for programming firmware between different product.
Summary of the invention
The embodiment of the invention provides a kind of method and system of programming firmware, programming firmware between different product is realized
It is switched fast.
A kind of method of programming firmware wirelessly communicates firmware in advance for intelligent object programming, by consolidating at least two products
Part is stored in server, further includes:
The wireless communication firmware based on programming is established between the intelligent object and the server and is wirelessly connected;
It determines the product identification of the affiliated product of intelligent object, and in the server, it is corresponding to search the product identification
To programming firmware;
For the intelligent object by the wireless connection, downloading is described to programming firmware;
The intelligent object by it is described in programming firmware belong to controller be sent to the control to programming firmware
Device carries out firmware programming to the intelligent object and the controller.
Preferably, the above method further comprises: for first Wireless LAN of server construction, and by the first nothing
Entrance password, server ip address and the server end slogan of the service identifiers of line local area network, the first Wireless LAN
It is stored on producing line computer;
It establishes and is wirelessly connected between the intelligent object and the server, comprising:
After the intelligent object powers on, the intelligent object discharges the second wireless office using the MAC Address of itself as hot spot
Domain network;
The producing line computer is connected to second Wireless LAN, and by the service of first Wireless LAN
It identifies, enter password, the server ip address and the server end slogan of first Wireless LAN are sent
To the intelligent object;
According to the service identifiers of first Wireless LAN, the entrance password, institute of first Wireless LAN
Server ip address and the server end slogan are stated, the intelligent object is connected to first Wireless LAN, and
Connection is established with the server.
Preferably, the above method is produced applied to complete machine;Further comprise: when carrying out complete machine production, by intelligent mould
The fixed bit that block and controller are installed to complete machine postpones, and product identification is pasted onto the complete machine;
The product identification of the affiliated product of determining intelligent object, comprising: by being pasted in complete machine described in scanner scanning
The product identification, and the product identification is sent to the producing line computer, the producing line computer is by the product identification
It is sent to the intelligent object.
Preferably, the above method further comprises: it is postponed in the fixed bit that intelligent object and controller are installed to complete machine,
The corresponding MAC bar code of the MAC Address of the intelligent object is pasted onto the complete machine;
The producing line computer is connected to second Wireless LAN, comprising:
It is sent by the MAC bar code pasted in complete machine described in the scanner scanning, and by the MAC bar code
To the producing line computer;
According to the MAC bar code, the producing line computer searches the MAC Address of the intelligent object, and is connected to described
MAC Address.
Preferably, the above method further comprises: the intelligent object sends the firmware to the server in real time and burns
The current operation and programming progress write.
Preferably, the above method further comprises:
Complete machine is tested, the server is mark with the MAC bar code, records the test feelings of the complete machine
Condition;
Test result is marked on the server/by indicator light mode, it is right on the route of complete machine production
Test result is indicated.
Preferably, the above method further comprises:
At least twoth area are divided into the intelligent object, wherein the wireless communication firmware programming is described at least two
The firstth area in area, downloaded from the server belong to the intelligent object to the programming of programming firmware it is described at least
The secondth area in the area Liang Ge;
Belong to the intelligent object after the completion of programming firmware programming, programming result is verified, and will verification
As a result it is sent to the server, when verifying successfully, active flag is revised as secondth area from firstth area.
A kind of system of programming firmware, comprising: intelligent object, server and controller, wherein
The intelligent object, preparatory programming have wireless communication firmware, between the server establish be wirelessly connected, for from
On the server, download to programming firmware, by described to belong to being sent to programming firmware for controller in programming firmware
The controller, to itself and controller progress firmware programming;
The server determines the product identification of the affiliated product of intelligent object for storing the firmware of at least two products,
It is corresponding to programming firmware to search the product identification.
Preferably, above system further comprises: local area network constructs equipment and producing line computer, wherein the local area network
Equipment is constructed, for being first Wireless LAN of server construction;
The intelligent object is further used for after the power-up, using the MAC Address of itself as hot spot, discharges the second wireless office
Domain network, according to the service identifiers of the first Wireless LAN, the entrance password, server ip address of the first Wireless LAN
And server end slogan, it is connected to first Wireless LAN, and establish connection with the server;
The producing line computer, for store the service identifiers of the first Wireless LAN, the first Wireless LAN into
Enter password, server ip address and server end slogan;It is connected to second Wireless LAN, and by first nothing
The service identifiers of line local area network, first Wireless LAN enter password, the server ip address and described
Server end slogan is sent to the intelligent object.
Preferably, above system further comprises: machine system and scanner, wherein
The machine system, for when carrying out complete machine production, intelligent object and controller to be installed to consolidating for complete machine
Positioning is set, and the corresponding MAC bar code of the MAC Address of product identification and the intelligent object is pasted onto the complete machine;
The scanner, for scanning the product identification pasted in the complete machine and the MAC bar code, and by institute
It states product identification and the MAC bar code is sent to the producing line computer;
The producing line computer is further used for according to the MAC bar code, and the producing line computer searches the intelligent object
MAC Address, and be connected to the MAC Address, the product identification be sent to the intelligent object.
Preferably, the intelligent object is further used for sending the current of the firmware programming in real time to the server
Operation and programming progress.
Preferably, the intelligent object is further used for for itself being divided at least twoth area, wherein the wireless communication
Firstth area of the firmware programming at least twoth area, downloaded from the server belong to the intelligent object to
Secondth area of the programming firmware programming at least twoth area;Belonging to completing to programming firmware programming for the intelligent object
Afterwards, programming result is verified, and check results is sent to the server, when verifying successfully, by active flag from
It is revised as secondth area in firstth area.
The embodiment of the invention provides a kind of method and systems of programming firmware, by being in advance that intelligent object programming is wireless
Communication firmware, is stored in server for the firmware of at least two products, the wireless communication firmware based on programming, intelligent object and clothes
It is engaged in establishing wireless connection between device;It determines the product identification of the affiliated product of intelligent object, and in the server, searches product identification pair
Answer to programming firmware;Intelligent object is downloaded by being wirelessly connected to programming firmware;Intelligent object will be to the category in programming firmware
Be sent to controller to programming firmware in controller, firmware programming carried out to intelligent object and controller, above-mentioned lookup and under
It carries and is all based on the product identification of the affiliated product of intelligent object to programming firmware, before programming, which can root at any time
It is adjusted according to the programming plan of adjustment, and is according to product identification, product identification tune to the lookup of programming firmware and downloading
It after whole, is also correspondingly adjusted to programming firmware, realizes being switched fast for programming firmware between different product.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of the method for programming firmware provided by one embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the system for programming firmware that another embodiment of the present invention provides;
Fig. 3 is a kind of structural schematic diagram of the system for programming firmware that another embodiment of the present invention provides;
Fig. 4 is a kind of structural schematic diagram of the system for programming firmware that another embodiment of the present invention provides;
Fig. 5 is a kind of structural schematic diagram of the system for programming firmware that another embodiment of the present invention provides;
Fig. 6 is a kind of flow chart of the method for programming firmware that another embodiment of the present invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, this method may include following step the embodiment of the invention provides a kind of method of programming firmware
It is rapid:
Step 101: wirelessly communicating firmware in advance for intelligent object programming, the firmware of at least two products is stored in service
Device;
Step 102: the wireless communication firmware based on programming is established between intelligent object and server and is wirelessly connected;
Step 103: determining the product identification of the affiliated product of intelligent object, and in the server, it is corresponding to search product identification
To programming firmware;
Step 104: intelligent object is downloaded by being wirelessly connected to programming firmware;
Step 105: intelligent object by programming firmware belong to controller be sent to controller to programming firmware, it is right
Intelligent object and controller carry out firmware programming.
Wherein, firmware is wirelessly communicated for intelligent object programming in advance, which is applicable in all products,
Therefore, the appropriate products range that programming has the intelligent object of wireless communication firmware to will not influence intelligent object.
Wherein, product identification can be product ID a part, such as product A Serial No. AAAA123,
AAAA124, AAAA125 etc., product B Serial No. BBBB123, BBBB124, BBBB125 etc., which can characterize
Product, then the product identification of product A can be AAAA, and the product identification of product B can be BBBB.
It is to be appreciated that the firmware stored in the server is corresponding with product identification, then determining belonging to intelligent object
After the product identification of product, it is corresponding to programming firmware that product identification can be searched.Programming firmware is fast i.e. between realization different product
Speed, which switches, only needs change product identification in time, then can be according to programming plan or programming plan adjusted, conveying pair
The product identification of the affiliated product of the intelligent object answered can be realized, and whole process only needs to adjust the product identification of conveying, and nothing
It must stop production.
In the embodiment shown in fig. 1, by being in advance that intelligent object programming wirelessly communicates firmware, by least two products
Firmware be stored in server, the wireless communication firmware based on programming, between intelligent object and server establish be wirelessly connected;It determines
The product identification of the affiliated product of intelligent object, and in the server, it is corresponding to programming firmware to search product identification;Intelligent object
By being wirelessly connected, download to programming firmware;Intelligent object will be to belong to sending out to programming firmware for controller in programming firmware
Controller is given, firmware programming carried out to intelligent object and controller, above-mentioned lookup and downloading are all based on intelligence to programming firmware
The product identification of the energy affiliated product of module, before programming, which can be adjusted according to the programming plan of adjustment at any time
It is whole, and be according to product identification, after product identification adjustment, also correspondingly to programming firmware to the lookup of programming firmware and downloading
Adjustment realizes being switched fast for programming firmware between different product.
In an alternative embodiment of the invention, the above method further comprises: for the first Wireless LAN of server construction,
And the service identifiers of the first Wireless LAN, the first Wireless LAN are entered into password, server ip address and clothes
Business device port numbers are stored on producing line computer;It can should be constructed by router for the first Wireless LAN of server construction,
It can also be constructed by computer, when being constructed by computer, computer can will be produced as intermediary for intelligent object
Product mark issues computer, and then computer downloads corresponding firmware according to product identification from server, is then forwarded to intelligence
Module.
The specific embodiment of above-mentioned steps 102 can include: after intelligent object powers on, intelligent object is with the MAC of itself
Address is hot spot, discharges the second Wireless LAN, and producing line computer is connected to the second Wireless LAN, and by the first wireless office
The service identifiers of domain network, the entrance password of the first Wireless LAN, server ip address and the transmission of server end slogan
To intelligent object;According to the service identifiers of the first Wireless LAN, the entrance password, server ip of the first Wireless LAN
Address and server end slogan, intelligent object is connected to the first Wireless LAN, and establishes connection with server.Due to intelligence
Energy module cannot automatically search for the first Wireless LAN, then by intelligent object using the MAC Address of itself as hot spot, release
Second Wireless LAN, producing line computer are connected to the second Wireless LAN, and by the service mark of the first Wireless LAN
Know, enter password, server ip address and the server end slogan of the first Wireless LAN are sent to intelligent object, realization
Communication between intelligent object and server.Wherein, the hot spot of intelligent object release can be without encryption, to facilitate producing line electric
Brain is connected to the second Wireless LAN.
In addition, firmware programming method provided in an embodiment of the present invention is completed in the complete machine production process of product, i.e.,
Firmware programming can produce a part of route for the complete machine of product namely firmware programming can be used as a part of production,
Then programming firmware can need programming according to product, avoid because production Plan rescheduling leads to the case where refreshing firmware again
Occur, to effectively save production time and production cost.
In an alternative embodiment of the invention, the above method is produced applied to complete machine;Further comprise: carrying out complete machine production
When, it is postponed in the fixed bit that intelligent object and controller are installed to complete machine, product identification is pasted onto complete machine;The determination
The product identification of the affiliated product of intelligent object, comprising: by the product identification pasted in scanner scanning complete machine, and by product mark
Knowledge is sent to producing line computer, and product identification is sent to intelligent object by producing line computer.The process is realized in complete machine production process
Middle programming firmware since product identification such as product ID etc. is pasted onto the surface of complete machine, for example is product A programming firmware in advance,
Then product A sequence number is pasted onto complete machine.
In an alternative embodiment of the invention, realize that producing line computer is connected to the specific implementation of second Wireless LAN
Mode can be to postpone in the fixed bit that intelligent object and controller are installed to complete machine, and the MAC Address of intelligent object is corresponding
MAC bar code is pasted onto complete machine;It is sent to by the MAC bar code pasted in scanner scanning complete machine, and by MAC bar code
Producing line computer;According to MAC bar code, producing line computer searches the MAC Address of intelligent object, and is connected to MAC Address.
In an alternative embodiment of the invention, in order to monitor firmware programming situation, the above method further comprises: intelligence
Module sends the current operation and programming progress of firmware programming to the server in real time, the current operation of the firmware programming with
And programming progress can establish corresponding relationship with product ID, to facilitate the lookup to substandard product.
In an alternative embodiment of the invention, in order to monitoring firmware programming in real time as a result, not conforming to handle programming in time
The product of lattice, the above method further comprise: testing complete machine, server is mark with MAC bar code, records complete machine
Test case;Test result is marked on the server or by indicator light mode, it is right on the route of complete machine production
Test result is indicated.The test case for recording complete machine on the server, which facilitates, subsequent to be checked and manages.The indicator light can be with
It is installed in complete machine on the route that can also be installed on complete machine production.For example the bright characterization system test of red indicating light does not pass through,
The bright characterization test of green indicator light passes through, and the bright characterization of yellow indicator lamp is tested etc..
In an alternative embodiment of the invention, in order to be managed to intelligent object, the above method further comprises: right
Intelligent object is divided at least twoth area, wherein firstth area of the wireless communication firmware programming at least twoth area, under server
What is carried belongs to the secondth area to the programming of programming firmware at least twoth area of intelligent object;Belong to intelligent object to
After the completion of programming firmware programming, programming result is verified, and check results are sent to server, when verifying successfully,
Active flag is revised as the secondth area from the firstth area.I.e. after the completion of programming, intelligent object starting then starts from the secondth area, if
There is no the good then intelligent object of programming still to start from the firstth area, programming again can be carried out.
As shown in Fig. 2, the embodiment of the present invention provides a kind of system of programming firmware, comprising: intelligent object 201, server
202 and controller 203, wherein
Intelligent object 201, preparatory programming have wireless communication firmware, establish and are wirelessly connected between server 202, are used for from clothes
Be engaged on device 202, downloading to programming firmware, by programming firmware belong to controller 203 be sent to control to programming firmware
Device 203, to itself and the progress firmware programming of controller 203;
Server 202 determines the product mark of product belonging to intelligent object 201 for storing the firmware of at least two products
Know, it is corresponding to programming firmware to search product identification.
In an alternative embodiment of the invention, as shown in figure 3, above system further comprises: local area network construct equipment 301 with
And producing line computer 302, wherein
Local area network constructs equipment 301, for constructing the first Wireless LAN for server 202;
Intelligent object 201 is further used for after the power-up, using the MAC Address of itself as hot spot, discharges the second wireless local area
Network, according to the service identifiers of the first Wireless LAN, the first Wireless LAN enter password, server ip address with
And server end slogan, it is connected to the first Wireless LAN, and establish connection with server;
Producing line computer 302, the entrance of service identifiers, the first Wireless LAN for storing the first Wireless LAN
Password, server ip address and server end slogan;It is connected to the second Wireless LAN, and by the first Wireless LAN
Service identifiers, the first Wireless LAN enter password, the server ip address and the server end slogan hair
Give intelligent object 201.
In an alternative embodiment of the invention, as shown in figure 4, above system further comprises: machine system 401 and scanner
402, wherein
The machine system 401, for being installed to by intelligent object 201 and controller 203 when carrying out complete machine production
The fixation position of complete machine, and the corresponding MAC bar code of the MAC Address of product identification and intelligent object 201 is pasted onto complete machine;
Scanner 402, for scanning the product identification pasted in complete machine and MAC bar code, and by product identification and MAC item
Shape code is sent to producing line computer 302;
Producing line computer 302 is further used for searching the MAC Address of intelligent object 201 according to MAC bar code, and is connected to
Product identification is sent to intelligent object 201 by MAC Address.
In an alternative embodiment of the invention, intelligent object 201 are further used for sending firmware burning in real time to server 202
The current operation and programming progress write.
In an alternative embodiment of the invention, intelligent object 201 are further used for for itself being divided at least twoth area, wherein
Wirelessly communicate firstth area of the firmware programming at least twoth area, what is downloaded from server 202 belongs to intelligent object 201
To secondth area of the programming firmware programming at least twoth area;Belong to intelligent object 201 after the completion of programming firmware programming,
Programming result is verified, and check results are sent to server 202, when verifying successfully, by active flag from first
It is revised as the secondth area in area.
In order to clearly demonstrate programming firmware system programming firmware detailed process, the burning provided below with Fig. 5
The system of firmware is write in carrying out complete machine production process, is that product A programming firmware is switched to carry out for product B programming firmware
Illustrate, as shown in fig. 6, the method for the programming firmware may comprise steps of:
Step 600: intelligent object is divided at least twoth area in advance, by wireless communication firmware programming in the firstth area, and will
Active flag mark is in the firstth area;
Step 601: the firmware of at least two products is stored in server;
The wireless communication firmware enables intelligent object and other equipment primarily in subsequent programming firmware process
Between establish wireless communication, specific implementation wireless communication mode will be described in detail in the next steps.
Step 602: for the first Wireless LAN of server construction, and by the service identifiers of the first Wireless LAN,
Enter password, server ip address and the server end slogan of first Wireless LAN are stored on producing line computer;
As shown in figure 5, being that server 502 constructs the first Wireless LAN by router 504, by the first wireless local area
The service identifiers of network, the first Wireless LAN enter password, server ip address and server end slogan are stored in
On producing line computer 505, storing process can be stored taking human as the mode of input.Furthermore it is also possible to pass through a computer
The first Wireless LAN of direct construction needs the firmware for storing server to download to the computer before being produced
Interior, then subsequent intelligent object can be communicated directly with the computer, such situation and server category seemingly, subsequent step directly with
It is illustrated for server.
Step 603: test result indicator light is disposed on complete machine production line road;
Such as: deployment red indicating light, yellow indicator lamp and green indicator light can set the bright rule of indicator light, than
When such as the system test result of a complete firmware of programming is qualified, green indicator light is bright, and the complete machine of a complete firmware of programming is being surveyed
During examination, then yellow indicator lamp is bright, and when the system test result of a complete firmware of programming is unqualified, red indicating light is bright.
Above-mentioned steps 601 to step 603 be carry out programming or production before it is pre-set, below will by from for production
Product A programming firmware is switched to as product B programming firmware specification detailed process.
Step 604: in complete machine production, postponing, will produce in the fixed bit that intelligent object and controller are installed to complete machine
The product ID of product A and the MAC bar code of intelligent object are pasted onto complete machine, identify product A's by scanner scanning
Product ID and MAC bar code are established between intelligent object and server and are wirelessly connected, and are product A programming firmware;
The MAC bar code is corresponding with the MAC Address of intelligent object.It establishes and is wirelessly connected between intelligent object and server,
It is consistent with the process for product B programming firmware for the detailed process of product A programming firmware, it will be explained in detail below, herein not
It repeats again.
Step 605: in complete machine production, postponed in the fixed bit that intelligent object and controller are installed to complete machine, according to
The MAC bar code of the product ID of product B and intelligent object is pasted onto complete machine by the programming plan of adjustment;
As shown in figure 5, intelligent object 501 and controller 503 to be installed to the fixed bit of complete machine in machine system 506
It sets, the MAC bar code of the product ID of product B and intelligent object 501 is pasted onto complete machine.
Step 606: by the product ID and MAC bar code of the product B pasted in scanner scanning complete machine;
As shown in figure 5, scanner 507 is connect with machine system 506, after the triggering to receive machine system 506, in real time
It is scanned across the complete machine of its scanning area, to obtain the product ID and MAC bar code of the product B pasted in complete machine.
Step 607: the product ID of product B and MAC bar code are sent to producing line computer by scanner;
As shown in figure 5, the product ID of product B and MAC bar code are sent to producing line computer 505 by scanner 507.
Step 608: after intelligent object powers on, intelligent object discharges the second wireless office using the MAC Address of itself as hot spot
Domain network;
Second Wireless LAN with producing line computer primarily to communicated, to get the first WLAN
The link information of the network such as service identifiers of the first Wireless LAN, the first Wireless LAN enter password, server ip
Address and server end slogan and product identification.
Above-mentioned steps 606 are not to having strict sequence that can also synchronously complete between step 608, the embodiment of the present invention
The only one of sequence provided.
Step 609: according to MAC bar code, producing line computer searches the MAC Address of intelligent object, and is connected to MAC Address,
Realize that producing line computer is connected to the second Wireless LAN;
Step 610: producing line computer by the service identifiers of the first Wireless LAN, the first Wireless LAN into close
Code, server ip address, server end slogan and product B product ID be sent to intelligent object;
As shown in figure 5, the connection between producing line computer 505 and intelligent object 501, is discharged by intelligent object 501
What the second Wireless LAN that hot spot is emerged constructed.
Step 611: according to the service identifiers of the first Wireless LAN, entrance password, the clothes of the first Wireless LAN
Business device IP address and server end slogan, intelligent object are connected to the first Wireless LAN;
Step 612: intelligent object sends the request for carrying the product ID of product B to server, in the server,
The product ID for searching product B is corresponding to programming firmware;
Step 613: intelligent object from server, downloading product B to programming firmware;
Step 614: downloaded from server belong to intelligent object to the programming of programming firmware in the secondth area;
Step 615: intelligent object by programming firmware belong to controller be sent to controller to programming firmware, and
Programming firmware;
In this step, by serial communication between intelligent object and controller, intelligent object requests the firmware to controller
Afterwards, it is communicated using the default baud rate of serial ports with controller, negotiates to improve serial port baud rate, firmware is sent to terminal control
Device, then, serial port baud rate restore to default value, can effectively improve firmware efficiency of transmission.
Wherein, there is no strict sequence between step 614 and step 615.
Step 616: programming result being verified, and check results are sent to server, when verifying successfully, will be opened
Dynamic mark is revised as the secondth area from the firstth area;
Step 617: intelligent object sends the current operation and programming progress of firmware programming to server in real time;
Step 618: complete machine being tested, server is mark with MAC bar code, records the test case of complete machine;?
Test result is marked on server;
Step 619: by indicator light mode, test result being indicated on the route of complete machine production.
The contents such as each equipment in above system or the information exchange between module, implementation procedure, due to side of the present invention
Method embodiment is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
The embodiment of the invention provides a kind of readable mediums, including execute instruction, when the processor of storage control executes
Described when executing instruction, the storage control executes the method that any of the above-described embodiment of the present invention provides.
The embodiment of the invention provides a kind of storage controls, comprising: processor, memory and bus;The memory
It is executed instruction for storing, the processor is connect with the memory by the bus, when the storage control is run
When, the processor executes the described of memory storage and executes instruction, so that the storage control executes in the present invention
The method that any embodiment offer is provided.
In conclusion more than the present invention each embodiment at least has the following beneficial effects:
1, in embodiments of the present invention, by being in advance that intelligent object programming wirelessly communicates firmware, by least two products
Firmware be stored in server, the wireless communication firmware based on programming, between intelligent object and server establish be wirelessly connected;It determines
The product identification of the affiliated product of intelligent object, and in the server, it is corresponding to programming firmware to search product identification;Intelligent object
By being wirelessly connected, download to programming firmware;Intelligent object will be to belong to sending out to programming firmware for controller in programming firmware
Controller is given, firmware programming carried out to intelligent object and controller, above-mentioned lookup and downloading are all based on intelligence to programming firmware
The product identification of the energy affiliated product of module, before programming, which can be adjusted according to the programming plan of adjustment at any time
It is whole, and be according to product identification, after product identification adjustment, also correspondingly to programming firmware to the lookup of programming firmware and downloading
Adjustment realizes being switched fast for programming firmware between different product.
2, in embodiments of the present invention, by for the first Wireless LAN of server construction, and by the first wireless local area
The service identifiers of network, the first Wireless LAN enter password, server ip address and server end slogan are stored in
On producing line computer;After intelligent object powers on, intelligent object discharges the second Wireless LAN using the MAC Address of itself as hot spot;
Producing line computer is connected to the second Wireless LAN, and by the service identifiers of the first Wireless LAN, the first WLAN
Enter password, the server ip address and the server end slogan of network are sent to intelligent object;It is wireless according to first
Entrance password, server ip address and the server end slogan of the service identifiers of local area network, the first Wireless LAN, intelligence
Energy module is connected to the first Wireless LAN, which not only realizes the connection between intelligent object and server, but also
Since intelligent object needs just set up the connection between server by entering password, and producing line computer and intelligent object
Between communication is only limitted to send the service identifiers of the first Wireless LAN, the first Wireless LAN enters password, service
The information such as device IP address and server end slogan, ensure that the safety of connection procedure.
3, scheme provided in an embodiment of the present invention can be applied in complete machine production, avoid caused by installing after first programming
The generation of intelligent object and controller setup error.
4, in the embodiment of the present invention, by being postponed in the fixed bit that intelligent object and controller are installed to complete machine, by intelligence
The corresponding MAC bar code of MAC Address of energy module is pasted onto complete machine;Pass through the MAC bar shaped pasted in scanner scanning complete machine
Code, and MAC bar code is sent to producing line computer;According to MAC bar code, producing line computer searches the MAC Address of intelligent object, and
It is connected to MAC Address, realizes intelligent connection.
5, in the embodiment of the present invention, intelligent object to the server send in real time the current operation of the firmware programming with
And programming progress, realize the monitoring and management to programming process.
6, in the embodiment of the present invention, complete machine is tested, the server is mark, record with the MAC bar code
The test case of the complete machine;Test result is marked on the server/by indicator light mode, it is produced in the complete machine
Route on test result is indicated, realize and complete machine tested, monitored in real time and is managed.
7, in the embodiment of the present invention, at least twoth area are divided into intelligent object, wherein wireless communication firmware programming is at least
The firstth area in the area Liang Ge, belong to from server downloads intelligent object to the programming of programming firmware at least twoth area
The secondth area;Belong to intelligent object after the completion of programming firmware programming, programming result is verified, and by check results
It is sent to server, when verifying successfully, active flag is revised as the secondth area from the firstth area, ensure that intelligent object is normal
Starting.
8, in the embodiment of the present invention, pass through serial communication, intelligent object request to controller between intelligent object and controller
Firmware after, communicated using the default baud rate of serial ports with controller, negotiate improve serial port baud rate, firmware is sent to terminal
Controller, then, serial port baud rate restore to default value, can effectively improve firmware efficiency of transmission.
9, firmware programming method provided in an embodiment of the present invention is completed in the complete machine production process of product, i.e. firmware
Programming can be a part on product line road namely firmware programming can be used as a part that product complete machine produces, then programming
Firmware can need programming according to product, avoid because production Plan rescheduling leads to the generation for the case where refreshing firmware again,
To effectively save production time and production cost.
It should be noted that, in this document, such as first and second etc relational terms are used merely to an entity
Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation
Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non-
It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements,
It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment
Some elements.In the absence of more restrictions, the element limited by sentence " including one ", is not arranged
Except there is also other identical factors in the process, method, article or apparatus that includes the element.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
In the various media that can store program code such as disk.Finally, it should be noted that the foregoing is merely a prefered embodiment of the invention,
It is only used to illustrate the technical scheme of the present invention, is not intended to limit the scope of the present invention.It is all in spirit and original of the invention
Any modification, equivalent substitution, improvement and etc. done within then, are included within the scope of protection of the present invention.
Claims (10)
1. a kind of method of programming firmware, which is characterized in that firmware is wirelessly communicated in advance for intelligent object programming, by least two
The firmware of product is stored in server, further includes:
The wireless communication firmware based on programming is established between the intelligent object and the server and is wirelessly connected;
Determine the product identification of the affiliated product of intelligent object, and in the server, search the product identification it is corresponding to
Programming firmware;
For the intelligent object by the wireless connection, downloading is described to programming firmware;
The intelligent object by it is described in programming firmware belong to controller be sent to the controller to programming firmware, it is right
The intelligent object and the controller carry out firmware programming.
2. the method according to claim 1, wherein
Further comprise: for first Wireless LAN of server construction, and by the service mark of the first Wireless LAN
Know, enter password, server ip address and the server end slogan of the first Wireless LAN are stored on producing line computer;
It establishes and is wirelessly connected between the intelligent object and the server, comprising:
After the intelligent object powers on, the intelligent object discharges the second WLAN using the MAC Address of itself as hot spot
Network;
The producing line computer is connected to second Wireless LAN, and by the service mark of first Wireless LAN
Know, enter password, the server ip address and the server end slogan of first Wireless LAN are sent to
The intelligent object;
According to the service identifiers of first Wireless LAN, the entrance password, the clothes of first Wireless LAN
Be engaged in device IP address and the server end slogan, the intelligent object is connected to first Wireless LAN, and with institute
It states server and establishes connection.
3. according to the method described in claim 2, being produced it is characterized in that, being applied to complete machine;
Further comprise: when carrying out complete machine production, being postponed in the fixed bit that intelligent object and controller are installed to complete machine, it will
Product identification is pasted onto the complete machine;
The product identification of the affiliated product of determining intelligent object, comprising: pass through the institute pasted in complete machine described in scanner scanning
Product identification is stated, and the product identification is sent to the producing line computer, the producing line computer sends the product identification
To the intelligent object.
4. according to the method described in claim 3, it is characterized in that,
Further comprise: being postponed in the fixed bit that intelligent object and controller are installed to complete machine, by the MAC of the intelligent object
The corresponding MAC bar code in address is pasted onto the complete machine;
The producing line computer is connected to second Wireless LAN, comprising:
Institute is sent to by the MAC bar code pasted in complete machine described in the scanner scanning, and by the MAC bar code
State producing line computer;
According to the MAC bar code, the producing line computer searches the MAC Address of the intelligent object, and with being connected to the MAC
Location.
5. the method according to claim 1, wherein further comprising:
The intelligent object sends the current operation and programming progress of the firmware programming to the server in real time.
6. according to the method described in claim 3, it is characterized in that, further comprising:
Complete machine is tested, the server is mark with the MAC bar code, records the test case of the complete machine;
Test result is marked on the server/by indicator light mode, to test on the route of complete machine production
As a result it is indicated.
7. method according to any one of claims 1 to 6, which is characterized in that further comprise:
At least twoth area are divided into the intelligent object, wherein the wireless communication firmware programming is at least twoth area
The firstth area, downloaded from the server belong to the intelligent object to the programming of programming firmware described at least two
The secondth area in area;
Belong to the intelligent object after the completion of programming firmware programming, programming result is verified, and by check results
It is sent to the server, when verifying successfully, active flag is revised as secondth area from firstth area.
8. a kind of system of programming firmware characterized by comprising intelligent object, server and controller, wherein
The intelligent object, preparatory programming have wireless communication firmware, establish and are wirelessly connected between the server, are used for from described
On server, downloading to programming firmware, by it is described in programming firmware to belong to being sent to programming firmware for controller described
Controller, to itself and controller progress firmware programming;
The server determines the product identification of the affiliated product of intelligent object, searches for storing the firmware of at least two products
The product identification is corresponding to programming firmware.
9. system according to claim 8, which is characterized in that further comprise: local area network constructs equipment and producing line electricity
Brain, wherein
The local area network constructs equipment, for being first Wireless LAN of server construction;
The intelligent object is further used for after the power-up, using the MAC Address of itself as hot spot, discharges the second WLAN
Network, according to the service identifiers of the first Wireless LAN, the first Wireless LAN enter password, server ip address and
Server end slogan is connected to first Wireless LAN, and establishes connection with the server;
The producing line computer, for store the service identifiers of the first Wireless LAN, the first Wireless LAN into close
Code, server ip address and server end slogan;It is connected to second Wireless LAN, and by the described first wireless office
Entrance password, the server ip address and the service of the service identifiers of domain network, first Wireless LAN
Device port numbers are sent to the intelligent object.
10. system according to claim 9, which is characterized in that
Further comprise: machine system and scanner, wherein
The machine system is used for when carrying out complete machine production, in the fixed bit that intelligent object and controller are installed to complete machine
It sets, and the corresponding MAC bar code of the MAC Address of product identification and the intelligent object is pasted onto the complete machine;
The scanner, for scanning the product identification pasted in the complete machine and the MAC bar code, and by the production
Product mark and the MAC bar code are sent to the producing line computer;
The producing line computer is further used for searching the MAC Address of the intelligent object, and connect according to the MAC bar code
To the MAC Address, the product identification is sent to the intelligent object;
And/or
The intelligent object is further used for sending current operation and the programming of the firmware programming in real time to the server
Progress;
And/or
The intelligent object is further used for for itself being divided at least twoth area, wherein the wireless communication firmware programming is in institute
State the firstth area at least twoth area, downloaded from the server belong to the intelligent object to programming firmware programming
The secondth area at least twoth area;Belong to the intelligent object after the completion of programming firmware programming, to programming knot
Fruit is verified, and check results are sent to the server, and when verifying successfully, active flag is repaired from firstth area
It is changed to secondth area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811559218.5A CN109669705B (en) | 2018-12-19 | 2018-12-19 | Method and system for programming firmware |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811559218.5A CN109669705B (en) | 2018-12-19 | 2018-12-19 | Method and system for programming firmware |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109669705A true CN109669705A (en) | 2019-04-23 |
CN109669705B CN109669705B (en) | 2021-09-03 |
Family
ID=66145169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811559218.5A Active CN109669705B (en) | 2018-12-19 | 2018-12-19 | Method and system for programming firmware |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109669705B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109213500A (en) * | 2018-09-18 | 2019-01-15 | 四川爱联科技有限公司 | Internet of Things mould group firmware management system |
CN110262814A (en) * | 2019-06-27 | 2019-09-20 | 重庆京东方智慧电子系统有限公司 | A kind of programming system and method for burn-recording |
CN110597523A (en) * | 2019-08-08 | 2019-12-20 | 深圳优地科技有限公司 | Board card firmware burning method, device and system, board card and terminal equipment |
CN110958333A (en) * | 2020-02-25 | 2020-04-03 | 湖南中车时代通信信号有限公司 | File acquisition method and device |
CN111262910A (en) * | 2020-01-09 | 2020-06-09 | 杭州涂鸦信息技术有限公司 | Wireless equipment firmware protection method and system |
CN111585847A (en) * | 2020-05-21 | 2020-08-25 | 四川虹美智能科技有限公司 | Detection system and method |
CN111913726A (en) * | 2020-08-13 | 2020-11-10 | 合肥美菱物联科技有限公司 | Refrigerator control software online programming system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030023962A1 (en) * | 2001-07-30 | 2003-01-30 | Erickson Michael John | Method for just-in-time updating of programming parts |
CN102541582A (en) * | 2010-12-30 | 2012-07-04 | 上海三旗通信科技股份有限公司 | Optimization method for firmware updating based on high-pass baseband chip |
CN105259834A (en) * | 2015-10-28 | 2016-01-20 | 华中科技大学 | Mobile phone data collection controller and method with reconfigurable firmware |
CN106301910A (en) * | 2016-08-12 | 2017-01-04 | 深圳市双驰科技有限公司 | The programming system of a kind of WiFi equipment and method thereof |
CN106909421A (en) * | 2017-02-22 | 2017-06-30 | 福建魔方电子科技有限公司 | A kind of safe financial POS machine firmware upgrade method |
-
2018
- 2018-12-19 CN CN201811559218.5A patent/CN109669705B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030023962A1 (en) * | 2001-07-30 | 2003-01-30 | Erickson Michael John | Method for just-in-time updating of programming parts |
CN102541582A (en) * | 2010-12-30 | 2012-07-04 | 上海三旗通信科技股份有限公司 | Optimization method for firmware updating based on high-pass baseband chip |
CN105259834A (en) * | 2015-10-28 | 2016-01-20 | 华中科技大学 | Mobile phone data collection controller and method with reconfigurable firmware |
CN106301910A (en) * | 2016-08-12 | 2017-01-04 | 深圳市双驰科技有限公司 | The programming system of a kind of WiFi equipment and method thereof |
CN106909421A (en) * | 2017-02-22 | 2017-06-30 | 福建魔方电子科技有限公司 | A kind of safe financial POS machine firmware upgrade method |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109213500A (en) * | 2018-09-18 | 2019-01-15 | 四川爱联科技有限公司 | Internet of Things mould group firmware management system |
CN109213500B (en) * | 2018-09-18 | 2022-04-22 | 四川爱联科技股份有限公司 | Internet of things module firmware management system |
CN110262814A (en) * | 2019-06-27 | 2019-09-20 | 重庆京东方智慧电子系统有限公司 | A kind of programming system and method for burn-recording |
CN110597523A (en) * | 2019-08-08 | 2019-12-20 | 深圳优地科技有限公司 | Board card firmware burning method, device and system, board card and terminal equipment |
CN111262910A (en) * | 2020-01-09 | 2020-06-09 | 杭州涂鸦信息技术有限公司 | Wireless equipment firmware protection method and system |
CN111262910B (en) * | 2020-01-09 | 2022-11-15 | 杭州涂鸦信息技术有限公司 | Wireless equipment firmware protection method and system |
CN110958333A (en) * | 2020-02-25 | 2020-04-03 | 湖南中车时代通信信号有限公司 | File acquisition method and device |
CN111585847A (en) * | 2020-05-21 | 2020-08-25 | 四川虹美智能科技有限公司 | Detection system and method |
CN111913726A (en) * | 2020-08-13 | 2020-11-10 | 合肥美菱物联科技有限公司 | Refrigerator control software online programming system |
Also Published As
Publication number | Publication date |
---|---|
CN109669705B (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109669705A (en) | A kind of method and system of programming firmware | |
CN106055373A (en) | Automatic batch upgrading device and method for unmanned aerial vehicle firmware | |
CN107659434A (en) | A kind of automatic test approach of Devices to test, apparatus and system | |
CN107787467A (en) | Building automation system with the intelligent Communication Controllers for building equipment | |
CN106951966A (en) | Device management method and system | |
CN106716926B (en) | Automated stand-alone boot circuit for hardware inventory | |
WO2022017256A1 (en) | Device binding method and apparatus | |
CN102427445B (en) | Safe auditing method of IT simulation infrastructure offline compliance | |
CN107094091B (en) | A kind of intelligent substation station level network configuration method of calibration and system | |
CN103139017B (en) | The test system and method for a kind of network equipment | |
CN107682202A (en) | The management method and device of the network equipment | |
CN106254093A (en) | A kind of automatic test restorative procedure and system thereof | |
CN109284140A (en) | Configuration method and relevant device | |
CN107580040A (en) | The method and apparatus that a kind of communication module in intelligent household terminal upgrades | |
CN108900378A (en) | A kind of router switch machine automated testing method and system | |
CN108399303A (en) | A kind of analogy method and device of charging pile | |
CN107453954A (en) | A kind of Networked E-Journals method, system and equipment | |
CN105391566B (en) | A kind of method and device that dynamic network equipments configuration compares | |
CN108763098A (en) | A kind of internal storage data processing test system | |
KR102133159B1 (en) | Training simulation system of distribution network | |
CN111405004B (en) | Switch management method and device, equipment and storage medium | |
CN107105037A (en) | A kind of distributed video CDN resource management systems and method based on file verification | |
CN107364140A (en) | For more 3D printer initial parameter configurations and the method and system of Function detection | |
CN108197680A (en) | A kind of product test method, apparatus and system | |
CN104768179A (en) | Monitoring system and monitoring method of access control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |