Movatterモバイル変換


[0]ホーム

URL:


US20240244103A1 - File downloading method and apparatus, storage medium, and electronic device - Google Patents

File downloading method and apparatus, storage medium, and electronic device
Download PDF

Info

Publication number
US20240244103A1
US20240244103A1US18/289,359US202218289359AUS2024244103A1US 20240244103 A1US20240244103 A1US 20240244103A1US 202218289359 AUS202218289359 AUS 202218289359AUS 2024244103 A1US2024244103 A1US 2024244103A1
Authority
US
United States
Prior art keywords
file
index information
downloading
downloading interface
fragment
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
US18/289,359
Other versions
US12341845B2 (en
Inventor
Weiguang DI
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co LtdfiledCriticalBeijing ByteDance Network Technology Co Ltd
Assigned to BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.reassignmentBEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS).Assignors: Douyin Vision Co., Ltd.
Assigned to Douyin Vision Co., Ltd.reassignmentDouyin Vision Co., Ltd.ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS).Assignors: DI, Weiguang
Publication of US20240244103A1publicationCriticalpatent/US20240244103A1/en
Application grantedgrantedCritical
Publication of US12341845B2publicationCriticalpatent/US12341845B2/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Definitions

Landscapes

Abstract

A file downloading method includes: switching, in response to an obtained downloading interface switching request in a downloading process of a target file, a first downloading interface for currently downloading the target file to a second downloading interface for continuously downloading the target file, the first downloading interface being one of a foreground downloading interface and a background downloading interface, the second downloading interface being the other one of the foreground downloading interface and the background downloading interface; taking file data downloaded by the first downloading interface this time as a file fragment, and determining index information of the file fragment; storing the index information in a database; and sequentially reading, based on a storage sequence of index information in the database subsequent to completing a task of downloading the target file, file fragments corresponding to the index information and splicing the file fragments to obtain the target file.

Description

Claims (20)

1. A file downloading method, comprising:
switching, in response to an obtained downloading interface switching request in a downloading process of a target file, a first downloading interface for currently downloading the target file to a second downloading interface for continuously downloading the target file, the first downloading interface being one of a foreground downloading interface and a background downloading interface, the second downloading interface being the other one of the foreground downloading interface and the background downloading interface;
taking file data downloaded by the first downloading interface this time as a file fragment, and determining index information of the file fragment;
storing the index information in a database; and
sequentially reading, based on a storage sequence of index information in the database subsequent to completing a task of downloading the target file, file fragments corresponding to the index information and splicing the file fragments to obtain the target file.
5. The method according toclaim 4, wherein the index information of each of the file fragments further comprises a fragment index identifier,
wherein said taking file data downloaded by the first downloading interface this time as a file fragment comprises:
taking the file data downloaded by the first downloading interface this time as a file fragment, and setting a file fragment identifier of the file fragment, and
wherein the determining, for each piece of the index information, a target file fragment corresponding to the piece of the index information, and reading, from the target file fragment, file data between the disk start offset address and the disk termination offset address in the index information comprises:
determining, for each piece of the index information, the target file fragment corresponding to the piece of the index information based on the fragment index identifier of the index information and the file fragment identifier; and
reading, from the target file fragment, the file data between the disk start offset address and the disk termination offset address in the index information.
9. A non-transitory computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processing apparatus, implements a file downloading method, the method comprising:
switching, in response to an obtained downloading interface switching request in a downloading process of a target file, a first downloading interface for currently downloading the target file to a second downloading interface for continuously downloading the target file, the first downloading interface being one of a foreground downloading interface and a background downloading interface, the second downloading interface being the other one of the foreground downloading interface and the background downloading interface;
taking file data downloaded by the first downloading interface this time as a file fragment, and determining index information of the file fragment;
storing the index information in a database; and
sequentially reading, based on a storage sequence of index information in the database subsequent to completing a task of downloading the target file, file fragments corresponding to the index information and splicing the file fragments to obtain the target file.
10. An electronic device, comprising:
a storage apparatus having one or more computer programs stored thereon; and
one or more processing apparatuses configured to execute the one or more computer programs in the storage apparatus, to implement a file downloading method, the method comprising:
switching, in response to an obtained downloading interface switching request in a downloading process of a target file, a first downloading interface for currently downloading the target file to a second downloading interface for continuously downloading the target file, the first downloading interface being one of a foreground downloading interface and a background downloading interface, the second downloading interface being the other one of the foreground downloading interface and the background downloading interface;
taking file data downloaded by the first downloading interface this time as a file fragment, and determining index information of the file fragment;
storing the index information in a database; and
sequentially reading, based on a storage sequence of index information in the database subsequent to completing a task of downloading the target file, file fragments corresponding to the index information and splicing the file fragments to obtain the target file.
14. The electronic device according toclaim 13, wherein the index information of each of the file fragments further comprises a fragment index identifier,
wherein said taking file data downloaded by the first downloading interface this time as a file fragment comprises:
taking the file data downloaded by the first downloading interface this time as a file fragment, and setting a file fragment identifier of the file fragment, and
wherein the determining, for each piece of the index information, a target file fragment corresponding to the piece of the index information, and reading, from the target file fragment, file data between the disk start offset address and the disk termination offset address in the index information comprises:
determining, for each piece of the index information, the target file fragment corresponding to the piece of the index information based on the fragment index identifier of the index information and the file fragment identifier; and
reading, from the target file fragment, the file data between the disk start offset address and the disk termination offset address in the index information.
20. The non-transitory computer-readable medium according toclaim 19, wherein the index information of each of the file fragments further comprises a fragment index identifier,
wherein said taking file data downloaded by the first downloading interface this time as a file fragment comprises:
taking the file data downloaded by the first downloading interface this time as a file fragment, and setting a file fragment identifier of the file fragment, and
wherein the determining, for each piece of the index information, a target file fragment corresponding to the piece of the index information, and reading, from the target file fragment, file data between the disk start offset address and the disk termination offset address in the index information comprises:
determining, for each piece of the index information, the target file fragment corresponding to the piece of the index information based on the fragment index identifier of the index information and the file fragment identifier; and
reading, from the target file fragment, the file data between the disk start offset address and the disk termination offset address in the index information.
US18/289,3592021-06-302022-05-26File downloading method and apparatus, storage medium, and electronic deviceActiveUS12341845B2 (en)

Applications Claiming Priority (3)

Application NumberPriority DateFiling DateTitle
CN202110738259.6ACN113395353B (en)2021-06-302021-06-30File downloading method and device, storage medium and electronic equipment
CN202110738259.62021-06-30
PCT/CN2022/095210WO2023273725A1 (en)2021-06-302022-05-26File downloading method and apparatus, storage medium and electronic device

Publications (2)

Publication NumberPublication Date
US20240244103A1true US20240244103A1 (en)2024-07-18
US12341845B2 US12341845B2 (en)2025-06-24

Family

ID=77624731

Family Applications (1)

Application NumberTitlePriority DateFiling Date
US18/289,359ActiveUS12341845B2 (en)2021-06-302022-05-26File downloading method and apparatus, storage medium, and electronic device

Country Status (3)

CountryLink
US (1)US12341845B2 (en)
CN (1)CN113395353B (en)
WO (1)WO2023273725A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113395353B (en)*2021-06-302022-08-02北京字节跳动网络技术有限公司File downloading method and device, storage medium and electronic equipment
CN114051024B (en)*2021-11-152024-07-23抖音视界有限公司File background continuous transmission method and device, storage medium and electronic equipment
CN116624361B (en)*2023-04-112024-03-22北京通嘉宏瑞科技有限公司 Vacuum pump working methods, devices, computer equipment and storage media
CN116614490B (en)*2023-04-282023-12-26广州市良策网络技术有限公司Cross-device data transmission method, device and computer readable storage medium
CN116405540B (en)*2023-06-022023-08-04腾讯科技(深圳)有限公司Resource pre-downloading method and device, electronic equipment and storage medium
CN116527691B (en)*2023-06-272023-11-03天津中远海运散运数字科技有限公司Method, device, equipment and medium for synchronizing ship-shore data

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080133666A1 (en)*2006-12-052008-06-05Chavez Timothy RMoving File Fragments from Background File Sharing to Foreground File Sharing and Preventing Duplicate Downloads
US20140101343A1 (en)*2012-10-102014-04-10Green Throttle Games, Inc.Dynamic Selection of Operating Modes
US20150242480A1 (en)*2012-08-312015-08-27Zte CorporationMethod and system for data synchronization between foreground and background in ENUM-DNS
US20150325268A1 (en)*2014-05-122015-11-12Penthera Partners, Inc.Downloading videos with commercials to mobile devices
US20210303196A1 (en)*2020-03-252021-09-30EMC IP Holding Company LLCMethod, device and computer program product for storage

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7756946B1 (en)*2006-05-122010-07-13Sprint Spectrum L.P.Dynamic variation of content-download depending on foreground or background nature of download
KR20090074393A (en)*2008-01-022009-07-07삼성전자주식회사 Data receiving method and apparatus
CN101291195B (en)*2008-05-232011-01-19中兴通讯股份有限公司File downloading method, system and terminal realizing breaker point continuous transmission
CN107707590A (en)*2016-08-092018-02-16阿里巴巴集团控股有限公司System, the method and device of data transfer
CN108566561B (en)*2018-04-182022-01-28腾讯科技(深圳)有限公司Video playing method, device and storage medium
CN109947504B (en)2019-03-292020-12-18上海连尚网络科技有限公司 A method and device for executing a host program in a host program
CN110336871A (en)*2019-07-012019-10-15江苏满运软件科技有限公司A kind of document handling method, device, storage medium and electronic equipment
CN112351086B (en)2020-10-292023-11-28北京华云安信息技术有限公司File transmission method, apparatus, device and computer readable storage medium
CN113395353B (en)2021-06-302022-08-02北京字节跳动网络技术有限公司File downloading method and device, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080133666A1 (en)*2006-12-052008-06-05Chavez Timothy RMoving File Fragments from Background File Sharing to Foreground File Sharing and Preventing Duplicate Downloads
US20150242480A1 (en)*2012-08-312015-08-27Zte CorporationMethod and system for data synchronization between foreground and background in ENUM-DNS
US20140101343A1 (en)*2012-10-102014-04-10Green Throttle Games, Inc.Dynamic Selection of Operating Modes
US20150325268A1 (en)*2014-05-122015-11-12Penthera Partners, Inc.Downloading videos with commercials to mobile devices
US20210303196A1 (en)*2020-03-252021-09-30EMC IP Holding Company LLCMethod, device and computer program product for storage

Also Published As

Publication numberPublication date
WO2023273725A1 (en)2023-01-05
CN113395353B (en)2022-08-02
CN113395353A (en)2021-09-14
US12341845B2 (en)2025-06-24

Similar Documents

PublicationPublication DateTitle
US12341845B2 (en)File downloading method and apparatus, storage medium, and electronic device
US20230350872A1 (en)Updating method of citation document, apparatus, electronic device and storage medium
WO2021068634A1 (en)Page jump method and apparatus, electronic device and computer-readable storage medium
CN111309304B (en)Method, device, medium and electronic equipment for generating IDL file
US20250068555A1 (en)Video memory allocation method and apparatus, and medium and electronic device
WO2021190129A1 (en)Method and device for page processing, electronic device, and computer-readable storage medium
WO2021197161A1 (en)Icon updating method and apparatus, and electronic device
WO2021175187A1 (en)Data protection method and apparatus, electronic device and computer-readable storage medium
WO2023179509A1 (en)Data access apparatus and method, and readable medium and electronic device
CN110727566A (en)Method, device, medium and electronic equipment for acquiring process crash information
US12368902B2 (en)Functional component loading method and data processing method for video live-streaming, and device
US20250209070A1 (en)Method and apparatus for processing log request, device, and storage medium
CN113518183B (en)Camera calling method and device and electronic equipment
US20240220605A1 (en)Security detecting method and apparatus, and device
CN111949833B (en)Index construction method, data processing method, device, electronic equipment and medium
US12417064B2 (en)Method, apparatus, and electronic device for controlling display
WO2025011550A1 (en)Login method and apparatus, and electronic device
CN111414152B (en)Method, system, readable medium and electronic device for realizing business logic
US12438604B2 (en)Method and apparatus for synchronizing time by parsing satellite navigation data
CN115242862B (en) Network request control method, device, medium and electronic device
CN111209042B (en)Method, device, medium and electronic equipment for establishing function stack
CN111367590A (en)Interrupt event processing method and device
US20240354094A1 (en)Method, apparatus, electronic device, storage medium and product for updating application method
CN113986743B (en) Location information modification method, device, storage medium and electronic device
CN111782831B (en) Media file display method, device, medium and electronic device

Legal Events

DateCodeTitleDescription
ASAssignment

Owner name:BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., CHINA

Free format text:ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:DOUYIN VISION CO., LTD.;REEL/FRAME:065447/0984

Effective date:20230509

Owner name:DOUYIN VISION CO., LTD., CHINA

Free format text:ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:DI, WEIGUANG;REEL/FRAME:065441/0181

Effective date:20230425

FEPPFee payment procedure

Free format text:ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STPPInformation on status: patent application and granting procedure in general

Free format text:DOCKETED NEW CASE - READY FOR EXAMINATION

STPPInformation on status: patent application and granting procedure in general

Free format text:NON FINAL ACTION MAILED

STPPInformation on status: patent application and granting procedure in general

Free format text:RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPPInformation on status: patent application and granting procedure in general

Free format text:NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STCFInformation on status: patent grant

Free format text:PATENTED CASE


[8]ページ先頭

©2009-2025 Movatter.jp