CN106502722A - A kind of method and device of electronic atomization device control system upgrading - Google Patents

A kind of method and device of electronic atomization device control system upgrading Download PDF

Info

Publication number
CN106502722A
CN106502722A CN201610854890.1A CN201610854890A CN106502722A CN 106502722 A CN106502722 A CN 106502722A CN 201610854890 A CN201610854890 A CN 201610854890A CN 106502722 A CN106502722 A CN 106502722A
Authority
CN
China
Prior art keywords
atomization device
electronic atomization
intelligent terminal
control system
data
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
Application number
CN201610854890.1A
Other languages
Chinese (zh)
Inventor
姚浩锋
何旻倡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Grand Orient Technology (shenzhen) Co Ltd
Hengsen International Group Ltd
Shenzhen Hangsen Star Technology Co Ltd
Original Assignee
Grand Orient Technology (shenzhen) Co Ltd
Hengsen International Group Ltd
Shenzhen Hangsen Star Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Grand Orient Technology (shenzhen) Co Ltd, Hengsen International Group Ltd, Shenzhen Hangsen Star Technology Co Ltd filed Critical Grand Orient Technology (shenzhen) Co Ltd
Priority to CN201610854890.1A priority Critical patent/CN106502722A/en
Publication of CN106502722A publication Critical patent/CN106502722A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of method and device of electronic atomization device control system upgrading, a kind of method of electronic atomization device control system upgrading includes:Electronic atomization device receives the upgrade command from intelligent terminal by upgraded module, and upgraded module is used for being communicated between electronic atomization device and intelligent terminal in escalation process;After electronic atomization device receives upgrade command, judge whether the program of current operation is boot program;If the program of current operation is boot program, warning order is sent to intelligent terminal by upgraded module, so that intelligent terminal sends upgrading data based on warning order to electronic atomization device;Electronic atomization device receives upgrading data by upgraded module, and electronic atomization device is upgraded according to upgrading data.The embodiment of the present invention can simplify the operating process of electronic atomization device control system upgrading, reduce the upgrade cost of electronic atomization device, improve Consumer's Experience.

Description

A kind of method and device of electronic atomization device control system upgrading
Technical field
The present invention relates to computer communication field, more particularly to a kind of method of electronic atomization device control system upgrading and Device.
Background technology
Current electronic atomising device product category is more and more, and function is also more perfect, customer personalized fixed in order to meet The requirement of system, it usually needs control of product system is upgraded.In current upgrade method, using electronic atomization device The burning interface that MCU (memory control unit, memory control unit) is carried is upgraded, and this method operation is multiple Miscellaneous and need to dismantle product casing, also need burning just to be carried out using the replication tool of specialty to complete to upgrade, increase The maintenance cost of electronic atomization device is added, the bad experience of cause the user.
Content of the invention
The embodiment of the present invention provides a kind of method and device of electronic atomization device control system upgrading, it is achieved that online liter The control system of level electronic atomization device, easy to operate.
In a first aspect, the invention provides a kind of method of electronic atomization device control system upgrading, it is characterised in that bag Include:
Electronic atomization device receives the upgrade command from intelligent terminal by upgraded module, and the upgraded module is used for Communicated between electronic atomization device described in escalation process and the intelligent terminal;
After the electronic atomization device receives the upgrade command, judge whether the program of current operation is boot journeys Sequence;
If the program of current operation is boot program, is sent to the intelligent terminal by the upgraded module and prepare life Order, so that the intelligent terminal sends upgrading data based on the warning order to the electronic atomization device;
The electronic atomization device receives the upgrading data by the upgraded module, and according to the upgrading data pair The electronic atomization device is upgraded.
Preferably, after the electronic atomization device receives the upgrade command, if the program of current operation is not Boot program, the electronic atomization device jump to boot program, then are sent to the intelligent terminal by the upgraded module Warning order, so that the intelligent terminal sends upgrading data based on the warning order to the electronic atomization device.
Preferably, the electronic atomization device is upgraded specially according to the upgrading data:
Wipe the control system program storage area of the electronic atomization device;
The control system program storage area of the electronic atomization device that upgrading data Cun Chudao have been wiped.
Preferably, the communication format between the electronic atomization device and the intelligent terminal includes:Frame head, instruction part Point, data division, check part and postamble, wherein,
The frame head includes the mark of the first code presupposition and the upgraded module, and wherein, first code presupposition is used for Represent the beginning of the packet of communication between the electronic atomization device and the intelligent terminal;
The command component includes order guidance code and order, and wherein, the order guidance code is used for representing the life It is the order after making guidance code, the order is used for identifying and communicate between the electronic atomization device and the intelligent terminal Packet be upgrade command packet, warning order packet, the one kind in upgrading data packet three;
The data division includes data guidance code and data, and wherein, the data guidance code is used for representing the number According to being the data after guidance code;
The check part includes verifying guidance code and check code, wherein, verifies described in the verification guiding representation It is the check code after guidance code, whether the check code is used for upgrading data that electronic atomization device inspection receives Correctly;
The postamble includes that the second code presupposition, second code presupposition are used for representing the electronic atomization device with the intelligence The end of the packet of the communication between energy terminal.
Preferably, the check code is calculated according to the mark of the upgraded module, order, data.
Preferably, the mark of the upgraded module, order, data, the coded format of check code are:The upgraded module Mark, order, each byte in data are split as high A positions and the byte of low B positions two, and high A gts A positions form low A Bit byte C, low B positions originally keep constant;Byte C forms byte M plus default interpolation code, and byte B is added Default interpolation code forms byte N, and the default low D positions for adding code are that zero, D is more than or equal to one of maximum in A and B Individual, after the completion of coding, M is sent first, N is retransmited.
Preferably, the electronic atomization device escalation process because of the electronic atomization device or the intelligent terminal Communicating interrupt between power-off, or the electronic atomization device and the intelligent terminal and interrupt, also, data receiver of upgrading When imperfect, in the power supply of the electronic atomization device or the intelligent terminal, and the electronic atomization device and described After communication between intelligent terminal recovers, re-execute the electronic atomization device and receive the upgrading from the intelligent terminal The step of instruction.
Preferably, also include after being upgraded to the electronic atomization device according to the upgrading data:
The electronic atomization device jumps to operation control system program;
If electronic atomization device described in operation control system program process crashes, multiple in the electronic atomization device Position, also, receive user's Trigger Function key so that the electronic atomization device rest on operation boot areas trigger message it Afterwards, then re-execute the electronic atomization device by upgraded module receive from the intelligent terminal upgrade command step Suddenly;
If operation control system program success, the electronic atomization device control system are upgraded successfully.
Second aspect present invention provides a kind of device of electronic atomization device control system upgrading, including:
Upgraded module, for receiving the upgrade command from the intelligent terminal;
Detection module, receives after the upgrade command for the upgraded module, whether judges the current program that runs For boot program;
The upgraded module is additionally operable to, and when the program that currently runs is boot program, sends to the intelligent terminal accurate Standby order, so that the intelligent terminal sends upgrading data based on the warning order to the electronic atomization device.
The upgraded module is additionally operable to, and receives the upgrading data.
Preferably, described device also includes:
Jump module, for after the electronic atomization device receives the upgrade command, if the journey of current operation Sequence is not boot program, jumps to boot program.
Preferably, described device also includes:
Erasing module, for wiping the control system program storage area of the electronic atomization device;
Memory module, for by the electricity that has been wiped from upgrading data Cun Chudao of the intelligent terminal for receiving The control system program storage area of sub- atomising device;
The jump module is additionally operable to, and deposits the upgrading data from the intelligent terminal for receiving in the memory module After storing up the control system program storage area of the electronic atomization device that has wiped, operation control system program is jumped to.
In the embodiment of the present invention, electronic atomization device is upgraded by the upgrading data of wireless receiving intelligent terminal, nothing Need to be dismantled, and can just complete to upgrade using intelligent terminal, the operation of electronic atomization device control system upgrading can be simplified Flow process, reduces the upgrade cost of electronic atomization device, improves Consumer's Experience.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the method for electronic atomization device control system upgrading provided in an embodiment of the present invention.
Fig. 2 is the schematic diagram of communication format between electronic atomization device provided in an embodiment of the present invention and intelligent terminal.
Fig. 3 is the flow chart of the method for another kind of electronic atomization device control system upgrading provided in an embodiment of the present invention.
Fig. 4 is the flow chart of the method for another kind of electronic atomization device control system upgrading provided in an embodiment of the present invention.
Fig. 5 is a kind of device of electronic atomization device control system upgrading provided in an embodiment of the present invention.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiment.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
It should be noted that the term for using in embodiments of the present invention is the mesh only merely for description specific embodiment , and it is not intended to be limiting the present invention." one of singulative used in the embodiment of the present invention and appended claims Kind ", " described " and " being somebody's turn to do " are also intended to include most forms, unless context clearly shows that other implications.It is also understood that this Term "and/or" used herein is referred to and comprising one or more associated any or all possible groups that list project Close.
Fig. 1 is referred to, Fig. 1 is the flow process of the method for electronic atomization device control system upgrading provided in an embodiment of the present invention Figure, in the present embodiment, methods described is applied to electronic atomization device, and the electronic atomization device can pass through wireless connection Mode be connected to intelligent terminal and receive the upgrading data that the intelligent terminal sends, to be upgraded, wherein, the intelligence Terminal can be mobile phone, panel computer, notebook computer, palm PC, mobile internet device (MID, mobile Internet device), wearable device (such as intelligent watch (iwatch etc.), Intelligent bracelet etc.) or other can be wireless Send the terminal unit of data.The method of the electronic atomization device control system upgrading comprises the following steps S101-S105.
In step S101, electronic atomization device receives the upgrade command from intelligent terminal by upgraded module.
Specifically, the electronic atomization device has wireless connecting function, in the wireless connection of the electronic atomization device After function is triggered, by bluetooth, wifi, ZigBee or others between the electronic atomization device and the intelligent terminal Radio connection is attached.
There is in the electronic atomization device upgraded module, the upgraded module to be used for electronic fog described in escalation process Makeup is put and is communicated and the intelligent terminal between, wirelessly connects it in the electronic atomization device and the intelligent terminal Afterwards, the electronic atomization device receives the upgrade command from the intelligent terminal by upgraded module.
In step s 102, after the electronic atomization device receives the upgrade command, judge the program of current operation Whether it is boot program.
Specifically, boot program memory block and control system are included in the program storage area of the electronic atomization device Program storage area, the boot program memory block are stored with boot program, and the control system program storage area is used for storing control The relative program of system processed, is possible to, in the control system program storage area, the control system relative program that is stored with.Wherein, The boot program has guiding function, can initially enter boot program area when the electronic atomization device brings into operation, so Whether the relative program of control system, rest on operation boot journeys if not if judging afterwards to be stored with control system program area Sequence, jumps to the relative program for running the control system if the relative program that there is control system;So, in the electronics When atomising device receives the upgrade command of the intelligent terminal, the electronic atomization device is possible to operate in boot program, It is also possible to not operate in boot program.
In step s 103, if the program of current operation is boot program, by upgraded module to the intelligent terminal Warning order is sent, so that the intelligent terminal sends upgrading data based on the warning order to electronic atomization device.
Specifically, in the present embodiment, the upgrade command of the intelligent terminal is received in the electronic atomization device Afterwards, when the electronic atomization device is currently running boot program, the electronic atomization device by the upgraded module to The intelligent terminal sends warning order, after the intelligent terminal for reception to the warning order, disguises to the electronic fog Put transmission upgrading data.
In other embodiments, after the electronic atomization device receives the upgrade command, if current run Program be not boot program, the electronic atomization device jumps to boot program, then by the upgraded module to the intelligence Energy terminal sends warning order, so that the intelligent terminal is sent to the electronic atomization device based on the warning order rising DBMS.
In step S104, the electronic atomization device receives the upgrading data by the upgraded module.
In step S105, the electronic atomization device is carried out according to the upgrading data that the upgraded module is received Upgrading.
In the present embodiment, the electronic atomization device is by logical between the upgraded module and the intelligent terminal News include:The upgrade command from the intelligent terminal is received, and warning order is sent to the intelligent terminal, is received from described The upgrading data of intelligent terminal.Wherein, the upgrade command, warning order, the communication format of upgrading data include:Frame head, life Order part, data division, check part and postamble, refering to Fig. 2, Fig. 2 is electronic atomization device described in the embodiment of the present invention With the schematic diagram of intelligent terminal's communication format, wherein,
The frame head includes the mark of the first code presupposition and the upgraded module, and wherein, first code presupposition is used for Represent the beginning of the packet of communication between the electronic atomization device and the intelligent terminal;
The command component includes order guidance code and order, and wherein, the order guidance code is used for representing the life It is the order after making guidance code, the order is used for identifying and communicate between the electronic atomization device and the intelligent terminal Packet be upgrade command packet, warning order packet, the one kind in upgrading data packet three.Wherein, the upgrading Director data bag is used for transmitting the upgrade command that the intelligent terminal is sent to the electronic atomization device, the warning order number According to bag for transmitting the warning order that the electronic atomization device is sent to the intelligent terminal, the upgrading data packet is used for passing The defeated intelligent terminal is sent to the upgrading data of the electronic atomization device.Specifically, when the order in the command component When being worth for first, represent that the packet communicated between the electronic atomization device and the intelligent terminal is upgrade command data Bag;When the order in the command component is second value, represents The packet of news is preparation command packet;When the order in the command component is the 3rd value, represent described electronic atomized The packet communicated between device and the intelligent terminal is upgrading data packet.First value, second value, the 3rd value are bases User's request definition, do not limit herein.
The data division includes data guidance code and data, and wherein, the data guidance code is used for representing the number According to being the data after guidance code;
The check part includes verifying guidance code and check code, wherein, verifies described in the verification guiding representation It is the check code after guidance code, whether the check code is used for upgrading data that electronic atomization device inspection receives Correctly;
The postamble includes that the second code presupposition, second code presupposition are used for representing the electronic atomization device with the intelligence The end of the packet of the communication between energy terminal.
Wherein, the check code is calculated according to the mark of the upgraded module, order, data.The electronics Atomising device and the smart mobile phone are counted to the mark of the upgraded module, order, data using identical method of calibration Calculate, a side of receiving data bag is decoded using the method for inspection after receiving packet, if the check code that draws of decoding and Check code in the packet for receiving is consistent, then illustrate that the data for receiving are errorless, if decoding the check code for drawing and receiving Check code in packet is inconsistent, then data are possible to be destroyed in transmitting procedure.
In the present embodiment, the mark of the upgraded module, order, data, the coded format of check code are:The liter The level mark of module, order, data, each byte in check code are split as high A positions with the byte of low B positions two, high A positions Move to right A positions and form low A bit bytes C, low B positions originally keep constant;Byte C forms byte M plus default interpolation code, Byte B forms byte N plus default interpolation code, and the default low D positions for adding code are that zero, D is more than or equal to A With one maximum in B, after the completion of coding, first send M, retransmit N.By a byte split be two bytes be in order to avoid Some of the mark of the upgraded module, order, data, check code byte and first guidance code, order guidance code, number Identical according to guidance code, verification guidance code.
For concrete example, when byte 0x48 is encoded, high 4 0x40 and low four 0x08, high four right sides is split as Four formation 0x04 are moved, low four 0x08 keep constant;Default interpolation code be 0x30, described default add code low four Byte 0x34 is formed for 0,0x04 plus code is added, 0x08 forms byte 0x38 plus code is added, during transmission, first send 0x34, Retransmit 0x08.
Knowable to above-mentioned, embodiment of the present invention electronic atomization device is risen by the upgrading data of wireless receiving intelligent terminal Level, need not dismantle the electronic atomization device, and can just complete to upgrade using intelligent terminal, can simplify electronic atomization device control The operating process of system upgrade processed, reduces the upgrade cost of electronic atomization device, improves Consumer's Experience.
Fig. 3 is referred to, Fig. 3 is the method for another kind of electronic atomization device control system upgrading provided in an embodiment of the present invention, In the present embodiment, methods described is applied to electronic atomization device, and the electronic atomization device can be by wirelessly connecting Mode is connected to intelligent terminal and receives the upgrading data that the intelligent terminal sends, and to be upgraded, wherein, the intelligence is eventually End can be mobile phone, panel computer, notebook computer, palm PC, mobile internet device (MID, mobile internet Device), wearable device (such as intelligent watch (iwatch etc.), Intelligent bracelet etc.) or other can be with wireless transmission data Terminal unit.The method of the electronic atomization device control system upgrading includes step S301-S306, it is to be understood that Fig. 1 In shown method, can apply to the step of S101 in the S301 steps in the present embodiment, may apply to the step of S102 In the step of S302 in the present embodiment, the step of may apply to the S304 in the present embodiment the step of S103 in, here is not Repeat.
In step S301, electronic atomization device receives the upgrade command from intelligent terminal by upgraded module.
In step s 302, after the electronic atomization device receives the upgrade command, judge the program of current operation Whether it is boot program.
Specifically, if the program of current operation is boot program, the operation in execution step S304, if current operation Program is not boot program, then first carry out the operation of step S303, then the operation of execution step S304.
In step S303, the electronic atomization device jumps to operation boot program.
In step s 304, warning order is sent to the intelligent terminal by upgraded module, so that the intelligence is eventually End group sends upgrading data in the warning order to the electronic atomization device.
In step S305, the electronic atomization device receives the upgrading data by the upgraded module.
In step S306, the control system program storage area of the electronic atomization device is wiped.
Specifically, when there is the relative program of control system the control system program storage area of the electronic atomization device, Wipe the control system program storage area, it is ensured that the control system program storage area storage is from the intelligence afterwards The upgrading data of terminal.
In step S307, the control system journey of the electronic atomization device that upgrading data Cun Chudao have been wiped Sequence memory block.
In the present embodiment, the electronic atomization device is by logical between the upgraded module and the intelligent terminal News include:The upgrade command from the intelligent terminal is received, and warning order is sent to the intelligent terminal, is received from described The upgrading data of intelligent terminal.Wherein, the upgrade command, warning order, the communication format of upgrading data include:Frame head, life Order part, data division, check part and postamble, refering to Fig. 2, the concrete condition of the communication format may refer to above-mentioned figure The description of the relevant communication format in 1 embodiment of the method, will not be described here.
In the present embodiment, in the mark of the upgraded module in the frame head, command component in order, data division Data, the concrete condition of the coded format of check code in check part may refer in above-mentioned Fig. 1 in embodiment of the method The description of coded format, will not be described here.
In the present embodiment, in the electronic atomization device control system escalation process, it is possible to because the electricity Sub- atomising device or intelligent terminal's power-off, or in the communication between the electronic atomization device and the intelligent terminal Disconnected and cause escalation process to interrupt, and the upgrading data that receive of the electronic atomization device imperfect when, the now electronics Atomising device is remained in operation boot program, power supply, the electricity in the electronic atomization device and the intelligent terminal After communication between sub- atomising device and the intelligent terminal recovers, re-execute the electronic atomization device and receive from institute State intelligent terminal upgrade command the step of.
Knowable to above-mentioned, embodiment of the present invention electronic atomization device is risen by the upgrading data of wireless receiving intelligent terminal Level, need not dismantle the electronic atomization device, and can just complete to upgrade using intelligent terminal, can simplify electronic atomization device control The operating process of system upgrade processed, reduces the upgrade cost of electronic atomization device, improves Consumer's Experience.
Fig. 4 is referred to, Fig. 4 is the method for another kind of electronic atomization device control system upgrading provided in an embodiment of the present invention. In the present embodiment, methods described is applied to electronic atomization device, and the electronic atomization device can be by wirelessly connecting Mode is connected to intelligent terminal and receives the upgrading data that the intelligent terminal sends, and to be upgraded, wherein, the intelligence is eventually End can be mobile phone, panel computer, notebook computer, palm PC, mobile internet device (MID, mobile internet Device), wearable device (such as intelligent watch (iwatch etc.), Intelligent bracelet etc.) or other can be with wireless transmission data Terminal unit.In the present embodiment, methods described includes step S401-S405, it is to be understood that the method shown in Fig. 1 In, can apply to the step of S101-S105, in the S401-S405 steps in the present embodiment, will not be described here.
In step S401, electronic atomization device receives the upgrade command from intelligent terminal by upgraded module.
In step S402, after the electronic atomization device receives the upgrade command, the program of current operation is judged Whether it is boot program.
In step S403, if the program of current operation is boot program, by upgraded module to the intelligent terminal Warning order is sent, so that the intelligent terminal sends ascending series based on the warning order to the electronic atomization device According to.
In step s 404, the electronic atomization device receives the upgrading data by the upgraded module.
In step S405, the electronic atomization device is upgraded according to the upgrading data.
In step S406, the electronic atomization device jumps to operation control system program.
Specifically, in the present embodiment, after the electronic atomization device is upgraded according to the upgrading data, The intelligent terminal can send a skip command to the electronic atomization device, and the electronic atomization device can jump to operation Control system program.
In step S 407, if electronic atomization device described in operation control system program process crashes, the electronics Atomising device is resetted, also, receive user Trigger Function key is so that the electronic atomization device rests on operation boot journeys The trigger message of sequence.The step of re-executing S401 again afterwards.
Specifically, in the present embodiment, at this moment because the electronic atomization device is all have received from intelligence The upgrading data of terminal, the upgrading data have been stored in the control system program storage area of the electronic atomization device In, after the electronic atomization device receives the skip command, operation control system program, the electronic fog can be jumped to Makeup is equipped with and may be in deadlock state in running.The deadlock state be likely due to upgrade data imperfect or Person is inaccurate to cause, and now the electronic atomization device is resetted, and can be user by the electronic atomization device Re-power and resetted, or the electronic atomization device is resetted automatically, and user will pass through Trigger Function Key rests on operation boot areas making the electronic atomization device.The Trigger Function key can be that user presses key by length Or other buttons or realize in other way.Afterwards, the electronic atomization device re-attached intelligent terminal, Upgrade command from the intelligent terminal is received again.
In step S408, if operation control system program success, the electronic atomization device control system is escalated into Work(.
In the present embodiment, the electronic atomization device is by logical between the upgraded module and the intelligent terminal News include:The upgrade command from the intelligent terminal is received, and warning order is sent to the intelligent terminal, is received from described The upgrading data of intelligent terminal.Wherein, the upgrade command, warning order, the communication format of upgrading data include:Frame head, life Order part, data division, check part and postamble, refering to Fig. 2, the concrete condition of the communication format may refer to above-mentioned figure The description of the relevant communication format in 1 embodiment of the method, will not be described here.
In the present embodiment, in the mark of the upgraded module in the frame head, command component in order, data division Data, the concrete condition of the coded format of check code in check part may refer in above-mentioned Fig. 1 in embodiment of the method The description of coded format, will not be described here.
Knowable to above-mentioned, embodiment of the present invention electronic atomization device is risen by the upgrading data of wireless receiving intelligent terminal Level, need not dismantle the electronic atomization device, and can just complete to upgrade using intelligent terminal, and can be described electronic atomized Device upgrading is processed when occurring abnormal, can be simplified the operating process of electronic atomization device control system upgrading, be reduced The upgrade cost of electronic atomization device, improves Consumer's Experience.
Fig. 5 is referred to, Fig. 5 is a kind of knot of the device of electronic atomization device control system upgrading provided in an embodiment of the present invention Structure schematic diagram, described device are applied to electronic atomization device, and described device can be connected to intelligence by way of wirelessly connecting Terminal simultaneously receives the upgrading data that the intelligent terminal sends, with the control system in upgrading electronic atomising device.Described device Including:
Upgraded module 510, for receiving the upgrade command from the intelligent terminal.
Specifically, the upgraded module is used between electronic atomization device described in escalation process and the intelligent terminal Communicated, after the electronic atomization device and the intelligent terminal wirelessly connect, the upgraded module is received from institute State the upgrade command of intelligent terminal.
Detection module 520, receives after the upgrade command for the upgraded module, judges that electronic atomization device is current Whether the program of operation is boot program.
In the present embodiment, the upgraded module 510 is additionally operable to, when the program that currently runs is boot program, to The intelligent terminal sends warning order, so that the intelligent terminal is based on the warning order to the upgraded module 510 Send upgrading data.In the present embodiment, the upgraded module 510 is additionally operable to, and receives the upgrading data.
Jump module 530, for after the upgraded module 510 receives the upgrade command, if current operation Program is not boot program, jumps to boot program.Specifically, after the upgraded module 510 receives the upgrade command, If the program of current operation is not boot program, boot program is jumped to, then by the upgraded module 510 to the intelligence Energy terminal sends warning order, so that the intelligent terminal is sent to the upgraded module 510 based on the warning order rising DBMS.In other embodiments, the jump module 530 is additionally operable to, and will receive from the intelligence in memory module 550 After the control system program storage area of the electronic atomization device that upgrading data Cun Chudao of energy terminal have been wiped, jump to Operation control system program.
Erasing module 540, for wiping the control system program storage area of the electronic atomization device.Specifically, in institute When stating the control system program storage area of electronic atomization device and having control system program, the control system program area is wiped, is protected After card, control system program storage area storage is upgrading data from the intelligent terminal.
The memory module 550, for wiping upgrading data Cun Chudao from the intelligent terminal for receiving The electronic atomization device control system program storage area.
It is understood that the function of each functional module in device in the present embodiment can be according to above-mentioned Fig. 1, Fig. 3, figure Method in embodiment of the method shown in 4 is implemented, and which implements process and is referred to the correlation of said method embodiment retouches State, no longer repeated herein.
Knowable to above-mentioned, the device of the electronic atomization device control system upgrading of the embodiment of the present invention, by receiving intelligence eventually The control system of the upgrading data upgrading electronic atomising device at end, need not dismantle the electronic atomization device, and whole using intelligence End can just complete to upgrade, and can simplify the operating process of electronic atomization device control system upgrading, reduce electronic atomization device Upgrade cost, improve Consumer's Experience.
One of ordinary skill in the art will appreciate that realize all or part of flow process in above-described embodiment method, being can be with Instruct related hardware to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only a kind of preferred embodiment of the invention, can not limit certainly the power of the present invention with this Sharp scope, one of ordinary skill in the art will appreciate that all or part of flow process of above-described embodiment is realized, and according to present invention power Profit requires made equivalent variations, still falls within the covered scope of invention.

Claims (10)

1. a kind of method that electronic atomization device control system is upgraded, it is characterised in that include:
Electronic atomization device receives the upgrade command from intelligent terminal by upgraded module, and the upgraded module is used in upgrading During communicated between the electronic atomization device and the intelligent terminal;
After the electronic atomization device receives the upgrade command, judge whether the program of current operation is boot program;
If the program of current operation is boot program, warning order is sent to the intelligent terminal by the upgraded module, So that the intelligent terminal sends upgrading data based on the warning order to the electronic atomization device;
The electronic atomization device receives the upgrading data by the upgraded module, and according to the upgrading data to described Electronic atomization device is upgraded.
2. method according to claim 1, it is characterised in that receive the upgrade command in the electronic atomization device Afterwards, if the program of current operation is not boot program, the electronic atomization device jumps to boot program, then passes through the liter Level module sends warning order to the intelligent terminal, so that the intelligent terminal is based on the warning order to the electronics Atomising device sends upgrading data.
3. method according to claim 1, it is characterised in that the electronic atomization device is entered according to the upgrading data Row upgrading is specially:
Wipe the control system program storage area of the electronic atomization device;
The control system program storage area of the electronic atomization device that upgrading data Cun Chudao have been wiped.
4. method according to claim 1, it is characterised in that between the electronic atomization device and the intelligent terminal Communication format includes:Frame head, command component, data division, check part and postamble, wherein,
The frame head includes the mark of the first code presupposition and the upgraded module, and wherein, first code presupposition is used for representing The beginning of the packet of the communication between the electronic atomization device and the intelligent terminal;
The command component includes order guidance code and order, and wherein, the order guidance code is used for representing that the order is drawn It is the order after leading code, the order is used for identifying the number communicated between the electronic atomization device and the intelligent terminal According to bag be upgrade command packet, warning order packet, the one kind in upgrading data packet three;
The data division includes data guidance code and data, and wherein, the data guidance code is used for representing that the data are drawn It is the data after leading code;
The check part includes verifying guidance code and check code, wherein, verification guiding described in the verification guiding representation It is the check code after code, whether just the check code is used for upgrading data that electronic atomization device inspection receives Really, wherein, the check code is calculated according to the mark of the upgraded module, order, data;
The postamble includes that the second code presupposition, second code presupposition are used for representing the electronic atomization device with the intelligence eventually The end of the packet of the communication between end.
5. method according to claim 4, it is characterised in that the mark of the upgraded module, order, data, check code Coded format be:The mark of the upgraded module, order, each byte in data are split as high A positions with low B positions two Individual byte, high A gts A positions form low A bit bytes C, and low B positions originally keep constant;Byte C adds default interpolation Code forms byte M, and byte B forms byte N plus default interpolation code, and the default low D positions for adding code are zero, D More than or equal to one maximum in A and B, after the completion of coding, M is sent first, N is retransmited.
6. method according to claim 1, it is characterised in that the electronic atomization device escalation process because of the electricity Sub- atomising device or intelligent terminal's power-off, or in the communication between the electronic atomization device and the intelligent terminal Disconnected and interrupts, also, upgrading data receiver imperfect when, in the power supply of the electronic atomization device and the intelligent terminal, with And after the communication between the electronic atomization device and the intelligent terminal recovers, re-execute the electronic atomization device and lead to Cross upgraded module receive from the upgrade command of the intelligent terminal the step of.
7. method according to claim 1, it is characterised in that according to the upgrading data to the electronic atomization device Also include after being upgraded:
The electronic atomization device jumps to the operation of control system program area;
If electronic atomization device described in operation control system program process crashes, reset in the electronic atomization device, and And, after receiving user's Trigger Function key so that the electronic atomization device rests on the trigger message in operation boot areas, weight Newly execute the electronic atomization device by upgraded module receive from the upgrade command of the intelligent terminal the step of;
If operation control system program success, the electronic atomization device control system are upgraded successfully.
8. the device that a kind of electronic atomization device control system is upgraded, it is characterised in that include:
Upgraded module, for receiving the upgrade command from the intelligent terminal;
Detection module, receives after the upgrade command for the upgraded module, judges that whether the program of current operation is Boot program;
The upgraded module is additionally operable to, and when the program that currently runs is boot program, sends to the intelligent terminal and prepares life Order, so that the intelligent terminal sends upgrading data based on the warning order to the electronic atomization device;
The upgraded module is additionally operable to, and receives the upgrading data.
9. device according to claim 8, it is characterised in that described device also includes:
Jump module, for after the electronic atomization device receives the upgrade command, if the program of current operation is not It is boot program, jumps to boot program.
10. device according to claim 8, it is characterised in that described device also includes:
Erasing module, for wiping the control system program storage area of the electronic atomization device;
Memory module, for by the electronic fog that has been wiped from upgrading data Cun Chudao of the intelligent terminal for receiving The control system program storage area that makeup is put;
The jump module is additionally operable to, in the memory module by upgrading data Cun Chudao from the intelligent terminal for receiving After the control system program storage area of the electronic atomization device that has wiped, operation control system program is jumped to.
CN201610854890.1A 2016-09-27 2016-09-27 A kind of method and device of electronic atomization device control system upgrading Pending CN106502722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610854890.1A CN106502722A (en) 2016-09-27 2016-09-27 A kind of method and device of electronic atomization device control system upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610854890.1A CN106502722A (en) 2016-09-27 2016-09-27 A kind of method and device of electronic atomization device control system upgrading

Publications (1)

Publication Number Publication Date
CN106502722A true CN106502722A (en) 2017-03-15

Family

ID=58290527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610854890.1A Pending CN106502722A (en) 2016-09-27 2016-09-27 A kind of method and device of electronic atomization device control system upgrading

Country Status (1)

Country Link
CN (1) CN106502722A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1750574A (en) * 2004-09-13 2006-03-22 上海高迪亚电子系统有限公司 Telephone remote controller and method for far distance data communication using it
CN103607679A (en) * 2013-11-12 2014-02-26 Tcl通力电子(惠州)有限公司 HDMI interface-based sound equipment upgrading method and sound equipment
CN103914013A (en) * 2014-03-20 2014-07-09 陈镇江 Control system and method of electronic cigarette
CN104991806A (en) * 2015-08-06 2015-10-21 广州唯控电子科技有限公司 Remote firmware upgrading system and method for single-chip microcomputer program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1750574A (en) * 2004-09-13 2006-03-22 上海高迪亚电子系统有限公司 Telephone remote controller and method for far distance data communication using it
CN103607679A (en) * 2013-11-12 2014-02-26 Tcl通力电子(惠州)有限公司 HDMI interface-based sound equipment upgrading method and sound equipment
CN103914013A (en) * 2014-03-20 2014-07-09 陈镇江 Control system and method of electronic cigarette
CN104991806A (en) * 2015-08-06 2015-10-21 广州唯控电子科技有限公司 Remote firmware upgrading system and method for single-chip microcomputer program

Similar Documents

Publication Publication Date Title
CN101233741B (en) Method and system for delivering information to a user
US7899642B2 (en) Optimized RFID/NFC BER testing
CN102662697B (en) Software upgrading method and device
CN112069848B (en) Card selection method, chip, terminal and storage medium for NFC card simulation mode
CN104678990A (en) Method and device for vehicle self-diagnosis and vehicle self-diagnosis system
CN100485736C (en) Digital broadcast parking information system combined with radio frequency identification technology and providing method
WO2003046719A3 (en) Implementing sms-based value added service
CN106850241A (en) A kind of vehicle-mounted OBD terminals and its remote upgrade method
CN111581994B (en) Near field communication NFC communication method and device and electronic equipment
CN103414746A (en) Realization method of cross-platform network interaction, reader and network server
CN102799931B (en) Data protection method of radio frequency smart card
CN107797815A (en) Upgrade method, mobile unit and the updating apparatus of mobile unit
US8650387B2 (en) IC chip, information processing apparatus, software module control method, information processing system, information processing method, and program
CN102236777A (en) Hand-held mobile data acquisition terminal
CN103873552A (en) System, method, device and computer readable medium for distributing content easily seen by terminal device having small display part
CN106503990A (en) A kind of transaction processing method and mobile device
CN102083058A (en) Smart card, card writing system and method and self-help account opening server
CN105138875A (en) Identification method and device for user information
CN101918907B (en) Identification device and method for device identification
CN106502722A (en) A kind of method and device of electronic atomization device control system upgrading
CN104639317A (en) System and method for key update of smart card based on app (Application) module
CN110457058A (en) Control node online upgrading method, apparatus, host computer, system and electronic equipment
CN101197959B (en) Terminal control method, system and equipment
CN102692894A (en) Application method and application system of Internet of things for car maintenance
CN108944542A (en) A kind of charging station knowledge method for distinguishing executing electric vehicle charging

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication