CN109271192A - A kind of remote firmware updating method of intelligence piano - Google Patents

A kind of remote firmware updating method of intelligence piano Download PDF

Info

Publication number
CN109271192A
CN109271192A CN201810838537.3A CN201810838537A CN109271192A CN 109271192 A CN109271192 A CN 109271192A CN 201810838537 A CN201810838537 A CN 201810838537A CN 109271192 A CN109271192 A CN 109271192A
Authority
CN
China
Prior art keywords
mobile terminal
terminal device
firmware
piano
server
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
CN201810838537.3A
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.)
HAILUN PIANO CO Ltd
Original Assignee
HAILUN PIANO 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 HAILUN PIANO CO Ltd filed Critical HAILUN PIANO CO Ltd
Priority to CN201810838537.3A priority Critical patent/CN109271192A/en
Publication of CN109271192A publication Critical patent/CN109271192A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The present invention relates to a kind of remote firmware updating methods of intelligent piano, intelligent piano is connected with mobile terminal device, user can open the APP on mobile terminal device, server is detected and be sent in the version number current to intelligent piano, and the upgrading object information for meeting screening conditions is found by service platform;Server will send mobile terminal device for firmware packet, mobile terminal device has been decompressed in downloading after firmware packet, usb can be passed through, it will send information to the single-chip microcontroller of intelligent piano, after mobile terminal device receives the instruction finally upgraded, firmware packet can be parsed, carries out communications protocol encapsulation after the data in firmware packet are extracted by row, then transmits data to single-chip microcontroller inside intelligent piano to by usb.The present invention can save many human costs, and user by shirtsleeve operation, can also enjoy the latest function and more teaching resources of intelligent piano at the first time, to improve the satisfaction of user.

Description

A kind of remote firmware updating method of intelligence piano
Technical field
The present invention relates to piano fields, more particularly to a kind of remote firmware updating method of intelligent piano.
Background technique
With the continuous development of technology, musical instrument also develops towards intelligentized direction.Many electronics steel on the market now Qin causes subsequent many problems occur and be all unable to get effective improvement all without subsequent upgrade service.Intelligent musical instrument is just It rises soon, when just putting goods on the market, the functional requirement of product is not apparent, needs to actually use it by user Afterwards, constantly update and modify function, this just need intelligent piano equipment be it is scalable, only product is constantly improve, ability The competitiveness for keeping product, is not eliminated by market.Traditional device upgrade needs technical staff to visit one by one to carry out upgrading clothes The human cost of business, this mode is high, if only some simple software upgradings, can pass through this one kind of remote firmware updating Method can be combined when needing further to be upgraded using both modes.
Summary of the invention
Technical problem to be solved by the invention is to provide a kind of remote firmware updating methods of intelligent piano, can save Many human costs, user by shirtsleeve operation, can also enjoy at the first time intelligent piano latest function and More teaching resources, to improve the satisfaction of user.
The technical solution adopted by the present invention to solve the technical problems is: providing a kind of remote firmware updating of intelligent piano Method, specific steps are as follows:
(a) intelligent piano being connected with mobile terminal device, user can open the APP on mobile terminal device, Server is detected and be sent in the version number current to intelligent piano, is found by service platform and is met screening conditions Upgrading object information;
(b) server can send scalable latest edition number and the provided items of the version to mobile device terminal after Upgrade information, user can combine oneself demand according to these information, choose whether to download from server firmware packet code into Row upgrade service;
If (c) selection downloading, server will send firmware packet to mobile terminal device, mobile terminal device is under After load has decompressed firmware packet, intelligent steel can be sent by information such as firmware code mark, version number, check codes by serial ports The single-chip microcontroller of qin, unique ID of all one, every piano oneself, by various check informations match one by one and then to Family sends the instruction for whether confirming upgrading;
(d) after mobile terminal device receives the instruction finally upgraded, so that it may firmware packet is parsed, by the number in firmware packet According to communications protocol encapsulation is carried out after extracting by row, generate upgrading data packet, then to by usb to single-chip microcontroller inside intelligent piano Data are transmitted, after being transmitted, the program transmitted can be verified again, if data transmission is errorless, program fortune Row is normal, and single-chip microcontroller can send an instruction to mobile terminal device, prompts firmware upgrade success.
In step (d), if carrying out data when verification is examined to program mistake or exception occurs, single-chip microcontroller can be to movement End request upgrades again, and the operation before repeating later, it is all unsuccessful multi-pass operation occur, exits upgrading, and send intelligent steel Qin equipment and the relevant information of user after company receives information from server, then arrange on related technical personnel to server Door is upgraded again after carrying out malfunction elimination.
The mobile terminal device is ipad or smart phone.
The utility model has the advantages that may be implemented the present invention relates to a kind of remote firmware updating method of intelligent piano to intelligent piano Remote firmware updating, visit without technical staff and carry out firmware upgrade, can save many human costs, user can also be with By shirtsleeve operation, the latest function and more teaching resources of intelligent piano are enjoyed at the first time, to improve use The satisfaction at family.
Detailed description of the invention
Fig. 1 is the module structure drafting of method of the present invention.
Specific embodiment
Present invention will be further explained below with reference to specific examples.It should be understood that these embodiments are merely to illustrate the present invention Rather than it limits the scope of the invention.In addition, it should also be understood that, after reading the content taught by the present invention, those skilled in the art Member can make various changes or modifications the present invention, and such equivalent forms equally fall within the application the appended claims and limited Range.
As shown in Figure 1, embodiments of the present invention are related to a kind of remote firmware updating method of intelligent piano, it is specific to walk It is rapid as follows:
(a) intelligent piano being connected with mobile terminal device, user can open the APP on mobile terminal device, Server is detected and be sent in the version number current to intelligent piano, is found by service platform and is met screening conditions Upgrading object information;
(b) server can send scalable latest edition number and the provided items of the version to mobile device terminal after Upgrade information, user can combine oneself demand according to these information, choose whether to download from server firmware packet code into Row upgrade service;
If (c) selection downloading, server will send firmware packet to mobile terminal device, mobile terminal device is under After load has decompressed firmware packet, intelligent piano can be sent by information such as firmware code mark, version number, check codes by usb Single-chip microcontroller, unique ID of all one, every piano oneself, by various check informations match one by one and then to user hair The instruction for whether confirming upgrading sent;
(d) after mobile terminal device receives the instruction finally upgraded, so that it may firmware packet is parsed, by the number in firmware packet According to communications protocol encapsulation is carried out after extracting by row, generate upgrading data packet, then to by usb to single-chip microcontroller inside intelligent piano Data are transmitted, after being transmitted, the program transmitted can be verified again, if data transmission is errorless, program fortune Row is normal, and single-chip microcontroller can send an instruction to mobile terminal device, prompts firmware upgrade success.
In step (d), if carrying out data when verification is examined to program mistake or exception occurs, single-chip microcontroller can be to movement End request upgrades again, and the operation before repeating later, it is all unsuccessful multi-pass operation occur, exits upgrading, and send intelligent steel Qin equipment and the relevant information of user after company receives information from server, then arrange on related technical personnel to server Door is upgraded again after carrying out malfunction elimination.
The mobile terminal device is ipad or smart phone.
As a kind of embodiment of the invention:
(1) mobile terminal device in this example is iPad, first has to open APP, be attached to intelligent piano equipment, Hardware processor, that is, inside chip STM32F103C8T6 are sent and obtain the information such as firmware version number after successful connection Instruction;
(2) iPad can be sent to server end after receiving the information such as firmware version number, and server can authenticate equipment, The legitimacy of authenticating device and whether scalable, if the authentication is passed, server can get out corresponding firmware packet and wait for downloads;
(3) confirm that download instruction, equipment enter reception state on iPad, server begins through internet to hair at this time Send firmware upgrade packet;
(4) after the downloading of firmware packet is completed, it can be verified, it is ensured that there is no mistakes for downloading, and to server It sends downloading and successfully completes downloading;
(5) firmware packet is decompressed in local, and establishes and communicates to connect with inside chip STM32F103C8T6, sent Firmware code mark, version number, check code are verified, after verification passes through, again to the instruction of user's confirmation request upgrading;
(6) after the instruction for receiving confirmation upgrading, notice inside chip gets out receiving and upgrade job, and obtains write-in number According to first address;
(7) firmware packet is parsed, communications protocol encapsulation is carried out after data are extracted by row, generates upgrading data packet, pass through usb It writes data into the FLASH inside STM32F103C8T6, upgrade file is b in format, it is necessary to from including row initial character, number It is checked according to many aspects including length, data type, verification;
(8) program write-in finishes and then reads from FLASH the data of write-in, compares and reads data and write-in data Whether consistent, in case of mistake, request is transmitted again;
(9) if mistake repeatedly occurs, escalation process is terminated, prompts upgrading failure, the operation before rolling back, and pass through IPad uploads onto the server the ID of hardware device, and notice company sends technical staff to carry out on-site maintenance upgrade service.
If by verifying after program write-in, and normal operation, then it sends in the information to iPad upgraded successfully, completes Firmware upgrade, in the service process for visiting maintenance, technical staff can also upload some dimensions by connecting intelligent piano equipment The information of shield is to server, because the ID of each piano is uniquely, producer will be clearly understood that each equipment Maintenance situation, and corresponding adjustment is made to subsequent some upgrade services according to these information.
Remote firmware updating to intelligent piano may be implemented using method of the invention, visit progress without technical staff Firmware upgrade, can save many human costs, and user can also enjoy intelligent steel by shirtsleeve operation at the first time The latest function of qin and more teaching resources, to improve the satisfaction of user.

Claims (3)

1. a kind of remote firmware updating method of intelligence piano, specific steps are as follows:
(a) intelligent piano is connected with mobile terminal device, user can open the APP on mobile terminal device, to intelligence Server is detected and be sent in the current version number of energy piano, and the upgrading for meeting screening conditions is found by service platform Object information;
(b) server can send scalable latest edition number and the version to mobile device terminal and provide every upgrading after Information, user can combine the demand of oneself according to these information, choose whether to be risen from server downloading firmware packet code Grade service;
If (c) selection downloading, server will send firmware packet to mobile terminal device, and mobile terminal device is solved in downloading After having pressed firmware packet, intelligent piano can be sent by information such as firmware code mark, version number, check codes by serial ports Single-chip microcontroller, unique ID of one, every piano oneself are being matched one by one by various check informations and then are being sent to user Whether confirmation upgrading instruction;
(d) after mobile terminal device receives the instruction finally upgraded, so that it may parse firmware packet, the data in firmware packet are pressed Communications protocol encapsulation is carried out after row extraction, generates upgrading data packet, is then transmitted to by usb to single-chip microcontroller inside intelligent piano Data can again verify the program transmitted after being transmitted, if data transmission is errorless, program is run just Often, single-chip microcontroller can send an instruction to mobile terminal device, prompt firmware upgrade success.
2. the remote firmware updating method of intelligence piano according to claim 1, it is characterised in that: right in step (d) If program, which carries out data when verification is examined, mistake or abnormal occurs, single-chip microcontroller can request to upgrade again to mobile terminal, Zhi Houchong Operation before multiple, it is all unsuccessful multi-pass operation occur, exits upgrading, and sends intelligent piano equipment and the related of user is believed Cease server, after company receives information from server, then arrange related technical personnel visit carry out malfunction elimination after again into Row upgrading.
3. the remote firmware updating method of intelligence piano according to claim 2, it is characterised in that: the mobile terminal Equipment is ipad or smart phone.
CN201810838537.3A 2018-07-27 2018-07-27 A kind of remote firmware updating method of intelligence piano Pending CN109271192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810838537.3A CN109271192A (en) 2018-07-27 2018-07-27 A kind of remote firmware updating method of intelligence piano

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810838537.3A CN109271192A (en) 2018-07-27 2018-07-27 A kind of remote firmware updating method of intelligence piano

Publications (1)

Publication Number Publication Date
CN109271192A true CN109271192A (en) 2019-01-25

Family

ID=65153017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810838537.3A Pending CN109271192A (en) 2018-07-27 2018-07-27 A kind of remote firmware updating method of intelligence piano

Country Status (1)

Country Link
CN (1) CN109271192A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821238A (en) * 2021-08-02 2021-12-21 惠州Tcl移动通信有限公司 Method and device for updating external firmware of intelligent wearable device, mobile terminal and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102047319A (en) * 2008-03-11 2011-05-04 米萨数码控股有限公司 A digital instrument
CN105204911A (en) * 2015-10-15 2015-12-30 成都艾克尔特医疗科技有限公司 Method and system for upgrading firmware of vital sign monitoring bracelet
CN105591824A (en) * 2016-01-14 2016-05-18 杭州赫智电子科技有限公司 Method and system for firmware upgrade
CN105991680A (en) * 2015-01-30 2016-10-05 朔联科技(上海)有限公司 Internet of things smart device software automatic upgrading method and system
CN106648781A (en) * 2016-12-26 2017-05-10 广东芬尼克兹节能设备有限公司 Remote firmware upgrading method and system for communication equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102047319A (en) * 2008-03-11 2011-05-04 米萨数码控股有限公司 A digital instrument
CN105991680A (en) * 2015-01-30 2016-10-05 朔联科技(上海)有限公司 Internet of things smart device software automatic upgrading method and system
CN105204911A (en) * 2015-10-15 2015-12-30 成都艾克尔特医疗科技有限公司 Method and system for upgrading firmware of vital sign monitoring bracelet
CN105591824A (en) * 2016-01-14 2016-05-18 杭州赫智电子科技有限公司 Method and system for firmware upgrade
CN106648781A (en) * 2016-12-26 2017-05-10 广东芬尼克兹节能设备有限公司 Remote firmware upgrading method and system for communication equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821238A (en) * 2021-08-02 2021-12-21 惠州Tcl移动通信有限公司 Method and device for updating external firmware of intelligent wearable device, mobile terminal and medium
CN113821238B (en) * 2021-08-02 2024-02-09 惠州Tcl移动通信有限公司 Method, device, mobile terminal and medium for updating external firmware of intelligent wearable device

Similar Documents

Publication Publication Date Title
EP2411925B1 (en) Device dependent on-demand compiling and deployment of mobile applications
US10042624B2 (en) Delivering a customized service to a mobile device by parsing metadata to create a device signature
CN103701640B (en) Use the method and system of Intelligent management terminal upgrading ODN equipment
CN107239288B (en) Version upgrading method and device for mobile terminal
CN105933888B (en) A kind of eSIM card method for burn-recording and device based on NFC
CN102088691B (en) Mobile phone mobile Internet user application certification recognition system and method
US20100122351A1 (en) Software Application Framework for Network-Connected Devices
CN106533813A (en) Method for remotely controlling upgrade of intelligent device
CN107832065A (en) Firmware upgrade method, water purifier, upgrade-system and readable storage medium storing program for executing
CN107547239A (en) Configure the update method and device of object
CN106612192A (en) An equipment upgrading method, apparatus and system
CN109951289A (en) A kind of recognition methods, device, equipment and readable storage medium storing program for executing
CN101656949A (en) Method and terminals for aerial upgrade of firmware
CN109600451A (en) A kind of terminal device firmware upgrade method and system based on Websocket long connection
CN112286556A (en) Communication equipment and remote upgrading method of MCU thereof
CN109086060A (en) The method of system, electronic equipment and online upgrading firmware
CN116088901A (en) Firmware upgrading method and device, electronic equipment and computer storage medium
CN107479929A (en) Method for upgrading software, device and equipment
US9300918B2 (en) Service access control system and method using embedded browser agent
CN104823410B (en) Parameter setting system, program managing device and information processing unit
CN109271192A (en) A kind of remote firmware updating method of intelligence piano
CN108958785A (en) A kind of application program updating method and device
CN109358872A (en) Remote firmware updating method, device and computer readable storage medium
CN104516743B (en) The upgrade method and system of embedded device firmware based on ActiveX
CN205071238U (en) Eoc wireless terminal software upgrade system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190125