CN113778673B - Data processing method, storage medium and apparatus - Google Patents

Data processing method, storage medium and apparatus Download PDF

Info

Publication number
CN113778673B
CN113778673B CN202110995899.5A CN202110995899A CN113778673B CN 113778673 B CN113778673 B CN 113778673B CN 202110995899 A CN202110995899 A CN 202110995899A CN 113778673 B CN113778673 B CN 113778673B
Authority
CN
China
Prior art keywords
downloading
platform
target
downloaded
candidate
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.)
Active
Application number
CN202110995899.5A
Other languages
Chinese (zh)
Other versions
CN113778673A (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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202110995899.5A priority Critical patent/CN113778673B/en
Publication of CN113778673A publication Critical patent/CN113778673A/en
Application granted granted Critical
Publication of CN113778673B publication Critical patent/CN113778673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5055Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering software capabilities, i.e. software resources associated or available to the machine
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The embodiment of the application discloses a data processing method, a data processing device, a storage medium and equipment. The method comprises the following steps: acquiring downloading instructions aiming at a plurality of objects to be downloaded, wherein the downloading instructions carry target platform identifiers, determining candidate downloading platforms associated with the target platform identifiers from at least two candidate downloading platforms included in a platform database, and determining the candidate downloading platforms associated with the target platform identifiers as target downloading platforms; and calling a plurality of downloading operation components according to the number of the objects to be downloaded, acquiring the functional logic data of the target downloading platform, and calling the functional logic data through the plurality of downloading operation components to respond to the downloading instruction so as to download the objects to be downloaded. By the method and the device, the downloading efficiency of the object to be downloaded can be improved.

Description

Data processing method, storage medium and apparatus
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a data processing method, a storage medium, and a device.
Background
With the development of mobile communication technology, mobile stations can be used for entertainment, such as movie watching, and downloading of large-sized software, in addition to basic communication functions. Users can increase entertainment or can enjoy the technological convenience brought by various application software by downloading various objects (such as movies, application software, etc.), so as to increase life colors.
At present, as the internet technology is mature, the types and the number of objects such as movies, application software and the like are increased, when a user downloads the objects in a downloading tool, the user cannot download a large number of objects at one time, the downloading number is limited, the downloading efficiency is low, and the applicability is poor.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present application is to provide a data processing method, a storage medium, and a device, which can improve the downloading efficiency of an object to be downloaded.
An aspect of an embodiment of the present application provides a data processing method, including:
acquiring downloading instructions aiming at a plurality of objects to be downloaded, wherein the downloading instructions carry target platform identifiers;
determining a candidate download platform associated with the target platform identification from at least two candidate download platforms included in the platform database, and determining the candidate download platform associated with the target platform identification as a target download platform;
invoking a plurality of downloading components according to the number of the plurality of objects to be downloaded, wherein one downloading component is used for downloading one object to be downloaded;
and acquiring the functional logic data of the target downloading platform, and calling the functional logic data through the downloading components to respond to the downloading instructions so as to download the plurality of objects to be downloaded.
The method for acquiring the downloading instructions for the plurality of objects to be downloaded comprises the following steps:
monitoring a selection operation on a user operation interface aiming at a target downloading tool, wherein object identifiers of a plurality of candidate objects to be downloaded and a plurality of object downloading controls are displayed in the user operation interface;
when a first selection operation aiming at object identification of the plurality of candidate objects to be downloaded is monitored, responding to the first selection operation to mark the plurality of candidate objects to be downloaded selected by the first selection operation as the plurality of objects to be downloaded;
when a second selection operation of a target downloading control in the plurality of object downloading controls is monitored, determining to acquire a downloading instruction aiming at the plurality of objects to be downloaded, wherein the downloading instruction carries the target platform identifier associated with the target downloading control;
wherein the target download tool includes an application program, and/or a web page address.
Before obtaining the downloading instructions for the plurality of objects to be downloaded, the method further comprises:
responding to the starting operation aiming at the target downloading tool, and acquiring an operation configuration file in the target downloading tool;
acquiring component construction parameters from the operation configuration file, and constructing a plurality of downloading operation components for object downloading according to the component construction parameters;
The downloading component is a downloading thread in a downloading process in the target downloading tool, and the downloading process and the downloading thread are both used for downloading the object to be downloaded.
Wherein determining a candidate download platform associated with the target platform identification among at least two candidate download platforms included in the platform database comprises:
acquiring a candidate platform identifier corresponding to a currently operated downloading platform, and judging whether the candidate platform identifier is matched with the target platform identifier, wherein the currently operated downloading platform is one candidate downloading platform of at least two candidate downloading platforms included in the platform database;
and if the candidate platform identification is matched with the target platform identification, determining the candidate downloading platform associated with the target platform identification from the currently operated downloading platform.
Wherein the method further comprises:
if the candidate platform identification is not matched with the target platform identification, acquiring a candidate platform identification with the largest matching degree with the target platform identification from other candidate downloading platforms included in a platform database, wherein the platform database comprises at least two candidate downloading platforms and candidate platform identifications of the candidate downloading platforms;
And determining the candidate downloading platform corresponding to the candidate platform identification with the largest matching degree with the target platform identification as the candidate downloading platform associated with the target platform identification.
Wherein before invoking the functional logic data by the download execution component in response to the download instruction, the method further comprises:
a query function is called, and whether the target downloading platform supports multi-thread downloading is queried in an operation configuration file of the target downloading platform based on the query function;
if the target downloading platform supports multi-thread downloading, executing the step of calling the functional logic data through the plurality of downloading operation components to respond to the downloading instruction;
if the target downloading platform does not support multi-thread downloading, generating a plurality of object logic data according to the functional logic data, calling the plurality of object logic data through the plurality of downloading operation components, and respectively carrying out downloading processing on the plurality of objects to be downloaded to obtain the plurality of objects to be downloaded, wherein one object logic data is used for carrying out downloading processing on one object to be downloaded.
Wherein invoking the functional logic data via the plurality of download carrier components in response to the download instruction comprises:
Acquiring a plurality of object identifiers corresponding to the plurality of objects to be downloaded, wherein one object to be downloaded corresponds to one object identifier;
acquiring object data packets corresponding to a plurality of object identifiers respectively in the target downloading platform through calling interface data of the target downloading platform;
and calling the functional logic data through the plurality of downloading operation components, and downloading the object data packets corresponding to the plurality of object identifiers respectively to obtain a plurality of objects to be downloaded.
An aspect of an embodiment of the present application provides a data processing apparatus, including:
the first acquisition module is used for acquiring downloading instructions aiming at a plurality of objects to be downloaded, wherein the downloading instructions carry target platform identifiers;
the determining module is used for determining a candidate downloading platform associated with the target platform identification from at least two candidate downloading platforms included in the platform database, and determining the candidate downloading platform associated with the target platform identification as a target downloading platform;
the first calling module is used for calling a plurality of downloading operation components according to the number of the plurality of objects to be downloaded, and one downloading operation component is used for downloading one object to be downloaded;
and the downloading module is used for acquiring the functional logic data of the target downloading platform, and calling the functional logic data through the downloading operation components to respond to the downloading instruction so as to download the objects to be downloaded.
Wherein, the first acquisition module includes:
the monitoring unit is used for monitoring selection operation on a user operation interface aiming at the target downloading tool, and object identifiers of a plurality of candidate objects to be downloaded and a plurality of object downloading controls are displayed in the user operation interface;
the marking unit is used for responding to the first selecting operation to mark the plurality of candidate objects to be downloaded selected by the first selecting operation as the plurality of objects to be downloaded when the first selecting operation aiming at the object identification of the plurality of candidate objects to be downloaded is monitored;
the first determining unit is used for determining to acquire a downloading instruction aiming at the plurality of objects to be downloaded when the second selecting operation of the target downloading control in the plurality of object downloading controls is monitored, wherein the downloading instruction carries the target platform identifier associated with the target downloading control;
wherein the target download tool includes an application program, and/or a web page address.
Wherein the data processing apparatus further comprises:
the second acquisition module is used for responding to the starting operation of the target downloading tool and acquiring an operation configuration file in the target downloading tool;
the construction module is used for acquiring component construction parameters from the running configuration file, and constructing a plurality of downloading running components for downloading objects according to the component construction parameters;
The downloading component is a downloading thread in a downloading process in the target downloading tool, and the downloading process and the downloading thread are both used for downloading the object to be downloaded.
Wherein, the determination module includes:
the judging unit is used for acquiring a candidate platform identifier corresponding to the currently operated downloading platform and judging whether the candidate platform identifier is matched with the target platform identifier, wherein the currently operated downloading platform is one candidate downloading platform of at least two candidate downloading platforms included in the platform database;
and the second determining unit is used for determining the candidate downloading platform associated with the target platform identifier from the currently operated downloading platform if the candidate platform identifier is matched with the target platform identifier.
Wherein the determining module further comprises:
the first obtaining unit is used for obtaining a candidate platform identifier with the largest matching degree with the target platform identifier from other candidate downloading platforms included in a platform database if the candidate platform identifier is not matched with the target platform identifier, wherein the platform database comprises at least two candidate downloading platforms and candidate platform identifiers of the candidate downloading platforms;
and the third determining unit is used for determining the candidate downloading platform corresponding to the candidate platform identifier with the largest matching degree of the target platform identifier as the candidate downloading platform associated with the target platform identifier.
Wherein the data processing apparatus further comprises:
the second calling module is used for calling a query function and inquiring whether the target downloading platform supports multi-thread downloading or not in an operation configuration file of the target downloading platform based on the query function;
the execution module is used for executing the step of calling the functional logic data through the plurality of download operation components to respond to the download instruction if the target download platform supports multithreading download;
and the downloading processing module is used for generating a plurality of object logic data according to the functional logic data if the target downloading platform does not support multi-thread downloading, calling the plurality of object logic data through the plurality of downloading components, respectively carrying out downloading processing on the plurality of objects to be downloaded to obtain the plurality of objects to be downloaded, wherein one object logic data is used for carrying out downloading processing on one object to be downloaded.
Wherein, the download module includes:
the second acquisition unit is used for acquiring a plurality of object identifiers corresponding to the plurality of objects to be downloaded, and one object identifier corresponds to one object to be downloaded;
the third acquisition unit is used for acquiring object data packets corresponding to a plurality of object identifiers respectively in the target downloading platform through the calling interface data of the target downloading platform;
And the downloading processing unit is used for calling the functional logic data through the plurality of downloading operation components, and carrying out downloading processing on the object data packets respectively corresponding to the plurality of object identifiers so as to obtain a plurality of objects to be downloaded.
In one aspect, a computer device is provided, including: a processor and a memory;
the processor is connected to the memory, wherein the memory is configured to store a computer program, and when the computer program is executed by the processor, the computer device is caused to execute the method provided in the embodiment of the application.
In one aspect, the present application provides a computer readable storage medium storing a computer program adapted to be loaded and executed by a processor, so that a computer device having the processor performs the method provided in the embodiments of the present application.
In one aspect, the present application provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the method provided in the embodiments of the present application.
In the embodiment of the application, by acquiring the downloading instructions for a plurality of objects to be downloaded, the downloading instructions carry target platform identifiers, and among at least two candidate downloading platforms included in a platform database, candidate downloading platforms associated with the target platform identifiers are determined, and the candidate downloading platforms associated with the target platform identifiers are determined to be target downloading platforms. Therefore, the platform database comprises a plurality of candidate downloading platforms, so that objects to be downloaded in a plurality of downloading platforms can be downloaded in the target downloading tool, and the downloading efficiency can be improved. And calling a plurality of downloading operation components according to the number of the objects to be downloaded, acquiring the functional logic data of the target downloading platform, and calling the functional logic data through the downloading operation components to respond to the downloading instruction so as to download the objects to be downloaded. The plurality of objects to be downloaded are simultaneously downloaded by calling the logic data through the plurality of downloading operation components, so that the downloading quantity of the objects to be downloaded is not limited, and the downloading efficiency of the objects to be downloaded can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a data processing system according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a method for obtaining download instructions for a plurality of objects to be downloaded according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a generation target download tool provided in an embodiment of the present application;
FIG. 5 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
With reference to fig. 1, fig. 1 is a schematic structural diagram of a data processing system according to an embodiment of the present application. As shown in fig. 1, the data processing system may comprise a server 10 and a cluster of user terminals. The cluster of user terminals may comprise one or more user terminals, the number of which will not be limited here. As shown in fig. 1, the user terminals 100a, 100b, 100c, …, and 100n may be specifically included. As shown in fig. 1, the user terminals 100a, 100b, 100c, …, 100n may respectively perform network connection with the server 10, so that each user terminal may perform data interaction with the server 10 through the network connection.
Wherein each user terminal in the user terminal cluster may include: smart terminals with data processing, such as smart phones, tablet computers, notebook computers, desktop computers, wearable devices, smart home, head-mounted devices, and the like. It should be appreciated that each user terminal in the cluster of user terminals shown in fig. 1 may be provided with a target application (i.e. application client) that, when running in each user terminal, may interact with the server 10 shown in fig. 1, respectively, as described above.
As shown in fig. 1, the server 10 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, basic cloud computing services such as big data and artificial intelligence platforms, and the like.
For easy understanding, in the embodiment of the present application, one user terminal may be selected from the plurality of user terminals shown in fig. 1 as a target user terminal, where the target user terminal may include: smart terminals carrying data processing functions, such as smart phones, tablet computers, notebook computers, desktop computers, smart televisions, and the like. For example, for easy understanding, in the embodiment of the present application, the user terminal 100a shown in fig. 1 may be used as a target user terminal, after the user terminal 100a obtains a download instruction for a plurality of objects to be downloaded, the download instruction may be sent to the server 10, where the download instruction carries a target platform identifier, and the objects to be downloaded may be an entity application program, a file, a video or a picture, and so on. After receiving the user terminal 100a, the server 10 may determine a candidate download platform associated with the target platform identifier from at least two candidate download platforms included in the platform database, and determine the candidate download platform associated with the target platform identifier as the target download platform. The candidate download platform may refer to a download platform provided by a technical platform provider such as Intel (i.e. Intel), high-pass, concurrency, etc. The server 10 may call a plurality of download components according to the number of the plurality of objects to be downloaded, obtain the functional logic data of the target download platform, and respond to the download instruction by calling the functional logic data by the plurality of download components to download the plurality of objects to be downloaded. According to the method and the device for downloading the objects, the objects to be downloaded in the plurality of downloading platforms can be downloaded, the plurality of downloading objects can be downloaded at the same time, and the downloading efficiency can be improved.
Referring to fig. 2, fig. 2 is a flow chart of a data processing method according to an embodiment of the present application. The data processing method may be performed by a computer device, which may be a server (e.g. the server 10 in fig. 1 described above), or a user terminal (e.g. any user terminal in the user terminal cluster in fig. 1 described above), or a system of a server and a user terminal, which is not limited in this application. As shown in fig. 2, the data processing method may include steps S101 to S104.
S101, acquiring downloading instructions aiming at a plurality of objects to be downloaded, wherein the downloading instructions carry target platform identifiers.
Specifically, when the target user wants to download a plurality of objects to be downloaded in the target downloading platform, a downloading instruction for the plurality of objects to be downloaded can be triggered in an interface output by the computer device, and the computer device can respond to the downloading instruction triggered by the target user to download the plurality of objects to be downloaded. Specifically, the computer device may obtain a download instruction for a plurality of objects to be downloaded, where the download instruction carries a target platform identifier, that is, the download instruction indicates that the plurality of objects to be downloaded are downloaded in a target download platform corresponding to the target platform identifier.
Optionally, the specific manner of acquiring the downloading instructions of the plurality of objects to be downloaded by the computer device may include: and monitoring a selection operation on a user operation interface aiming at the target downloading tool, wherein object identifiers of a plurality of candidate objects to be downloaded and a plurality of object downloading controls are displayed in the user operation interface. When a first selection operation of object identification of the plurality of candidate objects to be downloaded is monitored, responding to the first selection operation to mark the plurality of candidate objects to be downloaded selected by the first selection operation as the plurality of objects to be downloaded. And when the second selection operation of the target downloading control in the plurality of object downloading controls is monitored, determining to acquire downloading instructions aiming at the plurality of objects to be downloaded, wherein the downloading instructions carry the target platform identification associated with the target downloading control. Wherein the target download tool includes an application program, and/or a web page address.
Specifically, the computer device may output a user operation interface in the target downloading tool, where the user operation interface includes object identifiers corresponding to a plurality of candidate objects to be downloaded respectively, and a plurality of object downloading controls, where one object downloading control identifies one candidate downloading platform. If the target user wants to download a candidate object to be downloaded, the object identifier of the candidate object to be downloaded can be selected in the user operation interface. The computer device may mark the download status of the candidate object to be downloaded as the download status in response to a selection operation of the target user for the candidate object to be downloaded. For example, when each candidate object to be downloaded is not selected by the target user, the download state of the candidate object to be downloaded is an unselected state, and when the candidate object to be downloaded is selected by the target user, the download state of the candidate object to be downloaded is an object to be downloaded. After the target user selects the object identifiers of the plurality of objects to be downloaded, which need to be downloaded, in the user operation interface, the target user can select the target object downloading control from the plurality of object downloading controls, namely, determining which downloading platform is required to download the plurality of objects to be downloaded. The computer device may determine to obtain download instructions for the plurality of objects to be downloaded in response to a selection operation of the target user for the plurality of object download controls. The computer equipment can monitor the selection operation of a target user on a user operation interface in real time, wherein a plurality of candidate objects to be downloaded and a plurality of object downloading controls are displayed in the user operation interface. When the computer equipment monitors the first selection operation of the target user for the object identification of the plurality of candidate objects to be downloaded, the first selection operation of the target user can be responded, so that the plurality of candidate objects to be downloaded selected by the first selection operation are marked as a plurality of objects to be downloaded.
For example, in a user operation interface of the target downloading tool output by the computer device, an object identifier 1 of the first candidate object to be downloaded, an object identifier 2 of the second candidate object to be downloaded, an object identifier 3 of the third candidate object to be downloaded, an object identifier 4 of the fourth candidate object to be downloaded, an object identifier 5 of the fifth candidate object to be downloaded, and an object identifier 6 of the sixth candidate object to be downloaded are displayed. The target user can arbitrarily select the candidate object to be downloaded which is wanted to be downloaded from the 6 object identifiers displayed in the user operation interface. If the target user selects the object identifier 1, the object identifier 3, the object identifier 4 and the object identifier 6 in the user operation interface, the computer device may determine the object identifiers of the plurality of objects to be downloaded by responding to the selection operation of the target user, that is, determine the candidate objects to be downloaded corresponding to the object identifier 1, the object identifier 3, the object identifier 4 and the object identifier 6 respectively.
Specifically, after the target user selects a plurality of objects to be downloaded, the target object downloading control corresponding to the plurality of objects to be downloaded can be selected from a plurality of object downloading controls displayed in the user operation interface, and one object downloading control is associated with a candidate platform identifier of one candidate downloading platform, namely, the target user selects a target downloading platform of the plurality of objects to be downloaded from the plurality of object downloading controls. When the computer equipment monitors a second selection operation of a target user on a plurality of object downloading controls, acquiring the object downloading control selected by the second selection operation, determining the object downloading control selected by the second selection operation as a target downloading control, determining to acquire a downloading instruction on a plurality of objects to be downloaded, carrying candidate platform identifications associated with the target downloading control in the downloading instruction, and determining the candidate platform identifications associated with the target downloading control as target platform identifications. The target downloading tool may include an Application program (Application, or APP for short), that is, a third party Application program of the user terminal, or may be a web address, and may enter the target downloading tool by calling the web address, or may be a two-dimensional code or a bar code, and may enter the target downloading tool by identifying the two-dimensional code or the bar code, or may be a downloading tool of other manifestations.
Optionally, before acquiring the downloading instructions for the plurality of objects to be downloaded, the computer device may further acquire an operation configuration file in the target downloading tool in response to a start operation for the target downloading tool. And acquiring component construction parameters from the operation configuration file, and constructing a plurality of downloading operation components for object downloading according to the component construction parameters. The downloading operation component is a downloading thread in a downloading process in the target downloading tool, and the downloading process and the downloading thread are both used for downloading the object to be downloaded.
Specifically, when the target user starts the target downloading tool, the computer device may obtain, in response to a start operation of the target user with respect to the target downloading tool, an operation configuration file in the target downloading tool, where the operation configuration file includes component building data for building the download component, and component building parameters for determining the number of components for building the download component. The computer device may obtain component build parameters from the run configuration file, and invoke component build data to build a plurality of download run components for use in the object download based on the component build parameters. The component construction parameters in the operation configuration file may be set by a manager, for example, the component construction parameters may be N, where N is a positive integer, for example, may be any positive integer such as 8, 9, or 10, and may be set by the manager according to a specific situation. The computer equipment can acquire the object downloading record of the target user, inquire the number of the objects to be downloaded, which are most downloaded at one time by the target user, and determine the number of the objects to be downloaded as the target number as the component construction parameters.
When a target user starts a target downloading tool, the computer equipment builds a target number of downloading components according to the component building parameters, so that the subsequent computer equipment directly calls the target number of downloading components to download the object to be downloaded, and the downloading time of the object to be downloaded can be reduced and the downloading efficiency is improved without building the downloading components in real time. If the number of the plurality of downloading components is greater than the target number, a difference between the number of the plurality of downloading components and the target number can be obtained, and the downloading components with the number corresponding to the difference are constructed according to the component construction parameters so as to download the plurality of downloading components.
The downloading operation component is a downloading thread in a downloading process in the target downloading tool, and the downloading process and the downloading thread are used for downloading the object to be downloaded.
S102, determining a candidate downloading platform associated with the target platform identification from at least two candidate downloading platforms included in the platform database, and determining the candidate downloading platform associated with the target platform identification as the target downloading platform.
Specifically, after the computer device obtains the downloading instructions for the plurality of objects to be downloaded, a candidate downloading platform associated with the target platform identifier may be determined in the platform database, and the candidate downloading platform associated with the target platform identifier may be determined as the target downloading platform.
Optionally, the computer device may obtain a candidate platform identifier corresponding to the currently running download platform, and determine whether the candidate platform identifier is matched with the target platform identifier, where the currently running download platform is one candidate download platform of at least two candidate download platforms included in the platform database. And if the candidate platform identification is matched with the target platform identification, determining a candidate downloading platform associated with the target platform identification from the currently operated downloading platform.
Specifically, after the computer device obtains the downloading instructions for the plurality of objects to be downloaded, the candidate platform identifier corresponding to the currently running downloading platform can be obtained, and whether the candidate platform identifier is matched with the target platform identifier is judged. The currently running downloading platform is one candidate downloading platform of at least two candidate downloading platforms included in the platform database. And if the candidate platform identification is matched with the target platform identification, determining a candidate downloading platform associated with the target platform identification from the currently operated downloading platform. In this way, if the candidate platform identifier is matched with the target platform identifier, the currently operated downloading platform can be determined to be the candidate downloading platform associated with the target platform identifier, and a plurality of objects to be downloaded are downloaded in the currently operated downloading platform without reconstructing the downloading environment of the target downloading platform corresponding to the target platform identifier, so that the downloading time can be reduced, and the downloading efficiency can be improved.
Optionally, if the candidate platform identifier is not matched with the target platform identifier, acquiring the candidate platform identifier with the largest matching degree with the target platform identifier from other candidate downloading platforms included in the platform database, wherein the platform database includes at least two candidate downloading platforms and candidate platform identifiers of the candidate downloading platforms. And determining the candidate downloading platform corresponding to the candidate platform identification with the largest matching degree with the target platform identification as the candidate downloading platform associated with the target platform identification.
Specifically, if the computer device detects that the candidate platform is not matched with the target platform identifier, it indicates that the currently running download platform is not the target download platform corresponding to the target platform identifier, and then the candidate platform identifier with the largest matching degree with the target platform identifier can be obtained from other candidate download platforms included in the platform database, and the candidate download platform corresponding to the candidate platform identifier with the largest matching degree with the target platform identifier is determined as the candidate download platform associated with the target platform identifier. The platform database comprises at least two candidate downloading platforms and candidate platform identifiers of the candidate downloading platforms. If the computer equipment detects that the candidate platform is not matched with the target platform identification, the currently operated downloading platform can be destroyed, and the candidate platform identification with the largest matching degree with the target platform identification can be obtained from other candidate downloading platforms included in the platform database. And acquiring the download environment data of the candidate platform identification with the largest matching degree with the target platform identification, and creating a download environment corresponding to the target download platform according to the download environment data (namely, carrying out function instantiation on the target download platform). When the computer device obtains the candidate platform identifier with the largest matching degree with the target platform identifier, the computer device can search for the candidate platform identifier which is completely matched (i.e. 100% matched) with the target platform identifier in other candidate downloading platforms included in the platform database, and determine the candidate downloading platform corresponding to the candidate platform identifier which is completely matched (i.e. 100% matched) with the target platform identifier as the candidate downloading platform associated with the target platform identifier.
Fig. 3 is a schematic diagram of a method for obtaining download instructions for a plurality of objects to be downloaded according to an embodiment of the present application, where, as shown in fig. 3, a target user may trigger a download instruction for a plurality of objects to be downloaded in a user operation interface in a target downloading tool. As shown in fig. 3, the user operation interface 30a in the target downloading tool displays object identifiers of a plurality of candidate objects to be downloaded and a plurality of object downloading controls, if the target user wants to download a certain candidate object to be downloaded, a determination button after the corresponding object identifier may be clicked in the user operation interface 30a, and the computer device may respond to the clicking operation of the determination button for the object identifier by the target user, and display a ∈check identifier after the corresponding object identifier, so as to determine the corresponding candidate object to be downloaded as the object to be downloaded. If the target user can click the determination button after the object identifier 1, the computer device can display a 'v' identifier after the object identifier 1 in response to the click operation of the target user on the determination button of the object identifier 1, so as to determine the candidate object to be downloaded corresponding to the object identifier 1 as the object to be downloaded. After the target user determines the object to be downloaded that needs to be downloaded, the target user may select a target object downloading control from a plurality of object downloading controls, i.e. determine in which downloading platform the object to be downloaded needs to be downloaded, as shown in the user operation interface 30 b. The computer device may determine, as the target download control, an object download control that the target user needs to select in response to a selection operation of the target user with respect to the plurality of object download controls. The computer device obtains candidate platform identifications associated with the target download control, and determines the candidate platform identifications associated with the target download control as target platform identifications. After the computer equipment obtains the target platform identification, determining that the downloading instructions aiming at a plurality of objects to be downloaded are obtained, wherein the downloading instructions carry the target platform identification associated with the target downloading control. After the computer device determines that the downloading instructions for the objects to be downloaded are obtained, the user operation interface 30b is switched to the user operation interface 30b, so that the target user is prompted to currently process downloading of the objects to be downloaded.
S103, calling a plurality of downloading operation components according to the number of the objects to be downloaded.
Specifically, the computer device may obtain the number of a plurality of objects to be downloaded, and call a plurality of download components that are built in advance according to the number of the plurality of objects to be downloaded, where one object to be downloaded corresponds to one download component.
S104, obtaining the functional logic data of the target downloading platform, and calling the functional logic data through a plurality of downloading operation components to respond to the downloading instruction so as to obtain a plurality of objects to be downloaded.
Specifically, the computer device may obtain functional logic data of the target download platform, where the functional logic data may refer to download operation data for downloading the object to be downloaded. The computer equipment can respond to the downloading instruction by calling the functional logic data of the target downloading platform through a plurality of downloading operation components so as to obtain a plurality of objects to be downloaded.
Optionally, before the computer device responds to the download instruction by calling the functional logic data through the plurality of download execution components, a query function may be further called, and based on the query function, whether the target download platform supports multi-threaded download is queried in the operation configuration file of the target download platform. If the target download platform supports multi-threaded download, then the step of calling functional logic data through the download component is performed in response to the download instruction. If the target downloading platform does not support multi-thread downloading, generating a plurality of object logic data according to the functional logic data, calling the plurality of object logic data through a downloading operation component, and respectively carrying out downloading processing on a plurality of objects to be downloaded to obtain a plurality of objects to be downloaded, wherein one object logic data is used for carrying out downloading processing on one object to be downloaded.
Specifically, after the computer device obtains the functional logic data of the target downloading platform, a query function can be called, and whether the target downloading platform supports multi-thread downloading is queried in the operation configuration file of the target downloading platform based on the query function, namely, whether the target downloading platform can simultaneously download a plurality of objects to be downloaded at one time is judged. If the target downloading platform supports multi-thread downloading based on the query parameters returned by the query function, the downloading component can call the functional logic data to respond to the downloading instruction to download the plurality of objects to be downloaded. If the computer equipment determines that the target downloading platform does not support multi-thread downloading based on the query parameters returned by the query function, a plurality of object logic data can be generated according to the functional logic data of the target downloading platform, and one object logic data is used for downloading one object to be downloaded. Specifically, the computer device may obtain the number of a plurality of objects to be downloaded, and copy the functional logic data according to the number of the plurality of objects to be downloaded, to obtain a plurality of object logic data. After the computer equipment obtains the plurality of object logic data, the downloading operation component can call the plurality of object logic data to respectively download the plurality of objects to be downloaded so as to obtain the plurality of objects to be downloaded. The object logic data may be the same as the functional logic data of the target download platform, or may be different from the functional logic data of the target download platform (e.g., only the values of some unnecessary parameters of the functional logic data of the target download platform that do not affect the download function are changed, and the generated object logic parameters are generated).
Alternatively, the computer device may utilize the Qt platform (i.e., a cross-platform application and UI development framework) when generating the target download tool, the application may be deployed across different desktops and embedded operating systems by developing the application once when using Qt without having to re-write the source code. The computer device may import functional logic data corresponding to each of a plurality of different candidate download platforms (e.g., intel, highpass, concurrency, etc.) into a platform database of the initial download tool. Therefore, when the object to be downloaded in a certain downloading platform needs to be downloaded, the target downloading platform can be directly called from the platform database to download the object to be downloaded. The computer device may further define an interface type and an interface method (i.e. a data format and a call address of input data and output data of each candidate download platform) corresponding to each candidate download platform in the plurality of candidate download platforms, so that, through the interface type and the interface method corresponding to each download platform respectively, an object data packet of an object to be downloaded may be called from the corresponding download platform to download, so as to obtain a plurality of objects to be downloaded. The computer device may also obtain download environment data corresponding to each of the download platforms to create a download environment corresponding to each of the download platforms (i.e., function instantiation). Meanwhile, the computer equipment can also acquire the target number of the downloading components input by the manager, namely, the number of a plurality of downloading components which can be constructed when the target downloading tool is started, and store the target number of the downloading components into an operation configuration file of the target downloading tool so as to construct the downloading components with the target number according to the target number of the downloading components after the target downloading tool is started, and the downloading components are used for downloading the objects to be downloaded. The computer device may further employ a front-end orchestration component to create object download controls corresponding to each of the plurality of candidate download platforms in a user interface of the target download tool, one of the candidate download platforms corresponding to each of the object download controls. In this way, the target user can select the object downloading control corresponding to the required target downloading platform in the user operation interface improved by the target downloading tool, so as to download a plurality of objects to be downloaded in the target downloading platform.
As shown in fig. 4, fig. 4 is a schematic diagram of a generating target downloading tool provided in an embodiment of the present application, and as shown in fig. 4, a computer device may obtain functional logic data corresponding to each of candidate downloading platforms 1, 2, and 3, …, and Q, and import the functional logic data corresponding to each of the candidate downloading platforms into a platform database of an initial downloading tool, so as to call the functional logic data of each of the candidate downloading platforms to download an object to be downloaded. After the computer equipment imports the functional logic data corresponding to each candidate downloading platform into the platform database in the initial downloading tool, call interface data (namely the data format and call address of the input data and the output data of each candidate downloading platform) corresponding to each candidate downloading platform are added into the initial downloading tool. The computer device may also create object download controls in the initial download tool that correspond to each candidate download platform, respectively, and generate a user interface. The method comprises the steps of importing object identifiers of a plurality of candidate objects to be downloaded into a user operation interface of an initial downloading tool to generate the user operation interface containing the object identifiers of the candidate objects to be downloaded and a plurality of object downloading controls, setting port configuration of each candidate downloading platform in the initial downloading tool, setting the number of the one-time-capable downloading components in an operation configuration file of the initial downloading tool to obtain a target downloading tool, wherein the target downloading tool can be used for downloading the objects to be downloaded (such as application software) in a plurality of downloading platforms (i.e. platform versions such as Intel, high-pass, concurrency and the like) and downloading a plurality of objects to be downloaded (such as 8, 9 and the like) simultaneously, and improving the downloading efficiency of the objects to be downloaded.
In the embodiment of the application, by acquiring the downloading instructions for a plurality of objects to be downloaded, the downloading instructions carry target platform identifiers, and among at least two candidate downloading platforms included in a platform database, candidate downloading platforms associated with the target platform identifiers are determined, and the candidate downloading platforms associated with the target platform identifiers are determined to be target downloading platforms. Therefore, the object to be downloaded in the multiple download platforms can be downloaded in the target download tool, and the download efficiency can be improved. And calling a plurality of downloading operation components according to the number of the objects to be downloaded, acquiring the functional logic data of the target downloading platform, and calling the functional logic data through the downloading operation components to respond to the downloading instruction so as to download the objects to be downloaded. The plurality of objects to be downloaded are simultaneously downloaded by calling the logic data through the plurality of downloading operation components, so that the downloading quantity of the objects to be downloaded is not limited, and the downloading efficiency of the objects to be downloaded can be improved. In addition, the object to be downloaded in various download platforms can be downloaded through the target downloading tool, and meanwhile, the object to be downloaded can be downloaded in a high-efficiency manner in the visual user operation interface improved by the target tool, so that the operation complexity of a user is reduced.
Referring to fig. 5, fig. 5 is a flowchart of a data processing method according to an embodiment of the present application. The data processing method may be performed by a computer device, which may be a server (e.g. the server 10 in fig. 1 described above), or a user terminal (e.g. any user terminal in the user terminal cluster in fig. 1 described above), or a system of a server and a user terminal, which is not limited in this application. As shown in fig. 5, the data processing method may include steps S201 to S207.
S201, obtaining downloading instructions aiming at a plurality of objects to be downloaded, wherein the downloading instructions carry target platform identifiers.
S202, determining a candidate downloading platform associated with the target platform identification from at least two candidate downloading platforms included in the platform database, and determining the candidate downloading platform associated with the target platform identification as the target downloading platform.
S203, calling a plurality of downloading operation components according to the number of the objects to be downloaded.
S204, obtaining the functional logic data of the target download platform.
Specifically, the specific content of steps S201-S204 in the embodiments of the present application may be referred to the content described in steps S101-S204 in fig. 2, and the embodiments of the present application will not be described here.
S205, a plurality of object identifiers corresponding to a plurality of objects to be downloaded are obtained.
Specifically, after the computer device obtains the downloading instructions for the plurality of objects to be downloaded, a plurality of object identifiers corresponding to the plurality of objects to be downloaded may be obtained from the downloading instructions, and one object identifier corresponds to one object to be downloaded, so that the plurality of objects to be downloaded are downloaded according to the object identifiers respectively corresponding to the plurality of objects to be downloaded.
S206, obtaining object data packets corresponding to the object identifiers respectively in the target downloading platform through the calling interface data of the target downloading platform.
Specifically, after the computer device obtains object identifiers corresponding to the plurality of objects to be downloaded respectively, call interface data of the target downloading platform, that is, an interface type and an interface method of the target downloading platform (that is, data formats of input data and output data of the target downloading platform) can be obtained. And acquiring object data packets corresponding to the object identifiers respectively in the target downloading platform through the calling interface data of the target downloading platform.
S207, the functional logic data is called through the plurality of downloading operation components, and the object data packets corresponding to the plurality of object identifiers are downloaded to obtain a plurality of objects to be downloaded.
Specifically, after the computer device obtains the object data packets corresponding to the object identifiers respectively in the target downloading platform, the functional logic data of the target downloading platform can be called by the downloading carrier components, and the downloading processing is performed on the object data packets corresponding to the object identifiers respectively, so as to obtain a plurality of objects to be downloaded.
In the embodiment of the application, by acquiring the downloading instructions for a plurality of objects to be downloaded, the downloading instructions carry target platform identifiers, and among at least two candidate downloading platforms included in a platform database, candidate downloading platforms associated with the target platform identifiers are determined, and the candidate downloading platforms associated with the target platform identifiers are determined to be target downloading platforms. Therefore, the object to be downloaded in the multiple download platforms can be downloaded in the target download tool, and the download efficiency can be improved. And calling a plurality of downloading operation components according to the number of the objects to be downloaded, acquiring the functional logic data of the target downloading platform, and calling the functional logic data through the downloading operation components to respond to the downloading instruction so as to download the objects to be downloaded. The plurality of objects to be downloaded are simultaneously downloaded by calling the logic data through the plurality of downloading operation components, so that the downloading quantity of the objects to be downloaded is not limited, and the downloading efficiency of the objects to be downloaded can be improved. In addition, the object to be downloaded in various download platforms can be downloaded through the target downloading tool, and meanwhile, the object to be downloaded can be downloaded in a high-efficiency manner in the visual user operation interface improved by the target tool, so that the operation complexity of a user is reduced.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. The data processing means may be a computer program (comprising program code) running in a computer device, for example the data processing means is an application software; the data processing device may be used to execute corresponding steps in the data processing method provided in the embodiments of the present application. As shown in fig. 6, the data processing apparatus may include: the system comprises a first acquisition module 11, a determination module 12, a first calling module 13, a downloading module 14, a second acquisition module 15, a construction module 16, a second calling module 17, an execution module 18 and a downloading processing module 19.
The first obtaining module 11 is configured to obtain a download instruction for a plurality of objects to be downloaded, where the download instruction carries a target platform identifier;
a determining module 12, configured to determine, from at least two candidate download platforms included in the platform database, a candidate download platform associated with the target platform identifier, and determine the candidate download platform associated with the target platform identifier as a target download platform;
a first calling module 13, configured to call a plurality of download carrier components according to the number of the plurality of objects to be downloaded, where one of the download carrier components is configured to download one of the objects to be downloaded;
The downloading module 14 is configured to obtain functional logic data of the target downloading platform, and call the functional logic data through the plurality of downloading components to respond to the downloading instruction, so as to download the plurality of objects to be downloaded.
Wherein the first acquisition module 11 comprises:
a monitoring unit 1101, configured to monitor a selection operation on a user operation interface for a target downloading tool, where object identifiers of a plurality of candidate objects to be downloaded and a plurality of object downloading controls are displayed in the user operation interface;
a marking unit 1102, configured to respond to a first selection operation when a first selection operation for object identifiers of the plurality of candidate objects to be downloaded is detected, so as to mark the plurality of candidate objects to be downloaded selected by the first selection operation as the plurality of objects to be downloaded;
a first determining unit 1103, configured to determine that a download instruction for the plurality of objects to be downloaded is obtained when a second selection operation of a target download control in the plurality of object download controls is monitored, where the download instruction carries the target platform identifier associated with the target download control;
wherein the target download tool includes an application program, and/or a web page address.
Wherein the data processing apparatus further comprises:
a second obtaining module 15, configured to obtain an operation configuration file in the target downloading tool in response to a start operation for the target downloading tool;
a building module 16, configured to obtain component building parameters from the running configuration file, and build a plurality of the download running components for use in downloading objects according to the component building parameters;
the downloading component is a downloading thread in a downloading process in the target downloading tool, and the downloading process and the downloading thread are both used for downloading the object to be downloaded.
Wherein the determining module 12 comprises:
a judging unit 1201, configured to obtain a candidate platform identifier corresponding to a currently running download platform, and judge whether the candidate platform identifier is matched with the target platform identifier, where the currently running download platform is one candidate download platform of at least two candidate download platforms included in the platform database;
and a second determining unit 1202, configured to determine, if the candidate platform identifier matches the target platform identifier, the currently running download platform to be a candidate download platform associated with the target platform identifier.
Wherein the determining module 12 further comprises:
A first obtaining unit 1203, configured to obtain, from other candidate download platforms included in a platform database, a candidate platform identifier having a maximum matching degree with the target platform identifier, if the candidate platform identifier is not matched with the target platform identifier, where the platform database includes at least two candidate download platforms and candidate platform identifiers of each candidate download platform;
and a third determining unit 1204, configured to determine, as a candidate download platform associated with the target platform identifier, a candidate download platform corresponding to the candidate platform identifier with the greatest matching degree of the target platform identifier.
Wherein the data processing apparatus further comprises:
a second calling module 17, configured to call a query function, and query whether the target download platform supports multi-thread downloading in an operation configuration file of the target download platform based on the query function;
an execution module 18, configured to execute a step of calling the functional logic data through the plurality of download components to respond to the download instruction if the target download platform supports multithreading download;
and the download processing module 19 is configured to generate a plurality of object logic data according to the functional logic data if the target download platform does not support multi-threaded download, call the plurality of object logic data through the plurality of download components, and respectively perform download processing on the plurality of objects to be downloaded to obtain the plurality of objects to be downloaded, where one object logic data is used for performing download processing on one object to be downloaded.
Wherein the download module 14 comprises:
a second obtaining unit 1401, configured to obtain a plurality of object identifiers corresponding to the plurality of objects to be downloaded, where one object to be downloaded corresponds to one object identifier;
a third obtaining unit 1402, configured to obtain, by using call interface data of the target downloading platform, object data packets corresponding to a plurality of object identifiers in the target downloading platform;
the download processing unit 1403 is configured to invoke the functional logic data through the plurality of download components, and perform download processing on the object data packets corresponding to the plurality of object identifiers respectively, so as to download a plurality of objects to be downloaded.
According to one embodiment of the present application, the steps involved in the data processing method shown in fig. 2 may be performed by respective modules in the data processing apparatus shown in fig. 6. For example, step S101 shown in fig. 2 may be performed by the first acquisition module 11 in fig. 6, step S102 shown in fig. 2 may be performed by the determination module 12 in fig. 6, step S103 shown in fig. 2 may be performed by the first call module in fig. 6, step S104 shown in fig. 2 may be performed by the download module 14 in fig. 6, and so on.
According to an embodiment of the present application, each module in the data processing apparatus shown in fig. 6 may be separately or all combined into one or several units to form a structure, or some (some) of the units may be further split into multiple sub-units with smaller functions, so that the same operation may be implemented without affecting the implementation of the technical effects of the embodiments of the present application. The above modules are divided based on logic functions, and in practical applications, the functions of one module may be implemented by a plurality of units, or the functions of a plurality of modules may be implemented by one unit. In other embodiments of the present application, the test device may also include other units, and in practical applications, these functions may also be implemented with assistance from other units, and may be implemented by cooperation of multiple units.
In the embodiment of the application, by acquiring the downloading instructions for a plurality of objects to be downloaded, the downloading instructions carry target platform identifiers, and among at least two candidate downloading platforms included in a platform database, candidate downloading platforms associated with the target platform identifiers are determined, and the candidate downloading platforms associated with the target platform identifiers are determined to be target downloading platforms. Therefore, the object to be downloaded in the multiple download platforms can be downloaded in the target download tool, and the download efficiency can be improved. And calling a plurality of downloading operation components according to the number of the objects to be downloaded, acquiring the functional logic data of the target downloading platform, and calling the functional logic data through the downloading operation components to respond to the downloading instruction so as to download the objects to be downloaded. The plurality of objects to be downloaded are simultaneously downloaded by calling the logic data through the plurality of downloading operation components, so that the downloading quantity of the objects to be downloaded is not limited, and the downloading efficiency of the objects to be downloaded can be improved. In addition, the object to be downloaded in various download platforms can be downloaded through the target downloading tool, and meanwhile, the object to be downloaded can be downloaded in a high-efficiency manner in the visual user operation interface improved by the target tool, so that the operation complexity of a user is reduced.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 7, the above-mentioned computer device 1000 may include: processor 1001, network interface 1004, and memory 1005, and in addition, the above-described computer device 1000 may further include: a target user interface 1003, and at least one communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The target user interface 1003 may include a Display (Display) and a Keyboard (Keyboard), and the optional target user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a nonvolatile memory (non-volatile memory), such as at least one magnetic disk memory. The memory 1005 may also optionally be at least one storage device located remotely from the processor 1001. As shown in fig. 7, an operating system, a network communication module, a target user interface module, and a device control application may be included in a memory 1005, which is one type of computer-readable storage medium.
In the computer device 1000 shown in FIG. 7, the network interface 1004 may provide network communication functions; while target user interface 1003 is primarily an interface for providing input to a target user; and the processor 1001 may be used to invoke a device control application stored in the memory 1005 to implement:
acquiring downloading instructions aiming at a plurality of objects to be downloaded, wherein the downloading instructions carry target platform identifiers;
determining a candidate download platform associated with the target platform identification from at least two candidate download platforms included in the platform database, and determining the candidate download platform associated with the target platform identification as the target download platform;
calling a plurality of downloading operation components according to the number of the objects to be downloaded, wherein one downloading operation component is used for downloading one object to be downloaded;
and acquiring the functional logic data of the target downloading platform, and calling the functional logic data through a plurality of downloading operation components to respond to the downloading instruction so as to obtain a plurality of objects to be downloaded.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device may execute the description of the data processing method in the embodiment corresponding to fig. 2 or fig. 5, which is not described herein.
In the embodiment of the application, by acquiring the downloading instructions for a plurality of objects to be downloaded, the downloading instructions carry target platform identifiers, and among at least two candidate downloading platforms included in a platform database, candidate downloading platforms associated with the target platform identifiers are determined, and the candidate downloading platforms associated with the target platform identifiers are determined to be target downloading platforms. Therefore, the object to be downloaded in the multiple download platforms can be downloaded in the target download tool, and the download efficiency can be improved. And calling a plurality of downloading operation components according to the number of the objects to be downloaded, acquiring the functional logic data of the target downloading platform, and calling the functional logic data through the downloading operation components to respond to the downloading instruction so as to download the objects to be downloaded. The plurality of objects to be downloaded are simultaneously downloaded by calling the logic data through the plurality of downloading operation components, so that the downloading quantity of the objects to be downloaded is not limited, and the downloading efficiency of the objects to be downloaded can be improved. In addition, the object to be downloaded in various download platforms can be downloaded through the target downloading tool, and meanwhile, the object to be downloaded can be downloaded in a high-efficiency manner in the visual user operation interface improved by the target tool, so that the operation complexity of a user is reduced.
As an example, the above-described program instructions may be executed on one computer device or on a plurality of computer devices disposed at one site, or alternatively, on a plurality of computer devices distributed at a plurality of sites and interconnected by a communication network, which may constitute a blockchain network.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of computer programs, which may be stored on a computer-readable storage medium, and which, when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
The foregoing disclosure is only illustrative of the preferred embodiments of the present application and is not intended to limit the scope of the claims herein, as the equivalent of the claims herein shall be construed to fall within the scope of the claims herein.

Claims (9)

1. A method of data processing, comprising:
Acquiring downloading instructions aiming at a plurality of objects to be downloaded, wherein the downloading instructions carry target platform identifiers;
determining a candidate downloading platform associated with the target platform identification from at least two candidate downloading platforms included in a platform database, and determining the candidate downloading platform associated with the target platform identification as a target downloading platform;
invoking a plurality of downloading operation components according to the number of the objects to be downloaded, wherein one downloading operation component is used for downloading one object to be downloaded;
acquiring functional logic data of the target downloading platform, calling a query function, and querying whether the target downloading platform supports multi-thread downloading or not in an operation configuration file of the target downloading platform based on the query function;
if the target downloading platform supports multithreading downloading, the functional logic data is called by the downloading operation components to respond to the downloading instruction so as to obtain the objects to be downloaded through downloading;
and if the target downloading platform does not support multi-thread downloading, generating a plurality of object logic data according to the functional logic data, calling the plurality of object logic data through the plurality of downloading operation components, and respectively carrying out downloading processing on the plurality of objects to be downloaded to obtain the plurality of objects to be downloaded, wherein one object logic data is used for carrying out downloading processing on one object to be downloaded.
2. The method of claim 1, wherein the obtaining the download instructions for the plurality of objects to be downloaded comprises:
monitoring a selection operation on a user operation interface aiming at a target downloading tool, wherein object identifiers of a plurality of candidate objects to be downloaded and a plurality of object downloading controls are displayed in the user operation interface;
when a first selection operation aiming at object identification of the plurality of candidate objects to be downloaded is monitored, responding to the first selection operation to mark the plurality of candidate objects to be downloaded selected by the first selection operation as the plurality of objects to be downloaded;
when a second selection operation of a target downloading control in the plurality of object downloading controls is monitored, determining that downloading instructions aiming at the plurality of objects to be downloaded are acquired, wherein the downloading instructions carry the target platform identifier associated with the target downloading control;
wherein the target downloading tool comprises an application program and/or a webpage address.
3. The method of claim 2, wherein prior to the obtaining the download instructions for the plurality of objects to be downloaded, the method further comprises:
responding to the starting operation aiming at the target downloading tool, and acquiring an operation configuration file in the target downloading tool;
Acquiring component construction parameters from the operation configuration file, and constructing a plurality of downloading operation components for object downloading according to the component construction parameters;
the downloading operation component is a downloading thread in a downloading process in the target downloading tool, and the downloading process and the downloading thread are both used for downloading the object to be downloaded.
4. The method of claim 1, wherein the determining a candidate download platform associated with the target platform identification among at least two candidate download platforms included in a platform database comprises:
acquiring a candidate platform identifier corresponding to a currently operated download platform, and judging whether the candidate platform identifier is matched with the target platform identifier, wherein the currently operated download platform is one candidate download platform of at least two candidate download platforms included in the platform database;
and if the candidate platform identification is matched with the target platform identification, determining the candidate downloading platform associated with the target platform identification from the currently operated downloading platform.
5. The method according to claim 4, wherein the method further comprises:
If the candidate platform identification is not matched with the target platform identification, acquiring a candidate platform identification with the largest matching degree with the target platform identification from other candidate downloading platforms included in a platform database, wherein the platform database comprises at least two candidate downloading platforms and candidate platform identifications of the candidate downloading platforms;
and determining the candidate downloading platform corresponding to the candidate platform identification with the largest matching degree with the target platform identification as the candidate downloading platform associated with the target platform identification.
6. The method of claim 1, wherein said invoking the functional logic data by the plurality of download carrier components in response to the download instruction comprises:
acquiring a plurality of object identifiers corresponding to the plurality of objects to be downloaded, wherein one object to be downloaded corresponds to one object identifier;
acquiring object data packets corresponding to a plurality of object identifiers respectively in the target downloading platform through calling interface data of the target downloading platform;
and calling the functional logic data through the plurality of downloading operation components, and carrying out downloading processing on the object data packets corresponding to the plurality of object identifiers respectively so as to obtain the plurality of objects to be downloaded.
7. A data processing apparatus, comprising:
the first acquisition module is used for acquiring downloading instructions aiming at a plurality of objects to be downloaded, wherein the downloading instructions carry target platform identifiers;
the determining module is used for determining a candidate downloading platform associated with the target platform identification from at least two candidate downloading platforms included in the platform database, and determining the candidate downloading platform associated with the target platform identification as a target downloading platform;
the first calling module is used for calling a plurality of downloading operation components according to the number of the objects to be downloaded, and one downloading operation component is used for downloading one object to be downloaded;
the downloading module is used for acquiring the functional logic data of the target downloading platform;
the second calling module is used for calling a query function and inquiring whether the target downloading platform supports multi-thread downloading or not in an operation configuration file of the target downloading platform based on the query function;
the execution module is used for responding to the downloading instruction by calling the functional logic data through the plurality of downloading components if the target downloading platform supports multithreading downloading, so as to obtain the plurality of objects to be downloaded;
And the download processing module is used for generating a plurality of object logic data according to the functional logic data if the target download platform does not support multi-thread download, calling the plurality of object logic data through the plurality of download running components, and respectively carrying out download processing on the plurality of objects to be downloaded so as to obtain the plurality of objects to be downloaded, wherein one object logic data is used for carrying out download processing on one object to be downloaded.
8. A computer device, comprising: a processor and a memory;
the processor is connected to a memory, wherein the memory is configured to store a computer program, and the processor is configured to invoke the computer program to cause the computer device to perform the method of any of claims 1-6.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program adapted to be loaded and executed by a processor to cause a computer device having the processor to perform the method of any of claims 1-6.
CN202110995899.5A 2021-08-27 2021-08-27 Data processing method, storage medium and apparatus Active CN113778673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110995899.5A CN113778673B (en) 2021-08-27 2021-08-27 Data processing method, storage medium and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110995899.5A CN113778673B (en) 2021-08-27 2021-08-27 Data processing method, storage medium and apparatus

Publications (2)

Publication Number Publication Date
CN113778673A CN113778673A (en) 2021-12-10
CN113778673B true CN113778673B (en) 2024-02-09

Family

ID=78839545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110995899.5A Active CN113778673B (en) 2021-08-27 2021-08-27 Data processing method, storage medium and apparatus

Country Status (1)

Country Link
CN (1) CN113778673B (en)

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007016853A1 (en) * 2005-08-10 2007-02-15 Huawei Technologies Co., Ltd. A method and terminal for downloading in parallel
CN101030869A (en) * 2007-02-16 2007-09-05 陈勇 Method and device for downloading network resources
CN101136911A (en) * 2006-08-31 2008-03-05 腾讯科技(深圳)有限公司 Method to download files using P2P technique and P2P download system
CN101764807A (en) * 2009-12-16 2010-06-30 北京邮电大学 Multisource internet resource device and method based on meta search engine
CN102026023A (en) * 2009-09-10 2011-04-20 浙江省公众信息产业有限公司 System and method for downloading and playing streaming media
WO2012075180A1 (en) * 2010-11-30 2012-06-07 Rovi Technologies Corporation Systems and methods for downloading by different processes
WO2013060210A1 (en) * 2011-10-26 2013-05-02 腾讯科技(深圳)有限公司 Sharing control system and method for network resources download information
CN103457976A (en) * 2012-06-01 2013-12-18 腾讯科技(深圳)有限公司 Data downloading method and system
CN103634346A (en) * 2012-08-23 2014-03-12 腾讯科技(深圳)有限公司 Data distribution method and system for network data center
CN103841135A (en) * 2012-11-22 2014-06-04 腾讯科技(深圳)有限公司 File accelerative download method and apparatus
WO2014090154A1 (en) * 2012-12-11 2014-06-19 Tencent Technology (Shenzhen) Company Limited Method and apparatus for loading resource files of application
CN103929427A (en) * 2014-04-23 2014-07-16 无锡天脉聚源传媒科技有限公司 Dynamic multi-thread downloading device and method
CN104717570A (en) * 2013-12-13 2015-06-17 乐视网信息技术(北京)股份有限公司 Multi-media file downloading method, equipment and system
CN106445665A (en) * 2016-09-19 2017-02-22 武汉斗鱼网络科技有限公司 Method and tool for system file downloading applied to android system
CN108228751A (en) * 2017-12-21 2018-06-29 国云科技股份有限公司 A kind of method realized browser multifile while downloaded
CN109144609A (en) * 2018-08-31 2019-01-04 腾讯科技(深圳)有限公司 Using method for down loading, device, storage medium and terminal
CN109669744A (en) * 2018-11-16 2019-04-23 上海二三四五网络科技有限公司 A kind of control method and control device controlling multiple software distribution downloadings in software download
CN111651418A (en) * 2020-05-29 2020-09-11 腾讯科技(深圳)有限公司 Document content downloading method and device, computer equipment and storage medium
CN111752697A (en) * 2020-07-29 2020-10-09 腾讯科技(深圳)有限公司 Application program running method, device, equipment and readable storage medium
CN111800469A (en) * 2020-06-09 2020-10-20 当家移动绿色互联网技术集团有限公司 Platform management method, device, storage medium and electronic equipment
CN112199340A (en) * 2020-10-23 2021-01-08 深圳市欢太科技有限公司 Multithreading file downloading method and device, electronic equipment and storage medium
CN112600913A (en) * 2020-12-07 2021-04-02 焦点科技股份有限公司 Download management method based on Android

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007016853A1 (en) * 2005-08-10 2007-02-15 Huawei Technologies Co., Ltd. A method and terminal for downloading in parallel
CN101136911A (en) * 2006-08-31 2008-03-05 腾讯科技(深圳)有限公司 Method to download files using P2P technique and P2P download system
CN101030869A (en) * 2007-02-16 2007-09-05 陈勇 Method and device for downloading network resources
CN102026023A (en) * 2009-09-10 2011-04-20 浙江省公众信息产业有限公司 System and method for downloading and playing streaming media
CN101764807A (en) * 2009-12-16 2010-06-30 北京邮电大学 Multisource internet resource device and method based on meta search engine
WO2012075180A1 (en) * 2010-11-30 2012-06-07 Rovi Technologies Corporation Systems and methods for downloading by different processes
WO2013060210A1 (en) * 2011-10-26 2013-05-02 腾讯科技(深圳)有限公司 Sharing control system and method for network resources download information
CN103457976A (en) * 2012-06-01 2013-12-18 腾讯科技(深圳)有限公司 Data downloading method and system
CN103634346A (en) * 2012-08-23 2014-03-12 腾讯科技(深圳)有限公司 Data distribution method and system for network data center
CN103841135A (en) * 2012-11-22 2014-06-04 腾讯科技(深圳)有限公司 File accelerative download method and apparatus
WO2014090154A1 (en) * 2012-12-11 2014-06-19 Tencent Technology (Shenzhen) Company Limited Method and apparatus for loading resource files of application
CN104717570A (en) * 2013-12-13 2015-06-17 乐视网信息技术(北京)股份有限公司 Multi-media file downloading method, equipment and system
CN103929427A (en) * 2014-04-23 2014-07-16 无锡天脉聚源传媒科技有限公司 Dynamic multi-thread downloading device and method
CN106445665A (en) * 2016-09-19 2017-02-22 武汉斗鱼网络科技有限公司 Method and tool for system file downloading applied to android system
CN108228751A (en) * 2017-12-21 2018-06-29 国云科技股份有限公司 A kind of method realized browser multifile while downloaded
CN109144609A (en) * 2018-08-31 2019-01-04 腾讯科技(深圳)有限公司 Using method for down loading, device, storage medium and terminal
CN109669744A (en) * 2018-11-16 2019-04-23 上海二三四五网络科技有限公司 A kind of control method and control device controlling multiple software distribution downloadings in software download
CN111651418A (en) * 2020-05-29 2020-09-11 腾讯科技(深圳)有限公司 Document content downloading method and device, computer equipment and storage medium
CN111800469A (en) * 2020-06-09 2020-10-20 当家移动绿色互联网技术集团有限公司 Platform management method, device, storage medium and electronic equipment
CN111752697A (en) * 2020-07-29 2020-10-09 腾讯科技(深圳)有限公司 Application program running method, device, equipment and readable storage medium
CN112199340A (en) * 2020-10-23 2021-01-08 深圳市欢太科技有限公司 Multithreading file downloading method and device, electronic equipment and storage medium
CN112600913A (en) * 2020-12-07 2021-04-02 焦点科技股份有限公司 Download management method based on Android

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Dynamic resource allocation in cloud download service;Tan Xiaoying;Huang Dan;Guo Yuchun;Chen Changjia;;The Journal of China Universities of Posts and Telecommunications(第05期);全文 *
MIF多接口终端多流并发下载的实现;张志飞;凌志浩;祁学文;;自动化仪表(第11期);全文 *
因特网信息资源下载方法探索;赵清;王妍妮;;科技情报开发与经济(第31期);全文 *

Also Published As

Publication number Publication date
CN113778673A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN111984356B (en) Page jump method, device, computer equipment and storage medium
CN103108032B (en) Method and the relevant device of application program are downloaded and managed to many equipment collaborations
EP3128416A1 (en) Sdn application integration, management and control method, system and device
CN103777967A (en) Page returning method and page generating method and device
CN105955833B (en) Engine calling method and device
CN111722885B (en) Program running method and device and electronic equipment
US20170295217A1 (en) Method and system of application development for multiple device client platforms
CN110968331B (en) Method and device for running application program
CN112363775A (en) Method, system and storage medium for dynamically modifying microservice configuration information
CN107517188A (en) A kind of data processing method and device based on Android system
CN113626225B (en) Program calling method, terminal device and medium
CN105847319A (en) Mobile terminal network request method and system
CN103917951B (en) Application invocation method, operating system and browser
CN113778673B (en) Data processing method, storage medium and apparatus
CN112764746A (en) Data processing method and device, electronic equipment and storage medium
CN107301089B (en) APP deployment and calling method and terminal
CN114968529A (en) Timer implementation method and related product
CN111581578B (en) Interface request processing method and device
CN104809122A (en) Method and device for visiting web pages
RU2595763C2 (en) Method and apparatus for managing load on basis of android browser
CN114675872A (en) Data processing method, device and equipment for application program and storage medium
CN105930431A (en) Method, device and system for accessing database
CN113568687A (en) Method for displaying Web page, related equipment and computer readable storage medium
CN111078215A (en) Software product application method and device, storage medium and electronic equipment
CN117883789B (en) Data acquisition method, apparatus, device, readable storage medium, and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant