WO2021081758A1 - 数据更新方法、装置、终端设备及计算机可读存储介质 - Google Patents

数据更新方法、装置、终端设备及计算机可读存储介质 Download PDF

Info

Publication number
WO2021081758A1
WO2021081758A1 PCT/CN2019/114031 CN2019114031W WO2021081758A1 WO 2021081758 A1 WO2021081758 A1 WO 2021081758A1 CN 2019114031 W CN2019114031 W CN 2019114031W WO 2021081758 A1 WO2021081758 A1 WO 2021081758A1
Authority
WO
WIPO (PCT)
Prior art keywords
update
file
data
temporary
downloaded
Prior art date
Application number
PCT/CN2019/114031
Other languages
English (en)
French (fr)
Inventor
卢阳
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to PCT/CN2019/114031 priority Critical patent/WO2021081758A1/zh
Priority to CN201980099526.0A priority patent/CN114258525A/zh
Publication of WO2021081758A1 publication Critical patent/WO2021081758A1/zh

Links

Images

Classifications

    • 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

Definitions

  • This application relates to the field of data update technology, and specifically to data update methods, devices, terminal equipment, and computer-readable storage media.
  • Application distribution software (such as a software store) has two main functions, supporting new downloads of undownloaded applications and updates of installed applications.
  • the update can be implemented in two ways: one is active update, and the other is automatic update.
  • Active update means that the user actively starts the application distribution software, which starts the update process by clicking the update button; while automatic update does not require user interaction, as long as the user sets the automatic update switch, the system will regularly check whether the application on the terminal device is updated. If there is an update, it will automatically initiate a download and update.
  • One of the objectives of the embodiments of the present application is to provide a data update method, device, terminal device, and computer-readable storage medium, which are designed to solve the problem of data traffic waste of CDN caused by the existing update method when updating applications, and user update consumption. Time increase the problem.
  • a data update method including:
  • the data is updated according to the downloaded update file.
  • a data update device including:
  • the active update request receiving unit is configured to, if an active update request is received when the automatic update operation is performed, verify the temporary file obtained by performing the automatic update operation, and all data of the temporary file is part of the data of the update file;
  • a unit for determining the address of the initial data configured to determine the address of the initial data to be downloaded in the update file according to the data included in the temporary file if the verification is passed;
  • the update file resuming unit is configured to continue to download the corresponding data from the source address where the update file is stored according to the starting data to be downloaded at the address of the update file, so as to realize the resuming of the update file;
  • the data update unit is configured to update the data according to the downloaded update file if the resuming of the update file is successful.
  • a terminal device including a memory, a processor, and a computer program that is stored in the memory and can run on the processor, and the processor implements the following steps when the processor executes the computer program:
  • the data is updated according to the downloaded update file.
  • a computer-readable storage medium stores a computer program, and the computer program implements the method according to any one of the first aspects when the computer program is executed by a processor.
  • a computer program product which when the computer program product runs on a terminal device, causes the terminal device to execute the method described in the above-mentioned first aspect.
  • FIG. 1 is a flowchart of a data update method provided by an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of a data update device provided by another embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a terminal device provided by another embodiment of the present application.
  • the term “if” can be construed as “when” or “once” or “in response to determination” or “in response to detecting “.
  • the phrase “if determined” or “if detected [described condition or event]” can be interpreted as meaning “once determined” or “in response to determination” or “once detected [described condition or event]” depending on the context ]” or “in response to detection of [condition or event described]”.
  • the data update method provided in the embodiments of the present application is mainly applied to scenarios when active update and automatic update overlap. For example, if there is an update file for application A of the server, a logo that needs to be updated will appear on application A installed on the terminal device. If the application A is an automatic update application set by the user, the software store of the terminal device will automatically download it in the background The update file of this application A.
  • the user manually initiates an active update request, firstly verify the partial update file that has been downloaded-that is, the temporary file, and if the verification passes, then the temporary file Download the undownloaded update file, therefore, there is no need to re-download the downloaded temporary file, thereby reducing the traffic overhead of the CDN and the user, and reducing the update time for the user to actively update the application A.
  • FIG. 1 shows a flowchart of a data update method provided by an embodiment of the present application, and the details are as follows:
  • Step S11 if an active update request is received when the automatic update operation is performed, the temporary file obtained by performing the automatic update operation is verified, and all the data of the temporary file is part of the data of the update file;
  • the application interface installed on the terminal device displays "update", or displays other identifiers for indicating update, it indicates that the application corresponding to the application interface needs to be updated.
  • the update operation is automatically performed to obtain the update file corresponding to the application by means of automatic update, and the update file is stored in the server.
  • the update file corresponding to the application is automatically obtained, if the user sends an active update request, the active update request is responded to, and the obtained temporary file is verified.
  • the verification here is mainly to verify the integrity of temporary files.
  • step S12 if the verification is passed, it is determined according to the data included in the temporary file that the starting data to be downloaded is at the address of the update file;
  • the data length L1 of the temporary file that passed the verification is determined, and the address of the last bit of data in the data string with the data length of L1+1 is taken as the address to be downloaded
  • the starting data is at the address of the update file. For example, assuming that the data of the update file is 1111000 and the data of the temporary file is 1111, the address where the "0" in "11110" is located is used as the address of the starting data to be downloaded in the update file.
  • Step S13 according to the address where the starting data to be downloaded is in the update file, continue to download the corresponding data from the source address where the update file is stored, so as to realize the continuation of the update file;
  • the source address for storing the update file can be preset, or, in order to further ensure the accuracy of the source address of the obtained update file, the update file can be obtained first when the automatic update operation is performed and before the temporary file is automatically obtained.
  • Source address in this way, before downloading data in the active update mode, the source address of the update file obtained through the automatic update method is first obtained, and then the corresponding data is downloaded from the source address of the update file.
  • step S14 if the resuming of the update file is successful, the data is updated according to the downloaded update file.
  • the data of the corresponding application is updated according to the update file.
  • the address of the initial data to be downloaded in the update file is determined according to the data included in the temporary file, and the temporary file is obtained by performing an automatic update operation, after receiving the active update request, According to the address where the starting data to be downloaded is in the update file, continue to download the corresponding data from the source address where the update file is stored, which is equivalent to changing the update mode from automatic update to active update.
  • you can continue to download the undownloaded part of the update file which eliminates the need to re-download the downloaded temporary file, reduces the traffic overhead of the CDN and the user, and reduces the update time for the user to actively update the application A.
  • the method includes:
  • the number of the check value is greater than or equal to 2, and the number of the check value is equal to that of the The number of paragraphs divided by the update file is the same; among them, at least two check values corresponding to at least two paragraphs obtained by dividing the update file are used as check values for checking the temporary file.
  • the verification of the temporary file obtained by performing the automatic update operation in the step S11 specifically includes:
  • segment the temporary file obtained by performing the automatic update operation according to the length value specifically, segment the data included in the temporary file according to the length value of the paragraph obtained by dividing the update file. It should be pointed out that if different paragraphs of the updated file correspond to different length values, in the process of segmenting the temporary file, it is necessary to determine the sequence of the corresponding length values based on the sequence of the paragraphs obtained by dividing the updated file. . It should be pointed out that if the data length of the remaining unsegmented data of the temporary file is less than the data length of the corresponding sequential paragraphs divided by the update file, the remaining unsegmented data of the temporary file is discarded.
  • the temporary file is segmented into data whose data length is equal to "111".
  • the temporary file also includes other data, continue to segment the data with data length equal to "10" from the temporary file. If the temporary file has no other data, stop the segmentation. If the temporary file still has data remaining, but the remaining data If the data length is less than the data length corresponding to "00", the remaining data of the temporary file is discarded.
  • the segmented data of the temporary file is verified according to the check values of different paragraphs.
  • the first paragraph data of the temporary file is calculated according to the MD5 algorithm to obtain the corresponding MD5 value, and the MD5 value is compared with Compare the MD5 value corresponding to the first paragraph of the update file. If they are the same, it indicates that the data of the first paragraph of the temporary file has passed the verification; if they are not the same, it indicates that the data of the first paragraph of the temporary file has not passed the verification.
  • step S12 specifically includes:
  • segment verification part determines the address of the update file for the starting data to be downloaded according to the data of the first segment that fails the verification included in the temporary file. Specifically, if the segment verification is partially passed and partially failed, then only the data of the first paragraph that fails the verification (usually only the last data is needed) determines the address of the update file for the starting data to be downloaded. In some embodiments, in order to improve the verification speed, if it is determined that a certain paragraph fails the verification, the other paragraphs after the certain paragraph in the temporary file are no longer verified.
  • the obtaining the check value used to check the temporary file and the length value of the paragraph obtained by dividing the update file in advance specifically includes:
  • the check value for verification in order to obtain the check value for verification in time, when the automatic update starts, first obtain the check value for verifying the temporary file and the length of the paragraph obtained by dividing the update file in advance. Value, the temporary file for update will be obtained later.
  • the check value and length value used for verification are acquired at the beginning of the automatic update, it can be ensured that the acquired check value and length value are both up to date, thereby ensuring the accuracy of the verification.
  • the data update method further includes:
  • verification can be performed on all paragraphs of the temporary file, and then it is determined whether the verification of all paragraphs fails.
  • the source address of the stored update file can be obtained first, and then the update file can be re-downloaded according to the source address of the stored update file. It should be pointed out that if the update file is re-downloaded according to the source address of the stored update file, the re-downloaded update file is verified. If the verification fails, it indicates that there may be a problem with the source address of the update file.
  • the terminal device will initiate a request to the server to obtain the source address of the stored update file to obtain the source address of the new update file, and then execute the re-download of the update file according to the source address of the new update file.
  • the update file obtained by performing the automatic update operation is stored in the first folder, and the update file obtained by performing the active update operation is stored in the second folder, in order to ensure the accuracy of the storage address of the downloaded update file , After the verification is passed, including:
  • the temporary file can be copied from the first folder to the second folder, and then the initial data to be downloaded is determined in the update according to the data included in the temporary file.
  • the address of the file; or, after the verification is passed, it is determined that the starting data to be downloaded is at the address of the update file according to the data included in the temporary file, and then the temporary file is copied from the first folder to the second file Folder, there is no limitation here.
  • the action of copying temporary files will occupy certain system resources. Therefore, in order to save system resources, the temporary file is executed only when the attributes of the first folder and the second folder are specific attributes.
  • the file copy operation. At this time, the copying the temporary file from the first folder to the second folder includes:
  • the attribute of the first folder is hidden, and the attribute of the second folder is displayed, that is, the update file downloaded by the terminal device through automatic update is invisible to the user after being stored in the first folder, but through active
  • the update file downloaded in the update mode is visible to the user after it is stored in the second folder.
  • the temporary file is copied from the first folder to the second folder.
  • the method in order to determine whether the resuming of the update file is successful, before the step S14, the method includes:
  • step S14 is specifically:
  • the data update is implemented according to the downloaded update file.
  • the size of the updated file after resuming is used to determine whether the resuming of the update file is successful. If the size of the resuming update file is equal to the standard size of the pre-obtained update file, it indicates that the resuming of the update file is successful. .
  • the standard size of the update file can be obtained when the automatic update operation is performed and before the temporary file is automatically obtained. In this way, it can ensure that the standard size of the latest update file is obtained, thereby helping to improve the accuracy of judging whether the resuming is successful. Sex.
  • the update file whose resuming is successful is verified. At this time, if the size of the resuming update file is the same as the size of the update file obtained in advance. If the standard size is equal, the data will be updated according to the downloaded update file, including:
  • the size of the updated file after the resuming is equal to the standard size of the update file obtained in advance, the updated file after the resuming is checked, and if the check is passed, the data is updated according to the downloaded update file.
  • the MD5 value corresponding to all the data included in the update file in the server can be used to verify the update file after the resuming is successful. Specifically, the MD5 value corresponding to the update file after the resuming is calculated, and then the The MD5 value corresponding to the update file after the resuming is successfully compared with the MD5 value corresponding to all the data included in the update file in the server, if the two are equal, the verification is passed, and if the two are not equal, the verification is not passed.
  • the update file after the resuming transfer is successfully divided into segments, so that the number of paragraphs after segmentation and the data length of each paragraph are the same as the number of paragraphs divided into the update file stored in the server in advance and the corresponding paragraph.
  • the data lengths are equal, and then the paragraphs divided by the updated file after the resuming transfer are verified separately.
  • the starting data to be downloaded is determined at the address of the update file, and then the update stored from the server is updated according to the address. Download the corresponding data in the file.
  • the method includes:
  • the ratio value is determined according to the ratio of the temporary file and the updated file obtained by performing the automatic update operation; and the ratio value is displayed.
  • the size of the update file needs to be obtained in advance. Specifically, the size of the temporary file is determined, and the size of the temporary file is compared with the size of the update file obtained in advance to obtain the ratio of the temporary file to the update file. In this embodiment, by displaying the ratio value, the user is informed of the download progress of the current update file.
  • the method includes:
  • the temporary file obtained by performing the automatic update operation is verified. Otherwise, continue to download the update file through the automatic update method.
  • FIG. 2 shows a schematic structural diagram of a data update device provided in an embodiment of the present application. For ease of description, only the parts related to the embodiment of the present application are shown.
  • the data update device 2 includes: an active update request receiving unit 21, a starting data address determination unit 22, an update file resuming unit 23, and a data update unit 24. among them:
  • the active update request receiving unit 21 is configured to, if an active update request is received when the automatic update operation is performed, verify the temporary file obtained by performing the automatic update operation, and all the data of the temporary file is part of the data of the update file ;
  • the application interface installed on the terminal device displays "update", or displays other identifiers for indicating update, it indicates that the application corresponding to the application interface needs to be updated. If the application is set to be automatically updated, an update operation is automatically performed to obtain an update file corresponding to the application in an automatic update manner, and the update file is stored in the server.
  • the initial data address determining unit 22 is configured to, if the verification is passed, determine the address of the initial data to be downloaded in the update file according to the data included in the temporary file;
  • the update file resuming unit 23 is configured to continue to download the corresponding data from the source address where the update file is stored according to the address of the update file in the starting data to be downloaded, so as to realize the resuming of the update file. ;
  • the source address for storing the update file can be preset, or, in order to further ensure the accuracy of the source address of the obtained update file, the update file can be obtained first when the automatic update operation is performed and before the temporary file is automatically obtained. source address.
  • the data update unit 24 is configured to update the data according to the downloaded update file if the resuming of the update file is successful.
  • the address of the initial data to be downloaded in the update file is determined according to the data included in the temporary file, and the temporary file is obtained by performing an automatic update operation, after receiving the active update request, According to the address where the starting data to be downloaded is in the update file, continue to download the corresponding data from the source address where the update file is stored, which is equivalent to changing the update mode from automatic update to active update.
  • you can continue to download the undownloaded part of the update file which eliminates the need to re-download the downloaded temporary file, reduces the traffic overhead of the CDN and the user, and reduces the update time for the user to actively update the application A.
  • the data update device 2 includes:
  • the check value acquisition unit is used to obtain the check value used to check the temporary file and the length value of the paragraph obtained by dividing the update file in advance, the number of the check value is greater than or equal to 2, and the The number of check values is the same as the number of paragraphs divided by the update file;
  • the active update request receiving unit 21 verifies the temporary file obtained by performing the automatic update operation, which is specifically used for:
  • Segment the temporary file obtained by performing an automatic update operation according to the length value; perform segment verification on the segmented temporary file according to the verification value;
  • the check value can be an MD5 value.
  • the address determining unit 22 of the initial data is specifically configured to:
  • the data to be downloaded in the update file is determined based on the data of the last paragraph included in the temporary file; if the segment verification partially passes, then the data to be downloaded in the update file is determined based on the first paragraph included in the temporary file. The data of the paragraphs that failed the check determine the data to be downloaded in the update file.
  • the address of the update file is determined based on the data of the last paragraph included in the temporary file (usually only the last data is required). If the segment verification partially passes and partially fails, then only the data of the first paragraph that fails the verification (usually only the last data is needed) determines the address of the update file for the starting data to be downloaded. In some embodiments, in order to improve the verification speed, if it is determined that a certain paragraph fails the verification, the other paragraphs after the certain paragraph in the temporary file are no longer verified.
  • the check value obtaining unit specifically includes:
  • the data update device further includes:
  • the temporary file acquisition unit is used to automatically acquire temporary files.
  • the data update device further includes:
  • the update file re-downloading unit is configured to delete the temporary file and download the update file again if all the segment checks fail.
  • verification can be performed on all paragraphs of the temporary file, and then it is determined whether the verification of all paragraphs fails.
  • the source address of the stored update file can be obtained first, and then the update file can be re-downloaded according to the source address of the stored update file. It should be pointed out that if the update file is re-downloaded according to the source address of the stored update file, the re-downloaded update file is verified. If the verification fails, it indicates that there may be a problem with the source address of the update file.
  • the terminal device will initiate a request to the server to obtain the source address of the stored update file to obtain the source address of the new update file, and then execute the re-download of the update file according to the source address of the new update file.
  • the data update device further includes:
  • the temporary file copying unit is configured to copy the temporary file from the first folder to the second folder.
  • the action of copying temporary files will occupy certain system resources. Therefore, in order to save system resources, the temporary file is executed only when the attributes of the first folder and the second folder are specific attributes. File copy operation. At this time, the temporary file copy unit is specifically used for:
  • the data update apparatus in order to determine whether the resuming of the update file is successful, the data update apparatus further includes:
  • the size comparison unit is used to compare the size of the updated file after resuming the upload with the standard size of the updated file obtained in advance;
  • the data update unit is specifically configured to:
  • the data update is implemented according to the downloaded update file.
  • the standard size of the update file can be obtained when the automatic update operation is performed and before the temporary file is automatically obtained. In this way, it can ensure that the standard size of the latest update file is obtained, thereby helping to improve the accuracy of judging whether the resuming is successful. Sex.
  • the data update unit 24 is specifically configured to:
  • the size of the updated file after the resuming is equal to the standard size of the update file obtained in advance, the updated file after the resuming is checked, and if the check is passed, the data is updated according to the downloaded update file.
  • the MD5 value corresponding to all the data included in the update file in the server can be used to verify the update file after the resuming is successful. Specifically, the MD5 value corresponding to the update file after the resuming is calculated, and then the The MD5 value corresponding to the update file after the resuming is successfully compared with the MD5 value corresponding to all the data included in the update file in the server, if the two are equal, the verification is passed, and if the two are not equal, the verification is not passed.
  • the update file after the resuming transfer is successfully divided into segments, so that the number of paragraphs after segmentation and the data length of each paragraph are the same as the number of paragraphs divided into the update file stored in the server in advance and the corresponding paragraph.
  • the data lengths are equal, and then the paragraphs divided by the updated file after the resuming transfer are verified separately.
  • the starting data to be downloaded is determined at the address of the update file, and then the update stored from the server is updated according to the address. Download the corresponding data in the file.
  • the data update apparatus in order to facilitate the user to know that the download of the update file is currently being performed by means of automatic update, the data update apparatus further includes:
  • the scale value display unit is used to determine the scale value according to the scale of the temporary file and the updated file obtained by performing the automatic update operation; and display the scale value.
  • the data update apparatus in order to facilitate the user to know that the download of the update file is currently being performed by means of automatic update, the data update apparatus further includes:
  • the update mode switch prompt unit is used to display the information currently being automatically updated and prompt the user to confirm whether to switch from the automatic update mode to the active update mode.
  • the temporary file obtained by performing the automatic update operation is verified. Otherwise, continue to download the update file through automatic update.
  • Fig. 3 is a schematic diagram of a terminal device provided by an embodiment of the present application.
  • the terminal device 3 of this embodiment includes: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and running on the processor 30.
  • the processor 30 implements the steps in the foregoing method embodiments when the computer program 32 is executed, for example, steps S11 to S14 shown in FIG. 1.
  • the processor 30 executes the computer program 32, the functions of the modules/units in the foregoing device embodiments, for example, the functions of the modules 21 to 24 shown in FIG. 2 are realized.
  • the computer program 32 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 31 and executed by the processor 30 to complete This application.
  • the one or more modules/units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 32 in the terminal device 3.
  • the computer program 32 can be divided into an active update request receiving unit, a starting data address determination unit, an update file retransmission unit, and a data update unit.
  • the specific functions of each unit are as follows:
  • the active update request receiving unit is configured to, if an active update request is received when the automatic update operation is performed, verify the temporary file obtained by performing the automatic update operation, and all the data of the temporary file is part of the data of the update file;
  • a unit for determining the address of the initial data configured to determine the address of the initial data to be downloaded in the update file according to the data included in the temporary file if the verification is passed;
  • the update file resuming unit is configured to continue to download the corresponding data from the source address where the update file is stored according to the starting data to be downloaded at the address of the update file, so as to realize the resuming of the update file;
  • the data update unit is configured to update the data according to the downloaded update file if the resuming of the update file is successful.
  • the terminal device 3 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device may include, but is not limited to, a processor 30 and a memory 31.
  • FIG. 3 is only an example of the terminal device 3, and does not constitute a limitation on the terminal device 3. It may include more or less components than shown in the figure, or a combination of certain components, or different components.
  • the terminal device may also include input and output devices, network access devices, buses, and the like.
  • the so-called processor 30 may be a central processing unit (Central Processing Unit, CPU), other general processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory 31 may be an internal storage unit of the terminal device 3, such as a hard disk or a memory of the terminal device 3.
  • the memory 31 may also be an external storage device of the terminal device 3, such as a plug-in hard disk equipped on the terminal device 3, a smart memory card (Smart Media Card, SMC), and a Secure Digital (SD) Card, Flash Card, etc. Further, the memory 31 may also include both an internal storage unit of the terminal device 3 and an external storage device.
  • the memory 31 is used to store the computer program and other programs and data required by the terminal device.
  • the memory 31 can also be used to temporarily store data that has been output or will be output.
  • the disclosed device/terminal device and method may be implemented in other ways.
  • the device/terminal device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units.
  • components can be combined or integrated into another system, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the present application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program.
  • the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, it can implement the steps of the foregoing method embodiments.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media, etc.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electrical carrier signal telecommunications signal
  • software distribution media etc.
  • the content contained in the computer-readable medium can be appropriately added or deleted according to the requirements of the legislation and patent practice in the jurisdiction.
  • the computer-readable medium Does not include electrical carrier signals and telecommunication signals.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种数据更新方法、装置、终端设备及计算机可读存储介质,该数据更新方法包括:若在执行自动更新操作时接收到主动更新请求,则对通过执行自动更新操作得到的临时文件进行校验,所述临时文件的全部数据为更新文件的部分数据(S11);若校验通过,则根据所述临时文件包括的数据确定将要下载的起始数据在所述更新文件的地址(S12);根据所述将要下载的起始数据在所述更新文件的地址,从存储所述更新文件的源地址继续下载对应的数据,以实现所述更新文件的续传(S13);若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新(S14)。通过上述方法,减少了CDN和用户的流量开销,以及减少了用户主动更新应用A的更新时间。

Description

数据更新方法、装置、终端设备及计算机可读存储介质 技术领域
本申请涉及数据更新技术领域,具体涉及数据更新方法、装置、终端设备及计算机可读存储介质。
背景技术
应用分发软件(如软件商店)有两个主要功能,支持未下载应用的新下载和已安装应用的更新。其中,更新有两种方式实现:一是主动更新,二是自动更新。主动更新是指用户主动启动应用分发软件,其通过点击更新按钮以启动更新流程;而自动更新则无需用户交互,只要用户设置了自动更新开关,系统会定时检查终端设备上的应用是否有更新,若有更新,则自动发起下载并更新。
现有方法中,若主动更新的动作和自动更新的动作存在重叠,比如用户在应用自动更新的过程中发起了主动更新请求,则将取消自动更新的操作,以避免重复下载所造成的流量损耗,但该方法仍会造成用户和企业的内容分发网络(Content Delivery Network,CDN)的数据流量浪费,增加用户更新耗时。
申请内容
本申请实施例的目的之一在于:提供一种数据更新方法、装置、终端设备及计算机可读存储介质,旨在解决现有的更新方法在更新应用时导致CDN的数据流量浪费,用户更新耗时增加的问题。
第一方面,提供了一种一种数据更新方法,包括:
若在执行自动更新操作时接收到主动更新请求,则对通过执行自动更新操作得到的临时文件进行校验,所述临时文件的全部数据为更新文件的部分数据;
若校验通过,则根据所述临时文件包括的数据确定将要下载的起始数据在所述更新文件的地址;
根据所述将要下载的起始数据在所述更新文件的地址,从存储所述更新文件的源地址继续下载对应的数据,以实现所述更新文件的续传;
若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新。
第二方面,提供了一种数据更新装置,包括:
主动更新请求接收单元,用于若在执行自动更新操作时接收到主动更新请求,则对通 过执行自动更新操作得到的临时文件进行校验,所述临时文件的全部数据为更新文件的部分数据;
起始数据的地址确定单元,用于若校验通过,则根据所述临时文件包括的数据确定将要下载的起始数据在所述更新文件的地址;
更新文件续传单元,用于根据所述将要下载的起始数据在所述更新文件的地址,从存储所述更新文件的源地址继续下载对应的数据,以实现所述更新文件的续传;
数据更新单元,用于若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新。
第三方面,提供一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
若在执行自动更新操作时接收到主动更新请求,则对通过执行自动更新操作得到的临时文件进行校验,所述临时文件的全部数据为更新文件的部分数据;
若校验通过,则根据所述临时文件包括的数据确定将要下载的起始数据在所述更新文件的地址;
根据所述将要下载的起始数据在所述更新文件的地址,从存储所述更新文件的源地址继续下载对应的数据,以实现所述更新文件的续传;
若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新。
第四方面,提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面任一项所述的方法。
第五方面,提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面中所述的方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或示范性技术描述中所需要使用的附图作简单地介绍。
图1是本申请一实施例提供的一种数据更新方法的流程图;
图2是本申请另一实施例提供的一种数据更新装置的结构示意图;
图3是本申请另一实施例提供的一种终端设备的结构示意图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、 电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
本申请实施例提供的数据更新方法主要应用在主动更新和自动更新发生重叠时的场景。比如,若服务器的应用A存在更新文件,则安装在终端设备的应用A上将出现需要更新的标识,若该应用A为用户设置的自动更新应用,则终端设备的软件商店将在后台自动下载该应用A的更新文件。若在下载该应用A的更新文件的过程中,用户手动发起主动更新请求,则首先对已下载的部分更新文件----即临时文件进行校验,若校验通过,再根据该临时文件下载未下载的更新文件,因此,无需重新下载已下载的临时文件,从而减少了CDN和用户的流量开销,以及减少了用户主动更新应用A的更新时间。
为了说明本申请所述的技术方案,以下结合具体附图及实施例进行详细说明。
图1示出了本申请实施例提供的一种数据更新方法的流程图,详述如下:
步骤S11,若在执行自动更新操作时接收到主动更新请求,则对通过执行自动更新操作得到的临时文件进行校验,所述临时文件的全部数据为更新文件的部分数据;
本实施例中,若安装在终端设备的应用界面显示“更新”,或显示其他用于表示更新的标识,则表明该应用界面对应的应用需要更新。若该应用被设置为自动更新,则自动执行更新操作,以通过自动更新的方式获取该应用对应的更新文件,该更新文件存储在服务器 中。在自动获取应用对应的更新文件时,若用户发出主动更新请求,则响应该主动更新请求,对已获取的临时文件进行校验。其中,这里的校验主要是对临时文件的完整性进行校验。
需要指出的是,若在执行自动更新操作时没有接收到主动更新请求,即通过自动更新的方式下载了整个更新文件,则将不再在应用界面显示“更新”,当然,若一开始是显示其他用于表示更新的标识,则通过自动更新的方式下载了整个更新文件后,将不再显示其他用于表示更新的标识。
步骤S12,若校验通过,则根据所述临时文件包括的数据确定将要下载的起始数据在所述更新文件的地址;
具体地,若对临时文件包括的数据校验通过,则确定通过校验的临时文件的数据长度L1,并将数据长度为L1+1的数据串中的最后一位数据所在的地址作为将要下载的起始数据在所述更新文件的地址。例如,假设更新文件的数据为:1111000,临时文件的数据为1111,则将“11110”中的“0”所在的地址作为将要下载的起始数据在更新文件的地址。
步骤S13,根据所述将要下载的起始数据在所述更新文件的地址,从存储所述更新文件的源地址继续下载对应的数据,以实现所述更新文件的续传;
具体地,存储更新文件的源地址可通过预先设定,或者,为了进一步保证获取的更新文件的源地址的准确性,可在执行自动更新操作时且在自动获取临时文件之前先获取更新文件的源地址,这样,当采用主动更新方式下载数据之前,先获取通过自动更新方式获取的更新文件的源地址,之后,再从该更新文件的源地址继续下载对应的数据。
步骤S14,若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新。
若下载更新文件成功,则根据该更新文件对相应应用的数据进行更新。
本申请实施例中,由于将要下载的起始数据在所述更新文件的地址是根据临时文件包括的数据确定,而临时文件是通过执行自动更新操作得到,因此,在接收到主动更新请求后,根据所述将要下载的起始数据在所述更新文件的地址,从存储所述更新文件的源地址继续下载对应的数据,相当于在更新方式从自动更新变为主动更新后,只需在临时文件的基础上继续下载更新文件未下载的部分即可,从而无需重新下载已下载的临时文件,减少了CDN和用户的流量开销,以及减少了用户主动更新应用A的更新时间。
在一些实施例中,为了实现对临时文件的有效校验,则需要预先将更新文件划分为至少2个段落,并确定划分的至少2个段落对应的校验值,其中,1个段落对应1个校验值。此时,在所述步骤S11之前,包括:
获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度 值,所述校验值的个数大于或等于2,且所述校验值的数量与所述更新文件划分的段落个数相同;其中,划分更新文件得到的至少2个段落对应的至少2个校验值作为用于对临时文件进行校验的校验值。
对应地,所述步骤S11中对通过执行自动更新操作得到的临时文件进行校验,具体包括:
A1、根据所述长度值对通过执行自动更新操作得到的临时文件分段;具体地,根据划分更新文件得到的段落的长度值对临时文件包括的数据进行分段。需要指出的是,若更新文件划分后的不同段落对应不同的长度值,则在对临时文件进行分段的过程中,需要结合划分更新文件得到的段落的先后顺序确定对应的长度值的先后顺序。需要指出的是,若临时文件剩余未分段的数据的数据长度,小于更新文件划分的对应顺序段落的数据长度,则丢弃该临时文件剩余未分段的数据。例如,假设将更新文件的数据为1111000,预先将更新文件划分为3个段落:111;10;00;则首先将临时文件分段出数据长度与“111”相等的数据,若除了该“111”外,临时文件还包括其他数据,则继续从该临时文件分段出数据长度与“10”相等的数据,若临时文件没有其他数据,则停止分段,若临时文件仍剩余数据,但剩余数据的数据长度小于“00”对应的数据长度,则丢弃该临时文件的剩余数据。
A2、根据所述校验值对分段后的所述临时文件进行分段校验;该步骤中,根据信息摘要算法(Message-Digest Algorithm,MD5)对更新文件的不同段落进行运算,得到不同段落对应的MD5值,而该不同段落对应的MD5值将作为该不同段落对应的校验值。具体地,根据不同段落的校验值分别对临时文件分段后的数据进行校验,例如,据MD5算法对临时文件的第1个段落数据进行运算,得到对应MD5值,将该MD5值与更新文件第1个段落对应的MD5值比较,若相同,则表明临时文件的第1个段落数据校验通过,若不相同,则表明临时文件的第1个段落数据校验不通过。
对应地,所述步骤S12,具体包括:
B1、若分段校验全部通过,则根据所述临时文件包括的最后一个段落的数据确定将要下载的起始数据在所述更新文件的地址;具体地,根据临时文件包括的最后一个段落的数据(通常只需要最后一个数据)确定将要下载的起始数据在所述更新文件的地址。其中,这里最后一个段落是指排序在分段顺序最后的段落,该分段顺序是指对临时文件进行分段的顺序。
B2、若分段校验部分通过,则根据所述临时文件包括的第一个校验不通过的段落的数据确定将要下载的起始数据在所述更新文件的地址。具体地,若分段校验部分通过,部分不通过,则只根据第一个校验不通过的段落的数据(通常只需要最后一个数据)确定将要 下载的起始数据在更新文件的地址。在一些实施例中,为了提高校验速度,若判断出某个段落校验不通过,则不再对临时文件中该某个段落之后的其他段落进行校验。
在一些实施例中,所述获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度值,具体包括:
若检测到存在更新文件且更新方式为自动更新,则自动获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度值;
在所述自动获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度值之后,包括:
自动获取临时文件。
本实施例中,为了能够及时获取用于校验的校验值,则在自动更新开始时,首先获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度值,之后才会获取用于更新的临时文件。另外,由于在自动更新开始时获取用于校验的校验值和长度值,因此,能够保证获取的校验值和长度值都是最新的,从而保证校验的准确性。
在一些实施例中,若通过自动更新方式下载的临时文件校验不通过,则需要需要下载完整的更新文件,此时,所述数据更新方法还包括:
若分段校验全部不通过,则删除所述临时文件,重新下载所述更新文件。
本实施例中,可对临时文件的所有段落都执行校验,进而判断是否全部段落的校验都不通过。为了进一步提高更新速度,则在判断出临时文件的第一个段落的校验不通过时,直接判定为分段校验全部不通过。此时,可先获取存储更新文件的源地址,再根据该存储更新文件的源地址重新下载更新文件。需要指出的是,若根据该存储更新文件的源地址重新下载更新文件之后,对重新下载的更新文件进行校验,若校验不通过,表明该更新文件的源地址可能存在问题,此时,终端设备将向服务器发起获取存储更新文件的源地址的请求,以获取新的更新文件的源地址,再根据新的更新文件的源地址执行更新文件的重下载。
在一些实施例中,若执行自动更新操作得到的更新文件存储在第一文件夹,执行主动更新操作得到的更新文件存储在第二文件夹,则为了保证下载的更新文件存储的地址的准确性,在所述若校验通过之后,包括:
将所述临时文件从所述第一文件夹拷贝至所述第二文件夹。
本实施例中,可在所述若校验通过之后,将临时文件从第一文件夹拷贝至第二文件夹,再根据所述临时文件包括的数据确定将要下载的起始数据在所述更新文件的地址;或者,可在校验通过,根据所述临时文件包括的数据确定将要下载的起始数据在所述更新文件的地址之后,再将临时文件从第一文件夹拷贝至第二文件夹,此处不作限定。
在一些实施例中,由于拷贝临时文件的动作会占用一定的系统资源,因此,为了节省系统资源,则只有在第一文件夹的属性和第二文件夹的属性为特定属性时,才执行临时文件的拷贝操作,此时,所述将所述临时文件从所述第一文件夹拷贝至所述第二文件夹,包括:
若所述第一文件夹的属性为隐藏,所述第二文件夹的属性为显示,则将所述临时文件从所述第一文件夹拷贝至所述第二文件夹。
本实施例中,第一文件夹的属性为隐藏,第二文件夹的属性为显示,即终端设备通过自动更新的方式下载的更新文件存入第一文件夹后对用户不可见,而通过主动更新的方式下载的更新文件存入第二文件夹后对用户可见。为了便于用户后续能够查看下载的更新文件,则将临时文件从所述第一文件夹拷贝至所述第二文件夹。
在一些实施例中,为了判断更新文件是否续传成功,则在所述步骤S14之前,包括:
将续传后的更新文件的大小与预先获取的更新文件的标准大小比较;
对应地,所述步骤S14,具体为:
若续传后的更新文件的大小与预先获取的更新文件的标准大小相等,则根据下载后的更新文件实现数据的更新。
本实施例中,通过续传后的更新文件的大小判断该更新文件是否续传成功,若续传后的更新文件的大小与预先获取的更新文件的标准大小相等,表明该更新文件续传成功。其中,更新文件的标准大小可在执行自动更新操作时且在自动获取临时文件之前先获取,这样,能够保证获取到最新的更新文件的标准大小,进而有助于提高判断续传是否成功的准确性。
在一些实施例中,为了进一步保证获取到更准确的更新文件,则对续传成功的更新文件进行校验,此时,所述若续传后的更新文件的大小与预先获取的更新文件的标准大小相等,则根据下载后的更新文件实现数据的更新,包括:
若续传后的更新文件的大小与预先获取的更新文件的标准大小相等,则对续传后的更新文件进行校验,若校验通过,则根据下载后的更新文件实现数据的更新。
本实施例中,可通过服务器中更新文件包括的所有数据对应的MD5值对续传成功后的更新文件进行校验,具体地,计算续传成功后的更新文件对应的MD5值,再将该续传成功后的更新文件对应的MD5值与服务器中更新文件包括的所有数据对应的MD5值比较,若两者相等,则校验通过,若两者不相等,则校验不通过。若校验不通过,则对续传成功后的更新文件进行分段,使得分段后的段落数量以及每一个段落的数据长度都与预先对服务器存储的更新文件划分的段落数量和对应段落的数据长度相等,之后,分别对续传成功后 的更新文件划分的段落进行逐段校验,根据校验结果确定将要下载的起始数据在更新文件的地址,再根据该地址从服务器存储的更新文件中下载对应的数据。
在一些实施例中,为了便于用户知悉当前正通过自动更新的方式执行更新文件的下载,则在所述步骤S11中的接收到主动更新请求之后,包括:
根据通过执行自动更新操作得到的临时文件与更新文件的比例确定比例值;显示所述比例值。
该步骤中,需要预先获取更新文件的大小。具体地,确定临时文件的大小,再将该临时文件的大小与预先获取的更新文件的大小比较,得到临时文件与更新文件的比例值。本实施例中,通过显示该比例值,使得用户知悉当前更新文件的下载进度。
在一些实施例中,为了便于用户进一步确认更新的方式,则在所述步骤S11中的接收到主动更新请求之后,包括:
显示当前正在自动更新的信息,提示用户确认是否从自动更新的方式切换到主动更新的方式。
本实施例中,若用户确认从自动更新的方式切换到主动更新的方式,则对通过执行自动更新操作得到的临时文件进行校验。否则,继续通过自动更新的方式继续下载更新文件。
与上述数据更新对应,图2示出了本申请实施例提供了一种数据更新装置的结构示意图,为了便于说明,仅示出了与本申请实施例相关的部分。
该数据更新装置2包括:主动更新请求接收单元21、起始数据的地址确定单元22、更新文件续传单元23、数据更新单元24。其中:
主动更新请求接收单元21,用于若在执行自动更新操作时接收到主动更新请求,则对通过执行自动更新操作得到的临时文件进行校验,所述临时文件的全部数据为更新文件的部分数据;
本实施例中,若安装在终端设备的应用界面显示“更新”,或显示其他用于表示更新的标识,则表明该应用界面对应的应用需要更新。若该应用被设置为自动更新,则自动执行更新操作,以通过自动更新的方式获取该应用对应的更新文件,该更新文件存储在服务器中。
起始数据的地址确定单元22,用于若校验通过,则根据所述临时文件包括的数据确定将要下载的起始数据在所述更新文件的地址;
更新文件续传单元23,用于根据所述将要下载的起始数据在所述更新文件的地址,从存储所述更新文件的源地址继续下载对应的数据,以实现所述更新文件的续传;
具体地,存储更新文件的源地址可通过预先设定,或者,为了进一步保证获取的更新 文件的源地址的准确性,可在执行自动更新操作时且在自动获取临时文件之前先获取更新文件的源地址。
数据更新单元24,用于若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新。
本申请实施例中,由于将要下载的起始数据在所述更新文件的地址是根据临时文件包括的数据确定,而临时文件是通过执行自动更新操作得到,因此,在接收到主动更新请求后,根据所述将要下载的起始数据在所述更新文件的地址,从存储所述更新文件的源地址继续下载对应的数据,相当于在更新方式从自动更新变为主动更新后,只需在临时文件的基础上继续下载更新文件未下载的部分即可,从而无需重新下载已下载的临时文件,减少了CDN和用户的流量开销,以及减少了用户主动更新应用A的更新时间。
在一些实施例中,为了实现对临时文件的有效校验,则需要预先将更新文件划分为至少2个段落,并确定划分的至少2个段落对应的校验值,其中,1个段落对应1个校验值。此时,所述数据更新装置2包括:
校验值获取单元,用于获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度值,所述校验值的个数大于或等于2,且所述校验值的数量与所述更新文件划分的段落个数相同;
对应地,所述主动更新请求接收单元21中对通过执行自动更新操作得到的临时文件进行校验,具体用于:
根据所述长度值对通过执行自动更新操作得到的临时文件分段;根据所述校验值对分段后的所述临时文件进行分段校验;
需要指出的是,若更新文件划分后的不同段落对应不同的长度值,则在对临时文件进行分段的过程中,需要结合划分更新文件得到的段落的先后顺序确定对应的长度值的先后顺序。需要指出的是,若临时文件剩余未分段的数据的数据长度,小于更新文件划分的对应顺序段落的数据长度,则丢弃该临时文件剩余未分段的数据。其中,校验值可为MD5值。
对应地,所述起始数据的地址确定单元22具体用于:
若分段校验全部通过,则根据所述临时文件包括的最后一个段落的数据确定将要在所述更新文件下载的数据;若分段校验部分通过,则根据所述临时文件包括的第一个校验不通过的段落的数据确定将要在所述更新文件下载的数据。
具体地,若分段校验全部通过,则根据临时文件包括的最后一个段落的数据(通常只需要最后一个数据)确定将要下载的起始数据在所述更新文件的地址。若分段校验部分通 过,部分不通过,则只根据第一个校验不通过的段落的数据(通常只需要最后一个数据)确定将要下载的起始数据在更新文件的地址。在一些实施例中,为了提高校验速度,若判断出某个段落校验不通过,则不再对临时文件中该某个段落之后的其他段落进行校验。
在一些实施例中,所述校验值获取单元,具体包括:
若检测到存在更新文件且更新方式为自动更新,则自动获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度值;
对应地,所述数据更新装置还包括:
临时文件获取单元,用于自动获取临时文件。
本实施例中,由于在自动更新开始时获取用于校验的校验值和长度值,因此,能够保证获取的校验值和长度值都是最新的,从而保证校验的准确性。
在一些实施例中,若通过自动更新方式下载的临时文件校验不通过,则需要需要下载完整的更新文件,此时,所述数据更新装置还包括:
更新文件重下载单元,用于若分段校验全部不通过,则删除所述临时文件,重新下载所述更新文件。
本实施例中,可对临时文件的所有段落都执行校验,进而判断是否全部段落的校验都不通过。为了进一步提高更新速度,则在判断出临时文件的第一个段落的校验不通过时,直接判定为分段校验全部不通过。此时,可先获取存储更新文件的源地址,再根据该存储更新文件的源地址重新下载更新文件。需要指出的是,若根据该存储更新文件的源地址重新下载更新文件之后,对重新下载的更新文件进行校验,若校验不通过,表明该更新文件的源地址可能存在问题,此时,终端设备将向服务器发起获取存储更新文件的源地址的请求,以获取新的更新文件的源地址,再根据新的更新文件的源地址执行更新文件的重下载。
在一些实施例中,若执行自动更新操作得到的更新文件存储在第一文件夹,执行主动更新操作得到的更新文件存储在第二文件夹,则为了保证下载的更新文件存储的地址的准确性,所述数据更新装置还包括:
临时文件拷贝单元,用于将所述临时文件从所述第一文件夹拷贝至所述第二文件夹。
在一些实施例中,由于拷贝临时文件的动作会占用一定的系统资源,因此,为了节省系统资源,则只有在第一文件夹的属性和第二文件夹的属性为特定属性时,才执行临时文件的拷贝操作,此时,所述临时文件拷贝单元具体用于:
若所述第一文件夹的属性为隐藏,所述第二文件夹的属性为显示,则将所述临时文件从所述第一文件夹拷贝至所述第二文件夹。
在一些实施例中,为了判断更新文件是否续传成功,则所述数据更新装置还包括:
大小比较单元,用于将续传后的更新文件的大小与预先获取的更新文件的标准大小比较;
对应地,所述数据更新单元具体用于:
若续传后的更新文件的大小与预先获取的更新文件的标准大小相等,则根据下载后的更新文件实现数据的更新。
其中,更新文件的标准大小可在执行自动更新操作时且在自动获取临时文件之前先获取,这样,能够保证获取到最新的更新文件的标准大小,进而有助于提高判断续传是否成功的准确性。
在一些实施例中,为了进一步保证获取到更准确的更新文件,则对续传成功的更新文件进行校验,此时,所述数据更新单元24具体用于:
若续传后的更新文件的大小与预先获取的更新文件的标准大小相等,则对续传后的更新文件进行校验,若校验通过,则根据下载后的更新文件实现数据的更新。
本实施例中,可通过服务器中更新文件包括的所有数据对应的MD5值对续传成功后的更新文件进行校验,具体地,计算续传成功后的更新文件对应的MD5值,再将该续传成功后的更新文件对应的MD5值与服务器中更新文件包括的所有数据对应的MD5值比较,若两者相等,则校验通过,若两者不相等,则校验不通过。若校验不通过,则对续传成功后的更新文件进行分段,使得分段后的段落数量以及每一个段落的数据长度都与预先对服务器存储的更新文件划分的段落数量和对应段落的数据长度相等,之后,分别对续传成功后的更新文件划分的段落进行逐段校验,根据校验结果确定将要下载的起始数据在更新文件的地址,再根据该地址从服务器存储的更新文件中下载对应的数据。
在一些实施例中,为了便于用户知悉当前正通过自动更新的方式执行更新文件的下载,则所述数据更新装置还包括:
比例值显示单元,用于根据通过执行自动更新操作得到的临时文件与更新文件的比例确定比例值;显示所述比例值。
在一些实施例中,为了便于用户知悉当前正通过自动更新的方式执行更新文件的下载,则所述数据更新装置还包括:
更新方式是否切换提示单元,用于显示当前正在自动更新的信息,提示用户确认是否从自动更新的方式切换到主动更新的方式。
本实施例中,若用户确认从自动更新的方式切换到主动更新的方式,则对通过执行自动更新操作得到的临时文件进行校验。否则,继续通过自动更新的方式继续下载更新文件。
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法 实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。
图3是本申请一实施例提供的终端设备的示意图。如图3所示,该实施例的终端设备3包括:处理器30、存储器31以及存储在所述存储器31中并可在所述处理器30上运行的计算机程序32。所述处理器30执行所述计算机程序32时实现上述各个方法实施例中的步骤,例如图1所示的步骤S11至S14。或者,所述处理器30执行所述计算机程序32时实现上述各装置实施例中各模块/单元的功能,例如图2所示模块21至24的功能。
示例性的,所述计算机程序32可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器31中,并由所述处理器30执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序32在所述终端设备3中的执行过程。例如,所述计算机程序32可以被分割成主动更新请求接收单元、起始数据的地址确定单元、更新文件续传单元、数据更新单元,各单元具体功能如下:
主动更新请求接收单元,用于若在执行自动更新操作时接收到主动更新请求,则对通过执行自动更新操作得到的临时文件进行校验,所述临时文件的全部数据为更新文件的部分数据;
起始数据的地址确定单元,用于若校验通过,则根据所述临时文件包括的数据确定将要下载的起始数据在所述更新文件的地址;
更新文件续传单元,用于根据所述将要下载的起始数据在所述更新文件的地址,从存储所述更新文件的源地址继续下载对应的数据,以实现所述更新文件的续传;
数据更新单元,用于若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新。
所述终端设备3可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备可包括,但不仅限于,处理器30、存储器31。本领域技术人员可以理解,图3仅仅是终端设备3的示例,并不构成对终端设备3的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入输出设备、网络接入设备、总线等。
所称处理器30可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可 以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器31可以是所述终端设备3的内部存储单元,例如终端设备3的硬盘或内存。所述存储器31也可以是所述终端设备3的外部存储设备,例如所述终端设备3上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器31还可以既包括所述终端设备3的内部存储单元也包括外部存储设备。所述存储器31用于存储所述计算机程序以及所述终端设备所需的其他程序和数据。所述存储器31还可以用于暂时地存储已经输出或者将要输出的数据。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种数据更新方法,其特征在于,包括:
    若在执行自动更新操作时接收到主动更新请求,则对通过执行自动更新操作得到的临时文件进行校验,所述临时文件的全部数据为更新文件的部分数据;
    若校验通过,则根据所述临时文件包括的数据确定将要下载的起始数据在所述更新文件的地址;
    根据所述将要下载的起始数据在所述更新文件的地址,从存储所述更新文件的源地址继续下载对应的数据,以实现所述更新文件的续传;
    若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新。
  2. 如权利要求1所述的数据更新方法,其特征在于,在所述若在执行自动更新操作时接收到主动更新请求,则对通过执行自动更新操作得到的临时文件进行校验之前,包括:
    获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度值,所述校验值的个数大于或等于2,且所述校验值的数量与所述更新文件划分的段落个数相同;
    对应地,所述对通过执行自动更新操作得到的临时文件进行校验,具体包括:
    根据所述长度值对通过执行自动更新操作得到的临时文件分段;
    根据所述校验值对分段后的所述临时文件进行分段校验;
    对应地,所述若校验通过,则根据所述临时文件包括的数据确定将要下载的起始数据在所述更新文件的地址,具体包括:
    若分段校验全部通过,则根据所述临时文件包括的最后一个段落的数据确定将要在所述更新文件下载的数据;
    若分段校验部分通过,则根据所述临时文件包括的第一个校验不通过的段落的数据确定将要在所述更新文件下载的数据。
  3. 如权利要求2所述的数据更新方法,其特征在于,所述获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度值,具体包括:
    若检测到存在更新文件且更新方式为自动更新,则自动获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度值;
    在所述自动获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度值之后,包括:
    自动获取临时文件。
  4. 如权利要求2所述的数据更新方法,其特征在于,所述数据更新方法还包括:
    若分段校验全部不通过,则删除所述临时文件,重新下载所述更新文件。
  5. 如权利要求1所述的数据更新方法,其特征在于,若执行自动更新操作得到的更新文件存储在第一文件夹,执行主动更新操作得到的更新文件存储在第二文件夹,则在所述若校验通过之后,包括:
    将所述临时文件从所述第一文件夹拷贝至所述第二文件夹。
  6. 如权利要求5所述的数据更新方法,其特征在于,所述将所述临时文件从所述第一文件夹拷贝至所述第二文件夹,包括:
    若所述第一文件夹的属性为隐藏,所述第二文件夹的属性为显示,则将所述临时文件从所述第一文件夹拷贝至所述第二文件夹。
  7. 如权利要求1所述的数据更新方法,其特征在于,在所述若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新之前,包括:
    将续传后的更新文件的大小与预先获取的更新文件的标准大小比较;
    对应地,所述若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新,具体为:
    若续传后的更新文件的大小与预先获取的更新文件的标准大小相等,则根据下载后的更新文件实现数据的更新。
  8. 如权利要求7所述的数据更新方法,其特征在于,所述若续传后的更新文件的大小与预先获取的更新文件的标准大小相等,则根据下载后的更新文件实现数据的更新,包括:
    若续传后的更新文件的大小与预先获取的更新文件的标准大小相等,则对续传后的更新文件进行校验,若校验通过,则根据下载后的更新文件实现数据的更新。
  9. 如权利要求1所述的数据更新方法,其特征在于,在所述接收到主动更新请求之后,包括:
    根据通过执行自动更新操作得到的临时文件与更新文件的比例确定比例值;
    显示所述比例值。
  10. 一种数据更新装置,其特征在于,包括:
    主动更新请求接收单元,用于若在执行自动更新操作时接收到主动更新请求,则对通过执行自动更新操作得到的临时文件进行校验,所述临时文件的全部数据为更新文件的部分数据;
    起始数据的地址确定单元,用于若校验通过,则根据所述临时文件包括的数据确定将 要下载的起始数据在所述更新文件的地址;
    更新文件续传单元,用于根据所述将要下载的起始数据在所述更新文件的地址,从存储所述更新文件的源地址继续下载对应的数据,以实现所述更新文件的续传;
    数据更新单元,用于若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新。
  11. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现以下步骤:
    若在执行自动更新操作时接收到主动更新请求,则对通过执行自动更新操作得到的临时文件进行校验,所述临时文件的全部数据为更新文件的部分数据;
    若校验通过,则根据所述临时文件包括的数据确定将要下载的起始数据在所述更新文件的地址;
    根据所述将要下载的起始数据在所述更新文件的地址,从存储所述更新文件的源地址继续下载对应的数据,以实现所述更新文件的续传;
    若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新。
  12. 如权利要求11所述的终端设备,其特征在于,在所述若在执行自动更新操作时接收到主动更新请求,则对通过执行自动更新操作得到的临时文件进行校验之前,包括:
    获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度值,所述校验值的个数大于或等于2,且所述校验值的数量与所述更新文件划分的段落个数相同;
    对应地,所述对通过执行自动更新操作得到的临时文件进行校验,具体包括:
    根据所述长度值对通过执行自动更新操作得到的临时文件分段;
    根据所述校验值对分段后的所述临时文件进行分段校验;
    对应地,所述若校验通过,则根据所述临时文件包括的数据确定将要下载的起始数据在所述更新文件的地址,具体包括:
    若分段校验全部通过,则根据所述临时文件包括的最后一个段落的数据确定将要在所述更新文件下载的数据;
    若分段校验部分通过,则根据所述临时文件包括的第一个校验不通过的段落的数据确定将要在所述更新文件下载的数据。
  13. 如权利要求12所述的终端设备,其特征在于,所述获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度值,具体包括:
    若检测到存在更新文件且更新方式为自动更新,则自动获取用于对临时文件进行校验 的校验值以及预先对更新文件划分得到的段落的长度值;
    在所述自动获取用于对临时文件进行校验的校验值以及预先对更新文件划分得到的段落的长度值之后,包括:
    自动获取临时文件。
  14. 如权利要求12所述的终端设备,其特征在于,所述处理器执行所述计算机程序时还包括执行以下步骤:
    若分段校验全部不通过,则删除所述临时文件,重新下载所述更新文件。
  15. 如权利要求11所述的终端设备,其特征在于,若执行自动更新操作得到的更新文件存储在第一文件夹,执行主动更新操作得到的更新文件存储在第二文件夹,则在所述若校验通过之后,包括:
    将所述临时文件从所述第一文件夹拷贝至所述第二文件夹。
  16. 如权利要求15所述的终端设备,其特征在于,所述将所述临时文件从所述第一文件夹拷贝至所述第二文件夹,包括:
    若所述第一文件夹的属性为隐藏,所述第二文件夹的属性为显示,则将所述临时文件从所述第一文件夹拷贝至所述第二文件夹。
  17. 如权利要求11所述的终端设备,其特征在于,在所述若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新之前,包括:
    将续传后的更新文件的大小与预先获取的更新文件的标准大小比较;
    对应地,所述若所述更新文件续传成功,则根据下载后的更新文件实现数据的更新,具体为:
    若续传后的更新文件的大小与预先获取的更新文件的标准大小相等,则根据下载后的更新文件实现数据的更新。
  18. 如权利要求17所述的终端设备,其特征在于,所述若续传后的更新文件的大小与预先获取的更新文件的标准大小相等,则根据下载后的更新文件实现数据的更新,包括:
    若续传后的更新文件的大小与预先获取的更新文件的标准大小相等,则对续传后的更新文件进行校验,若校验通过,则根据下载后的更新文件实现数据的更新。
  19. 如权利要求11所述的终端设备,其特征在于,在所述接收到主动更新请求之后,包括:
    根据通过执行自动更新操作得到的临时文件与更新文件的比例确定比例值;
    显示所述比例值。
  20. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征 在于,所述计算机程序被处理器执行时实现如权利要求1至9任一项所述的方法。
PCT/CN2019/114031 2019-10-29 2019-10-29 数据更新方法、装置、终端设备及计算机可读存储介质 WO2021081758A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/114031 WO2021081758A1 (zh) 2019-10-29 2019-10-29 数据更新方法、装置、终端设备及计算机可读存储介质
CN201980099526.0A CN114258525A (zh) 2019-10-29 2019-10-29 数据更新方法、装置、终端设备及计算机可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/114031 WO2021081758A1 (zh) 2019-10-29 2019-10-29 数据更新方法、装置、终端设备及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2021081758A1 true WO2021081758A1 (zh) 2021-05-06

Family

ID=75715704

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/114031 WO2021081758A1 (zh) 2019-10-29 2019-10-29 数据更新方法、装置、终端设备及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN114258525A (zh)
WO (1) WO2021081758A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968312A (zh) * 2022-07-12 2022-08-30 紫光同芯微电子有限公司 用于变更智能卡cap文件的方法、装置及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316256A (zh) * 2007-05-28 2008-12-03 微码(北京)移动技术有限公司 一种数据更新的方法
WO2009140813A1 (zh) * 2008-05-23 2009-11-26 中兴通讯股份有限公司 实现断点续传的文件下载的方法、系统及终端
CN105260202A (zh) * 2015-09-15 2016-01-20 中国联合网络通信集团有限公司 一种客户端文件更新方法和系统
CN105487894A (zh) * 2015-11-27 2016-04-13 浪潮软件集团有限公司 一种分布式软件系统的远程更新方法
CN108920621A (zh) * 2018-06-28 2018-11-30 努比亚技术有限公司 数据更新方法、移动终端及计算机可读存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363271B (zh) * 2014-10-28 2018-01-16 广东欧珀移动通信有限公司 文件断点续传方法及装置
CN109391673B (zh) * 2018-04-16 2021-01-05 深圳思为科技有限公司 一种管理更新文件的方法、系统及终端设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316256A (zh) * 2007-05-28 2008-12-03 微码(北京)移动技术有限公司 一种数据更新的方法
WO2009140813A1 (zh) * 2008-05-23 2009-11-26 中兴通讯股份有限公司 实现断点续传的文件下载的方法、系统及终端
CN105260202A (zh) * 2015-09-15 2016-01-20 中国联合网络通信集团有限公司 一种客户端文件更新方法和系统
CN105487894A (zh) * 2015-11-27 2016-04-13 浪潮软件集团有限公司 一种分布式软件系统的远程更新方法
CN108920621A (zh) * 2018-06-28 2018-11-30 努比亚技术有限公司 数据更新方法、移动终端及计算机可读存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968312A (zh) * 2022-07-12 2022-08-30 紫光同芯微电子有限公司 用于变更智能卡cap文件的方法、装置及系统

Also Published As

Publication number Publication date
CN114258525A (zh) 2022-03-29

Similar Documents

Publication Publication Date Title
CN108037946B (zh) 一种应用程序热更新的方法、系统及服务器
US11741046B2 (en) Method and apparatus for creating system disk snapshot of virtual machine
US9244673B2 (en) System and method for updating application archive files
US7698223B2 (en) Pluggable file-based digital rights management API layer for applications and engines
WO2018049888A1 (zh) 应用数据的迁移方法及装置
US20030121033A1 (en) Installing software on a mobile computing device using the rollback and security features of a configuration manager
US6564232B1 (en) Method and apparatus for managing distribution of change-controlled data items in a distributed data processing system
CN110162429B (zh) 系统修复方法、服务器及存储介质
US20190005031A1 (en) Accessing cloud based document libraries over unreliable networks
CN107656750A (zh) 插件更新方法及装置
WO2021081758A1 (zh) 数据更新方法、装置、终端设备及计算机可读存储介质
CN114780019A (zh) 电子设备的管理方法、装置、电子设备及存储介质
CN111176685A (zh) 一种升级方法及装置
CN106775835B (zh) 获取升级文件的方法、服务器及终端
CN110795495A (zh) 数据处理方法、装置、电子设备及计算机可读介质
CN112486546A (zh) 一种sqlite数据库升级方法、装置、终端及系统
CN106569841B (zh) 一种文件加载方法和装置
CN115086047B (zh) 接口鉴权方法、装置、电子设备及存储介质
TWI716969B (zh) 經由資料塊段之復原影像下載技術
CN109582330B (zh) 数据模型升级方法、装置、设备及可读存储介质
CN111367898A (zh) 数据处理方法、装置、系统、电子设备及存储介质
CN115314382B (zh) 配置信息处理方法
CN110096285A (zh) 软件系统的部署方法、装置、计算机设备及存储介质
CN117235609B (zh) Bim构件的归纳分类方法、装置、设备及介质
WO2021128269A1 (zh) 文件处理方法、文件处理装置、移动终端及服务器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19950684

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19950684

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 181022)

122 Ep: pct application non-entry in european phase

Ref document number: 19950684

Country of ref document: EP

Kind code of ref document: A1