Resource acquisition method and apparatus, and device, medium and product

By using short-range communication technology to quickly share application resources between devices, the problem of application downloads and updates being dependent on the network is solved, and stable and efficient resource acquisition is achieved in various network environments.

WO2026138225A1PCT designated stage Publication Date: 2026-07-02TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2025-11-12
Publication Date
2026-07-02

AI Technical Summary

Technical Problem

Application downloads and updates depend on network conditions, resulting in unstable download speeds that are easily affected by the network environment, especially when bandwidth is insufficient or network quality is poor.

Method used

By using short-range communication technology, related resources can be quickly shared between devices, establishing a short-range communication connection between the first and second transmission ends, and directly obtaining application-related resources from nearby devices, avoiding downloading via the Internet.

Benefits of technology

It enables rapid acquisition of application resources without an internet connection, saving network traffic and improving the stability and efficiency of resource acquisition, making it suitable for various network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025134347_02072026_PF_FP_ABST
    Figure CN2025134347_02072026_PF_FP_ABST
Patent Text Reader

Abstract

A resource acquisition method and apparatus, and a device, a medium and a product. The method comprises: displaying at least one candidate transmission end (210); receiving a first selection operation performed on a second transmission end from among the at least one candidate transmission end (220); and when a short-range communication connection has been established between a first transmission end and the second transmission end, receiving at least one associated resource, which is sent by the second transmission end and corresponds to a first application (230).
Need to check novelty before this filing date? Find Prior Art

Description

Methods, devices, equipment, media and products for acquiring resources

[0001] This application claims priority to Chinese Patent Application No. 202411926552.5, filed on December 23, 2024, entitled “Method, Apparatus, Equipment, Medium and Product for Obtaining Resources”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of data transmission technology, and in particular to a method, apparatus, device, medium and product for acquiring resources. Background Technology

[0003] An application (APP) is software designed to help users perform one or more specific tasks. Applications can run on various devices, including personal computers, mobile devices, and servers.

[0004] In related technologies, application downloads are typically implemented by downloading and installing resources from an app store via the internet, or by visiting the application's official website or a specific download link and downloading and installing resources via the internet. Application updates are also typically implemented by downloading update resources from an app store, or by the application detecting an update is needed while connected to the internet and retrieving update resources from a platform server via the internet.

[0005] However, downloading and updating the aforementioned applications requires suitable network conditions, such as sufficient bandwidth. Furthermore, when downloading and installing / updating resources via the internet, the download speed is easily affected by the quality of the network environment, resulting in poor stability of resource downloads. Summary of the Invention

[0006] This application provides a method, apparatus, device, medium, and product for acquiring resources. The technical solution is as follows:

[0007] On the one hand, a method for acquiring resources is provided, the method being executed by a first transmission end, the method comprising:

[0008] Display at least one candidate transmission endpoint, the candidate transmission endpoint supporting the provision of associated resources of the first application to the first transmission endpoint via short-range communication;

[0009] Receive a first selection operation for a second transmission end among the at least one candidate transmission end;

[0010] When a short-range communication connection is established between the first transmission terminal and the second transmission terminal, at least one associated resource corresponding to the first application is received from the second transmission terminal.

[0011] On the other hand, a method for acquiring resources is provided, the method being executed by a second transmission end, the method comprising:

[0012] A short-range communication connection is established with a first transmission end, which is a device that requires associated resources of the first application. The first transmission end selects the second transmission end from at least one candidate transmission end as the device that provides associated resources of the first application.

[0013] Send at least one associated resource corresponding to the first application to the first transmission terminal.

[0014] On the other hand, a resource acquisition device is provided, the device comprising:

[0015] A display module is used to display at least one candidate transmission end, wherein the candidate transmission end supports providing associated resources of a first application to a first transmission end via short-range communication, and the first transmission end is the currently controlled device;

[0016] The receiving module is configured to receive a first selection operation for a second transmission end among the at least one candidate transmission end;

[0017] The transmission module is used to receive at least one associated resource corresponding to the first application sent by the second transmission terminal when a short-range communication connection is established between the first transmission terminal and the second transmission terminal.

[0018] On the other hand, a resource acquisition device is provided, the device comprising:

[0019] A connection module is used to establish a short-range communication connection with a first transmission end, the first transmission end being a device that requires associated resources of a first application, the first transmission end selecting a second transmission end from at least one candidate transmission end as a device providing associated resources of the first application, the second transmission end being a currently controlled device;

[0020] The transmission module is used to send at least one associated resource corresponding to the first application to the first transmission terminal.

[0021] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program, the code set or instruction set being loaded and executed by the processor to implement the resource acquisition method as described in any of the above embodiments of this application.

[0022] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, code set, or instruction set is stored therein, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the resource acquisition method as described in any of the embodiments of this application above.

[0023] On the other hand, a computer program product or computer program is provided, 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 any of the resource acquisition methods described in the above embodiments.

[0024] The technical solution provided in this application includes at least the following beneficial effects:

[0025] When the first transmission end has a resource requirement for the associated resources of the first application, it provides the first transmission end with candidate transmission ends in the vicinity that can provide the associated resources to the first transmission end through short-range communication. After the user selects the second transmission end from the candidate transmission ends, the associated resources are obtained through the short-range communication established between the first transmission end and the second transmission end. This enables the first transmission end to quickly obtain the associated resources through nearby devices without interacting with the Internet, which can save network transmission resources (e.g., traffic). Moreover, the fast transmission of associated resources between devices through short-range communication can improve the efficiency of obtaining associated resources while ensuring the stability of the acquisition. Attached Figure Description

[0026] Figure 1 is a structural block diagram of a computer system provided in an exemplary embodiment of this application;

[0027] Figure 2 is a flowchart of a resource acquisition method provided in an exemplary embodiment of this application;

[0028] Figure 3 is a flowchart of a resource acquisition method provided in an exemplary embodiment of this application;

[0029] Figure 4 is a flowchart of a resource acquisition method provided in an exemplary embodiment of this application;

[0030] Figure 5 is a flowchart of a resource acquisition method provided in an exemplary embodiment of this application;

[0031] Figure 6 is a schematic diagram of the interaction of functional modules provided in an exemplary embodiment of this application;

[0032] Figure 7 is a schematic diagram of the interaction of functional modules provided in an exemplary embodiment of this application;

[0033] Figure 8 is a flowchart of a resource acquisition method provided in an exemplary embodiment of this application;

[0034] Figure 9 is a schematic diagram of the update process of a game application implemented through short-range communication fast transmission, provided by an exemplary embodiment of this application;

[0035] Figure 10 is a schematic diagram of the interaction timing between a first transmitting end and a transmitting end provided in an exemplary embodiment of this application;

[0036] Figure 11 is a schematic diagram of the interaction timing between a first transmitting end and a transmitting end provided in an exemplary embodiment of this application;

[0037] Figure 12 is a structural block diagram of a resource acquisition device provided in an exemplary embodiment of this application;

[0038] Figure 13 is a structural block diagram of a resource acquisition device provided in an exemplary embodiment of this application;

[0039] Figure 14 is a structural block diagram of a resource acquisition device provided in an exemplary embodiment of this application;

[0040] Figure 15 is a structural block diagram of a terminal provided in an exemplary embodiment of this application. Detailed Implementation

[0041] First, a brief introduction to the terms used in the embodiments of this application will be given.

[0042] Short-range communication (SRC) refers to wireless communication technology that transmits data over a relatively short distance. This communication method is typically used in personal area networks (PANs) to enable connections and data exchange between devices.

[0043] Short-range communication technologies include: Bluetooth, Wireless Fidelity (Wi-Fi) Direct, Near Field Communication (NFC), and ZigBee.

[0044] Fast transfer: refers to the process by which devices quickly share related resources between devices using short-range communication technology, instead of using cellular network traffic / Wi-Fi to download related resources from the Internet at a relatively slow speed.

[0045] Figure 1 shows a structural block diagram of a computer system provided in an exemplary embodiment of this application. The computer system 100 includes: a second transmission end 110 providing associated resources and a first transmission end 120 having an associated resource acquisition requirement.

[0046] Optionally, the first transmission end 120 and the second transmission end 110 may include virtual reality (VR) devices, game consoles, desktop computers, smartphones, tablets, e-book readers, laptops, Moving Picture Experts Group Audio Layer III (MP3) players, Moving Picture Experts Group Audio Layer IV (MP4) players, box-like storage devices, etc.

[0047] In some embodiments, the second transmission terminal 110 has a first fast transfer application that supports fast transfer functionality installed and running. The first transmission terminal 120 has a second fast transfer application that supports fast transfer functionality installed and running. Optionally, the first and second fast transfer applications include system applications, game applications, download platform applications, browser applications, social applications, audio and video applications, etc., that support fast transfer functionality. Optionally, the first and second fast transfer applications can be implemented as the same application, or they can be implemented as different applications.

[0048] In this embodiment, when the first transmission terminal 120 has an application management requirement for the first application, it searches for nearby second transmission terminals 110 through a second fast transfer application and displays at least one found second transmission terminal 110. Based on the user's selection of a second transmission terminal 110, the first transmission terminal 120 establishes a short-range communication connection with the selected second transmission terminal 110. The first fast transfer application of the second transmission terminal 110 sends the associated resources of the first application to the first transmission terminal 120 through the short-range communication connection. Optionally, the first transmission terminal 120 performs application management on the first application using the received associated resources; or, the first transmission terminal 120 performs resource management within the first application using the received associated resources.

[0049] In one example, taking the second fast transfer application as a resource download application provided by the application download platform, and the associated resources for application management as an example, in the platform interface 121 provided by the resource download application, users can download the first application by searching. When a user downloads the first application in the platform page 121, it indicates that there is a need to install the first application. The resource download application provides the user with a device selection interface 122, which provides multiple second transmission terminals 110 obtained from the search. The user selects a second transmission terminal 110 from the multiple second transmission terminals 110 and enters the fast transfer interface 123. The fast transfer interface 123 provides the user with the fast transfer progress of the associated resources. After the resource fast transfer is completed, the user can execute the installation process of the first application through the application management interface 124 provided by the resource download application.

[0050] In another example, taking the second quick transfer application as the first application itself, and the associated resources used for application management as an example, when a version update of the first application is detected, the application interface 125 of the first application provides the user with an update resource download control. When the update resource download control receives a trigger operation, it indicates that there is an update requirement for the first application. The first application provides the user with a device selection interface 122, which provides multiple searched second transmission terminals 110. The user selects a second transmission terminal 110 from the multiple second transmission terminals 110 and enters the quick transfer interface 123. The quick transfer interface 123 provides the user with the quick transfer progress of the associated resources. After the resource quick transfer is completed, the user can return to the application interface 125 to complete the application update.

[0051] In another example, taking the second quick transfer application as the first application itself, and the associated resources for resource management as an example, when a user has a need for associated resource management in the first application, a resource acquisition control is provided to the user in the application interface 126 of the first application. When the resource acquisition control receives a trigger operation, it indicates that there is a need to acquire associated resources. The first application provides a device selection interface 122 to the user. The device selection interface 122 provides multiple second transmission terminals 110 obtained through searching. The user selects a certain second transmission terminal 110 from the multiple second transmission terminals 110 and enters the quick transfer interface 123. The quick transfer interface 123 provides the user with the quick transfer progress of associated resources. After the quick transfer of resources is completed, the associated resources acquired by the user are displayed in the application interface 126 of the first application. The user can use the acquired associated resources to perform operations such as item exchange, level upgrade, content unlocking, and community creation.

[0052] In some embodiments, the first transmission terminal 120 may obtain the associated resources of the first application from one second transmission terminal 110 or from multiple second transmission terminals 110, without limitation.

[0053] Based on the above introduction of terms and implementation environment, the method for obtaining resources provided in this application will be described. Taking the execution of this method by the first transmission terminal 120 in Figure 1 as an example, as shown in Figure 2, the method includes the following steps 210 to 230.

[0054] Step 210: Display at least one candidate transmission end.

[0055] Among them, the candidate transmission end supports providing the associated resources of the first application to the first transmission end via short-range communication. The first transmission end is the currently controlled device, or, in other words, the currently controlled device. Optionally, the candidate transmission end includes VR devices, game consoles, desktop computers, smartphones, tablets, e-book readers, laptops, MP3 players, MP4 players, and box-like storage devices, etc.

[0056] In this application embodiment, the associated resource is implemented as at least one resource related to the first application.

[0057] Optionally, the associated resources of the first application include at least one of the following: resources used for application management and resources within the first application used for resource management. Application management includes application installation and application updates; resource management includes operations performed within the first application using associated resources, such as resource storage, item exchange, level upgrades, content unlocking, and community creation. Examples include updating and storing files with the same name (associated resources), purchasing virtual items using virtual coins (associated resources), leveling up virtual characters using virtual experience (associated resources), and constructing virtual buildings using virtual materials (associated resources).

[0058] Optionally, the first application includes game applications, browser applications, social applications, audio and video applications, etc.

[0059] In some embodiments, a first fast transfer application supporting fast transfer functionality is installed and running on the candidate transmission end, and the candidate transmission end sends associated resources to the first transmission end through the first fast transfer application. Optionally, the first fast transfer application can be implemented as another application different from the first application, or the first fast transfer application can be implemented as the first application itself.

[0060] In some embodiments, a second fast transfer application supporting fast transfer functionality is installed and runs on the first transmitting end, and the first transmitting end obtains associated resources through the second fast transfer application. Optionally, the second fast transfer application can be implemented as an application different from the first application, or the first fast transfer application can be implemented as the first application itself. In some embodiments, when there is an application management requirement for the first application, at least one candidate transmitting end is displayed. Optionally, the application management requirement includes at least one of the requirements for installing and updating the first application. That is, when there is an application management requirement for the first application, nearby devices that can provide associated resources are automatically provided to the user, without requiring the user to actively search or perform device interaction, and the provided candidate transmitting ends are devices that are guaranteed to provide associated resources for the first application, without requiring the user to manually filter or try, thus improving the efficiency of obtaining associated resources for the first application.

[0061] In other embodiments, when there is a resource management requirement for associated resources within the first application, at least one candidate transmission endpoint is displayed. Optionally, the resource management requirement includes performing at least one resource management operation among resource storage, item exchange, level upgrade, content unlocking, and community creation using associated resources. That is, when there is a resource management requirement for resources within the first application, the system automatically provides the user with nearby devices that can provide associated resources, without requiring the user to actively search or perform device interactions. Furthermore, the provided candidate transmission endpoints are devices that are guaranteed to provide associated resources for the first application, eliminating the need for manual filtering or trying by the user, thus improving the efficiency of obtaining associated resources for the first application.

[0062] In some embodiments, if the first transmitting end meets the communication requirements for short-range communication, at least one candidate transmitting end is provided to the user. Device communication information is illustratively acquired, wherein the device communication information is used to indicate the communication type supported by the first transmitting end; if the device communication information indicates that the first transmitting end meets the communication requirements for short-range communication, at least one candidate transmitting end is acquired.

[0063] Optionally, the aforementioned communication requirements include the first transmitting end having short-range communication functionality and the first transmitting end's current communication state supporting short-range communication. In one example, when the communication requirement is to have short-range communication functionality, it is determined whether the first transmitting end has short-range communication functionality based on device communication information. For example, the device communication information includes the communication technologies supported by the first transmitting end. If the communication technologies supported by the first transmitting end include at least one short-range communication technology, it is determined that the first transmitting end has short-range communication functionality, thus satisfying the communication requirement. In another example, when the communication requirement is that the first transmitting end's current communication state supports short-range communication, it is determined that the first transmitting end's current communication state supports short-range communication, thus satisfying the communication requirement. For example, if the communication state of the first transmitting end indicates that the first transmitting end has enabled at least one of the following functions: Bluetooth, Wi-Fi, NFC, and ZigBee, it is determined that the first transmitting end's current communication state supports short-range communication, thus satisfying the communication requirement.

[0064] In another example, when the first transmitting end supports short-range communication technology, but the short-range communication function corresponding to the short-range communication technology is not enabled, the first transmitting end displays an enabling prompt message for the short-range communication function. The enabling prompt message is used to prompt the user to enable at least one short-range communication function. In response to the receiving of the enabling prompt message confirmation operation, at least one candidate transmitting end is displayed.

[0065] In some embodiments, a candidate device supporting short-range communication is searched within the range of the first device; application information of the first application is sent to the candidate device; when an application confirmation message is received from the candidate device, the candidate device is determined as a candidate transmission end, and the application confirmation message is used to indicate that the candidate device stores the associated resources of the first application.

[0066] Schematic illustration: the aforementioned first device range is used to indicate the communication range of short-range communication supported by the first transmitting end. Optionally, the aforementioned first device range is associated with the short-range communication technology used. The aforementioned candidate device supporting short-range communication refers to a candidate device that supports short-range communication technology and whose corresponding short-range communication function is enabled.

[0067] Optionally, the application information of the first application includes the application identifier of the first application, the version identifier of the first application, the resource category of the associated resources, and the resource requirement quantity of the associated resources. The application identifier of the first application is used to uniquely identify the first application, and the version identifier of the first application is used to uniquely identify the current application version of the first application in the first transmission terminal.

[0068] For example, when associated resources are used to meet application management needs, and the application management needs are implemented as installation or update needs, the application information of the first application includes the application identifier and the version identifier of the first application; as another example, when associated resources are used to meet resource management needs, the application information of the first application includes the resource type of the associated resources and the resource requirement quantity of the associated resources.

[0069] Indicatively, when a candidate device receives the application information of the first application sent by the first transmission terminal, it determines whether it has the conditions to provide the associated resources of the first application to the first transmission terminal based on its own stored associated resources. If so, it sends an application confirmation message to the first transmission terminal, which is used to indicate that the candidate device has the ability to provide the associated resources of the first application to the first transmission terminal.

[0070] Indicatively, the process of determining whether the candidate device has the conditions to provide the associated resources of the first application to the first transmission terminal can be implemented as follows: the candidate device determines the first version identifier of the first application based on the application information of the first application, and determines the resource version range of the associated resources available to the first transmission terminal based on the first version identifier; the candidate device obtains the second version identifier of the first application installed by itself, and when the second version identifier is within the resource version range, it is determined that the candidate device has the conditions to provide the associated resources of the first application to the first transmission terminal.

[0071] In some embodiments, when the candidate device is implemented as a box-like storage device, when the candidate device detects that it has not stored the first application, or when the second version identifier is not within the resource version range, the candidate device downloads the associated resources within the resource version range.

[0072] Step 220: Receive a first selection operation for a second transmission end among at least one candidate transmission end.

[0073] Optionally, the first selection operation on the second transmission end may include at least one of the following methods:

[0074] In the first case, the first transmitting end receives a control-triggered operation performed by the user on a screen displaying at least one candidate transmitting end.

[0075] Schematic illustration: When the first transmission end is a device with a touch screen, the aforementioned first selection operation can be determined by the user touching the corresponding sending end option control of the second transmission end displayed on the touch screen. Optionally, the aforementioned control triggering operation can be implemented as at least one of the following: single-click operation, double-click operation, continuous press operation, heavy press operation, drag operation, check operation, etc.

[0076] The second method involves the first transmitting end receiving a shortcut key operation signal. When the shortcut key corresponding to the shortcut key operation signal is the target shortcut key bound to the second transmitting end among the candidate transmitting ends, it is determined that the first selection operation has been received.

[0077] In illustrative terms, when the first transmitting end is a desktop computer, laptop computer, or game console, the shortcut key operation signal can be triggered by input operations from an external input device, such as by clicking the right mouse button; when the first transmitting end is a mobile terminal such as a mobile phone or tablet, the shortcut key operation signal can be triggered by triggering a physical button on the mobile terminal, or by triggering an auxiliary input device connected to the mobile terminal.

[0078] The third method involves the first transmission end receiving the user's voice. When the voice recognition result corresponding to the user's voice indicates that the second transmission end should be selected from the candidate transmission ends, it is determined that the first selection operation has been received.

[0079] Schematic illustration: When the first transmission end includes a voice acquisition component, or when the first transmission end is connected to a voice acquisition device, the aforementioned first selection operation can be triggered by user voice input through the voice acquisition component or the voice acquisition device. In some embodiments, the first transmission end performs voice recognition on the received user voice, and when the recognition result indicates that the user voice contains a voice keyword matching the second transmission end, it determines that the first selection operation has been received.

[0080] Optionally, the pre-set voice keywords associated with the candidate transmission end can be at least one of the following: the sender number, the sender name, and the device type of the sender. In one example, each candidate transmission end has a corresponding sender number, and the sender number of the second transmission end is "3". When the user voice received by the first transmission end is "select device 3", it is determined that a first selection operation for the second transmission end has been received.

[0081] Optionally, the first selection operation can be a single selection operation for one of the candidate transmission ends, or a multi-selection operation for multiple second transmission ends, that is, the number of devices of the second transmission ends can be single or multiple.

[0082] Step 230: If a short-range communication connection is established between the first transmission end and the second transmission end, receive at least one associated resource corresponding to the first application sent by the second transmission end.

[0083] Alternatively, the short-range communication connection can be implemented using short-range communication technologies such as Bluetooth, Wi-Fi Direct, NFC, and ZigBee.

[0084] Optionally, the process of establishing a short-range communication connection between the first and second transmitting ends can be implemented as follows: the first transmitting end sends a connection request to the second transmitting end, which requests the establishment of a short-range communication connection; upon receiving the connection request, the second transmitting end authenticates the device permissions of the first transmitting end through the connection request, and if it determines that the first transmitting end meets the permission requirements, it sends a receive message to the first transmitting end; upon receiving the accept message from the second transmitting end based on the connection request, the first and second transmitting ends establish a short-range communication connection. That is, by introducing a dual-end active authentication mechanism, security and reliability are guaranteed for resource transmission via near-field communication. Since the establishment of the near-field communication connection is achieved through a method where the first transmitting end requests and the second transmitting end accepts / rejects, the connection is controllable for both end users, ensuring the security boundary of data transmission.

[0085] In some embodiments, the authentication process for the device permissions of the first transmission end can be implemented automatically by the system or manually determined by the user of the second transmission end.

[0086] In one example, when the second transmission end is implemented as a box-like storage device, after receiving the connection request from the first transmission end, the second transmission end starts the authentication script to automatically authenticate the connection request; if the authentication script determines that the connection request meets the permission requirements, the second transmission end establishes a short-range communication connection with the first transmission end.

[0087] In another example, when the second transmitting end is implemented as a smartphone, after receiving a connection request from the first transmitting end, the second transmitting end displays a connection request notification message based on the connection request; in response to the connection request notification message receiving a connection acceptance operation, the second transmitting end establishes a short-range communication connection with the first transmitting end; or, in response to the connection request notification message receiving a connection rejection operation, the second transmitting end sends a connection rejection message to the first transmitting end, the connection rejection message being used to indicate that the second transmitting end refuses to establish a short-range communication connection with the first transmitting end; the first transmitting end displays a connection rejection prompt message based on the received rejection message.

[0088] Optionally, after receiving the rejection message, the first transmitting end returns to the device selection page displaying candidate transmitting ends, whereby the user can select the second transmitting end again to request to establish a short-range communication connection with the second transmitting end, or the user can select other transmitting ends from the candidate transmitting ends to request to establish a short-range communication connection with other transmitting ends.

[0089] Optionally, while refusing to establish short-range communication with the first transmission end, the second transmission end may also permanently refuse to establish short-range communication with the first transmission end, that is, add the first transmission end to the blacklist, so that the first transmission end can no longer search for the second transmission end and request to establish a short-range communication connection with the second transmission end.

[0090] Optionally, the process of establishing a short-range communication connection between the first and second transmitting ends can also be implemented as follows: receiving a code input operation, wherein the code input operation is used to determine the verification code to be input for connection verification; and establishing a short-range communication connection with the second transmitting end if the verification code matches the corresponding verification code of the second transmitting end. That is, establishing a short-range communication connection through a verification code eliminates the reliance on real-time connection requests, reducing the real-time requirement for establishing a short-range communication connection and thus increasing the flexibility of establishing a short-range communication connection while ensuring its security.

[0091] Optionally, the process of establishing a short-range communication connection between the first transmitting end and the second transmitting end can also be implemented as follows: acquiring historical connection data, wherein the historical connection data is used to record the historical communication connections established by the first transmitting end within a historical period; and establishing a short-range communication connection with the second transmitting end when the historical connection data includes historical records of the communication connections established between the first and second transmitting ends. That is, verifying the current short-range communication connection by verifying the historical connection data improves the connection efficiency of establishing short-range communication connections between devices, reduces the frequent interactions required for multiple connections between the same devices, and reduces the amount of user operation.

[0092] Optionally, the short-range communication connection between the first transmitting end and the second transmitting end can also be established through various other methods, such as the first transmitting end sending a text message to the second transmitting end, the first transmitting end logging into a mini-program associated with the second transmitting end, the first transmitting end connecting to the hotspot of the second transmitting end, or the first and second transmitting ends scanning the same tag or QR code. No limitation is imposed here.

[0093] Optionally, the determination of at least one associated resource can be implemented in at least one of the following ways:

[0094] The first method is to determine the outcome through user selection.

[0095] Schematic illustration: The first transmitting end displays at least one resource candidate for a first application provided by the second transmitting end, the resource candidate indicating the associated resource to be selected; receives a second selection operation on the first resource item among the at least one resource candidate; and, when a short-range communication connection is established between the first and second transmitting ends, receives at least one associated resource corresponding to the first application sent by the second transmitting end based on the first and second selection operations, wherein the at least one associated resource includes an associated resource corresponding to the first resource item. That is, by automatically identifying and detecting associated resources available from nearby devices, allowing users to customize the selection of received associated resources, an optimal balance can be achieved between automation and user autonomy. On the one hand, intelligent scanning eliminates the cost of manual resource discovery for users; on the other hand, by giving users the final choice, the accuracy and personalization of resource acquisition are ensured. Users can flexibly filter from the list of available resources according to their storage space, version preferences, or actual needs, thereby achieving on-demand downloading, avoiding the receipt of unnecessary or redundant resource packages, and preventing the waste of communication resources due to the actual transmitted resources contradicting the user's wishes.

[0096] Optionally, the second selection operation may be received after the first transmission end and the second transmission end establish a short-range communication connection. Illustratively, in the case of an application management requirement for the first application, at least one candidate transmission end is displayed; a first selection operation for the second transmission end is received from among the at least one candidate transmission end; a short-range communication connection is established with the second transmission end based on the first selection operation; if the short-range communication connection is successfully established, at least one resource candidate for the first application provided by the second transmission end is displayed; a second selection operation is received for a first resource item among the at least one resource candidate; and at least one associated resource sent by the second transmission end is received based on the second selection operation.

[0097] Optionally, the second selection operation may be received before the first transmission end and the second transmission end establish a short-range communication connection. Illustratively, in the presence of application management requirements for the first application, at least one candidate transmission end is displayed, along with at least one resource candidate for the first application provided by the candidate transmission end; a first selection operation for the second transmission end is received from among the at least one candidate transmission end, and a second selection operation is received for a first resource item among the at least one resource candidate provided by the second transmission end; based on the first and second selection operations, a short-range communication connection is established with the second transmission end; and at least one associated resource is received from the second transmission end.

[0098] It is worth noting that the selection of at least one associated resource can be determined not only before the two devices are connected, as mentioned above, but also after the two devices are connected. Alternatively, some associated resources can be confirmed before the two devices are connected, and another part of the associated resources can be confirmed after the two devices are connected. No limitation is made here.

[0099] The second method involves automatically determining the strategy.

[0100] In a schematic scenario where a short-range communication connection is established between a first transmission end and a second transmission end, at least one resource candidate for a first application provided by the second transmission end is determined. Based on a demand identification strategy corresponding to the first application, at least one second resource item is determined from the at least one resource candidate, wherein the demand identification strategy is used to identify the first transmission end's demand for associated resources corresponding to the at least one resource candidate. Based on the at least one second resource item, at least one associated resource corresponding to the first application sent by the second transmission end is received, wherein the at least one associated resource includes an associated resource corresponding to the at least one second resource item. That is, after automatically identifying and detecting associated resources that can be provided by nearby devices, automated associated resource selection is achieved according to the demand identification strategy corresponding to the first application, thereby realizing fully automated associated resource acquisition, reducing user operations, and improving the accuracy and reliability of resource acquisition through a fully automated decision-making process.

[0101] In some embodiments, the above-described requirement identification strategy is associated with the application management requirements or resource management requirements of the first application.

[0102] In one example, when the application management requirement is an installation requirement, the requirement identification strategy indicates that at least one second resource item indicates that the associated resource includes necessary resource files, where the necessary resource files are resource data that supports the application startup of the first application. Optionally, the requirement identification strategy indicates that at least one second resource item indicates that the associated resource may also include extended resource files, such as update resource files, quality improvement files, etc., where the update resource package is resource data that updates the first application to a specified version, and the quality improvement package is resource data used to improve the application quality of the first application. For example, the quality improvement file can be used to improve the picture quality, sound quality, or diversified functions of the application content provided by the first application.

[0103] In another example, when the application management requirement is an update requirement, the requirement identification strategy indicates that at least one of the associated resources indicated by the second resource item includes extended resource files, such as update resource files, quality improvement files, etc.

[0104] In another example, when the resource management requirement is to perform an operation of exchanging items using associated resources, the requirement identification strategy indicates that the associated resources indicated by at least one second resource item are determined by the quantity and type of resources that match the required exchange resources of the target item. For example, if the required exchange resources of the target item are 500 "sapphires", and the user account with the resource requirement (i.e., the user account logged in by the first transmission terminal) already has 100 "sapphires", then the requirement identification strategy indicates that the associated resources provided by the second transmission terminal to the first transmission terminal include 400 "sapphires".

[0105] Optionally, the aforementioned demand identification strategy can be pre-set by the user, or it can be determined by the first transmission end based on device information and account information. Optionally, the aforementioned device information includes chip model, processor model, RAM size, remaining storage space size, etc., and the aforementioned account information includes account resource quantity, account level, account permissions, etc.

[0106] Optionally, when at least one associated resource is determined by a policy, the at least one associated resource may be determined by the first transmission end or by the second transmission end, without limitation.

[0107] Optionally, the short-range communication connection established between the first transmission end and the second transmission end can be a one-to-one, many-to-one, one-to-many, or many-to-many communication connection, and no limitation is made here.

[0108] In some embodiments, during the process of receiving associated resources, the first transmitting end detects the distance between itself and the second transmitting end in real time to avoid the distance between the first transmitting end and the second transmitting end exceeding the communication range of short-range communication. Illustratively, during the process of receiving at least one associated resource corresponding to a first application sent by the second transmitting end, device distance information between itself and the second transmitting end is obtained, wherein the device distance information is used to indicate the distance between the first transmitting end and the first sending device; a connection range threshold corresponding to the short-range communication connection is obtained, the connection range threshold being used to indicate the data interaction range between devices under the short-range communication connection; when the device distance information reaches the connection range threshold, a range prompt message is displayed, wherein the range prompt message is used to indicate that the distance between the first transmitting end and the second transmitting end exceeds the transmission range corresponding to the short-range communication connection.

[0109] In some embodiments, the distance between the first and second transmitting ends is determined by detecting the signal strength of the communication connection; that is, the higher the signal strength, the closer the devices are. Illustratively, during the process of receiving at least one associated resource corresponding to the first application sent by the second transmitting end, the signal strength corresponding to the short-range communication connection is obtained; if the signal strength is lower than a first signal threshold, the data transmission of at least one associated resource is interrupted, and the context data of at least one associated resource at the interruption point is saved. Optionally, if the signal strength is lower than a second signal threshold, a range indication message is displayed, wherein the range indication message is used to indicate that the distance between the first and second transmitting ends exceeds the transmission range corresponding to the short-range communication connection. Optionally, the first and second signal thresholds can be the same or different, and are not limited here.

[0110] Optionally, the above signal strength can be implemented as a Received Signal Strength Indication (RSSI) value, a Wi-Fi signal strength value, a Bluetooth signal strength value, etc.

[0111] In one example, an RSSI value above a certain threshold indicates that the distance between the two devices remains within usable range. After establishing a connection, the first transmitting end continuously monitors the RSSI value. When the RSSI value drops to the first signal threshold, it may indicate that the first transmitting end has exceeded the effective distance. In this case, data transmission needs to be interrupted and the breakpoint saved. This first signal threshold can be set slightly higher than the RSSI threshold for normal disconnection. This way, when the value drops to the set critical point, interruption can be performed promptly, the breakpoint context can be saved, and some potential data loss and transmission anomalies can be avoided to a certain extent.

[0112] In another example, when using Wi-Fi Direct for transmission, you can continuously monitor Wi-Fi signal strength and connection status changes (e.g., using `WifiP2pManager.ConnectionInfoListener`) to determine if the connection is broken. Besides selectively interrupting transmission by setting a Wi-Fi signal strength threshold, you can also periodically send heartbeat packets to the second transmitting end during transmission to check the connection status. If the heartbeat packet is not successfully received, it may indicate that the connection is out of range or an abnormal connection has occurred, requiring immediate interruption of transmission.

[0113] In some embodiments, when the connection between the first transmitting end and the second transmitting end is interrupted, the first transmitting end attempts to re-establish a short-range communication connection with the second transmitting end. If the first transmitting end and the second transmitting end restore the short-range communication connection, the first transmitting end reads the context data of the breakpoint and resumes the transmission of the associated resources based on the context data of the breakpoint.

[0114] In this embodiment of the application, the associated resource can be implemented as a resource for application management or resource management. Optionally, depending on different needs, the first transmission end can perform application management or resource management after receiving the associated resource.

[0115] Application management: Illustratively, application management is performed on the first application through at least one associated resource.

[0116] Application management includes at least one of application installation and application update. In some embodiments, if the first transmission end has already installed the first application before receiving at least one associated resource, the first transmission end updates the first application through at least one associated resource. In other embodiments, if the first transmission end has not installed the first application before receiving at least one associated resource, the first transmission end installs the first application through at least one associated resource. Optionally, after the first application is installed, the first transmission end can also update the first application through at least one associated resource. That is, by establishing a near-field communication connection with nearby devices, and obtaining application installation resources and / or update resources through the near-field communication connection, the associated resources of the application can be quickly obtained without interacting with the Internet when there is an application management need. Even in a network-free state, application download, installation, and update can be achieved, thereby adapting to diverse application management scenarios, such as: in remote areas with signal blind spots, disaster areas with damaged network infrastructure, or temporary high-density crowds such as large exhibitions, to achieve rapid deployment and updates of applications; and to ensure the normal installation and upgrade of necessary software tools in airplane mode or strictly controlled network environments. In addition, this approach can effectively reduce reliance on cloud servers, alleviate network bandwidth pressure, and enhance user data privacy protection capabilities through localized resource distribution, providing a more flexible, robust, and universally applicable supplementary solution for the mobile application ecosystem.

[0117] In some embodiments, before implementing application management through at least one associated resource, the first transmission end performs a transmission correctness check and an integrity check of the necessary resources of the first application on at least one associated resource. If it is found that the necessary resource files required for the first application to start are missing, the user will be prompted to continue to perform resource fast transfer through a short-range communication connection or download from the network.

[0118] In some embodiments, when the second transmitting end sends at least two associated resources to the first transmitting end, the first transmitting end, upon receiving at least two associated resources, integrates the at least two associated resources to obtain an integrated resource file, wherein the at least two associated resources are resources obtained by the second transmitting end after unpacking the resource file of the first application; and application management is performed on the first application through the resource file.

[0119] In other words, when the second transmission end sends associated resources to the first transmission end, the second splitting time period can choose to split the resource file into packets and transmit them independently, effectively avoiding the risk of interruption due to network fluctuations in a single large file transmission. Even if a certain resource packet fails to be transmitted, only that specific packet needs to be retransmitted, rather than the entire resource file. This greatly reduces the cost of transmission failure while ensuring the robustness of the overall process.

[0120] In some embodiments, the above-mentioned at least two associated resources are data that the second transmission end unpacks and sends sequentially to the first transmission end. In this case, if a short-range communication connection is interrupted during the transmission of at least two associated resources, the resource identifiers of the received valid associated resources can be recorded. After the short-range communication connection is restored, the last valid associated resource can be determined by the resource identifiers of the received valid associated resources, so as to continue transmitting the next associated resource.

[0121] In some embodiments, after obtaining the integrated resource files, a transmission correctness check and a completeness check of the necessary resources for the first application are performed on the integrated resource files. If it is found that the necessary resource files required for the first application to start are missing, the user will be prompted to continue to transfer the resources via a short-range communication connection or download them from the network.

[0122] Resource Management: Illustratively, resource management is performed using associated resources within the first application.

[0123] Optionally, resource management includes at least one of resource storage, item exchange, level upgrade, content unlocking, and community creation.

[0124] In some embodiments, a first account logged into the first application on the second transmitting end provides associated resources to a second account logged into the first transmitting end via Fast Transfer. For example, the second transmitting end transfers 100 virtual coins held by the first account to the second account on the first transmitting end via Fast Transfer.

[0125] In some embodiments, before implementing resource management through at least one associated resource, the first transmitting end performs a transmission correctness check on the at least one associated resource. Illustratively, the first transmitting end matches the received at least one associated resource with the resource category and quantity corresponding to the current resource management requirement. If it is determined that the resource category and quantity of the received at least one associated resource are correct, resource management is performed.

[0126] In some embodiments, before resource management is implemented through at least one associated resource, the first transmission end and the second transmission end perform resource conservation confirmation between accounts. Schematic, the first transmission end feeds back the resource type and resource quantity of the associated resource received to the second transmission end. The second transmission end, based on the resource type and resource quantity of the associated resource that the first account has reduced, and after verification and confirmation, feeds back a verification confirmation message to the first transmission end.

[0127] In one example, taking the first application as a game application, when a user holding the first transmission terminal needs to redeem a virtual item in the game application, but does not have enough virtual coins to redeem the virtual item, the game application provides the user with a fast transfer function. After the first transmission terminal obtains virtual coins from the second transmission terminal through the fast transfer function, it uses the virtual coins to redeem the virtual item.

[0128] In another example, taking the first application as a document application, the first and second transmission terminals each store the same document file a. When a user holding the second transmission terminal edits the document file a stored in the second transmission terminal and obtains a document file a', the user can transmit the edited document file a' to the first transmission terminal through short-range communication. The user holding the first transmission terminal can choose to save the received document file a' as a different file or use the document file a' to replace and update the document file a stored in the first transmission terminal.

[0129] In summary, when the first transmission end has a resource requirement for the associated resources of the first application, it provides the first transmission end with candidate transmission ends in the vicinity that can provide associated resources to the first transmission end through short-range communication. After the user selects a second transmission end from the candidate transmission ends, the associated resources are obtained through the short-range communication established between the first and second transmission ends. This enables the first transmission end to quickly obtain associated resources through nearby devices without interacting with the Internet, thus saving network transmission resources (e.g., traffic). Furthermore, the fast transmission of associated resources between devices through short-range communication can improve the efficiency of associated resource acquisition while ensuring the stability of associated resource acquisition.

[0130] In some optional embodiments, when the associated resource is used for application management, the second fast-transfer application in the first transmission end can be implemented as a download application provided by the application download platform, or it can be implemented as the first application itself. For illustration, please refer to Figure 3, which shows a flowchart of a resource acquisition method provided in an exemplary embodiment of this application, the method including the following steps.

[0131] The second fast transfer application enables resource downloading for application download platforms:

[0132] Step 2111: Display the platform interface provided by the application download platform.

[0133] In some embodiments, the application in the first transmitting end capable of providing fast transfer functionality via short-range communication is a resource download application provided by the application download platform. Illustratively, the aforementioned application download platform is used to provide download functionality for associated resources. The first transmitting end displays a platform interface through the resource download application, which provides users with associated resources for at least one application, including the first application.

[0134] Step 2112: Receive application management operations for the first application.

[0135] The aforementioned application management operations are used to determine whether to perform at least one of an application download operation and / or an application update operation for the first application. In some embodiments, the application download operation is implemented as follows: the platform interface displays the first application and a download control corresponding to the first application; in response to the download control receiving a control trigger operation, it is determined that an application download operation for the first application has been received. Optionally, the platform interface recommends the first application to the user; or, the user obtains the first application by searching in the platform interface through a search operation.

[0136] In some optional embodiments, the above application update operation is implemented as follows: the platform interface displays the installed applications in the first transmission terminal, the installed applications include the first application, the platform interface also displays the update control corresponding to the first application, and in response to the update control receiving the control trigger operation, it is determined that an application update operation for the first application has been received.

[0137] Step 2113: Display at least one candidate transport endpoint based on application management operations.

[0138] In this embodiment of the application, when the first transmission terminal receives an application management operation, it determines that there is an application management requirement for the first application. Optionally, when the first transmission terminal receives an application download operation, it determines that there is an installation requirement for the first application, or a combination of installation and update requirements; when the first transmission terminal receives an application update operation, it determines that there is an update requirement for the first application.

[0139] In some embodiments, when there is an application management requirement for the first application, candidate devices that support short-range communication within the range of the first device are searched; application information of the first application is sent to the candidate devices; when an application confirmation message is received from a candidate device, the candidate device is identified as a candidate transmission end; at least one candidate transmission end is displayed.

[0140] For illustrative purposes, the aforementioned candidate devices that support short-range communication refer to candidate devices that support short-range communication technology and whose corresponding short-range communication function is enabled.

[0141] Optionally, the application information of the first application includes the application identifier and version identifier of the first application. For example, when the application management requirement is implemented as an installation requirement or an update requirement, the application information of the first application includes the application identifier and version identifier of the first application.

[0142] Indicatively, when a candidate device receives the application information of the first application sent by the first transmission terminal, it determines whether it has the conditions to provide the associated resources of the first application to the first transmission terminal based on its own stored associated resources. If so, it sends an application confirmation message to the first transmission terminal, which indicates that the candidate device has the ability to provide the associated resources of the first application to the first transmission terminal.

[0143] In other words, when the resource download application determines that a user has an application management need for the first application, it automatically searches for candidate transmission terminals in the user's surrounding devices that have the first application installed and whose associated resources stored on the device can meet the above application management needs. By actively filtering and presenting available candidate transmission terminals, it not only clearly provides the user with the available resource devices in the current environment, but also fundamentally eliminates the tediousness of the user manually searching, asking one by one, or trying repeatedly, ensuring the accuracy and efficiency of the resource acquisition path, thereby ensuring the subsequent stable transmission and greatly optimizing the efficiency of the user's acquisition of associated resources for the application in the absence of network or weak network environment.

[0144] The second fast transfer application is implemented as the first application itself:

[0145] Step 2121: During the operation of the first application, obtain the application version information of the first application.

[0146] The application version information of the first application is used to indicate the current application version of the first application. In some embodiments, the first transmission end has the first application installed, and during the operation of the first application, the first application can provide fast transmission functionality through short-range communication.

[0147] Optionally, the above-described operation process includes the startup process and the function operation process of the first application. In one example, in response to the startup of the first application, the application version information of the first application is obtained, and the application version of the first application is verified based on the application version information to confirm whether the first application is in a state awaiting update. In another example, during the function operation of the first application, the application version information of the first application is detected at a preset detection frequency, and the application version of the first application is verified based on the application version information to confirm whether the first application is in a state awaiting update. That is, during the process of the first application providing application functions to the user, the first application can continuously detect whether there is a need for hot update, where hot update refers to the process of allowing the application to dynamically load updated resources and implement application updates without closing or restarting.

[0148] Step 2122: If the application version information indicates that the first application is in a pending update state, display at least one candidate transmission end.

[0149] In this embodiment of the application, when the application version information of the first application indicates that the first application is in a state of pending update, it is determined that there is an application management requirement for the first application.

[0150] In some embodiments, after determining that the application version information of the first application indicates that the first application is in a pending update state, it is further determined whether there is an application management requirement for the first application at the current moment based on the current operating load of the first application. Illustratively, when the application version information indicates that the first application is in a pending update state, the operating load information of the first application is obtained, wherein the operating load information is used to indicate the resource occupancy of the first transmission end during the operation of the first application; if the operating load information meets the resource update requirements, at least one candidate transmission end is displayed.

[0151] Optionally, the runtime load information includes the network communication bandwidth used by the first application, the amount of runtime memory resources used, the amount of processor resources used, the amount of disk resources used, and the input / output (I / O) latency, etc.

[0152] In other words, before automatically searching for candidate transmission endpoints in the vicinity, the current operating load information of the device is detected. Only when the operating load information meets the resource update requirements is the search for candidate transmission endpoints executed. This effectively avoids device lag, overheating, or power consumption surges that may occur when performing search tasks under high load conditions, thus ensuring the smooth operation of the device's core functions and the user experience. This pre-detection mechanism, through intelligent prediction of system resources, ensures that the search behavior is triggered only in a suitable system environment. On the one hand, it improves the execution efficiency and success rate of the search process; on the other hand, it achieves an optimal balance between power consumption and performance at the system level.

[0153] In one example, taking the network communication bandwidth and memory resource usage of the first application as examples, when the network communication bandwidth is less than the first threshold and the memory resource usage is less than the second threshold, the load status is determined to meet the resource update requirements.

[0154] In some embodiments, when there is an application management requirement for the first application, candidate devices that support short-range communication within the range of the first device are searched; application information of the first application is sent to the candidate devices; when an application confirmation message is received from a candidate device, the candidate device is identified as a candidate transmission end; at least one candidate transmission end is displayed.

[0155] For illustrative purposes, the aforementioned candidate devices that support short-range communication are devices that support short-range communication technology and whose corresponding short-range communication function has been enabled.

[0156] Optionally, the application information of the first application may include the application identifier of the first application, the version identifier of the first application, etc.

[0157] Indicatively, when a candidate device receives the application information of the first application sent by the first transmission terminal, it determines whether it has the conditions to provide the associated resources of the first application to the first transmission terminal based on its own stored associated resources. If so, it sends an application confirmation message to the first transmission terminal, which indicates that the candidate device has the ability to provide the associated resources of the first application to the first transmission terminal.

[0158] In other words, when an application detects that it needs to update its version, it automatically searches for candidate transmission terminals in the user's surrounding devices that have the first application installed and can provide the updated version. By actively filtering and presenting available candidate transmission terminals, it not only clearly provides the user with the available resource devices in the current environment, but also fundamentally eliminates the tedious process of manually searching, asking one by one, or trying repeatedly. This ensures the accuracy and efficiency of the resource acquisition path, thereby guaranteeing stable subsequent transmission and greatly optimizing the efficiency of the application's associated resource acquisition in environments with no network or weak network.

[0159] Step 220: Receive a first selection operation for a second transmission end among at least one candidate transmission end.

[0160] In this embodiment of the application, when the first transmission end can find at least two candidate transmission ends, the user can select multiple devices from the at least two candidate transmission ends. That is, the user can select multiple candidate transmission ends at the same time to obtain the associated resources of the first application.

[0161] In this embodiment, the first selection operation is a multi-selection operation for multiple second transmission terminals. Optionally, the first selection operation can be implemented as a single-click operation / double-click operation / press operation / check operation, or a sliding operation between multiple second transmission terminals, etc., and is not limited here.

[0162] Step 230: If a short-range communication connection is established between the first transmission end and the second transmission end, receive at least one associated resource corresponding to the first application sent by the second transmission end.

[0163] It is worth noting that steps 220 and 230 are the same execution steps as steps 220 and 230 in Figure 2, and will not be described again here.

[0164] Step 240: Perform application management on the first application through at least one associated resource.

[0165] Application management includes at least one of application installation and application update. In some embodiments, if the first transmission end has already installed the first application before receiving at least one associated resource, the first transmission end updates the first application through at least one associated resource. In other embodiments, if the first transmission end has not installed the first application before receiving at least one associated resource, the first transmission end installs the first application through at least one associated resource. Optionally, after the first application is installed, the first transmission end can also update the first application through at least one associated resource.

[0166] In some embodiments, before implementing application management through at least one associated resource, the first transmission end performs a transmission correctness check and an integrity check of the necessary resources of the first application on at least one associated resource. If it is found that the necessary resource files required for the first application to start are missing, the user will be prompted to continue to perform resource fast transfer through a short-range communication connection or download from the network.

[0167] In some embodiments, when the second transmitting end sends at least two associated resources to the first transmitting end, the first transmitting end, upon receiving at least two associated resources, integrates the at least two associated resources to obtain an integrated resource file, wherein the at least two associated resources are resources obtained by the second transmitting end after unpacking the resource file of the first application; and application management is performed on the first application through the resource file.

[0168] In some embodiments, the above-mentioned at least two associated resources are data that the second transmission end unpacks and sends sequentially to the first transmission end. In this case, if a short-range communication connection is interrupted during the transmission of at least two associated resources, the resource identifiers of the received valid associated resources can be recorded. After the short-range communication connection is restored, the last valid associated resource can be determined by the resource identifiers of the received valid associated resources, so as to continue transmitting the next associated resource.

[0169] In some embodiments, after obtaining the integrated resource files, a transmission correctness check and a completeness check of the necessary resources for the first application are performed on the integrated resource files. If it is found that the necessary resource files required for the first application to start are missing, the user will be prompted to continue to transfer the resources via a short-range communication connection or download them from the network.

[0170] In summary, when the first transmission end has application management requirements for the first application, it provides the first transmission end with candidate transmission ends in the vicinity that can provide associated resources to the first transmission end through short-range communication. The second transmission end selected by the user from the candidate transmission ends obtains associated resources through short-range communication for application management. This enables the first transmission end to quickly obtain associated resources through nearby devices without interacting with the Internet, thus saving network transmission resources (e.g., traffic). Furthermore, the fast transmission of associated resources between devices through short-range communication can improve the efficiency of associated resource acquisition while ensuring the stability of associated resource acquisition.

[0171] In this embodiment, when managing the first application through the application download platform, the user can use short-range communication technology to obtain the associated resources of the first application from the second transmission end to perform application management. This allows the associated resources required by the first transmission end to be quickly obtained from the surrounding devices, without having to obtain the associated resources from the server corresponding to the application download platform through the network. This improves the efficiency of obtaining associated resources and reduces the load pressure on the server corresponding to the application download platform.

[0172] In this embodiment of the application, when the first application installed on the first transmission terminal has an update requirement during operation, the associated resources for the update can be quickly obtained from surrounding devices without having to establish a network connection with the application server of the first application to download the associated resources. This improves the efficiency of obtaining associated resources and reduces the load pressure on the application server.

[0173] In some optional embodiments, the first transmitting end can establish short-range communication connections with multiple transmitting ends to achieve the acquisition of associated resources. Please refer to Figure 4, which shows a flowchart of a resource acquisition method provided in an exemplary embodiment of this application, the method including the following steps.

[0174] Step 410: If there is an application management requirement for the first application, display the candidate transmission end.

[0175] Among them, the candidate transmission end supports providing the associated resources of the first application to the first transmission end through short-range communication.

[0176] In some embodiments, a first fast transfer application that supports fast transfer functionality is installed and running on the candidate transfer end, and the candidate transfer end sends associated resources to the first transfer end through the first fast transfer application.

[0177] In some embodiments, a second fast transfer application that supports fast transfer functionality is installed and runs on the first transmitting end, and the first transmitting end obtains associated resources through the second fast transfer application.

[0178] Optionally, application management requirements may include at least one of the requirements for installing and updating the first application.

[0179] Step 420: If at least two candidate transmission ends are provided, receive a first selection operation on at least two second transmission ends among the at least two candidate transmission ends.

[0180] In this embodiment of the application, when the first transmission end can find at least two candidate transmission ends, the user can select multiple devices from at least two candidate transmission ends.

[0181] In this embodiment of the application, the first selection operation is a multi-selection operation on multiple second transmission ends.

[0182] Step 430: If a short-range communication connection is established between the first transmission end and the i-th second transmission end among at least two second transmission ends, the i-th associated resource corresponding to the first application is received from the i-th second transmission end.

[0183] Where i is a positive integer.

[0184] Optionally, when the first transmitting end establishes short-range communication connections with at least two second transmitting ends respectively, the first transmitting end may establish short-range communication connections with at least two second transmitting ends simultaneously; or, at least each of the second transmitting ends may establish short-range communication connections with the first transmitting end in a specified order, that is, to realize multiple one-to-one transmissions.

[0185] In some embodiments, when the first transmitting end can simultaneously establish short-range communication connections with at least two second transmitting ends, a many-to-one parallel transmission is adopted between the at least two second transmitting ends and the first transmitting end.

[0186] Optionally, the short-range communication technologies used between the first transmitting end and at least two second transmitting ends can be the same or different. For example, the first transmitting end can be connected to transmitter a via Bluetooth, the first transmitting end can be connected to transmitter b via Wi-Fi Direct, and the first transmitting end can be connected to transmitter c via ZigBee, thereby achieving many-to-one parallel transmission. Alternatively, transmitters a, b, and c can be connected to the first transmitting end via the group function of Wi-Fi Direct technology, thereby achieving many-to-one parallel transmission.

[0187] In some embodiments, at least two second transmission ends are used to provide different associated resources, that is, the associated resources used to implement application management are split and different parts of the associated resources are provided to the first transmission end by different second transmission ends.

[0188] Optionally, application management is performed on the first application by sending associated resources of the first application through at least two second transmission ends.

[0189] Application management includes at least one of application installation and application update. In some embodiments, if the first transmission terminal has already installed the first application before receiving associated resources sent by at least two second transmission terminals, the first transmission terminal updates the first application using the associated resources sent by the at least two second transmission terminals. In other embodiments, if the first transmission terminal has not installed the first application before receiving associated resources sent by at least two second transmission terminals, the first transmission terminal installs and updates the first application using the associated resources sent by the at least two second transmission terminals. Optionally, after the first application is installed, the first transmission terminal can also update the first application using the associated resources sent by the at least two second transmission terminals.

[0190] In some embodiments, when at least two associated resources are received, the at least two associated resources are integrated to obtain an integrated resource file; application management is performed on the first application through the resource file.

[0191] In some embodiments, after obtaining the integrated resource files, a transmission correctness check and a completeness check of the necessary resources for the first application are performed on the integrated resource files. If it is found that the necessary resource files required for the first application to start are missing, the user will be prompted to continue to transfer the resources via a short-range communication connection or download them from the network.

[0192] Optionally, the associated resources of the first application, transmitted through at least two second transmission terminals respectively, are used to perform resource management within the first application.

[0193] Optionally, resource management includes at least one of resource storage, item exchange, level upgrade, content unlocking, and community creation.

[0194] In some embodiments, a first account logged into the first application on the second transmitting end provides associated resources to a second account logged into the first transmitting end via Fast Transfer. For example, the second transmitting end transfers 100 virtual coins held by the first account to the second account on the first transmitting end via Fast Transfer.

[0195] In some embodiments, when at least two associated resources are received, the at least two associated resources and the account resources of the second account are integrated to obtain integrated account resources, and resource management is performed by consuming account resources.

[0196] In summary, the first transmission end establishes short-range communication connections with multiple second transmission ends to achieve concurrent transmission of associated resources, thereby effectively utilizing surrounding devices that store associated resources of the first application and improving the efficiency of acquiring associated resources.

[0197] Please refer to Figure 5, which shows a flowchart of a resource acquisition method provided by an exemplary embodiment of this application. Taking the method as being executed by a second transmission end as an example, the method includes steps 510 to 520.

[0198] Step 510: Establish a short-range communication connection with the first transmission end.

[0199] The first transmission end is the device that requires the associated resources of the first application, and the second transmission end is the currently controlled device, or, as understood, the currently controlled device.

[0200] Optionally, the associated resources of the first application include at least one of the following: resources used for application management and resources within the first application used for resource management. Application management includes application installation and application updates; resource management includes operations performed within the first application using associated resources, such as resource storage, item exchange, level upgrades, content unlocking, and community creation. Examples include updating and storing files with the same name (associated resources), purchasing virtual items using virtual coins (associated resources), leveling up virtual characters using virtual experience (associated resources), and constructing virtual buildings using virtual materials (associated resources).

[0201] In some embodiments, the short-range communication connection between the first transmitting end and the second transmitting end can be initiated by either the first transmitting end or the second transmitting end.

[0202] Schematic, when a short-range communication connection is initiated by a first transmitting end, the first transmitting end selects a second transmitting end from at least one candidate transmitting end as a providing device for associated resources of the first application; when a short-range communication connection is initiated by a second transmitting end, the second transmitting end selects a first transmitting end from at least one candidate transmitting end as a receiving device for associated resources of the first application.

[0203] In some embodiments, when the short-range communication connection is initiated by the second transmitting end, the process of establishing the short-range communication connection includes: the second transmitting end displaying at least one candidate transmitting end, wherein the candidate transmitting end is a device that requires associated resources of the first application; receiving a third selection operation on the first transmitting end among the at least one candidate transmitting end; and in response to the third selection operation, establishing a short-range communication connection with the first transmitting end. That is, the second transmitting end, as the initiator of the short-range communication connection, actively searches for devices in the vicinity that have associated resource requirements, and selects the second transmitting end from the devices to establish a short-range communication connection. This allows the second transmitting end to proactively initiate connections and push resources to one or more selected demanding ends, just like a "server," thereby adapting to the efficiency of scenarios such as classrooms, meetings, and exhibitions where resources need to be distributed synchronously to a group.

[0204] In some embodiments, the second receiving end may simultaneously select multiple second transmitting ends for the transmission of associated resources. Illustratively, when at least two candidate transmitting ends are provided, a third selection operation is received on at least two first transmitting ends among the at least two candidate transmitting ends.

[0205] In some embodiments, device communication information is obtained, which is used to indicate the communication type supported by the second transmission end; if the device communication information indicates that the second transmission end meets the communication requirements of short-range communication, at least one candidate transmission end is obtained.

[0206] Optionally, the process of establishing a short-range communication connection between the second transmitting end and the first transmitting end can be implemented as follows: the second transmitting end sends a connection request to the first transmitting end, which is used to request the establishment of a short-range communication connection with the first transmitting end; after receiving the connection request, the first transmitting end authenticates the device permissions of the second transmitting end through the connection request, and if it is determined that the second transmitting end meets the permission requirements, it sends a receive message to the second transmitting end; upon receiving the receive message from the first transmitting end based on the connection request, the first transmitting end and the second transmitting end establish a short-range communication connection.

[0207] Optionally, after receiving the rejection message, the second transmitting end returns to the device selection page displaying candidate transmitting ends. The user can then select the first transmitting end again to request to establish a short-range communication connection with the first transmitting end, or the user can select other transmitting ends from the candidate transmitting ends to request to establish a short-range communication connection with other transmitting ends.

[0208] Optionally, while refusing to establish short-range communication with the second transmission end, the first transmission end may also permanently refuse to establish short-range communication with the second transmission end, that is, add the second transmission end to the blacklist, so that the second transmission end can no longer search for the first transmission end and request to establish a short-range communication connection with the first transmission end.

[0209] Optionally, the process of establishing a short-range communication connection between the second transmission end and the first transmission end can also be implemented as follows: receiving a code input operation, wherein the code input operation is used to determine the verification code to be input for connection verification; and establishing a short-range communication connection with the first transmission end if the verification code matches the verification code corresponding to the first transmission end.

[0210] Optionally, the process of establishing a short-range communication connection between the second transmission end and the first transmission end can also be implemented as follows: acquiring historical connection data, wherein the historical connection data is used to record the historical communication connections established by the second transmission end within a historical period; and establishing a short-range communication connection with the first transmission end when the historical connection data includes historical records of the historical communication connections established between the second transmission end and the first transmission end.

[0211] Optionally, the establishment of a short-range communication connection between the second transmitting end and the first transmitting end can also be achieved through various methods such as the second transmitting end sending a text message to the first transmitting end, the second transmitting end logging into a mini-program associated with the first transmitting end, the second transmitting end connecting to the hotspot of the first transmitting end, or the second transmitting end and the first transmitting end scanning the same tag or QR code. No specific method is specified here.

[0212] Step 520: Send at least one associated resource corresponding to the first application to the first transmission terminal.

[0213] Optionally, at least one associated resource may be determined by the first transmission end or by the second transmission end.

[0214] Optionally, the determination of at least one associated resource can be implemented in at least one of the following ways:

[0215] The first method is to determine the outcome through user selection.

[0216] Schematic example, taking the case where at least one associated resource can be determined by the second transmitting end, the second transmitting end displays at least one resource candidate of the first application stored in its own memory, the resource candidate being used to indicate the associated resource to be selected; receives a fourth selection operation on the third resource item among the at least one resource candidate; and, in the case where a short-range communication connection is established between the first transmitting end and the second transmitting end, sends at least one associated resource corresponding to the first application to the first transmitting end based on the third selection operation and the fourth selection operation, wherein the at least one associated resource includes the associated resource corresponding to the third resource item.

[0217] Optionally, the fourth selection operation may be received after the first transmission end and the second transmission end establish a short-range communication connection. Illustratively, at least one candidate transmission end is shown; a third selection operation is received on the first transmission end among the at least one candidate transmission end; a short-range communication connection is established with the first transmission end based on the third selection operation; if the short-range communication connection is successfully established, at least one resource candidate of the first application stored within itself is displayed; a fourth selection operation is received on the third resource item among the at least one resource candidate; and at least one associated resource is sent to the first transmission end based on the fourth selection operation.

[0218] Optionally, the fourth selection operation may be received before the first transmission end and the second transmission end establish a short-range communication connection. Illustratively, at least one candidate transmission end is shown, as well as at least one resource candidate of the first application stored within itself; a third selection operation is received for the first transmission end among the at least one candidate transmission end, and a fourth selection operation is received for a third resource item among the at least one resource candidate; based on the third and fourth selection operations, a short-range communication connection is established with the first transmission end; at least one associated resource is sent to the first transmission end.

[0219] It is worth noting that the selection of at least one associated resource can be determined not only before the two devices are connected, as mentioned above, but also after the two devices are connected. Alternatively, some associated resources can be confirmed before the two devices are connected, and another part of the associated resources can be confirmed after the two devices are connected. No limitation is made here.

[0220] The second method involves automatically determining the strategy.

[0221] In a schematic scenario where a short-range communication connection is established between a first transmission end and a second transmission end, at least one resource candidate for a first application that the second transmission end itself can provide is determined; based on a demand identification strategy corresponding to the first application of the first transmission end, at least one fourth resource item is determined from the at least one resource candidate, wherein the demand identification strategy is used to identify the demand of the first transmission end for associated resources corresponding to the at least one resource candidate; based on the at least one fourth resource item, at least one associated resource corresponding to the first application is sent to the first transmission end, wherein the at least one associated resource includes associated resources corresponding to the at least one fourth resource item.

[0222] In some embodiments, the above-described requirement identification strategy is associated with the application management requirements or resource management requirements of the first application.

[0223] In one example, when the application management requirement is an installation requirement, the requirement identification strategy indicates that at least one second resource item indicates that the associated resource includes necessary resource files, where the necessary resource files are resource data that supports the application startup of the first application. Optionally, the requirement identification strategy indicates that at least one second resource item indicates that the associated resource may also include extended resource files, such as update resource files, quality improvement files, etc., where the update resource package is resource data that updates the first application to a specified version, and the quality improvement package is resource data used to improve the application quality of the first application. For example, the quality improvement file can be used to improve the picture quality, sound quality, or diversified functions of the application content provided by the first application.

[0224] In another example, when the application management requirement is an update requirement, the requirement identification strategy indicates that at least one of the associated resources indicated by the second resource item includes extended resource files, such as update resource files, quality improvement files, etc.

[0225] In another example, when the resource management requirement is to perform an operation of exchanging items using associated resources, the requirement identification strategy indicates that the associated resources indicated by at least one second resource item are determined by the quantity and type of resources that match the required exchange resources of the target item. For example, if the required exchange resources of the target item are 500 "sapphires", and the user account with the resource requirement (i.e., the user account logged in by the first transmission terminal) already has 100 "sapphires", then the requirement identification strategy indicates that the associated resources provided by the second transmission terminal to the first transmission terminal include 400 "sapphires".

[0226] Optionally, the aforementioned demand identification strategy can be pre-set by the user, or it can be determined by the first transmission end based on device information and account information. Optionally, the aforementioned device information includes chip model, processor model, RAM size, remaining storage space size, etc., and the aforementioned account information includes account resource quantity, account level, account permissions, etc.

[0227] In some embodiments, when the second transmitting end provides associated resources to multiple first transmitting ends, if the second transmitting end establishes a short-range communication connection with the i-th first transmitting end among at least two first transmitting ends, the associated resources corresponding to the first application are sent to the i-th first transmitting end, where i is a positive integer.

[0228] In some embodiments, during the process of receiving associated resources, the second transmitting end detects the distance between itself and the first transmitting end in real time to avoid the distance between the second transmitting end and the first transmitting end exceeding the communication range of short-range communication. Illustratively, during the process of sending at least one associated resource corresponding to the first application to the first transmitting end, device distance information between itself and the first transmitting end is obtained, wherein the device distance information is used to indicate the distance between the first transmitting end and the first sending device; a connection range threshold corresponding to the short-range communication connection is obtained, the connection range threshold is used to indicate the data interaction range between devices under the short-range communication connection; when the device distance information reaches the connection range threshold, a range prompt message is displayed, wherein the range prompt message is used to indicate that the distance between the first transmitting end and the second transmitting end exceeds the transmission range corresponding to the short-range communication connection.

[0229] In some embodiments, the distance between the first and second transmitting ends is determined by detecting the signal strength of the communication connection; that is, the higher the signal strength, the closer the devices are. Illustratively, during the process of sending at least one associated resource corresponding to the first application to the first transmitting end, the signal strength corresponding to the short-range communication connection is obtained; if the signal strength is lower than a first signal threshold, the data transmission of at least one associated resource is interrupted, and the context data of at least one associated resource at the interruption point is saved. Optionally, if the signal strength is lower than a second signal threshold, range indication information is displayed, wherein the range indication information is used to indicate that the distance between the first and second transmitting ends exceeds the transmission range corresponding to the short-range communication connection.

[0230] In one example, an RSSI value above a certain threshold indicates that the distance between the two devices is always within usable range. After the connection is established, the second transmitting end continuously monitors the RSSI value. When the RSSI value drops to the first signal threshold, it may indicate that the first transmitting end has exceeded the effective distance. At this point, data transmission needs to be interrupted and the breakpoint saved.

[0231] In another example, when using Wi-Fi Direct for transmission, you can continuously monitor Wi-Fi signal strength and connection status changes (e.g., using `WifiP2pManager.ConnectionInfoListener`) to determine if the connection is broken. Besides selectively interrupting transmission by setting a Wi-Fi signal strength threshold, you can also periodically send heartbeat packets to the first transmitting end during transmission to check the connection status. If the heartbeat packet is not successfully received, it may indicate that the connection is out of range or a connection error has occurred, requiring immediate interruption of transmission.

[0232] In some embodiments, when the connection between the first transmitting end and the second transmitting end is interrupted, the second transmitting end attempts to re-establish a short-range communication connection with the first transmitting end. If the second transmitting end and the first transmitting end restore the short-range communication connection, the second transmitting end reads the context data of the breakpoint and resumes the transmission of the associated resources based on the context data of the breakpoint.

[0233] In summary, when the first transmission end has a resource requirement for the associated resources of the first application, the second transmission end can provide the associated resources to the first transmission end through a short-range communication connection. This allows the first transmission end to quickly obtain the associated resources through nearby devices without interacting with the Internet, thus saving network transmission resources (e.g., traffic). Furthermore, the fast transmission of associated resources between devices through short-range communication can improve the efficiency of obtaining associated resources while ensuring the stability of the acquisition.

[0234] In some optional embodiments, taking the association of resources for application management as an example, the functional modules involved in the interaction between the sending end (second transmission end) and the first transmission end (first transmission end) of the association of resources during the transmission process are illustrated. Optionally, the implementation of the functional modules involved in the interaction differs depending on whether the first application has been installed on the first transmission end.

[0235] Scenario 1: The first application has been installed on the first transmission end.

[0236] Figure 6 illustrates a schematic diagram of the interaction of functional modules provided in an exemplary embodiment of this application. The sending end 610 has a first client 611 installed with the first application, and the first client 611 integrates a first application SDK (Software Development Kit) 612. The sending end 610 also includes a first system fast transfer module 613. The receiving end 620 has a second client 621 installed with the first application, and the second client 621 integrates a second application SDK 622. The receiving end 620 also includes a second system fast transfer module 623.

[0237] The interaction between the sending end 610 and the receiving end 620 during the associated resource transmission process includes the following steps.

[0238] Step 1: After the sending end 610 and the receiving end 620 establish a short-range communication connection, in the sending end 610, the first client 611 determines the associated resources, associated resource paths, and other business information to be transmitted to each other based on the relevant information of the first application in the sending end 610 and the receiving end 620 (e.g., application version, resource difference information between the first client 611 and the second client 621, etc.), and transmits it to the first application SDK 612 in the sending end 610.

[0239] Step 2: In the sending end 610, the first application SDK 612 calls the first system fast transfer module 613 in an orderly manner at an appropriate time. The first system fast transfer module 613 uses short-range communication function to organize the associated resources in the sending end 610 and send them to the receiving end 620. This includes steps such as establishing a connection, transmitting data, and disconnecting between the sending end 610 and the receiving end 620. The receiving end 620 receives the associated resources sent by the sending end 610 by calling the second system fast transfer module 623, and parses the received associated resources through the second application SDK 622 and makes an appropriate response (e.g., integrating and using the associated resources sent by the sending end 610 to update the second client 621, etc.).

[0240] In some embodiments, when the receiving end has a first application: the first application SDK 612 of the sending end 610 directly transmits the updated resources (associated resources) to a specific directory under the installation directory of the first application of the receiving end 620 through the transmission interface. This directory is the directory of updated resources that the first application needs to use when performing application updates, that is, the directory where the updated associated resources should be located. In other words, only when the updated resources are in this directory can the first application find these updated resources and use these updated resources to update the first application, without needing to download updated resources from the network.

[0241] Scenario 2: The receiving end does not have the first application installed.

[0242] Figure 7 illustrates a schematic diagram of the interaction of functional modules provided in an exemplary embodiment of this application. The sending end 710 includes a first client 711 of a first application installed, and the first client 711 integrates a first application SDK 712. The sending end 710 also includes a first system fast transfer module 713; the receiving end 720 includes a second system fast transfer module 723.

[0243] The interaction between the sender 710 and the receiver 720 during the associated resource transmission process includes the following steps.

[0244] Step 1: In the sending end 710, the first client 711 determines the associated resources, associated resource paths, and other business information to be transmitted between the sending end 710 and the receiving end 720 based on the relevant information of the current game in the sending end 710 and the receiving end 720 (e.g., device information of the receiving end 720), and transmits it to the first application SDK 712 in the sending end 710.

[0245] Step 2: In the sending end 710, the first application SDK 712 calls the first system fast transfer module 713 in an orderly manner at an appropriate time. Through the first system fast transfer module 713, the short-range communication function is indirectly called. The sending end 710 and the receiving end 720 establish a connection and communicate with the second system fast transfer module 723 in the receiving end 720 using the first application SDK 712 in the sending end 710. The associated resources in the sending end 710 are organized and sent to the receiving end 720. After receiving the associated resources through the second system fast transfer module 723, the receiving end 720 parses the data, integrates and uses the associated resources sent by the sending end 710 to install and update the second client of the first application, etc.

[0246] In some embodiments, when the receiving end does not have a first application: the first application SDK 712 of the sending end 710 interacts with the second system fast transfer module 723 of the receiving end 720. The associated resources transmitted by the first application SDK 712 of the sending end 710 to the receiving end 720 are uniformly placed in a specific directory (e.g., the Download directory of a general terminal device folder). Afterwards, the application may be installed using the transmitted installation package in this specific directory, or it may be moved to another directory for installation. After installation, the installation directory of the first application will be generated. Next, the second system fast transfer module 723 of the receiving end 720 will move the remaining unused associated resources transmitted in the specific directory to a specific directory under the installation directory of the first application on the receiving end 720. This directory is the resource directory that the first application needs to update when performing application updates; that is, the directory where the updated associated resources should be located. In other words, only when the updated resources are in this directory can the first application find these updated resources and use them to update the first application, without needing to download updated resources online.

[0247] In an optional embodiment, taking a game application as an example, the process of obtaining associated resources of the game application through short-range communication is illustrated when there is a management requirement for the game application at the first transmission end. Figure 8 shows a flowchart of a resource acquisition method provided in an exemplary embodiment of this application, which includes steps 810 to 850.

[0248] Step 810: If there is a need for application management of the game application, display at least one candidate transmission end.

[0249] Among them, the candidate transmission terminal supports providing the associated resources of the game application to the first transmission terminal through short-range communication.

[0250] Optionally, the first transmission end's determination of the application management needs of the game application includes: the player has an application installation need to install a new game application; or, the installed game application has an update need, such as APK (Android Application Package) update, necessary resource update, DLC (Downloadable Content) expansion resource update, etc.

[0251] In some embodiments, when a candidate transmission terminal is detected near the first transmission terminal and the first transmission terminal itself supports short-range communication, the first transmission terminal is identified as a potential user equipment for the fast transmission function.

[0252] In some embodiments, when the user agrees, permissions are verified, and Bluetooth / Wi-Fi / ZigBee / NFC functions are enabled, the first transmitting end can achieve fast transmission through short-range communication capabilities.

[0253] In some embodiments, the selection of candidate transmission ends includes: whether they support short-range communication functions, whether they store a game client that has been updated, and whether the resources of the game application are compatible with the device model of the first transmission end.

[0254] In some embodiments, the game application provides a setting function for a fast transfer function. When the fast transfer function is enabled through this setting function, only devices with the game application installed can be discovered by the first transfer end as candidate transfer ends. That is, the conditions for a device to be a candidate transfer end are: a. having the latest version of the game client; b. having the fast transfer function switch turned on in the game application.

[0255] In other embodiments, the candidate transfer end can also be another device that does not support game play but stores all resources of the latest version of the game client. In one example, the candidate transfer end is specifically designed to support the fast transfer function, and the candidate transfer end stores the associated resources of the game clients corresponding to multiple game applications. That is, the conditions for becoming a candidate transfer end are: a. having the latest version of the game client; b. supporting the fast transfer function.

[0256] In some embodiments, when the application management requirement is implemented as an update requirement, the scenario in which the first transmission end uses the fast transfer function can be during the startup process of the game application, or during the game resource update while the player is playing the game. Illustratively, the game application searches for candidate transmission ends by calling the application SDK.

[0257] In some embodiments, when game resources are updated during gameplay, this capability is applied to pre-defined game scenarios. For example, it might involve obtaining game resource updates via short-range communication outside of gameplay. However, the fast transmission function enabled by short-range communication requires the support of a Wi-Fi network card and a Central Processing Unit (CPU), which could potentially lead to resource contention with the game application's main process. Similarly, if the sending device is located within a game's combat scenario, it should avoid transmitting data during this phase to prevent disruption to the gaming experience.

[0258] As an illustration, when an update request for a game application is detected, it checks whether the game application is in the middle of a game. If so, the update process is paused; otherwise, candidate transmission endpoints are displayed so that the user can obtain the relevant resources of the game application through short-range communication to complete the update process.

[0259] In other embodiments, when the application management requirement is implemented as an installation requirement, the scenario in which the first transmission end uses the fast transfer function can be when a player opens the game download page of the app store, and the app store searches for candidate transmission ends that meet the conditions by calling the system fast transfer module.

[0260] In some embodiments, when the system fast transfer module or application SDK detects at least one candidate transmission terminal that meets the criteria in the vicinity, the first transmission terminal will prompt the user through a pop-up update prompt interface on the game download page of the app store or the game interface, indicating the existence of a "short-range communication resource fast transfer" download strategy for the user to choose from. Optionally, the update prompt interface may also display the advantages of the "short-range communication resource fast transfer" download strategy, such as displaying advantage prompts like "fast speed, contactless, no data usage, and guaranteed security." Optionally, the update prompt interface may also directly display the searched candidate transmission terminals. Furthermore, it may optionally display the game resource files and their information to the user. Optionally, the game resource file information includes the quality of the game resources, whether it is a necessary package for game startup, the game package size, the estimated download time, and the estimated fast transfer time.

[0261] In other embodiments, when the first transmitting end does not find a candidate transmitting end that meets the conditions, the following process can be performed based on the usage of short-range communication capabilities by the game application: (1) Show the user the function control of "short-range communication resource fast transfer", and the player can click the function control to refresh and search for whether there is a candidate transmitting end that meets the conditions; (2) Hide the function of "short-range communication resource fast transfer" in a non-perceptible way, that is, download the game resource file through the network when the player downloads a new game or updates the game.

[0262] Step 820: Receive a first selection operation for a second transmission end among at least one candidate transmission end.

[0263] Optionally, the first selection operation can be used to select one or more second transmission terminals. In some embodiments, when selecting a second transmission terminal through the first selection operation, the selection of associated resources of the game application can also be achieved through a second selection operation on a first resource item corresponding to the second transmission terminal. Illustratively, at least one resource candidate of the game application provided by the second transmission terminal is shown; a second selection operation on the first resource item among the at least one resource candidate is received.

[0264] Optionally, players can select a portion of the game resource files available on one secondary transmission terminal, and then select other portions of the game resource files available on the device from one or more other secondary transmission terminals. For example, players can choose to download higher-quality game resource files adapted to the current primary transmission terminal to improve the gaming experience, or they can choose to download lower-quality game resource files adapted to the current primary transmission terminal to save memory; or, for another example, players can choose to select one or more necessary game resources to download from one or more transmission terminals.

[0265] In other embodiments, when the first transmitting player only selects the sending end but not the resource files, the game application or app store can determine all necessary resource files on the transmitting sending end, or a combination of all necessary resource files and some extended resource files, or all game resource files, based on a demand identification strategy. Optionally, the above-mentioned demand identification strategy can be determined by comprehensively considering factors such as gameplay experience and the device conditions of the first transmitting end.

[0266] Step 830: In response to the first selection operation, establish a short-range communication connection with the second transmission end.

[0267] As an illustration, when a player selects a second transmission terminal and the corresponding game resource files, a connection request to establish a short-range communication connection is initiated. Upon receiving the connection request, the second transmission terminal chooses whether to agree to establish the connection. If the second transmission terminal does not agree to establish the connection, it will return a rejection message to the first transmission terminal. The first transmission terminal can then choose to request the second transmission terminal again or request another sending terminal with game resources. As an illustration, when the second transmission terminal agrees to the first transmission terminal's connection request, a short-range communication connection will be established between the two devices, and data transmission between the two devices will begin.

[0268] Optionally, the selection of game resource files can be determined not only before the two devices are connected, as mentioned above, but also after the two devices are connected, or a portion can be confirmed for transfer before the two devices are connected, and another portion can be confirmed for transfer after the two devices are connected.

[0269] Optionally, the establishment of the above-mentioned short-range communication connection can be implemented in at least one of the following ways:

[0270] Method 1: The second transmitting end discovers the first transmitting end on the "Short-Range Communication Resource Transfer" function page of the game application, or the first transmitting end discovers the second transmitting end on the app store or the game's update page. Optionally, the party with selection rights can search by keyword or filter by device type on the page when there are multiple options; the selected party can customize the username when discovered, the list of resources allowed to be transferred, and the devices or device models that cannot be found, etc. Optionally, many-to-one, one-to-many, and many-to-many connection forms are supported, but connection confirmation always occurs between two points. For example, if a first transmitting end wants to obtain game resources from two second transmitting ends, the first transmitting end needs to establish connections with each of the two second transmitting ends separately and obtain resource sending authorization from each of the two second transmitting ends before it can simultaneously have connections with both second transmitting ends and simultaneously download game resource files from both of the two second transmitting ends.

[0271] Method 2: The second and first transmitting ends simultaneously enter the same code on their "Short-Range Communication Resource Quick Transfer" function page to connect, or specify two different codes (distinguishing between the second and first transmitting ends' codes): One of the second and first transmitting ends randomly enters a code on the "Short-Range Communication Resource Quick Transfer" function page and selects whether it is the second or first transmitting end. A corresponding code for the first or second transmitting end is generated. If the same code is entered on another device, it will connect as either the second or first transmitting end to that device; if the generated code is entered on another device, it will connect as either the first or second transmitting end. This function has distance limitations. Within a specified distance range, the interval between the second and first transmitting ends entering the code must be less than a specified threshold. For example, it is effective if the code is entered within 5 seconds at a distance of less than 3 meters. This method can determine many-to-one, one-to-many, and many-to-many connections at once. Devices paired in a group of code face-to-face can choose whether to allow game resource file transfer with other devices in the group (second transfer end: allows resource transfer requests from other first transfer ends in the group; first transfer end: allows resources to be sent to itself by other second transfer ends in the group).

[0272] Method 3: Seamless Method. Once the second transmission end establishes trust with the first transmission end (assuming that the second transmission end A has established a connection with the first transmission end B once, and the switch for automatically using the resources of the first transmission end B to update the game is turned on on the B end, this is considered as establishing trust), game resources can be updated for the player seamlessly in scenarios other than game matches.

[0273] Method 4: When a player approaches a specific location (such as entering a shopping mall where the game can be downloaded, or a device or facility capable of transmitting the game), an interactive prompt related to the short-range communication capabilities of that location will automatically pop up. The user can select an infrastructure-type device with this "Short-Range Communication Resource Fast Transfer" function as a second transmission end or receive actively pushed game resources from such devices to download or update the game. Optionally, after downloading the game offline, the user can simultaneously open a sharing interface, select a social media platform, and post content related to the offline event, reducing steps and improving the convenience of sharing.

[0274] Method 5: Connections between the second and first transmission ends can also be established through various methods such as sending text messages, the TGPA "Short-Range Communication Resource Transfer" WeChat mini-program, connecting the first transmission end to the second transmission end's hotspot, or scanning the same tag or QR code. Players are also allowed to customize / turn on one or more connection establishment methods within the game application.

[0275] In some embodiments, after the first and second transmitting ends establish a short-range communication connection, the first and / or second transmitting ends can control the start, end, interruption, and rate limiting of game resource file transmission. Internally, this manifests as the game application actively calling the interfaces of the application SDK's connect, disconnect, pause, and rate limiting functions, and passing in the corresponding parameters.

[0276] Step 840: Receive the game resource file sent by the second transmission end.

[0277] To illustrate, the first transmitting end receives game resource files sent by the second transmitting end via a short-range communication connection.

[0278] In some embodiments, the second transmitting end packages a portion of the game resources stored on the device that are applicable to the first transmitting end into a game resource file, and then transmits the game resource file to the first transmitting end. Optionally, the determination of the portion of game resources applicable to the first transmitting end can be implemented by: obtaining the version range of the version number of the game resources required by the first transmitting end; determining the associated resources of the installed game application that are applicable to the version range as game resources applicable to the first transmitting end, and packaging them into a game resource file. In other embodiments, the second transmitting end packages the complete game resources of the game application stored on the device into a game resource file, and then transmits the game resource file to the first transmitting end.

[0279] In some embodiments, when the game resource file is implemented as a complete game resource in the second transmission terminal, after the first transmission terminal completes application management through the game resource file, if the first transmission terminal and the second transmission terminal maintain a short-distance communication connection, then when the second transmission terminal is running the game application on the first transmission terminal and is in a non-core scene (non-combat scene, such as in the game store or game lobby, etc.), the second transmission terminal downloads the adaptation resources suitable for the first transmission terminal and sends the adaptation resources to the first transmission terminal.

[0280] In some embodiments, different short-range communication technologies are used in stages (using more efficient transmission protocols suitable for the current scenario) to optimally adapt different short-range communication technologies to the current transmission scenario. In one example, Bluetooth Low Energy (BLE) technology is used to establish the connection during the short-range communication connection establishment phase. BLE connections have advantages such as low power consumption (BLE consumes very little power when transmitting data, suitable for battery-powered devices), fast connection (low latency), wide compatibility (compatible with most modern smartphones and devices), flexible topology (supporting point-to-point, broadcast, and group connections to adapt to different application scenarios), high security (providing encryption and authentication to protect data security), and maximized cost-effectiveness (relatively low hardware and deployment costs), making it suitable for initial information transmission during the connection establishment phase. In another example, Wi-Fi Direct technology is used during the game resource file transmission phase, which can guarantee the resource transmission rate to a certain extent and reduce user waiting time. Among them, Wi-Fi Direct technology features high data transmission rate (suitable for large file sharing), flexibility (supporting various application scenarios, such as file transfer, printing and video streaming), and security (providing WPA2 (Wi-Fi Protected Access 2) encryption).

[0281] In some embodiments, packet splitting is used to improve the reliability of resource transmission. For example, when transmitting large game resource files, the game resource file is split into multiple smaller packets for transmission. This method fully utilizes transmission channel resources for parallel transmission and reduces latency to some extent (the sending and acknowledgment time is shorter with smaller packets, reducing overall transmission latency). In packet splitting scenarios, if a small packet fails to transmit, only that small packet needs to be retransmitted, instead of the entire file, improving efficiency and providing greater fault tolerance. It's even possible to retransmit the small packet directly without saving the interruption context within a single file when transmission is interrupted (if the interruption is unrecoverable, directly retransmitting the small packet is also an option).

[0282] In some embodiments, the following methods are used to ensure the security of data transmission for game resource files: 1. Encryption: Encryption is used for transmission, that is, the transmitted data files are encrypted using a suitable encryption algorithm to ensure that the data cannot be stolen during transmission; 2. Authentication: The sender and receiver are authenticated before transmission to ensure that the devices involved in the communication are trustworthy and risk-free; 3. Data integrity and consistency check: Data is verified using a hash function to ensure that the data is not lost or tampered with; 4. Short-distance restriction: One of the characteristics of "short-distance communication" is to ensure transmission in environments with close physical distances, reducing the risk of interception; 5. Session key: A temporary session key is generated for each transmission to ensure the uniqueness and security of each transmission; 6. User confirmation: Before important transmission operations, the user is given information about the file to be transmitted and is required to confirm, avoiding risky or unauthorized transmissions.

[0283] In some embodiments, during the transmission of game resource files, when a short-distance communication interruption occurs, the first transmitting end performs interruption processing, wherein the interruption processing includes at least one of the following: 1. Saving the state of the breakpoint context to facilitate finding the recovery point during recovery; 2. Providing a retry mechanism to automatically attempt to reconnect and resume transmission when short-distance communication is interrupted.

[0284] Step 850: Perform application management on the game application through the game resource files.

[0285] In some embodiments, after the game resource files are transferred, the game application or app store in the first transmitting end performs a resource transfer correctness check and a game necessary resource integrity check. If there are any missing necessary resource files required for the game application to start, the user will be prompted to continue with "short-distance communication resource fast transfer" (i.e., repeat step 840) or download the necessary resource files from the network.

[0286] As an illustration, after the game resource files pass the check, the game application will merge and activate the resources to obtain an updated game application. Alternatively, the app store can use the game resource files to install the game application. During the "short-distance communication resource fast transfer" process, once the resource transfer is complete, the connection between the first and second transmission ends can be immediately disconnected or maintained for a certain period before being disconnected, depending on the game strategy.

[0287] In some embodiments, when a file error is determined to exist in the received game resource file through checksum verification, the first transmitting end performs file error handling, wherein file error handling includes at least one of the following: 1. Performing data integrity verification before and after transmission; in the case of file errors, retransmitting or repairing the resource based on the state of short-range communication, for example, detecting the signal strength of the short-range communication connection; if the signal strength reaches a specified threshold, retransmitting the resource; if the signal strength does not reach the specified threshold, repairing the resource; 2. Generating an error log; during the transmission of game resource files using short-range communication capabilities, logging the status and abnormal situations of each transmission, printing error logs at key nodes, and providing clear error information for subsequent analysis and improvement, and guiding users to retransmit or repair using near-field communication capabilities; 3. Employing a rollback mechanism; if transmission fails, supporting recovery to the previous valid state, for example, if a file error occurs during packet unpacking and transmission, the erroneous packet can be discarded and retransmitted; 4. Designing redundancy; backing up data before transmitting important files to prevent data loss.

[0288] It is worth noting that the above scheme also applies to the sending end searching for one or more first transmission ends in the "Near Field Communication Resource Quick Transfer" function interface in the game, and distributing game resource files to the first transmission end after the first transmission end agrees to receive them. The choice is exchanged between the sending end and the first transmission end. The process is similar to the above and will not be described in detail here.

[0289] In one example, please refer to Figure 9, which illustrates a schematic diagram of the update process of a game application implemented through short-range communication fast transfer according to an exemplary embodiment of this application. When the player opens the game application and there is a version update available, the first transmission terminal displays an update prompt message 911 and two resource acquisition options on the game application's login interface 910, including a network download option 912 and a fast transfer option 913. When the fast transfer option 913 receives a trigger operation, the game application calls the application SDK to search for nearby devices that can provide game update resources and displays the search results to the user through a device selection interface 920. After the user selects a second transmission terminal from the multiple candidate transmission terminals provided in the device selection interface 920, the first transmission terminal establishes a short-range communication connection with the second transmission terminal and enters the fast transfer interface 930 for fast transfer with the second transmission terminal. The fast transfer interface 930 provides the player with the transmission progress of the game update resources until the game update resources are successfully transmitted. Then, the user returns to the login interface 910, and the game application automatically uses the game update resources to update the application.

[0290] In some embodiments, the Quick Transfer option 913 may also be provided by the game application after it has found a nearby device capable of providing game update resources. Optionally, when no nearby device capable of providing game update resources is found, the Quick Transfer option 913 may be displayed in a grayed-out state, or the Quick Transfer option 913 may be hidden.

[0291] The interaction timing between the first transmitting end and the sending end during the fast transfer process is illustrated in Figures 10 and 11, respectively, for two scenarios: the first transmitting end has the game application installed and the first transmitting end does not have the game application installed.

[0292] Figure 10 illustrates a schematic diagram of the interaction timing between a first transmitting end and a sending end provided in an exemplary embodiment of this application. It shows the interaction timing between the first transmitting end and the sending end when a game application is installed on the first transmitting end. The first transmitting end is device 1, and the sending end is device 2. The interaction timing includes the following steps: 1: The user on the first transmitting end opens the game application on the first transmitting end device and triggers the "Find nearby short-range communication devices" operation; 2: The game application initializes the application SDK; 3: The application SDK initializes short-range communication capabilities and calls the "StartDiscover" interface for "Start Finding Devices"; 4: The application SDK calls the system's fast transfer module capability to start finding devices; 5: The system... The system's fast transfer module searches for nearby devices and sends the list of nearby device information to the application SDK; 6: The application SDK sends the list of nearby device information to the upper-layer game application; 7: The game application displays a list of shareable devices to the user; 8: The user selects a shareable device and clicks connect; 9: The game application calls the application SDK's StartConnect method to begin connecting to the user-selected device; 10: The application SDK calls the system's fast transfer module to attempt to establish a connection with the sending end; 11: The first-end system's fast transfer module attempts to establish a connection with the sending end's system's fast transfer module; Connection failure conditions: 12: Timeout occurs, indicating a connection failure, and the first-end system's underlying fast transfer module returns a timeout message to the first-end application SDK; 3: The underlying fast transfer module of the first transmitting end system returns an error code to the application SDK of the first transmitting end; 14: The application SDK calls back the connection failure interface to the game application; 15: The game application displays a connection failure message on the interface to notify the user; Connection success status: 16: The fast transfer module of the sending end system prompts the application SDK of the sending end with a connection success message; 17: The application SDK of the sending end calls back the connection success interface to the game application; 18: The application SDK of the sending end and the application SDK of the first transmitting end successfully establish a connection and return a connection success status code; 19: The application SDK of the first transmitting end calls back the connection success interface to the game application; 20: The game application displays a connection success message on the interface to notify the user; 21: Call the application The SDK sends the current game version, environment, and other information of the first transmitting end to the sending end; 22: The application SDK of the first transmitting end sends the current game version, environment, and other information of the first transmitting end to the application SDK of the sending end; 23: The application SDK of the sending end calls back the current game version, environment, and other information of the first transmitting end to the game application; 24: The game application displays the current game version, environment, and other information of the first transmitting end on the interface to help the user determine the sharing status; 25: The user confirms the transfer of game resource files; 26: The game application issues a transmission command and calls the StartTransfer interface of the application SDK to start the transmission; 27: The sending end calculates, organizes, and packages the game resource files and their information to be transmitted to the first transmitting end;28: After packaging the game resource files, the sending end starts data transmission to the first transmitting end; 29: Transmit the game resource files; 30: The application SDK of the first transmitting end sends a callback to the game application regarding the data reception progress of the game resource files, and the game application displays the transmission progress to the user; 31: The first transmitting end integrates the game resource files; 32: A callback is sent to the game application: information such as the successful transmission status of the game resource files and the path of the game resource files; 33: The game is updated for the user using the successfully transferred game resource files; Optionally, this interaction sequence may also include the following steps (not shown in the figure): 1: The user triggers the termination of the game resource fast transfer on the first transmitting end; 2: The game application on the first transmitting end calls the CancelConnect method of the application SDK to disconnect; 3: The application SDK of the first transmitting end attempts to disconnect from the application SDK of the sending end; 4: The application SDK of the sending end sends a callback to the game application to provide connection information, and the game application displays a prompt to the user indicating that the device is currently disconnected; 5: The application SDK of the first transmitting end sends a callback to the game application regarding the disconnection information; 6: The game application on the first transmitting end displays the disconnection information on the interface to the user, helping the user understand the current short-range communication connection status. ;

[0293] Figure 11 illustrates a schematic diagram of the interaction timing between a first transmitting end and a sending end provided in an exemplary embodiment of this application. It shows the interaction timing between the first transmitting end and the sending end when the game application is not installed on the first transmitting end. In this example, the sending end is device 1, the first transmitting end is device 2, and the sending end is the one actively distributing the application. The interaction timing includes the following steps: 1: The user on the sending end opens the game application on the sending end device and triggers the "Find nearby short-range communication devices" operation; 2: The game application initializes the application SDK; 3: The application SDK initializes short-range communication capabilities and calls the "StartDiscover" interface of "Start Finding Devices"; 4: The application SDK calls the system fast transfer module. 1. The system's fast transfer module starts searching for devices; 2. The system's fast transfer module searches for nearby devices and sends the list of nearby device information to the application SDK; 3. The application SDK sends the list of nearby device information to the upper-layer game application; 4. The game application displays a list of shareable devices to the user; 5. The user selects a shareable device and clicks connect; 6. The game application calls the application SDK's StartConnect method to start connecting to the user-selected device; 7. The application SDK calls the system's fast transfer module to attempt to establish a connection with the first transmission end; 8. The sending end's system fast transfer module attempts to establish a connection with the first transmission end's system fast transfer module; Connection failure condition: 19. If the connection fails due to timeout, it is judged as a connection failure, and the sending end's underlying system fast transfer module returns a response to the first transmission end. 13: The sending end's underlying fast transfer module returns an error code to the first transmitting end's application SDK; 14: The application SDK calls back the connection failure interface to the game application; 15: The game application displays a connection failure message to the user on the interface; (Steps 1-15 are different from steps 1-15 in Figure 10 only in the execution subject, so they are omitted in Figure 11); 16: The first transmitting end displays a connection success status to the user in the notification bar or other UI elements; 17: The first transmitting end's fast transfer module successfully establishes a connection with the sending end's application SDK and returns a connection success status code; 18: The sending end's application SDK calls back the connection success interface to the game application; 19: The game application displays a connection success message to the user on the interface. 20: The game application requests device information from the first transmitting end; 21: The sending end's application SDK requests device information from the first transmitting end's system fast transfer module; 22: The first transmitting end organizes and returns its device information; 23: The sending end's application SDK calls back the first transmitting end's device information to the game application; 24: The game application displays the first transmitting end's current device information on the interface to help the user determine the sharing status; 25: The user confirms the transfer of game resource files; 26: The game application issues a transfer command, calling the application SDK's StartTransfer interface to begin the transfer; 27: The sending end calculates, organizes, and packages the game resource files and their information to be transferred to the first transmitting end.28: The sending end initiates data transmission to the first transmitting end after the data file is packaged; 29: Transmit game resource files; 30: The first transmitting end displays the data reception progress to the user in the notification bar or other UI elements; 31: The sending end's application SDK sends a callback to the game application regarding the data transmission progress; 32: The game application in the sending end displays the current data transmission progress on the user's interface to help the user determine the sharing status; Data transmission ends and fails: 33: The sending end's application SDK sends a callback to the game application with a data transmission failure message and reason; 34: The game application in the sending end displays the current data transmission failure message and reason on the user's interface to help the user determine the cause of the failure and provide a solution; Data transmission ends and succeeds: 35: The sending end's application SDK sends a callback to the game application with a data transmission success message; 3 6: The game application on the sending end displays a message indicating successful data transmission to the user on the interface, helping the user to assess the sharing status; 37: The first transmitting end integrates the game resource files, installs and updates the game application; Optionally, this interaction sequence may also include the following steps (not shown in the figure): 1: The user triggers the termination of game resource fast transfer on the sending end; 2: The sending end calls the CancelConnect method of the application SDK to disconnect; 3: The application SDK on the sending end attempts to disconnect from the system fast transfer module on the first transmitting end; 4: The first transmitting end displays the disconnected status to the user in the notification bar or other UI elements; 5: The application SDK on the sending end sends a callback to the game application with disconnected information; 6: The game application on the sending end displays the disconnected information to the user on the interface, helping the user understand the current short-range communication connection status.

[0294] In some embodiments, the application SDK of the first application provides a fast transfer function module to implement fast transfer capabilities via short-range communication. The definition of the fast transfer capability of the aforementioned fast transfer function module includes interfaces for core operations such as initialization, connection, and transmission. In one example, the first application is implemented as a game application, using C# as an example. The fast transfer function module can be implemented by defining a class TGPABiLinkMgrImp. This class TGPABiLinkMgrImp implements the interface TGPABiLinkMgrInterface, used to manage bidirectional links (BiLink) between devices, and to enable associated resource transfer via short-range communication. The main components of the code of the aforementioned class and their corresponding functions include: 1. Conditional compilation: #if UNITY_ANDROID and #else are used for conditional compilation. This means that if the project is an Android platform, the TGPABiLinkAndroidMgrImp class will be used; otherwise, the TGPABiLinkBaseMgrImp class will be used. This allows developers to write platform-specific code; 2. Member variable: biLinkManagerObj is a private member variable that will be initialized to different manager objects depending on the platform; 3. SetCallback method: Used to set the callback interface for discovery, connection, and transfer; 4. InitBiLinkMgr method: Initializes the bi-directional link manager; 5. UnInitBiLinkMgr method: Deinitializes the bi-directional link manager; 6. StartDiscover method: Starts discovering available devices or services; 7. StartConnect method: Starts establishing a connection with the specified device; 8. StartTransfer method: Starts a file transfer and returns an integer that may represent the ID of the transfer task; 9. DriveLinkService method: Drives the link service, which may be used to maintain the connection or handle background tasks; 10. CancelDiscover method: Cancels the discovery operation; 11. CancelConnect method: Cancels the connection operation; 12. CancelTransfer method: Cancels all transfer tasks; 13. **CancelTransfer(string The `jobId` method cancels a specific transfer task based on the task ID; the `GetCurrentTransferSpeed` method retrieves the current transfer speed; and the `GetCurrentTransferSpeed(string jobId)` method retrieves the transfer speed of a specific task based on the task ID.

[0295] In one example, taking the application of the Quick Transfer module to a device implemented on the Android platform as an example, the implementation example is as follows: Define the TGPABiLinkAndroidMgrImp class, which provides the function of communicating with the Android native layer system and manages bidirectional link (BiLink) related operations, such as device discovery, connection, resource transfer, etc. The TGPABiLinkAndroidMgrImp class is a concrete implementation of the TGPABiLinkMgrInterface interface, which is specifically used for the Android platform in the Unity environment.The main components and corresponding functions of the code above in this class can include: 1. Conditional compilation: The `#if UNITY_ANDROID` directive ensures that the following code is included only when compiling for the Android platform; 2. Static member variable: `sBiLinkObj` is a private static member variable of type `AndroidJavaObject`, used to interact with the Android native layer's `BiLinkManager`; 3. `SetCallback` method: On the Android platform, a game object named `TGPABiLinkGameObject` is created, and a `TGPABiLinkGameObject` component is added to set callbacks for discovery, connection, and transmission; 4. `InitBiLinkMgr` method: Initializes the bidirectional link manager by calling the Android native layer's `init` method and passing initialization information; 5. `UnInitBiLinkMgr` method: Deinitializes the bidirectional link manager by calling the Android native layer's `release` method and cleaning up the `sBiLinkObj` object; 6. `StartDiscover` method: Starts device discovery by calling the Android native layer's `uninit` method. The `startDiscover` method; 7. The `StartConnect` method: Establishes a connection with the specified device, calling the Android native `startConnect` method and passing device information; 8. The `StartTransfer` method: Starts file transfer, calling the Android native `startTransfer` method and passing file list information; 9. The `DriveLinkService` method: Drives the link service, calling the Android native `driveLinkService` method; 10. The `CancelDiscover` method: Cancels the discovery operation, calling the Android native `cancelDiscover` method; 11. The `CancelConnect` method: Cancels the connection operation, calling the Android native `cancelConnect` method; 12. The `CancelTransfer` method: Cancels all transfer tasks, calling the Android native `cancelTransfer` method; 13. The `CancelTransfer(string)` method... The `jobId` method cancels a specific transfer task based on the task ID, calling the `cancelTransfer` method in the Android native layer; the `GetCurrentTransferSpeed` method gets the current transfer speed, calling the `getCurrentTransferSpeed` method in the Android native layer; and the `GetCurrentTransferSpeed(string jobId)` method gets the transfer speed of a specific task based on the task ID, calling the `getCurrentTransferSpeed` method in the Android native layer.

[0296] It is worth noting that the above example of the Quick Transfer module being applied to an Android platform can also be applied to platforms such as iOS and Windows, depending on the requirements. These can be implemented using the corresponding class files for each platform, which will not be elaborated here.

[0297] In other embodiments, when the device on which the first application is installed does not support the short-range communication capability of the application SDK, the application SDK's fast transfer module calls an empty implementation, that is, it does nothing, assuming that the application SDK's short-range communication capability does not support calling the device's system module. This empty implementation can be implemented by defining a class named TGPABiLinkBaseMgrImp, which is an implementation of the TGPABiLinkMgrInterface interface. This class provides a basic, empty implementation (or stub implementation) of a bidirectional link manager for situations where a platform-specific implementation is not supported or required. The main components of the above class code and their corresponding functions may include: 1. The SetCallback method: This method accepts three callback interfaces as parameters, but does not perform any actions in its implementation. This might be because the basic implementation doesn't require setting a callback, or the specific implementation is left to the derived class; 2. `InitBiLinkMgr` method: This method receives an initialization information object `BiLinkInitInfo`, but directly returns `false`, indicating that initialization failed or was not implemented; 3. `UnInitBiLinkMgr` method: This method returns `false`, indicating that deinitialization failed or was not implemented; 4. `StartDiscover` method: This method does not implement any operation and is directly empty; 5. `StartConnect` method: Receives a `BiLinkDevice` device object as a parameter, but does not implement any operation; 6. `StartTransfer` method: Receives a file transfer list `BiLinkTransferFileInfoList` as a parameter and returns 0, indicating that no transfer task was started or the task ID is 0; 7. `DriveLinkService` method, `CancelDiscover` method, `CancelConnect` method, `CancelTransfer` method: These four methods do not implement any operation and are directly empty; 8. `CancelTransfer(string jobId)` method: Receives a task ID The jobId is passed as a parameter, but no operation is performed; 9. GetCurrentTransferSpeed ​​method: returns 0, indicating that the current transfer speed is 0 or not implemented; 10. GetCurrentTransferSpeed(string jobId) method: takes a task ID jobId as a parameter and returns 0, indicating that the transfer speed of the specific task is 0 or not implemented.

[0298] In some embodiments, a callback interface for the fast transfer module can also be defined for the application SDK of the first application to notify the business layer of the execution status of the fast transfer module. For example, the callback interface is implemented by defining a namespace named GCloud.TGPA, which contains multiple enumerations, classes, and interfaces related to bidirectional links (BiLink). The namespace may include implementations of data structures and callback mechanisms that provide functions such as device discovery, connection, and file transfer.The main components and corresponding functions of the code in the aforementioned namespace can include: 1. Enumerations: BiLinkStage: Represents different stages of a bidirectional link, such as initialization, discovery, connection, and transmission; BiLinkCharacter: Represents the role of the device, such as sender and receiver; BiLinkConnectMode: Represents the connection mode, such as Wi-Fi P2P service mode, Wi-Fi group mode, and BLE mode; BiLinkTransferStatus: Represents the status of file transfer, such as not started, in transit, transfer error, verification in progress, verification error, and transfer successful; 2. Data classes Classes: BiLinkDevice: Represents information about the peer device, such as nickname, name, UUID, connection status, etc.; BiLinkDeviceList: A class containing a list of devices; BiLinkPeerDeviceVersionInfo: Represents the version information of the peer device; BiLinkInitInfo: Represents initialization configuration information, such as connection mode, device nickname, UUID, etc.; BiLinkTransferFileInfo: Represents information about the transferred file, such as filename, source directory, destination directory, MD5 checksum, etc.; BiLinkTransferInfo: Represents transmission information, such as stage, task index, total transmission size, transmission status, etc.; BiLinkTransferFileInfoList: A class containing a list of file information; 3. Callback Interface Interfaces: 1. **BiLinkDiscoverCallbackInterface:** Callback interface for the discovery phase, such as start scanning, scan error, device discovery, etc.; 2. **BiLinkConnectCallbackInterface:** Callback interface for the connection phase, such as initiate connection, connection error, connection success, etc.; 3. **BiLinkTransferCallbackInterface:** Callback interface for the transfer phase, such as start transfer, transfer progress, transfer error, and transfer completion. 4. **Management Interface:** TGPABiLinkMgrInterface: The interface for the bidirectional link manager, defining methods for initialization, deinitialization, start scanning, start connection, start transfer, driver service, cancel scan, cancel connection, cancel transfer, and get transfer speed, etc. 5. **Factory Class:** TGPABiLinkFactory: A factory class used to create and manage instances of TGPABiLinkMgrInterface, ensuring that there is only one TGPABiLinkMgrInterface instance in the entire application.This namespace provides a complete framework for implementing bidirectional links and resource transfer between devices in applications. Through clearly defined data structures and callback interfaces, it allows developers to receive notifications and respond to appropriate events at different stages. The factory class design pattern ensures the implementation of the singleton pattern, avoiding conflicts between multiple instances.

[0299] It should be noted that this application may display prompt interfaces, pop-ups, or output voice prompts before and during the collection of user data. These prompt interfaces, pop-ups, or voice prompts are used to inform the user that their data is being collected. This ensures that the application only begins the steps for collecting user data after receiving confirmation from the user regarding the prompt interface or pop-up; otherwise (i.e., without user confirmation), the steps for collecting user data end, meaning no user data is collected. In other words, all user data collected in this application is collected with the user's consent and authorization, and the collection, use, and processing of related user data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.

[0300] Please refer to Figure 12, which shows a structural block diagram of a resource acquisition device provided in an exemplary embodiment of this application. The device includes the following modules:

[0301] Display module 1210 is used to display at least one candidate transmission end, the candidate transmission end supporting the provision of associated resources of the first application to the first transmission end through short-range communication, the first transmission end being the currently controlled device;

[0302] The receiving module 1220 is configured to receive a first selection operation for a second transmission end among the at least one candidate transmission end;

[0303] The transmission module 1230 is used to receive at least one associated resource corresponding to the first application sent by the second transmission terminal when a short-range communication connection is established between the first transmission terminal and the second transmission terminal.

[0304] In some optional embodiments, as shown in FIG13, the apparatus further includes: a management module 1240, configured to perform application management on the first application through the at least one associated resource, the application management including at least one of application installation and application update.

[0305] In some optional embodiments, the display module 1210 is further configured to display the at least one candidate transmission end when there is an application management requirement for the first application, wherein the application management requirement includes at least one of an installation requirement and an update requirement for the first application.

[0306] In some optional embodiments, the display module 1210 is further configured to display a platform interface provided by the application download platform, the platform interface being configured to provide associated resources for at least one application, the at least one application including the first application;

[0307] The receiving module 1220 is further configured to receive an application management operation for the first application, wherein the application management operation is used to determine whether to perform an application download operation or an application update operation for the first application.

[0308] The display module 1210 is also used to display the at least one candidate transmission end based on the application management operation.

[0309] In some optional embodiments, the device further includes: an acquisition module 1250, configured to acquire application version information of the first application during the operation of the first application;

[0310] The display module 1210 is also configured to display the at least one candidate transmission end when the application version information indicates that the first application is in a state of pending update.

[0311] In some optional embodiments, the acquisition module 1250 is further configured to acquire the running load information of the first application when the application version information indicates that the first application is in a state of pending update, and the running load information is used to indicate the occupation of device resources of the first transmission end during the operation of the first application.

[0312] The display module 1210 is also used to display the at least one candidate transmission end when the running load information meets the resource update requirements.

[0313] In some optional embodiments, the management module 1240 is further configured to perform resource management using the associated resources within the first application, the resource management including at least one of item exchange, level upgrade, content unlocking, and community creation.

[0314] In some optional embodiments, the acquisition module 1250 is further configured to acquire device communication information, which indicates the communication type supported by the first transmission end; and acquire the at least one candidate transmission end when the device communication information indicates that the first transmission end meets the communication requirements of the short-distance communication.

[0315] In some optional embodiments, the acquisition module 1250 is further configured to search for candidate devices that support the short-range communication within the range of the first device;

[0316] The device further includes: a sending module 1260, used to send application information of the first application to the candidate device;

[0317] The determining module 1270 is used to determine the candidate device as the candidate transmission end when it receives the application confirmation message sent by the candidate device. The application confirmation message is used to indicate that the candidate device stores the associated resources of the first application.

[0318] In some optional embodiments, the display module 1210 is further configured to display at least one resource candidate of the first application provided by the second transmission terminal, the resource candidate being used to indicate the associated resource to be selected;

[0319] The receiving module 1220 is further configured to receive a second selection operation on the first resource item among the at least one resource candidate;

[0320] The transmission module 1230 is further configured to, when the short-range communication connection is established between the first transmission terminal and the second transmission terminal, receive at least one associated resource sent by the second transmission terminal based on the first selection operation and the second selection operation, wherein the at least one associated resource includes an associated resource corresponding to the first resource item.

[0321] In some optional embodiments, the determining module 1270 is further configured to, when a short-range communication connection is established between the first transmitting end and the second transmitting end, determine at least one resource candidate of the first application provided by the second transmitting end; and, based on a demand identification strategy corresponding to the first application, determine at least one second resource item from the at least one resource candidate, wherein the demand identification strategy is used to identify the demand of the first transmitting end for the associated resources corresponding to the at least one resource candidate.

[0322] The transmission module 1230 is further configured to receive the at least one associated resource sent by the second transmission terminal based on the at least one second resource item, wherein the at least one associated resource includes an associated resource corresponding to the at least one second resource item.

[0323] In some optional embodiments, the receiving module 1220 is further configured to receive the first selection operation on at least two second transmission ends among the at least two candidate transmission ends when at least two candidate transmission ends are provided.

[0324] In some optional embodiments, the transmission module 1230 is further configured to receive the i-th associated resource corresponding to the first application sent by the i-th second transmission terminal when the first transmission terminal establishes the short-range communication connection with the i-th second transmission terminal among the at least two second transmission terminals, where i is a positive integer.

[0325] In some optional embodiments, the sending module 1260 is further configured to send a connection request to the second transmission end, the connection request being used to request the establishment of the short-range communication connection with the second transmission end;

[0326] The transmission module 1230 is further configured to establish the short-range communication connection with the second transmission terminal upon receiving an acceptance message from the second transmission terminal based on the connection request.

[0327] The receiving module 1220 is also used to receive a code input operation, the code input operation being used to determine a verification code for connection verification.

[0328] The transmission module 1230 is further configured to establish the short-distance communication connection with the second transmission terminal when the verification code matches the verification code corresponding to the second transmission terminal.

[0329] The acquisition module 1250 is also used to acquire historical connection data, which is used to record the historical communication connections established by the first transmission end within a historical time period.

[0330] The transmission module 1230 is further configured to establish the short-distance communication connection with the second transmission terminal when the historical connection data includes a historical record of the historical communication connection established between the first transmission terminal and the second transmission terminal.

[0331] In some optional embodiments, the acquisition module 1250 is further configured to acquire the signal strength corresponding to the short-range communication connection during the process of receiving at least one associated resource corresponding to the first application sent by the second transmission terminal;

[0332] The transmission module 1230 is further configured to interrupt the data transmission of the at least one associated resource when the signal strength is lower than a first signal threshold, and to save the context data of the at least one associated resource at the breakpoint.

[0333] In some optional embodiments, the display module 1210 is further configured to display range indication information when the signal strength is lower than a second signal threshold, the range indication information being used to indicate that the distance between the first transmission end and the second transmission end exceeds the transmission range corresponding to the short-range communication connection.

[0334] In some optional embodiments, the management module 1240 is further configured to, upon receiving at least two associated resources, integrate the at least two associated resources to obtain an integrated resource file, wherein the at least two associated resources are resources obtained by the second transmission end after unpacking the resource file of the first application; and perform application management on the first application through the resource file.

[0335] Please refer to Figure 14, which shows a structural block diagram of a resource acquisition device provided in an exemplary embodiment of this application. The device includes the following modules:

[0336] The connection module 1410 is used to establish a short-range communication connection with a first transmission end, the first transmission end being a device that requires associated resources of a first application, the first transmission end selecting a second transmission end from at least one candidate transmission end as a device providing associated resources of the first application, the second transmission end being a currently controlled device;

[0337] The transmission module 1420 is used to send at least one associated resource corresponding to the first application to the first transmission terminal.

[0338] In some optional embodiments, the apparatus further includes: a display module (not shown) for displaying at least one candidate transmission endpoint, the candidate transmission endpoint being a device that requires associated resources of the first application;

[0339] A receiving module (not shown in the figure) is used to receive a third selection operation on the first transmission end among the at least one candidate transmission end;

[0340] The connection module 1410 is also used to establish a distance communication connection with the first transmission end in response to the third selection operation.

[0341] In some optional embodiments, the apparatus further includes: an acquisition module (not shown in the figure) for acquiring device communication information, the device communication information being used to indicate the communication type supported by the second transmission end; and acquiring the at least one candidate transmission end when the device communication information indicates that the second transmission end meets the communication requirements of the short-distance communication.

[0342] In some optional embodiments, the display module is further configured to display at least one resource candidate of the first application provided by the second transmission end, the resource candidate being used to indicate the associated resource to be selected;

[0343] The receiving module is further configured to receive a fourth selection operation on the third resource item among the at least one resource candidate;

[0344] The transmission module 1420 is further configured to, when the short-range communication connection is established between the first transmission terminal and the second transmission terminal, send at least one associated resource corresponding to the first application to the second transmission terminal based on the third selection operation and the fourth selection operation, wherein the at least one associated resource includes an associated resource corresponding to the third resource item.

[0345] In some optional embodiments, the receiving module is further configured to receive the third selection operation on at least two first transmission ends among the at least two candidate transmission ends when at least two candidate transmission ends are provided;

[0346] The transmission module 1420 is further configured to send the associated resources corresponding to the first application to the i-th second transmission terminal when the second transmission terminal establishes the short-distance communication connection with the i-th first transmission terminal among the at least two first transmission terminals, where i is a positive integer.

[0347] In some optional embodiments, the apparatus further includes: a sending module (not shown in the figure) for sending a connection request to the first transmitting end, the connection request being used to request the establishment of the short-range communication connection with the first transmitting end;

[0348] The connection module 1410 is further configured to establish the short-range communication connection with the first transmission terminal when it receives an acceptance message from the first transmission terminal based on the connection request.

[0349] The receiving module is also configured to receive a code input operation, wherein the code input operation is used to determine a verification code for connection verification.

[0350] The connection module 1410 is further configured to establish the short-range communication connection with the first transmission terminal when the verification code matches the verification code corresponding to the first transmission terminal.

[0351] The acquisition module is also used to acquire historical connection data, which is used to record the historical communication connections established by the second transmission end within a historical time period.

[0352] The connection module 1410 is further configured to establish the short-distance communication connection with the first transmission terminal when the historical connection data includes a historical record of the historical communication connection established between the second transmission terminal and the first transmission terminal.

[0353] In some optional embodiments, the acquisition module is further configured to acquire the signal strength corresponding to the short-range communication connection during the process of sending at least one associated resource corresponding to the first application to the first transmission terminal;

[0354] The transmission module 1420 is further configured to interrupt the data transmission of the at least one associated resource when the signal strength is lower than a first signal threshold, and to save the context data of the at least one associated resource at the breakpoint.

[0355] In some optional embodiments, the display module is further configured to display range indication information when the signal strength is lower than a second signal threshold, the range indication information being used to indicate that the distance between the first transmission end and the second transmission end exceeds the transmission range corresponding to the short-range communication connection.

[0356] It should be noted that the resource acquisition device provided in the above embodiments is only an example of the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the resource acquisition device and the resource acquisition method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0357] Figure 15 shows a structural block diagram of a terminal 1500 provided in an exemplary embodiment of this application. The terminal 1500 may be a VR device, smartphone, tablet computer, MP3 player, MP4 player, laptop computer, or desktop computer. The terminal 1500 may also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or other names.

[0358] Typically, terminal 1500 includes a processor 1501 and a memory 1502. Processor 1501 may include one or more processing cores. Memory 1502 may include one or more computer-readable storage media. In some embodiments, the non-transitory computer-readable storage media in memory 1502 are used to store at least one instruction, which is executed by processor 1501 to implement the resource acquisition method provided in the method embodiments of this application.

[0359] Indicatively, terminal 1500 also includes other components 1503. Those skilled in the art will understand that the structure shown in FIG15 does not constitute a limitation on terminal 1500 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0360] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. This program can be stored in a computer-readable storage medium, which may be a computer-readable storage medium included in the memory described in the above embodiments; or it may be a standalone computer-readable storage medium not assembled into a terminal. The computer-readable storage medium stores at least one instruction, at least one program segment, a code set, or an instruction set. The at least one instruction, the at least one program segment, the code set, or the instruction set is loaded and executed by the processor to implement any of the resource acquisition methods described in the above embodiments.

Claims

1. A method for acquiring a resource, the method being executed by a first transmission end, the method comprising: Display at least one candidate transmission endpoint, the candidate transmission endpoint supporting the provision of associated resources of the first application to the first transmission endpoint via short-range communication; Receive a first selection operation for a second transmission end among the at least one candidate transmission end; When a short-range communication connection is established between the first transmission terminal and the second transmission terminal, at least one associated resource corresponding to the first application is received from the second transmission terminal.

2. The method according to claim 1, wherein, After receiving at least one associated resource corresponding to the first application sent by the second transmission terminal, the method further includes: Application management is performed on the first application through at least one associated resource, the application management including at least one of application installation and application update.

3. The method according to claim 1 or 2, wherein, The display of at least one candidate transmission end includes: If there is an application management requirement for the first application, the at least one candidate transmission terminal is displayed, and the application management requirement includes at least one of the installation requirement and the update requirement for the first application.

4. The method according to any one of claims 1 to 3, wherein, The step of displaying the at least one candidate transmission endpoint when there is an application management requirement for the first application includes: The platform interface provided by the application download platform is displayed. The platform interface is used to provide associated resources for at least one application, and the at least one application includes the first application. Receive an application management operation for the first application, the application management operation being used to determine whether to perform at least one of an application download operation and an application update operation for the first application; The application management operation displays at least one candidate transmission endpoint.

5. The method according to any one of claims 1 to 4, wherein, The step of displaying the at least one candidate transmission endpoint when there is an application management requirement for the first application includes: During the operation of the first application, the application version information of the first application is obtained; If the application version information indicates that the first application is in a pending update state, the at least one candidate transmission end is displayed.

6. The method according to any one of claims 1 to 5, wherein, When the application version information indicates that the first application is in a pending update state, displaying the at least one candidate transmission endpoint includes: When the application version information indicates that the first application is in a state of pending update, the running load information of the first application is obtained. The running load information is used to indicate the occupation of device resources of the first transmission end during the operation of the first application. If the running load information meets the resource update requirements, the at least one candidate transmission end is displayed.

7. The method according to any one of claims 1 to 6, wherein, After receiving at least one associated resource corresponding to the first application sent by the second transmission terminal, the method further includes: Within the first application, the associated resources are used to perform resource management, which includes at least one of resource storage, item exchange, level upgrade, content unlocking, and community creation.

8. The method according to any one of claims 1 to 7, wherein, The method further includes: Display at least one resource candidate provided by the second transmission terminal for the first application, the resource candidate being used to indicate the associated resource to be selected; Receive a second selection operation on a first resource item among the at least one resource candidate; When a short-range communication connection is established between the first transmission terminal and the second transmission terminal, receiving at least one associated resource corresponding to the first application sent by the second transmission terminal includes: When the short-range communication connection is established between the first transmission end and the second transmission end, based on the first selection operation and the second selection operation, the at least one associated resource sent by the second transmission end is received, and the at least one associated resource includes the associated resource corresponding to the first resource item.

9. The method according to any one of claims 1 to 8, wherein, When a short-range communication connection is established between the first transmission terminal and the second transmission terminal, receiving at least one associated resource corresponding to the first application sent by the second transmission terminal includes: When a short-range communication connection is established between the first transmission end and the second transmission end, at least one resource candidate for the first application provided by the second transmission end is determined; Based on the demand identification strategy corresponding to the first application, at least one second resource item is determined from the at least one resource candidate. The demand identification strategy is used to identify the demand of the first transmission end for the associated resources corresponding to the at least one resource candidate. The at least one associated resource sent by the second transmission terminal is received based on the at least one second resource item, wherein the at least one associated resource includes an associated resource corresponding to the at least one second resource item.

10. The method according to any one of claims 1 to 9, wherein, The first selection operation of receiving the second transmission end from the at least one candidate transmission end includes: When at least two candidate transmission ends are provided, the first selection operation is received for at least two second transmission ends among the at least two candidate transmission ends; When a short-range communication connection is established between the first transmission terminal and the second transmission terminal, receiving at least one associated resource corresponding to the first application sent by the second transmission terminal includes: When the first transmission terminal establishes the short-range communication connection with the i-th second transmission terminal among the at least two second transmission terminals, the i-th associated resource corresponding to the first application is received from the i-th second transmission terminal, where i is a positive integer.

11. The method according to any one of claims 1 to 10, wherein, The method further includes: Send a connection request to the second transmission end, the connection request being used to request the establishment of the short-range communication connection with the second transmission end; upon receiving an acceptance message from the second transmission end based on the connection request, establish the short-range communication connection with the second transmission end; or, A code input operation is received, which is used to determine a verification code for connection verification; if the verification code matches the verification code corresponding to the second transmission terminal, the short-range communication connection is established with the second transmission terminal. or, Acquire historical connection data, which is used to record the historical communication connections established by the first transmission end within a historical period; if the historical connection data includes a historical record of the historical communication connections established between the first transmission end and the second transmission end, establish the short-distance communication connection with the second transmission end.

12. The method according to any one of claims 1 to 11, wherein, The step of performing application management on the first application through the at least one associated resource includes: If at least two associated resources are received, the at least two associated resources are integrated to obtain an integrated resource file, wherein the at least two associated resources are resources obtained by the second transmission end after unpacking the resource file of the first application; Application management is performed on the first application through the resource file.

13. A method for acquiring a resource, the method being executed by a second transmission end, the method comprising: A short-range communication connection is established with a first transmission end, which is a device that requires associated resources of the first application. The first transmission end selects the second transmission end from at least one candidate transmission end as the device that provides associated resources of the first application. Send at least one associated resource corresponding to the first application to the first transmission terminal.

14. The method according to claim 13, wherein, Establishing a short-range communication connection with the first transmission end includes: Display at least one candidate transmission endpoint, which is a device that requires associated resources of the first application; Receive a third selection operation for the first transmission end among the at least one candidate transmission end; In response to the third selection operation, a distance communication connection is established with the first transmission end.

15. The method according to claim 13 or 14, wherein, The receiving of the third selection operation for the first transmission terminal among the at least one candidate transmission terminal includes: When at least two candidate transmission ends are provided, the third selection operation is received for at least two first transmission ends among the at least two candidate transmission ends; Sending at least one associated resource corresponding to the first application to the first transmission terminal includes: When the second transmission terminal establishes the short-range communication connection with the i-th of the at least two first transmission terminals, the associated resources corresponding to the first application are sent to the i-th second transmission terminal, where i is a positive integer.

16. A resource acquisition apparatus, the apparatus comprising: A display module is used to display at least one candidate transmission end, wherein the candidate transmission end supports providing associated resources of a first application to a first transmission end via short-range communication, and the first transmission end is the currently controlled device; The receiving module is configured to receive a first selection operation for a second transmission end among the at least one candidate transmission end; The transmission module is used to receive at least one associated resource corresponding to the first application sent by the second transmission terminal when a short-range communication connection is established between the first transmission terminal and the second transmission terminal.

17. A resource acquisition apparatus, the apparatus comprising: A connection module is used to establish a short-range communication connection with a first transmission end, the first transmission end being a device that requires associated resources of a first application, the first transmission end selecting a second transmission end from at least one candidate transmission end as a device providing associated resources of the first application, the second transmission end being a currently controlled device; The transmission module is used to send at least one associated resource corresponding to the first application to the first transmission terminal.

18. A computer device comprising a processor and a memory, the memory storing at least one program, the at least one program being loaded and executed by the processor to implement the resource acquisition method as described in any one of claims 1 to 15.

19. A computer-readable storage medium storing at least one piece of program code, the program code being loaded and executed by a processor to implement the method for acquiring a resource as described in any one of claims 1 to 15.

20. A computer program product comprising a computer program or instructions that, when executed by a processor, implement the resource acquisition method as described in any one of claims 1 to 15.