Movatterモバイル変換


[0]ホーム

URL:


CN109391673A - A kind of method, system and the terminal device of management update file - Google Patents

A kind of method, system and the terminal device of management update file
Download PDF

Info

Publication number
CN109391673A
CN109391673ACN201810337932.3ACN201810337932ACN109391673ACN 109391673 ACN109391673 ACN 109391673ACN 201810337932 ACN201810337932 ACN 201810337932ACN 109391673 ACN109391673 ACN 109391673A
Authority
CN
China
Prior art keywords
file
update
request
download address
update file
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.)
Granted
Application number
CN201810337932.3A
Other languages
Chinese (zh)
Other versions
CN109391673B (en
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 Si Si Technology Co Ltd
Original Assignee
Shenzhen Si Si 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 Si Si Technology Co LtdfiledCriticalShenzhen Si Si Technology Co Ltd
Priority to CN201810337932.3ApriorityCriticalpatent/CN109391673B/en
Publication of CN109391673ApublicationCriticalpatent/CN109391673A/en
Priority to PCT/CN2019/078171prioritypatent/WO2019201040A1/en
Application grantedgrantedCritical
Publication of CN109391673BpublicationCriticalpatent/CN109391673B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The present invention is suitable for field of communication technology, provide method, system and the terminal device of a kind of management update file, the method of the management update file includes: the update request sent by receiving request end, update the information that request includes target side, file download address is updated according to request is updated, detection is local to update file with the presence or absence of the corresponding update file in file download address is updated if it exists, then will update file and be sent to target side.The present invention is requested by receiving the update of request end, if detecting local in the presence of update file corresponding with request is updated, just file will be updated and be sent to target side, after terminal device without receiving update request every time, all the update file is downloaded, the speed of download for improving file ensure that the stability of network.

Description

A kind of method, system and the terminal device of management update file
Technical field
The invention belongs to field of communication technology more particularly to a kind of method, system and the terminal devices of management update file.
Background technique
With the development of communication technology, the quantity of terminal (for example, computer) is more and more, application program (for example, wechat)Type it is also more and more.
In the prior art, when the application program in terminal needs to carry out online updating, terminal need to be downloaded from serverThe application program is updated required update file, when more terminals download same update file simultaneously, is both needed to from serviceIt is downloaded in device, network congestion, the slow problem of speed of download easily occurs.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method, system and terminal device for knowing management update file, withSolution exists in the prior art when more terminals while when downloading same update file, is both needed to be downloaded from server, poleEasily there is network congestion, the slow problem of speed of download.
The first aspect of the embodiment of the present invention provides a kind of method of management update file, comprising:
The update request that request end is sent is received, it is described to update the information that request includes target side.
File download address is updated according to the update request.
Detection is local to whether there is the corresponding update file in the update file download address.
The update file is then sent to target side by the update file if it exists.
The second aspect of the embodiment of the present invention provides a kind of system of management update file, comprising:
Request receiving module is updated, for receiving the update request of request end transmission, the update request includes target sideInformation.
Download address obtains module, for updating file download address according to the update request.
File detection module is updated, it is local with the presence or absence of the corresponding update text in the update file download address for detectingPart.
File sending module is updated, for the update file if it exists, then the update file is sent to target side.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored inIn the memory and the computer program that can run on the processor, when the processor executes the computer programThe step of realizing method as described above.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storageMedia storage has the step of computer program, the computer program realizes method as described above when being executed by processor.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the present embodiment is sent by receiving request endUpdate request, update the information that request includes target side, update file download address according to request is updated, detection is localWith the presence or absence of the corresponding update file in file download address is updated, file is updated if it exists, then will update file and be sent to targetEnd.The present embodiment is requested by the update that terminal device receives request end, if detecting local in the presence of corresponding with request is updatedFile is updated, file just will be updated and is sent to target side, after terminal device without receiving update request every time, all more to thisNew file is downloaded, and is improved the speed of download of file, be ensure that the stability of network.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior artNeeded in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention someEmbodiment for those of ordinary skill in the art without any creative labor, can also be according to theseAttached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram of the method for management update file provided by one embodiment of the present invention;
Fig. 2 is the specific implementation flow schematic diagram of step S103 in Fig. 1 provided by one embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the system of management update file provided by one embodiment of the present invention;
Fig. 4 is the concrete structure schematic diagram provided by one embodiment of the present invention for updating file detection module;
Fig. 5 is the schematic diagram of terminal device provided by one embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposedBody details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specificThe present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricityThe detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment 1:
Fig. 1 shows the implementation process of the method for the management update file of one embodiment of the present of invention offer, processDetails are as follows:
In step s101, the update request that request end is sent is received, the information that request includes target side is updated.
In the present embodiment, terminal device can receive request end update request, for example, terminal device be router orPerson's teacher computer.
In the present embodiment, the update request that request end is sent is received, request end and terminal device carry out wirelessly or non-wirelesslyCommunication.
In the present embodiment, the information of target side it is practical be target side mark, can be target side Internet protocolAddress (Internet Protocol Address, IP) or for target side MAC Address (Media Access Control,Hardware address).
Preferably, the operating system of request end and target side is iOS system (iPhone Operation System, appleThe Mobile operating system of company).
In one embodiment, include: before step S101
1) authentication information that request end is sent is received, and authentication is carried out to request end according to verification information, it is rawAt verification result.
If 2) verification result is authentication success, the update request of request end transmission is received.
If 3) verification result is authentication failure, authentication failure information is sent to request end, if continuous defaultThe authentication result of number is authentication failure, then it is whole to third party associated with terminal device to send warning messageEnd.
Wherein, authentication information includes account number and password.
Wherein, authentication failure information is used to indicate request end and continues to send authentication information.
Wherein, warning message includes the information and authentication failure information of the request end of authentication failure.Alarm signalBreath is used to indicate whether third party's terminal inquiry request end allows to download in list and the corresponding body in inquiry request end defaultPart verification information.
Wherein, the information of request end includes the IP address and/or MAC Address of request end.
In the present embodiment, when request end is the terminal device in the department relatively high to confidentiality requirement, for example, grindingStudy carefully the terminal device in mechanism, needs to download request the request end progress authentication for updating file, if authentication success,Then request end can carry out the step of subsequent download updates file, be updated to application program.
In the present embodiment, if verification result is authentication failure, authentication failure information is sent to request end,Authentication failure information can be authentication failed reason, for example, password mistake, unsuccessfully believes when request end receives authenticationAfter breath, continue to send authentication information to terminal device so that terminal device continues authentication, if authentication is lostThe number lost has been more than preset times, then terminal device sends warning message extremely third party's terminal associated with terminal device,After third party's terminal device receives warning message, whether default allow to download name according to the information inquiring request end of request endDan Zhong, if request end allows to download in list default, the corresponding authentication information in inquiry request end, and by correct bodyPart verification information is sent to corresponding request end, and authentication information is re-transmitted to terminal device by request end.
By taking a concrete application scene as an example, preset times 2, request end A transmission authentication information to terminal device,Terminal device verifies the authentication information, generates verification result, when verification result is that authentication fails, then sends outSend authentication information to request end A, A corresponding user in request end re-enters authentication information, and request end A is by new bodyPart verification information is sent to terminal device, and terminal device verifies the authentication information, generates verification result, works as verifyingWhen as a result for authentication failure, terminal device sends warning message to third party's terminal, third party's terminal according to warning message,Whether inquiry request end A allows to download in list default, if request end A allows to download in list default, sends requestThe corresponding correct authentication information of A is held, correct authentication information is sent to terminal device by request end A, and terminal is setIt is standby that authentication is carried out to correct authentication information, the successful verification result of authentication is generated, if request end A is not pre-If allowing to download in list, then it is assumed that request end A is illegal user's terminal, and generation forbids download instruction to terminal device, terminalEquipment according to forbid download instruction inhibition request end A downloading update file.
In the present embodiment, by needing to carry out authentication to request end, avoid before request end sending and updates requestThere is the case where high update file of confidentiality is downloaded by illegal terminal, improves the safety that downloading updates file.
In step s 102, file download address is updated according to update request.
In one embodiment of the invention, updating request includes attribute list file downloading request, updates file downloadAddress includes application program installation kit download address.
In one embodiment of the invention, step S102 includes:
1) request attribute list file download address is downloaded according to attribute list file.
2) detection is local whether there is the corresponding attribute list file of attribute list file download address.
3) attribute list file if it exists, then parse attribute list file, obtains corresponding application program installation kit downloadingAddress.
4) attribute list file if it does not exist then downloads corresponding attribute list text according to attribute list file download addressPart, and the attribute list file of downloading is parsed, obtain corresponding application program installation kit download address.
In the present embodiment, updating file includes application program installation kit and resource file, and application program installation kit can be withFor IPA (iPhone Application, apple application file format) installation kit.
In the present embodiment, it when request end more new application, needs first to download IPA installation kit, when under IPA installation kitAfter carrying and being installed, when user opens the application program, start request downloading resource file.Wherein resource file can be figurePiece, JS (JavaScript) static resource file and CSS (Cascading Style Sheets, cascading style sheets) static resourceFile, sequence frame resource file, DAE file and SCN file etc..
In the present embodiment, attribute list (Property List, PList) file download request can be attribute listFile download address when request end selects some application program of online updating, needs to download by the inclusion of the network address of plist characterAttribute list file calls code detection tool to parse attribute list file, the program that is applied installation kit download address, exampleSuch as, when online updating application program is wanted in request end, request end leads to itms-services: //? action=download-Manifest&url=https: //dn-ipa-ideamake.qbox.me/plists/__2681693444.plist this netThe attribute list file of the application program is downloaded in location, includes by call code detection tool detection attribute list fileCode, the program that is applied installation kit download address can download application program peace by application program installation kit download addressDress packet.Wherein, application program installation kit download address is terminated with .ipa, such as http://myserver.com/Apps.ipa。
Wherein, attribute list file is a kind of file for storing the object after serialization, is usually used in iOS exploitationStore user setting, can be also used for often using in storage program and the data infrequently changed, be essentially an XML(Extensible Markup Language, extensible markup language) file.
Preferably, when the quantity when request end is more, when being greater than preset quantity, attribute list is sent in order to save request endThe time of file download request, solicited message can be downloaded for attribute list file by updating request, and attribute list file downloading is askedSeeking information includes the attribute list file title for needing to download, and terminal device receives attribute list file downloading solicited messageAfterwards, online is carried out automatically according to attribute list file title and search corresponding attribute list file download address, thus request endWithout carrying out searching attribute list file download address, attribute list file downloading solicited message to terminal can be directly transmitted and setStandby, according to attribute list file name acquiring attribute list file download address, avoid the occurrence of every request end needs terminal deviceThe case where first voluntarily searching attribute list file download address, improves integrity attribute listing file download address and obtains effectRate.
It in one embodiment, locally can be local hard drive, in order to improve the speed of data interaction, local is preferably thisGround caching.
In one embodiment of the invention, updating request further includes resource file downloading request, with updating file downloadLocation further includes resource file download address.
In one embodiment of the invention, step S102 further include:
The corresponding resource file download address of request is downloaded according to resource file.
In the present embodiment, after the application program installation package file of downloading is installed successfully, resource file is just sent automaticallyTerminal device is downloaded request to, so that the resource file that terminal device downloading needs to download, resource file downloading request can be straightIt connects including resource file download address.
In step s 103, detection is local with the presence or absence of the corresponding update file in update file download address.
In the present embodiment, detection is local with the presence or absence of the corresponding application program installation of application program installation kit download addressPacket or the corresponding resource file of resource file download address.
In step S104, file is updated if it exists, then will update file and be sent to target side.
In the present embodiment, request end and target side may be the same or different, the quantity of target side with no restrictions,It can be one, or multiple.
In the present embodiment, if locally there are the update files of request end request, file will be updated and be sent at least oneA target side, target side are the corresponding terminal device of information of target side.
In the present embodiment, by making to update the information in request comprising target side, terminal device can be according to target sideInformation by update file be sent to the target side for needing to carry out application program update, without one by one to premises equipment requests updateFile improves the acquisition efficiency for updating file.
By taking one is specifically used for scene as an example, request end A, target side is B and C, and terminal device receives the update that A is sentRequest, and corresponding update file is sent to B and C according to request is updated.
In one embodiment, record updates the transmission frequency of file, if sending the frequency is greater than the default frequency, under sendingInformation carrying is ceased to associated terminal.
Wherein, sending the frequency is to update the transmission times of file in the first preset time, for example, in 1 month, eventuallyEnd equipment sends 30 A files to target side, then transmission times is 30.
Wherein, associated terminal refers to did not received the update file in the first preset time, and passed through terminalEquipment is surfed the Internet, for example, in the first preset time, terminal device is not transmitted across A file to B terminal, and terminal deviceControl B terminal is surfed the Internet, and B terminal is terminal associated with terminal device.
Wherein, download information is used to indicate associated terminal and chooses whether to download the update file.
By taking an application scenarios as an example, the transmission frequency of C file is 20, and it is big to preset the transmission frequency that the frequency is 21, C fileIn the default frequency, then download information is sent to associated terminal a and terminal b, when terminal a and terminal b receive download informationAfterwards, terminal a and the corresponding user of terminal b choose whether to download the update file, if terminal a selection updates, send selection moreThe update file is sent to terminal a by new information to terminal device, terminal device, if terminal b selection does not update, sends selectionFor more new information to terminal device, terminal device does not send the update file to terminal b.
In the present embodiment, by record update file the transmission frequency, according to judge transmission the frequency whether be greater than it is defaultNumber, to judge whether the update file is file needed for user, the automatic download information that sends is to terminal, according to terminalIt chooses whether to send the update file, realizes the automatic recommendation for updating file, improve the Experience Degree of user.
In one embodiment of the invention, file is updated if it does not exist, then according to the downloading pair of update file download addressThe update file of downloading is saved to local, and is sent to target side by the update file answered.
In the present embodiment, if the local update file that request end request is not present, according to update file download addressCorresponding update file is downloaded, and the update file of downloading is saved to local, and be sent to target side.
Preferably, it updates file and is only stored in local cache, thus, it is only required to search whether that there are this in local cache moreNew file.
In one embodiment of the invention, the file name for forbidding downloading that terminal device is sent is obtained, by the tabooThe file name only downloaded, which is added to preset, forbids downloading list.
In the present embodiment, when a file name be added into it is default forbid downloading list when, terminal device no longer underThis document is carried, target side is also no longer sent the file to, to realize remote control terminal equipment.
By taking a concrete application scene as an example, a file name is A, obtains the filename for forbidding downloading that terminal is sentClaim, discovery is forbidden comprising A in the file name of downloading, then presets A add value and forbid downloading in list, if being stored in localFile A then forbids sending file A to target side, if endemic species are not stored with file A, no longer downloading file A.
In one embodiment of the invention, the update file for obtaining latest edition protects the update file of latest editionIt deposits into local predetermined directory, and deletes the update file of the old version in predetermined directory.
Wherein, the entitled application program identification (Bundle Identifie, Bundle ID) of predetermined directory, BundleID is that application program uniquely identifies, and application program and Bundle ID are only one-to-one correspondences, when application program creates successfullyAfterwards, Bundle ID just cannot modify
In the present embodiment, update file divide version, when detect in local update file current version withLatest edition is different, then the update file that the update file or receiving terminal apparatus of downloading latest edition are sent automatically, and will mostThe update file of new version is saved into local predetermined directory, and latest edition is updated file as the update of current version textPart deletes the update file of the old version in predetermined directory, so as to complete the local update for updating file, and by automaticExtra file is deleted, memory space has been saved, improves the effective rate of utilization of resource.
By taking a concrete application scene as an example, some update file current version be V1.0, latest edition V2.0,Then judge that updating the current version of file is not latest edition, downloads the update file of latest edition into predetermined directory, and deleteExcept the update file for the old version that the version number in goal-selling is V1.0, to save memory space.
In one embodiment, the update file for the latest edition that third party's terminal is sent is received, more by latest editionNew file is saved into local predetermined directory, and deletes the update file of the old version in predetermined directory, is realized and is updated fileActive update, avoiding the occurrence of leads to information delay because of network-caching, can not get latest edition update file feelingsCondition.
In the present embodiment, it is requested by the update that terminal device receives request end, if detecting local presence and updateCorresponding update file is requested, file just will be updated and is sent to target side, terminal device without receiving update request every timeAfterwards, all the update file is downloaded, avoids the occurrence of when more terminals while when downloading same update file, is both needed to from serviceThe case where leading to network congestion is downloaded in device, terminal device only needs once to be downloaded, and can realize multiple distribution, improvesThe speed of download of file and the distribution efficiency of file ensure that the stability of network, reduce the occupancy to bandwidth, improveThe utilization rate of Internet resources.
As shown in Fig. 2, in one embodiment of the invention, step S103 is specifically included in embodiment corresponding to Fig. 1:
In step 201, the check value for updating file is obtained.
In the present embodiment, check value can be MD5 (Message Digest Algorithm 5, Message Digest 55th edition) value.
In one embodiment, the quantity for updating file without limitation, updates file to specified clothes when research staff uploadsIt when business device, needs to carry out md5 encryption to each update file, obtains corresponding MD5 value, and back up more to corresponding with MD5 valueNew file is named, and is obtained new update file, is then uploaded to new update file in given server, due to eachUnique when MD5 value, therefore, the check value for updating file is the title for updating file, and title is unique, to avoid the occurrence ofWhen uploading update file, causes to repeat to send the case where updating file since update file name is identical, ensure that updateThe integrality of file, while effectively avoiding repeating to upload or repeated downloads updating file and make since sub- update file name is identicalAt Internet resources waste.
By taking a concrete application scene as an example, entitled the 11 of a update file script, the update file name of backupAlso it is 11, md5 encryption is carried out to the update file, obtaining MD5 value is aa, then the title of the update file of the backup replaces with pairThe MD5 value answered, becomes aa, and the title for obtaining new update file is aa, and new update file is uploaded in given server.
In the present embodiment, according to the name for searching the corresponding update file in update file download address in the default table of comparisonsClaim, that is, updates the check value of file.
Wherein, the default table of comparisons is the table of comparisons of the title for updating file download address and updating file pre-established,When downloading updates file to terminal device for the first time, it just will update file download address and remember with the title corresponding relationship for updating fileRecord downloading, and be stored in the table of comparisons.
In the present embodiment, it presets in the table of comparisons and is stored in local, it is preferable that, will be pre- in order to reduce the occupancy to cachingIf the table of comparisons is stored in local hard drive.
In step S202, the local check value with the presence or absence of file of detection is identical as the check value of file is updated.
In the present embodiment, the local check value with the presence or absence of file of detection is identical as the check value of file is updated, that is, inspectionIt is identical as the title of file is updated to survey the local title with the presence or absence of file, to judge local with the presence or absence of update textPart.
In step S203, the check value of file is identical as the check value of file is updated if it exists, it is determined that local to existUpdate file.
In step S204, the check value of file is identical as the check value of file is updated if it does not exist, it is determined that locally notIn the presence of update file.
In the present embodiment, the check value for the file being locally stored if it exists is identical as the check value of file is updated, then reallySurely update file has been locally stored, conversely, if the check value for the file being locally stored is all different from file is updated, it is determined that localThere is no the update files of request end request, need to be downloaded from server.
In one embodiment, user is received to refer in the file deletion that exterior terminal associated with terminal device inputsIt enables, corresponding file is deleted, realizes the long-range management of file.
In the present embodiment, pass through the check value phase in local detection with the presence or absence of the check value and update file of fileTogether, to effectively determine locally with the presence or absence of the update file, and since check value is uniquely, to avoid the occurrence of fileThe identical situation of title, thus effectively avoid transmission file error the case where appearance, improve file transmission accuracy withAnd efficiency of transmission.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each processExecution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limitIt is fixed.
Embodiment 2:
Fig. 3 shows the system 100 of the management update file of one embodiment of the present of invention offer, for executing Fig. 1 instituteMethod and step in corresponding embodiment comprising:
Request receiving module 110 is updated, for receiving the update request of request end transmission, updating request includes target sideInformation.
Download address obtains module 120, for updating file download address according to update request.
File detection module 130 is updated, it is local literary with the presence or absence of the corresponding update in file download address is updated for detectingPart.
File sending module 140 is updated, for updating file if it exists, then file will be updated and is sent to target side.
In one embodiment of the invention, the system 100 of the management update file further include:
File download module is updated, for the update file if it does not exist, then according to the update file download addressDownload corresponding update file;
Document processing module being updated, for saving the update file of downloading to local, and being sent to the target side.
In one embodiment of the invention, updating request includes attribute list file downloading request, updates file downloadAddress includes application program installation kit download address.
In one embodiment of the invention, download address acquisition module 120 includes:
First file download address acquisition unit, for downloading request attribute list file according to attribute list fileDownload address.
Judging unit, it is local with the presence or absence of the corresponding attribute list file of attribute list file download address for detecting.
First installation kit download address acquiring unit then parses attribute list file for attribute list file if it exists,Obtain corresponding application program installation kit download address.
Second installation kit download address acquiring unit, attribute list file if it does not exist, then according under attribute list fileSet address downloads corresponding attribute list file, and parses the attribute list file of downloading, obtains corresponding application program installationPacket download address.
In one embodiment of the invention, updating request further includes resource file downloading request, with updating file downloadLocation further includes resource file download address.
In one embodiment of the invention, download address acquisition module 120 includes:
Resource file download address obtains module, for being downloaded under the corresponding resource file of request according to resource fileSet address.
In one embodiment of the invention, the system 100 of the management update file further include:
File acquisition module is updated, for obtaining the update file of latest edition;
File storage module is updated, for saving the update file of the latest edition into local predetermined directory, andDelete the update file of the old version in the predetermined directory.
In one embodiment of the invention, the system 100 of the management update file further include:
Forbid downloading name acquiring module, for obtaining the file name for forbidding downloading of terminal device transmission.
Forbid downloading title adding module, forbids downloading name for the file name for forbidding downloading to be added to presetIt is single.
As shown in figure 4, in one embodiment of the invention, file detection module is updated in embodiment corresponding to Fig. 4130 specifically include:
Check value acquiring unit 131, for obtaining the check value for updating file;
Check value detection unit 132, for detecting the local check value with the presence or absence of file and updating the check value of fileIt is identical;
First processing units 133, the check value for file if it exists are identical as the check value of file is updated, it is determined that thisGround, which exists, updates file;
The second processing unit 134, the check value for file if it does not exist are identical as the check value of file is updated, it is determined thatIt is local that there is no update file.
In one embodiment, the system 100 of management update file further includes other function module/unit, for realizingMethod and step in embodiment 1 in each embodiment.
Embodiment 3:
Fig. 5 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 5, the terminal of the embodiment is setStandby 5 include: processor 50, memory 51 and are stored in the meter that can be run in the memory 51 and on the processor 50Calculation machine program 52.The processor 50 realizes each embodiment as described in example 1 above when executing the computer program 52Step, such as step S101 shown in FIG. 1 to step S104.Alternatively, when the processor 50 executes the computer program 52Realize the function of each module/unit in each system embodiment as described in example 2 above, for example, module 110 shown in Fig. 3 to140 function.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one orMultiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the present invention.Described oneA or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used forImplementation procedure of the computer program 52 in the terminal device 5 is described.For example, the computer program 52 can be dividedIt is cut into and updates request receiving module, download address acquisition module, updates file detection module and update file sending module.Each mouldBlock concrete function is as follows:
Request receiving module is updated, for receiving the update request of request end transmission, updates the letter that request includes target sideBreath.
Download address obtains module, for updating file download address according to update request.
File detection module is updated, it is local with the presence or absence of the corresponding update file in update file download address for detecting.
File sending module is updated, for updating file if it exists, then file will be updated and is sent to target side.
The terminal device 5 can be the calculating such as desktop PC, notebook, palm PC and cloud server and setIt is standby.The terminal device 5 may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that figure5 be only the example of terminal device 5, does not constitute the restriction to terminal device 5, may include than illustrating more or fewer portionsPart perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, netNetwork access device, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also beOther general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processorDeng.
The memory 51 can be the internal storage unit of the terminal device 5, such as the hard disk or interior of terminal device 5It deposits.The memory 51 is also possible to the External memory equipment of the terminal device 5, such as be equipped on the terminal device 5Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodgeDeposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the terminal device 5Member also includes External memory equipment.The memory 51 is for storing needed for the computer program and the terminal deviceOther programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
Embodiment 4:
The embodiment of the invention also provides a kind of computer readable storage medium, computer-readable recording medium storage has meterCalculation machine program is realized the step in each embodiment as described in example 1 above, such as is schemed when computer program is executed by processorStep S101 shown in 1 to step S104.Alternatively, realizing when the computer program is executed by processor such as institute in embodiment 2The function of each module/unit in each system embodiment stated, such as the function of module 110 to 140 shown in Fig. 3.
The computer program can be stored in a computer readable storage medium, and the computer program is by processorWhen execution, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code,The computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..InstituteState computer-readable medium may include: can carry the computer program code any entity or device, recording medium,USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), arbitrary accessMemory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needsIt is bright, the content that the computer-readable medium includes can according in jurisdiction make laws and patent practice requirement intoRow increase and decrease appropriate, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electricityCarrier signal and telecommunication signal.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodimentThe part of load may refer to the associated description of other embodiments.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Module or unit in system of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosureMember and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actuallyIt is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technicianEach specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceedThe scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be withIt realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, instituteThe division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such asMultiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.SeparatelyA bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, deviceOr the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned realityApplying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned eachTechnical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modifiedOr replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should allIt is included within protection scope of the present invention.

Claims (10)

CN201810337932.3A2018-04-162018-04-16Method, system and terminal equipment for managing update fileActiveCN109391673B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201810337932.3ACN109391673B (en)2018-04-162018-04-16Method, system and terminal equipment for managing update file
PCT/CN2019/078171WO2019201040A1 (en)2018-04-162019-03-14File update management method and system and terminal apparatus

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810337932.3ACN109391673B (en)2018-04-162018-04-16Method, system and terminal equipment for managing update file

Publications (2)

Publication NumberPublication Date
CN109391673Atrue CN109391673A (en)2019-02-26
CN109391673B CN109391673B (en)2021-01-05

Family

ID=65417428

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810337932.3AActiveCN109391673B (en)2018-04-162018-04-16Method, system and terminal equipment for managing update file

Country Status (2)

CountryLink
CN (1)CN109391673B (en)
WO (1)WO2019201040A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2019201040A1 (en)*2018-04-162019-10-24深圳思为科技有限公司File update management method and system and terminal apparatus
CN110780887A (en)*2019-09-232020-02-11连尚(新昌)网络科技有限公司 A method and device for providing an application installation package
CN113127859A (en)*2019-12-302021-07-16Oppo广东移动通信有限公司Detection method and device for file to be detected, terminal and storage medium
CN113542391A (en)*2021-07-122021-10-22一飞(海南)科技有限公司Method, system and medium for downloading and filtering same files of formation airplane waypoint files
CN115348254A (en)*2022-07-212022-11-15昆仑数智科技有限责任公司File packaging and downloading method and device, electronic equipment and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114258525B (en)*2019-10-292024-07-26深圳市欢太科技有限公司Data updating method, device, terminal equipment and computer readable storage medium
CN113010187B (en)*2021-02-072024-04-05上海硬通网络科技有限公司Application installation method and device and electronic equipment
CN112799955B (en)*2021-02-082023-09-26腾讯科技(深圳)有限公司Method and device for detecting model change, storage medium and electronic equipment
CN115086172B (en)*2022-07-252022-11-15广东壹公里数智科技有限公司Data gateway plug-in updating method and device, electronic equipment and storage medium
CN118822468A (en)*2024-09-102024-10-22恒实建设管理股份有限公司 Project data information management method and system

Citations (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080162922A1 (en)*2006-12-272008-07-03Swartz Troy AFragmenting security encapsulated ethernet frames
CN101860853A (en)*2010-06-092010-10-13中兴通讯股份有限公司Software upgrading method and device
CN101997707A (en)*2009-08-112011-03-30Tcl集团股份有限公司System and method for upgrading intelligent terminals in batches
CN102438026A (en)*2012-01-122012-05-02冶金自动化研究设计院Industrial control network security protection method and system
CN103139279A (en)*2011-12-052013-06-05阿里巴巴集团控股有限公司File access method and system
CN103546576A (en)*2013-10-312014-01-29中安消技术有限公司Remote automatic updating method and system of embedded equipment
CN103841379A (en)*2014-03-172014-06-04济南鲁瑞智能技术有限公司Intelligent identification visual monitoring system and method based on Internet of Things
CN104038498A (en)*2014-06-132014-09-10大同煤矿集团有限责任公司File synchronization updating method and device
CN104750506A (en)*2013-12-302015-07-01海尔集团公司Intelligent appliance WiFi module software remote automatic upgrade method
CN105099758A (en)*2015-06-122015-11-25小米科技有限责任公司Methods and devices for transmitting update data package
CN105812435A (en)*2014-12-302016-07-27腾讯科技(深圳)有限公司Application upgrading data package processing method and device, electronic equipment, and system
CN106533807A (en)*2016-12-272017-03-22福建星网视易信息系统有限公司Method and system for remotely upgrading terminal equipment
CN107305496A (en)*2016-04-202017-10-31深圳市信锐网科技术有限公司Application APP method for down loading and Wireless Communication Equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7710899B1 (en)*2005-08-162010-05-04Cisco Technology, Inc.System and method for speeding border gateway protocol graceful restart
CN109391673B (en)*2018-04-162021-01-05深圳思为科技有限公司Method, system and terminal equipment for managing update file

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080162922A1 (en)*2006-12-272008-07-03Swartz Troy AFragmenting security encapsulated ethernet frames
CN101997707A (en)*2009-08-112011-03-30Tcl集团股份有限公司System and method for upgrading intelligent terminals in batches
CN101860853A (en)*2010-06-092010-10-13中兴通讯股份有限公司Software upgrading method and device
CN103139279A (en)*2011-12-052013-06-05阿里巴巴集团控股有限公司File access method and system
CN102438026A (en)*2012-01-122012-05-02冶金自动化研究设计院Industrial control network security protection method and system
CN103546576A (en)*2013-10-312014-01-29中安消技术有限公司Remote automatic updating method and system of embedded equipment
CN104750506A (en)*2013-12-302015-07-01海尔集团公司Intelligent appliance WiFi module software remote automatic upgrade method
CN103841379A (en)*2014-03-172014-06-04济南鲁瑞智能技术有限公司Intelligent identification visual monitoring system and method based on Internet of Things
CN104038498A (en)*2014-06-132014-09-10大同煤矿集团有限责任公司File synchronization updating method and device
CN105812435A (en)*2014-12-302016-07-27腾讯科技(深圳)有限公司Application upgrading data package processing method and device, electronic equipment, and system
CN105099758A (en)*2015-06-122015-11-25小米科技有限责任公司Methods and devices for transmitting update data package
CN107305496A (en)*2016-04-202017-10-31深圳市信锐网科技术有限公司Application APP method for down loading and Wireless Communication Equipment
CN106533807A (en)*2016-12-272017-03-22福建星网视易信息系统有限公司Method and system for remotely upgrading terminal equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2019201040A1 (en)*2018-04-162019-10-24深圳思为科技有限公司File update management method and system and terminal apparatus
CN110780887A (en)*2019-09-232020-02-11连尚(新昌)网络科技有限公司 A method and device for providing an application installation package
CN110780887B (en)*2019-09-232024-06-21连尚(新昌)网络科技有限公司Method and equipment for providing application installation package
CN113127859A (en)*2019-12-302021-07-16Oppo广东移动通信有限公司Detection method and device for file to be detected, terminal and storage medium
CN113127859B (en)*2019-12-302024-04-12Oppo广东移动通信有限公司 Method, device, terminal and storage medium for detecting files to be detected
CN113542391A (en)*2021-07-122021-10-22一飞(海南)科技有限公司Method, system and medium for downloading and filtering same files of formation airplane waypoint files
CN115348254A (en)*2022-07-212022-11-15昆仑数智科技有限责任公司File packaging and downloading method and device, electronic equipment and storage medium

Also Published As

Publication numberPublication date
CN109391673B (en)2021-01-05
WO2019201040A1 (en)2019-10-24

Similar Documents

PublicationPublication DateTitle
CN109391673A (en)A kind of method, system and the terminal device of management update file
CN108845816B (en)Application program updating method, system, computer device and storage medium
US7644405B2 (en)System with required enhancements to SyncML DM environment to support firmware updates
CN104754062B (en)Information popularization method, server and user terminal based on internet
CN105389177A (en)Software version confirmation method, device and system
WO2022142153A1 (en)Electricity meter upgrading method and system, smart meter, and storage medium
CN100566311C (en)The system and method for provisioning component applications
CN108874825B (en)Abnormal data verification method and device
CN112765038B (en)Distributed cluster software testing method, device, equipment and storage medium
CN115515012B (en) Key burning method, device, electronic equipment board and storage medium
CN114925135B (en) Data export method, device, system, electronic device and storage medium
EP3313041A1 (en)Application download method and device
CN113094211B (en)Backup data processing method and device
CN100505711C (en) System and method for managing communication of component applications
CN114115969A (en)Hot updating method and system based on real Native
CN110045969B (en) Application installation method, server, system, device and storage medium
CN109683942B (en)Script management method, script management device, script management medium and electronic equipment
CN115190064B (en)Method, device, system and storage medium for implementing client dynamic routing
CN113760564A (en) Data processing method, device and system
CN115348172B (en)Method, equipment and medium for upgrading versions of different parts of edge network equipment
CN115757191B (en)Data processing method and device
CN112988170B (en)Application display method and device
CN112738069B (en)Fusion method, system and server based on stateful authentication mechanism and stateless authentication mechanism
CN120447936A (en) Battery pack firmware upgrade method, device, terminal equipment and program product
CN120582791A (en)Https certificate management method and device and vehicle-mounted monitoring equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp