CN103699416A - Detection method and detection device of intelligent device offline upgrade packs - Google Patents
Detection method and detection device of intelligent device offline upgrade packs Download PDFInfo
- Publication number
- CN103699416A CN103699416A CN201310734150.0A CN201310734150A CN103699416A CN 103699416 A CN103699416 A CN 103699416A CN 201310734150 A CN201310734150 A CN 201310734150A CN 103699416 A CN103699416 A CN 103699416A
- Authority
- CN
- China
- Prior art keywords
- smart machine
- information
- external storage
- storage equipment
- aku
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to the field of an intelligent device, and provides a detection method of intelligent device offline upgrade packs. The detection method is characterized by including the steps of connecting an corresponding external storage device to the intelligent device through a connecting port so as to build connection with the intelligent device, detecting all upgrade pack files of the external storage device according to upgrade pack file naming rules, sequencing all the upgrade pack files, and displaying the sequenced list to users to choose. The detection method facilitates users, improves maintainability of the intelligent device and reduces workload of maintenance.
Description
Technical field
The present invention relates to smart machine field, particularly a kind of detection method and device of smart machine upgraded in offline bag.
Background technology
Smart machine, refer to as PC, there is independently operating system, can be by user's program that the third party service provider such as mounting software, game, navigation provides voluntarily, by this class method, constantly the function of equipment is expanded, and can realize by mobile communication network the equipment of wireless network access, smart mobile phone for example, intelligent television etc.
At present, existing upgrade software is upgraded generally in the following ways to the related software of smart machine: versions of data control module is obtained current available versions of data information when smart machine system initialization; Obtain the version information of related software in current smart machine; Afterwards, all files of current version be loaded into document analysis module and register raw data version to document management module; By version information and the comparison of current available edition information of current smart machine, judge whether current software needs upgrading; If user selects not upgrade, stop upgrading flow process, do not load data file; If scalable, interface prompt user selects the target version of upgrading; According to the information model of user's indicated release, carry out resolution data, be upgraded to redaction, arrive document management module registration new and old edition information simultaneously, in escalation process, record upgrade information.
Current edition upgrading process, the situation that also exists some to process, need to, by developer's realization of encoding, safeguard inconvenience very.For example: the naming method disunity of upgrade software, there is various ways, system cannot detect all data available version informations; Or smart machine has a plurality of memory devices, in each memory device, store upgrade file, if the title of AKU file is identical, cannot determine the difference of the versions of data of these same names, cannot find which version is up-to-date version.
Therefore, how to improve available data upgrading scheme, the defect while overcoming the upgrading of data in prior art, alleviates maintainer's burden, becomes current problem in urgent need to solve.
Summary of the invention
In order to solve in prior art, the detection existing during the AKU causing due to naming method disunity detects is not comprehensively or safeguard more difficult technical matters, the detection method that the invention provides a kind of smart machine upgraded in offline bag, is characterized in that, said method comprising the steps of:
In response to external storage equipment, by connectivity port, be inserted into described smart machine, connect with described external storage equipment;
According to the naming rule of AKU file, detect all AKU files in described external storage equipment;
Described all AKU files are sorted, and the list after sequence is shown to user's selection.
Preferably, described naming rule comprises, the putting in order of the information comprising in title and described information;
The information comprising in described title comprises: file description information, smart machine product type, update time, software version number and filename suffix.
Preferably, the described step that all AKU files are sorted, comprising:
By described update time or described software version number, sort.
Preferably, described naming rule comprises, the putting in order of the information comprising in title and described information;
The information comprising in described title comprises: file description information and filename suffix.
Preferably, described list comprises the Information of a plurality of demonstration information, and described information at least comprises, update time and software version number.
Preferably, described list comprises the time that this AKU file creates in described external storage equipment.
Preferably, described connectivity port comprises usb connecting port, this usb connecting port provides hot plug and play to connect, described external storage equipment is USB memory device, described in each, USB memory device utilizes a USB plug to be connected on the described usb connecting port of a peripheral hardware, and utilizes and itself provide another usb connecting port to use to next USB memory device.
Preferably, the step that described and described external storage equipment connects is that described external storage equipment interface comprises by the external storage equipment Interface realization in smart machine:
Logic is deposited and cushioned to data, for adapting to the CPU of described smart machine and the speed difference between described external storage equipment;
Register or RAM chip, for realizing the transmission of batch data;
Conversion logic, for realizing the conversion between serial data and parallel data;
Level conversion driver or D/A or A/D converter, for coordinating the CPU of described smart machine and described external storage equipment in the difference of information type and level;
Dma control logic, for generation of interrupting and dma request signal, and interrupts and DMA completes after replying and interrupts processing and DMA transmits receiving.
The present invention also provides a kind of pick-up unit of smart machine upgraded in offline bag, and its feature is being, described device comprises with lower unit:
Linkage unit, for being inserted into described smart machine in response to external storage equipment by connectivity port, connects with described external equipment;
Detecting unit, for detecting all AKU files of described external storage equipment according to the naming rule of AKU file;
Display unit, for described all AKU files are sorted, and is shown to user's selection by the list after sequence.
Preferably, described naming rule comprises, the putting in order of the information comprising in title and described information;
The information comprising in described title comprises: file description information, smart machine product type, update time, software version number and filename suffix.
The present invention is directed to situation about cannot process in available data escalation process, by the naming method of unified AKU, make the detection of the AKU of carrying out according to title more comprehensively quick, because AKU name information amount is abundant, therefore do not need the user effort time that upgrade data APMB package is distinguished and safeguarded, convenient for users to use, the defect having existed while effectively having overcome available data upgrading, greatly improve the maintainability of smart machine, reduced the workload of safeguarding.
accompanying drawing explanation
Fig. 1 is the method flow diagram of embodiment mono-;
Fig. 2 is the device architecture figure of embodiment bis-.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
In the process that the function of smart machine is expanded, the service that system program in smart machine or application program need to provide according to third-party server business is carried out the upgrading of software and is upgraded, this ROMPaq bag can be downloaded from network, also can upgrade with offline mode, embodiment of the present invention introduction be upgraded in offline mode, in upgraded in offline mode, AKU is pre-stored in external storage equipment, for example, USB(Universal Serial Bus) dish, SD card (Secure Digital Memory Card), memory disk, portable hard drive, the equipment such as CD-ROM (Compact Disk Read Only Memory), by obtaining the upgrade file in these memory devices, realize the upgrading of software.
Embodiment mono-
With reference to Fig. 1, show the detection method of a kind of smart machine upgraded in offline of the present invention bag, the method comprises the following steps:
S101, in response to external storage equipment, by connectivity port, be inserted into described smart machine, connect with described external storage equipment;
In the invention process, the memory interface of smart machine by wherein and the External memory equipment of all grafting connect.The function of the memory interface in smart machine is to be responsible for realizing CPU(Central Processing Unit) by system bus the I/O(Input/Output of smart machine) circuit and external memorizer equipment links together, the I/O interface control card of smart machine has several integrated circuit to become parts by certain logical groups, it can be directly and CPU coexist on mainboard, also can be used as a plug-in unit and be inserted on system bus slot.
When CPU may exist speed not mate when carrying out exchanges data with I/O equipment, sequential is not mated, the unmatched problem of information format or information type.In order to address the above problem, in the embodiment of the present invention, the memory interface of smart machine can be done following design:
What data were set in interface deposits, cushions logic, to adapt to the speed difference between CPU and peripheral hardware, interface is comprised of a plurality of registers or RAM (Random Access Memory) chip, as fruit chip enough can also be realized greatly the transmission of batch data; In this interface, there is conversion logic, realize the conversion of information format, for example the conversion of serial data and parallel data; In this interface, also comprise in level conversion driver, D/A or A/D converter partly or entirely, for coordinating CPU and external storage equipment in the type of information and the difference on level.
In this interface, also arrange and interrupt and DMA (Direct Memory Access) steering logic, in the situation that interrupting and DMA allows, produce and interrupt and dma request signal guaranteeing, and interrupt and DMA completes interruption processing after replying and DMA transmits receiving.
External storage equipment port in the embodiment of the present invention can adopt polytype interface.For example: adopt serial line interface, this interface provides the hot plug and play outside cabinet to connect, each USB device is connected in the USB socket of a peripheral hardware by a USB plug, and itself provide a USB socket to use to next USB device, connection in this way, USB controller can connect nearly 127 peripheral hardwares, and distance between each peripheral hardware can reach 5 meters.The 4 pin circular plugs that USB is unified replace serial/parallel mouthful of numerous (for mouse, MODEM, the keyboard etc.) plugs after cabinet.USB can Intelligent Recognition USB chain on insertion or the dismounting of peripherals.Except connecting keyboard, mouse etc., USB can also connect the low speed peripheral hardwares such as telephone system, digital sound, printer and scanner.
In order to improve message transmission rate, external storage equipment interface in the embodiment of the present invention can also adopt disk interface, for example, can be IDE (Integrated Device Electronics) interface, connect the hard disk drive that two capacity are no more than 528M, or, it can be EIDE (Enhanced Integrated Device Electronics) interface, the equipment that it is supported, except hard disk, also comprises CD-ROM drive, Disk Backup equipment etc.EIDE has higher data transfer rate, supports PIO (Programmed input/output) mode 3 and pattern 4 standards.
S102, according to the naming rule of AKU file, detect all AKU files in described external storage equipment;
After external storage equipment and smart machine connect, smart machine can be searched for AKU file in all external storage equipments, in order to ensure all AKU are all traversed, in embodiments of the present invention, defined the naming rule of an AKU file, like this, when searching AKU file, as long as the filename of the identical naming rule of retrieval, just can find rapidly and accurately all AKU files.
Naming rule can comprise, the putting in order of the information comprising in title and all information that comprise; The information comprising in title can comprise: file description information, smart machine product type, and update time, software version number or filename suffix, filename can adopt the part or all of of above-mentioned information.Or, in order to make title simply and to be convenient to identification, can an include file descriptor and filename suffix in file name.For example:
Mode one:
AKU filename can be following form:
Time _ software version number the .zip of update-product type _ be accurate to day:
Wherein:
Update is the descriptor of this AKU file, and therefrom user can know, and this document is upgrade file;
Product type: can be the product type of smart machine, as X60, S40 etc.
The time being accurate to day: i.e. time of release upgrade bag, as: 20130913
Software version number: be divided into exploitation version and stable version, exploitation version adds 3 bit digital with V beginning, as: V042;
Stable release be take S beginning and is added 3 for digital, as: S042.
Mode two
In addition, AKU filename can be also following form:
Update.zip: only represent that this document is an AKU.
In the situation that having defined title rule, external storage equipment is inserted into after intelligent machine, click " detecting the upgrade file in external storage equipment " button, system upgrade application will detect all external storage equipments, according to the naming rule of AKU file, search the AKU file of corresponding its product type in this smart machine.
S103, described all AKU files are sorted, and the list after sequence is shown to user selects.
When smart machine finds after all AKU files in external storage equipment, all AKU files are sorted, for example, sort the update time by AKU file, or sort according to software version number, or comprehensive update time and software version number, all AKU files are sorted.
List after sequence is shown to user, if name with the first naming rule, it is the form of the time _ software version number .zip of update-product type _ be accurate to day, can in list, show a plurality of Informations, each Information shows an information, all Informations can be shown to user, also can only the time of issue and version number information hurdle be shown to user.
If name with the second naming rule, for example, called after update.zip, the AKU file that can show All Files update.zip by name, and show this document name mark below, this mark have illustrated this AKU file is in which external storage equipment, and the time creating in this external storage equipment, when preventing from having same names AKU file in a plurality of external storage equipments, the problem that cannot distinguish causing.
The embodiment of the present invention, by the naming rule of definition AKU file, according to naming rule, carry out the search of file, avoided the search that causes due to filename variation in prior art not comprehensively or safeguard more difficult problem, meanwhile, after searching all AKU files, also file is sorted, make the information of All Files very clear, facilitated user's identification and selection.
Embodiment bis-
According to another aspect of the present invention, also provide a kind of pick-up unit of smart machine upgraded in offline bag, it is characterized in that, described device comprises with lower unit:
Detecting unit 202, for detecting all AKU files of described external storage equipment according to the naming rule of AKU file;
In addition, in order to search for quickly and easily AKU file, can unify name to AKU file, described naming rule comprises, the putting in order of the information comprising in title and described information; The information comprising in described title comprises: file description information, smart machine product type, update time, software version number and filename suffix.
The device of the embodiment of the present invention, by AKU file being searched for according to naming rule, has improved search speed, accuracy and comprehensive; Meanwhile, AKU file is carried out to list demonstration according to file name information, also realized the unified management of AKU file, facilitated checking of user, improved the maintainability of system.
For aforesaid each embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other along go or carry out simultaneously; Secondly, those skilled in the art also should know, said method embodiment all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
For the aforesaid embodiment that respectively installs, for simple description, therefore it is all expressed as to a series of unit combination, but those skilled in the art should know, the present invention is not subject to the restriction of described unit combination, because according to the present invention, some unit can adopt other unit to carry out; Secondly, those skilled in the art also should know, said apparatus embodiment all belongs to preferred embodiment, and related unit might not be that the present invention is necessary.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Detection method and device to a kind of smart machine upgraded in offline bag provided by the present invention above, be described in detail, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.
Claims (10)
1. a detection method for smart machine upgraded in offline bag, is characterized in that, said method comprising the steps of:
In response to external storage equipment, by connectivity port, be inserted into described smart machine, connect with described external storage equipment;
According to the naming rule of AKU file, detect all AKU files in described external storage equipment;
Described all AKU files are sorted, and the list after sequence is shown to user's selection.
2. the detection method of smart machine upgraded in offline bag according to claim 1, is characterized in that,
Described naming rule comprises, the putting in order of the information comprising in title and described information;
The information comprising in described title comprises: file description information, smart machine product type, update time, software version number and filename suffix.
3. the detection method of smart machine upgraded in offline bag according to claim 2, is characterized in that, the described step that all AKU files are sorted, comprising:
By described update time or described software version number, sort.
4. the detection method of smart machine upgraded in offline bag according to claim 1, is characterized in that,
Described naming rule comprises, the putting in order of the information comprising in title and described information;
The information comprising in described title comprises: file description information and filename suffix.
5. the detection method of smart machine upgraded in offline bag according to claim 2, is characterized in that,
Described list comprises the Information of a plurality of demonstration information, and described information at least comprises, update time and software version number.
6. the detection method of smart machine upgraded in offline bag according to claim 4, is characterized in that,
Described list comprises the time that this AKU file creates in described external storage equipment.
7. the detection method of smart machine upgraded in offline bag according to claim 1, it is characterized in that, described connectivity port comprises usb connecting port, this usb connecting port provides hot plug and play to connect, described external storage equipment is USB memory device, described in each, USB memory device utilizes a USB plug to be connected on the described usb connecting port of a peripheral hardware, and utilizes and itself provide another usb connecting port to use to next USB memory device.
8. the detection method of smart machine upgraded in offline bag according to claim 1, it is characterized in that, the step that described and described external storage equipment connects is that described external storage equipment interface comprises by the external storage equipment Interface realization in smart machine:
Logic is deposited and cushioned to data, for adapting to the CPU of described smart machine and the speed difference between described external storage equipment;
Register or RAM chip, for realizing the transmission of batch data;
Conversion logic, for realizing the conversion between serial data and parallel data;
Level conversion driver or D/A or A/D converter, for coordinating the CPU of described smart machine and described external storage equipment in the difference of information type and level;
Dma control logic, for generation of interrupting and dma request signal, and interrupts and DMA completes after replying and interrupts processing and DMA transmits receiving.
9. a pick-up unit for smart machine upgraded in offline bag, its feature is being, described device comprises with lower unit:
Linkage unit, for being inserted into described smart machine in response to external storage equipment by connectivity port, connects with described external equipment;
Detecting unit, for detecting all AKU files of described external storage equipment according to the naming rule of AKU file;
Display unit, for described all AKU files are sorted, and is shown to user's selection by the list after sequence.
10. the pick-up unit of smart machine upgraded in offline bag according to claim 9, is characterized in that,
Described naming rule comprises, the putting in order of the information comprising in title and described information;
The information comprising in described title comprises: file description information, smart machine product type, update time, software version number and filename suffix.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310734150.0A CN103699416A (en) | 2013-12-27 | 2013-12-27 | Detection method and detection device of intelligent device offline upgrade packs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310734150.0A CN103699416A (en) | 2013-12-27 | 2013-12-27 | Detection method and detection device of intelligent device offline upgrade packs |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103699416A true CN103699416A (en) | 2014-04-02 |
Family
ID=50360955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310734150.0A Pending CN103699416A (en) | 2013-12-27 | 2013-12-27 | Detection method and detection device of intelligent device offline upgrade packs |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103699416A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598281A (en) * | 2015-02-05 | 2015-05-06 | 深圳市成为信息技术有限公司 | Method for upgrading system of electronic device |
WO2015176525A1 (en) * | 2014-05-23 | 2015-11-26 | 邓寅生 | Time-serialization-based document identification, association, search, and display system |
CN105912347A (en) * | 2016-05-11 | 2016-08-31 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal based version updating processing method and system of application software package |
CN106708928A (en) * | 2016-11-17 | 2017-05-24 | 广州视源电子科技股份有限公司 | File management method and device |
CN106993143A (en) * | 2017-04-13 | 2017-07-28 | 深圳创维-Rgb电子有限公司 | A kind of method that multi-functional control is realized by television set single-button |
CN107819870A (en) * | 2017-11-21 | 2018-03-20 | 广州视睿电子科技有限公司 | Incremental data pulling method and device, storage medium, terminal equipment and server |
CN109165025A (en) * | 2018-08-01 | 2019-01-08 | 京信通信系统(中国)有限公司 | The offline method for burn-recording of chip, device, system, computer storage medium and equipment |
CN110806884A (en) * | 2018-08-06 | 2020-02-18 | 中兴通讯股份有限公司 | Method and device for repairing operating system fault |
CN112333278A (en) * | 2020-11-10 | 2021-02-05 | 珠海格力电器股份有限公司 | Intelligent equipment upgrading method and system and intelligent equipment |
CN117149241A (en) * | 2023-10-30 | 2023-12-01 | 深圳市好盈科技股份有限公司 | Electronic speed regulator upgrading device and upgrading method |
-
2013
- 2013-12-27 CN CN201310734150.0A patent/CN103699416A/en active Pending
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015176525A1 (en) * | 2014-05-23 | 2015-11-26 | 邓寅生 | Time-serialization-based document identification, association, search, and display system |
US10719559B2 (en) | 2014-05-23 | 2020-07-21 | Yinsheng DENG | System for identifying, associating, searching and presenting documents based on time sequentialization |
CN104598281A (en) * | 2015-02-05 | 2015-05-06 | 深圳市成为信息技术有限公司 | Method for upgrading system of electronic device |
CN105912347A (en) * | 2016-05-11 | 2016-08-31 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal based version updating processing method and system of application software package |
CN105912347B (en) * | 2016-05-11 | 2019-06-04 | Tcl移动通信科技(宁波)有限公司 | A kind of application software package version updating processing method and system based on mobile terminal |
CN106708928A (en) * | 2016-11-17 | 2017-05-24 | 广州视源电子科技股份有限公司 | File management method and device |
CN106993143A (en) * | 2017-04-13 | 2017-07-28 | 深圳创维-Rgb电子有限公司 | A kind of method that multi-functional control is realized by television set single-button |
CN107819870A (en) * | 2017-11-21 | 2018-03-20 | 广州视睿电子科技有限公司 | Incremental data pulling method and device, storage medium, terminal equipment and server |
CN109165025A (en) * | 2018-08-01 | 2019-01-08 | 京信通信系统(中国)有限公司 | The offline method for burn-recording of chip, device, system, computer storage medium and equipment |
CN110806884A (en) * | 2018-08-06 | 2020-02-18 | 中兴通讯股份有限公司 | Method and device for repairing operating system fault |
CN112333278A (en) * | 2020-11-10 | 2021-02-05 | 珠海格力电器股份有限公司 | Intelligent equipment upgrading method and system and intelligent equipment |
CN117149241A (en) * | 2023-10-30 | 2023-12-01 | 深圳市好盈科技股份有限公司 | Electronic speed regulator upgrading device and upgrading method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103699416A (en) | Detection method and detection device of intelligent device offline upgrade packs | |
CN103620431B (en) | The integrated circuit tested is carried out for using high speed input/output interface | |
CN103150231B (en) | The method of computer booting and computer system | |
CN102012954B (en) | Subsystem integration method and subsystem integration system for integration design of system-on-chip | |
CN110347732A (en) | A kind of data transfer device and device | |
CN101427228A (en) | USB connection | |
CN104321746A (en) | Distribution of application files | |
CN102279756A (en) | CPLD (Complex Programmable Logic Device) firmware updating method | |
CN110875850A (en) | Firmware upgrading method and system, readable storage medium and terminal equipment | |
CN102722381A (en) | Techniques to optimize upgrade tasks | |
CN104090855A (en) | Method and device for making USB (universal serial bus) mode and MHL (mobile high-definition link) mode of USB interface compatible | |
CN102662675A (en) | Method and device for providing software for terminal equipment | |
CN107656750A (en) | Update of plug-in method and device | |
CN112308713A (en) | Cross-chain transaction method and device | |
CN104657127A (en) | System and method for automatically embedding operation collection element | |
CN106919426A (en) | A kind of method of multipath server FPGA version synchronizations | |
CN104765792A (en) | Dimension data storing method, device and system | |
CN110019538B (en) | Data table switching method and device | |
CN107679222A (en) | Image processing method, mobile terminal and computer-readable recording medium | |
CN111181881A (en) | Server signal transmission system and method, electronic equipment and storage medium | |
CN106569852A (en) | Burning method and device | |
CN111142735B (en) | Software page creating method and device, terminal equipment and storage medium | |
CN102612683A (en) | Maintaining data integrity across execution environments | |
CN110597536B (en) | Software upgrading method, system and terminal equipment | |
CN109032637A (en) | Oftware updating method and device based on framework frame |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140402 |
|
RJ01 | Rejection of invention patent application after publication |