Application program configuration method, system and equipment and storage medium

The configuration method automates the installation and login of applications on multiple devices using a centralized system, addressing inefficiencies and stability issues in e-sports by ensuring uniform and accurate setup.

CN119201260APending Publication Date: 2024-12-27SHENZHEN TENCENT TIANYOU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310756689.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-25
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Existing e-sports activities face inefficiencies and irregular configurations when setting up multiple electronic devices, leading to potential misoperations and stability issues.

Method used

A configuration method and system that uses a first device to acquire and distribute configuration information, including target version, resource address, and account information to automatically install and log in applications on multiple second devices, reducing manual intervention and improving accuracy.

Benefits of technology

Enhances efficiency and accuracy of application configuration, reduces labor costs, and improves the stability and viewing experience of e-sports events by enabling batch configuration of applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201260A_ABST
    Figure CN119201260A_ABST
Patent Text Reader

Abstract

The invention discloses an application program configuration method, system and device and a storage medium, configuration information including target version information of a target application program, resource address information of the target application program and at least one piece of account information is obtained, the target version information can be used for setting the version of the used target application program, and the resource address information of the target application program can be used for setting the resource address information of the target application program. Unified configuration of the target application program can be conveniently and quickly realized; the resource address information can provide application program resources of various versions of the target application program, and the target application program corresponding to the target version information can be installed on the second equipment according to the resource address information; by distributing the account information to the second device, automatic login of the target application program can be realized on the second device. The efficiency and accuracy of application program configuration can be improved, and the operation stability of the application program can be improved. The technical scheme can be widely applied to the technical field of application programs.
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 configuration method, system, device and storage medium for an application. Background Art

[0002] Nowadays, with the development of information technology, many applications have been developed. For example, applications such as games, instant messaging, videos, shopping, etc. have brought rich and colorful experiences to people's work, life and entertainment. Among them, some applications provide elements of competitive battles, and accordingly, e-sports activities have emerged. E-sports activities refer to competitive activities mediated by electronic devices, usually including confrontations between individuals or teams. Generally, electronic game-type applications are used as competition media, and audiences can watch the game screen during the competition.

[0003] In the related technology, when conducting e-sports activities, it may involve the operation and maintenance management of multiple electronic devices. At present, the corresponding work is generally handled by the event operators, who need to configure the application programs for multiple electronic devices one by one, which has the problem of low efficiency; moreover, the process may have irregular configurations, such as missing operations or wrong operations, which may easily affect the running stability of the application.

[0004] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the invention

[0005] The embodiments of the present application provide a configuration method, system, device and storage medium for an application, which can realize automatic configuration of the application, improve the efficiency and accuracy of the application configuration, and help improve the operating stability of the application.

[0006] An aspect of an embodiment of the present application provides a method for configuring an application program, which is applied to a first device, where the first device is used to communicate with at least one second device, and the method includes:

[0007] Acquire configuration information; wherein the configuration information includes target version information of the target application, resource address information of the target application, and at least one account information;

[0008] Sending a first instruction to the second device according to the target version information and the resource address information, so that the second device installs a target application corresponding to the target version information on the second device after receiving the first instruction;

[0009] A second instruction is sent to the second device according to the account information, so that the second device logs in to the target application after receiving the second instruction.

[0010] On the other hand, an embodiment of the present application provides another configuration method of an application, which is applied to a second device, where the second device is used to communicate with the first device, and the method includes:

[0011] Receiving a first instruction sent by the first device; wherein the first instruction is generated by the first device according to target version information of a target application and resource address information of the target application;

[0012] According to the first instruction, installing a target application corresponding to the target version information;

[0013] Receive a second instruction sent by the first device, and log in to the target application; wherein the second instruction includes account information.

[0014] On the other hand, an embodiment of the present application provides another method for configuring an application, the method comprising:

[0015] The first device acquires configuration information; wherein the configuration information includes target version information of the target application, resource address information of the target application, and at least one account information;

[0016] The first device sends a first instruction to the second device according to the target version information and the resource address information;

[0017] The second device receives the first instruction, and installs the target application corresponding to the target version information according to the first instruction;

[0018] The first device sends a second instruction to the second device according to the account information;

[0019] The second device receives the second instruction and logs in to the target application.

[0020] On the other hand, an embodiment of the present application provides an application configuration system, which is applied to a first device, the first device is used to communicate with at least one second device, and the system includes:

[0021] An acquisition unit, configured to acquire configuration information; wherein the configuration information includes target version information of a target application, resource address information of the target application, and at least one account information;

[0022] An installation unit, configured to send a first instruction to the second device according to the target version information and the resource address information, so that the second device installs a target application corresponding to the target version information on the second device after receiving the first instruction;

[0023] The login unit is used to send a second instruction to the second device according to the account information, so that the second device logs in to the target application after receiving the second instruction.

[0024] Optionally, the acquiring unit is specifically used for:

[0025] Get the task code information corresponding to this configuration task;

[0026] According to the task code information, corresponding configuration information is obtained.

[0027] Optionally, the configuration information further includes environment constraint information corresponding to the target application, and the system further includes an initialization unit, wherein the initialization unit is specifically configured to:

[0028] detecting environmental status information of the second device;

[0029] generating a third instruction according to the environmental constraint information and the environmental state information;

[0030] The third instruction is sent to the second device, so that the second device performs environment initialization processing after receiving the third instruction.

[0031] Optionally, the environmental constraint information includes memory constraint information, and the memory constraint information is used to calibrate a preset memory threshold; and the initialization unit is specifically used to:

[0032] detecting available memory of the second device;

[0033] If the available memory is less than or equal to the memory threshold, generate a fourth instruction;

[0034] The fourth instruction is sent to the second device, so that the second device performs a memory cleaning operation after receiving the fourth instruction.

[0035] Optionally, the environment constraint information includes application constraint information, and the application constraint information includes first application information of a plurality of blacklist applications; and the initialization unit is specifically configured to:

[0036] Acquire second application information of each application installed on the second device;

[0037] Compare the first application information with the second application information to determine whether there is an illegal application matching the blacklist application on the second device;

[0038] If there is an illegal application matching the blacklist application on the second device, generating a fifth instruction;

[0039] The fifth instruction is sent to the second device, so that the second device uninstalls the illegal application after receiving the fifth instruction.

[0040] Optionally, the initialization unit is specifically used for:

[0041] Calculating the similarity between the first application information and the second application information;

[0042] If the similarity between the first application information and the second application information is greater than or equal to a preset similarity threshold, it is determined that there is an illegal application matching the blacklist application on the second device; or, if the similarity between the first application information and the second application information is both less than the similarity threshold, it is determined that there is no illegal application matching the blacklist application on the second device.

[0043] Optionally, the initialization unit is specifically used for:

[0044] Extracting a first feature vector corresponding to the first application information and a second feature vector corresponding to the second application information;

[0045] determining a first length of the first eigenvector and a second length of the second eigenvector;

[0046] Obtaining a first value according to the product of the first length and the second length, and obtaining a second value according to the inner product of the first eigenvector and the second eigenvector;

[0047] The similarity is obtained according to the quotient of the second value and the first value.

[0048] Optionally, the initialization unit is specifically used for:

[0049] According to the first application information, construct a matching tree model based on an automaton;

[0050] Input characters in the second application information into the matching tree model for searching to determine whether there is first application information matching the second application information;

[0051] If there is first application information matching the second application information, it is determined that there is an illegal application matching the blacklist application on the second device; or, if there is no first application information matching the second application information, it is determined that there is no illegal application matching the blacklist application on the second device.

[0052] Optionally, the installation unit is specifically used for:

[0053] Detecting whether the target application is installed on the second device;

[0054] If the target application is not installed on the second device, a first resource acquisition request is sent to the background server of the target application according to the target version information and the resource address information, a program resource package corresponding to the target version information sent by the background server is received, a first instruction including the program resource package and program installation instructions is generated, and the first instruction is sent to the second device so that the second device installs the program resource package on the second device after receiving the first instruction; or, if the target application is not installed on the second device, a first instruction including the target version information, the resource address information and program installation instructions is generated, and the first instruction is sent to the second device so that the second device sends a second resource acquisition request to the background server of the target application after receiving the first instruction, and receives and installs the program resource package corresponding to the target version information.

[0055] Optionally, the installation unit is specifically used for:

[0056] If the target application has been installed on the second device, detecting first version information of the target application currently installed on the second device;

[0057] If the first version information is inconsistent with the target version information, sending a sixth instruction to the second device, so that the second device uninstalls the currently installed target application after receiving the sixth instruction;

[0058] Send a first resource acquisition request to the background server of the target application according to the target version information and the resource address information, receive a program resource package corresponding to the target version information sent by the background server, generate a first instruction including the program resource package and a program installation instruction, and send the first instruction to the second device so that the second device installs the program resource package on the second device after receiving the first instruction; or, generate a first instruction including the target version information, the resource address information and the program installation instruction, and send the first instruction to the second device so that the second device sends a second resource acquisition request to the background server of the target application after receiving the first instruction, and receives and installs the program resource package corresponding to the target version information.

[0059] Optionally, the installation unit is specifically used for:

[0060] If the program version corresponding to the first version information is earlier than the program version corresponding to the target version information, sending a third resource acquisition request to the background server of the target application according to the target version information, the resource address information and the first version information, receiving a differential resource package sent by the background server, generating a first instruction including the differential resource package and a program update instruction, and sending the first instruction to the second device, so that the second device installs the differential resource package on the second device after receiving the first instruction;

[0061] Alternatively, if the program version corresponding to the first version information is earlier than the program version corresponding to the target version information, a first instruction including the target version information, the resource address information and a program update instruction is generated, and the first instruction is sent to the second device, so that after receiving the first instruction, the second device sends a fourth resource acquisition request to the background server of the target application, and receives and installs the differential resource package sent by the background server.

[0062] Optionally, the system further includes a processing unit, wherein the processing unit is specifically configured to:

[0063] Sending a seventh instruction to the second device, so that the second device starts the target application and takes a screenshot after receiving the seventh instruction;

[0064] Acquire screenshot data of the second device;

[0065] Performing image analysis on the screenshot data to determine the running state of the target application on the second device;

[0066] If the target application is in an announcement page display state, an eighth instruction is sent to the second device, so that the second device closes the announcement page displayed by the target application after receiving the eighth instruction.

[0067] Optionally, the login unit is specifically used for:

[0068] Obtaining object identity information corresponding to each of the account information and number information corresponding to each of the second devices;

[0069] Establishing an association relationship between the account information and the second device according to the object identity information and the number information;

[0070] A second instruction including the account information and a login instruction is sent to a second device associated with the account information, so that the second device logs in to the target application using the account information after receiving the second instruction.

[0071] On the other hand, an embodiment of the present application provides a system for configuring an application, the system comprising a first device and at least one second device;

[0072] The first device is used for:

[0073] Acquire configuration information; wherein the configuration information includes target version information of the target application, resource address information of the target application, and at least one account information;

[0074] sending a first instruction to the second device according to the target version information and the resource address information, and sending a second instruction to the second device according to the account information;

[0075] The second device is used for:

[0076] receiving the first instruction, and installing a target application corresponding to the target version information according to the first instruction;

[0077] The second instruction is received, and the target application is logged in.

[0078] On the other hand, an embodiment of the present application provides an electronic device, including a processor and a memory;

[0079] The memory is used to store computer programs;

[0080] The processor executes the computer program to implement the aforementioned application configuration method.

[0081] On the other hand, an embodiment of the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor to implement the aforementioned configuration method of the application program.

[0082] The embodiment of the present application further discloses a computer program product, including a computer program, which implements the aforementioned configuration method of the application program when executed by a processor.

[0083] The embodiments of the present application include at least the following beneficial effects: The present application provides a configuration method, system, device and storage medium for an application, wherein the configuration method for the application obtains configuration information including target version information of a target application, resource address information of a target application and at least one account information, wherein the target version information can be used to set the version of the target application used, so as to facilitate the rapid implementation of unified configuration of the target application; the resource address information can provide application resources of various versions of the target application, and according to the resource address information, the target application corresponding to the target version information can be installed on the second device; by distributing the account information to the second device, the automatic login of the target application can be realized on the second device, thereby improving the efficiency and accuracy of the application configuration. The technical solution in the embodiments of the present application can realize the automatic configuration of the application through the first device, is suitable for batches of second devices, does not need to configure multiple second devices one by one, can reduce labor costs, reduce the problem of irregular configuration, improve the efficiency and accuracy of the application configuration, and is conducive to improving the running stability of the application. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] The accompanying drawings are used to provide a further understanding of the technical solution of the present application, and constitute a part of the specification, and together with the embodiments of the present application, are used to explain the technical solution of the present application. Obviously, the drawings described below are only some embodiments of the present application and do not constitute a limitation on the technical solution of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without paying creative work.

[0085] Figure 1 A schematic diagram of an implementation environment of a configuration method for an application program provided in an embodiment of the present application;

[0086] Figure 2 A flowchart of a method for configuring an application provided in an embodiment of the present application;

[0087] Figure 3 A schematic diagram of a transmission process of configuration information provided in an embodiment of the present application;

[0088] Figure 4 A schematic diagram of a process for directly installing a target application on a second device provided in an embodiment of the present application;

[0089] Figure 5 A schematic diagram of another process of directly installing a target application on a second device provided in an embodiment of the present application;

[0090] Figure 6 A schematic diagram of a process of reinstalling a target application on a second device provided in an embodiment of the present application;

[0091] Figure 7 A schematic diagram of another process of reinstalling a target application on a second device provided in an embodiment of the present application;

[0092] Figure 8 A schematic diagram of a process of differentially updating a target application on a second device provided in an embodiment of the present application;

[0093] Fig. 9 A schematic diagram of another process of differentially updating a target application on a second device provided in an embodiment of the present application;

[0094] Fig.10 A flowchart of another method for configuring an application provided in an embodiment of the present application;

[0095] Fig.11 A schematic diagram of a flow chart of a configuration method of a third application program provided in an embodiment of the present application;

[0096] Fig.12 A schematic diagram of an automated management system for e-sports equipment provided in an embodiment of the present application;

[0097] Fig.13 A schematic diagram of the principle of an Android debugging bridge provided in an embodiment of the present application;

[0098] Fig.14 A schematic diagram of the workflow of an e-sports equipment automation management tool provided in an embodiment of the present application;

[0099] Fig.15 A schematic diagram of an interface of a game application provided in an embodiment of the present application;

[0100] Fig.16 A schematic diagram of the structure of a configuration system for an application provided in an embodiment of the present application;

[0101] Fig.17 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0102] Fig.18 A schematic diagram of the structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0103] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.

[0104] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, 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 words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".

[0105] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.

[0106] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0107] Before describing the embodiments of the present application in detail, some nouns and terms involved in the embodiments of the present application are first described. The nouns and terms involved in the embodiments of the present application are subject to the following explanations.

[0108] 1) Electronic sports, also known as e-sports, refer to competitive activities that use electronic devices as a medium, usually involving competition between individuals or teams. Electronic game-type applications are generally used as the competition medium, allowing spectators to watch the game screen during the competition.

[0109] 2) JSON (JavaScript Object Notation), a lightweight data exchange format that represents simple data structures and collections of objects in a readable text format. The data structure of JSON is relatively simple, and it consists of two structures: key-value pairs and arrays. A key-value pair consists of a key and a corresponding value, separated by a colon, and multiple key-value pairs are separated by commas. An array is an ordered set of values, and multiple values ​​are separated by commas. Values ​​can be strings, numbers, Boolean values, objects, arrays, or null.

[0110] 3) HTTP (HyperText Transfer Protocol), an application layer protocol for distributed, collaborative and hypermedia information systems.

[0111] 4) Linux system, an open source operating system with excellent stability, security and scalability, is widely used in servers, embedded devices, personal computers and other electronic devices. The core of the Linux system is the Linux kernel. Different distributions include different tools, applications and configuration files.

[0112] 5) Windows system, an operating system, is widely used in electronic devices such as personal computers, servers, and mobile terminals.

[0113] 6) Android system, an operating system based on the Linux kernel and free software development, is widely used in electronic devices such as smartphones, tablets, smart TVs, smart watches, etc. Electronic devices using the Android system are generally called Android devices.

[0114] 7) adb (android debug bridge) is a general debugging tool provided by the Android system. It is a command line tool with a C / S (Client / Server) architecture. Through this tool, personal computers (or other electronic devices) can communicate with Android devices.

[0115] 8) USB (Universal Serial Bus), an external bus standard used to regulate the connection and communication between electronic devices and external devices, is generally used in the interface technology of personal computers.

[0116] 9) HTTPS (HyperText Transfer Protocol Secure), a transmission protocol for secure communication over computer networks, communicates via HTTP and uses SSL / TLS (Secure Sockets Layer / Transport Layer Security) to encrypt data packets.

[0117] 10) Shell, a program written in C language, is a bridge to use the Linux kernel. Shell is both a command language and a programming language. Shell scripts are text files used to write a series of operating instructions. They usually consist of commands, control structures and variables. They can be run in a command line interface or script interpreter. They are mainly used to perform automated tasks and process operations.

[0118] 11) Auto Chess, a strategy-based game application, players need to place chess pieces on a limited board and fight, and finally defeat the opponent to win. The battle of Auto Chess is automatic, and the player only needs to provide the pre-battle lineup and some instructions during the battle, such as using skills or adjusting the lineup to achieve the battle operation.

[0119] 12) MOBA (Multiplayer Online Battle Arena) games refer to multiplayer online competitive games, usually between two teams. Players need to act on the map, defeat other players or AI-controlled soldiers, and destroy the opponent's defense towers and main base to win.

[0120] 13) FPS (First-Person Shooter) games refer to first-person shooting games. Players play the role of characters in the game, which is displayed from a first-person perspective. They use various props to fight on the map and need to defeat their opponents to win. Similar to this is TPS (Third-Person Shooter) games, which are third-person shooting games. Unlike FPS games, the characters played by players in TPS games are displayed from a third-person perspective.

[0121] 14) Artificial Intelligence (AI) refers to theories, methods, technologies and application systems that use digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new type of intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making. Artificial intelligence technology is an interdisciplinary subject that covers a wide range of fields, including both hardware-level and software-level technologies. Basic artificial intelligence technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, and mechatronics. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0122] 15) Machine Learning (ML) is a multi-disciplinary subject involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all areas of artificial intelligence. Machine learning (deep learning) usually includes artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and self-learning.

[0123] 16) Blockchain, a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer and application service layer. Blockchain can include public chain, alliance chain and private chain. Among them, public chain refers to a blockchain that anyone can enter the blockchain network at any time to read data, send data or compete for accounting; alliance chain refers to a blockchain jointly managed by several organizations or institutions; private chain refers to a blockchain with certain centralized control. The write right of the private chain account book is controlled by a certain organization or institution, and the access and use of data are strictly managed by permissions.

[0124] Nowadays, with the development of information technology, many applications have been developed. For example, applications such as games, instant messaging, videos, shopping, etc. have brought rich and colorful experiences to people's work, life and entertainment. Among them, some applications provide elements of competitive battles, and accordingly, e-sports activities have emerged. E-sports activities refer to competitive activities mediated by electronic devices, usually including confrontations between individuals or teams. Generally, electronic game-type applications are used as competition media, and audiences can watch the game screen during the competition.

[0125] In the related technology, when conducting e-sports activities, it may involve the operation and maintenance management of multiple electronic devices. At present, the corresponding work is generally handled by the event operators of the event organizer, and the event organizer will configure the electronic devices used in the competition for the players participating in the e-sports activities. In the preparation process before the start of the event, the event operators need to configure the application programs for multiple electronic devices one by one, which takes a long time and has the problem of low efficiency; moreover, the process may have irregular configurations, such as missed operations or misoperations, which may easily lead to the suspension of the event, affecting the operating stability of the application and the viewing experience of the e-sports event.

[0126] In view of this, the present application provides a configuration method, system, device and storage medium for an application, wherein the configuration method of the application obtains configuration information including target version information of a target application, resource address information of a target application and at least one account information, wherein the target version information can be used to set the version of the target application used in an e-sports activity, so as to facilitate the rapid implementation of a unified configuration of the target application; the resource address information can provide application resources of various versions of the target application, and according to the resource address information, the target application corresponding to the target version information can be installed on the second device; by distributing the account information to the second device, the automatic login of the target application can be realized on the second device, thereby improving the efficiency and accuracy of the application configuration. The technical solution in the embodiment of the present application can realize the automatic configuration of the application in the e-sports activity through the first device, is suitable for batches of second devices, does not require the activity operator to configure multiple second devices one by one, can reduce labor costs, reduce the occurrence of irregular configurations, improve the efficiency and accuracy of the application configuration, and is conducive to improving the running stability of the application and the viewing experience of the e-sports activity.

[0127] The configuration method of the application provided in the embodiments of the present application mainly relates to the technology related to the application in the field of information technology. It should be noted that in the embodiments of the present application, the application scenario of e-sports is used as an example to illustrate the technical problems that can be improved by the provided technical solution and the technical effects achieved, but this does not mean that the technical solution provided by the present application is limited to implementation in the application scenario of e-sports. It can be understood by those skilled in the art that the configuration method of the application provided in the embodiments of the present application can be executed in various application scenarios:

[0128] For example, in an enterprise office application scenario, for employees who need to use the same application, the application configuration method provided in the embodiment of the present application can realize batch configuration of the application on multiple office devices, thereby reducing the time and error rate of manual configuration, and helping to improve work efficiency.

[0129] For example, in the application scenario of school teaching, there may be a demand for online teaching, and students are required to use a specified type of application on the corresponding electronic device. Through the configuration method of the application provided in the embodiment of the present application, the application configuration of the electronic device corresponding to each student can be easily realized, without the need for teachers and parents to provide complex configuration guidance, which can reduce the educational burden of teachers and parents, is conducive to improving teaching efficiency, and helps achieve better teaching results.

[0130] For example, in the application scenario of smart home, the same application may be needed on multiple different smart home devices. If the application is installed and logged in to each smart home device one by one, it will take a long time, and different smart home devices may have different operation modes, resulting in a cumbersome configuration process. The configuration method of the application provided in the embodiment of the present application can reduce the time for application installation and login, and improve the user experience of smart home devices.

[0131] Of course, it is understandable that the above application scenarios only serve as an example and do not mean that the actual application of the configuration method of the application in the embodiment of the present application is limited. Those skilled in the art can understand that in different application scenarios, the configuration method of the application provided in the embodiment of the present application can be used to perform specified tasks. Moreover, in the above application scenarios, the technical solutions in the embodiment of the present application can realize the automatic configuration of the application, which is suitable for batches of electronic devices, without the need to configure multiple electronic devices one by one, which can reduce labor costs, reduce the problem of irregular configuration, improve the efficiency and accuracy of application configuration, and help improve the operational stability of the application.

[0132] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on the object's information, the object's behavioral data, the object's historical data, the object's location information, and other data related to the object's identity or characteristics, the object's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with the relevant laws, regulations, and standards of the relevant countries and regions. In addition, when the embodiment of the present application needs to obtain sensitive information of the object, the object's separate permission or separate consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the object's separate permission or separate consent, the necessary object-related data for the normal operation of the embodiment of the present application will be obtained.

[0133] The specific implementation of the embodiment of the present application is described in detail below in conjunction with the accompanying drawings. First, a configuration method of an application provided in the embodiment of the present application is described in conjunction with the accompanying drawings.

[0134] Please refer to Figure 1 , Figure 1 A schematic diagram of the implementation environment of a configuration method for an application provided in an embodiment of the present application is shown. In this implementation environment, the main hardware and software entities involved include a first device 110 and a second device 120. The number of the first device 110 can be one, and the number of the second device 120 can be one or more. A communication connection can be achieved between the first device 110 and each second device 120. Among them, the first device 110 is used to configure the application for the second device 120, and the second device 120 is used for the specific use of the application, for example, it can be used to implement e-sports activities, office work, online teaching or smart home applications, etc., and this application does not limit this.

[0135] The configuration method of the application provided in the embodiment of the present application can be executed on the first device 110. For example, the first device 110 can be integrated with a computer program 130 for executing the configuration method of the application, and the first device 110 can interact with the second device 120 by running the computer program 130 to implement the configuration of the application of the second device 120.

[0136] It is understandable that in the embodiments of the present application, there is no specific restriction on the device types of the first device 110 and the second device 120. In some embodiments, the first device 110 and the second device 120 may be terminal devices; in other embodiments, the first device 110 may also be a server device, and the second device 120 may be a terminal device. Specifically, the terminal device may include a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart home device (such as a smart speaker), a smart wearable device (such as a smart watch), and a vehicle-mounted terminal, etc.; the server device may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms, and may also be a node server in a blockchain network, but is not limited thereto.

[0137] A communication connection may be established between the first device 110 and the second device 120 via a wireless network or a wired network. The wireless network or wired network may use standard communication technologies and / or protocols, and the network may be set to the Internet or any other network, such as but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or any combination of a virtual private network, which is not limited in the present application.

[0138] It should be noted that in the embodiment of the present application, when there are multiple second devices 120, the first device 110 and each second device 120 can use the same communication connection method or different communication connection methods, and the present application does not impose any specific restrictions on this.

[0139] Of course, it is understandable that Figure 1 The configuration method of the application program provided in the embodiment of the present application is shown in the following. The actual implementation is not fixed as follows. Figure 1 The hardware and software environment shown in .

[0140] The method provided in the embodiments of the present application can be applied to various technical fields, such as shopping, games, social networking, education, cloud technology, artificial intelligence, smart transportation, assisted driving, etc., and the present application does not impose any specific restrictions on this.

[0141] Below, in combination with the above description of the implementation environment, a configuration method for an application provided in an embodiment of the present application is introduced and explained in detail.

[0142] First, if Figure 2 As shown, in the embodiment of the present application, a configuration method of an application is provided, and the configuration method of the application can be applied to Figure 1 In the first device 110 shown, the first device 110 can be used to communicate with at least one second device 120, and the application configuration of the second device 120 is implemented by executing the application configuration method provided in the embodiment of the present application.

[0143] Reference Figure 2 The configuration method of the application provided in the embodiment of the present application specifically includes but is not limited to steps 210 to 230:

[0144] Step 210: Obtain configuration information; wherein the configuration information includes target version information of the target application, resource address information of the target application, and at least one account information;

[0145] In this step, the first device can obtain configuration information when configuring the application on the second device. Configuration information refers to the relevant information required to implement the installation and login of the predetermined application on the second device. Here, the predetermined application that needs to be installed and logged in is recorded as the target application, and the configuration information is the information required to install and log in the target application on the second device. Exemplarily, for example, the configuration information may include information required to install the target application, such as which application the target application is, how to obtain the target application, and other related information; the configuration information may also include information required to log in to the application, such as account information. In this step, the first device obtains the configuration information for the purpose of subsequently implementing the application configuration of the second device based on the configuration information.

[0146] Specifically, in an embodiment of the present application, the configuration information may include target version information of the target application, resource address information of the target application, and at least one account information. Among them, the target version information can be used to specify the specific version of the target application that needs to be installed on the second device. It is understandable that, in general, after the application is released, due to the needs of updating functions, fixing vulnerabilities or improving performance, the application needs to be updated. Therefore, there will be different versions of the same application. There are usually some differences in function or performance between different versions of the application. For example, in e-sports activities, different versions of game applications may have differences in rule settings, game content, running performance, and device compatibility. In order to ensure the fairness and competitiveness of the competition as much as possible, it is necessary to specify the version of the game application used in the event, and agree that the contestants use the same version of the game application to compete. In an embodiment of the present application, through the target version information, it is possible to set a target application with a specified version uniformly configured on each second device, which can improve the efficiency and accuracy of application configuration.

[0147] In the embodiments of the present application, the resource address information of the target application can be used to provide a network address for downloading a program resource package corresponding to the target application. For example, in some embodiments, the application can correspond to a background server for providing business services related to the application, and can be used to provide program resource packages of various versions of the application. In this case, the resource address information in the configuration information can be the network address information where the background server is located. Of course, in some embodiments, the network addresses of the program resource packages corresponding to different versions of the target application may be different. In this case, the corresponding resource address information can be provided for each version. In other words, in the embodiments of the present application, the resource address information of the target application can be one or more, and the present application does not limit this.

[0148] In the embodiments of the present application, the account information can be used to log in to the target application. Exemplarily, in some embodiments, the account information may include an object identifier and key information, wherein the object identifier may be a unique identifier set when the object using the target application is registered, which can be used to distinguish different objects, and the key information is a secret code corresponding to the object identifier, which can usually be composed of numbers, characters, special symbols, etc. In some embodiments, the account information may also include the object's email address information, mobile phone number information, or other content that can verify personal identity information, such as the object's name, gender, date of birth, residential address, educational background, work, etc., and this application does not limit this.

[0149] It should be noted that in the embodiments of the present application, there is no restriction on the data format used for the target version information, resource address information and account information, and the specific content included. In addition to the above-mentioned target version information, resource address information and account information, the configuration information may also include other information. For example, in some embodiments, the configuration information may include login time information, and the login time information may be used to specify the time node corresponding to the target application login on the second device, so as to facilitate the unified login of the target application on multiple second devices. Of course, it is understandable that in the embodiments of the present application, there is no specific restriction on other types of information included in the configuration information, and it can be flexibly adjusted according to actual needs.

[0150] In the embodiments of the present application, there is no restriction on the manner of obtaining configuration information. For example, in some embodiments, the configuration information may be transmitted to the first device by other systems or electronic devices; in other embodiments, the configuration information may also be manually input. For example, in the application scenario of e-sports, the event organizer may set up a corresponding system or electronic device to collect and organize the configuration information, and then transmit the configuration information to the first device for use; of course, the event organizer may also send the configuration information to the event operator, and the event operator will input the configuration information into the first device, thereby enabling the first device to obtain the configuration information.

[0151] Step 220: Send a first instruction to the second device according to the target version information and the resource address information, so that the second device installs the target application corresponding to the target version information on the second device after receiving the first instruction;

[0152] After the configuration information is obtained, the target application can be installed and logged in on the second device according to the configuration information.

[0153] In this step, the second device can install the target application according to the configuration information. Specifically, after obtaining the configuration information, the version of the target application that needs to be installed on the second device and the corresponding resource address can be determined based on the target version information and resource address information in the configuration information, so that an instruction for instructing the second device to install the target application corresponding to the target version information can be generated, which is recorded as the first instruction in the embodiment of the present application.

[0154] In an embodiment of the present application, the first instruction can be sent to the second device after being generated on the first device side, so that after the second device receives the first instruction, it installs the target application corresponding to the target version information on the second device according to the first instruction. This application does not limit the specific data format and transmission method of the first instruction. Exemplarily, in some embodiments, the data content of the first instruction can be encoded in JSON (JavaScript Object Notation) format and then transmitted via HTTP (Hyper Text Transfer Protocol). For example, the first instruction may include the following fields:

[0155] {

[0156] "action":"install",

[0157] "appId":"com.example.app",

[0158] "versionCode": 12345,

[0159] "targetDeviceId": "DEVICE_ID_2"

[0160] }

[0161] Among them, the action field can be used to indicate the instruction type, which in the embodiment of the present application is to install the application; the appId field can be used to indicate the program resource package name of the target application to be installed this time; the versionCode field can indicate the target version information of the target application to be installed this time; the targetDeviceId field can be used to indicate the identifier of the device on which the target application is installed this time, which in the embodiment of the present application is the identifier of the second device.

[0162] Of course, in the embodiments of the present application, the specific data form and transmission mode of the first instruction may also adopt other types. For example, in other embodiments, the data content of the first instruction may also be encoded using binary data and then transmitted via Bluetooth. Moreover, it is understandable that when the first device sends the first instruction to multiple second devices, the data encoding form, data content and transmission mode of these first instructions may be the same or different, which can be selected according to actual needs, and the present application does not limit this.

[0163] In this step, the first device sends the first instruction to the second device. When there are multiple second devices, the first device can send the first instruction to all the second devices at the same time, or send the first instruction to each second device in turn, or send the first instruction to a part of the second devices each time to complete the sending task of all the first instructions in succession.

[0164] It can be understood that in the embodiment of the present application, the installation of the target application on the second device is achieved by sending the first instruction to the second device through the first device, and the application configuration tasks of multiple second devices can be processed in parallel. Compared with manual configuration one by one, the labor cost and the time required for configuration can be reduced, which is conducive to improving the installation efficiency of the target application.

[0165] Step 230: Send a second instruction to the second device according to the account information, so that the second device logs in to the target application after receiving the second instruction.

[0166] In this step, the second device can log in to the target application according to the configuration information. Specifically, after obtaining the configuration information, an instruction for instructing the second device to log in to the target application corresponding to the target version information can be generated based on the account information in the configuration information. In the embodiment of the present application, it is recorded as the second instruction.

[0167] In the embodiment of the present application, the second instruction can be sent to the second device after being generated on the first device side, so that after the second device receives the second instruction, it logs in the target application corresponding to the target version information on the second device according to the second instruction. Similarly, the present application does not limit the specific data format and transmission method of the second instruction. For example, the second instruction may include the following fields:

[0168] {

[0169] "action": "login",

[0170] "appId": "com.example.app",

[0171] "versionCode": 12345,

[0172] "targetDeviceId": "DEVICE_ID_2",

[0173] "username": "user",

[0174] "password": "password"

[0175] }

[0176] Among them, the action field can be used to indicate the instruction type, which is logging in to the application in the embodiment of the present application; the appId field can be used to indicate the program resource package name of the target application for this login; the versionCode field can indicate the target version information of the target application for this login; the targetDeviceId field can be used to indicate the identifier of the device for the target application for this login, which is the identifier of the second device in the embodiment of the present application; the username field can be used to indicate the account name in the account information, that is, the object identifier; the password field can be used to indicate the account password in the account information, that is, the key information.

[0177] Of course, in the embodiment of the present application, the specific data form and transmission mode of the second instruction may also adopt other types, which can be implemented with reference to the aforementioned first instruction, and the present application will not elaborate on it here. It is understandable that in the embodiment of the present application, the data form and transmission mode of the above-mentioned first instruction and second instruction are also applicable to other instructions. Each instruction appearing in the subsequent embodiments can be implemented with reference to the first instruction or the second instruction, and the present application will not elaborate on it.

[0178] It should be noted that, in the embodiment of the present application, after the first device obtains the configuration information, it can generate the first instruction and the second instruction according to the configuration information, and then send the first instruction and the second instruction to the second device to achieve the installation and login of the target application on the second device. Here, the present application does not limit the generation and sending order of the first instruction and the second instruction. Taking the sending situation as an example, in some embodiments, the first device can first send the first instruction so that the second device installs the target application, and then send the second instruction so that the second device logs in to the target application; in other embodiments, the first device can also send the second instruction first, and after the second device receives the second instruction, it temporarily stores the second instruction, and then, when the first device sends the first instruction to the second device, the second device executes the first instruction and the second instruction in sequence. In other words, in the embodiment of the present application, on the first device side, the generation and sending order of the first instruction and the second instruction can be arbitrary; on the second device side, the first instruction is executed first, and then the second instruction is executed, so that the target application corresponding to the target version information is logged in on the second device.

[0179] It can be understood that the configuration method of the application provided in the embodiment of the present application obtains configuration information including the target version information of the target application, the resource address information of the target application, and at least one account information, wherein the target version information can be used to set the version of the target application used, so as to facilitate the rapid implementation of the unified configuration of the target application; the resource address information can provide application resources of various versions of the target application, and according to the resource address information, the target application corresponding to the target version information can be installed on the second device; by distributing the account information to the second device, the automatic login of the target application can be realized on the second device, thereby improving the efficiency and accuracy of the application configuration. The technical solution in the embodiment of the present application can realize the automatic configuration of the application through the first device, which is suitable for batches of second devices, and there is no need to configure multiple second devices one by one, which can reduce labor costs, reduce the problem of irregular configuration, improve the efficiency and accuracy of the application configuration, and is conducive to improving the running stability of the application.

[0180] Specifically, in a possible implementation, obtaining configuration information includes:

[0181] Get the task code information corresponding to this configuration task;

[0182] According to the task code information, obtain the corresponding configuration information.

[0183] In an embodiment of the present application, task code information can be obtained, and then configuration information can be further obtained based on the task code information. The task code information can be text information corresponding to the configuration task, and here, the configuration task refers to the task of configuring the target application for the second device. It can be understood that there may be multiple configuration tasks for different second device combinations and different target applications. For each configuration task to be executed, a task code information can be generated accordingly. The task code information can be a piece of text information including letters, numbers or characters, etc., which is used to uniquely identify the configuration task.

[0184] In the embodiments of the present application, there is no limitation on the method for generating the task code information. For example, in some embodiments, the task code information may be manually generated, such as being specified or selected by relevant personnel; in some embodiments, the task code information may also be algorithmically generated, such as being automatically generated by a random algorithm with some string data used as the task code information. Of course, the above embodiments are only exemplary descriptions of the method for generating the task code information. In actual applications, the method for generating the task code information may be determined according to the requirements. In the embodiments of the present application, there is no limitation on the specific method for generating the task code information and the data content contained therein.

[0185] In the embodiment of the present application, the corresponding configuration information is obtained according to the task code information, and its specific implementation method can also be determined according to the needs. For example, in some embodiments, for a certain configuration task, after determining the corresponding configuration information and generating the corresponding task code information, the association relationship between the configuration information and the task code information corresponding to the configuration task can be established, for example, the configuration information, the association relationship between the configuration information and the task code information can be stored in a specified database. Then, when the first device obtains the configuration information, it can first obtain the task code information corresponding to the current configuration task, send the task code information to the database, and request to obtain the corresponding configuration information; after the database receives the task code information sent by the first device, it can query the configuration information that has an association relationship with the task code information, and feed back the queried configuration information to the first device. In other embodiments, the task code information and the configuration information can also be associated in terms of content, for example, the task code information can be obtained by encrypting the configuration information, for example, the configuration information can be encrypted using a hash function to generate the task code information. In this way, when the first device obtains the configuration information, it can first obtain the task code information corresponding to the current configuration task, and then decrypt the task code information to obtain the corresponding configuration information. Of course, it can be understood that the above implementation method of obtaining corresponding configuration information based on task code information is only described as an example, and this application does not limit its specific implementation process.

[0186] In the embodiment of the present application, the task code information can be recorded, stored and used more conveniently than the configuration information. For example, in the application scenario of e-sports, the task code information can also be used to uniquely identify the event, which is convenient for the audience to buy tickets, the contestants to register for the competition, and the event operators to manage and count the events, and has good practicality. Moreover, it should be emphasized that the transmission of configuration information through task code information can also improve the privacy and security of data. Below, in conjunction with specific examples, the transmission process of the configuration information in the embodiment of the present application is introduced and explained.

[0187] Reference Figure 3 , Figure 3A schematic diagram of the transmission flow of configuration information provided in an embodiment of the present application is shown. When configuring an application in an e-sports application scenario, the event organizer 310 can set up a corresponding system or electronic device to collect and organize configuration information according to the situation of the event, and then generate task code information corresponding to this configuration task according to the configuration information. When the application is actually configured, the event operator 320 can operate the first device 110 on site to implement batch application configuration of the second device. Specifically, the event organizer 310 can distribute the task code information to the event operator 320, and the event operator 320 inputs the task code information into the first device 110 so that the first device 110 obtains the corresponding configuration information.

[0188] It is understandable that in this process, using task code information to transmit configuration information can improve the efficiency of information input and acquisition and reduce the workload of event operators. Relatively speaking, task code information is easier to verify whether there is an input error. If the event operator enters the wrong task code information, the first device will most likely not be able to obtain the corresponding configuration information, which can remind the event operator to review in time and make corresponding adjustments and changes; if the event operator enters the wrong configuration information, it is generally discovered when the configuration information is used later, which can easily cause the event to be suspended midway, affecting the running stability of the application and the viewing experience of e-sports activities. Moreover, by using task code information to transmit configuration information, event operators cannot know the specific content of the configuration information, which can reduce the risk of leakage of contestants' personal information (such as account information) and improve data privacy and security.

[0189] It should be noted that, in the embodiment of the present application, the task code information is used to uniquely identify the configuration task, which means that at the same time node, different configuration tasks correspond to different task code information. It should be understood that the task code information itself can be reused. For example, for two configuration tasks executed in different time periods, the same task code information can be used to identify them. For example, in some embodiments, a task code information set can be prepared, which includes several task code information. Each time a configuration task is executed, a task code information in an available state can be taken as the task code information corresponding to this configuration task. In the process of executing the configuration task, the state of the task code information is identified as an unavailable state. After the configuration task is completed, the state of the task code information is re-identified as an available state. In this way, a large number of configuration tasks can be executed through a small amount of reusable task code information, which is conducive to reducing the complexity of the task code information and is convenient for recording, storage and use. Of course, different task code information can also be used to identify them, and this application does not limit this.

[0190] Specifically, in a possible implementation, the configuration information further includes environment constraint information corresponding to the target application. The configuration method of the application provided in the embodiment of the present application further includes:

[0191] detecting environmental status information of the second device;

[0192] generating a third instruction according to the environmental constraint information and the environmental state information;

[0193] A third instruction is sent to the second device, so that the second device performs environment initialization processing after receiving the third instruction.

[0194] As mentioned above, in addition to the target version information, resource address information and account information, the configuration information may also include other information. In the embodiment of the present application, the configuration information may also include the environmental constraint information corresponding to the target application, and the environmental constraint information may be used to set the constraint conditions of the environmental factors on which the target application depends when running. Based on the environmental constraint information, the environment initialization processing of the second device may be implemented.

[0195] In the embodiment of the present application, when the first device configures the target application on the second device, in some cases, in order to enable the target application to run stably and reliably as much as possible, the environment initialization processing can be performed on the second device to improve the performance of the second device and improve the effect of the target application running. Specifically, the environment constraint information can be set in the configuration information, and the environment constraint information can be used to set the constraint conditions of at least one environmental factor such as the operating system, hardware device, software program or network status on the second device.

[0196] Exemplarily, for example, for the environmental factors of the operating system, if it is necessary to run a target application of the Linux system on the second device, then the environmental constraint information can be set to run the Linux system on the second device. For the environmental factors of the hardware device, if it is necessary to run a target application that uses a large amount of memory or processor and other computing resources on the second device, then the environmental constraint information can set the resource thresholds corresponding to the required memory, CPU (Central Processing Unit) or GPU (graphics processing unit) and other computing resources. For the environmental factors of the software program, the environmental constraint information can be used to set the dependency library and component information corresponding to the target application that needs to be run on the second device. For the environmental factors of the network status, the environmental constraint information can be used to set the network type, interface and communication protocol required to support the operation of the target application on the second device. Of course, in the above embodiments, the setting of the environmental constraint information only serves as an example and does not mean that the actual application of the environmental constraint information in the embodiments of the present application is limited.

[0197] In an embodiment of the present application, when the environment initialization process is performed on the second device, the environment status information of the second device can be detected. Here, the environment status information can include information related to at least one environmental factor such as the operating system, hardware device, software program or network status on the second device. Specifically, the first device detects the environment status information of the second device, and there can be multiple implementations. Exemplarily, in some embodiments, the first device can use a scanning program to scan and obtain the environment status information on the second device. Through the scanning program, the operating system, software program, open interface and other information running on the second device can be analyzed. In some embodiments, the first device can obtain the environment status information of the second device through a related network protocol. For example, the SNMP protocol (Simple Network Management Protocol) can be used to obtain the hardware information on the second device, or the SSH protocol (Secure Shell) can be used to log in to the second device and execute instructions to obtain the environment status information. In some embodiments, the first device can obtain the environment status information of the second device through an API (Application Programming Interface). For example, for a second device using a Windows system, WMI (Windows Management Instrumentation) can be used to obtain information such as hardware devices, operating systems, network status, etc. on the second device. In some embodiments, the first device may also use a specific application to detect the environmental status information of the second device. These applications may be implemented with reference to existing related technologies, which are not described in detail in this application. In the embodiments of this application, any one or more of the above methods may be used in combination with the type of specific environmental status information to detect the environmental status information of the second device.

[0198] In an embodiment of the present application, after detecting and obtaining the environmental status information, an instruction for instructing the second device to perform environmental initialization processing can be generated according to the environmental constraint information and the environmental status information, which is recorded as a third instruction in the embodiment of the present application. Specifically, when generating the third instruction, the environmental constraint information and the environmental status information can be compared one by one to determine whether the environmental status information of the current second device meets the constraint conditions of the environmental factors set in the environmental constraint information. If a certain environmental status information meets the constraint conditions, the environmental status information can be skipped and the comparison of the next environmental status information can be performed (or the constraint conditions can be skipped and the comparison of the next constraint conditions can be performed); if a certain environmental status information does not meet the constraint conditions, a third instruction can be generated accordingly, and then the third instruction can be sent to the second device for execution. The third instruction will instruct the second device to adjust the environmental factors corresponding to the environmental status information that does not meet the constraint conditions until it meets the constraint conditions set in the environmental constraint information.

[0199] In the embodiment of the present application, there is no restriction on the number of third instructions specifically generated and the content of the task for performing the environment initialization process. In addition, it should be noted that, since the environmental factors of the second device may affect each other, after the second device performs the environment initialization process, some environmental status information that previously satisfied the constraint conditions may change and become a type that does not satisfy the constraint conditions, which may easily affect the running stability of the application. Therefore, in the embodiment of the present application, the above-mentioned process of detecting the environmental status information of the second device, generating and sending the third instruction to the second device based on the environmental constraint information and the environmental status information can be executed in a loop. That is, each time the second device performs the environment initialization process, the first device can still detect the environmental status information again until the environmental status information of the second device meets the environmental constraint information.

[0200] It is understandable that in the embodiment of the present application, by setting the environmental constraint information, the target application can be made to run stably and reliably on the second device as much as possible, thereby improving the configuration efficiency and success rate of the target application. Of course, when setting the environmental constraint information, it is also necessary to comprehensively consider the actual conditions of the second device, and to avoid the situation where the setting of the environmental constraint information is too high, resulting in the second device being unable to complete the environmental initialization process normally.

[0201] It should be noted that in the embodiment of the present application, the environmental constraint information contained in the configuration information is mainly for setting constraints on environmental factors on the second device that can be adjusted or changed through program instructions. For certain environmental factors on the second device that cannot be adjusted or changed through program instructions, such as hardware model configuration, number of network interfaces, etc., environmental initialization processing can be achieved through offline optimization and debugging.

[0202] Specifically, in a possible implementation, the environmental constraint information includes memory constraint information, and the memory constraint information is used to calibrate a preset memory threshold; detecting environmental status information of the second device; generating a third instruction according to the environmental constraint information and the environmental status information; and sending the third instruction to the second device so that the second device performs environmental initialization processing after receiving the third instruction, including:

[0203] Detecting available memory of the second device;

[0204] If the available memory is less than or equal to the memory threshold, generating a fourth instruction;

[0205] A fourth instruction is sent to the second device, so that the second device performs a memory cleaning operation after receiving the fourth instruction.

[0206] As mentioned above, the environmental constraint information can be used to set the constraints related to the hardware device on the second device. Exemplarily, in an embodiment of the present application, an implementation scheme is provided for setting the constraints of the memory resources on the second device through environmental constraint information. Specifically, the environmental constraint information may include memory constraint information, which can be used to calibrate the preset memory threshold. The memory threshold can be used to limit the lower limit of the available memory provided by the second device, to avoid crashes, freezes and other problems when the target application is running on the second device as much as possible, and to improve the performance and stability of the target application.

[0207] In an embodiment of the present application, when the environment initialization processing of the memory resource on the second device side is implemented based on the memory constraint information, the first device can detect the available memory of the second device. For example, the first device can use the SNMP protocol, the SSH protocol, the WMI or a specific application to detect the available memory of the second device, and the present application does not limit this. Then, the available memory can be compared with the memory threshold marked by the memory constraint information. If the available memory is greater than the memory threshold, it means that the available memory provided by the second device is relatively abundant, and there is no need to perform a memory cleanup operation; relatively, if the available memory is less than or equal to the memory threshold, it means that the available memory provided by the second device is relatively small. At this time, an instruction for instructing the second device to perform a memory cleanup operation can be generated. In an embodiment of the present application, it is recorded as a fourth instruction, and the fourth instruction belongs to a type of the third instruction. Then, the fourth instruction can be sent to the second device for execution, so that the second device performs a memory cleanup operation, for example, the second device can release some unused memory resources, or close some unnecessary processes to increase the amount of available memory resources.

[0208] Of course, it should be noted that in the embodiments of the present application, the specific application of the memory cleaning operation on the second device side is not limited to the implementation scheme described in the above embodiments. For example, in some embodiments, in order to maximize the performance of the second device running the target application, the occupation of memory resources by other processes on the second device can be limited by environmental constraint information, such as setting to close all other processes that are not dependent on the operation of the target application, and the present application does not limit this.

[0209] Specifically, in a possible implementation, the environmental constraint information includes application constraint information, and the application constraint information includes first application information of a plurality of blacklisted application programs; detecting environmental status information of the second device; generating a third instruction according to the environmental constraint information and the environmental status information; and sending the third instruction to the second device so that the second device performs environmental initialization processing after receiving the third instruction, including:

[0210] Acquire second application information of each application installed on the second device;

[0211] Compare the first application information with the second application information to determine whether there is an illegal application matching the blacklisted application on the second device;

[0212] If there is an illegal application matching the blacklisted application on the second device, generating a fifth instruction;

[0213] A fifth instruction is sent to the second device, so that the second device uninstalls the illegal application after receiving the fifth instruction.

[0214] As mentioned above, the environmental constraint information can also be used to set constraints related to the software program on the second device. Exemplarily, in an embodiment of the present application, an implementation scheme for setting constraints for the software program on the second device through environmental constraint information is provided. Specifically, the environmental constraint information may include application constraint information, which may include some information related to blacklisted applications. Here, the information related to the blacklisted applications is recorded as the first application information.

[0215] In the embodiment of the present application, the blacklist application is used to characterize the software program that may affect the normal operation of the target application. For example, in some embodiments, the blacklist application may include an application that affects the operating stability of the target application. For example, some accelerators, network download tools, etc. may affect the system performance, or occupy too many system resources, causing the target application to fail to operate normally or crash. In some embodiments, the blacklist application may include an application that affects the fairness of the target application. For example, some plug-ins may provide cheating functions for the target application, which affects the fairness of the event and the viewing experience of the audience in the application scenario of e-sports activities. In some embodiments, the blacklist application may include applications with higher security risks, such as vulnerabilities, easy to be attacked, etc. If these applications are abused by malicious intruders, the target application may be unstable or invaded. In some embodiments, the blacklist application may include applications such as adware or malware, which may be installed into the system without knowing it, run in the background, and occupy memory resources. Adware may pop up ads on the screen, affecting the normal operation of the target application; malware may steal sensitive information, resulting in the risk of data leakage in the target application. Of course, in the embodiment of the present application, the specific list of blacklist applications can be flexibly set according to demand, and this application is not limited to this.

[0216] In an embodiment of the present application, when implementing the environment initialization processing of the software program on the second device side based on the application constraint information, the first device can detect the information related to each application installed on the second device, and here, the information related to the application installed on the second device is recorded as the second application information. The aforementioned first application information is information related to the blacklist application, and the types of information involved in the first application information and the second application information can be various. For example, in some embodiments, the first application information and the second application information can include identification information of the application, such as name information or icon information. Among them, the name information refers to the name of the application, and the icon information is a landmark image of the application, which can be displayed on the electronic device where the application is installed. Generally speaking, different applications correspond to different name information and icon information, and based on the name information and icon information, each application can be directly and conveniently distinguished. In some embodiments, the first application information and the second application information can include resource information of the application, such as file size information, installation path information or release information. Among them, the file size information can help identify the size of the disk space occupied by the application, and the installation path information can help determine whether the application occupies a more important disk space. These information can assist in determining the impact of the application on the operation of the target application; the release information can determine whether the release channel of the application and the developer are formal. Of course, the actual content of the first application information and the second application information may include but is not limited to any one of the above information, and this application does not limit its specific content.

[0217] In the embodiment of the present application, after obtaining the first application information and the second application information, the first application information and the second application information can be compared to determine whether there is an application matching the blacklist application on the second device. Here, the application matching the blacklist application is recorded as an illegal application. It can be understood that if it is found that the second application information and the first application information of an application installed on the second device are relatively similar, it means that the application is likely to be an illegal application; relatively, if the second application information and the first application information of all applications installed on the second device are quite different, it can be considered that there is no illegal application on the second device. If it is found that there is an illegal application on the second device, an instruction for instructing the second device to uninstall the illegal application can be generated. In the embodiment of the present application, it is recorded as the fifth instruction, and the fifth instruction is a type of the third instruction. Then, the fifth instruction can be sent to the second device for execution, so that the second device uninstalls the illegal application, reduces the impact of other applications on the target application, and improves the operating stability of the target application as much as possible.

[0218] It should be noted that in the embodiment of the present application, when comparing the first application information and the second application information, it is necessary to select application information of the same type for comparison, such as the name information of the blacklist application as the first application information, and the name information of the application installed on the second device as the second application information. In addition, one type of application information can be selected for comparison, or multiple types of application information can be selected for comparison to improve the accuracy of the comparison result.

[0219] In particular, it should be pointed out that in the embodiment of the present application, when multiple types of application information are selected for comparison, if the application installed by the second device and the blacklist application have some types of application information that are similar and some types of application information that are different, the result determined to be similar can be recorded as a value of 1, and the result determined to be different can be recorded as a value of 0, and then the comparison result is weighted according to the type of application information, so as to determine the final result. Exemplarily, taking the five types of application information including name information, icon information, file size information, installation path information and release information as an example, a corresponding weight reference value can be assigned to each type of application information in advance. It can be understood that, relatively speaking, name information and icon information are easier to achieve accurate matching of applications than file size information, installation path information and release information, and the credibility is relatively higher. Therefore, a higher weight reference value can be assigned to the name information and icon information. Of course, these weight reference values ​​can be adaptively adjusted according to the specific circumstances of the blacklist application, and this application does not make specific restrictions on this. When weighting the comparison results of multiple types of application information to determine the final result, a comparison threshold can be set. If the weighted normalization result is higher than the comparison threshold, it can be considered that the application installed on the second device matches the blacklist application and is an illegal application.

[0220] In an embodiment of the present application, when comparing the first application information and the second application information, the comparison can be achieved in a corresponding manner according to the specific data format of the application information. It can be understood that when the type of application information is name information, file size information, installation path information, and release information, its data format is generally a text format; when the type of application information is icon information, its data format is generally an image format. Specifically, in some embodiments, for application information in text format, regular expression matching, similarity matching, or matching tree model strategies can be used to achieve comparison; for application information in image format, similarity matching or optical flow method strategies can be used to achieve comparison. In the present application, there is no limitation on the specific strategies adopted.

[0221] Specifically, in a possible implementation, comparing the first application information with the second application information to determine whether there is an illegal application matching the blacklist application on the second device includes:

[0222] Calculate the similarity between the first application information and the second application information;

[0223] If the similarity between the first application information and the second application information is greater than or equal to a preset similarity threshold, it is determined that there is an illegal application matching the blacklisted application on the second device; or, if the similarity between the first application information and the second application information is both less than the similarity threshold, it is determined that there is no illegal application matching the blacklisted application on the second device.

[0224] In the embodiment of the present application, as mentioned above, for application information in text format and image format, a similarity matching strategy can be used for comparison. Similarity matching is a technology used to retrieve and match a given item, and its purpose is to find items similar to the given item in the data set.

[0225] For the application in the embodiment of the present application, the first application information is a given item, the first application information and the second application information can be text data or image data, and when the first application information and the second application information are compared by similarity matching, the similarity between the first application information and the second application information can be calculated. Here, the similarity is used to characterize the degree of similarity between the first application information and the second application information. The higher the similarity value, the more similar the first application information and the second application information are. Therefore, it can be understood that in the embodiment of the present application, a similarity threshold can be set accordingly, which is recorded as the similarity threshold. The calculated similarity is compared with the similarity threshold. If the similarity between the first application information and the second application information is greater than or equal to the similarity threshold, it can be considered that the two match, and it can be further determined that there is an illegal application matching the blacklist application on the second device. If the similarity between the second application information corresponding to all applications installed on the second device and each first application information is less than the similarity threshold, it means that the first application information and the second application information do not match, and it can be determined that there is no illegal application matching the blacklist application on the second device.

[0226] Here, it should be noted that in the embodiments of the present application, there is no restriction on the numerical representation of similarity. For example, in some embodiments, a percentage can be used to characterize the size of the similarity, and 100% can be set as the maximum value of the similarity. When the similarity between the first application information and the second application information reaches 100%, it means that the two are completely consistent. The similarity threshold can be set to 80%. When the similarity between the first application information and the second application information is greater than or 80%, it can be determined that the two match. Of course, the embodiment of the present application also does not limit the size of the similarity threshold, and it can be flexibly set according to actual needs.

[0227] Generally speaking, commonly used similarity algorithms include cosine similarity algorithm, Jaccard similarity algorithm, Hamming distance algorithm, etc. In the embodiments of the present application, there is no limitation on the specific type of algorithm used.

[0228] Exemplarily, in a possible implementation, calculating the similarity between the first application information and the second application information includes:

[0229] Extracting a first feature vector corresponding to the first application information and a second feature vector corresponding to the second application information;

[0230] determining a first length of the first eigenvector and a second length of the second eigenvector;

[0231] Obtaining a first value according to a product of the first length and the second length, and obtaining a second value according to an inner product of the first eigenvector and the second eigenvector;

[0232] The similarity is obtained according to the quotient of the second value and the first value.

[0233] Specifically, in an embodiment of the present application, the similarity between the first application information and the second application information can be determined by a cosine similarity algorithm. First, through a feature extraction algorithm, feature data of the first application information and feature data of the second application information are extracted, where the feature data of both can be vector data, the first application information corresponds to a first feature vector, and the second application information corresponds to a second feature vector. Then, the vector length of the first feature vector, recorded as the first length, and the length of the second feature vector, recorded as the second length, can be determined. Next, the product of the first length and the second length is calculated as the first numerical value, and the inner product of the first feature vector and the second feature vector is calculated as the second numerical value, and then the quotient of the first numerical value and the second numerical value is calculated as the similarity between the first feature vector and the second feature vector, that is, the similarity between the first application information and the second application information.

[0234] It should be noted that, in the embodiment of the present application, for the feature extraction of the first application information and the second application information, the corresponding processing model can be selected according to the data format of the application information. Exemplarily, if the first application information and the second application information are text data, a sequence to sequence (i.e., Seq2seq model) model can be used to implement the feature extraction task. The sequence to sequence model is one of the more commonly used models in sequence tasks, and it is good at processing a series of data with continuous relationships such as voice data, text data, and video data. Specifically, the model framework of the sequence to sequence model generally includes two parts, an encoder part and a decoder part. In the embodiment of the present application, the encoder part can be used to implement the extraction of feature data. The encoder in the sequence to sequence model can be implemented using a recurrent neural network (RNN), such as the commonly used long short-term memory network (LSTM). For example, if the first application information and the second application information are image data, models such as Scale-Invariant Feature Transform (SIFT) and Convolutional Neural Networks (CNN) can be used to implement feature extraction tasks. Of course, it is understandable that the types of models for processing feature extraction tasks can be flexibly adjusted as needed, and this application does not limit this.

[0235] Specifically, in a possible implementation, comparing the first application information with the second application information to determine whether there is an illegal application matching the blacklist application on the second device includes:

[0236] According to the first application information, construct a matching tree model based on an automaton;

[0237] Input characters in the second application information into a matching tree model for searching to determine whether there is first application information that matches the second application information;

[0238] If there is first application information matching the second application information, it is determined that there is an illegal application matching the blacklist application on the second device; or, if there is no first application information matching the second application information, it is determined that there is no illegal application matching the blacklist application on the second device.

[0239] As mentioned above, for application information in text format, the strategy of matching tree model can be used for comparison. In the embodiment of the present application, a matching tree model based on automaton can be constructed. Here, AC automaton (Aho-Corasick automaton) can be selected to build a matching tree model. The matching tree model based on AC automaton is an efficient string matching algorithm, which utilizes the ideas of dictionary tree (Trie tree) and finite state automaton to construct multiple pattern strings into a matching tree, thereby realizing efficient matching of multi-pattern strings in text.

[0240] When the application information is compared through the matching tree model, first, a matching tree can be constructed based on all the first application information. The matching tree here is a tree containing multiple nodes, each node represents a character in the first application information, and the path from the root node to the leaf node is a pattern string (first application information); then, the matching tree can be transformed, and all non-root nodes can be marked as ordinary nodes, repeated nodes or end nodes, where repeated nodes indicate that the node appears multiple times in a certain pattern string, and end nodes indicate that the node is the end node of a certain pattern string. Next, the transformed matching tree is constructed into a finite state automaton (FSM), namely, an AC automaton, and its construction process mainly includes the construction of state transfer and failure pointer. State transfer refers to jumping to the next state according to the current matching character and the current state in the process of matching the text string; the failure pointer refers to jumping to a new state to continue matching when the match cannot be made in the current state.

[0241] After the automaton-based matching tree model is constructed, the characters in the second application information can be input into the matching tree model for searching. Specifically, in an embodiment of the present application, the second application information can be used as a text string, and each character can be searched in the matching tree in sequence from left to right. Whenever a character is matched, the matching tree will transfer the state until the match is completed or the match cannot be made. If a path from the root node to a leaf node is traversed on the matching tree, it means that the first application information represented by the path matches the second application information, that is, the first application information matching the second application information is found during the matching process. At this point, it means that there is an illegal application matching the blacklist application on the second device; on the contrary, if the first application information matching any of the second application information is not found, it means that there is no illegal application matching the blacklist application on the second device.

[0242] In the embodiment of the present application, there may be multiple implementation methods for the first device to generate a first instruction according to the target version information and the resource address information, and for the second device to receive the first instruction sent by the first device and install the target application corresponding to the target version information. This is introduced and explained in detail below.

[0243] Exemplarily, in a possible implementation, sending a first instruction to a second device according to the target version information and the resource address information so that the second device installs a target application corresponding to the target version information on the second device after receiving the first instruction includes:

[0244] Detecting whether the target application is installed on the second device;

[0245] If the target application is not installed on the second device, a first resource acquisition request is sent to the background server of the target application according to the target version information and the resource address information, a program resource package corresponding to the target version information sent by the background server is received, a first instruction including the program resource package and program installation instructions is generated, and the first instruction is sent to the second device so that the second device installs the program resource package on the second device after receiving the first instruction; or, if the target application is not installed on the second device, a first instruction including the target version information, the resource address information and the program installation instructions is generated, and the first instruction is sent to the second device so that the second device sends a second resource acquisition request to the background server of the target application after receiving the first instruction, and receives and installs the program resource package corresponding to the target version information.

[0246] In the embodiments of the present application, there may be different situations where the target application is installed on the second device or not. Therefore, when installing the target application on the second device, first, it is possible to detect whether the target application is installed on the second device. This process can be performed by obtaining the second application information of each application installed on the second device, and comparing the second application information with the application information corresponding to the target application. The specific implementation process is similar to the implementation process of the aforementioned judgment of the blacklist application, and will not be repeated here. If it is found that the target application is not installed on the second device, the installation process of the target application can be directly carried out.

[0247] Specifically, refer to Figure 4 , Figure 4 A schematic diagram of a process of directly installing a target application on a second device provided in an embodiment of the present application is shown. In the embodiment of the present application, when installing the target application on the second device 120, the first device 110 can determine the network address of the background server 140 corresponding to the target application according to the resource address information query, and then send a request for obtaining a program resource package to the background server 140 according to the target version information, which is recorded as a first resource acquisition request, and the first resource acquisition request is sent by the first device 110 for obtaining a program resource package corresponding to the target version information.

[0248] In the embodiment of the present application, there is no limitation on the protocol type, data format and content adopted by the first resource acquisition request. Exemplarily, the protocol type adopted by the first resource acquisition request may be any type of HTTP (HyperText Transfer Protocol), SMTP (Simple Mail Transfer Protocol), FTP (File Transfer Protocol); the content of the first resource acquisition request may include but is not limited to information such as request header, request body, request parameters and request time. Moreover, it can be understood that in the embodiment of the present application, the protocol type, data format and content adopted by the above-mentioned first resource acquisition request are also applicable to other resource acquisition requests. Each resource acquisition request appearing in the subsequent embodiments can be implemented with reference to the first resource acquisition request, and the present application will not elaborate on it.

[0249] After receiving the first resource acquisition request, the backend server 140 may return a program resource package corresponding to the target version information to the first device 110. After receiving the program resource package, the first device 110 may generate a first instruction including the program resource package and the program installation instruction, and then the first device 110 sends the first instruction including the program resource package and the program installation instruction to the second device 120. After receiving the first instruction, the second device 120 may parse the program resource package and the program installation instruction, so as to use the program resource package to perform the installation task of the target application according to the program installation instruction.

[0250] Reference Figure 5 , Figure 5 Another flow chart of directly installing a target application on a second device provided in an embodiment of the present application is shown. In an embodiment of the present application, when installing a target application on a second device 120, the first device 110 can also directly generate a first instruction including target version information, resource address information and program installation instructions, and then the first device 110 sends the first instruction including target version information, resource address information and program installation instructions to the second device 120. After receiving the first instruction, the second device 120 can parse and obtain the target version information, resource address information and program installation instructions, and can query and determine the network address of the background server 140 corresponding to the target application according to the resource address information, and then can send a request for obtaining a program resource package to the background server 140 according to the target version information, which is recorded as a second resource acquisition request here, and the second resource acquisition request is sent by the second device 120 for obtaining a program resource package corresponding to the target version information.

[0251] After receiving the second resource acquisition request, the backend server 140 may return a program resource package corresponding to the target version information to the second device 120. After receiving the program resource package, the second device 120 may use the program resource package to perform the installation task of the target application according to the program installation instruction.

[0252] Exemplarily, in a possible implementation, sending a first instruction to a second device according to the target version information and the resource address information so that the second device installs a target application corresponding to the target version information on the second device after receiving the first instruction, further comprising:

[0253] If the target application has been installed on the second device, detecting first version information of the target application currently installed on the second device;

[0254] If the first version information is inconsistent with the target version information, sending a sixth instruction to the second device, so that the second device uninstalls the currently installed target application after receiving the sixth instruction;

[0255] Send a first resource acquisition request to the background server of the target application according to the target version information and the resource address information, receive a program resource package corresponding to the target version information sent by the background server, generate a first instruction including the program resource package and program installation instructions, send the first instruction to the second device so that the second device installs the program resource package on the second device after receiving the first instruction; or generate a first instruction including the target version information, the resource address information and the program installation instructions, send the first instruction to the second device so that the second device sends a second resource acquisition request to the background server of the target application after receiving the first instruction, and receives and installs the program resource package corresponding to the target version information.

[0256] In an embodiment of the present application, if it is found that the target application has been installed on the second device, it is necessary to further determine whether the currently installed target application is the target application corresponding to the target version information. At this time, the first version information of the target application currently installed on the second device can be detected, and the first version information and the target version information can be compared. If the two are consistent, it means that the target application corresponding to the target version information has been installed on the second device, and the installation process can be skipped to execute the subsequent login process. On the contrary, if the first version information and the target version information are inconsistent, it means that although the second device has installed the target application, the version of the target application does not meet the requirements. Therefore, it is necessary to change the version of the installed target application at this time.

[0257] In the embodiment of the present application, there are two implementation schemes for version changes of the target application: reinstallation and differential update.

[0258] Specifically, refer to Figure 6 , Figure 6 A schematic diagram of a process of reinstalling a target application on a second device provided in an embodiment of the present application is shown. In an embodiment of the present application, when reinstalling a target application on a second device 120, first, the first device 110 may generate an instruction for instructing the second device 120 to uninstall the currently installed target application, which is recorded as the sixth instruction. The first device 110 may send the sixth instruction to the second device 120, and after the second device 120 receives the sixth instruction, it will uninstall the currently installed target application. Then, and Figure 4 Similar to the embodiment shown, the first device 110 can determine the network address of the backend server 140 corresponding to the target application according to the resource address information query, send a first resource acquisition request to the backend server 140, and obtain a program resource package corresponding to the target version information. Then, the first device 110 can generate a first instruction including a program resource package and a program installation instruction, and send the first instruction to the second device 120, so that the second device 120 executes the installation task of the target application corresponding to the target version information. In this way, the version change of the target application on the second device 120 can be achieved to meet the predetermined application configuration requirements.

[0259] Reference Figure 7 , Figure 7 Another schematic diagram of a process of reinstalling a target application on a second device provided in an embodiment of the present application is shown. Figure 6 Similar to the embodiment shown, when reinstalling the target application on the second device 120, the first device 110 may first generate a sixth instruction to instruct the second device 120 to uninstall the currently installed target application through the sixth instruction. Figure 5 Similar to the illustrated embodiment, when installing the target application on the second device 120, the first device 110 may also directly generate a first instruction including the target version information, the resource address information and the program installation instruction, and then send the first instruction to the second device 120. After receiving the first instruction, the second device 120 may parse the target version information, the resource address information and the program installation instruction, and obtain the program resource package from the background server 140 based on the target version information and the resource address information based on the second resource acquisition request, so that the program resource package may be used to perform the installation task of the target application corresponding to the target version information according to the program installation instruction.

[0260] It can be understood that in an embodiment of the present application, when the first version information and the target version information are inconsistent, the first device 110 can uninstall the target application installed on the second device 120 by generating a sixth instruction, and then implement the installation task of the target application that meets the configuration requirements through the target version information.

[0261] It should be noted that although there are different versions of applications, generally speaking, when an application is updated, it is likely that only some new business functions are added on the basis of the original version, and the updated content is relatively small compared to the content of the entire program resource package. Therefore, most of the content of the corresponding program resource packages of different versions of applications is the same. Figure 6 and Figure 7 In the illustrated embodiment, reinstalling the target application requires downloading a complete program resource package, which may result in a relatively long configuration time and consume more network resources. Therefore, in some embodiments, a differential update method may also be used for version changes of the target application.

[0262] Exemplarily, in a possible implementation, sending a first instruction to a second device according to the target version information and the resource address information so that the second device installs a target application corresponding to the target version information on the second device after receiving the first instruction, further comprising:

[0263] If the program version corresponding to the first version information is earlier than the program version corresponding to the target version information, a third resource acquisition request is sent to the background server of the target application according to the target version information, the resource address information and the first version information, a differential resource package is received from the background server, a first instruction including the differential resource package and a program update instruction is generated, and the first instruction is sent to the second device, so that the second device installs the differential resource package on the second device after receiving the first instruction;

[0264] Alternatively, if the program version corresponding to the first version information is earlier than the program version corresponding to the target version information, a first instruction including the target version information, resource address information and program update instructions is generated, and the first instruction is sent to the second device, so that after receiving the first instruction, the second device sends a fourth resource acquisition request to the background server of the target application, and receives and installs the differential resource package sent by the background server.

[0265] In an embodiment of the present application, if the program version corresponding to the target version information to be updated is a later version, that is, the program version corresponding to the first version information is earlier than the program version corresponding to the target version information, a differential update method can be used to implement a version change of the target application.

[0266] Specifically, the background server of the target application can be configured with a differential update function. During each update, after obtaining a complete program resource package, it can be compared with the program resource packages corresponding to some previous program versions to determine the newly added content, extract the newly added content separately, form a differential resource package, and record the two version information corresponding to each differential resource package. Later, when the device with the target application installed changes the version of the target application, efficient and fast updates can be achieved based on the differential resource package.

[0267] Reference Figure 8 , Figure 8 A flow chart of a differential update of a target application on a second device provided in an embodiment of the present application is shown. In an embodiment of the present application, when updating a target application installed on a second device 120, the first device 110 can determine the network address of a backend server 140 corresponding to the target application based on the resource address information query, and then send a request for obtaining a differential resource package to the backend server 140 based on the target version information and the first version information, which is recorded as a third resource acquisition request here, and is sent by the first device 110 for obtaining a differential resource package corresponding to the target version information and the first version information.

[0268] After receiving the third resource acquisition request, the background server 140 can return a differential resource package corresponding to the target version information and the first version information to the first device 110, wherein the differential resource package includes the program version corresponding to the target version information and the content changed relative to the program version corresponding to the first version information. The first device 110 receives the differential resource package and can generate a first instruction including the differential resource package and the program update instruction. Then, the first device 110 sends the first instruction including the differential resource package and the program update instruction to the second device 120. After receiving the first instruction, the second device 120 can parse and obtain the differential resource package and the program update instruction, so that the differential resource package can be used according to the program update instruction to perform the installation task of the target application corresponding to the target version information. Specifically, on the side of the second device 120, the differential resource package and the program resource package corresponding to the currently installed target application can be merged to obtain the program resource package corresponding to the target version information. In this way, the version change of the target application on the second device 120 can be achieved to meet the predetermined application configuration requirements.

[0269] Reference Fig. 9 , Fig. 9Another flow chart of differentially updating a target application on a second device provided in an embodiment of the present application is shown. In an embodiment of the present application, when updating a target application installed on a second device 120, the first device 110 can also directly generate a first instruction including target version information, resource address information and program update instructions, and then the first device 110 sends the first instruction including target version information, resource address information and program update instructions to the second device 120. After receiving the first instruction, the second device 120 can parse and obtain the target version information, resource address information and program update instructions, and can query and determine the network address of the background server 140 corresponding to the target application according to the resource address information, and then can send a request for obtaining a differential resource package to the background server 140 according to the target version information and the first version information, which is recorded as a fourth resource acquisition request here, and the fourth resource acquisition request is sent by the second device 120 for obtaining a differential resource package corresponding to the target version information and the first version information.

[0270] After receiving the fourth resource acquisition request, the background server may return a differential resource package corresponding to the target version information and the first version information to the second device 120. After receiving the differential resource package, the second device 120 may merge the differential resource package with the program resource package corresponding to the currently installed target application according to the program update instruction to obtain the program resource package corresponding to the target version information, thereby implementing the installation task of the target application corresponding to the target version information.

[0271] In an embodiment of the present application, differential updates are used to implement the installation task of the target application corresponding to the target version information. It is only necessary to download differential resource packages with smaller file data volumes and merge them to obtain a complete program resource package, which can significantly improve the efficiency of the update.

[0272] In some cases, the target application can automatically enter the login interface after installation, so the first device can directly send a second instruction to the second device to enable the second device to log in to the target application. However, some applications may not provide a function of self-starting after installation. Therefore, in the embodiment of the present application, the target application on the second device side can also be started by the first device, thereby realizing the subsequent login process.

[0273] Specifically, in a possible implementation, before the step of sending a second instruction to the second device according to the account information so that the second device logs in to the target application after receiving the second instruction, the configuration method of the application provided in the embodiment of the present application further includes:

[0274] Sending a seventh instruction to the second device, so that the second device starts the target application and takes a screenshot after receiving the seventh instruction;

[0275] Obtaining screenshot data of the second device;

[0276] Performing image analysis on the screenshot data to determine the running state of the target application on the second device;

[0277] If the target application is in the announcement page display state, an eighth instruction is sent to the second device, so that the second device closes the announcement page displayed by the target application after receiving the eighth instruction.

[0278] In an embodiment of the present application, the first device may generate an instruction for instructing the second device to start the target application and take a screenshot, which is recorded as the seventh instruction. Then, the first device may send the seventh instruction to the second device. After the second device takes a screenshot, the screenshot data obtained may be transmitted to the first device, so that the first device may determine the state of the target application currently started on the second device. Here, the screenshot data may be subjected to image analysis and processing by a machine learning model in the field of artificial intelligence to determine the operating state of the target application on the second device. Exemplarily, for example, an image classification model may be used to perform image classification on the screenshot data to obtain the corresponding operating state classification result. In an embodiment of the present application, there is no limitation on the specific structure and training algorithm of the image classification model used, and it may be implemented with reference to the relevant technology.

[0279] Generally speaking, after the application is started, it will jump to the login interface. Therefore, if the running state of the target application is determined to be a waiting-to-login state, the first device can send a second instruction to the second device so that the second device logs in to the target application. In some cases, the target application may still be in the announcement page display state, and it is necessary to click to close the announcement before jumping to the login interface. In an embodiment of the present application, if the running state of the target application is determined to be an announcement page display state, the first device can generate an instruction for instructing the second device to close the announcement page displayed by the target application, which is recorded as the eighth instruction. Then, the first device can send the eighth instruction to the second device. After receiving the eighth instruction, the second device can close the displayed announcement page, thereby jumping to the login interface, facilitating the execution of the second instruction to realize the login of the target application.

[0280] Specifically, in a possible implementation, sending a second instruction to the second device according to the account information so that the second device logs in to the target application after receiving the second instruction includes:

[0281] Obtaining object identity information corresponding to each account information and number information corresponding to each second device;

[0282] Establishing an association relationship between the account information and the second device based on the object identity information and the number information;

[0283] A second instruction including the account information and the login instruction is sent to a second device associated with the account information, so that the second device logs in to the target application using the account information after receiving the second instruction.

[0284] In the embodiment of the present application, when multiple second devices are logged into a target application, in some cases, there may be a need for the second device to correspond to the account information for logging in. For example, in the application scenario of e-sports activities, the second devices used by some players are determined in advance, and at this time, it is necessary to implement the target application account login of the corresponding player on the second device.

[0285] Specifically, in an embodiment of the present application, the object identity information corresponding to the account information and the number information corresponding to each second device can be obtained, wherein the object identity information can be used to uniquely identify the user corresponding to the account information, and the number information can be used to uniquely identify each second device. Since the second device to be used by the user corresponding to the account information is predetermined, the association relationship between the account information and the second device can be determined based on the object identity information and the number information of the second device, so that it is convenient to confirm which second device the account information is to be distributed to. When logging into the target application later, the first device can generate a second instruction containing the account information and the login instruction, and then send the second instruction to the second device that has an association relationship with the account information. After the second device receives the second instruction, it can execute the login instruction through the account information to log in to the target application. In this way, what is logged in on the second device is the account information of the user (player) determined in advance, which can improve the flexibility and practicality of configuring the target application on the second device.

[0286] It should be noted that in the embodiment of the present application, there is no restriction on the specific content of the object identity information of each object and the numbering information of the second device, which can be flexibly set as needed.

[0287] Reference Fig.10 In the embodiment of the present application, another configuration method of an application is also provided, and the configuration method of the application can be applied to Figure 1 In the second device 120 shown, there may be multiple second devices 120, and these second devices 120 are communicatively connected with the first device 110. By executing the configuration method of the application provided in the embodiment of the present application, the application configuration of the second device 120 can be realized.

[0288] Reference Fig.10The configuration method of the application provided in the embodiment of the present application specifically includes but is not limited to steps 1010 to 1030:

[0289] Step 1010: Receive a first instruction sent by a first device; wherein the first instruction is generated by the first device according to target version information of a target application and resource address information of the target application;

[0290] Step 1020: Install the target application corresponding to the target version information according to the first instruction;

[0291] Step 1030: Receive a second instruction sent by the first device, and log in to the target application; wherein the second instruction includes account information.

[0292] In the embodiment of the present application, for the second device, it can receive the first instruction sent by the first device, and the first instruction is generated by the first device according to the target version information of the target application and the resource address information of the target application. The specific generation method can be implemented with reference to the description in the aforementioned embodiment, and the present application will not repeat it here. After receiving the first instruction, the second device can install the target application corresponding to the target version information according to the first instruction, and the second device can also receive the second instruction sent by the first device, and the second instruction includes account information. Based on the second instruction, the target application can be logged in.

[0293] It is understandable that the configuration method of the application provided in the embodiment of the present application can realize the automatic configuration of the application through the first device, which is suitable for batches of second devices, and there is no need to configure multiple second devices one by one, which can reduce labor costs, reduce the problem of irregular configuration, improve the efficiency and accuracy of application configuration, and help improve the running stability of the application. In addition, in the embodiment of the present application, the second device only needs to receive and execute the instructions sent by the first device, and there is no need to install a computer program related to the configuration method for executing the application on the second device side. The execution of the method does not require additional hardware resources of the second device, and has basically no effect on the running performance of the second device, and has good practicality.

[0294] Reference Fig.11 In the embodiment of the present application, another configuration method of an application is also provided, and the configuration method of the application can be applied to Figure 1 In the first device 110 and the second device 120 shown, the first device 110 and the second device 120 are communicatively connected, and the application configuration of the second device 120 can be implemented by interactively executing the configuration method of the application provided in the embodiment of the present application.

[0295] Reference Fig.11The configuration method of the application provided in the embodiment of the present application specifically includes but is not limited to steps 1110 to 1150:

[0296] Step 1110: The first device obtains configuration information; wherein the configuration information includes target version information of the target application, resource address information of the target application, and at least one account information;

[0297] Step 1120: The first device sends a first instruction to the second device according to the target version information and the resource address information;

[0298] Step 1130: The second device receives the first instruction, and installs the target application corresponding to the target version information according to the first instruction;

[0299] Step 1140: The first device sends a second instruction to the second device according to the account information;

[0300] Step 1150: The second device receives the second instruction and logs in to the target application.

[0301] It is understandable that if Figure 2 The configuration method embodiment of the application shown or as Fig.10 The contents of the configuration method embodiment of the application shown in FIG. 1 are applicable to the configuration method embodiment of this application. The functions specifically implemented by the configuration method embodiment of this application are similar to those in FIG. Figure 2 The configuration method embodiment of the application shown or as Fig.10 The configuration method embodiment of the application shown in FIG. 1 is the same as that of FIG. 1 , and the beneficial effects achieved are the same as those of FIG. Figure 2 The configuration method embodiment of the application shown or as Fig.10 The beneficial effects achieved by the embodiment of the configuration method of the application shown are also the same.

[0302] Below, in conjunction with the specific application implementation process, the configuration method of the application provided in this application is introduced and explained in detail.

[0303] The technical solution in the embodiment of the present application can be applied to the automatic configuration of the application program in the e-sports activity. Fig.12 , Fig.12 This is a schematic diagram of an automated management system for e-sports equipment provided in an embodiment of the present application. The automated management system for e-sports equipment includes an e-sports device (i.e., the second device), a USB interface expander, and a referee terminal device (i.e., the first device). The number of e-sports devices can be one or more, and can be used by players participating in e-sports activities. Fig.12The e-sports devices shown in the figure include e-sports device 1, e-sports device 2, e-sports device 3, ... e-sports device N, where N is a positive integer. In the embodiment of the present application, there is no restriction on the specific number and device type of the e-sports devices. For example, these e-sports devices can be smart phones.

[0304] Fig.12 In the embodiment, the number of referee-end devices is one. In some embodiments, the automated management system of the e-sports equipment may also be provided with a plurality of referee-end devices, and each referee-end device may be used to implement automated configuration of a group (may include one or more) of application programs of e-sports equipment. Similarly, in the embodiment of the present application, there is no restriction on the specific number of referee-end devices, the number of e-sports equipment managed by each referee-end device, and the device type of the referee-end device. Exemplarily, the referee-end device may be a PC (Personal Computer). In the referee-end device, an automated management tool for e-sports equipment (i.e. Figure 1 The computer program 130 in the embodiment of the present application can be used to execute the configuration method of the application provided in the embodiment of the present application.

[0305] In the embodiment of the present application, each e-sports device can be connected to the referee-side device via a USB interface expander. The USB interface expander can expand one USB interface into two or more, thereby supporting multiple e-sports devices (or one) to be connected to one referee-side device at the same time. In the embodiment of the present application, there is no restriction on the number of USB interface expanders used, the number of USB interfaces provided by each USB interface expander, and the number of e-sports devices connected to each USB interface expander, and it can be flexibly set as needed.

[0306] In the embodiment of the present application, the referee end device can transmit instructions to each e-sports device based on the communication connection relationship, thereby completing the application configuration task on the e-sports device. Exemplarily, in some embodiments, the referee end device can issue and control instructions to the e-sports device through the Android debug bridge (adb). The Android debug bridge is a general debugging tool provided by the Android system, which can be applied to various Android devices. The following takes the e-sports device as an Android device as an example to explain the specific implementation principle and process.

[0307] Reference Fig.13 , Fig.13A schematic diagram of the principle of an Android debugging bridge provided in an embodiment of the present application. For the Android debugging bridge used in the embodiment of the present application, it can include three parts, namely, an adb client (Android debugging bridge client) deployed on the referee-side device, an adb server (Android debugging bridge server) and an adb adbd (adb daemon, Android debugging bridge daemon process) deployed on the e-sports device. Among them, TCP (Transmission Control Protocol) can be used to communicate between the client and the server of the Android debugging bridge, and the server and the daemon process can communicate based on the USB interface between the referee-side device and the e-sports device. Adb client is essentially a Shell script that can be used to send instructions to adb server. Specifically, in an embodiment of the present application, when sending instructions, it will first detect whether the adb server is started on the referee-side device. If not, an adb server will be automatically started, and then the instructions will be sent to the adb server via the TCP protocol. The adb server runs in the background of the referee device. Its function is to detect when the USB interface of the referee device is connected or removed from the gaming device. The adb server maintains a linked list of connected gaming devices, and is always doing looping and waiting tasks, receiving instructions from the adb client, and coordinating the communication between the adb client and adb adbd. adb adbd runs as a background process on the gaming device. Its function is to connect to the adb server and perform corresponding operations according to the instructions sent by the adb server.

[0308] For example, taking the example of the referee-side device obtaining the application list installed on the e-sports device side through the Android Debug Bridge tool, the referee-side device can issue the adb shell pm list packages command, which reaches the adbserver through the TCP protocol, and the adb server sends the command to the adb adbd of the e-sports device through the USB interface. adb adbd parses the command, and then notifies the e-sports device to execute the task of querying the application list. After obtaining the application list, adb adbd replies the relevant data to the adb server through the USB interface, and the adb server replies the data to the adb client through the TCP protocol. In this way, the referee-side device obtains the application list of the e-sports device.

[0309] In the present application, refer to Fig.14 , Fig.14 A schematic diagram of the workflow of an e-sports equipment automation management tool provided in an embodiment of the present application is shown.

[0310] Specifically, in the embodiment of the present application, the configuration task can be started through the e-sports equipment automation management tool, and the game code information (i.e., task code information) corresponding to the e-sports activity can be input into it, so as to enter the corresponding game competition management process. In the embodiment of the present application, the e-sports equipment automation management tool can obtain the corresponding configuration information from the database storing the configuration information through an HTTPS request based on the association between the game code information and the configuration information. Exemplarily, the configuration information here may include but is not limited to the download address (i.e., resource address information) of the game game installation package (referred to as the game package), the version number of the game package (i.e., the target version information), the game login account and password (i.e., account information), blacklist application and other information. In the embodiment of the present application, the game application used for the e-sports activity competition is the target application. For the account information in the configuration information, its number can be determined according to the needs of the competition or the number of e-sports devices corresponding to each configuration task. Specifically, it can be one or more, and the present application does not limit this.

[0311] After obtaining the configuration information, the e-sports equipment automation management tool can send a detection instruction through the referee-side device, such as the aforementioned adb shell pm list packages instruction, to detect the application list installed on the e-sports device, and determine whether there are any illegal applications that match the blacklisted applications. If so, generate an adb uninstallpackagename instruction (i.e., the fifth instruction) and send the instruction to the e-sports device to uninstall the corresponding illegal applications. Next, the e-sports equipment automation management tool can detect the application list running on the e-sports device through the adb shell ps instruction. If it is found that there are applications that are not related to the game running, the corresponding applications can be closed through the adb shell am force-stoppackagename instruction, and the memory of the e-sports device can be cleaned up through the adb shell pm clear packagename instruction (i.e., the fourth instruction) to reduce memory usage.

[0312] In the embodiment of the present application, after completing the environment initialization of the e-sports equipment, the e-sports equipment automation management tool can determine whether the e-sports equipment has installed the game package through the adb shell pm list packages packagename command, that is, detect whether the target application is installed. If it is not installed, the game package corresponding to the version number of the specified game package can be directly downloaded and installed according to the game package address in the configuration information; if the game package is installed, the game version number (i.e., the first version information) of the installed game package can be obtained through the adbshell command and the dumpsys package packagename|grep "version" command, and it is compared with the version number of the game package in the configuration information (i.e., the target version information). If the installed game version number (i.e., the first version information) is inconsistent with the version number of the game package in the configuration information (i.e., the target version information), the installed game package is uninstalled through the adb uninstall packagename command (i.e., the sixth command), and then the corresponding game package in the configuration information is installed. In the embodiment of the present application, the version update of the game package can also be implemented by differential update, and its specific implementation process can be implemented with reference to the aforementioned embodiment, which is not repeated here.

[0313] In the embodiment of the present application, after the game package is installed, the e-sports equipment automation management tool can start the game through the adbshell am start packagename instruction (i.e., the seventh instruction), and start the real-time screenshot function of the screen of the e-sports equipment and the local image analysis function of the e-sports equipment automation management tool. Through the real-time screenshot function of the screen of the e-sports equipment, the screenshot data on the e-sports equipment can be obtained; the image analysis function of the e-sports equipment automation management tool is mainly used to analyze the various states of the game application. If the game application currently running on the e-sports device is in the announcement page display state, the announcement can be closed by simulating a click operation through the adb shell input tap position1 position2 instruction (i.e., the eighth instruction); if the game application currently running on the e-sports device is in the waiting login state, the login process can be called up by simulating a click operation through the adb instruction. Specifically, there may be different login process situations here.

[0314] Exemplarily, for example, in some embodiments, if the e-sports device has logged into the game application, the game application can automatically cache the account information that has been logged in. In this way, in multiple games, after logging in the account information when the game application is initially configured, the login can be completed directly based on the cache of the account information, without the need to use the account information to log in, which can improve the login efficiency. In some embodiments, the account information can be directly transmitted to the game application for verification without performing an input operation. Therefore, in the embodiment of the present application, after entering the login process, it can be determined whether the login needs to use the account information. If not, the adb command can be directly used to simulate the click operation to confirm the login and start the game; if the account information needs to be used, it can be determined whether the account information needs to be entered. If the account information needs to be entered (for example, if the screenshot data is an account input interface), the input operation can be simulated by the adb shell inputtext'string' command to complete the input of the account information, and then the adb command is simulated to simulate the click operation to confirm the login and start the game; relatively, if the account information does not need to be entered, the login verification can be achieved by transmitting the account information, and then the adb command is simulated to simulate the click operation to confirm the login and start the game.

[0315] Reference Fig.15 , Fig.15 A schematic diagram of an interface of a game application provided in an embodiment of the present application is shown. Fig.15 The type of game application shown in is Auto Chess, which is a challenging and interesting electronic game that has good competitive requirements in terms of strategy and operation and is suitable for e-sports activities. Fig.15 Shown in the figure is a login interface of an auto chess game application, in which game elements related to auto chess and a login operation area 1510 are included. In the login operation area 1510, there are an account name input box 1511, an account password input box 1512 and a login button 1514. The account name input box 1511 can be used to input the account name in the account information, that is, the object identifier; the account password input box 1512 can be used to input the account password in the account information, that is, the key information; clicking the login button 1514 can realize the account login of the auto chess application.

[0316] In the embodiment of the present application, the e-sports equipment automation management tool is used to Fig.15 When configuring the Auto Chess application shown in the figure, after the installation and startup of the Auto Chess application is completed, it is determined based on the image analysis function that the Auto Chess application is in a waiting state for login, that is, the Auto Chess application currently displays Fig.15 As shown (or Fig.15The login interface of the game (similar to the login interface of the game server) can be simulated by the adb shell input text'string' command to simulate the input operation, and enter the corresponding information in the account name input box 1511 and the account password input box 1512 to complete the input of the account information. Then, the e-sports equipment automation management tool can simulate the click operation of the login button 1514 to confirm the login through the adb command, and realize the automatic configuration of the auto chess application on the e-sports device. This process can be carried out simultaneously on multiple e-sports devices, which is convenient for carrying out e-sports activities smoothly and efficiently.

[0317] Reference Fig.15 In the embodiment of the present application, in the login operation area 1510, an account record option box 1513 may also be included. Clicking the account record option box 1513 may switch between recording account information or not recording account information. When switching to the state of recording account information, the account information currently used for login will be cached for use next time login; when switching to the state of not recording account information, the account information currently used for login will not be cached. Exemplarily, when in the state of recording account information, an identifier of "√" may be displayed in the account record option box 1513, and when in the state of not recording account information, no identifier may be displayed in the account record option box 1513. The present application does not limit this. In some embodiments, when using the e-sports equipment automation management tool to input account information for login, the adb command may also be used to simulate the click operation on the account record option box 1513, switch to the state of recording account information, and choose to record the account information currently used for login. In this way, when using e-sports equipment to play multiple games in an e-sports event, you only need to enter the account information when logging into the Auto Chess application for the first time. You can subsequently complete the login directly based on the cached account information, without having to use the account information to log in again, which can improve login efficiency.

[0318] Of course, it is understandable that Fig.15 The interface content of the game application and the type of the game application shown are only used to exemplify the configuration method of the application provided in the embodiment of the present application, and do not mean to limit the actual implementation of the present application. The configuration method of the application provided in the embodiment of the present application can also be applied to any type of game application such as MOBA game (multiplayer online competitive game), FPS game (first person shooter game), TPS game (third person shooter game), real-time strategy game, turn-based game, etc., and the present application does not limit this.

[0319] It should be noted that in the embodiments of the present application, the names of the various instructions are only used for illustrative purposes, and their specific names, contents, and meanings can be flexibly set and adjusted according to actual needs, and the present application does not impose any restrictions on this.

[0320] It can be understood that in the embodiments of the present application, the automatic configuration of applications in e-sports activities can be achieved through the automatic management tool for e-sports equipment. This is suitable for batches of e-sports equipment and does not require event operators to configure multiple second devices one by one. This can reduce labor costs, reduce the occurrence of irregular configurations, improve the efficiency and accuracy of application configuration, and help improve the operating stability of the application and the viewing experience of e-sports activities.

[0321] It should be noted that the technical solution provided by this application is not limited to implementation in the application scenario of e-sports. For example, the technical solution can also perform specified tasks in any application scenario such as corporate office, school teaching, smart home, etc., and this application does not impose any restrictions on this.

[0322] Reference Fig.16 In an embodiment of the present application, there is also provided an application configuration system, which is applied to a first device, the first device being used to communicate with at least one second device, and the system comprising:

[0323] The acquisition unit 1610 is used to acquire configuration information; wherein the configuration information includes target version information of the target application, resource address information of the target application, and at least one account information;

[0324] The installation unit 1620 is used to send a first instruction to the second device according to the target version information and the resource address information, so that the second device installs the target application corresponding to the target version information on the second device after receiving the first instruction;

[0325] The login unit 1630 is used to send a second instruction to the second device according to the account information, so that the second device logs in to the target application after receiving the second instruction.

[0326] Optionally, the acquisition unit is specifically used for:

[0327] Get the task code information corresponding to this configuration task;

[0328] According to the task code information, obtain the corresponding configuration information.

[0329] Optionally, the configuration information further includes environment constraint information corresponding to the target application program. The system further includes an initialization unit, which is specifically used to:

[0330] detecting environmental status information of a second device;

[0331] generating a third instruction according to the environmental constraint information and the environmental state information;

[0332] A third instruction is sent to the second device, so that the second device performs environment initialization processing after receiving the third instruction.

[0333] Optionally, the environmental constraint information includes memory constraint information, and the memory constraint information is used to calibrate a preset memory threshold; the initialization unit is specifically used to:

[0334] Detecting available memory of the second device;

[0335] If the available memory is less than or equal to the memory threshold, generating a fourth instruction;

[0336] A fourth instruction is sent to the second device, so that the second device performs a memory cleaning operation after receiving the fourth instruction.

[0337] Optionally, the environment constraint information includes application constraint information, and the application constraint information includes first application information of a plurality of blacklist application programs; and the initialization unit is specifically configured to:

[0338] Acquire second application information of each application installed on the second device;

[0339] Compare the first application information with the second application information to determine whether there is an illegal application matching the blacklisted application on the second device;

[0340] If there is an illegal application matching the blacklisted application on the second device, generating a fifth instruction;

[0341] A fifth instruction is sent to the second device, so that the second device uninstalls the illegal application after receiving the fifth instruction.

[0342] Optionally, the initialization unit is specifically used for:

[0343] Calculate the similarity between the first application information and the second application information;

[0344] If the similarity between the first application information and the second application information is greater than or equal to a preset similarity threshold, it is determined that there is an illegal application matching the blacklisted application on the second device; or, if the similarity between the first application information and the second application information is both less than the similarity threshold, it is determined that there is no illegal application matching the blacklisted application on the second device.

[0345] Optionally, the initialization unit is specifically used for:

[0346] Extracting a first feature vector corresponding to the first application information and a second feature vector corresponding to the second application information;

[0347] determining a first length of the first eigenvector and a second length of the second eigenvector;

[0348] Obtaining a first value according to a product of the first length and the second length, and obtaining a second value according to an inner product of the first eigenvector and the second eigenvector;

[0349] The similarity is obtained according to the quotient of the second value and the first value.

[0350] Optionally, the initialization unit is specifically used for:

[0351] According to the first application information, construct a matching tree model based on an automaton;

[0352] Input characters in the second application information into a matching tree model for searching to determine whether there is first application information that matches the second application information;

[0353] If there is first application information matching the second application information, it is determined that there is an illegal application matching the blacklist application on the second device; or, if there is no first application information matching the second application information, it is determined that there is no illegal application matching the blacklist application on the second device.

[0354] Optionally, the installation unit is specifically used for:

[0355] Detecting whether the target application is installed on the second device;

[0356] If the target application is not installed on the second device, a first resource acquisition request is sent to the background server of the target application according to the target version information and the resource address information, a program resource package corresponding to the target version information sent by the background server is received, a first instruction including the program resource package and program installation instructions is generated, and the first instruction is sent to the second device so that the second device installs the program resource package on the second device after receiving the first instruction; or, if the target application is not installed on the second device, a first instruction including the target version information, the resource address information and the program installation instructions is generated, and the first instruction is sent to the second device so that the second device sends a second resource acquisition request to the background server of the target application after receiving the first instruction, and receives and installs the program resource package corresponding to the target version information.

[0357] Optionally, the installation unit is specifically used for:

[0358] If the target application has been installed on the second device, detecting first version information of the target application currently installed on the second device;

[0359] If the first version information is inconsistent with the target version information, sending a sixth instruction to the second device, so that the second device uninstalls the currently installed target application after receiving the sixth instruction;

[0360] Send a first resource acquisition request to the background server of the target application according to the target version information and the resource address information, receive a program resource package corresponding to the target version information sent by the background server, generate a first instruction including the program resource package and program installation instructions, send the first instruction to the second device so that the second device installs the program resource package on the second device after receiving the first instruction; or generate a first instruction including the target version information, the resource address information and the program installation instructions, send the first instruction to the second device so that the second device sends a second resource acquisition request to the background server of the target application after receiving the first instruction, and receives and installs the program resource package corresponding to the target version information.

[0361] Optionally, the installation unit is specifically used for:

[0362] If the program version corresponding to the first version information is earlier than the program version corresponding to the target version information, a third resource acquisition request is sent to the background server of the target application according to the target version information, the resource address information and the first version information, a differential resource package is received from the background server, a first instruction including the differential resource package and a program update instruction is generated, and the first instruction is sent to the second device, so that the second device installs the differential resource package on the second device after receiving the first instruction;

[0363] Alternatively, if the program version corresponding to the first version information is earlier than the program version corresponding to the target version information, a first instruction including the target version information, resource address information and program update instructions is generated, and the first instruction is sent to the second device, so that after receiving the first instruction, the second device sends a fourth resource acquisition request to the background server of the target application, and receives and installs the differential resource package sent by the background server.

[0364] Optionally, the system further includes a processing unit, and the processing unit is specifically configured to:

[0365] Sending a seventh instruction to the second device, so that the second device starts the target application and takes a screenshot after receiving the seventh instruction;

[0366] Obtaining screenshot data of the second device;

[0367] Performing image analysis on the screenshot data to determine the running state of the target application on the second device;

[0368] If the target application is in the announcement page display state, an eighth instruction is sent to the second device, so that the second device closes the announcement page displayed by the target application after receiving the eighth instruction.

[0369] Optionally, the login unit is specifically used for:

[0370] Obtaining object identity information corresponding to each account information and number information corresponding to each second device;

[0371] Establishing an association relationship between the account information and the second device based on the object identity information and the number information;

[0372] A second instruction including the account information and the login instruction is sent to a second device associated with the account information, so that the second device logs in to the target application using the account information after receiving the second instruction.

[0373] It is understandable that if Figure 2 The contents of the configuration method embodiment of the application shown in the figure are applicable to the configuration system embodiment of the present application. The functions specifically implemented by the configuration system embodiment of the present application are similar to those in the embodiment shown in the figure. Figure 2 The configuration method embodiment of the application shown in FIG. 1 is the same as that of FIG. 1 , and the beneficial effects achieved are the same as those of FIG. Figure 2 The beneficial effects achieved by the embodiment of the configuration method of the application shown are also the same.

[0374] Reference Figure 1 In an embodiment of the present application, another application configuration system is also provided, the system includes a first device and at least one second device;

[0375] The first device is used for:

[0376] Acquire configuration information; wherein the configuration information includes target version information of the target application, resource address information of the target application, and at least one account information;

[0377] Sending a first instruction to the second device according to the target version information and the resource address information, and sending a second instruction to the second device according to the account information;

[0378] The second device is used to:

[0379] receiving a first instruction, and installing a target application corresponding to the target version information according to the first instruction;

[0380] A second instruction is received, and the target application is logged in.

[0381] It is understandable that if Figure 2 The configuration method embodiment of the application shown or as Fig.10 The contents of the configuration method embodiment of the application shown in the figure are applicable to the configuration system embodiment of the present application. The functions specifically implemented by the configuration system embodiment of the present application are similar to those in the embodiment shown in the figure. Figure 2 The configuration method embodiment of the application shown or as Fig.10 The configuration method embodiment of the application shown in FIG. 1 is the same as that of FIG. 1 , and the beneficial effects achieved are the same as those of FIG. Figure 2 The configuration method embodiment of the application shown or as Fig.10 The beneficial effects achieved by the embodiment of the configuration method of the application shown are also the same.

[0382] The present application also discloses an electronic device, including:

[0383] at least one processor;

[0384] at least one memory for storing at least one program;

[0385] When at least one program is executed by at least one processor, the at least one processor implements Figure 2 The configuration method embodiment of the application shown or as Fig.10 An embodiment of a method for configuring an application is shown.

[0386] It is understandable that if Figure 2 The configuration method embodiment of the application shown or as Fig.10 The contents of the configuration method of the application program shown in the embodiment are applicable to the electronic device embodiment, and the functions specifically implemented by the electronic device embodiment are similar to those in the embodiment shown in the embodiment. Figure 2 The configuration method embodiment of the application shown or as Fig.10 The configuration method embodiment of the application shown in FIG. 1 is the same as that of FIG. 1 , and the beneficial effects achieved are the same as those of FIG. Figure 2 The configuration method embodiment of the application shown or as Fig.10 The beneficial effects achieved by the embodiment of the configuration method of the application shown are also the same.

[0387] The electronic device of the embodiment of the present application may be a terminal device, a computer device or a server device.

[0388] For example, refer to Fig.17 , Fig.17 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Taking the electronic device as a terminal device as an example, Fig.17 In the embodiment, the terminal device 1700 may include an RF (Radio Frequency) circuit 1710, a memory 1720 including one or more computer-readable storage media, an input unit 1730, a display unit 1740, a sensor 1750, an audio circuit 1760, a short-range wireless transmission module 1770, a processor 1780 including one or more processing cores, and a power supply 1790. Those skilled in the art will appreciate that Fig.17 The device structure shown in the figure does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0389] The RF circuit 1710 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 1780 for processing; in addition, the data related to the uplink is sent to the base station. Generally, the RF circuit 1710 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a subject identity module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, etc. In addition, the RF circuit 1710 can also communicate with the network and other devices through wireless communication. Wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), etc.

[0390] The memory 1720 can be used to store software programs and modules (or units). The processor 1780 executes various functional applications and data processing by running the software programs and modules (or units) stored in the memory 1720. The memory 1720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function), etc.; the data storage area may store data created according to the use of the terminal device 1700 (such as audio data, a phone book), etc. In addition, the memory 1720 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 1720 may also include a memory controller to provide the processor 1780 and the input unit 1730 with access to the memory 1720. Although Fig.17 The RF circuit 1710 is shown, but it is understandable that it is not a necessary component of the terminal device 1700 and can be omitted as needed without changing the essence of the invention.

[0391] The input unit 1730 can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to object setting and function control. Specifically, the input unit 1730 may include a touch-sensitive surface 1731 and other input devices 1732. The touch-sensitive surface 1731, also known as a touch display screen or a touch pad, can collect touch operations of an object on or near it (such as operations of an object using a finger, a stylus or any other suitable object or accessory on or near the touch-sensitive surface 1731), and drive the corresponding connection device according to a pre-set program. Optionally, the touch-sensitive surface 1731 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch position of the object, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 1780, and can receive instructions sent by the processor 1780 and execute them. In addition, the touch-sensitive surface 1731 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 1731, the input unit 1730 may further include other input devices 1732. Specifically, the other input devices 1732 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.

[0392] The display unit 1740 can be used to display information input by an object or information provided to an object and to control various graphic object interfaces of the terminal device 1700. These graphic object interfaces can be composed of graphics, texts, icons, videos and any combination thereof. The display unit 1740 may include a display panel 1741. Optionally, the display panel 1741 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 1731 may be covered on the display panel 1741. When the touch-sensitive surface 1731 detects a touch operation on or near it, it is transmitted to the processor 1780 to determine the type of touch event. Subsequently, the processor 1780 provides a corresponding visual output on the display panel 1741 according to the type of touch event. Although in Fig.17 In the embodiment, the touch-sensitive surface 1731 and the display panel 1741 are implemented as two independent components to implement input and output functions, but in some embodiments, the touch-sensitive surface 1731 and the display panel 1741 can be integrated to implement input and output functions.

[0393] The terminal device 1700 may also include at least one sensor 1750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1741 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 1741 or the backlight when the terminal device 1700 is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that can also be configured in the terminal device 1700, they will not be repeated here.

[0394] The audio circuit 1760, the speaker 1761, and the microphone 1762 can provide an audio interface between the object and the terminal device 1700. The audio circuit 1760 can transmit the electrical signal converted from the received audio data to the speaker 1761, which is converted into a sound signal for output; on the other hand, the microphone 1762 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1760 and converted into audio data, and then the audio data is processed by the output processor 1780 and sent to another electronic device through the RF circuit 1710, or the audio data is output to the memory 1720 for further processing. The audio circuit 1760 may also include an earplug jack to provide communication between an external headset and the terminal device 1700.

[0395] The short-range wireless transmission module 1770 may be a WIFI (wireless fidelity) module, a Bluetooth module, an infrared module, etc. The terminal device 1700 may transmit information with wireless transmission modules provided on other devices through the short-range wireless transmission module 1770 .

[0396] The processor 1780 is the control center of the terminal device 1700. It uses various interfaces and lines to connect various parts of the entire device. By running or executing software programs or modules stored in the memory 1720, and calling data stored in the memory 1720, it executes various functions of the terminal device 1700 and processes data, thereby controlling the device as a whole. Optionally, the processor 1780 may include one or more processing cores; optionally, the processor 1780 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, object interface and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1780.

[0397] The terminal device 1700 also includes a power supply 1790 (such as a battery) for supplying power to various components. Optionally, the power supply 1790 can be logically connected to the processor 1780 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 1790 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0398] Although not shown, the terminal device 1700 may also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0399] For example, taking the electronic device as a server device as an example, referring to Fig.18 The server device 1800 may have relatively large differences due to different configurations or performances, and may include one or more central processing units 1810 (abbreviated as CPU, Central Processing Units) and memory 1860, and one or more storage media 1830 (such as one or more mass storage devices) storing application programs 1833 or data 1832. Among them, the memory 1860 and the storage medium 1830 can be temporary storage or permanent storage. The program stored in the storage medium 1830 may include one or more units or modules, and each unit or module may include a series of operating instructions in the server device 1800. Furthermore, the central processing unit 1810 can be configured to communicate with the storage medium 1830 and execute a series of operating instructions in the storage medium 1830 on the server device 1800.

[0400] The server device 1800 may further include one or more power supplies 1820 , one or more wired or wireless network interfaces 1840 , one or more input and output interfaces 1850 , and one or more operating systems 1831 .

[0401] The CPU 1810 in the server device 1800 may be used to execute the following Figure 2 The configuration method embodiment of the application shown or as Fig.10 An embodiment of a method for configuring an application is shown.

[0402] The present application also discloses a computer-readable storage medium in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to implement the following Figure 2 The configuration method embodiment of the application shown or as Fig.10 An embodiment of a method for configuring an application is shown.

[0403] Understandably, Figure 2 The configuration method embodiment of the application shown or as Fig.10 The contents of the configuration method embodiment of the application program shown in the figure are applicable to the embodiment of the computer-readable storage medium. The functions specifically implemented by the embodiment of the computer-readable storage medium are similar to those of the embodiment of the computer-readable storage medium. Figure 2 The configuration method embodiment of the application shown or as Fig.10 The configuration method embodiment of the application shown is the same as that of Figure 2 The configuration method embodiment of the application shown or as Fig.10 The beneficial effects achieved by the embodiment of the configuration method of the application shown are also the same.

[0404] The embodiment of the present application further discloses a computer program product or a computer program, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in the above-mentioned computer-readable storage medium; Fig.17 , Fig.18 The processor of the electronic device shown can read the computer instruction from the above-mentioned computer readable storage medium, and the processor executes the computer instruction so that the computer device executes Figure 2 The configuration method embodiment of the application shown or as Fig.10 An embodiment of a method for configuring an application is shown.

[0405] Understandably, Figure 2 The configuration method embodiment of the application shown or as Fig.10 The contents of the configuration method embodiment of the application shown in the figure are applicable to the present computer program product or computer program embodiment, and the functions specifically implemented by the present computer program product or computer program embodiment are the same as those in the embodiment of the present invention. Figure 2 The configuration method embodiment of the application shown or as Fig.10 The configuration method embodiment of the application shown is the same as that of Figure 2 The configuration method embodiment of the application shown or as Fig.10 The beneficial effects achieved by the embodiment of the configuration method of the application shown are also the same.

[0406] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part described as a larger operation is performed independently.

[0407] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional techniques of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.

[0408] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0409] The logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer-readable storage medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, apparatus, or device and execute instructions), or in conjunction with such instruction execution system, apparatus, or device. For purposes of this specification, a "computer-readable storage medium" may be any device that can contain, store, communicate, propagate, or transmit a program for use by an instruction execution system, apparatus, or device, or in conjunction with such instruction execution system, apparatus, or device.

[0410] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0411] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0412] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

[0413] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the embodiments. Technical personnel familiar with the field can make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. A method for configuring an application, characterized in that: Applied to a first device, the first device is used to communicate with at least one second device, and the method includes: Acquire configuration information; wherein the configuration information includes target version information of the target application, resource address information of the target application, and at least one account information; Sending a first instruction to the second device according to the target version information and the resource address information, so that the second device installs a target application corresponding to the target version information on the second device after receiving the first instruction; A second instruction is sent to the second device according to the account information, so that the second device logs in to the target application after receiving the second instruction.

2. The method for configuring an application according to claim 1, characterized in that: The obtaining of configuration information includes: Get the task code information corresponding to this configuration task; According to the task code information, corresponding configuration information is obtained.

3. The method for configuring an application according to claim 1, characterized in that: The configuration information also includes environment constraint information corresponding to the target application program, and the method further includes: detecting environmental status information of the second device; generating a third instruction according to the environmental constraint information and the environmental state information; The third instruction is sent to the second device, so that the second device performs environment initialization processing after receiving the third instruction.

4. The method for configuring an application according to claim 3, characterized in that: The environmental constraint information includes memory constraint information, and the memory constraint information is used to calibrate a preset memory threshold; the environmental state information of the second device is detected; and a third instruction is generated according to the environmental constraint information and the environmental state information; Sending the third instruction to the second device so that the second device performs environment initialization processing after receiving the third instruction includes: detecting available memory of the second device; If the available memory is less than or equal to the memory threshold, generate a fourth instruction; The fourth instruction is sent to the second device, so that the second device performs a memory cleaning operation after receiving the fourth instruction.

5. The method for configuring an application according to claim 3, characterized in that: The environmental constraint information includes application constraint information, the application constraint information includes first application information of a plurality of blacklisted applications; the environmental status information of the second device is detected; and a third instruction is generated according to the environmental constraint information and the environmental status information; Sending the third instruction to the second device so that the second device performs environment initialization processing after receiving the third instruction includes: Acquire second application information of each application installed on the second device; Compare the first application information with the second application information to determine whether there is an illegal application matching the blacklist application on the second device; If there is an illegal application matching the blacklist application on the second device, generating a fifth instruction; The fifth instruction is sent to the second device, so that the second device uninstalls the illegal application after receiving the fifth instruction.

6. The method for configuring an application according to claim 5, characterized in that: The comparing the first application information with the second application information to determine whether there is an illegal application matching the blacklist application on the second device includes: Calculating the similarity between the first application information and the second application information; If the similarity between the first application information and the second application information is greater than or equal to a preset similarity threshold, it is determined that there is an illegal application matching the blacklist application on the second device; or, if the similarity between the first application information and the second application information is both less than the similarity threshold, it is determined that there is no illegal application matching the blacklist application on the second device.

7. The method for configuring an application according to claim 6, characterized in that: The calculating the similarity between the first application information and the second application information includes: Extracting a first feature vector corresponding to the first application information and a second feature vector corresponding to the second application information; determining a first length of the first eigenvector and a second length of the second eigenvector; Obtaining a first value according to the product of the first length and the second length, and obtaining a second value according to the inner product of the first eigenvector and the second eigenvector; The similarity is obtained according to the quotient of the second value and the first value.

8. The method for configuring an application according to claim 5, characterized in that: The comparing the first application information with the second application information to determine whether there is an illegal application matching the blacklist application on the second device includes: According to the first application information, construct a matching tree model based on an automaton; Input characters in the second application information into the matching tree model for searching to determine whether there is first application information matching the second application information; If there is first application information matching the second application information, it is determined that there is an illegal application matching the blacklist application on the second device; or, if there is no first application information matching the second application information, it is determined that there is no illegal application matching the blacklist application on the second device.

9. The method for configuring an application according to claim 1, characterized in that: The sending a first instruction to the second device according to the target version information and the resource address information, so that the second device installs a target application corresponding to the target version information on the second device after receiving the first instruction, includes: Detecting whether the target application is installed on the second device; If the target application is not installed on the second device, a first resource acquisition request is sent to the background server of the target application according to the target version information and the resource address information, a program resource package corresponding to the target version information sent by the background server is received, a first instruction including the program resource package and program installation instructions is generated, and the first instruction is sent to the second device so that the second device installs the program resource package on the second device after receiving the first instruction; or, if the target application is not installed on the second device, a first instruction including the target version information, the resource address information and program installation instructions is generated, and the first instruction is sent to the second device so that the second device sends a second resource acquisition request to the background server of the target application after receiving the first instruction, and receives and installs the program resource package corresponding to the target version information.

10. The method for configuring an application according to claim 9, characterized in that: The sending of a first instruction to the second device according to the target version information and the resource address information so that the second device installs a target application corresponding to the target version information on the second device after receiving the first instruction also includes: If the target application has been installed on the second device, detecting first version information of the target application currently installed on the second device; If the first version information is inconsistent with the target version information, sending a sixth instruction to the second device, so that the second device uninstalls the currently installed target application after receiving the sixth instruction; Send a first resource acquisition request to the background server of the target application according to the target version information and the resource address information, receive a program resource package corresponding to the target version information sent by the background server, generate a first instruction including the program resource package and a program installation instruction, and send the first instruction to the second device so that the second device installs the program resource package on the second device after receiving the first instruction; or, generate a first instruction including the target version information, the resource address information and the program installation instruction, and send the first instruction to the second device so that the second device sends a second resource acquisition request to the background server of the target application after receiving the first instruction, and receives and installs the program resource package corresponding to the target version information.

11. The method for configuring an application according to claim 10, characterized in that: The sending of a first instruction to the second device according to the target version information and the resource address information so that the second device installs a target application corresponding to the target version information on the second device after receiving the first instruction also includes: If the program version corresponding to the first version information is earlier than the program version corresponding to the target version information, sending a third resource acquisition request to the background server of the target application according to the target version information, the resource address information and the first version information, receiving a differential resource package sent by the background server, generating a first instruction including the differential resource package and a program update instruction, and sending the first instruction to the second device, so that the second device installs the differential resource package on the second device after receiving the first instruction; Alternatively, if the program version corresponding to the first version information is earlier than the program version corresponding to the target version information, a first instruction including the target version information, the resource address information and a program update instruction is generated, and the first instruction is sent to the second device, so that after receiving the first instruction, the second device sends a fourth resource acquisition request to the background server of the target application, and receives and installs the differential resource package sent by the background server.

12. The method for configuring an application according to any one of claims 1 to 11, characterized in that: Before the step of sending a second instruction to the second device according to the account information so that the second device logs in to the target application after receiving the second instruction, the method further includes: Sending a seventh instruction to the second device, so that the second device starts the target application and takes a screenshot after receiving the seventh instruction; Acquire screenshot data of the second device; Performing image analysis on the screenshot data to determine the running state of the target application on the second device; If the target application is in an announcement page display state, an eighth instruction is sent to the second device, so that the second device closes the announcement page displayed by the target application after receiving the eighth instruction.

13. The method for configuring an application according to any one of claims 1 to 11, characterized in that: The sending a second instruction to the second device according to the account information so that the second device logs in to the target application after receiving the second instruction includes: Obtaining object identity information corresponding to each of the account information and number information corresponding to each of the second devices; Establishing an association relationship between the account information and the second device according to the object identity information and the number information; A second instruction including the account information and a login instruction is sent to a second device associated with the account information, so that the second device logs in to the target application using the account information after receiving the second instruction.

14. A method for configuring an application, characterized in that: Applied to a second device, the second device being used to communicate with a first device, the method comprising: receiving a first instruction sent by the first device; wherein the first instruction is generated by the first device according to target version information of a target application and resource address information of the target application; According to the first instruction, installing a target application corresponding to the target version information; Receive a second instruction sent by the first device, and log in to the target application; wherein the second instruction includes account information.

15. A method for configuring an application, characterized in that: The method comprises: The first device acquires configuration information; wherein the configuration information includes target version information of the target application, resource address information of the target application, and at least one account information; The first device sends a first instruction to the second device according to the target version information and the resource address information; The second device receives the first instruction, and installs the target application corresponding to the target version information according to the first instruction; The first device sends a second instruction to the second device according to the account information; The second device receives the second instruction and logs in to the target application.

16. A configuration system for an application, characterized in that: Applied to a first device, the first device is used to communicate with at least one second device, and the system includes: An acquisition unit, configured to acquire configuration information; wherein the configuration information includes target version information of a target application, resource address information of the target application, and at least one account information; An installation unit, configured to send a first instruction to the second device according to the target version information and the resource address information, so that the second device installs a target application corresponding to the target version information on the second device after receiving the first instruction; The login unit is used to send a second instruction to the second device according to the account information, so that the second device logs in to the target application after receiving the second instruction.

17. A configuration system for an application, characterized in that: The system includes a first device and at least one second device; The first device is used for: Acquire configuration information; wherein the configuration information includes target version information of the target application, resource address information of the target application, and at least one account information; sending a first instruction to the second device according to the target version information and the resource address information, and sending a second instruction to the second device according to the account information; The second device is used for: receiving the first instruction, and installing a target application corresponding to the target version information according to the first instruction; The second instruction is received, and the target application is logged in.

18. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the method for configuring the application program according to any one of claims 1 to 15 is implemented.

19. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the configuration method of the application program described in any one of claims 1 to 15 is implemented.

20. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the configuration method of the application program described in any one of claims 1 to 15 is implemented.