Cross-local area network and cross-terminal remote application installation method and device, computer equipment and readable storage medium

By generating temporary URLs and verifying the upload records of the application installation package, processing and uploading the installation package, the problem of cross-LAN and cross-end application installation is solved, and an efficient and convenient application installation experience is achieved.

CN119473326APending Publication Date: 2025-02-18GUANGZHOU HUANWANG TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411492567.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

Traditional application installation methods face transmission difficulties, missing records and complex processing problems in cross-local network and cross-terminal scenarios, resulting in poor user experience.

Method used

By generating a temporary URL, obtaining and verifying the upload record of the pending application installation package. If it exists, save the download address and information. If it does not exist, process the installation package and upload it to the server to generate the corresponding download address and information, and finally from the temporary URL Determine the download address and information for application download and installation.

Benefits of technology

It effectively solves the problem of cross-LAN and cross-end application installation, improves installation efficiency and user experience, simplifies operational processes and reduces error rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473326A_ABST
    Figure CN119473326A_ABST
Patent Text Reader

Abstract

The invention discloses a cross-local area network cross-terminal remote application installation method and device, computer equipment and a readable storage medium, and the method comprises the steps: firstly generating a temporary website, obtaining an undetermined application installation package uploaded to the website, and verifying the uploading record of the undetermined application installation package; and if the record exists, storing the related information to the temporary website, and if the record does not exist, processing the installation package, uploading the installation package to the server, and generating and storing the corresponding information. And finally, an application downloading address and information are determined from the temporary website, and application downloading and installation are completed. By means of the design, the cross-local-area-network cross-end application installation problem is effectively solved, and efficiency and user experience are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of application downloading, and in particular to a method, device, computer equipment and readable storage medium for remote application installation across local area networks and terminals. Background Art

[0002] In today's digital age, application installation needs are becoming increasingly diverse. However, traditional application installation methods face many challenges in cross-LAN and cross-terminal scenarios, such as transmission difficulties, missing records, and complex processing. Existing installation methods often cannot efficiently achieve cross-network and cross-device application installation, resulting in poor user experience, especially when installing applications between different LANs and multiple terminal devices. The operation is cumbersome and error-prone. Summary of the invention

[0003] The object of the present invention is to provide a cross-local area network and cross-terminal remote application installation method, device, computer equipment and readable storage medium.

[0004] In a first aspect, an embodiment of the present invention provides a cross-local area network cross-terminal remote application installation method, which is applied to a target client and includes:

[0005] Generate a temporary URL;

[0006] Obtaining the pending application installation package uploaded to the temporary website;

[0007] Verify whether there is an upload record for the pending application installation package;

[0008] If it exists, based on the upload record, the application download address and application information uploaded by the pending application installation package are saved to the temporary website;

[0009] If it does not exist, processing the pending application installation package to obtain a processed application installation package;

[0010] Uploading the processed application installation package to the server, so that the server generates an application download address and application information corresponding to the processed application installation package and saves them to the temporary website;

[0011] The application download address and the application information are determined from the temporary website, and application download and installation are completed according to the application download address and the application information.

[0012] In a possible implementation, generating a temporary URL includes:

[0013] The temporary website address unique to the target client is generated according to the device information of the target client.

[0014] In a possible implementation, verifying whether there is an upload record for the pending application installation package includes:

[0015] Parse and obtain the MD5 value corresponding to the pending application installation package;

[0016] Transmitting the MD5 value to the server so that the server verifies whether the MD5 value exists;

[0017] If so, determining that the pending application installation package has an upload record;

[0018] If not, it is determined that there is no upload record for the pending application installation package.

[0019] In a possible implementation, based on the upload record, saving the application download address and application information of the pending application installation package that has been uploaded to the temporary website includes:

[0020] Obtaining the saved application download address and application information from the upload record;

[0021] The saved application download address and application information are saved to the temporary website.

[0022] In a possible implementation, the processing the pending application installation package to obtain a processed application installation package includes:

[0023] The resource file of the pending application installation package is cut according to a preset rule to obtain a plurality of sub-resource files as the processed application installation package.

[0024] In a possible implementation, uploading the processed application installation package to the server so that the server generates an application download address corresponding to the processed application installation package and saves the application information to the temporary website, includes:

[0025] Upload the multiple sub-resource files to the server;

[0026] Sending a file merging instruction to the server, so that the server merges the multiple sub-resource files to obtain the application installation package;

[0027] The application download address and application information corresponding to the application installation package are parsed and saved to the temporary website.

[0028] In a possible implementation, determining the application download address and the application information from the temporary website, and completing application download and installation according to the application download address and the application information, includes:

[0029] Polling the temporary URL;

[0030] In the case that the application download address exists in the temporary website, the application download and installation are completed based on the application download address and the application information.

[0031] In a second aspect, an embodiment of the present invention provides a cross-local area network cross-terminal remote application installation device, which is applied to a target client, including:

[0032] An acquisition module is used to generate a temporary website address; and to acquire a pending application installation package uploaded to the temporary website address;

[0033] A verification module, used to verify whether there is an upload record for the pending application installation package; if so, based on the upload record, save the application download address and application information uploaded by the pending application installation package to the temporary website; if not, process the pending application installation package to obtain a processed application installation package; upload the processed application installation package to the server, so that the server generates an application download address and application information corresponding to the processed application installation package and saves them to the temporary website;

[0034] The download module is used to determine the application download address and the application information from the temporary website, and complete the application download and installation according to the application download address and the application information.

[0035] In a third aspect, an embodiment of the present invention provides a computer device, comprising a processor and a non-volatile memory storing computer instructions, wherein when the computer instructions are executed by the processor, the computer device executes the method described in at least one possible implementation of the first aspect.

[0036] In a fourth aspect, an embodiment of the present invention provides a readable storage medium, wherein the readable storage medium includes a computer program, and when the computer program is run, the computer device where the readable storage medium is located is controlled to execute the method described in at least one possible implementation manner of the first aspect.

[0037] Compared with the prior art, the beneficial effects provided by the present invention include: adopting a cross-LAN and cross-terminal remote application installation method, device, computer equipment and readable storage medium disclosed in the present invention, by generating a temporary URL, obtaining the pending application installation package uploaded to the URL and verifying its upload record. If a record exists, the relevant information is saved to the temporary URL; if not, the installation package is processed and uploaded to the server to generate and save the corresponding information. Finally, the application download address and information are determined from the temporary URL to complete the application download and installation. Such a design effectively solves the problem of cross-LAN and cross-terminal application installation and improves efficiency and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can also be obtained based on these drawings without creative work.

[0039] Figure 1 A schematic diagram of the steps of a cross-LAN and cross-terminal remote application installation method provided by an embodiment of the present invention;

[0040] Figure 2 A schematic block diagram of the structure of a cross-local area network and cross-terminal remote application installation device provided by an embodiment of the present invention;

[0041] Figure 3 A schematic block diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0043] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings.

[0044] In order to solve the technical problems in the aforementioned background technology, Figure 1 This is a flow chart of a cross-LAN and cross-terminal remote application installation method provided in an embodiment of the present disclosure. The cross-LAN and cross-terminal remote application installation method is introduced in detail below.

[0045] Step S201, generating a temporary website;

[0046] Step S202, obtaining the pending application installation package uploaded to the temporary website;

[0047] Step S203, verifying whether there is an upload record for the pending application installation package;

[0048] Step S204: if it exists, based on the upload record, the application download address and application information uploaded by the pending application installation package are saved to the temporary website;

[0049] Step S205: If the pending application installation package does not exist, the pending application installation package is processed to obtain a processed application installation package;

[0050] Step S206, uploading the processed application installation package to the server, so that the server generates an application download address and application information corresponding to the processed application installation package and saves them to the temporary website;

[0051] Step S207, determining the application download address and the application information from the temporary website, and completing application download and installation according to the application download address and the application information.

[0052] In an embodiment of the present invention, illustratively, in a diverse network environment, a target client (such as a smart phone) initiates a request to a server, hoping to generate a temporary URL for subsequent application installation operations. After receiving this request, the server immediately obtains the device information of the target client. Assume that the device information includes the model of the device (such as iPhone13Pro), the operating system version (such as iOS15.4), a unique device identification code (such as IMEI code), etc.

[0053] Based on this rich device information, the server generates a temporary URL unique to the target client through specific algorithms and rules. For example, the generated temporary URL may be "http: / / xxx.com / yc / 123456", where "123456" is a unique identifier calculated based on the device information.

[0054] This temporary URL is like an "exclusive channel" specially opened for the target client, ensuring that subsequent application installation package upload, processing and download operations can be accurately associated with the client, avoiding confusion and conflict with other clients.

[0055] The user uses a browser on another device (such as a PC) to open the newly generated temporary URL "http: / / xxx.com / yc / 123456". Then, the user uses the upload function provided by the web page to select a pending application installation package (such as a file named "Game Assistant.apk") and upload it to the temporary URL.

[0056] After receiving the upload request, the server responds quickly and starts receiving the data of the pending application installation package. The server monitors the data transmission progress in real time to ensure that all data is received intactly.

[0057] Assuming that the size of the application installation package is 100MB, the server will continuously receive data fragments and perform data integrity verification during the receiving process. If a network interruption or other abnormal situation occurs during the transmission process, the server will wait for a certain period of time in the hope of receiving the interrupted data again. If the waiting timeout is still not received, the server will send an error prompt to the client and ask it to re-upload.

[0058] When the server successfully obtains the uploaded pending application installation package, it immediately starts verification to determine whether the installation package has been uploaded before.

[0059] The server will first parse the pending application installation package and calculate its corresponding MD5 value. Assume that the MD5 value of the pending application installation package "Game Assistant.apk" is "abcdef123456789".

[0060] The server then transmits the MD5 value to its own database for verification. The server's database stores the MD5 values ​​of all previously uploaded application installation packages and related upload records.

[0061] The server quickly searches and compares the database. If a matching MD5 value is found, it means that the pending application installation package has been uploaded before and there is an upload record. For example, if there is already a record with the same MD5 value in the database, it means that a user has uploaded the "Game Assistant.apk" installation package before.

[0062] If no matching MD5 value is found in the database, it can be determined that the pending application installation package is uploaded for the first time and there is no upload record.

[0063] If the server finds during the verification process that the pending application installation package "Game Assistant.apk" has been uploaded before and there is an upload record.

[0064] The server will obtain the saved application download address and application information from the upload record in the database. Assume that the saved application download address is "http: / / xxx.com / apk / gamehelper.apk", and the application information includes application name "Game Helper", application package name "com.gamehelper", application version number "2.0", application icon and other detailed information.

[0065] The server will accurately save the obtained saved application download addresses and application information to the temporary URL "http: / / xxx.com / yc / 123456" previously generated for the target client.

[0066] In this way, when the target client accesses this temporary URL, it can directly obtain the download address and application information of the same application installation package that has been uploaded before, without having to perform complicated processing and uploading operations again.

[0067] Assume that during the verification process, the server determines that the pending application installation package "Game Assistant.apk" is uploaded for the first time and there is no upload record.

[0068] The server processes the pending application installation package according to a preset rule. For example, the preset rule may be to cut the resource files of the installation package into fixed sizes (such as 10 MB per unit).

[0069] The server will gradually split the resource file of "Game Assistant.apk" and finally obtain multiple sub-resource files. For example, after splitting, 10 sub-resource files are obtained, named "part1", "part2" ... "part10" respectively.

[0070] These sub-resource files are the processed application installation packages, which are ready for subsequent upload and merging operations.

[0071] After receiving these processed sub-resource files, the server will prepare to upload them to the server for further processing and integration.

[0072] The server first uploads these sub-resource files (such as "part1", "part2", etc.) one by one to the designated storage area of ​​the server. During the upload process, the server will continue to monitor the network status and upload progress to ensure that each sub-resource file can be completely and accurately transmitted to the server.

[0073] When all sub-resource files are successfully uploaded, the server will send a merge file execution instruction to the server. After receiving the instruction, the server will merge these sub-resource files according to the previous cutting order and rules, and reassemble them into a complete "Game Assistant.apk" application installation package.

[0074] After the server successfully merges the installation package, it will parse it to obtain application information, such as the application name is "Game Assistant", the application package name is "com.gamehelper", the version number is "2.0", and the application icon and other detailed information.

[0075] At the same time, the server will generate a unique download address for the merged application installation package, assuming it is "http: / / xxx.com / apk / gamehelper_2.0.apk".

[0076] Finally, the server will save the obtained application information (such as application name, package name, version number, icon, etc.) and the generated application download address (such as "http: / / xxx.com / apk / gamehelper_2.0.apk") to the temporary URL "http: / / xxx.com / yc / 123456" generated for the target client.

[0077] The target client will periodically poll the temporary URL "http: / / xxx.com / yc / 123456" to check whether there is a new application download address and application information.

[0078] Assume that the client polls the temporary URL every 5 minutes. During one poll, the server finds that the temporary URL already contains the application download address (such as "http: / / xxx.com / apk / gamehelper_2.0.apk") and application information (including application name, package name, version number, icon, etc.) saved by the server.

[0079] After the client obtains this information, it will immediately initiate a download request based on the application download address. After receiving the download request, the server will transmit the corresponding application installation package data to the client.

[0080] After the client downloads, it will perform installation operations based on the application information obtained. For example, it will perform compatibility checks based on the application package name and version number to ensure that it can be installed smoothly. If everything is normal, the client will successfully install the "Game Assistant" application and can be used immediately.

[0081] Throughout the entire process, the server always maintains a stable service status and responds to various requests from the client in a timely manner, ensuring that cross-LAN and cross-terminal remote application installation can be completed smoothly and efficiently. Whether the network is in good or unstable conditions, the server provides users with a convenient and reliable application installation experience through carefully designed processes and powerful processing capabilities.

[0082] In the embodiment of the present invention, the aforementioned step S201 can be implemented through the following example execution.

[0083] The temporary website address unique to the target client is generated according to the device information of the target client.

[0084] In the embodiment of the present invention, illustratively, in a diversified network environment, the server faces requests from target clients of various types and configurations.

[0085] For example, a smartphone client sends a request to the server to generate a temporary URL. After receiving the request, the server immediately starts to obtain the device information of the smartphone client. This device information may include brand (such as Huawei), model (such as P40Pro), operating system version (such as Android11), IMEI code (International Mobile Equipment Identity), MAC address (Media Access Control Address), and the unique identifier of the device pre-registered or associated with the server.

[0086] The server will process this rich and unique device information. First, a specific hash algorithm may be used to convert this device information into a unique digital code. Then, it will combine the server's current timestamp, the random number generated by the random number generator, and the URL template pre-set by the server to construct a temporary URL.

[0087] Assuming that the URL template set by the server is "http: / / xxx.com / yc / [encoding]", after the above processing, the generated temporary URL may be "http: / / xxx.com / yc / 567890", where "567890" is the unique code converted from the device information.

[0088] For another example, a laptop computer as the target client initiates a request to the server. The server obtains the device information of the laptop computer, such as brand (such as Dell), model (such as XPS15), operating system version (such as Windows11), motherboard serial number, hard disk serial number, etc.

[0089] Similarly, the server uses the same processing method to transform and combine this information. The temporary URL generated for this laptop may be "http: / / xxx.com / yc / 123456".

[0090] Or in an enterprise environment, multiple employees' office desktops need to install applications. When one of the desktops sends a request, the server obtains device information including the brand (such as Lenovo), model (such as ThinkCentreM920t), the unique number assigned to each machine within the enterprise, and the identifier of the specific enterprise software installed on the machine.

[0091] Through complex calculations and combinations, the server generated a temporary URL such as "http: / / xxx.com / yc / 789101" for this desktop computer.

[0092] In a school network environment, the tablets used by students request a temporary URL from the server. The device information obtained by the server includes the tablet brand (such as Apple), model (such as iPadAir4), the student number assigned by the school to each tablet, and the campus network segment to which the tablet is connected.

[0093] Based on this information, the server generates a temporary URL similar to "http: / / xxx.com / yc / 234567".

[0094] In a medical institution, the mobile medical terminal device used by the doctor sends a request to the server. The server obtains information such as the brand (such as Mindray), model, unique identifier of the terminal device in the internal network of the medical institution, and the version of the medical-specific software installed.

[0095] After processing, a temporary URL such as "http: / / xxx.com / yc / 890123" is generated, which is specifically used for application installation operations on the medical terminal device.

[0096] Based on the above examples, it can be seen that the server can accurately and efficiently generate a unique temporary URL based on the rich and diverse device information of the target client, providing a precise and personalized service foundation for the subsequent application installation process.

[0097] In the embodiment of the present invention, the aforementioned step S203 can be implemented through the following example execution.

[0098] Parse and obtain the MD5 value corresponding to the pending application installation package;

[0099] Transmitting the MD5 value to the server so that the server verifies whether the MD5 value exists;

[0100] If so, determining that the pending application installation package has an upload record;

[0101] If not, it is determined that there is no upload record for the pending application installation package.

[0102] In the embodiment of the present invention, illustratively, in a busy network environment, the server continuously receives requests from various clients. At this time, a client uploads a pending application installation package, and the server immediately starts the verification process.

[0103] The server first parses the pending application installation package to obtain its corresponding MD5 value. For example, if the uploaded installation package is named "office software.apk", the server uses a specific algorithm and calculation process to obtain the MD5 value of this installation package as "1a2b3c4d5e6f7g8h".

[0104] After obtaining the MD5 value, the server transmits it to the server's database for verification. The server's database stores a large number of MD5 values ​​and related records of previously uploaded application installation packages.

[0105] After receiving the MD5 value "1a2b3c4d5e6f7g8h", the server quickly searches and compares it in the database. If the MD5 value already exists in the database, it means that the same application installation package has been uploaded before.

[0106] For example, another client uploaded the exact same "office software.apk" installation package a week ago, and its MD5 value is consistent with the currently received one. At this time, the server determines that there is an upload record for this pending application installation package.

[0107] Then, the server feeds back the judgment result to the server, and the server knows that the installation package has been uploaded before.

[0108] In another scenario, the client uploaded an installation package named "Image Editing Tool.exe", and the server also parsed it to obtain its MD5 value "9j8k7l6m5n4o3p2q".

[0109] After the server transmits this MD5 value to the server, the server conducts a comprehensive search in the database but does not find a matching MD5 value.

[0110] This means that no identical "Image Editing Tool.exe" installation package has been uploaded before. The server determines that there is no upload record for this pending application installation package and notifies the server of this result.

[0111] For another example, in an internal application distribution scenario of an enterprise, an employee uploads an application installation package "business process optimization tool.apk" for a specific business process through a client.

[0112] The server calculates its MD5 value "5r4s3t2u1v0w9x8y" and passes it to the server for verification. The server searches the huge database and does not find the same MD5 value, thus determining that this installation package is uploaded for the first time and there is no upload record.

[0113] Or in a gaming platform environment, a player uploads a new game installation package "Adventure Game.ipa" from the client, and the server obtains its MD5 value "7f6g5h4i3j2k1l0m". The server does not find a matching value during verification and determines that there is no upload record.

[0114] On an educational software platform, a teacher uploaded an installation package for a teaching auxiliary tool, "Mathematics Teaching Assistant.msi". The server obtained its MD5 value "3e2d1f0g9h8i7j6k". The server did not find the same one in the database and determined that there was no upload record.

[0115] Through these different scenarios, it can be seen that the server and the service end can accurately determine whether there is an upload record for the pending application installation package through the precise MD5 value verification mechanism, which provides a key basis for the subsequent processing flow.

[0116] In the embodiment of the present invention, based on the upload record, saving the application download address and application information of the pending application installation package that has been uploaded to the temporary website can be implemented through the following example.

[0117] Obtaining the saved application download address and application information from the upload record;

[0118] The saved application download address and application information are saved to the temporary website.

[0119] In the embodiment of the present invention, for example, in a vibrant science and technology park, employees of many enterprises are using various applications to improve work efficiency. The server continuously receives and processes requests from different clients.

[0120] Assume that an employee uploads a pending application installation package named "Efficient Office Suite.exe" through a client. When the server verifies whether there is an upload record, it finds that the same installation package has been uploaded before.

[0121] The server obtains the saved application download address from the upload record, such as "http: / / download.techpark.com / apps / office_suite.exe", and related application information, including application name "Efficient Office Suite", application version "3.0", application function description, applicable operating system and other detailed information.

[0122] After obtaining this information, the server saves it to the temporary URL generated for the employee. For example, if the temporary URL is "http: / / temp.techpark.com / employee123", the server will accurately write the application download address and application information of "Efficient Office Suite.exe" to the storage space corresponding to this temporary URL.

[0123] In another scenario, a team at a software development company is working on a project, and one of the developers uploaded an internally used "code optimization tool.apk" pending application installation package through the client.

[0124] After server verification, the saved application download address "http: / / dev.softwarecompany.com / tools / code_optimizer.apk" and rich application information, such as detailed instructions for using the tool, supported development language versions, and update logs, are obtained from the upload record.

[0125] Then, the server quickly saves these saved application download addresses and application information to the temporary URL "http: / / temp.softwarecompany.com / project_x" generated for this development team, ensuring that team members can easily obtain and use them.

[0126] For example, in a financial institution, a staff member uploaded a pending application installation package called "Risk Assessment System.msi".

[0127] After the server confirms the existence of the upload record, it obtains the application download address "http: / / finance.institution.com / risk_evaluation.msi" and related application information from the record, such as the system's security level description, data encryption method, and compatibility description with other financial systems.

[0128] Then, the server accurately saves this important information to the temporary URL "http: / / temp.financeinstitution.com / employee456" generated for the financial institution staff.

[0129] In the network environment of an educational institution, a teacher uploaded a pending application installation package called "online teaching platform.exe".

[0130] The server verifies that there is an upload record, and then obtains the application download address "http: / / edu.institution.com / teaching_platform.exe" and application information including the course scheduling function introduction and student management module description from the record.

[0131] The server then saves this information securely to the temporary URL "http: / / temp.eduinstitution.com / teacher789" generated for the teacher.

[0132] In a medical system, a doctor uploaded a pending application installation package called "Medical Imaging Diagnostic Software.apk".

[0133] The server verifies and obtains the application download address "http: / / hospital.medicalsystem.com / diagnosis_software.apk" from the uploaded record, as well as application information such as the accuracy description of the software, the applicable imaging device type, and the case database storage rules.

[0134] Finally, the server successfully saves this critical information to the temporary URL "http: / / temp.medicalsystem.com / doctor012" generated for the doctor.

[0135] Through the above examples, it can be clearly seen that the server can efficiently and accurately save the uploaded application download address and application information of the pending application installation package to a temporary URL based on the upload record, providing users with convenient and reliable services.

[0136] In the embodiment of the present invention, the processing of the pending application installation package to obtain the processed application installation package can be implemented through the following example.

[0137] The resource file of the pending application installation package is cut according to a preset rule to obtain a plurality of sub-resource files as the processed application installation package.

[0138] In the embodiment of the present invention, illustratively, in a diverse Internet environment, the server continuously processes various requests from different clients.

[0139] For example, a user uploads a pending application installation package of a large game, "Fantasy Adventure World.apk", through the client, which is about 2GB in size. After receiving the installation package, the server starts to process it according to the preset rules.

[0140] The preset rule may be to cut the resource files of the installation package into 500MB chunks. The server first reads the overall structure and resource distribution of the installation package, and then starts the precise cutting operation.

[0141] After processing, the server cut the 2GB "Fantasy Adventure World.apk" installation package into 4 sub-resource files of approximately 500MB in size, named "Fantasy Adventure World_part1", "Fantasy Adventure World_part2", "Fantasy Adventure World_part3" and "Fantasy Adventure World_part4" respectively.

[0142] In another scenario, an employee of a company uploaded a pending application installation package of a professional design software, "Creative Design Master.exe", through the client, which was about 1.5GB in size.

[0143] The server cuts every 400MB according to the preset rules. After careful processing, four sub-resource files are obtained, namely "Creative Design Master_part1", "Creative Design Master_part2", "Creative Design Master_part3" and "Creative Design Master_part4".

[0144] For another example, in an application scenario in the education field, a teacher uploaded a pending application installation package of a teaching resource integration software, “Smart Teaching Box.msi”, through a client, which was approximately 1.2GB in size.

[0145] The preset cutting rule is one copy every 300MB. After processing, the server obtains 4 sub-resource files: "Smart Teaching Treasure Box_part1", "Smart Teaching Treasure Box_part2", "Smart Teaching Treasure Box_part3" and "Smart Teaching Treasure Box_part4".

[0146] Let's assume that in a medical system, a doctor uploads a pending application installation package of a medical data analysis tool, "Medical Insight Wizard.apk", which is about 1.8GB in size.

[0147] The server processes it into three sub-resource files according to the cutting rule of every 600MB: "Medical Insight Wizard_part1", "Medical Insight Wizard_part2" and "Medical Insight Wizard_part3".

[0148] In a financial institution, a staff member uploaded a pending application installation package for a risk assessment system, "Financial Risk Guardian.exe", which was approximately 1GB in size.

[0149] The preset rule is to cut every 250MB, and the server finally obtains 4 sub-resource files: "Financial Risk Guardian_part1", "Financial Risk Guardian_part2", "Financial Risk Guardian_part3" and "Financial Risk Guardian_part4".

[0150] In an e-commerce company, a technician uploaded a pending application installation package for an order management system called "Order Control Master.msi", which was approximately 900MB in size.

[0151] The server converts it into three sub-resource files according to the cutting rule of every 300MB: "Order Control Master_part1", "Order Control Master_part2" and "Order Control Master_part3".

[0152] From the above examples, it can be seen that the server can accurately and efficiently cut the pending application installation package into multiple sub-resource files according to preset rules, which provides convenience and optimization for subsequent uploading, storage and processing.

[0153] In the embodiment of the present invention, uploading the processed application installation package to the server so that the server generates an application download address and application information corresponding to the processed application installation package and saves them to the temporary website can be implemented through the following examples.

[0154] Upload the multiple sub-resource files to the server;

[0155] Sending a file merging instruction to the server, so that the server merges the multiple sub-resource files to obtain the application installation package;

[0156] The application download address and application information corresponding to the application installation package are parsed and saved to the temporary website.

[0157] In the embodiment of the present invention, illustratively, in a complex network environment, the server undertakes an important task of processing the upload of various application installation packages and related operations.

[0158] For example, a game developer uploads a pending application installation package of a new game, "Star Adventure Journey.apk", through the client. The server cuts it into multiple sub-resource files according to preset rules, such as "Star Adventure Journey_part1", "Star Adventure Journey_part2", etc.

[0159] The server first uploads these sub-resource files to the server one by one. During the upload process, the server closely monitors the network status to ensure that each sub-resource file can be accurately and completely transmitted to the server. Assuming that it takes a certain amount of time to upload each sub-resource file, the server will patiently wait for the completion of each upload task and handle possible network fluctuations or interruptions.

[0160] When all sub-resource files are uploaded, the server sends a merge file instruction to the server. After receiving the instruction, the server immediately starts the merge processing operation. It accurately merges the sub-resource files according to their names and order to restore them into a complete "Star Adventure Journey.apk" application installation package.

[0161] Next, the server parses the merged application installation package and obtains the application download address, such as "http: / / gameserver.com / download / star_adventure.apk", and application information, including the game name "Star Adventure", game version "1.0", game type, and compatible device system requirements.

[0162] The server passes these application download addresses and application information back to the server, and the server then saves them to a temporary URL generated for the game developer, such as "http: / / temp.gameserver.com / developer001".

[0163] In another scenario, a software engineer of a company uploaded a pending application installation package "Efficient Office Assistant.exe" for an internal office automation software.

[0164] The server also cuts it into sub-resource files and uploads them to the server. After the upload is completed, a merge instruction is sent. The server merges the files and parses them to obtain the application download address "http: / / companyserver.com / apps / office_helper.exe" and application information, such as software function introduction, usage permission settings, etc.

[0165] The server receives and saves this information to the temporary URL "http: / / temp.companyserver.com / enterprise002" generated for the enterprise.

[0166] For another example, in an educational institution, a teacher uploaded a pending application installation package “Knowledge Treasure House.apk” for a teaching auxiliary tool.

[0167] The server processes and uploads the sub-resource files, and the server merges and parses them to obtain the application download address "http: / / eduserver.com / tools / knowledge_treasure.apk" and application information, including the tool's usage tutorial, applicable subject scope, etc.

[0168] The server saves this information to the temporary URL "http: / / temp.eduserver.com / teacher003" generated for this teacher.

[0169] Let's assume that in a medical system, a technician uploaded a pending application installation package of a medical image analysis software called "Precision Diagnosis Expert.exe".

[0170] The server completes uploading the sub-resource file and sending the merge instruction. The server merges and parses to obtain the application download address "http: / / medicalserver.com / software / diagnosis_expert.exe" and application information, such as software accuracy assessment and data security measures.

[0171] The server saves these contents to the temporary URL "http: / / temp.medicalserver.com / hospital004" generated for the medical system.

[0172] Through the above examples, we can clearly see the close collaboration between the server and the service end, which successfully completes a series of complex operations such as application installation package processing, uploading, merging, parsing and information preservation, providing users with efficient and convenient services.

[0173] In the embodiment of the present invention, the determining of the application download address and the application information from the temporary website, and completing the application download and installation according to the application download address and the application information, can be implemented through the following examples.

[0174] Polling the temporary URL;

[0175] In the case that the application download address exists in the temporary website, the application download and installation are completed based on the application download address and the application information.

[0176] In the embodiment of the present invention, for example, in a diverse network environment, the server continuously provides services to users. For example, a user initiates an application installation request through a client on his mobile device. The server generates a temporary URL "http: / / temp.example.com / user001" for the user.

[0177] The server starts polling the temporary URL at a set time interval, assuming that the polling interval is once every minute.

[0178] During the first poll, the server finds that there is no application download address and application information in the temporary URL, so the server continues to poll at the set time interval.

[0179] After several pollings, the server has completed processing the uploaded application installation package and saved the application download address "http: / / download.example.com / app1.apk" and application information (including application name, version, size, etc.) to the temporary URL.

[0180] When the server polls "http: / / temp.example.com / user001" again, it detects the existing application download address and application information.

[0181] After the server obtains the application download address, it immediately starts the download operation and configures and optimizes the download process accordingly based on the application information obtained.

[0182] Assuming that this application is a large-scale graphics processing software, the application information indicates that it requires a higher network bandwidth and storage space. Based on this information, the server will adjust the network connection parameters to ensure the stability and speed of the download, and check in advance whether the storage space of the target device is sufficient.

[0183] After the download is complete, the server starts the installation operation according to the installation requirements and steps in the application information.

[0184] For example, if the application information indicates that a specific operating environment and dependencies are required, the server will first install these dependencies and then install the main application.

[0185] During the installation process, the server will monitor the installation progress in real time and handle possible errors and abnormal situations.

[0186] If necessary components are missing during the installation process, the server will obtain and install these components from the specified source according to the prompts in the application information.

[0187] By polling the temporary URL, the server can obtain the application download address and application information in a timely manner, and complete the download and installation of the application efficiently and accurately, providing users with a smooth and convenient service experience.

[0188] In order to more clearly describe the solution implemented in this application, a relatively complete implementation scheme is provided below.

[0189] 1. The client generates a specific temporary URL link based on the device, such as: http: / / xxx.com / yc / 123456.

[0190] 2. The user uses a web tool such as a browser on a PC or mobile phone to open a specific temporary URL to upload the application installation package.

[0191] 3. The client sends the decrypted MD5 signature to the server to check whether the current installation package has been uploaded. If yes, directly execute the logic of step 7. Otherwise, go to step 4 to continue the process of uploading files.

[0192] 4. After the client cuts the apk file of the application installation package into several small files according to specific rules, it uploads all the small files to the server by uploading them in pieces. After the upload is completed, the client sends an execution instruction to merge the files, and the server merges and stores the previously uploaded small files.

[0193] 5. After the upload is completed, the server receives the application installation package, parses the application installation package to obtain the application information (including application package name, application name, icon, version number, etc.), and generates a download address for the installation package, such as: http: / / xxx.com / apk / ABC.apk.

[0194] 6. The server saves the application information and application download address to a specific temporary URL.

[0195] 7. If the same file MD5 value is found, it means that the same installation package has been uploaded before. In this case, directly save the previously saved download address and application information to a specific temporary address.

[0196] 8. The client periodically polls a specific temporary web page address to check whether there is a new application download address in the directory of the address.

[0197] 9. When the client polls a specific web page for a download address, it obtains the application information and the application download address.

[0198] 10. The client downloads and installs the application.

[0199] This method can transmit application installation packages across networks. The client and the device that opens the web page only need to be able to access the Internet. As long as the user knows the specific temporary web page address generated by the client, he can upload and download applications in different regions respectively, greatly reducing the difficulty of transmitting application installation packages between devices to a minimum.

[0200] Please refer to Figure 2 , Figure 2 A cross-LAN cross-terminal remote application installation device 110 provided in an embodiment of the present invention is applied to a target client, and includes:

[0201] The acquisition module 1101 is used to generate a temporary website address; and obtain a pending application installation package uploaded to the temporary website address;

[0202] Verification module 1102 is used to verify whether there is an upload record for the pending application installation package; if so, based on the upload record, save the application download address and application information uploaded by the pending application installation package to the temporary website; if not, process the pending application installation package to obtain a processed application installation package; upload the processed application installation package to the server, so that the server generates an application download address and application information corresponding to the processed application installation package and saves them to the temporary website;

[0203] The download module 1103 is used to determine the application download address and the application information from the temporary website, and complete the application download and installation according to the application download address and the application information.

[0204] It should be noted that the implementation principle of the aforementioned cross-LAN cross-end remote application installation device 110 can refer to the implementation principle of the aforementioned cross-LAN cross-end remote application installation method, which will not be repeated here. It should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the cross-LAN cross-end remote application installation device 110 can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and a processing element of the above device can call and execute the functions of the above cross-LAN cross-end remote application installation device 110. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in a processor element or an instruction in software form.

[0205] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (digital signal processors, DSP), or one or more field programmable gate arrays (FPGA), etc. For another example, when a module above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0206] The embodiment of the present invention provides a computer device 100, which includes a processor and a non-volatile memory storing computer instructions. When the computer instructions are executed by the processor, the computer device 100 executes the aforementioned cross-LAN cross-terminal remote application installation device 110. Figure 3 As shown, Figure 3 The structure block diagram of the computer device 100 provided in the embodiment of the present invention is as follows. The computer device 100 comprises a cross-LAN cross-terminal remote application installation device 110 , a memory 111 , a processor 112 and a communication unit 113 .

[0207] In order to realize data transmission or interaction, the memory 111, the processor 112 and the communication unit 113 are electrically connected to each other directly or indirectly. For example, the electrical connection between these elements can be realized through one or more communication buses or signal lines. The cross-LAN cross-end remote application installation device 110 includes at least one software function module that can be stored in the memory 111 in the form of software or firmware or solidified in the operating system (OS) of the computer device 100. The processor 112 is used to execute the cross-LAN cross-end remote application installation device 110 stored in the memory 111, such as the software function modules and computer programs included in the cross-LAN cross-end remote application installation device 110.

[0208] An embodiment of the present invention provides a readable storage medium, which includes a computer program. When the computer program is running, the computer device where the readable storage medium is located is controlled to execute the aforementioned cross-local area network and cross-terminal remote application installation method.

[0209] For illustrative purposes, the foregoing description is made with reference to specific embodiments. However, the above illustrative discussion is not intended to be exhaustive or to limit the present disclosure to the precise form disclosed. Numerous modifications and variations are possible in accordance with the above teachings. These embodiments are selected and described in order to best illustrate the principles of the present disclosure and its practical application, so that those skilled in the art can best utilize the present disclosure and utilize various embodiments with different modifications to suit the intended specific application.

Claims

1. A cross-local area network and cross-terminal remote application installation method, characterized in that: Applied to target clients, including: Generate a temporary URL; Obtaining the pending application installation package uploaded to the temporary website; Verify whether there is an upload record for the pending application installation package; If it exists, based on the upload record, the application download address and application information uploaded by the pending application installation package are saved to the temporary website; If it does not exist, processing the pending application installation package to obtain a processed application installation package; Uploading the processed application installation package to the server, so that the server generates an application download address and application information corresponding to the processed application installation package and saves them to the temporary website; The application download address and the application information are determined from the temporary website, and application download and installation are completed according to the application download address and the application information.

2. The method according to claim 1, characterized in that The generating of a temporary URL comprises: The temporary website address unique to the target client is generated according to the device information of the target client.

3. The method according to claim 1, characterized in that The verifying whether there is an upload record for the pending application installation package includes: Parse and obtain the MD5 value corresponding to the pending application installation package; Transmitting the MD5 value to the server so that the server verifies whether the MD5 value exists; If so, determining that the pending application installation package has an upload record; If not, it is determined that there is no upload record for the pending application installation package.

4. The method according to claim 1, characterized in that: The step of saving the application download address and application information uploaded by the pending application installation package to the temporary website based on the upload record includes: Obtaining the saved application download address and application information from the upload record; The saved application download address and application information are saved to the temporary website.

5. The method according to claim 1, characterized in that The step of processing the pending application installation package to obtain a processed application installation package includes: The resource file of the pending application installation package is cut according to a preset rule to obtain a plurality of sub-resource files as the processed application installation package.

6. The method according to claim 5, characterized in that The uploading of the processed application installation package to the server, so that the server generates an application download address and application information corresponding to the processed application installation package and saves them to the temporary website, includes: Upload the multiple sub-resource files to the server; Sending a file merging instruction to the server, so that the server merges the multiple sub-resource files to obtain the application installation package; The application download address and application information corresponding to the application installation package are parsed and saved to the temporary website.

7. The method according to claim 1, characterized in that The determining the application download address and the application information from the temporary website, and completing the application download and installation according to the application download address and the application information, includes: Polling the temporary URL; In the case that the application download address exists in the temporary website, the application download and installation are completed based on the application download address and the application information.

8. A cross-local area network and cross-terminal remote application installation device, characterized in that: Applied to target clients, including: An acquisition module is used to generate a temporary website address; and to acquire a pending application installation package uploaded to the temporary website address; A verification module, used to verify whether there is an upload record for the pending application installation package; if so, based on the upload record, save the application download address and application information uploaded by the pending application installation package to the temporary website; if not, process the pending application installation package to obtain a processed application installation package; upload the processed application installation package to the server, so that the server generates an application download address and application information corresponding to the processed application installation package and saves them to the temporary website; The download module is used to determine the application download address and the application information from the temporary website, and complete the application download and installation according to the application download address and the application information.

9. A computer device, characterized in that: The computer device comprises a processor and a non-volatile memory storing computer instructions. When the computer instructions are executed by the processor, the computer device executes the method according to any one of claims 1 to 7.

10. A readable storage medium, characterized in that: The readable storage medium includes a computer program, and when the computer program is executed, the computer device where the readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.