A data transmission method, terminal and computer storage medium

By establishing network connections in smart terminal technology, determining and analyzing the attribute information of the target application, the intelligent transmission and adaptability of the application are achieved, solving the problem of insufficient adaptability of transmission between different terminal devices, and improving the Transmission efficiency and resource utilization.

CN111641714BActive Publication Date: 2024-12-03SHANGHAI TRANSSION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010478618.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-29
Publication Date
2024-12-03
Estimated Expiration
2040-05-29

AI Technical Summary

Technical Problem

In the process of developing smart terminal technology, it is difficult for the existing technology to realize intelligent transmission of applications between different terminals, especially due to the differences in different operating systems and device architectures, the transmission process is not intelligent enough and adaptable enough.

Method used

By establishing a network connection of the terminal, determine the target application to be sent and analyze its attribute information. If the attribute information is the target attribute information, the application will be sent, and the intelligent identification and adaptation strategy will be used for installation and processing, supporting different types of terminals. Application transfer between devices.

Benefits of technology

It realizes intelligent transmission and diversified installation of applications, enhances adaptability between terminal devices, reduces waste of transmission resources, and improves download speed and storage space utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111641714B_ABST
    Figure CN111641714B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a data transmission method, including: establishing a network connection of a terminal; determining a target application to be sent; analyzing attribute information of the target application; and sending the target application if the attribute information is target attribute information. By using the embodiment of the present application, intelligent transmission of the target application can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the continuous development of smart terminal technology, the functions of mobile applications are becoming more and more diverse. App stores often cannot fully cover the types of applications. More and more users choose to transfer applications directly between mobile phones to achieve rapid sharing and use of applications. As a result, how to achieve the transmission of applications between terminals has become a hot research issue.

[0003] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the invention

[0004] The embodiments of the present application provide a data transmission method, device, terminal and computer storage medium, which can realize intelligent transmission of target applications.

[0005] On the one hand, an embodiment of the present application provides a data transmission method, including:

[0006] Establishing a network connection of a terminal;

[0007] Determine the target application to be sent;

[0008] Analyzing attribute information of the target application;

[0009] If the attribute information is target attribute information, the target application is sent.

[0010] On the other hand, an embodiment of the present application provides a data transmission device, including:

[0011] A connection module, used to establish a network connection of a terminal;

[0012] A confirmation module, used to determine the target application to be sent;

[0013] An analysis module for the attribute information of the target application;

[0014] A sending module is used to send the target application if the attribute information is target attribute information.

[0015] On the other hand, an embodiment of the present application provides a terminal, comprising: a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the data transmission method described above.

[0016] On the other hand, an embodiment of the present application provides a computer storage medium, including: the computer storage medium stores program instructions, and when the program instructions are executed by a processor, the above-mentioned data transmission method is implemented.

[0017] In the embodiment of the present application, after establishing the network connection of the terminal, the target application to be sent is determined, and the attribute information of the target application is analyzed. If the attribute information is the target attribute information, the target application is sent. The embodiment of the present application can automatically detect the attribute information of the target application, thereby obtaining the target application whose attribute information is the target attribute information, and sending the target application, thereby realizing an intelligent application transmission process. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0019] Figure 1 A flowchart of a data transmission method provided in an embodiment of the present application;

[0020] Figure 2a A source terminal user interface diagram provided in an embodiment of the present application;

[0021] Figure 2b Another source terminal user interface diagram provided in an embodiment of the present application;

[0022] Figure 3 A flowchart of another data transmission method provided in an embodiment of the present application;

[0023] Figure 4a Another source terminal user interface diagram provided in an embodiment of the present application;

[0024] Figure 4b A target terminal user interface diagram provided in an embodiment of the present application;

[0025] Figure 5 A schematic diagram of the structure of a data transmission device provided in an embodiment of the present application;

[0026] Figure 6 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0028] The terms "first", "second", etc. in the specification and claims of this application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or modules, but optionally includes steps or modules that are not listed, or optionally includes other steps or modules inherent to these processes, methods, products or devices.

[0029] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0030] At present, with the continuous development of intelligent terminal technology, the functions of terminals are increasing. Among them, the rapid development of application technology has brought more diversified functional experience to users using terminal applications, and users' demand for the number or type of terminal applications is also increasing. In real life, the number and types of application software are increasing. Based on user needs, users can directly select applications for download in the application store through terminal devices. At the same time, users can also directly transmit the application corresponding to the application software through the terminal. In the embodiment of the present application, when there is a situation of end-to-end application transmission between terminals, the terminal device that actively transmits the application is used as the source terminal, and the terminal device that passively receives the application is used as the destination terminal. The specific transmission process can refer to the description of the following embodiment.

[0031] See also Figure 1 , is a flow chart of a data transmission method provided in an embodiment of the present application. The method in the embodiment of the present application can be executed by a terminal device, which can be a smart phone, a tablet computer, a smart wearable device, etc. The method in the embodiment of the present application includes the following steps.

[0032] S101, establishing a network connection of a terminal;

[0033] When the source terminal user wants to send an application to the destination terminal, it is necessary to establish a network connection between the source terminal and the destination terminal, and then implement the end-to-end target installation package sending process based on the local area network. In one implementation, the network connection can be a Bluetooth connection. The source terminal user and the destination terminal can turn on Bluetooth in the settings of the terminal device, and realize the Bluetooth connection between the source terminal and the destination terminal by searching for a matching Bluetooth device, and then transmit based on Bluetooth. Optionally, the network connection can be that the source terminal creates a Wifi hotspot, the destination terminal uses the Wifi hotspot, and the two terminal devices transmit application files in a self-built Wifi environment, and the self-built WiFi hotspot channel does not consume traffic to achieve fast data transmission. It should be noted that the connection method between the source terminal and the destination terminal may include but is not limited to the above-mentioned data transmission and intercommunication connection method. Optionally, the source terminal user and the destination terminal user can also transmit the application based on the data transmission function provided by the application software such as the communication application. The source terminal user and the destination terminal user can directly turn on the data transmission function of the application software, find the corresponding device identification information or directly select the application account information of the application software where the destination terminal is located, and realize the end-to-end transmission of the application.

[0034] S102: Determine the target application to be sent.

[0035] When the source terminal detects an instruction initiated by the user to send a target application based on a certain transmission method, the source terminal needs to determine the application program of the target application corresponding to the instruction initiated by the user, where the target application is a computer program developed and run on the operating system to achieve one or several specific tasks or functions, and specifically can be an office application, video application, game application, communication application, etc. installed on the source terminal.

[0036] An application program is a computer program developed and run on an operating system for users to complete one or several specific tasks on terminals such as mobile phones and tablet computers. In one embodiment, the user selects the target application program to be sent on the terminal, which may include the following process: Figure 2a As shown, after the source terminal establishes a network connection relationship with the target terminal, when the source terminal user triggers an application transmission operation, a file sending page can be displayed on the user interface of the source terminal. The file sending page displays one or more target applications that can be sent to the target terminal, such as the first application, the second application, the third application, or the fourth application. The user can directly select one or more applications to be sent to the target terminal based on the file sending page. Optionally, if the source terminal user selects the target application to be sent, the user interface of the source terminal can jump to the sending object selection page, such as Figure 2bAs shown, the sending object selection interface may include one or more sending objects. If the application is transmitted based on the data transmission function of a certain application software, the object selection interface may display one or more sending object application account information or avatar information corresponding to the application account; optionally, if the application is transmitted based on a connection method such as Bluetooth, the object selection interface may display one or more terminal device identification information corresponding to the destination terminal that has established a connection relationship with the source terminal. Optionally, the user may directly select the application to be sent on the file sending page, and then search for nearby Bluetooth identification information or WiFi hotspot identification information to select the destination terminal with the corresponding identification information to directly send the target application, or directly scan the QR code of the data transmission corresponding to the destination terminal to directly send the target application, etc., wherein the selection process of the application or the sending object varies based on different transmission channels, and the embodiments of the present application do not impose specific restrictions.

[0037] S103: Analyze the attribute information of the target application.

[0038] The attribute information of the target application may be the build type corresponding to the target application or the system attribute information that can reflect the build type of the target application. It can be understood that the file resources corresponding to the target application are constructed according to a certain format, that is, they are constructed according to a certain build type. Generally speaking, there are often different program build types for different operating systems. For example, the program build type corresponding to the iOS operating system may be ipa (iPhone Application), pxl (Pocket Excel), deb (debian) and other formats; the program build type corresponding to Android may be: bundle.apk (Android application package); the program build type corresponding to Microsoft's Windows Phone 7 and Windows Phone 8 may be xap, etc. Of course, the correspondence between the operating system and the program build type provided in the embodiments of the present application includes but is not limited to the above examples.

[0039] After the target application is confirmed, the attribute information of the resource file corresponding to the target application is analyzed and identified to obtain the attribute information of the target application. The attribute information may include the build type of the target application. The build type of the target application may be determined by identifying the target installation package corresponding to the target application or the extension of the resource file corresponding to the target application, thereby determining the build type corresponding to the target application. The build type may be any of the build types exemplified above or any other build type.

[0040] S104: If the attribute information is target attribute information, send the target application.

[0041] The target attribute information can be a type of attribute information customized by the developer or user based on the operating system. The target attribute information may include a customized target build type or a build type of an application supported by the terminal. When the attribute information of the installation package or installation resource file corresponding to the target application is the target attribute information, all relevant data of the target application can be directly sent to the destination terminal.

[0042] In one embodiment, the target installation package corresponding to the target application can also be found, and the target installation package corresponding to the target application found can be sent to the destination terminal. The installation package refers to the corresponding collection of self-decompressible files when the target application is installed, which includes all resource collections for software installation. When this installation package is run, all resources of the corresponding software can be released to the hard disk, and operations such as modifying the registry, modifying system settings, and creating shortcuts can be completed. Among them, the target installation package sent by the source terminal to the destination terminal can be the installation resource collection corresponding to the target application, or it can be a partial installation resource collection selected from all installation resource collections according to the installation requirements of the destination terminal. The selected partial installation resource collection can be determined based on installation information such as the program architecture supported by the destination terminal.

[0043] In one embodiment, sending the target application to the target terminal may specifically include: if the construction type is the target construction type, detecting the installation information for the target installation package, wherein the installation information is information related to the target application installation process, which may be the operating system information of the source terminal or the program architecture information of the target application, or the application architecture information supported by the target terminal; specifically, it may include the operating system information of the source terminal or the target terminal, CPU architecture, machine resolution, current language environment, screen size and other information. The source terminal analyzes the above installation information to determine whether the target terminal can support the operation of the target application. If the result of the determination is that the target terminal supports the operation of the target application, it confirms that the installation information meets the conditions, and selects the resource file set required for the target terminal to run the target application for packaging and processing to form a target installation package, thereby sending the target installation package to the target terminal so that the target terminal directly uses the system installation tool for installation processing. If the result of the determination is that the target installation package is not supported, the user's opinion may be used to select whether to continue to send the target installation package. If the user agrees to continue to send, the target installation package is installed in other ways.

[0044] In one embodiment, before sending the target application to the destination terminal, the following steps may also be included: setting an installation password for the installation package corresponding to the target application, the installation password may be a password set by the user, or a password automatically generated according to the target installation package, and optionally, the password may be directly displayed on the user interface of the source terminal, that is, it may be directly displayed on the file sending page when the source terminal sends the target installation package to the destination terminal, so that the source terminal user can promptly and clearly inform the destination terminal user of the installation password; then the source terminal generates password verification information and sends it to the destination terminal, and after receiving the password verification information, the destination terminal prompts a message for entering the password information on its user interface, and the destination terminal user may ask the source terminal user for the installation password and enter it. The destination terminal generates a feedback message based on the verification password entered by the user and sends it to the source terminal, and the source terminal compares and analyzes the verification password with the installation password, and if they are consistent, it confirms that the installation package corresponding to the target application is sent to the destination terminal.

[0045] By adopting the embodiments of the present application, it is possible to detect the attribute information of the target installation package, thereby operating the target application whose attribute information is the target attribute information, obtaining the installation information such as the program architecture or configuration required for the target terminal to install the target application, and performing intelligent identification and analysis based on the obtained installation information to determine whether the target terminal supports running the target application, and adopting different installation strategies for installation processing based on the determination result, thereby realizing a diversified and intelligent installation process of the target installation package, further realizing the transmission of applications between different types of terminal devices, and the adaptability of this installation method is stronger.

[0046] See also Figure 3 , Figure 3 A flowchart of a data transmission method provided in an embodiment of the present application. The method in the embodiment of the present application can be executed by a terminal device, which can be a smart phone, a tablet computer, a smart wearable device, etc. The method in the embodiment of the present application includes the following steps, and the detailed technical content of steps S301-S303 can refer to steps S101-S103:

[0047] S301: Establish a network connection of a terminal.

[0048] S302: Determine the target application to be sent.

[0049] S303: Analyze the attribute information of the target application.

[0050] In one embodiment, before analyzing the build type of the installation package, the step further includes: identifying the version information of the target installation package; if it is detected that the current version information is not the latest version, displaying update information to prompt the source terminal user to update the target application, thereby sending the installation package of the updated target application to the destination terminal; if it is detected that the current version information is the latest version, triggering the step of analyzing the build type of the target installation package.

[0051] S304: If the analysis determines that the attribute information is target attribute information, then identify reference program architecture information of the target application.

[0052] The target attribute information may include the target build type of the resource file corresponding to the target application, wherein the target build type may be a pre-specified application packaging method, that is, a program build type. In one implementation, the program build method of the application is preferentially preset to use APP Bundle. It should be understood that if the code of an Android application wants to run on an Android device, it must first be compiled and then packaged into a file that can be recognized by the Android system before it can be run. The file format that can be recognized and run by the Android system is "APK", so the APK resource collection may include compiled code files (".dex" files), file resources (resources), native resource files (assets), certificates (certificates), and manifest files (manifest file) and other files.

[0053] When designing the target application, an application bundle (App Bundle) related to the target application will be built in the Android integrated development tool (Android Studio), covering all the files required to package the target application. The files contained in the application bundle are suitable for most language environments, device screen sizes, and all hardware architectures, so that most terminal devices can find the file resources when running the target application in the application bundle (App Bundle). The language environment, screen size, hardware architecture (such as CPU architecture), operating system and other parameters supported by the terminal from which the user downloads the target application are different, but when the user downloads the target application, the application architecture information supported by the user's terminal device (that is, the various parameter information of the terminal device) will be used to determine the relevant resource collection applicable to the current terminal device, and package it into APK form so that the user can install it on the device. It is understandable that when the user downloads the target application, based on the dynamic delivery characteristics of the App Bundle, only the resource collection applicable to the terminal device will be transmitted, so that the installation package corresponding to the target application seen by the user when downloading is smaller, the download speed is faster, and the device storage space is also saved.

[0054] In one embodiment, if the analysis determines that the build type is not the target build type, the target installation package is sent to the target terminal so that the target terminal can install the target installation package. In other words, when the target build type is not App Bundle build, there will be no screening of installation file resources, so that all files corresponding to the target terminal are packaged, a target installation package is generated, and sent to the target terminal so that the target terminal uses the system installation software to install the target installation package.

[0055] S305: Acquire application architecture information supported by the target terminal.

[0056] In one embodiment, after the source terminal identifies the build type of the target installation package, it generates verification information and sends it to the destination terminal. After receiving the verification information, the destination terminal will identify the application architecture information supported by itself, that is, identify its own operating system information, CPU architecture, machine resolution, current language environment, screen size and other parameter information related to the installation of the target application, and feed it back to the source terminal so that the source terminal can determine whether the resource set corresponding to the target application stored in the source terminal matches the application architecture information supported by the destination terminal, that is, determine whether the target application run by the source terminal can be run by the destination terminal.

[0057] S306, receiving the application architecture information fed back by the target terminal, and determining whether the application architecture information supported by the target terminal matches the reference application architecture information. If so, executing step S307, if not, executing step S308.

[0058] When the source terminal receives the application architecture information fed back by the destination terminal, the reference application architecture information of the target application stored in the source terminal is compared and analyzed with the application architecture information supported by the destination terminal to determine whether the destination terminal supports the target application currently running by the source terminal. Specifically, the analysis process may be to compare the CPU architecture or CPU model, virtual machine model, system model, machine resolution, supported language environment and other parameters of the source terminal and the destination terminal.

[0059] For example, in order to ensure the running stability of the target application in the destination terminal, it is necessary to ensure that the instructions used in the language compilation can be supported by the CPU of the destination terminal, so as not to cause program abnormalities. Specifically, for example, the CPU corresponding to the application architecture information run by the source terminal is a processor of the X86 (64-bit) architecture, so if the CPU architecture of the destination terminal is the ARM (Advanced RISC Machine) architecture or the X86 (32-bit) architecture, the resource set related to the target application stored in the source terminal is directly transmitted to the destination terminal, and cannot be run by the destination terminal, thereby confirming that the application architecture information supported by the destination terminal does not match the reference program architecture information. If the CPU corresponding to the application architecture information run by the source terminal is a processor of the X86 (32-bit) architecture, and the CPU architecture of the destination terminal is the X86 (32-bit) architecture or the X86 (64-bit) architecture, it is confirmed that the application architecture information supported by the destination terminal matches the reference program architecture information. It should be understood that, in the process of analyzing the reference program architecture information and the application architecture information supported by the target terminal, the parameter information required to run the target application is compared and analyzed. The specific analysis process does not require that the application architecture information of the two be exactly the same. It is only necessary to determine whether the application architecture information supported by the target terminal can support the target application. The specific comparative analysis process includes but is not limited to the examples given above.

[0060] S307: If the application architecture information supported by the target terminal matches the reference application architecture information, determine the installation data corresponding to the application architecture information supported by the target terminal from the installation data set corresponding to the target application as the target installation package.

[0061] S308: Generate a first notification message carrying the target installation package information; send the first notification message to the destination terminal, where the first notification message is used to prompt the destination terminal to install the target installation package according to a first policy.

[0062] Optionally, the target installation package information may be the target installation package file itself, or target installation package description information (such as name, size, manufacturer, version number, release time, etc.).

[0063] When it is confirmed that the target terminal can run the target application, the source terminal selects a resource set that can run on the target terminal from an application bundle (App Bundle) related to the target application and the architecture information supported by the target terminal, and packages it in the "APK" format to form a target installation package that is compatible with the target terminal, and generates a first notification message to send it to the target terminal. The first notification message carries the target installation package and the first policy for installing the target installation package. After receiving the first notification message, the target terminal will install the target installation package according to the first policy.

[0064] Among them, the target terminal can support the installation processing of the target installation package, and its corresponding first strategy can be that the system installation tool of the target terminal automatically identifies the target installation package sent by the source terminal, finds the APK file in the installation package, and runs the APK file to install the target application.

[0065] S309: If the application architecture information supported by the target terminal does not match the reference application architecture information, a prompt interface is displayed on the user interface to facilitate the source terminal user to decide whether to continue sending the target application.

[0066] like Figure 4a As shown, the source terminal may also directly display a prompt interface on its user interface, which may include the words "the first application is not supported by the destination terminal, continue to send or cancel sending" to prompt the user to decide whether to continue sending the target application. The source terminal user initiates an operation of confirming to continue sending or interrupt sending according to the words on the prompt interface, and detects and responds to the operation instruction initiated by the user.

[0067] S310: If the confirmation information of the target application is continued to be sent in response to the confirmation of the prompt interface, the installation data corresponding to the target application is collected as a target installation package.

[0068] In one embodiment, when the source terminal receives confirmation information fed back by the destination terminal to continue sending the target terminal, the source terminal packages all resource sets included in the application bundle (App Bundle) related to the target application in "APK" format to generate a target installation package.

[0069] S311: Generate a second notification message carrying the target installation package information, and send the second notification message to the destination terminal, where the second notification message is used to prompt the destination terminal to install the target installation package according to a second policy.

[0070] Optionally, the target installation package information may be the target installation package file itself, or target installation package description information (such as name, size, manufacturer, version number, release time, etc.).

[0071] In one embodiment, when sending the packaged target installation package, a second notification message is generated and sent to the target terminal, the second notification message carries the target installation package and the second strategy for installing the target installation package, and after receiving the second notification message, the target terminal will install the target installation package according to the second strategy. Among them, because the target terminal cannot support the program architecture information corresponding to the target application, the target terminal cannot use the system tool to directly install the target installation package, so the second strategy can be to install the application APK resources included in the target installation package through the installation package program (PackageInstaller).

[0072] In one embodiment, if the application architecture information supported by the target terminal does not match the reference application architecture information, the target installation package can also be installed by the following steps: sending a prompt message to the target terminal to prompt the target terminal user whether to continue to send the target application. If a confirmation message in response to the prompt message is received to continue to send the target application, the installation data corresponding to the target application is collected as the target installation package. Specifically, Figure 4b As shown, when the source terminal detects that the program architecture information supported by the destination terminal does not match the reference program architecture information, the source terminal will send a prompt message to the destination terminal. After receiving the prompt message, the destination terminal will prompt the destination terminal user whether to continue sending the target application. Optionally, the destination terminal can be through displaying a confirmation interface on the destination terminal user interface. The confirmation interface may include the prompt words "the first application is not supported, continue to send or cancel sending", and the user initiates the operation of confirming to continue sending or interrupt sending according to the words. The destination terminal detects and identifies the operation initiated by the destination terminal user, and returns a response message to the source terminal whether to continue sending the target application. Then the source terminal generates a second notification message carrying the target installation package corresponding to the target application, and sends the second notification message to the destination terminal. The second notification message is used to prompt the destination terminal to install the target installation package according to the second policy.

[0073] By adopting the embodiment of the present application, it is possible to detect the attribute information of the target installation package, thereby operating the target application whose attribute information is the target attribute information, thereby detecting the reference program architecture information corresponding to the target application and the application architecture information supported by the target terminal, and performing intelligent identification and analysis on the two to determine whether the target terminal supports running the target application. Thus, when the target terminal supports the target application, the source terminal directly sends it to the target terminal so that the target terminal can perform a quick installation process; when the target terminal does not support the target application, the source terminal user or the target terminal user is asked whether to continue sending. If it continues to send, the target terminal adopts the corresponding installation strategy for installation. If it cancels the sending, it avoids traffic and time waste and saves transmission resources. In other words, the installation information of the target application is dynamically identified, and different installation strategies are adopted for installation processing according to the judgment result, so as to realize the diversified and intelligent installation process of the target installation package, further realize the application transmission between different types of terminal devices, and the installation method has stronger adaptability. At the same time, the target installation package built in the form of App Bundle only needs to package the resource data required by the target terminal during its dynamic delivery process, which greatly reduces the application size, speeds up the download speed, and saves device storage space.

[0074] See also Figure 5 , Figure 5 The present application provides a schematic diagram of a data transmission device. The data transmission device is provided in a terminal device, which may be a smart phone, a tablet computer, a smart wearable device, or the like. The data transmission device includes the following modules:

[0075] The connection module 501 is used to establish a network connection of a terminal.

[0076] The confirmation module 502 is used to determine the target application to be sent.

[0077] The analysis module 503 is used for the attribute information of the target application.

[0078] The sending module 504 is configured to send the target application if the attribute information is target attribute information.

[0079] In one embodiment, the sending module 504 is further configured to send the target application to the target terminal if the attribute information is not target attribute information, so that the target terminal can install the target application.

[0080] In one embodiment, the sending module 504 is specifically used to identify the reference program architecture information of the target application; obtain the application architecture information supported by the destination terminal; determine whether the application architecture information supported by the destination terminal matches the reference program architecture information; if so, send the target application to the destination terminal.

[0081] In one embodiment, the sending module 504 is specifically configured to send a verification message to the destination terminal to prompt the destination terminal to feedback the application architecture information supported by the destination terminal; and receive the application architecture information fed back by the destination terminal.

[0082] In one embodiment, the sending module 504 is specifically used to determine the installation data corresponding to the application architecture information supported by the target terminal from the installation data set corresponding to the target application as the target installation package; generate a first notification message carrying the target installation package information; and send the first notification message to the target terminal, wherein the first notification message is used to prompt the target terminal to install the target installation package according to a first strategy.

[0083] In one embodiment, the sending module 504 is specifically used to send a prompt message to the destination terminal if the application architecture information supported by the destination terminal does not match the reference program architecture information, so as to prompt the destination terminal user whether to continue sending the target application; if a confirmation message is received in response to the prompt message to continue sending the target application, the installation data corresponding to the target application is combined as a target installation package; a second notification message carrying the target installation package information is generated, and the second notification message is sent to the destination terminal, the second notification message is used to prompt the destination terminal to install the target installation package according to a second strategy.

[0084] In one embodiment, the sending module 504 is specifically used to display a prompt interface on the user interface if the application architecture information supported by the target terminal does not match the reference program architecture information, so that the source terminal user can decide whether to continue sending the target application; if the detection responds to the confirmation of the prompt interface to continue sending the confirmation information of the target application, the installation data corresponding to the target application is combined as a target installation package; generate a second notification message carrying the target installation package information, and send the second notification message to the target terminal, so as to prompt the target terminal to install the target installation package according to the second strategy.

[0085] In one embodiment, the analysis module 503 is also used to identify the version information of the target installation package corresponding to the target application; if it is detected that the current version information is not the latest version, update information is displayed, and the update information is used to prompt the source terminal user to update the target application; and / or, if it is detected that the current version information is the latest version, the step of analyzing the attribute information of the target application is triggered.

[0086] It can be understood that the specific implementation of each functional module in the embodiment of the present application can refer to the relevant description of the aforementioned method embodiment, which will not be repeated here.

[0087] In the embodiment of the present application, after establishing the network connection of the terminal, the target application to be sent is determined, and the attribute information of the target application is analyzed. If the attribute information is the target attribute information, the target application is sent. The embodiment of the present application can automatically detect the attribute information of the target application, thereby obtaining the target application whose attribute information is the target attribute information, and sending the target application, thereby realizing an intelligent application transmission process.

[0088] See also Figure 6 , Figure 6 The embodiment of the present application provides a schematic block diagram of a smart terminal. The terminal device described in the embodiment of the present application may refer to: a smart phone, a tablet computer, a smart wearable device and other terminal devices. The smart terminal includes at least a processor 601, a storage device 602 and a user interface 603. The processor 601, the storage device 602 and the user interface 603 are interconnected, wherein the storage device 602 is used to store a computer program, the computer program includes program instructions, and the processor 601 is used to execute the program instructions.

[0089] The user interface 603 may refer to an interface that can receive user input signals, such as a touch screen that can receive user input operations, a key that can receive user input operations, and a keyboard.

[0090] The storage device 602 may include a volatile memory, such as a random-access memory (RAM); the storage device may also include a non-volatile memory, such as a flash memory, a solid-state drive (SSD), etc.; the storage device may also include a combination of the above types of memory.

[0091] The processor 601 may be a central processing unit (CPU). The processor may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), etc. The PLD may be a field-programmable gate array (FPGA), a generic array logic (GAL), etc.

[0092] In one implementation, the storage device 602 is also used to store program instructions. The processor 601 can call the following program instructions: establish a network connection of a terminal; determine a target application to be sent; analyze the attribute information of the target application; if the attribute information is target attribute information, send the target application.

[0093] In one embodiment, the processor 601 is further configured to send the target application to a destination terminal if the attribute information is not target attribute information, so that the destination terminal can install the target application.

[0094] In one embodiment, the processor 601 is specifically used to identify reference program architecture information of the target application; obtain application architecture information supported by the destination terminal; determine whether the application architecture information supported by the destination terminal matches the reference program architecture information; if so, send the target application to the destination terminal.

[0095] In one embodiment, the processor 601 is specifically configured to send a verification message to the destination terminal to prompt the destination terminal to feedback application architecture information supported by the destination terminal; and receive the application architecture information fed back by the destination terminal.

[0096] In one embodiment, the processor 601 is specifically used to determine the installation data corresponding to the application architecture information supported by the target terminal from the installation data set corresponding to the target application as the target installation package; generate a first notification message carrying the target installation package information; and send the first notification message to the target terminal, wherein the first notification message is used to prompt the target terminal to install the target installation package according to a first strategy.

[0097] In one embodiment, the processor 601 is specifically used to send a prompt message to the destination terminal if the application architecture information supported by the destination terminal does not match the reference program architecture information, so as to prompt the destination terminal user whether to continue sending the target application; if a confirmation message is received in response to the prompt message to continue sending the target application, the installation data corresponding to the target application is combined as a target installation package; a second notification message carrying the target installation package information is generated, and the second notification message is sent to the destination terminal, wherein the second notification message is used to prompt the destination terminal to install the target installation package according to a second strategy.

[0098] In one embodiment, the processor 601 is specifically used to display a prompt interface on the user interface if the application architecture information supported by the target terminal does not match the reference program architecture information, so that the source terminal user can decide whether to continue sending the target application; if the detection response to the prompt interface confirms the continued sending of the target application's confirmation information, the installation data corresponding to the target application is combined as a target installation package; generate a second notification message carrying the target installation package information, and send the second notification message to the target terminal, so as to prompt the target terminal to install the target installation package according to the second strategy.

[0099] In one embodiment, the processor 601 is also used to identify version information of the target installation package corresponding to the target application; if it is detected that the current version information is not the latest version, update information is displayed, and the update information is used to prompt the source terminal user to update the target application; and / or, if it is detected that the current version information is the latest version, trigger the execution of the step of analyzing the attribute information of the target application.

[0100] It can be understood that the specific implementation of the processor 601 in the embodiment of the present application can refer to the relevant description of the aforementioned method embodiment, which will not be repeated here.

[0101] In the embodiment of the present application, after establishing the network connection of the terminal, the target application to be sent is determined, and the attribute information of the target application is analyzed. If the attribute information is the target attribute information, the target application is sent. The embodiment of the present application can automatically detect the attribute information of the target application, thereby obtaining the target application whose attribute information is the target attribute information, and sending the target application, thereby realizing an intelligent application transmission process.

[0102] The present application also provides a terminal, which includes: a memory and a processor, wherein the memory stores program instructions that can be executed on the processor, and the program instructions implement the steps of the above-mentioned method when executed by the processor.

[0103] In addition, the present application also provides a computer storage medium, wherein the computer storage medium stores program instructions, and when the program instructions are executed, it is used to implement Figure 1 , Figure 3 The data transmission method.

[0104] An embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code is executed on a computer, the computer executes the methods described in the various possible implementation modes above.

[0105] An embodiment of the present application also provides a chip, including a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip executes the methods described in the various possible implementation modes above.

[0106] It should be noted that the network connection in this article can be a local area network connection, a data connection, a short-range wireless connection (such as Bluetooth, WIFI, NFC, etc.), or a wired connection (such as USB, OTG), etc.

[0107] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0108] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of..." or "when..." or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising", "including" indicate that there are described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, “A, B, or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition will occur only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.

[0109] It should be understood that, although the various steps in the flowcharts in the above-described embodiments are sequentially displayed according to the indications of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily to be carried out sequentially, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0110] The above disclosure is only part of the embodiments of the present application, which certainly cannot be used to limit the scope of rights of the present application. Ordinary technicians in this field can understand that all or part of the processes of implementing the above embodiments and making equivalent changes according to the claims of this application are still within the scope of the invention.

Claims

1. A data transmission method, characterized in that: include: Establishing a network connection of a terminal; Determine the target application to be sent; Analyzing attribute information of the target application; If the attribute information is target attribute information, identify the reference program architecture information of the target application; obtain the application architecture information supported by the target terminal; determine whether the application architecture information supported by the target terminal matches the reference program architecture information; if they match, determine a relevant resource set applicable to the target terminal device according to the application architecture information supported by the target terminal, package the relevant resource set into a target installation package, and send it to the target terminal; If there is no match, all files corresponding to the target terminal are packaged into the target installation package and sent to the target terminal.

2. The method according to claim 1, characterized in that include: If the attribute information is not target attribute information, the target application is sent to the target terminal so that the target terminal can install the target application.

3. The method according to claim 1, characterized in that: The step of obtaining the application architecture information supported by the target terminal includes: Sending a verification message to the destination terminal to prompt the destination terminal to feedback application architecture information supported by the destination terminal; Receive application architecture information fed back by the target terminal.

4. The method according to claim 1, characterized in that: After packaging the related resource set into a target installation package, the method further includes: Generate a first notification message carrying the target installation package information; The first notification message is sent to the destination terminal, where the first notification message is used to prompt the destination terminal to install the target installation package according to the first policy.

5. The method according to claim 1, characterized in that After the mismatch, the method further comprises: Sending a prompt message to the target terminal to prompt the target terminal user whether to continue sending the target application; If a confirmation in response to the prompt information is received, continue to send confirmation information of the target application, and package all files corresponding to the target terminal into the target installation package; A second notification message carrying the target installation package information is generated, and the second notification message is sent to the destination terminal, where the second notification message is used to prompt the destination terminal to install the target installation package according to a second policy.

6. The method according to claim 1, characterized in that After the mismatch, the method further comprises: Displaying a prompt interface on the user interface so that the source terminal user can decide whether to continue sending the target application; If the confirmation of the prompt interface is detected and continued, the confirmation information of the target application is sent, and all files corresponding to the target terminal are packaged into the target installation package; A second notification message carrying the target installation package information is generated, and the second notification message is sent to the destination terminal, so as to prompt the destination terminal to install the target installation package according to the second policy.

7. The method according to claim 1, characterized in that Before analyzing the attribute information of the target application, the method further includes: Identify version information of a target installation package corresponding to the target application; If it is detected that the current version information is not the latest version, update information is displayed, and the update information is used to prompt the source terminal user to update the target application; and / or, If it is detected that the current version information is the latest version, the step of analyzing the attribute information of the target application is triggered.

8. A terminal, characterized in that: include: A processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the data transmission method according to any one of claims 1 to 7.

9. A computer storage medium, characterized in that include: The computer storage medium stores program instructions, and when the program instructions are executed by the processor, the data transmission method according to any one of claims 1 to 7 is implemented.