Data processing method and device, computer, storage medium and program product

By analyzing the historical interaction data of terminal devices, determining key scenario information and providing customized resource packages, the problem of long download time for business applications is solved, and resource packages are reduced and update efficiency is improved.

CN120780338APending Publication Date: 2025-10-14TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410390216.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-01
Publication Date
2025-10-14

AI Technical Summary

Technical Problem

Existing technologies have limitations in shortening the download time of business applications. In particular, when the user bandwidth is low, the method of compressing the size of resource packages is not effective when the application is continuously iterated, resulting in obstacles for users to access business applications.

Method used

By obtaining version update requests from terminal devices, analyzing historical interaction data, determining key scenario information and public scenario information, only downloading resource files associated with these scenarios, and providing customized resource packages to update business applications.

Benefits of technology

The resource package size is reduced, the download time is shortened, and the application update efficiency and user experience are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120780338A_ABST
    Figure CN120780338A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data processing method and device, a computer, a storage medium and a program product, and relates to a data transmission technology in the field of big data, and the method comprises the steps: obtaining a version updating request which is sent by terminal equipment and aims at a first object, determining a service application indicated by the version updating request based on a version identifier in the version updating request; acquiring M pieces of scene information required for updating the business application to a new version; the M pieces of scene information comprise N pieces of first scene information and P pieces of second scene information; and obtaining historical interaction data of the first object for the service application, determining key scene information in the N pieces of first scene information based on the historical interaction data, determining the key scene information and the P pieces of second scene information as updated scene information, and determining a target resource file for responding to the version updating request based on the updated scene information. By adopting the application, the size of the resource packet updated by the service application can be reduced, and the efficiency of updating the service application by the first object is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data processing method, device, computer, storage medium, and program product. Background Art

[0002] With the development of the internet and other technologies, business application design and development are increasingly focused on enhancing the user experience. Application resource packages are also becoming larger and larger, leading to longer download times for users. Reducing download times has become one of the biggest challenges facing application developers. Currently, efforts to reduce download times for business applications focus on increasing download speeds or compressing resource package sizes. However, download speeds are limited by user bandwidth, and with low bandwidth, application developers are unable to increase download speeds. While compressing resource packages can significantly reduce download times, shortening download times, compression also has its limits. As applications continue to iterate, version content continues to grow, and resource files continue to grow in size, resource file packages will also continue to grow, resulting in poor download time reductions and a barrier to user access to business applications. Summary of the Invention

[0003] The embodiments of the present application provide a data processing method, device, computer, storage medium and program product, which can reduce the size of resource packages required for download and improve application update efficiency.

[0004] On the one hand, an embodiment of the present application provides a data processing method, the method comprising:

[0005] Obtaining a version update request for the first object sent by the terminal device, and determining the service application indicated by the version update request based on the version identifier in the version update request;

[0006] Obtain M scenario information required for updating a business application to a new version; the M scenario information includes N first scenario information and P second scenario information; the N first scenario information refers to business scenarios for executing optional business services in the business application; the P second scenario information refers to business scenarios for executing common business services in the business application; M, N, and P are all positive integers, and the sum of N and P is M;

[0007] Obtain historical interaction data of the first object for the business application, determine key scenario information among N first scenario information based on the historical interaction data, determine the key scenario information and P second scenario information as update scenario information, and determine the target resource file for responding to the version update request based on the update scenario information.

[0008] In one aspect, an embodiment of the present application provides a data processing device, the device comprising:

[0009] a request acquisition module, configured to acquire a version update request for a first object sent by a terminal device, and determine a service application indicated by the version update request based on a version identifier in the version update request;

[0010] An information acquisition module is used to obtain M scenario information required for updating a business application to a new version; the M scenario information includes N first scenario information and P second scenario information; the N first scenario information refers to business scenarios used to perform optional business services in the business application; the P second scenario information refers to business scenarios used to perform common business services in the business application; M, N, and P are all positive integers, and the sum of N and P is M;

[0011] A resource determination module is used to obtain historical interaction data of the first object for business applications, determine key scenario information in N first scenario information based on the historical interaction data, determine the key scenario information and P second scenario information as update scenario information, and determine the target resource file for responding to the version update request based on the update scenario information.

[0012] In a possible implementation, when the resource determination module is configured to determine key scene information from N first scene information based on historical interaction data, the resource determination module is specifically configured to perform the following operations:

[0013] Determine, based on the historical interaction data, the scene interaction durations of the first subject under the N first scene information, and the total usage duration of the first subject for the business application;

[0014] The ratio of the interaction duration of each of the N scenarios to the total usage duration is determined as the scenario duration ratio, and the scenario duration ratio that is greater than or equal to the interaction ratio threshold among the N scenario duration ratios is determined as the target scenario duration ratio;

[0015] The first scene information corresponding to the target scene duration ratio is determined as the key scene information.

[0016] In a possible implementation, the resource determination module is further configured to perform the following operations:

[0017] Based on the historical interaction data, determine the total number of times the first subject initiates the business application, and the number of scene interactions of the first subject under K third scene information; the third scene information is the first scene information in the N first scene information except the first scene information corresponding to the target scene duration ratio; K is a positive integer less than or equal to N;

[0018] Integrate the interaction times of K scenes with the total number of startups to obtain the scene loading rates corresponding to the K third scene information.

[0019] The scene loading rate greater than the scene loading threshold in the K scene loading rates is determined as a to-be-selected loading rate, the to-be-selected loading rates are sorted based on the numerical size of the to-be-selected loading rates, a to-be-selected sequence is obtained, A to-be-selected loading rates are sequentially obtained from the to-be-selected sequence, and third scene information corresponding to the A to-be-selected loading rates is determined as the key scene information; A is a positive integer less than or equal to K.

[0020] In a possible implementation, the N first scene information includes newly-added scene information, and the historical interaction data is not associated with the newly-added scene information; and the resource determining module is specifically further configured to perform the following operation:

[0021] Based on the newly-added scene information, a newly-added scene category corresponding to the newly-added scene information is determined;

[0022] The scene information associated with the historical interaction data is obtained as historical scene information, scene information in the historical interaction scene that matches the newly-added scene category is determined as a matching scene information set, the number of scene information in the matching scene information set is determined as a total scene quantity, and the number of key scene information in the matching scene information set is determined as a key scene quantity;

[0023] The key scene quantity and the total scene quantity are integrated to obtain a key scene rate corresponding to the newly-added scene information;

[0024] If the key scene rate is greater than a key scene threshold, the newly-added scene information is determined as the key scene information.

[0025] In a possible implementation, when the resource determining module determines the key scene information based on the historical interaction data in the N first scene information, the resource determining module is specifically configured to perform the following operation:

[0026] Based on the historical interaction data, scene interaction time lengths and scene interaction times of the first object in the N first scene information are determined;

[0027] The scene interaction time lengths and the scene interaction times are input into a key probability model, in the key probability model, interaction features of the first object for the N first scene information are generated according to the scene interaction time lengths and the scene interaction times, and key scene probabilities of the first object for the N first scene information are output through the interaction features;

[0028] The key scene probability greater than or equal to a key probability threshold is determined as a target key scene probability, and the first scene information corresponding to the target key scene probability is determined as the key scene information.

[0029] In a possible implementation, the M pieces of scenario information include target scenario information; when the resource determination module is configured to obtain historical interaction data of the first object for the business application, the resource determination module is specifically configured to perform the following operations:

[0030] When the first object enters the target business scenario indicated by the target scenario information in the business application, associating the business scenario identifier corresponding to the target business scenario with the first object identifier of the first object;

[0031] When the first object exits the target business scenario in the business application, the scene interaction duration of the first object in the target business scenario is obtained, and the number of scene interactions of the first object for the target business scenario is accumulated;

[0032] Encapsulating the first object identifier, the business scenario identifier, the scenario interaction duration, and the scenario interaction count to obtain initial historical interaction data of the first object for the business application;

[0033] When the first object re-enters the target business scenario in the business application, the initial historical interaction data is updated based on the first object identifier and the business scenario identifier to obtain updated initial historical interaction data, and the updated initial historical interaction data is determined as the historical interaction data of the first object for the business application.

[0034] In a possible implementation, when the resource determination module is configured to determine a target resource file for responding to a version update request based on the update scenario information, the resource determination module is specifically configured to perform the following operations:

[0035] Obtain the full resource file required to update the business application to the new version, and obtain the updated resource file identifier corresponding to the updated scenario information; the full resource file contains one or more resource sub-files, each resource sub-file has a resource file identifier, and the resource file identifier is associated with one or more scenario information in the M scenario information;

[0036] A resource sub-file corresponding to the updated resource file identifier is obtained from the full resource file, and the resource sub-file corresponding to the updated resource file identifier is determined as a target resource file for responding to the version update request.

[0037] On the one hand, an embodiment of the present application provides a computer device, including a processor, a memory, and an input and output interface;

[0038] The processor is connected to the memory and the input and output interface respectively, wherein the input and output interface is used to receive and output data, the memory is used to store the computer program, and the processor is used to call the computer program so that the computer device including the processor executes the method in one aspect of the embodiment of the present application.

[0039] On one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program is suitable for being loaded and executed by a processor so that a computer device having the processor executes the method in one aspect of the embodiment of the present application.

[0040] In one aspect, an embodiment of the present application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in various optional embodiments of the present application. In other words, when the computer instructions are executed by the processor, the methods provided in various optional embodiments of the present application are implemented.

[0041] Implementing the embodiments of this application will have the following beneficial effects:

[0042] In an embodiment of the present application, a version update request for a first object sent by a terminal device is obtained, and the business application indicated by the version update request is determined based on the version identifier in the version update request; M scenario information required for updating the business application to a new version is obtained; the M scenario information includes N first scenario information and P second scenario information; the N first scenario information refers to business scenarios for executing optional business services in the business application; the P second scenario information refers to business scenarios for executing public business services in the business application; M, N and P are all positive integers, and the sum of N and P is M; historical interaction data of the first object for the business application is obtained, and based on the historical interaction data, key scenario information is determined in the N first scenario information, the key scenario information and the P second scenario information are determined as update scenario information, and the target resource file for responding to the version update request is determined based on the update scenario information. Through the above process, when a version update request for the first object is received, a customized resource package can be provided for the first object as the target resource file in response to the version update request. Through the historical interaction data of the first object for the business application, the key scenario information frequently used by the user is determined from the first scenario information, and the resource sub-files corresponding to the key scenario information and the second scenario information are used as the target resource files. Since the target resource file contains resource sub-files associated with the key scenario information and the public scene (second scenario information), not all resource packages of the updated business application are downloaded, and the downloaded target resource files associated with the key scenario information are also likely to be the functions needed by the first object. Therefore, the purpose of deleting the resource package of the business application and reducing the size of the resource package can be achieved, thereby reducing the download time for the first object to download or update the business application and improving the update efficiency of the first object for the business application. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0044] Figure 1 This is a network interaction architecture diagram of a data processing method provided by an embodiment of the present application;

[0045] Figure 2 This is a scenario diagram of a data processing method provided in an embodiment of the present application;

[0046] Figure 3 This is a data processing method provided by the embodiment of the present application. Figure 1 ;

[0047] Figure 4 This is a version update flow chart provided in an embodiment of the present application;

[0048] Figure 5 This is a data processing method provided by the embodiment of the present application. Figure 2 ;

[0049] Figure 6 is a schematic diagram of a data processing device provided in an embodiment of the present application;

[0050] Figure 7 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0052] Among them, if it is necessary to collect object (such as user, etc.) data in this application, a prompt interface or pop-up window will be displayed before or during the collection. The prompt interface or pop-up window is used to remind the user that certain data is currently being collected. Only after the user confirms the prompt interface or pop-up window, the relevant steps for data acquisition will be started, otherwise the process will end. Moreover, the acquired user data will be used in reasonable and legal scenarios or purposes. Optionally, in some scenarios where user data needs to be used but has not been authorized by the user, authorization can be requested from the user, and the user data can be used when the authorization is passed.

[0053] It is understandable that in the specific implementation of this application, the user data involved, when the following embodiments of this application are applied to specific products or technologies, needs to obtain user permission or consent, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of the relevant regions.

[0054] In the examples of this application, see Figure 1 , Figure 1 This is a network interaction architecture diagram of a data processing method provided by an embodiment of the present application, such as Figure 1As shown, the computer device 101 can be a background device associated with the business application, or it can be a server associated with the business application, including a resource file analysis module, a scenario classification module and a resource package management module. Taking the business device 102a as the terminal device corresponding to the first object as an example, the business device 102a can be a client associated with the business application, including a scenario reporting module and a download module. Among them, the resource file analysis module is used to generate a resource association table that each business scenario depends on according to the resource files needed to be used in each business scenario during the application development stage, and the resource association table includes a business scenario identifier and a corresponding resource file identifier. The computer device 101 can obtain the version update request for the first object sent by the terminal device (business device 102a), determine the key scenario information of the first object using the business application based on the historical interaction data of the first object for the business application through the scenario classification module, and customize an exclusive target resource file for the first object based on the resource association table corresponding to the key scenario information through the resource package management module. Among them, the key scene information is some business scenes that are most closely related to the user (i.e., the first object) in the process of using the business application, that is, some business scenes that the user often clicks on or frequently enters when using the business application. It is also the business scene that the user is likely to use after the computer device collects the historical interaction data corresponding to the user and analyzes it. For example, in a game application, there is a business scene 1 corresponding to game mode 1, and a business scene 2 corresponding to game mode 2. When the user often uses the business scene 2 corresponding to game mode 2, the business scene 2 is the key scene information. Among them, the historical interaction data mentioned in the above method is some historical data generated by the user when using the business application. The scene reporting module in the application client collects data and uploads it to the application server corresponding to the computer device 101. It can include the scene interaction time associated with the user's use of a certain business scene, that is, the time the user uses a certain business scene, and the number of scene interactions of the user using a certain scene, that is, the number of times the user clicks on or enters a certain business scene. It should be noted that when a user starts a business application once, multiple clicks or entries into a certain business scene only accumulate one scene interaction count. For example, if the scene interaction duration of business scenario 2 corresponding to game mode 2 is 30,000 seconds, and the number of scene interactions for clicking business scenario 2 is 15, the historical interaction data corresponding to business scenario 2 can be represented as "business scenario 2: scene interaction duration: 30,000 seconds, number of scene interactions: 15 times." Furthermore, the computer device 101 can integrate the target resource file into a business application and send the target resource file to the business device 102a through the business application. The target resource file is received by the download module in the application client and the target resource file is downloaded.Alternatively, the computer device 101 may generate a storage address of a resource file corresponding to the target resource file and send the storage address to the business device 102a. When the business device 102a receives the storage address of the resource file corresponding to the target resource file, it may perform addressing according to the storage address. When the corresponding target resource file is found through the storage file, it may directly call a download program built into or associated with the business device to download the target resource file to the business device 102a to update the business application. The number of business devices is one or more, as shown in FIG. Figure 1 For example, the service devices may include but are not limited to service device 102a, service device 102b, service device 102c, etc. The service devices may exchange data with each other, or the service devices may exchange data through computer device 101, etc.

[0055] Through the above process, when a version update request for the first object is received, a customized resource package can be provided for the first object as the target resource file in response to the version update request. Through the historical interaction data of the first object for the business application, the key scenario information frequently used by the user is determined from the first scenario information, and the resource files corresponding to the key scenario information and the second scenario information are used as target resource files. Since the target resource files are all resource sub-files only associated with the key scenario information, the entire resource package of the updated business application is not downloaded, and the downloaded target resource files associated with the key scenario information are also likely to be the functions needed by the first object. Therefore, the purpose of deleting the resource package of the business application and reducing the size of the resource package can be achieved, thereby reducing the download time for the first object to download or update the business application.

[0056] For details, see Figure 2 , Figure 2 This is a scenario diagram of a data processing method provided in an embodiment of the present application. Figure 2 As shown, the business application of the embodiment of the present application can be a game application, a media application or a social application. Figure 2In this application, taking the application update in a game application as an example, the computer device 101 can obtain a version update request for a first object sent by a terminal device (i.e., the business device 102a), and determine the game application indicated by the version update request based on the version identifier in the version update request. The computer device 101 obtains the M scene information required for updating the game application to a new version; wherein the M scene information includes N first scene information and P second scene information; for example, in a game application, the first scene information may include business scenes corresponding to a variety of different game modes, game store purchase scenes, and virtual object interaction scenes in the game; the second scene information may include the game application login page scene, game lobby scene, etc. The computer device 101 obtains the historical interaction data of the first object for the game application. The historical interaction data is generated by the user clicking on the game interface while playing the game, and includes relevant data such as the scene interaction duration and the number of scene interactions; further based on the historical interaction data, the computer device 101 determines the key scene information in the N first scene information, determines the key scene information and the P second scene information as the update scene information, and determines the target resource file for responding to the version update request based on the update scene information. The key scenario information is related to some business scenarios that the first object frequently clicks on or enters during the use of the business application, and the second scenario information is the business scenario that the first object must use during the use of the business application. The computer device 101 uses the key scenario information and the second scenario information as update scenario information to obtain the corresponding target resource file. The target resource file not only satisfies the basic functions of the game application after the update, but also takes into account the business scenarios that the user is likely to use. Further, the computer device can return the target resource file to the business device 102a; or, the computer device generates the storage address of the corresponding resource file in the target resource file and returns the resource file list corresponding to the target resource file to the business device 102a, wherein the resource file list includes the storage address of the resource file corresponding to the target resource file, and the business device 102a can obtain the target resource file based on the storage address. The storage address can be a storage address in the computer device 101 or a storage address in another server. The business device 102a can use the storage address to obtain the target resource file at the storage location indicated by the storage address.

[0057] Through the above process, the computer device can obtain the first object, that is, when the game player finds that a new version of the game application exists while using the game application, the terminal device sends a version update request for the first object, and provides the game player with a customized update resource package, that is, a target resource file, based on the version update request and the historical interaction data of the game player. The target resource file only includes the business scenario (second scenario information) used by the game player to perform public business services when using the game application, and the key scenario information determined based on the historical interaction data when using the game application. Since the target resource file contains resource sub-files only associated with the key scenario information, the entire resource package of the updated business application is not downloaded, thereby shortening the download time of the update resource package when the game player updates, and shortening the time the game player waits for the resource package to download, allowing the game player to quickly enter the game application and experience the game, while improving the efficiency of game application updates and the game player's experience.

[0058] It is understandable that the business equipment mentioned in the embodiments of the present application may also be a computer device, and the computer device in the embodiments of the present application includes but is not limited to a terminal device or a server. In other words, the computer device may be a server or a terminal device, or it may be a system composed of a server and a terminal device. Among them, the terminal device mentioned above may be an electronic device, including but not limited to mobile phones, tablet computers, desktop computers, laptop computers, PDAs, vehicle-mounted equipment, augmented reality / virtual reality (AR / VR) equipment, helmet displays, smart TVs, wearable devices and other mobile internet devices (mobile internet device, MID) with network access capabilities, or terminal devices in scenarios such as trains, ships, and flights. As Figure 1 As shown in , the terminal device can be a laptop (as shown by the business device 102b), a mobile phone (as shown by the business device 102a) or a tablet computer (as shown by the business device 102c), etc. Figure 1 Only some of the devices are listed. The servers mentioned above can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, vehicle-road collaboration, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0059] Optionally, the data involved in the embodiments of the present application can be stored in a computer device, or the data can be stored based on cloud storage technology or a blockchain network, which is not limited here.

[0060] Further, see Figure 3 , Figure 3 This is a data processing method provided by the embodiment of the present application. Figure 1 .like Figure 3 The data processing process is described as follows:

[0061] Step S301: Obtain a version update request for a first object sent by a terminal device, and determine a service application indicated by the version update request based on a version identifier in the version update request.

[0062] In an embodiment of the present application, a computer device (which may be a backend server of a business application) may obtain a version update request for a first object sent by a terminal device. The computer device parses the obtained version update request and determines the request content indicated by the version update request. The version update request may include a first object identifier of the first object and a version identifier of the business application requested for update. Further, the business application indicated by the version update request is determined based on the version identifier in the version update request.

[0063] Step S302, obtain M scenario information required for updating the business application to the new version; the M scenario information includes N first scenario information and P second scenario information; the N first scenario information refers to the business scenarios used to perform optional business services in the business application; the P second scenario information refers to the business scenarios used to perform public business services in the business application; M, N and P are all positive integers, and the sum of N and P is M.

[0064] In an embodiment of the present application, a computer device can obtain the full resource file required for updating a business application to a new version, and the first resource file corresponding to the most recently released version (i.e., the latest version) of the business application, compare the full resource file with the resource sub-file in the first resource file, integrate the resource sub-files in the full resource file that are different from the resource sub-files of the first resource file, and the resource sub-files that exist in the full resource file but do not exist in the first resource file, and obtain a differential resource file. Further, based on the resource sub-files in the differential resource file, determine the resource file identifier corresponding to the resource sub-file, and determine the associated S differential scenario information based on the resource file identifier, where S is a positive integer, obtain P second scenario information in the business application, and after deduplicating the union of the S differential scenarios and the P second scenario information, obtain M scenario information, and determine the M differential scenario information as the M scenario information required for updating the business application to a new version. Among them, the M scenario information includes N first scenario information and P second scenario information; the N first scenario information refers to the business scenarios used to perform optional business services in the business application, that is, the business scenarios that users choose to enter according to their own circumstances when using the business application; the P second scenario information refers to the business scenarios used to perform public business services in the business application, that is, the business scenarios that users will definitely enter when using the business application, such as the login scene and game lobby scene in the game application; M, N and P are all positive integers, and the sum of N and P is M. For example, a business application has business scenario 1, business scenario 2, and business scenario 3. When the user clicks to enter the business application, he directly enters business scenario 1, and then chooses to click to enter business scenario 2 or business scenario 3 according to his own needs. At this time, business scenario 1 is the second scenario information, and business scenario 2 and business scenario 3 are the first scenario information.

[0065] Step S303: Obtain historical interaction data of the first object for the business application, determine key scenario information in N first scenario information based on the historical interaction data, determine the key scenario information and P second scenario information as update scenario information, and determine the target resource file for responding to the version update request based on the update scenario information.

[0066] In an embodiment of the present application, the M scene information includes target scene information, and the specific implementation steps for the computer device to obtain the historical interaction data of the first object for the business application may be: when the first object enters the target business scene indicated by the target scene information in the business application, the business scene identifier corresponding to the target business scene is associated with the first object identifier of the first object. When the first object exits the target business scene in the business application, the scene interaction duration of the first object in the target business scene is obtained, and the number of scene interactions of the first object for the target business scene is accumulated. The first object identifier, business scene identifier, scene interaction duration, and scene interaction number are encapsulated to obtain the initial historical interaction data of the first object for the business application. When the first object re-enters the target business scene in the business application, the initial historical interaction data is updated based on the first object identifier and the business scene identifier to obtain the updated initial historical interaction data, and the updated initial historical interaction data is determined as the historical interaction data of the first object for the business application.

[0067] Specifically, when the first object enters a target business scene indicated by the target scene information in the business application, the computer device obtains a first object identifier corresponding to the first object and a business scene identifier corresponding to the target business scene, and associates the business scene identifier with the first object identifier. When the first object exits the target business scene in the business application, the computer device obtains a scene interaction duration of the first object in the target business scene and accumulates a scene interaction frequency of the first object for the target business scene. The first object identifier, the business scene identifier, the scene interaction duration, and the scene interaction frequency are encapsulated to obtain initial historical interaction data of the first object for the business application. As shown in Table 1, the first object “3456790023” has a scene interaction duration of 30000s and a scene interaction frequency of 90 times in the business scene “0001”, a scene interaction duration of 3000s and a scene interaction frequency of 300 times in the business scene “0002”, and a scene interaction duration of 572941s and a scene interaction frequency of 150 times in the business scene “0003”. When the first object reenters the target business scene in the business application, the computer device updates the scene interaction duration and the scene interaction frequency in the initial historical interaction data based on the first object identifier and the business scene identifier to obtain updated initial historical interaction data, and determines the updated initial historical interaction data as historical interaction data of the first object for the business application. It should be noted that when the first object starts the business application for a single time, i.e., the first object does not exit the business application in this process, including placing the business application in the background of the business device for running, and enters and exits the same target business scene multiple times, the computer device only needs to obtain the scene interaction duration of the first object in the target business scene and update the scene interaction duration in the historical interaction data corresponding to the first object, without accumulating the scene interaction frequency of the first object for the target business scene and updating the scene interaction frequency in the historical interaction data corresponding to the first object. That is, when the first object enters and exits the same target business scene multiple times in a single start of the business application, data deduplication processing is required, i.e., the scene interaction frequency is calculated only once for the target business scene in this start of the business application. Thus, accurate statistics of the scene interaction frequency are achieved, and the scene interaction frequency of a certain scene is prevented from being artificially magnified, and the scene interaction frequency of a certain scene is prevented from being high due to repeated loading, and the scene interaction frequency of another scene is prevented from being low, so that the overall scene interaction frequency index is not reasonable. Through data deduplication processing, the loading frequency of each scene is reasonably counted, the scene interaction frequency index is more reasonable, and the objectivity and reasonableness of subsequent calculation of the scene interaction frequency of the business scene are ensured, so that the credibility and reference value of the scene interaction frequency are improved.

[0068] Table 1

[0069]

[0070] Optionally, the use case of the first object for the business application is constantly changing, for example, when the business application is a game application, affected by the game operation activities, the first object may frequently or for a long time enter some business scenes that are not frequently entered in the previous use process, thereby causing some non-key scene information to become key scene information. In view of this situation, the computer device can set a timing detection task, for example, set to start the timing detection task at 4:00 every day. At this time, the computer device reacquires the updated historical interaction data of the first object for the business application, analyzes based on the updated historical interaction data, determines the key scene information from the entire scene information corresponding to the business application, and stores it in the database, so that when there is other version update process in the future, it can be directly used. Thus, when the version update request of the terminal device corresponding to the first object is received, the key scene information associated with the first object is directly obtained, the process of determining the key scene information in the N first scene information based on the historical interaction data is skipped, the time consumption of determining the target resource file is reduced, thereby reducing the waiting time consumption of the user (i.e. the first object), and further improving the version update efficiency of the business application.

[0071] Further, the computer device can determine the key scene information in the N first scene information based on the scene interaction time length, scene interaction times and other information in the historical interaction data, determine the key scene information and the P second scene information as update scene information, and determine the target resource file for responding to the version update request based on the update scene information. The specific implementation process can be: obtaining the full resource file required for updating the business application to the new version (or the difference resource file mentioned in the above step S302), obtaining the update resource file identifier corresponding to the update scene information; the full resource file contains one or more resource subfiles, each resource subfile has a resource file identifier, and the resource file identifier is associated with one or more scene information in the M scene information. From the full resource file, the resource subfile corresponding to the update resource file identifier is obtained, and the resource subfile corresponding to the update resource file identifier is determined as the target resource file for responding to the version update request.

[0072] Specifically, the computer device can obtain the full resource file required for updating the business application to the new version. The full resource file contains one or more resource sub-files. Each resource sub-file has a resource file identifier, and the resource file identifier is associated with one or more scenario information in the M scenario information. The computer device can obtain the business scenario identifier corresponding to the updated scenario information, and obtain the corresponding resource association table based on the business scenario identifier. The resource association table corresponding to one business scenario can be found in Table 2. The resource association table shown in Table 2 includes the business scenario identifier "1284763943", the version identifier of the business application "3.9.9.33", 3 updated resource file identifiers "238908, 346819, 329801", and the file storage address list {".\data\238908.txt", ".\data\demo\346819.txt", ".\date\work\329801.txt"}.

[0073] Table 2

[0074]

[0075] Furthermore, the computer device determines the update resource file identifier corresponding to the update scenario information based on the resource association table of the business scenario identifier corresponding to the update scenario information. One update scenario information can be associated with one or more update resource file identifiers. For example, the business scenario identifier "1284763943" of the update scenario information shown in Table 2 is associated with three update resource file identifiers, namely update resource file identifier 1 "238908", update resource file identifier 2: "346819", and update resource file identifier 3: "329801", which means that the update scenario requires downloading three resource sub-files. The computer device obtains the resource sub-file corresponding to the update resource file identifier from the full resource file, determines the resource sub-file corresponding to the update resource file identifier as the target resource file for responding to the version update request, and sends the target resource file to the terminal device. Optionally, the computer device can also obtain a list of target file storage addresses corresponding to the resource sub-files in the target resource file, and send the list of target file storage addresses to the terminal device so that the terminal device obtains the corresponding target resource file according to the list of target file storage addresses. It should be noted that when multiple update scenario information are associated with the same resource sub-file, the resource sub-file only needs to be obtained once based on the resource file identifier of the resource sub-file, and there is no need to obtain it repeatedly.

[0076] Optionally, since only the target resource file is obtained for the first object to perform a version update of the business application, when the first object enters an unupdated business scenario, the computer device can obtain the first update request for the first object sent by the terminal device, and the first update request includes the first object identifier and the version identifier of the business application; when the unupdated business scenario indicated by the first update request corresponds to unupdated scenario information, the business scenario identifier of the unupdated scenario information is determined based on the unupdated scenario information, and the unupdated resource identifier of the corresponding resource file is determined based on the business scenario identifier of the unupdated scenario information. According to the unupdated resource identifier, the unupdated resource file indicated by the first update request is obtained from the full resource file, and the unupdated resource file is sent to the terminal device.

[0077] Through the above process, when a version update request for the first object is received, a customized resource package can be provided for the first object as the target resource file in response to the version update request. The historical interaction data is determined by the scene interaction time and the number of scene interactions of the first object for the business application. Based on the historical interaction data, the key scene information frequently used by the user is determined from the first scene information. The rationality of the number of scene interactions also determines the rationality of determining the key scene information. The resource sub-files corresponding to the key scene information and the second scene information are used as target resource files. Since the target resource file contains resource sub-files associated with the key scene information and the public scene (second scene information), not all resource packages of the updated business application are downloaded, and the downloaded target resource files associated with the key scene information are also likely to be functions needed by the first object. Therefore, the purpose of deleting the resource package of the business application and reducing the size of the resource package can be achieved, thereby reducing the download time for the first object to download or update the business application and improving the update efficiency of the first object for the business application.

[0078] For details, see Figure 4 , Figure 4 This is a version update flow chart provided by the embodiment of this application. Figure 4 As shown, the execution process of the version update of the business application is described. The execution process of the version update of the business application includes steps S401 to S410, which can be performed by the application client and the application server together. The application client can be as follows Figure 1 The service device 102a shown in FIG. 1 , the application server may be Figure 1 The computer device 101 shown in FIG:

[0079] Step S401: Start the business application.

[0080] The service device 102a responds to the service application startup operation performed by the first object, and starts and runs the service application.

[0081] Step S402: Check whether the resource file is the latest.

[0082] The business device 102a detects whether the resource file of the business application for the first object is the latest resource, that is, whether the business application is the latest version provided by the application server. If the resource file of the business application is not the latest resource file, a version update request for the first object is initiated to the application server; if the resource file of the business application is the latest resource file, the process jumps to step S407.

[0083] Step S403: Determine key scene information.

[0084] When the computer device 101 receives a version update request for the first object sent by the terminal device, it obtains M scenario information required for the business application to be updated to the new version, where the M scenario information includes N first scenario information and P second scenario information; obtains historical interaction data of the first object for the business application from the database of the application server, and determines key scenario information from the N first scenario information based on the historical interaction data. The specific implementation steps for determining the key scenario information can be found in the following example. Figure 1 The specific description of step S303 is omitted here.

[0085] Optionally, when the database in the application server has stored the key scene information corresponding to the first object, the key scene information can be determined by directly acquiring data from the database.

[0086] Step S404: store in the database.

[0087] The computer device may store the key scene information associated with the first object in a database.

[0088] Step S405: Generate target resource file.

[0089] The specific implementation steps of the computer device 101 generating the target resource file based on the key scene information can be found in Figure 1 The specific description of step S303 is omitted here. After obtaining the target resource file, the computer device 101 can send the target resource file to the business device 102a.

[0090] Step S406: Download the target resource file.

[0091] The service device 102a receives the target resource file sent by the computer device 101 and downloads the target resource file based on the internal download module. Optionally, when the service device 102a receives the storage address of the target resource file, the download module can obtain and download the target resource file based on the storage address.

[0092] Step S407: reporting scene loading information.

[0093] After the business device 102a downloads the target resource file, the resource file corresponding to the business application is already the latest resource file. At this time, if the first object uses the business application to click on or enter various business scenarios in the business application, the historical interaction data between the first object and each business scenario (including the scene interaction duration and the number of scene interactions) is obtained, that is, the scene loading information, and the scene loading information is reported to the computer device 101. The computer device can store the scene loading information in the database.

[0094] Step S408, end the update.

[0095] The service device 102a ends the updating process of the service application for the first object.

[0096] Step S409: start the detection task at a scheduled time.

[0097] The computer device 101 may start the detection task at a fixed time to re-acquire the updated historical interaction data of the first object for the business application. For example, the detection task may be set to be performed at 4:00 every day.

[0098] Step S410: identifying key scene information.

[0099] The computer device 101 analyzes the historical interactive data based on the update, identifies and determines the key scenario information from all the scenario information corresponding to the business application, and stores it in the database. When a version update request for the first object is received from the terminal device, the key scenario information can be directly obtained from the database to determine the key scenario information for use.

[0100] Further, see Figure 5 , Figure 5 This is a data processing method provided by the embodiment of the present application. Figure 2 .like Figure 5 The data processing process is described as follows:

[0101] Step S501: Obtain a version update request for a first object sent by a terminal device, and determine a service application indicated by the version update request based on a version identifier in the version update request.

[0102] The specific implementation process of step S501 can be found in Figure 3 The specific description of step S301 in will not be repeated here.

[0103] Step S502, obtain M scenario information required for updating the business application to the new version; the M scenario information includes N first scenario information and P second scenario information; the N first scenario information refers to the business scenarios used to perform optional business services in the business application; the P second scenario information refers to the business scenarios used to perform public business services in the business application; M, N and P are all positive integers, and the sum of N and P is M.

[0104] The specific implementation process of step S502 can be found in Figure 3 The specific description of step S302 in will not be repeated here.

[0105] Step S503: Obtain historical interaction data of the first object for the business application.

[0106] In the embodiment of the present application, the specific implementation process of obtaining the historical interaction data of the first object for the business application can be found in Figure 3 The specific description of the historical interaction data of the first object for the business application is obtained in step S303, which will not be repeated here.

[0107] Step S504: determine the scene duration ratio based on the historical interaction data, and determine key scene information from the first scene information based on the scene duration ratio.

[0108] In an embodiment of the present application, a computer device may determine, based on historical interaction data, the scene interaction duration of the first object in each of N first scene information, as well as the total usage duration of the first object for a business application. The ratio between each of the N scene interaction durations and the total usage duration is determined as the scene duration ratio, and the scene duration ratio of the N scene duration ratios that is greater than or equal to the interaction ratio threshold is determined as the target scene duration ratio; and the first scene information corresponding to the target scene duration ratio is determined as the key scene information.

[0109] Specifically, the computer device can perform data analysis or data extraction on the historical interaction data of the first object for the business application, determine the scene interaction duration of the first object under N first scene information respectively, and determine the sum of the scene interaction duration corresponding to all business scenes in the business application as the total usage time of the first object for the business application. Further, the computer device determines the ratio between the N scene interaction durations and the total usage time as the scene duration ratio, and determines the scene duration ratio that is greater than or equal to the interaction ratio threshold in the N scene duration ratios as the target scene duration ratio; and determines the first scene information corresponding to the target scene duration ratio as the key scene information. Among them, the interaction ratio threshold can be set in advance by the business application service provider according to actual conditions. For example, the interaction ratio threshold can be 80%. For example, taking the three first scene information in the historical interaction data as an example, the scene interaction durations corresponding to the three first scene information are 3000 seconds (s), 2000s, and 40000s, respectively, and the total interaction duration is 48000s. The three scene interaction proportions are 62.5%, 41.67%, and 83.34%, respectively. The scene interaction proportion of 83.34% corresponding to the third first scene information is greater than the interaction proportion threshold of 80%. The scene interaction proportion corresponding to the third first scene information can be determined as the target scene duration proportion, and the first scene information corresponding to the target scene duration proportion, that is, the third first scene information, can be determined as the key scene information.

[0110] Step S505: determine the scene loading rate based on the historical interaction data, and determine key scene information from the third scene information based on the scene loading rate.

[0111] In an embodiment of the present application, in the business scenario corresponding to the first scenario information used by the first object for the business application, there is also third scenario information with a shorter scene interaction time but a higher number of scene interactions. The computer device can determine a portion of key scene information from the third scenario information. Among them, the third scenario information is the first scenario information other than the first scenario information corresponding to the target scene duration ratio in the N first scenario information. The specific implementation process of the computer device determining the key scene information from the third scenario information can be: the computer device determines the total number of times the first object starts the business application based on historical interaction data, and the number of scene interactions of the first object under K third scenario information respectively; K is a positive integer less than or equal to N. The K scene interaction times are respectively integrated with the total number of startups to obtain the scene loading rates corresponding to the K third scenario information respectively. The scene loading rate that is greater than the scene loading threshold among the K scene loading rates is determined as the loading rate to be selected, and the loading rates to be selected are sorted based on the numerical values ​​of the loading rates to be selected to obtain a sequence to be selected, and A loading rates to be selected are obtained in sequence from the sequence to be selected, and the third scene information corresponding to the A loading rates to be selected is determined as the key scene information; A is a positive integer less than or equal to K.

[0112] Specifically, the computer device can perform data analysis or data extraction on the historical interaction data of the first object for the business application, determine the number of scene interactions of the first object under K third scene information, and sum the number of scene interactions corresponding to all business scenes in the business application to determine the total number of times the first object starts the business application. Further, the computer device integrates the K scene interaction times with the total number of startups to obtain the scene loading rates corresponding to the K third scene information. Among them, a possible integration processing method can be shown in formula ①:

[0113]

[0114] As shown in formula ①, v is used to represent the scene loading rate, L i Used to represent the number of scene interactions under the i-th third scene information, where i is a positive integer less than or equal to K; S is used to represent the total number of times the first object starts the business application.

[0115] Furthermore, the computer device determines a scene loading rate greater than a scene loading threshold among the K scene loading rates as a to-be-selected loading rate, sorts the to-be-selected loading rates based on their numerical values ​​to obtain a to-be-selected sequence, sequentially obtains A to-be-selected loading rates from the to-be-selected sequence, and determines the third scene information corresponding to each of the A to-be-selected loading rates as key scene information; A is a positive integer less than or equal to K. The scene loading threshold can be set in advance by the business application service provider based on actual conditions; for example, the scene loading threshold can be 0. For example, please refer to Table 3, which shows the first object identifier "3456790023" of the first object, the corresponding business scenario identifiers of the 10 third scenario information, and the scene loading rates of the first object under the 10 third scenario information. The specific values ​​can be found in the data in Table 3. Taking the scene loading rates corresponding to the 10 third scenario information shown in Table 3 as an example, the loading rates to be selected are the scene loading rates corresponding to the business scenario identifiers 0032, 0073, 0029, 0018, and 0008, respectively. The sequence to be selected based on the loading rates to be selected can be found in Table 4. Table 4 is the sequence to be selected obtained by processing the data in Table 3, including the scene loading rate of the first object under business scenario 0018 of 0.9, the scene loading rate under business scenario 0073 of 0.85, the scene loading rate under business scenario 0029 of 0.68, the scene loading rate under business scenario 0032 of 0.45, and the scene loading rate under business scenario 0008 of 0.25. Optionally, the business application service provider can also set a to-be-selected loading threshold in advance according to actual conditions, for example, it can be 40%. The computer device can determine the numerical value of the above-mentioned A based on the to-be-selected loading threshold. For example, the number corresponding to the to-be-selected loading rate in the to-be-selected sequence shown in Table 4 is 5. Based on the to-be-selected loading threshold of 40%, the numerical value of A can be determined to be 2, that is, the computer device can obtain 2 to-be-selected loading rates in sequence from the to-be-selected sequence (such as 0.9 and 0.85 for the to-be-selected sequence shown in Table 3), and determine the third scenario information corresponding to the two to-be-selected loading rates as key scenario information, that is, determine the third business scenarios corresponding to the business scenario identifiers 0018 and 0073 as key scenario information.

[0116] Table 3

[0117]

[0118] Table 4

[0119]

[0120] Step S506: Determine the newly added scene category, and determine key scene information from the newly added scene information based on the newly added scene category.

[0121] In an embodiment of the present application, if the N first scene information include newly added scene information, the historical interaction data is not associated with the newly added scene information, and the newly added scene information is a business scene that exists in the new version of the business application but does not exist in the current latest version of the business application used by the first object. The computer device also needs to determine the newly added scene category corresponding to the newly added scene information, and determine the key scene information from the newly added scene information based on the newly added scene category. The specific implementation process can be: based on the newly added scene information, determine the newly added scene category corresponding to the newly added scene information. Obtain the scene information associated with the historical interaction data as the historical scene information, determine the scene information that matches the newly added scene category in the historical interaction scene as a matching scene information set, determine the number of scene information in the matching scene information set as the total number of scenes, and determine the number of key scene information in the matching scene information set as the number of key scenes. Integrate the number of key scenes and the total number of scenes to obtain the key scene rate corresponding to the newly added scene information; if the key scene rate is greater than the key scene threshold, the newly added scene information is determined as key scene information.

[0122] Specifically, the computer device obtains a scenario information table based on the business scenario identifier of the newly added scenario information. A scenario information table corresponding to one newly added scenario information can be found in Table 5. The scenario information table shown in Table 5 includes the business scenario identifier "0089," the business application version identifier "3.9.9.33," key scenario information, the scenario category "newly added scenario information," and the scenario category "PVP." Furthermore, the newly added scenario category corresponding to the newly added scenario information can be determined based on the scenario information table.

[0123] Table 5

[0124]

[0125]

[0126] Furthermore, the computer device can obtain scene information associated with historical interaction data as historical scene information, obtain a scene information table corresponding to the historical scene information, determine the scene information that matches the scene category in the scene information table of the historical scene information with the newly added scene category as a matching scene information set, determine the number of scene information in the matching scene information set as the total number of scenes, and determine the number of key scene information in the matching scene information set as the number of key scenes. The number of key scenes and the total number of scenes are integrated, wherein the integration process can be to obtain the ratio of the number of key scenes to the total number of scenes, and determine the ratio as the key scene rate corresponding to the newly added scene information; obtain the key scene threshold set in advance by the business application service provider, for example, it can be 30%, and if the key scene rate corresponding to the newly added scene information is greater than the key scene threshold, that is, greater than 30%, then the newly added scene information is determined as key scene information.

[0127] Optionally, the computer device determines the key scene information in the N first scene information based on the historical interaction data. The specific implementation process may also be: based on the historical interaction data, determine the scene interaction duration and the number of scene interactions of the first object under the N first scene information respectively. The scene interaction duration and the number of scene interactions are input into the key probability model. In the key probability model, the interaction features of the first object for the N first scene information are generated according to the scene interaction duration and the number of scene interactions. The key scene probabilities of the first object for the N first scene information are output through the interaction features. The key scene probability whose key scene probability is greater than or equal to the key probability threshold is determined as the target key scene probability, and the first scene information corresponding to the target key scene probability is determined as the key scene information.

[0128] Specifically, the computer device can determine the scene interaction duration and the number of scene interactions of the first object under N first scene information based on historical interaction data. Set two key probability features {including a first parameter b and a second parameter c, which can be expressed as "(b, c)"}, determine the key probability model, input the scene interaction duration and the number of scene interactions into the key probability model, and in the key probability model, generate the interaction features of the first object for the N first scene information respectively according to the scene interaction duration and the number of scene interactions, and output the key scene probabilities of the first object for the N first scene information respectively through the interaction features. Among them, a possible key probability model can be shown in formula ②:

[0129] F=(b,c)·(x i ,y i ) ②

[0130] As shown in formula ②, b and c are used to represent key probability parameters, (b, c) is used to represent key probability characteristics, and xi It is used to indicate the scene interaction duration of the first object in the i-th first scene information, y i It is used to represent the number of scene interactions of the first object under the i-th first scene information, (x i ,y i ) is used to represent the interactive features of the first object for the i-th first scene information, and F is used to represent the key scene probability of the first object for the first scene information.

[0131] Furthermore, the computer device obtains the key probability threshold set in advance by the business application service provider, determines the key scene probability with a key scene probability greater than or equal to the key probability threshold as the target key scene probability, and determines the first scene information corresponding to the target key scene probability as the key scene information. This method can directly determine whether the business scene is key scene information based on the scene interaction duration and the number of scene interactions of the business scene, preventing some business scenes from having a high number of scene interactions but not being listed as key scene information due to a short scene interaction duration. It is also necessary to determine the scene loading rate based on the number of scene interactions to determine whether it is key scene information. This can improve the efficiency of determining key scene information and reduce time consumption.

[0132] Step S507: Determine the key scene information and the P pieces of second scene information as update scene information, and determine a target resource file for responding to the version update request based on the update scene information.

[0133] In the embodiment of the present application, the specific implementation process of step S507 can be found in Figure 3 The relevant description of step S303 is not repeated here.

[0134] Through the above process, when a version update request for the first object is received, the key scene information can be determined by two methods. First, the key scene information frequently used by the user is determined from the first scene information through the scene interaction time in the historical interaction data of the first object for the business application, and then the key scene information is determined from the third scene information based on the number of scene interactions in the historical interaction data. Finally, based on the new scene category of the new scene, based on the ratio of the number of key scenes corresponding to the new scene type in the historical interaction data to the total number of scenes, the key scene information is determined from the new scene information until all the key scene information is determined; second, based on the scene interaction time and the number of scene interactions in the historical interaction data, the key scene probabilities of N first scene information are determined, and the key scene information is directly determined from the first scene information based on the key scene probability. The key scenario information and the second scenario information (public scenario) are determined as the update scenario information, and the target resource file that responds to the version update request is determined from the full resource file based on the update scenario information. Since the target resource file contains resource sub-files associated with the key scenario information and the public scenario (second scenario information), not all resource packages of the updated business application are downloaded, and the downloaded target resource files associated with the key scenario information are also likely to be functions required by the first object. Therefore, the purpose of deleting the resource package of the business application and reducing the size of the resource package can be achieved, thereby reducing the time it takes for the first object to download or update the business application without affecting the normal use of the basic functions of the business application, thereby improving the update efficiency of the first object for the business application and the user experience.

[0135] Further, see Figure 6 , Figure 6 Schematic diagram of a data processing device provided in an embodiment of the present application. The data processing may be a computer program (including program code, etc.) running on a computer device. For example, the device may be an application software; the device may be used to execute the corresponding steps in the method provided in an embodiment of the present application. Figure 6 As shown, the device 600 can be used Figure 3 and Figure 5 The computer device in the corresponding embodiment may specifically include: a request acquisition module 11 , an information acquisition module 12 , and a resource determination module 13 .

[0136] A request acquisition module 11 is configured to acquire a version update request for a first object sent by a terminal device, and determine a service application indicated by the version update request based on a version identifier in the version update request;

[0137] The information acquisition module 12 is configured to acquire M scenario information required for updating a business application to a new version; the M scenario information includes N first scenario information and P second scenario information; the N first scenario information refers to business scenarios for executing optional business services in the business application; the P second scenario information refers to business scenarios for executing common business services in the business application; M, N, and P are all positive integers, and the sum of N and P is M;

[0138] The resource determination module 13 is used to obtain the historical interaction data of the first object for the business application, determine the key scenario information in N first scenario information based on the historical interaction data, determine the key scenario information and P second scenario information as update scenario information, and determine the target resource file for responding to the version update request based on the update scenario information.

[0139] In a possible implementation, when the resource determination module 13 is configured to determine the key scene information from the N first scene information based on the historical interaction data, the resource determination module 13 is specifically configured to perform the following operations:

[0140] Determine, based on the historical interaction data, the scene interaction durations of the first subject under the N first scene information, and the total usage duration of the first subject for the business application;

[0141] The ratio of the interaction duration of each of the N scenarios to the total usage duration is determined as the scenario duration ratio, and the scenario duration ratio that is greater than or equal to the interaction ratio threshold among the N scenario duration ratios is determined as the target scenario duration ratio;

[0142] The first scene information corresponding to the target scene duration ratio is determined as the key scene information.

[0143] In a possible implementation, the resource determination module 13 is further configured to perform the following operations:

[0144] Based on the historical interaction data, determine the total number of times the first subject initiates the business application, and the number of scene interactions of the first subject under K third scene information; the third scene information is the first scene information in the N first scene information except the first scene information corresponding to the target scene duration ratio; K is a positive integer less than or equal to N;

[0145] Integrate the interaction times of K scenes with the total number of startups to obtain the scene loading rates corresponding to the K third scene information.

[0146] The scene loading rate that is greater than the scene loading threshold among the K scene loading rates is determined as the loading rate to be selected, and the loading rates to be selected are sorted based on the numerical values ​​of the loading rates to be selected to obtain a sequence to be selected, and A loading rates to be selected are obtained in sequence from the sequence to be selected, and the third scene information corresponding to the A loading rates to be selected is determined as the key scene information; A is a positive integer less than or equal to K.

[0147] In a possible implementation, the N first scene information include newly added scene information, and the historical interaction data is not associated with the newly added scene information; the resource determination module 13 is further configured to perform the following operations:

[0148] Based on the newly added scene information, determining the newly added scene category corresponding to the newly added scene information;

[0149] Obtaining scene information associated with historical interaction data as historical scene information, determining scene information in the historical interaction scenes that matches the newly added scene category as a matching scene information set, determining the number of scene information in the matching scene information set as the total number of scenes, and determining the number of key scene information in the matching scene information set as the number of key scenes;

[0150] Integrate the number of key scenes and the total number of scenes to obtain the key scene rate corresponding to the newly added scene information;

[0151] If the key scene rate is greater than the key scene threshold, the newly added scene information is determined as key scene information.

[0152] In a possible implementation, when the resource determination module 13 is configured to determine the key scene information from the N first scene information based on the historical interaction data, the resource determination module 13 is specifically configured to perform the following operations:

[0153] Determine, based on the historical interaction data, the scene interaction duration and the number of scene interactions of the first subject under the N first scene information respectively;

[0154] Inputting the scene interaction duration and the number of scene interactions into a key probability model, generating interaction features of the first object for each of the N first scene information based on the scene interaction duration and the number of scene interactions in the key probability model, and outputting key scene probabilities of the first object for each of the N first scene information based on the interaction features;

[0155] The key scene probability whose key scene probability is greater than or equal to the key probability threshold is determined as the target key scene probability, and the first scene information corresponding to the target key scene probability is determined as the key scene information.

[0156] In a possible implementation, the M pieces of scenario information include target scenario information; when the resource determination module 13 is configured to obtain historical interaction data of the first object for the business application, the resource determination module 13 is specifically configured to perform the following operations:

[0157] When the first object enters the target business scenario indicated by the target scenario information in the business application, associating the business scenario identifier corresponding to the target business scenario with the first object identifier of the first object;

[0158] When the first object exits the target business scenario in the business application, the scene interaction duration of the first object in the target business scenario is obtained, and the number of scene interactions of the first object for the target business scenario is accumulated;

[0159] Encapsulating the first object identifier, the business scenario identifier, the scenario interaction duration, and the scenario interaction count to obtain initial historical interaction data of the first object for the business application;

[0160] When the first object re-enters the target business scenario in the business application, the initial historical interaction data is updated based on the first object identifier and the business scenario identifier to obtain updated initial historical interaction data, and the updated initial historical interaction data is determined as the historical interaction data of the first object for the business application.

[0161] In a possible implementation, when the resource determination module 13 is configured to determine a target resource file for responding to a version update request based on the update scenario information, the resource determination module 13 is specifically configured to perform the following operations:

[0162] Obtain the full resource file required to update the business application to the new version, and obtain the updated resource file identifier corresponding to the updated scenario information; the full resource file contains one or more resource sub-files, each resource sub-file has a resource file identifier, and the resource file identifier is associated with one or more scenario information in the M scenario information;

[0163] A resource sub-file corresponding to the updated resource file identifier is obtained from the full resource file, and the resource sub-file corresponding to the updated resource file identifier is determined as a target resource file for responding to the version update request.

[0164] See Figure 7 , Figure 7 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 7As shown, the computer device 700 in the embodiment of the present application may include: a processor 701, a network interface 704 and a memory 705. In addition, the above-mentioned computer device 700 may also include: a user interface 703, and at least one communication bus 702. Among them, the communication bus 702 is used to realize the connection and communication between these components. Among them, the user interface 703 may include a display screen (Display), a keyboard (Keyboard), and the optional user interface 703 may also include a standard wired interface and a wireless interface. The network interface 704 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 705 may be a high-speed RAM memory, or it may be a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 705 may optionally also be at least one storage device located away from the aforementioned processor 701. As Figure 7 As shown, the memory 705 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application.

[0165] The network interface 704 may provide a network communication element; the user interface 703 may be used to provide an input interface for the user; and the processor 701 may be used to call the device control application stored in the memory 705 to perform the following operations:

[0166] Obtaining a version update request for the first object sent by the terminal device, and determining the service application indicated by the version update request based on the version identifier in the version update request;

[0167] Obtain M scenario information required for updating a business application to a new version; the M scenario information includes N first scenario information and P second scenario information; the N first scenario information refers to business scenarios for executing optional business services in the business application; the P second scenario information refers to business scenarios for executing common business services in the business application; M, N, and P are all positive integers, and the sum of N and P is M;

[0168] Obtain historical interaction data of the first object for the business application, determine key scenario information among N first scenario information based on the historical interaction data, determine the key scenario information and P second scenario information as update scenario information, and determine the target resource file for responding to the version update request based on the update scenario information.

[0169] In one possible implementation, the processor 701 is configured to determine key scene information from the N first scene information based on the historical interaction data, and specifically to perform the following operations:

[0170] Determine, based on the historical interaction data, the scene interaction durations of the first subject under the N first scene information, and the total usage duration of the first subject for the business application;

[0171] The ratio of the interaction duration of each of the N scenarios to the total usage duration is determined as the scenario duration ratio, and the scenario duration ratio that is greater than or equal to the interaction ratio threshold among the N scenario duration ratios is determined as the target scenario duration ratio;

[0172] The first scene information corresponding to the target scene duration ratio is determined as the key scene information.

[0173] In a possible implementation, the processor 701 is further configured to perform the following operations:

[0174] Based on the historical interaction data, determine the total number of times the first subject initiates the business application, and the number of scene interactions of the first subject under K third scene information; the third scene information is the first scene information in the N first scene information except the first scene information corresponding to the target scene duration ratio; K is a positive integer less than or equal to N;

[0175] Integrate the interaction times of K scenes with the total number of startups to obtain the scene loading rates corresponding to the K third scene information.

[0176] The scene loading rate that is greater than the scene loading threshold among the K scene loading rates is determined as the loading rate to be selected, and the loading rates to be selected are sorted based on the numerical values ​​of the loading rates to be selected to obtain a sequence to be selected, and A loading rates to be selected are obtained in sequence from the sequence to be selected, and the third scene information corresponding to the A loading rates to be selected is determined as the key scene information; A is a positive integer less than or equal to K.

[0177] In a possible implementation, the N first scene information include newly added scene information, and the historical interaction data is not associated with the newly added scene information; the processor 701 is further configured to perform the following operations:

[0178] Based on the newly added scene information, determining the newly added scene category corresponding to the newly added scene information;

[0179] Obtaining scene information associated with historical interaction data as historical scene information, determining scene information in the historical interaction scenes that matches the newly added scene category as a matching scene information set, determining the number of scene information in the matching scene information set as the total number of scenes, and determining the number of key scene information in the matching scene information set as the number of key scenes;

[0180] Integrate the number of key scenes and the total number of scenes to obtain the key scene rate corresponding to the newly added scene information;

[0181] If the key scene rate is greater than the key scene threshold, the newly added scene information is determined as key scene information.

[0182] In one possible implementation, the processor 701 is configured to determine key scene information from the N first scene information based on the historical interaction data, and specifically to perform the following operations:

[0183] Determine, based on the historical interaction data, the scene interaction duration and the number of scene interactions of the first subject under the N first scene information respectively;

[0184] Inputting the scene interaction duration and the number of scene interactions into a key probability model, generating interaction features of the first object for each of the N first scene information based on the scene interaction duration and the number of scene interactions in the key probability model, and outputting key scene probabilities of the first object for each of the N first scene information based on the interaction features;

[0185] The key scene probability whose key scene probability is greater than or equal to the key probability threshold is determined as the target key scene probability, and the first scene information corresponding to the target key scene probability is determined as the key scene information.

[0186] In one possible implementation, the M pieces of scenario information include target scenario information; the processor 701 is configured to obtain historical interaction data of the first object for the business application, specifically to perform the following operations:

[0187] When the first object enters the target business scenario indicated by the target scenario information in the business application, associating the business scenario identifier corresponding to the target business scenario with the first object identifier of the first object;

[0188] When the first object exits the target business scenario in the business application, the scene interaction duration of the first object in the target business scenario is obtained, and the number of scene interactions of the first object for the target business scenario is accumulated;

[0189] Encapsulating the first object identifier, the business scenario identifier, the scenario interaction duration, and the scenario interaction count to obtain initial historical interaction data of the first object for the business application;

[0190] When the first object re-enters the target business scenario in the business application, the initial historical interaction data is updated based on the first object identifier and the business scenario identifier to obtain updated initial historical interaction data, and the updated initial historical interaction data is determined as the historical interaction data of the first object for the business application.

[0191] In a possible implementation, the processor 701 is configured to determine a target resource file for responding to a version update request based on the update scenario information, specifically to perform the following operations:

[0192] obtain the full resource file required for updating the service application to the new version, and obtain the update resource file identifier corresponding to the update scenario information; the full resource file comprises one or more resource sub-files, each resource sub-file has a resource file identifier, and the resource file identifier is associated with one or more scenario information in the M scenario information;

[0193] From the full resource file, the resource sub-file corresponding to the update resource file identifier is obtained, and the resource sub-file corresponding to the update resource file identifier is determined as the target resource file for responding to the version update request.

[0194] In addition, it should be pointed out here that the embodiments of the present application also provide a computer readable storage medium, which stores a computer program, the computer program is suitable for being loaded and executed by the processor Figure 3 or Figure 5 The method provided by each step of the above Figure 3 or Figure 5 The implementation manner provided by each step of the above, which will not be described here. In addition, the beneficial effects of using the same method will not be described. For technical details not disclosed in the computer readable storage medium embodiments of the present application, please refer to the description of the method embodiments of the present application. As an example, the computer program can be deployed to execute on one computer device, or on multiple computer devices located in one place, or on multiple computer devices distributed in multiple places and interconnected through a communication network.

[0195] The computer readable storage medium can be an internal storage unit of the above-mentioned apparatus or the computer device, for example, a hard disk or a memory of the computer device. The computer readable storage medium can also be an external storage device of the computer device, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the computer readable storage medium can include both the internal storage unit and the external storage device of the computer device. The computer readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer readable storage medium can also be used to temporarily store data that has been output or will be output.

[0196] The embodiment of the present application further provides a computer program product or computer program, which comprises 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 executes the method provided in various optional manners in the method, and thus, here, no further description will be given. Figure 3 or Figure 5 The method provided in various optional manners in the method will not be described here.

[0197] The terms "first", "second", and the like in the description and claims of the present application and the accompanying drawings are used to distinguish different objects, and are not used to describe a specific order. In addition, the term "comprising" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product, or equipment including a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to the process, method, device, product, or equipment.

[0198] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined target, and can be implemented entirely or partially by using software, hardware (such as a processing circuit or a memory), or a combination thereof. Similarly, one processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of an integral module or unit that includes the functions of the module or unit.

[0199] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been described in general terms in the description. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0200] The methods and related devices provided in the embodiments of the present application are described with reference to the method flow charts and / or structural diagrams provided in the embodiments of the present application. Specifically, each process and / or block in the method flow charts and / or structural diagrams, as well as the combination of processes and / or blocks in the flow charts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processor of the computer or other programmable device generate instructions for implementing the steps in the process. Figure 1 Schematic diagram of one or more processes and / or structures Figure 1 These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device, or are transmitted through a computer-readable storage medium. Computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The instruction device is implemented in the process Figure 1 Schematic diagram of one or more processes and / or structures Figure 1 These computer program instructions can also be loaded onto a computer or other programmable device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 The flow or flows and / or structures illustrate the steps of the functions specified in one block or multiple blocks.

[0201] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0202] The modules in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0203] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A data processing method, characterized in that: The method comprises: Obtaining a version update request for the first object sent by the terminal device, and determining the service application indicated by the version update request based on the version identifier in the version update request; Obtain M pieces of scenario information required for updating the business application to a new version; the M pieces of scenario information include N pieces of first scenario information and P pieces of second scenario information; the N pieces of first scenario information refer to business scenarios for executing optional business services in the business application; the P pieces of second scenario information refer to business scenarios for executing common business services in the business application; M, N, and P are all positive integers, and the sum of N and P is M; Obtain historical interaction data of the first object for the business application, determine key scenario information among the N first scenario information based on the historical interaction data, determine the key scenario information and the P second scenario information as update scenario information, and determine the target resource file for responding to the version update request based on the update scenario information.

2. The method according to claim 1, characterized in that The determining key scene information from the N first scene information based on the historical interaction data includes: Determining, based on the historical interaction data, the scene interaction durations of the first object in the N first scene information, and the total usage duration of the first object for the business application; Determine the ratio of the interaction duration of each of the N scenes to the total usage duration as the scene duration ratio, and determine the scene duration ratio that is greater than or equal to the interaction ratio threshold among the N scene duration ratios as the target scene duration ratio; The first scene information corresponding to the target scene duration ratio is determined as the key scene information.

3. The method according to claim 2, characterized in that The method further comprises: Based on the historical interaction data, determining a total number of times the business application was started by the first object, and a number of scene interactions of the first object under K third scene information; the third scene information is first scene information among the N first scene information excluding the first scene information corresponding to the target scene duration ratio; K is a positive integer less than or equal to N; Integrate the K scene interaction times with the total startup times to obtain scene loading rates corresponding to the K third scene information respectively; The scene loading rate that is greater than the scene loading threshold among the K scene loading rates is determined as the loading rate to be selected, and the loading rates to be selected are sorted based on the numerical values ​​of the loading rates to be selected to obtain a sequence to be selected, and A loading rates to be selected are obtained in sequence from the sequence to be selected, and the third scene information corresponding to the A loading rates to be selected is determined as the key scene information; A is a positive integer less than or equal to K.

4. The method according to claim 2, characterized in that The N first scene information include newly added scene information, and the historical interaction data is not associated with the newly added scene information; the method further includes: Based on the newly added scene information, determining a newly added scene category corresponding to the newly added scene information; Obtaining scene information associated with the historical interaction data as historical scene information, determining scene information in the historical interaction scenes that matches the newly added scene category as a matching scene information set, determining the number of scene information in the matching scene information set as the total number of scenes, and determining the number of key scene information in the matching scene information set as the number of key scenes; Integrating the number of key scenes and the total number of scenes to obtain a key scene rate corresponding to the newly added scene information; If the key scene rate is greater than the key scene threshold, the newly added scene information is determined as key scene information.

5. The method according to claim 1, wherein The determining key scene information from the N first scene information based on the historical interaction data includes: Based on the historical interaction data, determining the scene interaction duration and the number of scene interactions of the first object in the N first scene information respectively; Inputting the scene interaction duration and the scene interaction count into a key probability model, generating interaction features of the first object for each of the N first scene information based on the scene interaction duration and the scene interaction count in the key probability model, and outputting key scene probabilities of the first object for each of the N first scene information based on the interaction features; The key scene probability whose key scene probability is greater than or equal to the key probability threshold is determined as the target key scene probability, and the first scene information corresponding to the target key scene probability is determined as the key scene information.

6. The method according to claim 1, characterized in that The M scenario information includes target scenario information; and obtaining historical interaction data of the first object for the business application includes: When the first object enters the target business scenario indicated by the target scenario information in the business application, associating the business scenario identifier corresponding to the target business scenario with the first object identifier of the first object; When the first object exits the target business scenario in the business application, obtaining a scene interaction duration of the first object in the target business scenario, and accumulating the number of scene interactions of the first object with respect to the target business scenario; Encapsulating the first object identifier, the business scenario identifier, the scenario interaction duration, and the scenario interaction count to obtain initial historical interaction data of the first object for the business application; When the first object re-enters the target business scenario in the business application, the initial historical interaction data is updated based on the first object identifier and the business scenario identifier to obtain updated initial historical interaction data, and the updated initial historical interaction data is determined as the historical interaction data of the first object for the business application.

7. The method according to claim 1, characterized in that The determining, based on the update scenario information, a target resource file for responding to the version update request includes: Obtaining a full resource file required for updating the business application to a new version, and obtaining an updated resource file identifier corresponding to the updated scenario information; the full resource file includes one or more resource sub-files, each resource sub-file has a resource file identifier, and the resource file identifier is associated with one or more scenario information in the M scenario information; A resource sub-file corresponding to the updated resource file identifier is obtained from the full resource file, and the resource sub-file corresponding to the updated resource file identifier is determined as a target resource file for responding to the version update request.

8. A data processing device, characterized in that: The device comprises: a request acquisition module, configured to acquire a version update request for a first object sent by a terminal device, and determine a service application indicated by the version update request based on a version identifier in the version update request; An information acquisition module, configured to acquire M pieces of scenario information required for updating the business application to a new version; the M pieces of scenario information include N pieces of first scenario information and P pieces of second scenario information; the N pieces of first scenario information refer to business scenarios for executing optional business services in the business application; the P pieces of second scenario information refer to business scenarios for executing common business services in the business application; M, N, and P are all positive integers, and the sum of N and P is M; A resource determination module is used to obtain historical interaction data of the first object for the business application, determine key scenario information among the N first scenario information based on the historical interaction data, determine the key scenario information and the P second scenario information as update scenario information, and determine the target resource file for responding to the version update request based on the update scenario information.

9. A computer device, characterized in that: Includes processor, memory, input and output interfaces; The processor is connected to the memory and the input / output interface respectively, wherein the input / output interface is used to receive and output data, the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which is suitable for being loaded and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 7.

11. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.