CN118034776B - Data acquisition method and device, computer equipment, medium and product - Google Patents
Data acquisition method and device, computer equipment, medium and product Download PDFInfo
- Publication number
- CN118034776B CN118034776B CN202410433329.0A CN202410433329A CN118034776B CN 118034776 B CN118034776 B CN 118034776B CN 202410433329 A CN202410433329 A CN 202410433329A CN 118034776 B CN118034776 B CN 118034776B
- Authority
- CN
- China
- Prior art keywords
- resource data
- application
- application scene
- resource
- scene
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 97
- 238000004590 computer program Methods 0.000 claims description 38
- 238000003860 storage Methods 0.000 claims description 37
- 238000012545 processing Methods 0.000 claims description 13
- 230000004044 response Effects 0.000 abstract description 14
- 230000008569 process Effects 0.000 description 18
- 238000005516 engineering process Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 11
- 230000015654 memory Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 238000004458 analytical method Methods 0.000 description 7
- 238000007726 management method Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000007405 data analysis Methods 0.000 description 3
- 238000013523 data management Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000000737 periodic effect Effects 0.000 description 3
- 239000000047 product Substances 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 238000012384 transportation and delivery Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application discloses a data acquisition method and device, and computer equipment, media and products, wherein the method comprises the following steps: the method comprises the steps that a server obtains a data obtaining request which is sent by a terminal device and comprises a first version of a target application, and a target resource package corresponding to the first version of the target application is determined in response to the data obtaining request; the method comprises the steps that a target resource package is generated according to resource data except for resource data to be deleted, the resource data to be deleted is determined according to loading information of a target application on at least one terminal device, and the loading information comprises application scene identification information and resource data identification information; and sending the target resource package to the terminal equipment. By the method, the size of the target resource package can be reduced, so that the resource downloading speed of the target application is improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and apparatus for acquiring data, and a computer device, medium, and product.
Background
In order to make users have better use experience, various application programs are continuously updated, so that the resource packages of the application programs are larger and larger. Particularly in game applications, as games develop, playing methods are richer, pictures are more and more exquisite, game resource packages are larger and larger, so that the time required for downloading by users is longer and longer, and how to shorten the time for downloading by users becomes one of the biggest challenges facing game developers.
The downloading time is shortened, or the downloading speed is improved, and the downloading speed is limited by the bandwidth of a user; or the size of the resource package is reduced, although the size of the resource package can be greatly reduced through compression, the compression is limited, and the resource package can be continuously increased under the conditions of continuous iteration of the application program and continuous increase of version content, so that the downloading time is increased, and the resource downloading speed of the application program is reduced.
Therefore, how to effectively increase the resource downloading speed of the application program is a technical problem to be solved.
Disclosure of Invention
The embodiment of the application provides a data acquisition method, a data acquisition device, computer equipment, a medium and a product, and the resource downloading speed of a target application is effectively improved by deleting the resource data of the target application.
The embodiment of the application discloses a data acquisition method, which comprises the following steps:
acquiring a data acquisition request of a terminal device, wherein the data acquisition request comprises a first version of a target application;
determining a target resource package corresponding to the first version of the target application in response to the data acquisition request; the target resource package is generated according to resource data except for resource data to be deleted, the resource data to be deleted is determined according to loading information of the target application on at least one terminal device, and the loading information comprises application scene identification information and resource data identification information;
And sending the target resource packet to the terminal equipment.
The embodiment of the application discloses a data acquisition method, which comprises the following steps:
Sending a data acquisition request to a server, wherein the data acquisition request comprises a first version of a target application; in response to the data acquisition request, the server determines a target resource package corresponding to the first version of the target application; the target resource package is generated by the server according to resource data except for resource data to be deleted, the resource data to be deleted is determined according to loading information of the target application on at least one terminal device, and the loading information comprises application scene identification information and resource data identification information;
And receiving the target resource packet sent by the server.
In one aspect, an embodiment of the present application discloses a data acquisition apparatus, including:
The receiving and transmitting unit is used for sending a data acquisition request to the server, wherein the data acquisition request comprises a first version of the target application; in response to the data acquisition request, the server determines a target resource package corresponding to the first version of the target application; the target resource package is generated by the server according to resource data except for resource data to be deleted, the resource data to be deleted is determined according to loading information of the target application on at least one terminal device, and the loading information comprises application scene identification information and resource data identification information;
the receiving and transmitting unit is used for receiving the target resource packet sent by the server.
In one aspect, embodiments of the present application disclose a computer device comprising a processor adapted to implement one or more computer programs; and a computer readable storage medium storing one or more computer programs adapted to be loaded by the processor and to perform the data acquisition method described above.
In one aspect, a computer-readable storage medium is disclosed, which stores one or more computer programs adapted to be loaded by a processor and to perform the data acquisition method described above.
In one aspect, embodiments of the present application disclose a computer program product comprising a computer program stored in a computer readable storage medium. The processor of the computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program so that the computer device performs the data acquisition method described above.
In the embodiment of the application, a server acquires a first version data acquisition request comprising a target application sent by a terminal device, and determines a target resource packet corresponding to the first version of the target application in response to the data acquisition request; the method comprises the steps that a target resource package is generated according to resource data except for resource data to be deleted, the resource data to be deleted is determined according to loading information of a target application on at least one terminal device, and the loading information comprises application scene identification information and resource data identification information; and sending the target resource package to the terminal equipment. The server determines the resource data to be deleted according to the use condition of the terminal equipment user, and deletes the corresponding resource data, thereby reducing the size of the target resource package and improving the resource downloading speed of the target application.
Drawings
In order to more clearly illustrate the embodiments of the 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, it being obvious that the drawings in the following description are only some embodiments of the 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 network architecture of a data acquisition system according to an embodiment of the present application;
FIG. 2 is a flow chart of a data acquisition method according to an embodiment of the present application;
FIG. 3 is a flow chart of another method for data acquisition according to an embodiment of the present application;
FIG. 4 is a flow chart of yet another method for data acquisition disclosed in an embodiment of the present application;
FIG. 5 is a schematic diagram of a flow for reporting loading information according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a startup procedure of a target application according to an embodiment of the present application;
FIG. 7 is a block diagram of a data acquisition system in a game scenario according to an embodiment of the present application;
FIG. 8 is a flow chart of a method for acquiring game data packets according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a data acquisition device according to an embodiment of the present application;
FIG. 10 is a schematic diagram of another data acquisition device according to an embodiment of the present application;
fig. 11 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 completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Because the target application will newly add the function module in the process of continuously updating, so that the resource package is larger and larger, thereby affecting the speed of downloading the target application by the user. ① A data acquisition request of a terminal device is acquired, the data acquisition request including a first version of a target application. ② Determining a target resource package corresponding to a first version of the target application in response to the data acquisition request; the target resource package is generated according to resource data except for the resource data to be deleted, the resource data to be deleted is determined according to loading information of the target application on at least one terminal device, and the loading information comprises application scene identification information and resource data identification information. ③ And sending the target resource package to the terminal equipment. The method reduces the size of the resource package by deleting the resource data, thereby achieving the purpose of improving the resource downloading speed.
In a possible implementation manner, the data acquisition method provided by the embodiment of the application can be implemented based on Cloud technology (Cloud technology), and in the embodiment of the application, one or more of Cloud storage, cloud database and big data in Cloud technology can be specifically referred to. For example, data (e.g., loading information on a terminal device) required to perform the data acquisition method may be acquired from cloud data, and for example, data (e.g., a target resource package) obtained by performing the data acquisition method may be stored in a cloud database.
The cloud technology is a hosting technology for unifying serial resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data. The cloud technology is based on the general names of network technology, information technology, integration technology, management platform technology, application technology and the like applied by the cloud computing business mode, can form a resource pool, and is flexible and convenient as required. Cloud computing technology will become an important support. Background services of technical networking systems require a large amount of computing, storage resources, such as video websites, picture-like websites, and more portals. Along with the high development and application of the internet industry, each article possibly has an own identification mark in the future, the identification mark needs to be transmitted to a background system for logic processing, data with different levels can be processed separately, and various industry data needs strong system rear shield support and can be realized only through cloud computing.
Referring to fig. 1, a network architecture diagram of a data acquisition system disclosed in an embodiment of the present application may include a terminal device 101 and a server 102, where in different scenarios, the terminal device and the server are different, and taking a game scenario as an example, the corresponding data acquisition system includes a game client and a game server, that is, the terminal device 101 refers to a game client, and the server 102 refers to a game server. The terminal equipment 101 is oriented to users and is mainly used for data acquisition; the server 102 is mainly used for processing collected data. In the embodiment of the present application, the terminal device 101 is mainly used for acquiring loading information of a target application and generating a data acquisition request. The server 102 is mainly used for processing loading information of a target application, determining resource data to be deleted, and then generating a target resource package by utilizing the resource data except the resource data to be deleted.
In one embodiment, terminal device 101 includes, but is not limited to: smart phones, tablet computers, smart wearable devices, smart voice interaction devices, smart appliances, personal computers, vehicle terminals, smart cameras, virtual reality devices (e.g., AR (Augmented Reality, augmented reality) devices), and the like, to which the present application is not limited. The server 102 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or may be 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 (Content Delivery Network, content delivery networks), and basic cloud computing services such as big data and artificial intelligence platforms, which are not limited in the embodiments of the present application. The terminal device 101 may establish a direct communication connection with the server 102 through wired communication, or may establish an indirect communication connection through wireless communication, which is not limited by the embodiment of the present application.
In the embodiment of the present application, in combination with the data acquisition system, the data acquisition method of the embodiment of the present application may include: the terminal device 101 sends a data acquisition request to the server 102, the server 102 determines resource data to be deleted according to loading information of the target application on at least one terminal device in response to the data acquisition request, generates a target resource package corresponding to a first version of the target application according to the resource data except the resource data to be deleted, and sends the target resource package to the terminal device 101. In the method, the server 102 determines the resource data to be deleted according to the use condition of the user corresponding to the terminal equipment 101 for the target application, deletes the corresponding resource data, reduces the size of the target resource package, and thereby improves the resource downloading speed of the target application.
It should be specifically noted that, in the present disclosure, the relevant data collection process should strictly obtain the informed consent or the individual consent of the personal information body according to the requirements of the relevant laws and regulations during the application of the examples, and develop the subsequent data use and processing actions within the authorized range of the laws and regulations and the personal information body.
The data acquisition method according to the embodiment of the present application will be described in detail below.
Referring to fig. 2, a flow chart of a data acquisition method disclosed in an embodiment of the present application is illustrated by using a server as an execution body, and the data acquisition method specifically includes, but is not limited to, the following steps:
S201: a data acquisition request of a terminal device is acquired, the data acquisition request including a first version of a target application.
In one possible implementation, the server obtains the submitted data acquisition request after the terminal device submits the version of the user-selected target application. Specifically, after the terminal device starts the target application, the terminal device is connected with the server to determine whether there is update of the version, if so, the user selects update, and then the data acquisition request is determined to carry the first version of the target application, and the first version of the target application is represented in the form of an identifier. If the user does not select an update, the previous version may be applied directly. Normally, if the user does not update, the resource package does not need to be downloaded again.
S202: determining a target resource package corresponding to a first version of the target application in response to the data acquisition request; the target resource package is generated according to resource data except for the resource data to be deleted, the resource data to be deleted is determined according to loading information of the target application on at least one terminal device, and the loading information comprises application scene identification information and resource data identification information.
In one possible implementation manner, the logic for determining the target resource package is to analyze the loading information, determine the resource data to be deleted according to the application scene and the loading condition of the resource data, and then delete the resource data to be deleted to obtain the target resource package corresponding to the first version of the target application.
In one possible implementation manner, the specific implementation process of determining the target resource package may be as follows:
S11: and the server acquires loading information of the target application sent by at least one terminal device. The loading information may be obtained periodically, and the loading information is loading information of different users using the target application. For example, the loading information of the target application in the past week includes loading information when hundreds or thousands of users are using. The server periodically acquires loading information of the application programs when a plurality of users use the target application, and stores the loading information in a database so as to facilitate subsequent analysis. The resource data to be deleted can be more accurately analyzed through massive data, and the coverage is more comprehensive. The loading information comprises application scene identification information and resource data identification information, and further can also comprise loading time, user identification, application version identification, application identification and the like. The loading information may be as shown in table 1:
TABLE 1
One application scenario may correspond to one such table, or each application scenario and each resource data may be stored in such a form.
S12: and determining resource data state information and application scene state information according to the loading information.
In one possible implementation, the resource data status information is used to indicate the status of use of the resource data, including in-use and unused, and one resource data represents one resource file. The determination process of the resource data state information is as follows: the method comprises the steps of firstly determining first resource data to be loaded according to resource data identification information in loading information, wherein the resource data identification information in the loading information indicates that the first resource data is loaded by a user, one application scene can correspond to a resource data list, and the corresponding resource data list indicates one or more resource data required by the application scene. If not loaded, the resource data identification information will not exist in the loading information. Correspondingly, the full resource data corresponding to the first version of the target application, namely all the resource data corresponding to the first version, is obtained, the first version is changed relative to the previous version, and the change can be to directly increase or decrease some resource data or to supplement the current existing resource data. And then, taking a difference set of the full resource data and the first resource data to obtain all unused resource data, determining the resource data state information of the unused resource data in the full resource data as unused, and determining the resource data state information of other resource data except for the unused resource data in the full resource data as in-use. And integrating the resource data state information of each resource data to obtain the resource data state information of each resource data in the full resource data corresponding to the first version. As shown in table 2, the resource data status information is shown:
TABLE 2
As can be seen from table 2, the resource data status information is either 0 or 1. Wherein, 0 represents that the resource data state information is in use, namely the initial state, and is downloaded by default; 1 indicates that the resource data state information is unused, i.e. there is no task reference. The method is used for determining the state information of the resource data, is more comprehensive and accurate, and can ensure that the data is not missed.
In one possible implementation, the application scenario state information is used to indicate whether the application scenario has been put off shelf, and the application scenario state information includes to-be-put-off shelf and not-put-off shelf. The determination process of the application scene state information is as follows: determining a scene type of each application scene and a scene loading rate of each application scene according to application scene identification information in loading information, firstly determining the scene type of each application scene according to the application scene identification information in the loading information, wherein the application scene type comprises one or more of a common scene type, a periodic opening scene type (the scene loading rate in the opening period is counted only by such scenes) and a conditional triggering scene type, and determining the loading times of each application scene and the starting times of target applications related to each application scene; determining the scene loading rate of each application scene according to the loading times of each application scene and the starting times of target application related to each application scene, wherein the calculation mode is shown in the following formula:
Wherein, For the loading rate of the application scenario i,And L is the starting times of the target application related to the application scene i for the total loading times of the application scene i in the statistical period. Since the user may load the same scene multiple times when starting the target application once, the loading rate of the scene counted here may be more than 100%.
The following describes a general scene type, a periodic start scene type, and a conditional trigger scene type:
Common scene type: the user has no limit to entering various conventional functions in the application, so that the loading rate of the scene can be directly counted. Such as various conventional maps within a game.
Periodically starting scene types: a function that is turned on periodically. In particular a map that is turned on at the end of each week in the game.
Conditional trigger class scene type: to enter such a scene certain preconditions need to be met. For example, when the account level reaches the designated level, some advanced maps can be started, so that when the loading rate of the scenes is counted, users meeting the conditions need to be screened out, and then the loading rate of the scenes is counted on the basis.
After determining the scene loading rate of each application scene, determining at least one first application scene belonging to the same scene type; determining a comparison result between scene loading rates of all first application scenes in at least one first application scene; and determining application scene state information of each first application scene in at least one first application scene according to the comparison result, wherein the application scene state information comprises to-be-put-on-shelf and non-put-on-shelf. Optionally, an application scene with the lowest scene loading rate in each first application scene belonging to the same scene type may be determined, application scene state information of the application scene is determined to be put on shelf, and other application scene state information is determined to be not put on shelf. The application scenes are subdivided through scene types, so that the application scenes under each scene type are determined, the application scenes under the shelf can be determined more accurately, and some application scenes in use under the wrong shelf are avoided effectively.
As shown in table 3, the state information of the application scenario is shown:
TABLE 3 Table 3
For example, there are 10 application scenes, where the scene loading rate of each application scene is known, and the division is performed according to the scene type, where 7 application scenes belong to a class-a application scenes, and 3 application scenes belong to a class-B application scene. Determining application scene state information with minimum field Jing Jiazai rate in seven application scenes in the A-type application scenes as to-be-put-on-shelf, and determining application scene state information of the rest 6 application scenes as to-be-put-off-shelf; likewise, the application scene state information with the minimum field Jing Jiazai rate in the 3 application scenes in the class B application scenes is determined to be put on the shelf, and the application scene state information of the rest 2 application scenes is determined to be not put on the shelf.
S13: and deleting the resource data according to the resource data state information and the application resource data state information.
In one possible implementation, the resource data to be deleted is determined according to the resource data status information and the application scenario status information. On the one hand, directly based on the resource data state information, determining that the resource data state information is unused resource data, namely, resource data with the resource data state information of 1 in table 2; and taking unused resource data as the resource data to be deleted.
On the other hand, the resource data status information may be determined to be at least one resource data in use based on the resource data status information, that is, in table 2, the resource data with the resource data status information of 0, for any second resource data in the at least one resource data, at least one second application scenario in which the second resource data needs to be loaded is determined from the loading information, and one resource data may be used by multiple application scenarios, so it is required to determine whether each application scenario uses the resource data. Determining application scene state information of each second application scene in at least one second application scene based on the application scene state information; determining whether application scene state information of each second application scene is to be put on shelf; if so, determining the second resource data as the resource data to be deleted, in which case the resource data state information of the second resource data may be marked as 2, which indicates that the scene is down, and clearing the scene from the resource package. If the application scene state information of any one of the at least one second application scene is not off-shelf, the second resource data is downloaded by default (i.e. the resource data state information is 0, i.e. the in-use state). The comprehensive application scene analyzes the state information of the resource data, and can accurately determine the unused resource data, thereby effectively avoiding the erroneous deletion of the resource data. And taking the resource data to be deleted in the two aspects as final resource data to be deleted.
S14: and generating a target resource package corresponding to the first version of the target application based on the resource data except the resource data to be deleted.
And firstly determining a resource package corresponding to the first version, and then deleting the resource data to be deleted from the resource package corresponding to the first version, so as to obtain a target resource package corresponding to the first version. And packing and storing the target resource package corresponding to the first version in a database, and downloading and using the target resource package from the database if the terminal equipment is needed.
The process of determining the resource data to be deleted can be performed regularly, so that useless resource data can be deleted in time, the size of a resource packet is reduced, and the downloading speed of the resource is improved.
S203: and sending the target resource package to the terminal equipment.
In one possible implementation, the server responds to the data acquisition request of the terminal device, so that after obtaining the target resource packet, the server needs to return the target resource packet to the terminal device. So that the user of the terminal device can quickly download, install and use the target resource package.
In the embodiment of the application, a server is taken as an execution main body, mainly describing how the server determines resource data to be deleted according to loading information, the server acquires a first version data acquisition request comprising a target application sent by a terminal device, and determines a target resource package corresponding to the first version of the target application in response to the data acquisition request; the method comprises the steps that a target resource package is generated according to resource data except for resource data to be deleted, the resource data to be deleted is determined according to loading information of a target application on at least one terminal device, and the loading information comprises application scene identification information and resource data identification information; and sending the target resource package to the terminal equipment. By the method, the purposes of updating the resource data of the target application and deleting the useless resource data can be achieved, and therefore the resource downloading speed of the target application is improved.
Referring to fig. 3, a flowchart of another data acquisition method disclosed in an embodiment of the present application is illustrated by using a terminal device as an execution body, and the data acquisition method specifically includes, but is not limited to, the following steps:
S301: sending a data acquisition request to a server, wherein the data acquisition request comprises a first version of a target application; so that the server responds to the data acquisition request to determine a target resource package corresponding to the first version of the target application; the target resource package is generated by the server according to resource data except for the resource data to be deleted, the resource data to be deleted is determined according to loading information of the target application on at least one terminal device, and the loading information comprises application scene identification information and resource data identification information.
In one possible implementation, the terminal device starts the target application, detects whether a version update exists in the target application, and generates a data acquisition request based on a first version of the target application if the version update exists and the user triggers the update. The determination process of the target resource packet is already described in detail in step S202 in fig. 2, and will not be described here again.
S302: and receiving the target resource packet sent by the server.
After the server determines the target resource package, the target resource package is sent to the terminal equipment, and the terminal equipment receives the target resource package so as to download.
In one possible implementation manner, the terminal device obtains loading information of the target application according to a set period; and each terminal equipment collects loading information of the target application in a set period, and then sends the loading information to the server after summarizing the loading information. In the period, more than one terminal device needs to collect loading information, and each terminal device using the target application needs to collect loading information, so that the data volume can be analyzed by the server. After acquisition, the loading information is sent to the server. Alternatively, the data can be reported in a periodic form, namely, the data can be reported in real time after being collected by the terminal equipment, and the data can be stored in the database after being received by the server, and the data can be obtained from the database for analysis when the data is needed to be analyzed. The server can analyze the resource data to be deleted more accurately through massive data.
In the embodiment of the application, the terminal equipment is taken as an execution main body, the terminal equipment is mainly stated to actively trigger the data acquisition request, and the terminal equipment is stated to acquire the loading information and report the loading information, so that the server can more efficiently analyze the resource data to be deleted, thereby achieving the purposes of updating the target application and deleting the useless resource data, and further improving the resource downloading speed of the target application.
For more clearly illustrating the data acquisition method provided by the present application, please refer to fig. 4, which is a schematic flow chart of another data acquisition method disclosed in the embodiment of the present application, the data acquisition method is illustrated in an interaction form of a server and a terminal device, and the data acquisition method specifically may include, but is not limited to, the following steps:
s401: the terminal equipment acquires loading information of a target application, wherein the loading information of the target application comprises application scene information and resource data information.
S402: and the terminal equipment sends the loading information of the target application to the server.
S403: the server stores the loading information of the target application in a database. To facilitate the use of the subsequently updated resource data.
Fig. 5 is a schematic flow chart of loading information reporting according to an embodiment of the present application, including the following steps: 1. and entering an application scene, and starting the flow when the terminal equipment enters any scene. 2. And acquiring application scene information, namely acquiring current application scene information. 3. And reporting and storing the application scene information, reporting the application scene information acquired by the terminal equipment to a server, and storing the application scene information for subsequent analysis and use by the server. 4. And acquiring resource data information, namely acquiring the resource data used in the current application scene. 5. And reporting and storing the resource data information, reporting the resource data information acquired by the terminal equipment to a server, and storing the resource data information for subsequent analysis and use by the server. 6. Ending the flow. The process can be executed according to the set time, and after the information collection and reporting are completed in the time node, the process is normally ended.
S404: the terminal device sends a data acquisition request to the server, the data acquisition request including a first version of the target application.
S405: the server determines, in response to the data acquisition request, a target resource package corresponding to the first version of the target application.
Step S404 and step S405 may refer to fig. 6, which are schematic views of a start-up flow of a target application according to an embodiment of the present application, including the following steps: 1. and starting the target application, and starting the process when the user starts the target application at the terminal equipment. 2. And reporting the starting information, wherein the starting information specifically comprises an application scene type so as to count the scene loading rate. 3. The terminal equipment checks whether the target application has version update or not, and if the target application has no version update, the process jumps to step 6 to end the flow. In this case, the user can normally use the target application. Optionally, if there is a version update, but the user does not select an update, the process is also terminated by jumping to step 6. 4. And if the version is updated, acquiring a target resource package, namely an updated resource package. The terminal equipment requests the target resource package from the game server, and the server determines the target resource package according to the loading information and the starting information. 5. And the terminal equipment downloads the target resource package and downloads the target resource package. 6. The terminal device detects that there is no version update or there is version update but downloading is completed, and the process is ended.
The determining process of the target resource package is shown in fig. 6, and includes the following steps: 7. the new version is released, including all the resource data of the version. After the new version is ready, the server initiates the flow process for updating the resource data to obtain the target resource package. 8. And calculating the scene loading rate of the application scene. 9. Confirming the setting of the scenes, and informing the developer of formally setting the application scenes with the lowest scene loading rate in the scene types according to the scene loading rate. 10. And updating the resource data state information. And according to the determined off-shelf application scene and the resource data to be deleted, updating the new version resource package to obtain the target resource package. 11. And packaging the target resource package, and storing the target resource package in a database for downloading and using by the terminal equipment.
S406: and the server sends the target resource package to the terminal equipment.
In this scenario, after receiving the data acquisition request, the target resource packet is sent to the terminal device.
In the embodiment of the application, the data acquisition of the embodiment of the application is described by the interaction of the terminal equipment and the server, and the specific execution flow is described.
The following describes the data acquisition method according to the embodiment of the present application by taking a game scenario as an example, in the game scenario, the server is a game server, and the terminal device is a game client, as shown in fig. 7, and is a data acquisition system architecture diagram in the game scenario, including the game client and the game server. The game client comprises a scene management module, a resource data management module and a data reporting module, and the functions of the modules are as follows:
A scene management module: and collecting game scene information when entering a game scene and reporting the game scene information to a game server through a data reporting module.
A resource data management module: and in the running process of the game scene, collecting resource data and reporting the resource data to a game server through a data reporting module.
And a data reporting module: and receiving the data of the scene management module and the resource data management module and reporting the data to the game server.
Correspondingly, the game server comprises a scene analysis module, a resource data analysis module and a resource package management module, and the functions of each module are as follows:
Scene analysis module: and calculating the scene loading rate of each game scene according to the data reported by the game client, and determining the game scene to be put off.
And a resource data analysis module: and obtaining the resource data to be deleted according to the data reported by the game client and the game scene to be put on shelf obtained by the scene analysis module.
And the resource package management module: and packaging the resource package before release of the version, and removing the corresponding resource data to be deleted according to the resource data to be deleted of the resource data analysis module to obtain a target resource package.
Referring to fig. 8 in combination with a game server and a game client, a method for acquiring a game data packet according to the present embodiment includes, but is not limited to, the following steps:
s801: the game client collects loading information of the target game, wherein the loading information of the target game comprises game scene information and resource data information.
The loading information of the target game is shown in table 4:
TABLE 4 Table 4
As can be seen from table 4, in a game scenario, the loading information may include a game ID, a game scenario ID, a game version ID, a loading time, user information, a resource data ID, and the like. The loading condition of the game scene and the use condition of the game resource data can be analyzed through the information.
S802: the game client sends the loading information of the target game to the game server.
S803: the game server stores the loading information of the target game in a database. To facilitate the use of the subsequently updated resource data.
S804: and the game server responds to the game resource package acquisition request, and determines the resource data to be deleted according to the loading information of the target game.
S805: and determining a target game resource package corresponding to the version information of the target game based on the resource data to be deleted.
S806: the game client sends a game resource package acquisition request to the game server, wherein the game resource package acquisition request comprises version information of the target game.
S807: the game server sends a target game resource package to the game client.
In the embodiment of the application, the game scene is identified through analyzing the game habit of the user, and the resource data of the key scene can be purposefully updated only in the updating stage, so that the size of the game resource package which is required to be downloaded by the user is reduced, the downloading speed of the game resource is improved, the game experience of the user is greatly improved, and the method is one of means for effectively retaining the game player.
Based on the method embodiment, the embodiment of the application also provides a data acquisition device. Referring to fig. 9, a schematic structural diagram of a data acquisition device according to an embodiment of the present application is provided, and the data acquisition device 900 shown in fig. 9 may operate the following units:
an acquiring unit 901, configured to acquire a data acquisition request of a terminal device, where the data acquisition request includes a first version of a target application;
A determining unit 902, configured to determine, in response to the data acquisition request, a target resource package corresponding to the first version of the target application; the target resource package is generated according to resource data except for resource data to be deleted, the resource data to be deleted is determined according to loading information of the target application on at least one terminal device, and the loading information comprises application scene identification information and resource data identification information;
A transceiver 903, configured to send the target resource packet to the terminal device.
In a possible implementation manner, the obtaining unit 901 is further configured to obtain loading information of the target application sent by at least one terminal device;
A determining unit 902, configured to determine resource data status information and application scenario status information according to the loading information; determining the resource data to be deleted according to the resource data state information and the application scene state information;
and the processing unit 904 is configured to generate a target resource package corresponding to the first version of the target application based on the resource data except the resource data to be deleted.
In a possible implementation manner, when the determining unit 902 determines the resource data state information and the application scenario state information according to the loading information, the determining unit is specifically configured to perform the following steps:
Acquiring full resource data corresponding to the first version of the target application;
determining loaded first resource data according to the resource data identification information in the loading information, and determining resource data state information of each resource data included in the full resource data according to the first resource data and the full resource data;
determining the scene type of each application scene and the scene loading rate of each application scene according to the application scene identification information in the loading information;
and determining the application scene state information of each application scene according to the scene type of each application scene and the scene loading rate of each application scene.
In a possible implementation manner, when the determining unit 902 determines the resource data state information and the application scenario state information according to the loading information, the determining unit is specifically configured to perform the following steps:
Determining a scene type of each application scene according to the application scene identification information in the loading information, wherein the application scene type comprises one or more of a common scene type, a periodical starting scene type and a conditional triggering scene type;
Determining the loading times of each application scene and the starting times of the target application related to each application scene;
and determining the scene loading rate of each application scene according to the loading times of each application scene and the starting times of the target application related to each application scene.
In a possible implementation manner, when the determining unit 902 determines the application scenario status information of each application scenario according to the scenario type of each application scenario and the scenario loading rate of each application scenario, the determining unit is specifically configured to perform the following steps:
Determining at least one first application scene belonging to the same scene type;
determining a comparison result between scene loading rates of all first application scenes in the at least one first application scene;
And determining application scene state information of each first application scene in the at least one first application scene according to the comparison result, wherein the application scene state information comprises to-be-put-off.
In a possible implementation manner, when the determining unit 902 determines the to-be-deleted resource data according to the resource data state information and the application scenario state information, the determining unit is specifically configured to perform the following steps:
determining that the resource data state information is at least one resource data in use based on the resource data state information;
determining at least one second application scene needing to load the second resource data from the loading information aiming at any second resource data in the at least one resource data;
And determining the resource data to be deleted in the at least one resource data based on the application scene state information and the at least one second application scene needing to load the second resource data.
In a possible implementation manner, the determining unit 902 is further configured to perform the following steps:
determining that the resource data state information is unused resource data based on the resource data state information;
And taking the unused resource data as the resource data to be deleted.
It may be understood that the functions of each functional unit of the data acquisition device provided in the embodiments of the present application may be specifically implemented according to the method in the embodiments of the method, and the specific implementation process may refer to the relevant description in the embodiments of the method, which is not repeated herein.
In a possible embodiment, the data acquisition device provided by the embodiment of the application may be implemented in a software manner, and the data acquisition device may be stored in a memory, may be software in the form of a program, a plug-in unit or the like, and includes a series of units including an acquisition unit, a determination unit, a transceiver unit and a processing unit; the data acquisition method comprises an acquisition unit, a determination unit, a receiving and transmitting unit and a processing unit.
The embodiment of the application discloses a data acquisition device of a server, which executes the data acquisition method through an acquisition unit, a determination unit, a receiving and transmitting unit and a processing unit, determines resource data to be deleted according to the use condition of a user of terminal equipment, deletes corresponding resource data, reduces the size of a target resource package, and thereby improves the resource downloading speed of the target application.
Based on the above description of the method embodiment, the embodiment of the present application further provides a data acquisition device, referring to fig. 10, the data acquisition device 1000 may operate the following units:
A transceiver unit 1001 configured to send a data acquisition request to a server, where the data acquisition request includes a first version of a target application; in response to the data acquisition request, the server determines a target resource package corresponding to the first version of the target application; the target resource package is generated by the server according to resource data except for resource data to be deleted, the resource data to be deleted is determined according to loading information of the target application on at least one terminal device, and the loading information comprises application scene identification information and resource data identification information;
the transceiver 1001 is further configured to receive the target resource packet sent by the server.
In a possible implementation manner, the obtaining unit 1002 is configured to obtain loading information of the target application according to a set period;
The transceiver 1001 is further configured to send the loading information to the server.
It may be understood that the functions of each functional unit of the data acquisition device provided in the embodiments of the present application may be specifically implemented according to the method in the embodiments of the method, and the specific implementation process may refer to the relevant description in the embodiments of the method, which is not repeated herein.
In a possible embodiment, the data acquisition device provided by the embodiment of the application can be implemented in a software manner, and the data acquisition device can be stored in a memory, can be software in the form of a program, a plug-in unit and the like, and comprises a series of units including an acquisition unit and a transceiver unit; the acquiring unit and the receiving and transmitting unit are used for realizing the data acquiring method provided by the embodiment of the application.
In the embodiment of the application, the data acquisition device in the terminal equipment is described, and the data acquisition method is executed through the acquisition unit and the receiving and dispatching list, so that the server can provide loading data for the server, the server determines the resource data to be deleted according to the use condition of the user, and deletes the corresponding resource data, and the size of a target resource package is reduced, thereby improving the resource downloading speed of the target application.
In other possible embodiments, the data acquisition device provided in the embodiments of the present application may also be implemented in a combination of software and hardware, and by way of example, the data acquisition device provided in the embodiments of the present application may be a processor in the form of a hardware decoding processor that is programmed to perform the data acquisition method provided in the embodiments of the present application, for example, the processor in the form of a hardware decoding processor may employ one or more Application Specific Integrated Circuits (ASICs), DSPs, programmable logic devices (PLDs, programmable Logic Device), complex Programmable logic devices (CPLDs, complex Programmable Logic Device), field Programmable Gate Arrays (FPGAs), field-Programmable GATE ARRAY), or other electronic components.
Based on the description of the method embodiment and the device item embodiment, the embodiment of the application also provides a computer device; the computer device may be the server mentioned above or may be the terminal device mentioned above. Referring to fig. 11, the computer device may include at least a processor 1101, an input interface 1102, an output interface 1103, and a computer readable storage medium 1104; wherein the processor 1101, the input interface 1102, the output interface 1103, and the computer readable storage medium 1104 may be connected by a bus or other connection.
The computer readable storage medium 1104 may be stored in a memory of a computer device, the computer readable storage medium 1104 for storing a computer program, and the processor 1101 for executing the computer program stored by the computer readable storage medium 1104. The processor 1101 (or CPU (Central Processing Unit, central processing unit)) is a computing core and a control core of a computer device, which is adapted to implement one or more computer programs, in particular to load and execute one or more computer programs to implement the respective method flows or the respective functions.
The embodiment of the application also provides a computer readable storage medium (Memory), which is a Memory device in the computer device and is used for storing programs and data. It is understood that the computer readable storage medium herein may include both built-in storage media in a computer device and extended storage media supported by the computer device. The computer-readable storage medium provides storage space that stores an operating system of the computer device. And one or more computer programs (including program code) adapted to be loaded and executed by the processor are also stored in the memory space. Note that the computer readable storage medium can be either a high-speed RAM Memory or a Non-Volatile Memory (Non-Volatile Memory), such as at least one magnetic disk Memory; optionally, at least one computer readable storage medium remotely located from the aforementioned processor.
In some embodiments, when the computer device is a server, one or more computer programs stored in the computer-readable storage medium 1104 may be loaded and executed by the processor 1101 to implement the respective steps of the data acquisition methods described above with respect to fig. 2 and 4. In a specific implementation, a computer program in a computer readable storage medium 1104 is loaded by the processor 1101 and performs the steps of:
acquiring a data acquisition request of a terminal device, wherein the data acquisition request comprises a first version of a target application;
determining a target resource package corresponding to the first version of the target application in response to the data acquisition request; the target resource package is generated according to resource data except for resource data to be deleted, the resource data to be deleted is determined according to loading information of the target application on at least one terminal device, and the loading information comprises application scene identification information and resource data identification information;
And sending the target resource packet to the terminal equipment.
In one possible implementation, the computer program in the computer readable storage medium 1104 is further used by the processor 1101 to load and execute the steps of:
acquiring loading information of the target application sent by at least one terminal device;
Determining resource data state information and application scene state information according to the loading information; determining the resource data to be deleted according to the resource data state information and the application scene state information;
And generating a target resource package corresponding to the first version of the target application based on the resource data except the resource data to be deleted.
In a possible implementation manner, when the computer program in the computer readable storage medium 1104 is loaded and executed by the processor 1101, the method is specifically configured to perform the following steps of:
Acquiring full resource data corresponding to the first version of the target application;
determining loaded first resource data according to the resource data identification information in the loading information, and determining resource data state information of each resource data included in the full resource data according to the first resource data and the full resource data;
determining the scene type of each application scene and the scene loading rate of each application scene according to the application scene identification information in the loading information;
and determining the application scene state information of each application scene according to the scene type of each application scene and the scene loading rate of each application scene.
In a possible implementation manner, when the computer program in the computer readable storage medium 1104 is loaded and executed by the processor 1101, the method is specifically configured to perform the following steps of:
Determining a scene type of each application scene according to the application scene identification information in the loading information, wherein the application scene type comprises one or more of a common scene type, a periodical starting scene type and a conditional triggering scene type;
Determining the loading times of each application scene and the starting times of the target application related to each application scene;
and determining the scene loading rate of each application scene according to the loading times of each application scene and the starting times of the target application related to each application scene.
In a possible implementation manner, when the computer program in the computer readable storage medium 1104 is loaded and executed by the processor 1101, the method specifically is used for executing the following steps when determining the application scenario status information of each application scenario according to the scenario type of each application scenario and the scenario loading rate of each application scenario:
Determining at least one first application scene belonging to the same scene type;
determining a comparison result between scene loading rates of all first application scenes in the at least one first application scene;
And determining application scene state information of each first application scene in the at least one first application scene according to the comparison result, wherein the application scene state information comprises to-be-put-off.
In a possible implementation manner, the computer program in the computer readable storage medium 1104 is loaded and executed by the processor 1101, and is specifically configured to perform the following steps when determining the resource data to be deleted according to the resource data status information and the application scenario status information:
determining that the resource data state information is at least one resource data in use based on the resource data state information;
determining at least one second application scene needing to load the second resource data from the loading information aiming at any second resource data in the at least one resource data;
And determining the resource data to be deleted in the at least one resource data based on the application scene state information and the at least one second application scene needing to load the second resource data.
In one possible implementation, the computer program in the computer readable storage medium 1104 is further used by the processor 1101 to load and execute the steps of:
determining that the resource data state information is unused resource data based on the resource data state information;
And taking the unused resource data as the resource data to be deleted.
In some embodiments, when the computer device is a terminal device, one or more computer programs stored in the computer-readable storage medium 1104 may be loaded and executed by the processor 1101 to implement the respective steps of the data acquisition methods described above in connection with fig. 3 and 4. In a specific implementation, a computer program in a computer readable storage medium 1104 is loaded by the processor 1101 and performs the steps of:
Sending a data acquisition request to a server, wherein the data acquisition request comprises a first version of a target application; in response to the data acquisition request, the server determines a target resource package corresponding to the first version of the target application; the target resource package is generated by the server according to resource data except for resource data to be deleted, the resource data to be deleted is determined according to loading information of the target application on at least one terminal device, and the loading information comprises application scene identification information and resource data identification information;
And receiving the target resource packet sent by the server.
In one possible implementation, the computer program in the computer readable storage medium 1104 is further used by the processor 1101 to load and execute the steps of:
acquiring loading information of the target application according to a set period;
And sending the loading information to the server.
According to one aspect of the present application, there is provided a computer program product comprising a computer program stored in a computer readable storage medium. The processor of the computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program so that the computer device executes the data acquisition method provided in the above-described various alternative manners.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, such as the division of the modules described above, are merely a logical function division, and may be implemented in other manners, such as multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not performed.
In an embodiment of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program having a predetermined function and working together with other relevant parts to achieve a predetermined object, and may be implemented in whole or in part by using software, hardware (such as a processing circuit or a memory), or a combination thereof. Also, a processor (or multiple processors or memories) may be used to implement one or more modules or units. Furthermore, each module or unit may be part of an overall module or unit that incorporates the functionality of the module or unit.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (12)
1. A method of data acquisition, the method comprising:
acquiring loading information of a target application sent by at least one terminal device; the loading information comprises application scene identification information and resource data identification information;
Determining resource data state information and application scene state information according to the loading information; the resource data state information is used for indicating whether the resource data are in use or not, and the application scene state information is used for indicating whether the application scene is to be taken off the shelf or not;
determining that the resource data state information is at least one resource data in use based on the resource data state information;
determining at least one second application scene needing to load the second resource data from the loading information aiming at any second resource data in the at least one resource data;
Determining application scene state information of each second application scene in the at least one second application scene based on the application scene state information;
Determining whether the application scene state information of each second application scene is to be put on shelf; if yes, determining the second resource data as the resource data to be deleted;
Generating a target resource package corresponding to the first version of the target application based on the resource data except the resource data to be deleted;
Acquiring a data acquisition request of a terminal device, wherein the data acquisition request comprises a first version of the target application;
and responding to the data acquisition request, and sending a target resource packet corresponding to the first version of the target application to the terminal equipment.
2. The method of claim 1, wherein determining resource data state information and application scenario state information from the loading information comprises:
Acquiring full resource data corresponding to the first version of the target application;
determining loaded first resource data according to the resource data identification information in the loading information, and determining resource data state information of each resource data included in the full resource data according to the first resource data and the full resource data;
determining the scene type of each application scene and the scene loading rate of each application scene according to the application scene identification information in the loading information;
and determining the application scene state information of each application scene according to the scene type of each application scene and the scene loading rate of each application scene.
3. The method according to claim 2, wherein determining the scene type of each application scene and the scene loading rate of each application scene according to the application scene identification information in the loading information comprises:
Determining a scene type of each application scene according to the application scene identification information in the loading information, wherein the application scene type comprises one or more of a common scene type, a periodical starting scene type and a conditional triggering scene type;
Determining the loading times of each application scene and the starting times of the target application related to each application scene;
and determining the scene loading rate of each application scene according to the loading times of each application scene and the starting times of the target application related to each application scene.
4. A method according to claim 2 or 3, wherein said determining application scenario status information of each application scenario according to the scenario type of each application scenario and the scenario loading rate of each application scenario comprises:
Determining at least one first application scene belonging to the same scene type;
determining a comparison result between scene loading rates of all first application scenes in the at least one first application scene;
And determining application scene state information of each first application scene in the at least one first application scene according to the comparison result, wherein the application scene state information comprises to-be-put-off.
5. A method according to any one of claims 1-3, wherein the method further comprises:
determining that the resource data state information is unused resource data based on the resource data state information;
And taking the unused resource data as the resource data to be deleted.
6. A method of data acquisition, the method comprising:
Sending a data acquisition request to a server, wherein the data acquisition request comprises a first version of a target application; the server responds to the data acquisition request and sends a target resource packet corresponding to the first version of the target application to terminal equipment; the generation mode of the target resource package comprises the following steps: determining resource data state information and application scene state information according to loading information of the target application sent by at least one terminal device, wherein the loading information comprises application scene identification information and resource data identification information; determining that the resource data state information is at least one resource data in use based on the resource data state information; determining at least one second application scene needing to load the second resource data from the loading information aiming at any second resource data in the at least one resource data; determining application scene state information of each second application scene in the at least one second application scene based on the application scene state information; determining whether the application scene state information of each second application scene is to be put on shelf; if yes, determining the second resource data as the resource data to be deleted; generating a target resource package corresponding to the first version of the target application based on the resource data except the resource data to be deleted; the resource data state information is used for indicating whether the resource data are in use or not, and the application scene state information is used for indicating whether the application scene is to be taken off the shelf or not;
And receiving the target resource packet sent by the server.
7. The method of claim 6, wherein the method further comprises:
acquiring loading information of the target application according to a set period;
And sending the loading information to the server.
8. A data acquisition device, the device comprising:
The acquisition unit is used for acquiring loading information of the target application sent by at least one terminal device; the loading information comprises application scene identification information and resource data identification information;
The determining unit is used for determining resource data state information and application scene state information according to the loading information; determining that the resource data state information is at least one resource data in use based on the resource data state information; determining at least one second application scene needing to load the second resource data from the loading information aiming at any second resource data in the at least one resource data; determining application scene state information of each second application scene in the at least one second application scene based on the application scene state information; determining whether the application scene state information of each second application scene is to be put on shelf; if yes, determining the second resource data as the resource data to be deleted; the resource data state information is used for indicating whether the resource data are in use or not, and the application scene state information is used for indicating whether the application scene is to be taken off the shelf or not;
the processing unit is used for generating a target resource packet corresponding to the first version of the target application based on the resource data except the resource data to be deleted;
The acquiring unit is further configured to acquire a data acquisition request of a terminal device, where the data acquisition request includes a first version of the target application;
And the receiving and transmitting unit is used for responding to the data acquisition request and transmitting a target resource packet corresponding to the first version of the target application to the terminal equipment.
9. A data acquisition device, the device comprising:
The receiving and transmitting unit is used for sending a data acquisition request to the server, wherein the data acquisition request comprises a first version of the target application; the server responds to the data acquisition request and sends a target resource packet corresponding to the first version of the target application to terminal equipment; the generation mode of the target resource package comprises the following steps: determining resource data state information and application scene state information according to loading information of the target application sent by at least one terminal device, wherein the loading information comprises application scene identification information and resource data identification information; determining that the resource data state information is at least one resource data in use based on the resource data state information; determining at least one second application scene needing to load the second resource data from the loading information aiming at any second resource data in the at least one resource data; determining application scene state information of each second application scene in the at least one second application scene based on the application scene state information; determining whether the application scene state information of each second application scene is to be put on shelf; if yes, determining the second resource data as the resource data to be deleted; generating a target resource package corresponding to the first version of the target application based on the resource data except the resource data to be deleted; the resource data state information is used for indicating whether the resource data are in use or not, and the application scene state information is used for indicating whether the application scene is to be taken off the shelf or not;
the receiving and transmitting unit is used for receiving the target resource packet sent by the server.
10. A computer device, the computer device comprising:
a processor adapted to implement one or more computer programs; and
A computer readable storage medium storing one or more computer programs adapted to be loaded by the processor and to perform the data acquisition method of any of claims 1-5, or 6-7.
11. A computer readable storage medium, characterized in that it stores one or more computer programs adapted to be loaded by a processor and to perform the data acquisition method according to any of claims 1-5, or 6-7.
12. A computer program product, characterized in that the computer program product comprises a computer program, which computer program is stored in a computer-readable storage medium, from which computer program a processor of a computer device reads, which computer program is executed by a processor, such that the computer device performs the data acquisition method according to any one of claims 1-5, or 6-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410433329.0A CN118034776B (en) | 2024-04-11 | 2024-04-11 | Data acquisition method and device, computer equipment, medium and product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410433329.0A CN118034776B (en) | 2024-04-11 | 2024-04-11 | Data acquisition method and device, computer equipment, medium and product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118034776A CN118034776A (en) | 2024-05-14 |
CN118034776B true CN118034776B (en) | 2024-07-12 |
Family
ID=90989904
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410433329.0A Active CN118034776B (en) | 2024-04-11 | 2024-04-11 | Data acquisition method and device, computer equipment, medium and product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118034776B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113254105A (en) * | 2021-06-08 | 2021-08-13 | 北京字节跳动网络技术有限公司 | Resource processing method and device, storage medium and electronic equipment |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107846465A (en) * | 2017-11-13 | 2018-03-27 | 北京趣拿软件科技有限公司 | Update the method and apparatus of client resource bag |
CN112835610A (en) * | 2019-11-25 | 2021-05-25 | 华为终端有限公司 | Method and device for constructing application program resource package and terminal equipment |
CN112473132B (en) * | 2020-12-16 | 2022-08-26 | 完美世界(北京)软件科技发展有限公司 | Game resource management and loading method, equipment and storage medium |
CN113055451B (en) * | 2021-03-08 | 2023-01-06 | Oppo广东移动通信有限公司 | Resource downloading method and device, electronic equipment and storage medium |
CN113434197B (en) * | 2021-06-30 | 2024-08-27 | 完美世界征奇(上海)多媒体科技有限公司 | Resource release method, device, computer equipment and computer readable storage medium |
CN116999795A (en) * | 2022-11-01 | 2023-11-07 | 腾讯科技(深圳)有限公司 | Data processing method, device, equipment and computer readable storage medium |
-
2024
- 2024-04-11 CN CN202410433329.0A patent/CN118034776B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113254105A (en) * | 2021-06-08 | 2021-08-13 | 北京字节跳动网络技术有限公司 | Resource processing method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN118034776A (en) | 2024-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105577777B (en) | message processing method, device and system | |
CN113568884B (en) | File management method and device, electronic equipment and storage medium | |
CN108228444B (en) | Test method and device | |
CN110830234B (en) | User traffic distribution method and device | |
CN111111214B (en) | Game archiving processing method, device and system | |
CN110826799B (en) | Service prediction method, device, server and readable storage medium | |
CN110716848A (en) | Data collection method and device, electronic equipment and storage medium | |
CN112799925A (en) | Data acquisition method and device, electronic equipment and readable storage medium | |
CN111339183A (en) | Data processing method, edge node, data center and storage medium | |
CN113434293A (en) | Method and apparatus for processing repeat request, storage medium, and electronic apparatus | |
CN115694699A (en) | Time delay parameter acquisition method and device, electronic equipment and storage medium | |
CN118034776B (en) | Data acquisition method and device, computer equipment, medium and product | |
CN110020166B (en) | Data analysis method and related equipment | |
CN115563160A (en) | Data processing method, data processing device, computer equipment and computer readable storage medium | |
CN115268909A (en) | Method, system and terminal for establishing and running construction task at web front end | |
CN115694998A (en) | Security detection method and device, electronic equipment and storage medium | |
CN114928562A (en) | Flow processing method and system for graph computing platform | |
CN114610343A (en) | Application function implementation method and device, computer equipment and storage medium | |
CN108829824B (en) | Resource processing method and device in internet operation activity | |
CN113110982A (en) | Data access layer verification method and device, storage medium and electronic device | |
CN112667949A (en) | Data processing method and device for front-end gateway | |
CN112434242B (en) | Statistical method, device, server and storage medium of application program downloading channel | |
CN114697694B (en) | Interactive processing method and system | |
CN113132324B (en) | Sample identification method and system | |
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 |