CN106126302A - A kind of device update method and device - Google Patents

A kind of device update method and device Download PDF

Info

Publication number
CN106126302A
CN106126302A CN201610512626.XA CN201610512626A CN106126302A CN 106126302 A CN106126302 A CN 106126302A CN 201610512626 A CN201610512626 A CN 201610512626A CN 106126302 A CN106126302 A CN 106126302A
Authority
CN
China
Prior art keywords
version number
data bag
driving data
target devices
packet
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
CN201610512626.XA
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610512626.XA priority Critical patent/CN106126302A/en
Publication of CN106126302A publication Critical patent/CN106126302A/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
    • 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/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of device update method, described method includes: the device sending the target devices after changing to server is more newly requested, the more newly requested device identification carrying described target devices of described device;Receive the driving data bag of the described target devices found according to described device identification that described server sends;Described driving data bag is installed.The embodiment of the invention also discloses a kind of device updating device.Use the present invention, by the device after changing is updated, is upgraded, so that the device after Geng Huaning and system compatible, improve the configuration of device simultaneously.

Description

A kind of device update method and device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of device update method and device.
Background technology
Along with developing rapidly of communication technology, the terminal such as mobile phone, panel computer, notebook computer has become the daily life of people Instrument indispensable in work.But the hardware update in these terminals is regenerated faster, and existing terminal all uses fixing Configuration, after user have purchased certain a terminal, if feel hardware configuration undesirable and want higher hardware configuration, once Change hardware, it will cause terminal part or repertoire not to use, there is the technical problem that device is incompatible with system.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that a kind of device update method and device, by right Device after replacing is updated, upgrades, so that the device after Geng Huaning and system compatible, improves the configuration of device simultaneously.
In order to solve above-mentioned technical problem, embodiments providing a kind of device update method, described method includes:
The device sending the target devices after changing to server is more newly requested, and described device is more newly requested carries described mesh The device identification of mark device;
Receive the driving data bag of the described target devices found according to described device identification that described server sends;
Described driving data bag is installed.
Optionally, after described installation described driving data bag, also include:
Detect whether described driving data bag is installed successfully;
If detecting and installing successfully, then successfully information is installed in output.
Optionally, after described installation described driving data bag, also include:
Trigger the operation of reboot operation system, with the target devices that the described driving data bag that comes into force is corresponding.
Optionally, described device is more newly requested includes that the history associated with described target devices drives version number;
Before described installation described driving data bag, also include:
Whether the current version number detecting described driving data bag drives version number higher than described history;
When detecting that described current version number drives version number higher than described history, perform described installation described driving number Step according to bag;
When detecting that described current version number drives version number less than or equal to described history, then output is without more redaction Instruction information.
Optionally, described after detecting that described current version number drives version number higher than described history, also include:
Whether detect the top version number of the supported packet of described target devices less than described current version number;
When detecting that the top version number of the supported packet of described target devices is more than or equal to described current version Number time, perform the step of described installation described driving data bag;
When the top version number supported packet of described target devices being detected is less than described current version, defeated Go out version and do not mate information.
Correspondingly, the embodiment of the present invention additionally provides a kind of device updating device, and described device includes:
Request sending module, more newly requested for sending the device of the target devices after changing to server, described device The more newly requested device identification carrying described target devices;
Packet-receiving module, for receiving the described mesh found according to described device identification that described server sends The driving data bag of mark device;
Packet installs module, is used for installing described driving data bag.
Optionally, described device, also include:
Detection module is installed, is used for detecting whether described driving data bag is installed successfully;
First information output module, for detect installs successfully time, export successfully information is installed.
Optionally, described device, also include:
Trigger the operation of reboot operation system, with the target devices that the described driving data bag that comes into force is corresponding.
Optionally, described device is more newly requested includes that the history associated with described target devices drives version number;
Before described installation described driving data bag, also include:
Whether the current version number detecting described driving data bag drives version number higher than described history;
When detecting that described current version number drives version number higher than described history, perform described installation described driving number Step according to bag;
When detecting that described current version number drives version number less than or equal to described history, then output is without more redaction Instruction information.
Optionally, described device, also include:
Version number's detection module, for detecting whether the top version number of the supported packet of described target devices is less than Described current version number, when the top version number supported packet of described target devices being detected is worked as more than or equal to described During front version number, trigger described packet and the module described driving data bag of installation is installed;
Second message output module, for when detecting that the top version number of the supported packet of described target devices is little When described current version, output version does not mate information.
In embodiments of the present invention, terminal to server send the device of target devices after changing more newly requested after, connect Receive the driving data bag found according to device identification that server sends, and described driving data bag is installed.By to replacing After device be updated, upgrade so that the device after Geng Huaning and system compatible, improve the configuration of device simultaneously.
Accompanying drawing explanation
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 In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of device update method in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the device update method in another embodiment of the present invention;
Fig. 3 is the structural representation of a kind of device updating device in the embodiment of the present invention;
Fig. 4 is the Organization Chart of a kind of computer system performing above-mentioned device update method in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
Term in description and claims of this specification and above-mentioned accompanying drawing " include " and " having " and they appoint What deformation, it is intended that cover non-exclusive comprising.Such as contain series of steps or the process of unit, method, system, product Product or equipment are not limited to step or the unit listed, but the most also include step or the unit do not listed, or The most also include other steps intrinsic for these processes, method, product or equipment or unit.
The execution of the device update method mentioned in the embodiment of the present invention depends on computer program, can run on Feng Ruoyi On the computer system of graceful system.This computer program can run based on device updating device.Described device updating device can Thinking terminal or operate in the software program of terminal, described terminal can include mobile phone, notebook computer, PC, flat board Computer, vehicle-mounted computer, POS (Point Of Sales, point of sale) machine etc..
It is described in detail individually below.
Fig. 1 is the schematic flow sheet of a kind of device update method in the embodiment of the present invention, and the most described method is at least Including:
Step S101, the device sending the target devices after changing to server is more newly requested, and described device is more newly requested Carry the device identification of described target devices.
Concrete, device identification is used for unique identifier part, such as: the mark of photographic head can be the model of photographic head DS-2CD3T20D-I3, T7866WIP, CS-C3C-31WFR (4mm) etc.;The mark of receiver can be model MAF-of receiver AR0711W, NX507J N505J etc..
In being embodied as, after the device in terminal is changed by user, terminal needs to configure one for the device after changing The driving data bag of redaction, therefore, more newly requested according to device identification generating device, and send to device vendor server, So that the driving data bag that device manufacturer whois lookup and terminal iidentification match.Wherein, described device manufacturer server is used The information of various devices produced in memory device manufacturer and the driving data bag of correspondence.It should be noted that use is mobile Industry Processor (Mobile Industry Processor Interface, MIPI) interface carries out device replacing, described MIPI It is the open standard formulated for Mobile solution processor of MIPI alliance initiation, it is therefore an objective to the interface of terminal inner such as shooting The standardization such as head, display screen interface, radio frequency/baseband interface, thus reduce the complexity of Terminal Design and increase flexible design Property.Having different working groups below MIPI alliance, respectively define a series of terminal inner interface standard, such as photographic head connects Mouth CSI, display interface DSI, radio frequency interface DigRF, mike/horn interface SLIMbus etc..The benefit of unified interface standard is Manufacturer terminal as required can be more quick during change Design and Features from selecting different chips and module on the market flexibly Convenient.It addition, use MIPI interface can have more low-power consumption, higher data transmission rate and less printed circuit board (Printed Circuit Board, PCB) footprint.
Such as, the photographic head on mobile phone need to be carried out upgrading obtaining that pixel is higher, daylighting effect preferably images by user Head, terminal is by the more newly requested vendor server being sent to produce this photographic head updating photographic head with camera identification. Server receive that terminal sends more ask request after, search the latest edition corresponding with this camera identification in the memory unit This driving data bag.
Step S102, receives driving of the described target devices found according to described device identification that described server sends Dynamic packet.
Concrete, driving data bag is the set that can decompress file voluntarily, including the software that driving element is corresponding The All Files installed.Run this packet (executable file), the All Files of this software can be discharged on hard disk, Complete edit the registry, amendment system is arranged, create the work such as shortcut.This packet file mostly is exe form.
Program installation rear drive packet takes less than, but suggestion is not deleted, if program goes wrong, and Ke Yichong Newly open driving data bag to install.
Device manufacturer server is sent to terminal after finding the driving data bag corresponding with device identification, and terminal connects Receive the driving data bag that device manufacturer server sends, so that described driving data bag to be processed, as described in relatively, drive number The version number of the driving data bag before changing according to version number and the device of bag or inquire about described driving data bag and described device Compatibility etc., be not especially limited herein.
Step S103, installs described driving data bag.
Concrete, the packet received is installed.
Optionally, after installation is complete, detect whether described driving data bag is installed successfully, if detecting and installing successfully, Then successfully information is installed in output, otherwise, shows install failure information, and indicates terminal to reinstall.
Optionally, after installation is complete, reboot operation system is triggered, so that the target devices life that driving data bag is corresponding Effect, i.e. target devices can realize the function of its correspondence, such as photographic head and can image, and receiver can export sound, passes Sensor can detect or gather data etc..
In embodiments of the present invention, terminal to server send the device of target devices after changing more newly requested after, connect Receive the driving data bag found according to device identification that server sends, and described driving data bag is installed.By to replacing After device be updated, upgrade so that the device after Geng Huaning and system compatible, improve the configuration of device simultaneously.
Fig. 2 is the schematic flow sheet of the device update method that another embodiment of the present invention provides, the most described method At least include:
Step S201, the device sending the target devices after changing to server is more newly requested, and described device is more newly requested Carry the device identification of described target devices.
Concrete, device identification is used for unique identifier part, such as: the mark of photographic head can be the model of photographic head DS-2CD3T20D-I3, T7866WIP, CS-C3C-31WFR (4mm) etc.;The mark of receiver can be model MAF-of receiver AR0711W, NX507J N505J etc..
In being embodied as, after the device in terminal is changed by user, terminal needs to configure one for the device after changing The driving data bag of redaction, therefore, more newly requested according to device identification generating device, and send to device vendor server, So that the driving data bag that device manufacturer whois lookup and terminal iidentification match.Wherein, described device manufacturer server is used The information of various devices produced in memory device manufacturer and the driving data bag of correspondence.It should be noted that use is mobile Industry Processor (Mobile Industry Processor Interface, MIPI) interface carries out device replacing, described MIPI It is the open standard formulated for Mobile solution processor of MIPI alliance initiation, it is therefore an objective to the interface of terminal inner such as shooting The standardization such as head, display screen interface, radio frequency/baseband interface, thus reduce the complexity of Terminal Design and increase flexible design Property.Having different working groups below MIPI alliance, respectively define a series of terminal inner interface standard, such as photographic head connects Mouth CSI, display interface DSI, radio frequency interface DigRF, mike/horn interface SLIMbus etc..The benefit of unified interface standard is Manufacturer terminal as required can be more quick during change Design and Features from selecting different chips and module on the market flexibly Convenient.It addition, use MIPI interface can have more low-power consumption, higher data transmission rate and less printed circuit board (Printed Circuit Board, PCB) footprint.
Such as, the photographic head on mobile phone need to be carried out upgrading to obtain higher pixel by user, daylighting effect preferably images Head, terminal is by the more newly requested vendor server being sent to produce this photographic head updating photographic head with camera identification. Server receive that terminal sends more ask request after, search the latest edition corresponding with this camera identification in the memory unit This driving data bag.
Step S202, receives driving of the described target devices found according to described device identification that described server sends Dynamic packet.
Concrete, driving data bag is the set that can decompress file voluntarily, including the software that driving element is corresponding The All Files installed.Run this installation kit (executable file), the All Files of this software can be discharged on hard disk, Complete edit the registry, amendment system is arranged, create the work such as shortcut.Installation package file mostly is exe form.
Program installation rear drive packet takes less than, but suggestion is not deleted, if program goes wrong, and Ke Yichong Newly open driving data bag to install.
Device manufacturer server is sent to terminal after finding the driving data bag corresponding with device identification, and terminal connects Receive the driving data bag that device manufacturer server sends, so that described driving data bag to be processed, as described in relatively, drive number The version number of the driving data bag before changing according to version number and the device of bag or inquire about described driving data bag and described device Compatibility etc., be not especially limited herein.
Step S203, whether the current version number detecting described driving data bag drives version number higher than described history.
Concrete, current version number is the version number of the driving data bag after device replacing, and history drives version number to be device The version number of the driving data bag before part replacing.
In the present embodiment, the data that the version number of the corresponding driving data bag after being changed by device is corresponding with before replacing The version number of bag compares, it is judged that the version number of the driving data bag that device after replacing is corresponding is the most corresponding higher than before changing The version number of packet.
Such as, the current version number of photographic head is A, and old version number is B, compares whether A is more than B, if A is more than B, then sentences Settled front version number is higher than old version number, otherwise, it is determined that current version number is not higher than old version number.
Step S204, when detecting that described current version number drives version number higher than described history, installs described driving Packet.
Concrete, when testing result be current version number higher than old version time, trigger and perform current version is installed Driving data bag.
Step S205, when detecting that described current version number drives version number less than or equal to described history, then exports Instruction information without more redaction.
Concrete, when testing result is current version number not higher than old version, shows and indicate information accordingly, as Inform that user's history driving data bag is latest edition packet or informs that user's current version number is legacy data bag.
Optionally, the mode of described displaying instruction information can be audio frequency, video, text etc., is specifically not construed as limiting.
Optionally, described after detecting that described current version number drives version number higher than described history, also include:
Whether detect the top version number of the supported packet of described target devices less than described current version number;
When detecting that the top version number of the supported packet of described target devices is more than or equal to described current version Number time, perform the step of described installation described driving data bag;
When the top version number supported packet of described target devices being detected is less than described current version, defeated Go out version and do not mate information.
Concrete, the version number of the packet that the top version number of the packet supported by terminal part sends with server Compare, when the top version number of the packet that device is supported is higher than the version number of the packet that server sends, install The packet that server sends, the top version number at the packet of device support is not higher than the version of the packet that server sends When this number, showing device and do not mate with the packet received, what output was corresponding does not mates information.
Such as, the top version number of the driving data bag of the photographic head support of certain mobile phone is A1, and mobile phone receives manufacturer The top version number of the packet that server sends is A2, if A1 is more than A2, shows the number that this mobile phone can support version number to be A2 According to bag, carry out installing;If A2 is more than A1, show that this mobile phone camera supports the limitation of version, the number sent with server Incompatible according to bag, export corresponding version and do not mate information.
Optionally, the mode of described output information can be to export, the most not in modes such as audio frequency, video or texts It is construed as limiting.
Step S206, detects whether described driving data bag is installed successfully.
Concrete, described detection mode has multiple, device as corresponding in started this driving data bag, whether detects this device Can realize its function, as started photographic head, whether detection photographic head can gather image information;Start fingerprint sensor, inspection Survey whether fingerprint sensor can gather the finger print information of user;Starting microphone, whether detection microphone can gather the language of user Message breath etc..
Step S207, if detecting and installing successfully, then successfully information is installed in output.
Concrete, if by, after starter, detecting that device can realize its function, show to drive bag to install successfully, Then output installs successfully information, to indicate user can normally use the function of this device.
Optionally, the mode that successfully information is installed in described output can be defeated in modes such as audio frequency, video or texts Go out, be specifically not construed as limiting.
Optionally, after described installation described driving data bag, also include:
Trigger the operation of reboot operation system, with the target devices that the described driving data bag that comes into force is corresponding.
Concrete, after installation is complete, trigger reboot operation system, so that the target devices life that driving data bag is corresponding Effect, i.e. target devices can realize the function of its correspondence, such as photographic head and can image, and receiver can export sound, passes Sensor can detect or gather data etc..
In embodiments of the present invention, terminal to server send the device of target devices after changing more newly requested after, connect Receive the driving data bag found according to device identification that server sends, and described driving data bag is installed.By to replacing After device be updated, upgrade so that the device after Geng Huaning and system compatible, improve the configuration of device simultaneously.
Fig. 3 is the composition structural representation of a kind of device updating device that the embodiment of the present invention provides, described as shown in the figure Device includes:
Request sending module 310, more newly requested for sending the device of the target devices after changing to server, described device The more newly requested device identification carrying described target devices of part.
Concrete, device identification is used for unique identifier part, such as: the mark of photographic head can be the model of photographic head DS-2CD3T20D-I3, T7866WIP, CS-C3C-31WFR (4mm) etc.;The mark of receiver can be model MAF-of receiver AR0711W, NX507J N505J etc..
In being embodied as, after the device in terminal is changed by user, terminal needs to configure one for the device after changing The driving data bag of redaction, therefore, more newly requested according to device identification generating device, and send to device vendor server, So that the driving data bag that device manufacturer whois lookup and terminal iidentification match.Wherein, described device manufacturer server is used The information of various devices produced in memory device manufacturer and the driving data bag of correspondence.It should be noted that use is mobile Industry Processor (Mobile Industry Processor Interface, MIPI) interface carries out device replacing, described MIPI It is the open standard formulated for Mobile solution processor of MIPI alliance initiation, it is therefore an objective to the interface of terminal inner such as shooting The standardization such as head, display screen interface, radio frequency/baseband interface, thus reduce the complexity of Terminal Design and increase flexible design Property.Having different working groups below MIPI alliance, respectively define a series of terminal inner interface standard, such as photographic head connects Mouth CSI, display interface DSI, radio frequency interface DigRF, mike/horn interface SLIMbus etc..The benefit of unified interface standard is Manufacturer terminal as required can be more quick during change Design and Features from selecting different chips and module on the market flexibly Convenient.It addition, use MIPI interface can have more low-power consumption, higher data transmission rate and less printed circuit board (Printed Circuit Board, PCB) footprint.
Such as, the photographic head on mobile phone need to be carried out upgrading obtaining that pixel is higher, daylighting effect preferably images by user Head, terminal is by the more newly requested vendor server being sent to produce this photographic head updating photographic head with camera identification. Server receive that terminal sends more ask request after, search the latest edition corresponding with this camera identification in the memory unit This driving data bag.
Packet-receiving module 320, for receiving the institute found according to described device identification that described server sends State the driving data bag of target devices.
Concrete, driving data bag is the set that can decompress file voluntarily, including the software that driving element is corresponding The All Files installed.Run this packet (executable file), the All Files of this software can be discharged on hard disk, Complete edit the registry, amendment system is arranged, create the work such as shortcut.This packet file mostly is exe form.
Program installation rear drive packet takes less than, but suggestion is not deleted, if program goes wrong, and Ke Yichong Newly open driving data bag to install.
Device manufacturer server is sent to terminal after finding the driving data bag corresponding with device identification, and terminal connects Receive the driving data bag that device manufacturer server sends, so that described driving data bag to be processed, as described in relatively, drive number The version number of the driving data bag before changing according to version number and the device of bag or inquire about described driving data bag and described device Compatibility etc., be not especially limited herein.
Packet installs module 330, is used for installing described driving data bag.
Concrete, the packet received is installed.
Optionally, after installation is complete, detect whether described driving data bag is installed successfully, if detecting and installing successfully, Then successfully information is installed in output, otherwise, shows install failure information, and indicates terminal to reinstall.
Optionally, after installation is complete, reboot operation system is triggered, so that the target devices life that driving data bag is corresponding Effect, i.e. target devices can realize the function of its correspondence, such as photographic head and can image, and receiver can export sound, passes Sensor can detect or gather data etc..
Optionally, described device, also include:
Detection module 340 is installed, is used for detecting whether described driving data bag is installed successfully.
Concrete, described detection mode has multiple, device as corresponding in started this driving data bag, whether detects this device Can realize its function, as started photographic head, whether detection photographic head can gather image information;Start fingerprint sensor, inspection Survey whether fingerprint sensor can gather the finger print information of user;Starting microphone, whether detection microphone can gather the language of user Message breath etc..
First information output module 350, for detect installs successfully time, export successfully information is installed.
Concrete, if by, after starter, detecting that device can realize its function, show to drive bag to install successfully, Then output installs successfully information, to indicate user can normally use the function of this device.
Optionally, the mode that successfully information is installed in described output can be defeated in modes such as audio frequency, video or texts Go out, be specifically not construed as limiting.
Optionally, described device, also include:
Restarting trigger module 360, for triggering the operation of reboot operation system, to come into force, described driving data bag is corresponding Target devices.
Concrete, after installation is complete, trigger reboot operation system, so that the target devices life that driving data bag is corresponding Effect, i.e. target devices can realize the function of its correspondence, such as photographic head and can image, and receiver can export sound, passes Sensor can detect or gather data etc..
Optionally, described device is more newly requested includes that the history associated with described target devices drives version number;
Described device, also includes:
First version detection module 370, the current version number for detecting described driving data bag whether be higher than described in go through History drives version number, for when detecting that described current version number drives version number higher than described history, triggering described data Bag is installed module and is performed to install described driving data bag, for when detecting that described current version number is less than or equal to described history When driving version number, then output is without the instruction information of more redaction.
Concrete, when testing result be current version number higher than old version time, trigger and perform current version is installed Driving data bag;When testing result is current version number not higher than old version, shows and indicate information accordingly, as informed User's history driving data bag is latest edition packet or informs that user's current version number is legacy data bag.
Optionally, the mode of described displaying instruction information can be audio frequency, video, text etc., is specifically not construed as limiting.
Optionally, described device, also include:
Second edition detection module 380, for detecting the top version number of the supported packet of described target devices be No less than described current version number, when the top version number supported packet of described target devices being detected is more than or equal to During described current version, trigger described packet and the module described driving data bag of installation is installed, when described object machine being detected When the top version number of the supported packet of part is less than described current version, output version does not mate information.
Concrete, the version number of the packet that the top version number of the packet supported by terminal part sends with server Compare, when the top version number of the packet that device is supported is higher than the version number of the packet that server sends, install The packet that server sends, the top version number at the packet of device support is not higher than the version of the packet that server sends When this number, showing device and do not mate with the packet received, what output was corresponding does not mates information.
Such as, the top version number of the driving data bag of the photographic head support of certain mobile phone is A1, and mobile phone receives manufacturer The top version number of the packet that server sends is A2, if A1 is more than A2, shows the number that this mobile phone can support version number to be A2 According to bag, carry out installing;If A2 is more than A1, show that this mobile phone camera supports the limitation of version, the number sent with server Incompatible according to bag, export corresponding version and do not mate information.
Optionally, the mode of described output information can be to export, the most not in modes such as audio frequency, video or texts It is construed as limiting.
In embodiments of the present invention, terminal to server send the device of target devices after changing more newly requested after, connect Receive the driving data bag found according to device identification that server sends, and described driving data bag is installed.By to replacing After device be updated, upgrade so that the device after Geng Huaning and system compatible, improve the configuration of device simultaneously.
Fig. 4 illustrates a kind of computer system based on von Neumann system 10 running above-mentioned device update method.Should Computer system 10 can be smart mobile phone, panel computer, palm PC, and the user terminal such as notebook computer or PC sets Standby.Concrete, it may include the outer input interface 1001 that connected by system bus, processor 1002, memorizer 1003 and defeated Outgoing interface 1004.Wherein, outer input interface 1001 can include touch screen 10016, optionally can also include network interface 10018.Memorizer 1003 can include external memory 10032 (such as hard disk, CD or floppy disk etc.) and built-in storage 10034.Defeated Outgoing interface 1004 can include the equipment such as display screen 10042 and sound equipment/loudspeaker 10044.
In the present embodiment, the operation of this method is stored in based on computer program, the program file of this computer program In the external memory 10032 of aforementioned computer system based on von Neumann system 10, operationally it is loaded into built-in storage In 10034, it is transferred to after being then compiled as machine code in processor 1002 perform, so that based on von Neumann system Computer system 10 in formed request sending module 310 in logic, packet-receiving module 320, packet install module 330, install detection module 340, first information output module 350, restart trigger module 360, first version detection module 370 and Second edition detection module 380, and during above-mentioned device update method performs, the parameter of input is all connect by outside input Mouth 1001 receives, and is transferred in memorizer 1003 caching, is then input in processor 1002 process, the result of process Data or be cached in memorizer 1003 subsequently process, or are passed to output interface 1004 and export.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible Instructing relevant hardware by computer program to complete, described program can be stored in a computer read/write memory medium In, this 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 store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc..
The above disclosed present pre-ferred embodiments that is only, can not limit the right model of the present invention with this certainly Enclose, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.

Claims (10)

1. a device update method, it is characterised in that including:
The device sending the target devices after changing to server is more newly requested, and described device is more newly requested carries described object machine The device identification of part;
Receive the driving data bag of the described target devices found according to described device identification that described server sends;
Described driving data bag is installed.
2. the method for claim 1, it is characterised in that after described installation described driving data bag, also include:
Detect whether described driving data bag is installed successfully;
If detecting and installing successfully, then successfully information is installed in output.
3. the method for claim 1, it is characterised in that after described installation described driving data bag, also include:
Trigger the operation of reboot operation system, with the target devices that the described driving data bag that comes into force is corresponding.
4. the method for claim 1, it is characterised in that described device associates with described target devices more newly requested including History drive version number;
Before described installation described driving data bag, also include:
Whether the current version number detecting described driving data bag drives version number higher than described history;
When detecting that described current version number drives version number higher than described history, perform described installation described driving data bag Step;
When detecting that described current version number drives version number less than or equal to described history, then output is without the finger of more redaction Show information.
5. method as claimed in claim 4, it is characterised in that described when detecting that described current version number is higher than described history After driving version number, also include:
Whether detect the top version number of the supported packet of described target devices less than described current version number;
When the top version number supported packet of described target devices being detected is more than or equal to described current version, Perform the step of described installation described driving data bag;
When the top version number supported packet of described target devices being detected is less than described current version, trade edition This does not mate information.
6. a device updating device, it is characterised in that including:
Request sending module, more newly requested for sending the device of the target devices after changing to server, described device updates The device identification of described target devices is carried in request;
Packet-receiving module, for receiving the described object machine found according to described device identification that described server sends The driving data bag of part;
Packet installs module, is used for installing described driving data bag.
7. device as claimed in claim 6, it is characterised in that described device, also includes:
Detection module is installed, is used for detecting whether described driving data bag is installed successfully;
First information output module, for detect installs successfully time, export successfully information is installed.
8. device as claimed in claim 6, it is characterised in that described device, also includes:
Restart trigger module, for triggering the operation of reboot operation system, with the object machine that the described driving data bag that comes into force is corresponding Part.
9. device as claimed in claim 6, it is characterised in that described device associates with described target devices more newly requested including History drive version number;
Described device, also includes:
First version detection module, for detecting whether the current version number of described driving data bag drives version higher than described history This number, when detecting that described current version number drives version number higher than described history, trigger described packet installation module and hold Row installs described driving data bag, when detecting that described current version number drives version number less than or equal to described history, then Output is without the instruction information of more redaction.
10. device as claimed in claim 9, it is characterised in that described device, also includes:
Whether second edition detection module, for detecting the top version number of the supported packet of described target devices less than institute State current version number, when detect the top version number of the supported packet of described target devices more than or equal to described currently During version number, trigger described packet and the module described driving data bag of installation is installed, when detecting that described target devices can be supported Packet top version number less than described current version time, output version do not mate information.
CN201610512626.XA 2016-06-30 2016-06-30 A kind of device update method and device Pending CN106126302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610512626.XA CN106126302A (en) 2016-06-30 2016-06-30 A kind of device update method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610512626.XA CN106126302A (en) 2016-06-30 2016-06-30 A kind of device update method and device

Publications (1)

Publication Number Publication Date
CN106126302A true CN106126302A (en) 2016-11-16

Family

ID=57468095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610512626.XA Pending CN106126302A (en) 2016-06-30 2016-06-30 A kind of device update method and device

Country Status (1)

Country Link
CN (1) CN106126302A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324052A (en) * 2019-07-03 2019-10-11 Oppo(重庆)智能科技有限公司 A kind of functional application implementation method, device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020073415A1 (en) * 2000-12-13 2002-06-13 Kim In-Soo System and method for upgrading device driver
CN102567063A (en) * 2012-01-20 2012-07-11 飞天诚信科技股份有限公司 Method and device for automatically installing software
CN102609285A (en) * 2012-02-06 2012-07-25 中兴通讯股份有限公司 Method for intelligent drive matched loading
CN102880488A (en) * 2012-09-12 2013-01-16 北京奇虎科技有限公司 Method, equipment and system for restoring drive program
CN105591802A (en) * 2015-08-24 2016-05-18 杭州华三通信技术有限公司 Switch upgrading method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020073415A1 (en) * 2000-12-13 2002-06-13 Kim In-Soo System and method for upgrading device driver
CN102567063A (en) * 2012-01-20 2012-07-11 飞天诚信科技股份有限公司 Method and device for automatically installing software
CN102609285A (en) * 2012-02-06 2012-07-25 中兴通讯股份有限公司 Method for intelligent drive matched loading
CN102880488A (en) * 2012-09-12 2013-01-16 北京奇虎科技有限公司 Method, equipment and system for restoring drive program
CN105591802A (en) * 2015-08-24 2016-05-18 杭州华三通信技术有限公司 Switch upgrading method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324052A (en) * 2019-07-03 2019-10-11 Oppo(重庆)智能科技有限公司 A kind of functional application implementation method, device, terminal and storage medium
CN110324052B (en) * 2019-07-03 2021-11-09 Oppo(重庆)智能科技有限公司 Function application implementation method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN107276789B (en) Log uploading method and device and computer readable storage medium
US10007530B2 (en) Electronic device having an external memory and method for operating the same
US6282646B1 (en) System for real-time adaptation to changes in display configuration
US12061892B2 (en) Firmware updating method, and electronic apparatus and storage media for same
CN107018022B (en) Software upgrading processing method and device and terminal
WO2019037724A1 (en) Method for upgrading application of mobile terminal, storage device, and mobile terminal
EP3637251B1 (en) Method, device and terminal for executing hotpatch
CN103544033A (en) Method, device and associated equipment for rolling back application program
CN104216749A (en) Updating method and updating device for applications
US10824410B2 (en) Method and equipment for executing a file
CN108228230A (en) Upgrade method, terminal and the computer readable storage medium of UFS firmwares
CN110764825B (en) Starting method and terminal equipment
CN108121560A (en) Difference bag upgrade method, device, terminal and computer readable storage medium
CN102609290B (en) The method for upgrading software of electronic product
US20170199733A1 (en) Method for terminal to update operating system, terminal and system
CN108431767A (en) A kind of method, user terminal and the storage medium of load software program
CN105335195A (en) Device driver upgrading method and device and electronic device
CN108563476B (en) Application program running method and device, storage medium and electronic equipment
CN113138785A (en) Application program updating method and device
CN106126302A (en) A kind of device update method and device
CN101944072A (en) Method and equipment for configuring starting mode of terminal equipment
CN104077168A (en) Method and device for updating operation systems for terminal
CN104090805B (en) A kind of method, equipment and system for updating terminal operating system
EP2998859B1 (en) Display control device, display control method, and program
KR20100136152A (en) Apparatus and method for recognize external memorycard in portable terminal

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: 20161116

RJ01 Rejection of invention patent application after publication