CN109002314A - Oftware updating method, device, electronic equipment and storage medium - Google Patents

Oftware updating method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109002314A
CN109002314A CN201811150953.0A CN201811150953A CN109002314A CN 109002314 A CN109002314 A CN 109002314A CN 201811150953 A CN201811150953 A CN 201811150953A CN 109002314 A CN109002314 A CN 109002314A
Authority
CN
China
Prior art keywords
function
dynamic library
version number
library file
detection
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
CN201811150953.0A
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201811150953.0A priority Critical patent/CN109002314A/en
Publication of CN109002314A publication Critical patent/CN109002314A/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
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

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

Abstract

This application discloses a kind of Oftware updating method, device, electronic equipment and computer readable storage mediums, several functions are deployed in the software, under the operation of the software main program, the function provides service to the exterior terminal of access by itself mapped dynamic library file, which comprises receives the Function detection instruction that function triggering disposed to software carries out version detection;Indicated function is instructed according to Function detection, mapped the minimum of dynamic library file configuration of the function is read as and uses version number;According to the minimum version detection for carrying out dynamic library file using version number;When the version number of dynamic library file is not present or the version number of dynamic library file is lower than the minimum use version number, the dynamic library file is updated.Version detection and update after instructing indicated function to execute according to Function detection realize on-demand update so that file that is not called or being not selected will not be updated.

Description

Oftware updating method, device, electronic equipment and storage medium
Technical field
This application involves automobile diagnosis technique field, in particular to a kind of Oftware updating method, device, electronic equipment and meter Calculation machine readable storage medium storing program for executing.
Background technique
Currently, computer technology continues to develop, and computer software is also constantly updated.On the one hand the update of software is to software Bug repaired, on the one hand be then function update.
When the function of software is more and more, more and more perfect, the volume of software is also increasing.Currently, the update of software Mode generally comprises following 2 kinds.
Method one: whole replacements directly are carried out to Current software file with new version software file, complete to update.This method Software suitable for small volume.
Currently, the volume of many softwares reaches tens, and a part of software is even up to several hundred million, to improve software upgrading Speed is updated by following methods two.
Method two: by comparing new version software file and Current software file, upgrade package is generated, only includes in upgrade package The file having updated.Updating Current software file by upgrade package is new version software file.
As it can be seen that the above method have the disadvantage that software can not on-demand update, even method two, and replacement are complete The file that portion more corrects one's mistakes, it is also possible to need once to update many files, the file of update may need function to be used with user It can be unrelated.
Apply for content
In order to solve in the related technology software can not on-demand update the technical issues of, this application provides a kind of softwares more New method, device, electronic equipment and computer readable storage medium.
A kind of Oftware updating method deploys several functions in the software, under the operation of the software main program, institute It states function and provides service to the exterior terminal of access by itself mapped dynamic library file, which comprises
It receives and triggers the Function detection instruction for carrying out version detection to the disposed function of the software;
Indicated function is instructed according to the Function detection, is read as the mapped dynamic library file configuration of the function most It is low to use version number;
According to the minimum version detection for carrying out the dynamic library file using version number;
The version number of the dynamic library file is not present or the version number of the dynamic library file is lower than the minimum use When version number, the dynamic library file is updated.
In one exemplary embodiment, the Function detection for triggering to the disposed function of the software and carrying out version detection is received Instruction includes:
In the software main program operational process, receives funcall generated when the function is triggered by selection and refer to It enables;
Indicated function is instructed according to the funcall, triggering generates dynamic library file mapped to function and carries out version The Function detection of detection instructs.
In one exemplary embodiment, the Function detection for triggering to the disposed function of the software and carrying out version detection is received Instruction includes:
It detects the software and is triggered several specified functions and be updated function renewal generated instruction;
Indicated function is instructed according to the function renewal, triggering, which is generated, carries out version detection to several specified functions Function detection instruction.
In one exemplary embodiment, indicated function is instructed according to the Function detection, is read as the function and is reflected It penetrates before the minimum use version number of dynamic library file configuration, the method also includes:
The mapped dynamic library file of the function and the minimum incidence relation using between version number are configured, the association is closed System is for the minimum reading using version number associated by the dynamic library file.
In one exemplary embodiment, the filename of the version number of the dynamic library file and the dynamic library file closes Join, includes: according to the minimum version detection for carrying out the dynamic library file using version number
According to the filename of the dynamic library file, the version number with the file name association is obtained.
In one exemplary embodiment, when there is the version number with the file name association, according to it is described it is minimum use version This number version detection for carrying out the dynamic library file further include:
Compare the minimum of the dynamic library file and use version number and version number, obtain the version number minimum makes with described With the height relationship of version number.
In one exemplary embodiment, the minimum file name association using version number and dynamic library file, is not present When with the version number of the file name association, updating the dynamic library file includes:
Dynamic library file is obtained according to filename associated by the minimum use version number;
The dynamic library file that will acquire is stored by the path of configuration.
A kind of software renewing apparatus deploys several functions in the software, under the operation of the software main program, institute It states function and provides service to the exterior terminal of access by itself mapped dynamic library file, described device includes:
Receiving module triggers the Function detection instruction for carrying out version detection to the disposed function of the software for receiving;
Module is obtained, for instructing indicated function according to the Function detection, the function is read as and maps dynamic The minimum of library file configuration uses version number;
Detection module, for according to the minimum version detection for carrying out the dynamic library file using version number;
Update module, the version number for the dynamic library file is not present or the version number of the dynamic library file is lower than When the minimum use version number, the dynamic library file is updated.
In one exemplary embodiment, the receiving module is configured as executing:
In the software main program operational process, receives funcall generated when the function is triggered by selection and refer to It enables;
Indicated function is instructed according to the funcall, triggering generates dynamic library file mapped to function and carries out version The Function detection of detection instructs.
In one exemplary embodiment, the receiving module is configured as executing:
It detects the software and is triggered several specified functions and be updated function renewal generated instruction;
Indicated function is instructed according to the function renewal, triggering, which is generated, carries out version detection to several specified functions Function detection instruction.
In one exemplary embodiment, described device further include:
Configuration module is associated with pass using between version number with minimum for configuring the mapped dynamic library file of the function System, the incidence relation is for the minimum reading using version number associated by the dynamic library file.
In one exemplary embodiment, the filename of the version number of the dynamic library file and the dynamic library file closes Connection, the detection module are configured as executing:
According to the filename of the dynamic library file, the version number with the file name association is obtained.
In one exemplary embodiment, when there is the version number with the file name association, the detection module is also matched It is set to execution:
Compare the minimum of the dynamic library file and use version number and version number, obtain the version number minimum makes with described With the height relationship of version number.
In one exemplary embodiment, the minimum file name association using version number and dynamic library file, is not present When with the version number of the file name association, the update module is configured as executing:
Dynamic library file is obtained according to filename associated by the minimum use version number;
The dynamic library file that will acquire is stored by the path of configuration.
A kind of electronic equipment, the electronic equipment include:
Processor;
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is held by processor When row, foregoing method is realized.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor Foregoing method is realized when row.
The technical solution that embodiments herein provides can include the following benefits:
By instructing indicated function to carry out dynamic library file update according to Function detection, the version number of dynamic library file is not In the presence of or lower than configuration it is minimum using version number when, update dynamic library file.Indicated function is instructed to hold according to Function detection Version detection and update after row realize on-demand update so that file that is not called or being not selected will not be updated; And the minimum setting for using version number is not so that more new version number is not less than the minimum text for using version number when updating software Part greatly reduces update burden.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited Application.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application Example, and in specification it is used to explain the principle of the application together.
Fig. 1 is a kind of schematic diagram of implementation environment shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of Oftware updating method shown according to an exemplary embodiment;
Fig. 3 is the flow chart of the details of the step 210 shown in corresponding embodiment according to fig. 2;
Fig. 4 is the flow chart of the details of the step 210 shown in corresponding embodiment according to fig. 2;
Fig. 5 is the flow chart of the details of the step 270 shown in corresponding embodiment according to fig. 2;
Fig. 6 is the Oftware updating method flow chart exemplified according to a specific implementation;
Fig. 7 is the Oftware updating method flow chart exemplified according to a specific implementation;
Fig. 8 is a kind of block diagram of software renewing apparatus shown according to an exemplary embodiment;
Fig. 9 is a kind of block diagram of device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended Described in claims, the example for the device and method that some aspects of the application are consistent.
The application provides a kind of Oftware updating method, for solve software in the prior art can not on-demand update ask Topic.By instructing indicated function to carry out dynamic library file update according to Function detection, the version number of dynamic library file is not present Or lower than configuration it is minimum using version number when, update dynamic library file.
Fig. 1 is a kind of schematic diagram of implementation environment shown according to an exemplary embodiment.As shown in Figure 1, the implementation ring Border includes: terminal device 110, server-side 130, exterior terminal 150.
Terminal device 110 is the intelligent electronic device with data transmission and reception function, can be such as smart phone, The common apparatus of tablet computer, desktop computer is also possible to the special equipment of such as Auto analyzer.Software installing is run on Terminal device 110.
Server-side 130 is made of several servers, is connected by the data transmission between terminal device 110 to the software It provides and supports, including provide update required file for the software.
The software for running on terminal device 110 passes through the data transmission connection between terminal device 110 and exterior terminal 150 Service, such as vehicle diagnosis service are provided to exterior terminal 150.
Fig. 2 is a kind of flow chart of Oftware updating method shown according to an exemplary embodiment.This method can be applied It in the implementation environment shown in Fig. 1, is executed by terminal device 110, under the support of server-side 130, is completed in terminal device 110 The update of software.As shown in Fig. 2, this method at least includes the following steps.
Step 210, the Function detection instruction that function triggering disposed to software carries out version detection is received.
Several functions are deployed in software, under the operation of software main program, which maps dynamic by itself State library file provides service to the exterior terminal of access, such as diagnoses to exterior terminal.
In software main program operation, same function maps several dynamic library files and links with main program, realizes the function Energy.Function achieved by software is limited by the dynamic library file being stored in terminal device, and realization is lacked in terminal device should In dynamic library file or terminal device needed for function the version number of dynamic library file lower than it is minimum using version number when, software without Method realizes the function.
For security function realization, before being linked, systematic function detection instruction reflect the function with triggering Penetrate the version detection of dynamic library file.Function detection instruction can be the function in software main program operational process and be triggered by selection Caused generation, it is also possible to several specified functions that software is triggered including the function and is updated caused production Raw.
Step 230, indicated function is instructed according to Function detection, is read as the mapped dynamic library file configuration of function most It is low to use version number.
In software main program operational process, the function of link needed for the Function detection of generation indicates.In software It is triggered during several specified functions are updated, the function that the Function detection of generation updates needed for indicating.
Indicated function is instructed according to Function detection, the minimum of the mapped dynamic library file of the function is read and uses version Number.
Before step 230, the mapped dynamic library file of configuration feature and the minimum incidence relation using between version number, The incidence relation is for the minimum reading using version number associated by dynamic library file.
Step 250, according to the minimum version detection for carrying out dynamic library file using version number.
The dynamic library file being stored in terminal device is associated with the version number of itself, instructed according to Function detection indicated by Function obtains the version number of the mapped dynamic library file of function.In the mapped dynamic library file of function, it is stored in terminal device Dynamic library file there are version number, other dynamic library files are not present in terminal device, be not present version number.
Sentenced for there are the dynamic library files of version number according to its minimum height relationship using version number and version number It is disconnected whether to obtain dynamic library file from server-side, replace the dynamic library file being stored in terminal device.
Step 270, the version number of dynamic library file be not present or the version number of dynamic library file lower than minimum using version Number when, update dynamic library file.
For the dynamic library file of version number is not present, it is stored in server-side, is stored in the dynamic library file of server-side There are cloud version numbers, obtain cloud version number from server-side and are not less than the minimum dynamic library file using version number, store to terminal In equipment, using cloud version number as the version number of dynamic library file when storage.
When the version number of dynamic library file is lower than minimum use version number, cloud version number is obtained not less than minimum from server-side Using the dynamic library file of version number, the dynamic library file being stored in terminal device is replaced.
Version detection and update after instructing indicated function to execute according to Function detection so that it is not called or not by The file of selection will not be updated, and realize on-demand update;And the minimum setting for using version number is so that when updating software More new version number is not less than the minimum file using version number, greatly reduces update burden.
Fig. 3 is the flow chart of the details of the step 210 shown in corresponding embodiment according to fig. 2.As shown in figure 3, in an example In property embodiment, step 210 includes:
Step 310, in software main program operational process, funcall generated refers to when receive capabilities are triggered by selection It enables.
In software main program operational process, dynamic library file can be called to realize the function of being disposed in software, called When, according to the function systematic function call instruction to be realized.
Step 330, indicated function is instructed according to funcall, triggering generates dynamic library file mapped to function and carries out The Function detection of version detection instructs.
According to the function of funcall instruction instruction, systematic function detection instruction, triggering carries out mapping function dynamic The version detection of library file judges the version number of dynamic library file with the presence or absence of (i.e. dynamic library file whether there is and set in terminal In standby), whether lower than minimum use version number.
Fig. 4 is the flow chart of the details of the step 210 shown in corresponding embodiment according to fig. 2.As shown in figure 4, in an example In property embodiment, step 210 includes:
Step 410, inspection software is triggered several specified functions and is updated function renewal instruction generated.
In addition to detecting FileVersion in software running process, file version is also detected under the triggering of function renewal instruction This.Interactive interface can be provided for user, receive user to the selection operation of required function, according to several functions of user's selection Systematic function more new command.
Step 430, indicated function is instructed according to function renewal, triggering, which is generated, carries out version inspection to several specified functions The Function detection of survey instructs.
Several function systematic function detection instructions of instruction are instructed, for function renewal with dynamic base mapped to function respectively File carries out version detection.
In one exemplary embodiment, the file name association of the version number of dynamic library file and the dynamic library file, step 250 include: the filename according to dynamic library file, is obtained and the associated version number of file name.
Indicated function is instructed according to Function detection, the function mapped dynamic library file filename is read, according to text Part name obtains and the associated version number of file name.
When in the presence of version number associated with file name, step 250 further include:
Compare the minimum of dynamic library file and use version number and version number, obtains version number and the minimum height using version number Low relationship.
The higher dynamic library file of version number is newer, there is optimization relative to the lower file of version number.
Fig. 5 is the flow chart of the details of the step 270 shown in corresponding embodiment according to fig. 2.It is minimum using version number and dynamic The file name association of state library file, when version number associated with file name is not present, step 270 includes:
Step 271, filename associated by according to minimum using version number obtains dynamic library file.
Indicated function is instructed according to Function detection, the function mapped dynamic library file filename is read, according to text Part name obtain with file name it is associated it is minimum use version number.For the filename of version number associated with it, root is not present Corresponding dynamic library file is obtained from server-side according to filename.
Server-side stores the dynamic library file of different editions, wherein the size of the lower file of cloud version number is generally small In the higher file of cloud version number, to reduce data transmission burden, version number is used from server-side downloading cloud version number to be minimum Dynamic library file.
Step 273, the dynamic library file that will acquire is stored by the path of configuration.
When server-side disposes dynamic library file, cloud storage path is configured for the dynamic library file of deployment, it will be from server-side When the file of downloading is stored to terminal device, using the cloud storage path as file terminal device store path.
The application is illustrated below according to specific embodiment.
Fig. 6 is the Oftware updating method flow chart exemplified according to a specific implementation.As shown in fig. 6, soft in vehicle diagnosis In part main program operational process, before linking dynamic library file, it is introduced into on-demand update process: judges the version of dynamic library file Number whether not less than it is minimum use version number;If version number uses version number less than minimum, enter file more new technological process;It is no It then directly links, loads corresponding dynamic base, realize corresponding function.
The minimum of the mapped dynamic library file of read functions uses version number, principle are as follows: (file 1 is deposited for function 1- file 1 Store up path), correspondence is minimum to use version number 1;Function 1- file 2 (store path of file 2), correspondence is minimum to use version number 2.
It is minimum to be pre-configured with using the incidence relation of version number and file, such as storage association is closed in terminal device System;It can also be obtained before link from server-side, i.e., store incidence relation in server-side, requested in the forward direction server-side of link The incidence relation of respective file.
The version number for reading the dynamic library file of automobile diagnostic software obtains version when carrying out function optimization, function being added This number.
Fig. 7 is the Oftware updating method flow chart exemplified according to a specific implementation.As shown in fig. 7, updating specified function In energy institute mapped file process, following information: the ID of automobile diagnostic software, version number is read;Filename, the storage road of file Diameter, language (such as English, Chinese, Japanese) ID and it is minimum use version number.The storage path of file is used to deposit when updating Put update file.
Under connected state, according to above- mentioned information, requested in downloading particular diagnosis software under particular category to server Specific file;It in the state of no networking, is prompted, such as " needing to update file using network, retry after please networking ".
The file downloaded from server is stored under respective path, replacement version number is lower than minimum pair using version number Answer file.Automatically updated file is replicated to catalogue is run, and carries out load calling.
It in failed download, is prompted, such as " updates the failure of diagnostic software file, be not available the function temporarily, ask It retries, or the processing of connection software supplier ".
It is adapted to the application, software modularity, having a single function, each file can correspond to subfunction with complete independently.Module It can be multiplexed, when failure can be substituted with other files.On the server, the location mode of file is thin from software packet form Change to specific document form.
In software running process, it need to realize and just replicate and load function mapped dynamic library file when corresponding function.
By taking automobile diagnostic software as an example, optimize time data stream function, while newly-increased online programming function, new file size are 100M optimizes the corresponding 9M of Read fault code function including the corresponding 90M of newly-increased online programming function, and freeze frame is read in optimization The corresponding 1M of function.
When diagnostic software executes Read fault code, the version number of the mapped dynamic library file of Read fault code function, hair are read Now it uses version number not less than minimum, then does not download the new file in the part (9M), calls directly respective file and executes Read fault Code.
When executing reading freeze frame, the version number of the mapped dynamic library file of freeze frame function is read, it is found that it is lower than It is minimum to use version number, then it requests to read the mapped dynamic library file of freeze frame diagnostic function to server, it is newly literary to download the part Part (1M), is stored under respective path.Automatically new reading freeze frame function dynamic library file is replicated to catalogue is run, and is loaded It calls.
When executing online programming, detect that there is no online programming function files in diagnosis terminal, request to server Online programming diagnostic function dynamic library file downloads the new file in the part (90M), according to the new file in the part depositing in server Path is put, the new file in the part is stored into diagnosis terminal under respective path.Automatic duplication online programming diagnostic function dynamic Library file carries out load calling to catalogue is run.
It is the application Installation practice below, the above method can be performed.
Fig. 8 is a kind of block diagram of software renewing apparatus shown according to an exemplary embodiment.As shown in figure 8, the device It comprises the following modules.
Receiving module 610 refers to for receiving the Function detection for triggering progress version detection to the disposed function of the software It enables;
Obtain module 630, for instructing indicated function according to the Function detection, be read as the function map it is dynamic The minimum of state library file configuration uses version number;
Detection module 650, for according to the minimum version detection for carrying out the dynamic library file using version number;
Update module 670, the version number for the dynamic library file is not present or the version number of the dynamic library file When lower than the minimum use version number, the dynamic library file is updated.
In one exemplary embodiment, the receiving module is configured as executing:
In the software main program operational process, receives funcall generated when the function is triggered by selection and refer to It enables;
Indicated function is instructed according to the funcall, triggering generates dynamic library file mapped to function and carries out version The Function detection of detection instructs.
In one exemplary embodiment, the receiving module is configured as executing:
It detects the software and is triggered several specified functions and be updated function renewal generated instruction;
Indicated function is instructed according to the function renewal, triggering, which is generated, carries out version detection to several specified functions Function detection instruction.
In one exemplary embodiment, described device further include:
Configuration module is associated with pass using between version number with minimum for configuring the mapped dynamic library file of the function System, the incidence relation is for the minimum reading using version number associated by the dynamic library file.
In one exemplary embodiment, the filename of the version number of the dynamic library file and the dynamic library file closes Connection, the detection module are configured as executing:
According to the filename of the dynamic library file, the version number with the file name association is obtained.
In one exemplary embodiment, when there is the version number with the file name association, the detection module is also matched It is set to execution:
Compare the minimum of the dynamic library file and use version number and version number, obtain the version number minimum makes with described With the height relationship of version number.
In one exemplary embodiment, the minimum file name association using version number and dynamic library file, is not present When with the version number of the file name association, the update module is configured as executing:
Dynamic library file is obtained according to filename associated by the minimum use version number;
The dynamic library file that will acquire is stored by the path of configuration.
The application also provides a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is held by processor When row, foregoing method is realized.
Fig. 9 is a kind of block diagram of device shown according to an exemplary embodiment.The device can be above-mentioned electronic equipment, The terminal device 110 being also possible in implementation environment shown in Fig. 1.As shown in figure 9, device 900 may include with next or more A component: processing component 902, memory 904, power supply module 906, multimedia component 908, audio component 910, sensor module 914 and communication component 916.
The integrated operation of the usual control device 900 of processing component 902, such as with display, telephone call, data communication, phase Machine operation and the associated operation of record operation etc..Processing component 902 may include one or more processors 918 to execute Instruction, to complete all or part of the steps of following methods.In addition, processing component 902 may include one or more modules, Convenient for the interaction between processing component 902 and other assemblies.For example, processing component 902 may include multi-media module, with convenient Interaction between multimedia component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in device 900.These data are shown Example includes the instruction of any application or method for operating on device 900.Memory 904 can be by any kind of Volatibility or non-volatile memory device or their combination are realized, such as static random access memory (Static Random Access Memory, abbreviation SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read OnlyMemory, abbreviation EPROM), programmable read only memory (Programmable Red- Only Memory, abbreviation PROM), read-only memory (Read-Only Memory, abbreviation ROM), magnetic memory, flash Device, disk or CD.One or more modules are also stored in memory 904, which is configured to by this One or more processors 918 execute, to complete all or part of the steps of the above method.
Power supply module 906 provides electric power for the various assemblies of device 900.Power supply module 906 may include power management system System, one or more power supplys and other with for device 900 generate, manage, and distribute the associated component of electric power.
Multimedia component 908 includes the screen of one output interface of offer between described device 900 and user.One In a little embodiments, screen may include liquid crystal display (Liquid Crystal Display, abbreviation LCD) and touch panel. If screen includes touch panel, screen may be implemented as touch screen, to receive input signal from the user.Touch panel Including one or more touch sensors to sense the gesture on touch, slide, and touch panel.The touch sensor can be with The boundary of a touch or slide action is not only sensed, but also detects duration associated with the touch or slide operation and pressure Power.Screen can also include display of organic electroluminescence (Organic Light Emitting Display, abbreviation OLED).
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike Wind (Microphone, abbreviation MIC), when device 900 is in operation mode, such as call model, logging mode and speech recognition mould When formula, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 904 or via communication component 916 send.In some embodiments, audio component 910 further includes a loudspeaker, for exporting Audio signal.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented Estimate.For example, sensor module 914 can detecte the state that opens/closes of device 900, the relative positioning of component, sensor group Part 914 can be with the position change of 900 1 components of detection device 900 or device and the temperature change of device 900.Some In embodiment, which can also include Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, such as WiFi (Wireless-Fidelity, Wireless Fidelity).Show at one In example property embodiment, communication component 916 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 916 further includes near-field communication (Near Field Communication, abbreviation NFC) module, to promote short range communication.For example, radio frequency identification (Radio can be based in NFC module Frequency Identification, abbreviation RFID) technology, Infrared Data Association (Infrared Data Association, abbreviation IrDA) technology, ultra wide band (Ultra Wideband, abbreviation UWB) technology, Bluetooth technology and other skills Art is realized.
In the exemplary embodiment, device 900 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), it is digital signal processor, digital signal processing appts, programmable Logical device, field programmable gate array, controller, microcontroller, microprocessor or other electronic components are realized, for executing The above method.
The application also provides a kind of computer readable storage medium, such as CD, floppy disk, hard disk, is stored thereon with calculating Machine program, the computer program realize foregoing method when being executed by processor.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and And various modifications and change can executed without departing from the scope.Scope of the present application is only limited by the accompanying claims.

Claims (10)

1. a kind of Oftware updating method, which is characterized in that several functions are deployed in the software, in the software main program Under operation, the function provides service to the exterior terminal of access by itself mapped dynamic library file, which comprises
It receives and triggers the Function detection instruction for carrying out version detection to the disposed function of the software;
Indicated function is instructed according to the Function detection, is read as minimum the making of the mapped dynamic library file configuration of the function Use version number;
According to the minimum version detection for carrying out the dynamic library file using version number;
The version number of the dynamic library file is not present or the version number of the dynamic library file is minimum using version lower than described Number when, update the dynamic library file.
2. carrying out version the method according to claim 1, wherein receiving and triggering to the disposed function of the software The Function detection of detection instructs
In the software main program operational process, funcall instruction generated when the function is triggered by selection is received;
Indicated function is instructed according to the funcall, triggering generates dynamic library file mapped to function and carries out version detection Function detection instruction.
3. carrying out version the method according to claim 1, wherein receiving and triggering to the disposed function of the software The Function detection of detection instructs
It detects the software and is triggered several specified functions and be updated function renewal generated instruction;
Indicated function is instructed according to the function renewal, triggering generates the function that several specified functions are carried out with version detection It can detection instruction.
4. being read the method according to claim 1, wherein instructing indicated function according to the Function detection Before the minimum use version number for mapping dynamic library file configuration by the function, the method also includes:
The mapped dynamic library file of the function and the minimum incidence relation using between version number are configured, the incidence relation is used The minimum reading using version number associated by the dynamic library file.
5. the method according to claim 1, wherein the version number of the dynamic library file and the dynamic library text The file name association of part includes: according to the minimum version detection for carrying out the dynamic library file using version number
According to the filename of the dynamic library file, the version number with the file name association is obtained.
6. according to the method described in claim 5, it is characterized in that, when in the presence of version number with the file name association, according to The minimum version detection that the dynamic library file is carried out using version number further include:
Compare the minimum of the dynamic library file and use version number and version number, obtains the version number and described minimum using version This number height relationship.
7. according to the method described in claim 5, it is characterized in that, the minimum file using version number and dynamic library file Name association, there is no when version number with the file name association, updating the dynamic library file includes:
Dynamic library file is obtained according to filename associated by the minimum use version number;
The dynamic library file that will acquire is stored by the path of configuration.
8. a kind of software renewing apparatus, which is characterized in that several functions are deployed in the software, in the software main program Under operation, the function provides service to the exterior terminal of access by itself mapped dynamic library file, and described device includes:
Receiving module triggers the Function detection instruction for carrying out version detection to the disposed function of the software for receiving;
Module is obtained, for instructing indicated function according to the Function detection, is read as the mapped dynamic library text of the function The minimum of part configuration uses version number;
Detection module, for according to the minimum version detection for carrying out the dynamic library file using version number;
Update module, the version number for the dynamic library file is not present or the version number of the dynamic library file is lower than described When minimum use version number, the dynamic library file is updated.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Memory is stored with computer-readable instruction on the memory, when the computer-readable instruction is executed by processor, Realize method according to any one of claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program Method according to any one of claim 1 to 7 is realized when being executed by processor.
CN201811150953.0A 2018-09-29 2018-09-29 Oftware updating method, device, electronic equipment and storage medium Pending CN109002314A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811150953.0A CN109002314A (en) 2018-09-29 2018-09-29 Oftware updating method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811150953.0A CN109002314A (en) 2018-09-29 2018-09-29 Oftware updating method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109002314A true CN109002314A (en) 2018-12-14

Family

ID=64589597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811150953.0A Pending CN109002314A (en) 2018-09-29 2018-09-29 Oftware updating method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109002314A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287202A (en) * 2019-05-16 2019-09-27 北京百度网讯科技有限公司 Data-updating method, device, electronic equipment and storage medium
CN110377850A (en) * 2019-06-12 2019-10-25 五八有限公司 Resource file loading method, device, electronic equipment and storage medium
CN114500277A (en) * 2021-12-15 2022-05-13 三维通信股份有限公司 Parameter configuration method and device of multi-band radio frequency chip and electronic device
CN115202914A (en) * 2022-06-14 2022-10-18 中汽创智科技有限公司 Diagnostic service configuration method, device, system, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160335079A1 (en) * 2015-05-11 2016-11-17 Sap Portals Israel Ltd Zero down-time deployment of new application versions
CN106371838A (en) * 2016-08-31 2017-02-01 福建联迪商用设备有限公司 Method and system for maintaining software package dependence relationship
CN106886422A (en) * 2017-04-07 2017-06-23 广州华多网络科技有限公司 Method for upgrading software and device, electronic equipment
CN107193616A (en) * 2017-06-30 2017-09-22 广州云移信息科技有限公司 A kind of application program updating method and terminal
CN107729041A (en) * 2017-07-26 2018-02-23 上海壹账通金融科技有限公司 The hot update method of application program, device, terminal and storage medium
CN107911482A (en) * 2017-12-11 2018-04-13 北京小米移动软件有限公司 Intended application deployment method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160335079A1 (en) * 2015-05-11 2016-11-17 Sap Portals Israel Ltd Zero down-time deployment of new application versions
CN106371838A (en) * 2016-08-31 2017-02-01 福建联迪商用设备有限公司 Method and system for maintaining software package dependence relationship
CN106886422A (en) * 2017-04-07 2017-06-23 广州华多网络科技有限公司 Method for upgrading software and device, electronic equipment
CN107193616A (en) * 2017-06-30 2017-09-22 广州云移信息科技有限公司 A kind of application program updating method and terminal
CN107729041A (en) * 2017-07-26 2018-02-23 上海壹账通金融科技有限公司 The hot update method of application program, device, terminal and storage medium
CN107911482A (en) * 2017-12-11 2018-04-13 北京小米移动软件有限公司 Intended application deployment method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287202A (en) * 2019-05-16 2019-09-27 北京百度网讯科技有限公司 Data-updating method, device, electronic equipment and storage medium
CN110287202B (en) * 2019-05-16 2022-02-15 北京百度网讯科技有限公司 Data updating method and device, electronic equipment and storage medium
CN110377850A (en) * 2019-06-12 2019-10-25 五八有限公司 Resource file loading method, device, electronic equipment and storage medium
CN114500277A (en) * 2021-12-15 2022-05-13 三维通信股份有限公司 Parameter configuration method and device of multi-band radio frequency chip and electronic device
CN114500277B (en) * 2021-12-15 2023-12-05 三维通信股份有限公司 Parameter configuration method and device for multi-band radio frequency chip and electronic device
CN115202914A (en) * 2022-06-14 2022-10-18 中汽创智科技有限公司 Diagnostic service configuration method, device, system, equipment and storage medium
CN115202914B (en) * 2022-06-14 2024-05-24 中汽创智科技有限公司 Diagnostic service configuration method, device, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102622241B (en) A kind of method for upgrading software and device
CN109002314A (en) Oftware updating method, device, electronic equipment and storage medium
CN106648725B (en) Terminal, server and configuration file upgrading method
CN107526605B (en) Method and device for realizing application program loading service assembly
CN113946358B (en) Automatic driving vehicle software remote upgrading method based on vehicle management system
CN105933150A (en) OTA upgrade method, device and system
CN103559065B (en) Method and system for OTA (Over-the-Air Technology) upgrade
US20120117557A1 (en) Method and system for upgrading wireless data card
CN112099829A (en) Vehicle upgrade control method and system, OTA background and vehicle
CN108241500A (en) A kind of restorative procedure of hardware component, device, system and storage medium
CN110162442B (en) System performance bottleneck positioning method and system
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
CN105975298A (en) Method and system for remotely controlling applications of Android terminal
WO2018040914A1 (en) Container generation method, device, terminal, server and system
CN102541596A (en) Operating system upgrading method and device
CN105808278A (en) Client version upgrading method and device
CN107632901A (en) A kind of self-repair method and device of application program operation exception
CN109343876A (en) A kind of method of firmware update, system, device, equipment and storage medium
CN107193565B (en) Method for developing native APP (application) across mobile terminals
CN109688427A (en) A kind of smart television and its system repair
CN105791135A (en) Method for providing intelligent routing application and intelligent router
WO2016082450A1 (en) Method for upgrading user terminal, and user terminal
CN110780894B (en) Thermal upgrade processing method and device and electronic equipment
CN112463199A (en) System upgrading method and terminal
CN108334360A (en) Method, apparatus, storage medium and the computer equipment of application program dynamic load

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