CN108076087B - Application information sending method, device and system - Google Patents

Application information sending method, device and system Download PDF

Info

Publication number
CN108076087B
CN108076087B CN201610994074.0A CN201610994074A CN108076087B CN 108076087 B CN108076087 B CN 108076087B CN 201610994074 A CN201610994074 A CN 201610994074A CN 108076087 B CN108076087 B CN 108076087B
Authority
CN
China
Prior art keywords
terminal
application
determining
loadable
applications
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610994074.0A
Other languages
Chinese (zh)
Other versions
CN108076087A (en
Inventor
张辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Banma Zhixing Network Hongkong Co Ltd
Original Assignee
Banma Zhixing Network Hongkong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Banma Zhixing Network Hongkong Co Ltd filed Critical Banma Zhixing Network Hongkong Co Ltd
Priority to CN201610994074.0A priority Critical patent/CN108076087B/en
Publication of CN108076087A publication Critical patent/CN108076087A/en
Application granted granted Critical
Publication of CN108076087B publication Critical patent/CN108076087B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

The embodiment of the application provides a method, a device and a system for sending application information, wherein the method comprises the following steps: the method comprises the following steps: acquiring operation parameters of each terminal; determining the number of applications distributed to each terminal according to the operation parameters of each terminal; the triggering distribution device sends the application information to each terminal, so that each terminal runs the acquired application to execute a preset task after acquiring a corresponding number of applications according to the application information; wherein the application information includes information of a corresponding number of applications allocated to the terminal. By adopting the scheme of the embodiment of the application, the sending efficiency of the application information can be improved.

Description

Application information sending method, device and system
Technical Field
The present application relates to application processing technologies, and in particular, to a method, an apparatus, and a system for sending application information.
Background
In the work on mobile terminals, there are many scenarios where a large number of APPs (applications), for example, thousands of APPs, need to be distributed to a plurality of terminals; for example, when performing compatibility testing of a certain APP with other multiple APPs, when performing garbage disposal function testing of a certain APP, when performing compatibility testing between an operating system and multiple commonly-used APPs, and when installing APPs in batches for multiple terminals.
In the prior art, generally, a distribution device distributes multiple pieces of APP information to be distributed to each mobile terminal in batches and on average according to a set time interval according to the number of the mobile terminals, where the APP information may be an installation package of an APP or an executable application program; the same amount of APP information is sent to each terminal each time; each mobile terminal executes corresponding processing on the received APP information; waiting for the dispensing device to send again.
The inventor finds that the transmission efficiency is low by adopting the APP information transmission method in the prior art.
Disclosure of Invention
The embodiment of the application provides a method, a device and a system for sending application information, and is used for solving the problem that the sending efficiency of the application information is low in the prior art.
According to an aspect of an embodiment of the present application, a method for sending application information is provided, including: acquiring operation parameters of each terminal; determining the number of applications distributed to each terminal according to the operation parameters of each terminal; the triggering distribution device sends the application information to each terminal, so that each terminal runs the acquired application to execute a preset task after acquiring a corresponding number of applications according to the application information; wherein the application information includes information of a corresponding number of applications allocated to the terminal.
According to another aspect of the embodiments of the present application, there is also provided an apparatus for sending application information, including: the operation parameter acquisition module is used for acquiring the operation parameters of each terminal; the determining module is used for determining the number of the applications distributed to each terminal according to the operation parameters of each terminal; the triggering module is used for triggering the distribution device to send the application information to each terminal so that each terminal runs the acquired application to execute a preset task after acquiring a corresponding number of applications according to the application information; wherein the application information includes information of a corresponding number of applications allocated to the terminal.
According to another aspect of the embodiments of the present application, there is also provided an application information sending system, including: the application information sending device; one or more terminals for transmitting any one of the following to the transmission device of the application information: a terminal operating parameter, a terminal model, or a terminal identifier; after acquiring a corresponding number of applications according to the application information, running the acquired applications to execute preset tasks; wherein the application information includes information of a corresponding number of applications allocated to the terminal; and the distribution device is used for receiving the trigger of the sending device of the application information and sending corresponding APP information to the one or more terminals.
By adopting the method, the device and the system for sending the application information, the number of the applications distributed to each terminal is determined by acquiring the operation parameters of each terminal and according to the operation parameters of each terminal; therefore, different numbers of APPs can be distributed to different terminals according to the operation parameters of the terminals, so that the terminals with better performance can receive more APPs, and the sending efficiency is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic structural diagram illustrating a system for transmitting application information according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for sending application information according to a first embodiment of the present application;
fig. 3 is a diagram of a relationship between a terminal CPU parameter and a loadable APP quantity obtained in a sending method of application information according to a first embodiment of the present application;
fig. 4 is a flowchart illustrating a method for transmitting application information according to a second embodiment of the present application;
fig. 5 is a schematic structural diagram of an application information transmitting apparatus according to a third embodiment of the present application.
Detailed Description
In the process of implementing the present application, the inventor finds that, in the prior art, a distribution device issues the same number of APPs to each terminal, and the sending number of each time is determined according to the number of applications that can be received by the terminal with the worst performance among the terminals; the number of the distributed APPs of the terminal with good directional performance is the same as that of the terminals with poor directional performance; thereby reducing transmission efficiency.
In order to solve the above problems, embodiments of the present application provide a method, an apparatus, and a system for sending application information, where the number of applications allocated to each terminal is determined by obtaining an operation parameter of each terminal and according to the operation parameter of each terminal; therefore, different numbers of APPs can be distributed to different terminals according to the operation parameters of the terminals, so that the terminals with better performance can receive more APPs, and the sending efficiency is improved.
The scheme in the embodiment of the application can be applied to various scenes, for example, compatibility test of the application and other applications, compatibility test of the application and an operating system, junk file cleaning function test of junk file cleaning application, batch installation of APP for multiple terminals and the like.
The scheme in the embodiment of the present application may be implemented by using various computer languages, for example, object-oriented programming language Java, and the like.
In order to make the technical solutions and advantages of the embodiments of the present application more apparent, the following further detailed description of the exemplary embodiments of the present application with reference to the accompanying drawings makes it clear that the described embodiments are only a part of the embodiments of the present application, and are not exhaustive of all embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Example one
In the embodiments of the present application, a method for transmitting application information according to the embodiments of the present application will be described in detail. Specifically, the transmission method of application information according to the embodiment of the present application may be applied to the transmission system of application information as shown in fig. 1.
As shown in fig. 1, the application information transmission system 100 includes an application information transmission apparatus 101, one or more terminals 102a, 102b, 102c, and a distribution apparatus 103, which are connected to each other. It should be understood that the transmitting apparatus, the terminal, and the distributing apparatus of the application information may be connected to each other in a wireless or wired manner. Only three terminals are schematically shown in the figure, but it should be understood that the transmission system of the application information including other number of terminals than three terminals, for example, one, two, four, five, etc. number of terminals, is within the protection scope of the present application.
In practical implementation, the sending device 101 of the application information may be disposed in a computer; specifically, the distribution device 103 and the computer may be provided independently of each other, or may be provided in the same computer, which is not limited in this application.
In a specific implementation, the terminals 102a, 102b, and 102c may be mobile terminals such as a terminal, a PAD, a notebook computer, or a computer, which is not limited in this application.
In practical implementation, the terminals 102a, 102b, 102c may be connected to the sending apparatus 101 for application information through a local area network, or may be connected to the sending apparatus 101 for application information through the internet; the sending apparatus 101 of the application information may also be connected to by various connection methods such as bluetooth, infrared, NFC (Near Field Communication).
In practical implementation, the terminals 102a, 102b, 102c may be connected to the distribution apparatus 103 through a local area network, or may be connected to the distribution apparatus 103 through the internet; it may also be connected to the dispensing apparatus 103 by various connection means such as bluetooth, infrared, NFC (Near Field Communication), etc.
It should be understood that in the implementation, in order to make the transmission efficiency higher, the terminals 102a, 102b, 102c and the distribution device 103, the transmission device 101 of the application information are generally arranged in the same local area network. That is, the terminal, the distribution device 103, and the transmission device 101 of the application information may be connected via a local area network.
In a specific implementation, the terminal may further send a heartbeat signal to the distribution device or the application information sending device at a predetermined period, so that the distribution device or the application information sending device can determine a connection state of the terminal, specifically, the connection state includes connection and disconnection.
Fig. 2 shows a flowchart of a method for sending application information according to a first embodiment of the present application.
As shown in fig. 2, a method for sending application information according to a first embodiment of the present application includes:
s201, after the terminal accesses the sending system of the application information, the terminal reports the information to the sending device of the application information, so that the sending device of the application information can obtain the operation parameters of the terminal.
In a specific implementation, the terminal operation parameter may include one or more hardware parameters of the terminal, including one or more of CPU main frequency, core number, memory size, or available storage size. Specifically, the CPU main frequency may include 988MHZ, 1300MHZ, 1459MHZ, etc.; the number of cores may include single core, dual core, quad core, etc.; the memory size can include 512M, 1G, 2G, 4G, etc.; the available storage sizes may include 300M, 400M, 1.2G, 8G, 10G, and so on.
In specific implementation, the terminal may report various information to the sending device of the application information. Specifically, the operation parameters may be directly reported, that is, the terminal sends one or more operation parameters of the terminal to the sending device of the application information. For example, the terminal may transmit one or more of the CPU master frequency, the core number, the memory size, or the available storage size of the terminal to the transmission apparatus of the application information. The model of the local computer can be sent to the sending device of the application information, so that the sending device of the application information can acquire the operation parameters corresponding to the terminal according to the model of the terminal. For example, the terminal transmits its own model number IPhone6a5189 to the application information transmitting apparatus. The terminal can also send the terminal identification of the local machine, so that the sending device of the application information can obtain the operation parameters corresponding to the terminal according to the terminal identification. Specifically, the terminal identifier may be an identifier for uniquely identifying the terminal, and includes an IMEI (International Mobile Equipment Identity, International terminal Equipment number); this is not a limitation of the present application.
And S202, after receiving the information sent by the terminal, determining the operation parameters of the terminal according to the information.
In a specific implementation, the sending device of the application information may determine the operation parameters of the terminal according to the information sent by the terminal in S201.
Specifically, if the terminal directly reports the operation parameters in S201, in S202, the sending device of the application information may directly obtain the operation parameters of the terminal.
If the terminal is a transmitting device for transmitting the model of the terminal to the application information in S201, the transmitting device for the application information determines the operation parameters corresponding to the terminal according to the model in S202. For example, the terminal model may be, for example, IPhone6a5189, samsunote 4, setalote, etc. Specifically, the sending device of the application information may obtain the corresponding operating parameter by querying according to a pre-stored correspondence list between the terminal model and the operating parameter. For example, the terminal sends the model number IPhone6a5189 of the terminal to the sending device of the application information, and the sending device of the application information can query and obtain the running parameters of 1459MHZ of the CPU dominant frequency, dual cores of the core number, 16G of the memory size and the like corresponding to the terminal.
If the terminal is a sending device that sends the terminal identifier of the terminal to the application information in S201, in S202, the sending device of the application information may determine the model of the terminal according to the correspondence between the terminal identifier and the model of the terminal, and then determine the operating parameters corresponding to the terminal according to the model. For example, if the terminal id is "3548 ×", the correspondence table between the terminal id and the terminal model may be queried to determine that the terminal model is nokia E71. Then, the sending device of the application information can query and obtain the corresponding operation parameters according to a pre-stored corresponding relation list of the terminal model and the operation parameters. For example, the sending device of the application information may query and obtain the operating parameters, such as 1300MHZ of the CPU main frequency, single core number, 32G of the memory size, and the like, corresponding to E71.
It should be understood that in the embodiment where the terminal reports the model and the terminal identifier, the sending apparatus of the application information cannot acquire some operating parameters of the terminal, for example, the available storage size; therefore, in order to more comprehensively acquire the operation parameters of the terminal, the implementation mode that the terminal directly reports the operation parameters can be optimized; however, the other embodiments described above are within the scope of the present application.
In specific implementation, after the operation parameters of the terminal are determined, the operation parameters of the terminal can be further recorded into a terminal operation parameter recording table, and when the operation parameters are used subsequently, the operation parameters can be directly inquired from the table without being acquired again. In particular implementations, the operating parameter record table may be provided in the form of the following table:
CPU memory device Available storage
Terminal 1 Mononuclear 988MHZ 512M 300M
Terminal 2 Mononuclear 988MHZ 1G 1.2G
Terminal 3 Single core 1300MHZ 512M 400M
Terminal 4 Single core 1300MHZ 2G 10G
Terminal
5 Binuclear 1459MHZ 2G 8G
As shown in the above table, the CPU parameter of the terminal 1 is single core 988MHZ, the memory is 512M, and the available storage is 300M; the CPU parameter of the terminal 2 is a single core 988MHZ, the internal memory is 1G, and the available storage is 1.2G; the CPU parameter of the terminal 3 is single core 1300MHZ, the memory is 512M, and the available storage is 400M; the CPU parameter of the terminal 4 is single core 1300MHZ, the memory is 2G, and the available storage is 10G; the CPU parameters of the terminal 5 are single core 1459MHZ, the memory is 2G, and the available storage is 8G.
And S203, determining the number of the applications distributed to each terminal according to the operation parameters.
In specific implementation, the corresponding relation between each operation parameter and the number of APPs can be determined in advance; respectively determining the number of loadable APPs corresponding to each operation parameter of the terminal; and determining the minimum value of the loadable APP quantity corresponding to each operation parameter of the terminal as the loadable APP quantity of the terminal. That is, the barrel principle can be followed, i.e. the worst parameter is taken as the determining factor of the number of terminal loadable APPs.
In specific implementation, because the CPU master frequency and the core number generally have a certain correspondence, the CPU master frequency and the core number may also be combined into one parameter, that is, a CPU parameter.
For example, the number of APPs that can be loaded by the terminal is calculated according to the cpu parameter, the memory size, and the available memory size of the terminal, and is respectively recorded as size _ cpu, size _ mem, and size _ storage, and then the number of APPs allocated to the terminal is finally determined to be min { size _ cpu, size _ mem, size _ storage }.
Next, a specific implementation process of predetermining a corresponding relationship between each operation parameter and the number of APPs will be described in detail, taking the operation parameters including the CPU master frequency and the number of cores, the memory size, and the available storage size as an example.
In particular implementations, multiple data samples may be collected as empirical values. For example, the number of APPs that can be processed, for example, the number of APPs downloaded and installed, or the number of APPs that can be tested, when different configuration terminals execute tasks, may be collected under the same network bandwidth; i.e. the number of APPs that the terminal can load, may also be referred to simply as "load". For example: under the scene that the operating systems are the same and the network bandwidth is 1 million, the number of apps downloaded and installed by different configuration terminals in 2400 seconds is shown in the following table:
CPU memory device Available storage App number (load)
Terminal 1 Mononuclear 988MHZ 512M 300M 19 are provided with
Terminal 2 Mononuclear 988MHZ 1G 1.2G 20 are provided with
Terminal 3 Single core 1300MHZ 512M 400M 37 are
Terminal 4 Single core 1300MHZ 2G 10G 37 are
Terminal 5 Binuclear 1459MHZ 2G 8G 39 are provided with
As shown in the above table, the CPU parameter of the terminal 1 is single core 988MHZ, the memory is 512M, and the available storage is 300M; under the scene that the network bandwidth is 1 million, the number of downloaded and installed apps is 19 within 2400 seconds; the CPU parameter of the terminal 2 is a single core 988MHZ, the internal memory is 1G, and the available storage is 1.2G; under the scene that the network bandwidth is 1 million, the number of downloaded and installed apps is 20 within 2400 seconds; the CPU parameter of the terminal 3 is single core 1300MHZ, the memory is 512M, and the available storage is 400M; under the scene that the network bandwidth is 1 million, the number of downloaded and installed apps is 37 within 2400 seconds; the CPU parameter of the terminal 4 is single core 1300MHZ, the memory is 2G, and the available storage is 10G; under the scene that the network bandwidth is 1 million, the number of downloaded and installed apps is 37 within 2400 seconds; the CPU parameter of the terminal 5 is single core 1459MHZ, the memory is 2G, and the available storage is 8G; under the scene that the network bandwidth is 1 million, the number of downloaded and installed apps is 39 within 2400 seconds.
Next, the data in the above table can be combined to calculate the corresponding relationship between each parameter and the load in a predetermined time (which can be set by the user according to the time required for running different tasks). Specifically, for convenience of operation, the corresponding relationship between each parameter and the load may be simplified to a linear relationship.
In specific implementation, a graph of the relationship between cpu and load can be drawn according to the data in the above table, and simplified to a linear relationship: load k × cpu frequency + b; taking the data in the above table, we can derive the cpu to load relationship as shown in fig. 3. The calculation results in that k is 0.04 and b is-19.52, so that the corresponding relation between the simplified CPU parameter and the load is a linear relation: size _ cpu ═ INT (0.04 × cpu major frequency-19.52); INT denotes rounding down.
Those skilled in the art will appreciate that the size of the memory has little effect on the load under the constraints of the cpu. In specific implementation, based on the 512M memory, the mathematical model for simplifying the corresponding relationship between the memory size and the load is a linear relationship: size _ mem ═ INT ((memory/512M) × size _512), where size _512 is the minimum load that can be borne by 512M memory. Further, it can be seen from the above table that the minimum load that can be borne by the memory 512M is 19, and therefore the size _ mem ═ INT ((memory/512M) × 19) per unit time (2400 seconds).
Those skilled in the art will appreciate that the terminal available storage is typically linear with load. In particular implementation, the correspondence between available storage and load may be described as: size _ storage ═ INT (available storage/x), where x is the average of multiple applications. For example, x may be the average size of the 1000 apps of the hottest gate; for example, 20M. Specifically, the size of x may also be set by the user.
In specific implementation, when the corresponding relationship between the CPU parameter, the memory size, the available storage size, and the number of loadable APPs is calculated, there is no strict timing relationship, and the calculation may be performed synchronously or sequentially, which is not limited in the present application.
After the corresponding relations between the CPU parameters, the memory size, the available storage size, and the loadable APP number are obtained, the loadable APP number of the terminal may be determined.
For example, in S202, the operation parameters received by the application information transmitting apparatus from the terminal are: memory 2G, CPU core 1300MHZ, currently available storage 8G. Then size _ CPU ═ 76 can be calculated according to the correspondence between the CPU parameters and the load, size _ CPU ═ INT (0.04 × CPU dominant frequency-19.52). And calculating to obtain the size _ mem-32 according to the corresponding relation size _ mem-INT ((memory/512M) × 19) of the memory and the load. And calculating to obtain the size _ storage 400 according to the corresponding relation size _ storage and load INT (available storage/20M). Then, the corresponding loadable APP number of the terminal is determined to be min {76, 32, 400}, i.e. 32. Then 32 is determined again as the number of APPs allocated to the terminal.
In specific implementation, when calculating the loadable APP quantities corresponding to the CPU parameter, the memory size, and the available storage size of the terminal, there is no strict timing relationship, and the calculation may be performed synchronously or sequentially, which is not limited in this application.
It should be understood that, when the operation parameter sent by the terminal includes other parameters besides the CPU main frequency and core number, the memory size, and the available storage size, or when the operation parameter includes some parameters among the CPU main frequency and core number, the memory size, and the available storage size, the implementation process may refer to the implementation of this step, and repeated details are not repeated.
In specific implementation, when a plurality of terminals are provided, the number of APPs allocated to each terminal can be calculated according to the operating parameters of each terminal.
In specific implementation, after the loadable APP number corresponding to the terminal is obtained through calculation, that is, after the load is obtained, the corresponding relationship between the terminal and the loadable APP number may be recorded, so that the loadable APP number of the terminal may be directly queried later. Specifically, the correspondence of the terminal to the number of loadable APPs may be provided in the form of the following table:
app number (load)
Terminal A 32 (a)
Terminal B 35 are provided with
Terminal C 20 are provided with
Terminal D 19 are provided with
Terminal E 20 are provided with
As shown in the above table, the number of loadable APPs of terminal a is 32; the number of loadable APPs of the terminal B is 35; the number of loadable APPs of the terminal C is 20; the number of loadable APPs of the terminal D is 19; the number of loadable APPs of terminal E is 20.
And S204, triggering the distribution device to send the application information to each terminal, wherein the application information comprises information of corresponding number of applications distributed to the terminal.
In particular implementation, the information of the application may be an application identification and/or a download link; the application may be an installation package of the application, or may be an application program. For example, if the number of applications that can be loaded by the terminal is 10, 10 application identifiers, for example, application IDs or application names, may be sent to the terminal; the installation package of 10 applications can also be sent to the terminal; for the application which can be directly executed without installation, 10 application programs can be sent to the terminal, or 5 application installation packages and 5 application programs can be sent to the terminal; this is not a limitation of the present application.
In a specific implementation manner of S204, the sending device of the application information may send a corresponding number of values and corresponding terminal identifiers to the distributing device, and the distributing device selects a corresponding number of application information from the APP pool to be distributed according to a first predetermined rule and sends the application information to the terminal. Specifically, the first predetermined rule may be in the order of arrangement of APPs, or the like.
In another specific implementation of S204, the sending apparatus of the application information may further select a corresponding number of APP identifiers from the stored first task list according to a second predetermined rule; and the APP identifications and the corresponding terminal identifications are sent to the distribution device, and the distribution device sends the corresponding APP information to the terminal according to the APP identifications.
In specific implementation, in order to avoid repeated sending, after the distribution device sends the APP information to the terminal, the method may further include the following steps: deleting the sent APP from an APP pool to be distributed of the distribution device, or deleting the sent APP identification from a first task list of the sending device of the application information, and the like; this is not limited by the present application.
In specific implementation, the identifier of each terminal and the APP identifier sent to each terminal may be further recorded in the second task list.
And S205, after acquiring the corresponding number of applications according to the application information, the terminal runs the acquired applications to execute preset tasks.
In implementation, when the information of the application is an application identifier or a download link, the terminal may further obtain an installation package or an application program of the application. Specifically, the predetermined address may be obtained, and the network download may also be performed, which is not limited in this application.
In specific implementation, the user may also issue the task to the terminal in advance. Specifically, the task may include: performing testing tasks, batch installation, etc.
In specific implementation, the implementation of S205 can be implemented by a conventional technical means of those skilled in the art, and is not described herein in detail.
In specific implementation, after the terminal executes the task, the method may further include: and sending a finishing processing message or a processing result to the sending device of the application information.
In the implementation, at least one of the following information transmitted by the terminal is received by the transmitting device of the application information: and after the processing of the message is completed or the processing result is processed, the APP completion processing corresponding to the terminal can be further recorded in a second task list.
In a specific implementation, after the terminal joins the application information sending system, each terminal may send a heartbeat signal at a predetermined period, and the application information sending device determines whether each terminal is connected to the distribution device according to the heartbeat message. Specifically, the determining method for determining whether each terminal is connected according to the heartbeat signal may adopt a common technical means of those skilled in the art, which is not described herein again.
If it is determined that the terminal is not connected to the distribution device according to the heartbeat signal, the method further includes: deleting the APP identification which corresponds to the terminal and is not recorded with the completed processing from the second task list; and recording the APP identifications which correspond to the terminals in the second task list and are not recorded with the completed processing into the first task list. Specifically, the terminal may also be prompted to disconnect.
For example, when a certain terminal does not respond to 3 heartbeats, it is determined that the terminal is disconnected, and the APP identifier corresponding to the APP running on the terminal at that time may be moved from the distributed second task list to the first task list to be distributed, and a prompt for disconnecting the terminal is popped up.
In specific implementation, the disconnected terminal can be further marked, and the APP information is not sent next time.
By adopting the sending method of the application information in the embodiment of the application, the number of APPs distributed to each terminal is determined by acquiring the operation parameters of each terminal and according to the operation parameters of each terminal; therefore, different numbers of APPs can be distributed to different terminals according to the operation parameters of the terminals, so that the terminals with better performance can receive more APPs, and the sending efficiency is improved.
In the process of implementing the present application, the inventor further finds that, in a sending method of application information in the prior art, when APP information is sent to a terminal and the application information includes an application installation package and/or an application program, besides not considering an operation parameter of the terminal, a network bandwidth between a distribution apparatus and the terminal is not considered, and a situation of sending failure may occur, for example, 100 APPs are sent to 5 terminals at the same time under a bandwidth of 100M, and an average size of each APP is 20M, network congestion may occur, which causes sending failure of multiple APPs, and results in reduction of sending efficiency.
In order to solve the above problem, the present application provides a method for sending application information by combining a terminal operation parameter and a network bandwidth. Next, a detailed description will be given of an implementation of this method for sending application information in conjunction with an embodiment of the present application.
Example two
Fig. 4 is a flowchart illustrating a method for transmitting application information according to a second embodiment of the present application.
As shown in fig. 4, a method for sending application information according to a second embodiment of the present application includes:
s401, determining the terminal to be allocated with the APP.
In a first specific implementation manner of S401, the terminal to which the APP is to be allocated may be determined by: and when a processing result reported by the terminal or a processing message is completed, determining that the terminal is idle, and allocating the APP.
In the second specific implementation manner of S401, the terminal to which the APP is to be allocated may also be determined by: when receiving terminal operation parameters, terminal models or terminal identifications reported by a terminal, determining that the terminal is initially accessed and is in an idle state, and allocating APP.
Specifically, when the terminal accesses the transmission system of the application information, the terminal may simultaneously transmit a heartbeat signal and any one of the following: terminal operating parameters, terminal model, or terminal identification. Or sending a heartbeat signal to a sending device of the application information; the sending device of the application information inquires the corresponding operating parameters of the terminal; if the operation parameter corresponding to the terminal is not stored, the terminal is required to report any one of the following parameters: a terminal operating parameter, a terminal model, or a terminal identifier; and obtains the operating parameters of the terminal.
S402, judging whether APP to be distributed exists or not; if not, ending, if yes, executing S403;
in a specific embodiment, the sending apparatus or the distributing apparatus of the application information may query a first task list for recording APPs to be allocated, where the first task list records APP identifiers to be allocated, and if the task list is empty, it indicates that there is no APP information to be allocated; and if the APP identification exists in the task list, indicating that the APP to be distributed exists.
In another specific embodiment, the distribution device may also query the set APP information path folder to be allocated, that is, whether APP information exists in the APP pool to be allocated; if the APP information exists, the APP information to be distributed is judged to exist, and if the APP pool to be distributed is empty, the APP to be distributed does not exist.
And S403, acquiring the bandwidth between the distribution device and each terminal.
In a specific implementation, when the distribution apparatus is in the same local area network as the terminal, the network bandwidth may be a network bandwidth of the local area network; when the distribution device is connected to the terminal via the internet, the network bandwidth may also be an internet network bandwidth between the distribution device and the terminal. Preferably, the network bandwidth may also be a currently available bandwidth. For example, the network bandwidth between the distribution device and the terminal is 100M, but since other tasks occupying the network bandwidth are currently running, the available bandwidth may be 80M, and the like.
In specific implementation, when the sending device of the application information is separate from the distribution device, the following method may be adopted to obtain the network bandwidth between the distribution device and the terminal: the distribution means detects a network bandwidth between the own machine and the terminal, and then transmits the network bandwidth to the application information transmission means.
In specific implementation, when the sending apparatus of the application information and the distribution apparatus run on the same computer, the network bandwidth between the distribution apparatus and the terminal may be obtained in the following manner: the transmission device of the application information detects a network bandwidth between the own device and the terminal and determines it as a network bandwidth between the distribution device and the terminal.
S404, determining the loadable application quantity of each terminal; and determining the number of applications allocated to each terminal according to the number of loadable applications and the network bandwidth of each terminal.
In particular, the number of loadable APPs of each terminal may be determined in various ways. Specifically, if the correspondence between the terminal and the number of loadable APPs is obtained by calculation before this step, the correspondence between the terminal and the number of loadable APPs may be queried to obtain the number of loadable APPs of each terminal. Specifically, the correspondence of the terminal to the number of loadable APPs is provided in the form of the following table:
app number (load)
Terminal A 32 (a)
Terminal B 35 are provided with
Terminal C 20 are provided with
Terminal D 19 are provided with
Terminal E 20 are provided with
As shown in the above table, the number of loadable APPs of terminal a is 32; the number of loadable APPs of the terminal B is 35; the number of loadable APPs of the terminal C is 20; the number of loadable APPs of the terminal D is 19; the number of loadable APPs of terminal E is 20.
Assuming that the terminals to be allocated with APPs are terminal a and terminal B, the terminals can be obtained by querying from the above table, and the loadable number of terminal a is 32; the number of loadable APPs of terminal B is 35.
In specific implementation, if the correspondence between the terminals to which APPs are to be allocated and the loadable APP quantities is not found in the table above before this step, it may be determined that the loadable APP quantities of the terminals need to be determined according to the operating parameters of the terminals.
Specifically, for implementation of the process of determining the number of loadable APPs of each terminal according to the operation parameter of each terminal, refer to implementation of determining the number of loadable APPs of each terminal according to the operation parameter of each terminal in S203 in this embodiment of the present application, and repeated parts are not described again.
In specific implementation, after the loadable APP number of each terminal is obtained, the APP number allocated to the terminal may be further determined according to the loadable APP number and the network bandwidth of each terminal. Specifically, according to the number of loadable APPs and the network bandwidth of each terminal, determining the number of APPs allocated to the terminal may include the following sub-steps:
s4041, summing the loadable application number of each terminal to obtain the maximum application number of the plurality of terminals
Figure BDA0001150569060000151
Wherein, size _ k is the loadable APP number of each terminal, and k may be the number of the terminal, starting from 0, and sequentially adding one; for example, if there are two terminals to which APPs are to be allocated, the numbers are 0 and 1 in sequence; n is the number of terminals to be allocated with APP minus one.
S4042, determining the maximum transmittable APP quantity under the network bandwidth according to the network bandwidth.
Specifically, the maximum transmittable APP number under the network bandwidth may be determined as the network bandwidth multiplied by a predetermined value and rounded down. Specifically, the predetermined value may be a value set by the user according to an empirical value, for example, according to the empirical value, 10 APPs may be allowed to be simultaneously transmitted under a 1M bandwidth, and then APPs of the maximum transmittable APP number size _ band ═ INT (bandwidth × 10) are simultaneously downloaded under the current network bandwidth.
In specific implementation, there is no strict timing relationship between steps S4041 and S4042, and S4042 may be executed first, and then S4041 may be executed; s4041 may be executed first, and then S4042 may be executed; and may also be performed synchronously, which is not limited in this application.
S4043, determining the APP number allocated to each terminal according to the maximum application number and the maximum transmittable APP number of the plurality of terminals.
Specifically, when the maximum APP number is less than or equal to the maximum transmittable APP number, the maximum APP number of each terminal is determined as the APP number transmitted to each terminal. For example, when the loadable APP numbers of 2 terminals to which APP information is to be allocated are 32 and 35, respectively, the maximum application number is 67; and when the maximum number of transmittable APPs is 100, 32 and 35 APPs can be directly transmitted to the corresponding terminal.
And when the maximum application number is larger than the maximum transmittable APP number, the APP number transmitted to each terminal is divided by the maximum application number and multiplied by the maximum transmittable application number of the corresponding terminal, and the maximum transmittable application number is rounded down. That is, the current load of each terminal is (size _ k/size _ sum) × size _ band. For example, when the number of loadable APPs of 2 terminals to which APPs are to be allocated is 32 and 35, respectively, the maximum number of applications is 67; when the maximum number of the transmittable APPs is 50, INT (32/67 × 50) is 23 pieces of APP information is sent to the terminal a; and sends INT (35/67 × 50) ═ 26 APP messages to B.
And S405, triggering the distribution device to transmit the corresponding number of application installation packages or application programs to each terminal.
In specific implementation, reference may be made to implementation of the sending method of the application installation package or the application program in S204 in the first embodiment of the present application in S405, and repeated details are not described herein.
And S406, after receiving the corresponding number of application installation packages or application programs sent by the distribution device, the terminal runs the corresponding application to execute the preset task.
In specific implementation, the implementation of S406 may refer to the implementation of S205 in the first embodiment of the present application, and repeated descriptions are omitted.
In specific implementation, after the terminal executes the preset processing task, the method may further include: and sending a finishing processing message or a processing result to the sending device of the application information.
In the implementation, at least one of the following information transmitted by the terminal is received by the transmitting device of the application information: and after the processing of the message is completed or the processing result is processed, the APP completion processing corresponding to the terminal can be further recorded in a second task list.
In a specific implementation, after the terminal joins the application information sending system, each terminal may send a heartbeat signal at a predetermined period, and the application information sending device determines whether each terminal is connected to the distribution device according to the heartbeat message. Specifically, the determining method for determining whether each terminal is connected according to the heartbeat signal may adopt a common technical means of those skilled in the art, which is not described herein again.
If it is determined that the terminal is not connected to the distribution device according to the heartbeat signal, the method further includes: deleting the APP identification which corresponds to the terminal and is not recorded with the completed processing from the second task list; and recording the APP identifications which correspond to the terminals in the second task list and are not recorded with the completed processing into the first task list. Specifically, the terminal may also be prompted to disconnect.
For example, when a certain terminal does not respond to 3 heartbeats, it is determined that the terminal is disconnected, and the APP identifier corresponding to the APP running on the terminal at that time may be moved from the distributed second task list to the first task list to be distributed, and a prompt for disconnecting the terminal is popped up.
In specific implementation, the disconnected terminal can be further marked, and the APP is not issued next time.
By adopting the sending method of the application information in the embodiment of the application, the number of the APP which can be loaded by each terminal at one time is calculated according to the operation parameters and the current network bandwidth of each terminal, and the APP is issued to each terminal by the distribution device. After the terminal finishes processing, the sending device of the application information is triggered again to issue the tasks again until all the tasks are finished, and the task processing efficiency is improved.
In addition, by adopting the sending method of the application information in the embodiment of the application, different numbers of APPs are sent according to different network bandwidths, so that the bandwidths can be effectively and reasonably utilized; and the connection state of the terminal can be automatically monitored through the heartbeat signal, when the terminal is disconnected, the APP which is sent to the disconnected terminal and is not processed is added into the list to be sent again and sent to other terminals again, so that the hot plug of the terminal can be realized, and the sending efficiency is improved.
Based on the same inventive concept, the embodiment of the present application further provides a device for sending application information, and because the principle of the device for solving the problem is similar to that of the sending method for the application information provided in the first or second embodiment of the present application, the implementation of the device may refer to the implementation of the method, and repeated parts are not described again.
EXAMPLE III
Fig. 5 is a schematic structural diagram of an application information transmitting apparatus according to a third embodiment of the present application.
As shown in fig. 5, the apparatus 500 for transmitting application information according to the third embodiment of the present application includes: an operation parameter obtaining module 501, configured to obtain operation parameters of each terminal; a determining module 502, configured to determine, according to an operation parameter of each terminal, a number of applications allocated to each terminal; the triggering module 503 is configured to trigger the distribution apparatus to send the application information to each terminal, so that each terminal runs the acquired application to execute a preset task after acquiring a corresponding number of applications according to the application information; wherein the application information includes information of a corresponding number of applications allocated to the terminal.
Optionally, the operation parameter obtaining module is specifically configured to: receiving operation parameters reported by each terminal; or receiving the model reported by each terminal, and determining the operation parameters of each terminal according to the model; or receiving the terminal identification reported by each terminal, and determining the operation parameter of each terminal according to each terminal identification.
Optionally, the operation parameter of each terminal specifically includes at least one of the following parameters of each terminal: CPU master, number of cores, memory size, or available storage size.
Optionally, the number of the terminals is one or more; the determining module specifically comprises: the loadable quantity determining submodule is used for determining the loadable APP quantity of each terminal according to the operation parameters of each terminal; and the first determining submodule is used for determining the loadable APP quantity of each terminal as the quantity of the applications distributed to each terminal.
Optionally, the operating parameter is one or more; a loadable quantity determination submodule, specifically configured to:
according to the predetermined corresponding relation between each operation parameter and the number of loadable applications; respectively determining the loadable application quantity corresponding to each operation parameter of the terminal; and determining the minimum value of the loadable application quantity corresponding to each operation parameter of the terminal as the loadable application quantity of the terminal.
Optionally, the apparatus for sending application information according to an embodiment of the present application further includes: and the detection module is used for detecting the network bandwidth between the distribution device and the terminal.
Optionally, the determining module is specifically configured to: determining the loadable application quantity of each terminal; and determining the number of applications distributed to each terminal according to the number of loadable applications of each terminal and the network bandwidth.
Optionally, the number of the terminals is one or more; the determining module specifically comprises: the maximum loadable quantity determining submodule is used for summing the loadable application quantity of each terminal to obtain the maximum application quantity of the plurality of terminals; the maximum transmissible quantity determining submodule is used for determining the maximum transmissible application quantity under the network bandwidth according to the network bandwidth; and the second determining submodule is used for determining the number of the applications distributed to each terminal according to the maximum application number and the maximum transmittable application number.
Optionally, the maximum transmittable number determining sub-module is specifically configured to: the maximum number of transmittable APPs at the network bandwidth is determined as the network bandwidth multiplied by a predetermined value and rounded down.
Optionally, the second determining submodule is specifically configured to: when the maximum application number is less than or equal to the maximum transmittable application number, determining the loadable application number of each terminal as the application number allocated to each terminal; when the maximum application number is larger than the maximum transmittable application number, the number of applications allocated to each terminal is equal to the loadable application number of the corresponding terminal divided by the maximum application number, multiplied by the maximum transmittable application number, and rounded down.
Optionally, when the application information includes the application identifier and/or a download link corresponding to the application identifier, the triggering module is specifically configured to: acquiring a first task list, wherein APP identifications to be distributed are recorded in the first task list; determining a corresponding number of APP identifications from the first task list according to a preset rule; and the triggering distribution device sends the corresponding application identifications and/or the download links corresponding to the application identifications in the corresponding number to each terminal.
Optionally, the application information includes an application installation package and/or an application program, and the triggering module is specifically configured to: acquiring a first task list, wherein APP identifications to be distributed are recorded in the first task list; determining a corresponding number of APP identifications from the first task list according to a preset rule; and the triggering distribution device sends the application installation packages and/or the application programs corresponding to the application identifications of the corresponding quantity to each terminal.
Optionally, the apparatus for sending application information according to an embodiment of the present application further includes: a first deleting module, configured to delete the sent APP identifier from the first task list.
Optionally, the apparatus for sending application information according to an embodiment of the present application further includes: and the first recording module is used for recording the identification of each terminal and the APP identification sent to each terminal in the second task list.
Optionally, the apparatus for sending application information according to an embodiment of the present application further includes: the first receiving module is used for receiving at least one of the following information sent by the terminal: completing the processing of the message, or processing the result; and the processing completion message or the processing result is sent after the terminal acquires the corresponding application and executes the preset task.
Optionally, the apparatus for sending application information according to an embodiment of the present application further includes: and the second recording module is used for recording the application completion processing corresponding to the terminal in the second task list.
Optionally, the apparatus for sending application information according to an embodiment of the present application further includes: and the connection determining module is used for determining whether each terminal is connected to the distribution device according to the heartbeat signal sent by each terminal at a preset period.
Optionally, if it is determined from the heartbeat signal that the terminal is not connected to the distribution apparatus, the apparatus further includes: the second deleting module is used for deleting the APP identifier which corresponds to the terminal and is not recorded with the completed processing from the second task list; and the third recording module is used for recording the APP identifier which corresponds to the terminal in the second task list and is not recorded with the completed processing into the first task list.
By adopting the sending device of the application information in the embodiment of the application, the number of APPs which can be distributed to each terminal is calculated according to the operation parameters and the current network bandwidth of each terminal, and the distribution device sends the application information carrying the number of APPs to each terminal. After the terminal finishes processing, the sending device triggering the application information again sends the APP information until all APPs are sent, so that the sending efficiency is improved, and the subsequent processing efficiency is indirectly improved, such as the testing efficiency or the installation efficiency.
In addition, by adopting the sending device of the application information in the embodiment of the application, different numbers of APPs are distributed according to different network bandwidths, so that the bandwidths can be effectively and reasonably utilized; and the connection state of the terminal can be automatically monitored through the heartbeat signal, when the terminal is disconnected, the APP which is sent to the disconnected terminal and is not processed is added into the list to be sent again and sent to other terminals again, so that the hot plug of the terminal can be realized, and the sending efficiency is improved.
Based on the same inventive concept, the embodiment of the present application further provides a system for sending application information, and since the principle of solving the problem of the system is similar to that of sending the application information provided in the first or second embodiment of the present application, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not repeated.
Example four
The system for sending application information according to the fourth embodiment of the present application includes:
according to the third application information sending device provided by the embodiment of the application;
one or more terminals for transmitting any one of the following to the transmission device of the application information: a terminal operating parameter, a terminal model, or a terminal identifier; receiving APP information sent by a distribution device; after acquiring a corresponding number of applications according to the application information, running the acquired applications to execute preset tasks; wherein the application information includes information of a corresponding number of applications allocated to the terminal;
and the distribution device is used for receiving the trigger of the sending device of the application information and sending corresponding APP information to the one or more terminals.
In specific implementation, the implementation of the sending device of the application information may refer to the implementation of the sending device of the application information in the third embodiment of the present application, and repeated details are not described again.
In specific implementation, the implementation of the application information sending system may refer to the implementation of the application information sending system provided in the first embodiment of the present application and shown in fig. 1, and repeated parts are not described again.
By adopting the application information sending system in the embodiment of the application, the APP quantity sent to each terminal at a single time is calculated according to the operation parameters and the current network bandwidth of each terminal, and the distribution device sends the application information carrying the APP quantity to each terminal. After the terminal finishes processing, the sending device triggering the application information again sends the APP information until all the APP information is sent, and sending efficiency is improved.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (37)

1. A method for sending application information, comprising:
acquiring operation parameters of each terminal;
determining the number of applications distributed to each terminal according to the operation parameters of each terminal;
triggering a distribution device to send application information to each terminal so that each terminal runs the acquired application to execute a preset task after acquiring a corresponding number of applications according to the application information; wherein the application information includes information of a corresponding number of applications allocated to the terminal;
the method for determining the number of applications allocated to each terminal according to the operation parameters of each terminal specifically includes:
determining the loadable application quantity of each terminal according to the operation parameters of each terminal;
and determining the number of loadable applications of each terminal as the number of applications distributed to each terminal.
2. The method according to claim 1, wherein the obtaining of the operation parameters of each terminal specifically comprises:
receiving operation parameters reported by each terminal; or
Receiving the model reported by each terminal, and determining the operation parameters of each terminal according to the model; or
And receiving the terminal identification reported by each terminal, and determining the operation parameters of each terminal according to each terminal identification.
3. The method according to claim 1, wherein the operation parameters of each terminal specifically include at least one of the following parameters of each terminal: CPU master, number of cores, memory size, or available storage size.
4. The method of claim 1, wherein the terminal is one or more.
5. The method of claim 4, wherein the operating parameter is one or more; determining the loadable application quantity of each terminal according to the operation parameters of each terminal, which specifically comprises the following steps:
according to the predetermined corresponding relation between each operation parameter and the number of loadable applications; respectively determining the loadable application quantity corresponding to each operation parameter of the terminal;
and determining the minimum value of the loadable application quantity corresponding to each operation parameter of the terminal as the loadable application quantity of the terminal.
6. The method of claim 1, wherein the application information further comprises an application installation package and/or an application program; before determining the number of applications allocated to each terminal, the method further comprises:
and detecting the network bandwidth between the distribution device and the terminal.
7. The method according to claim 6, wherein determining the number of applications allocated to each terminal specifically comprises:
determining the loadable application quantity of each terminal;
and determining the number of the applications distributed to each terminal according to the number of the loadable applications of each terminal and the network bandwidth.
8. The method of claim 7, wherein the terminals are one or more; determining the number of applications allocated to each terminal according to the number of loadable applications of each terminal and the network bandwidth, specifically comprising:
summing the corresponding loadable application quantity of each terminal to obtain the maximum loadable application quantity of the plurality of terminals; and determining the maximum transferable application quantity under the network bandwidth according to the network bandwidth;
and determining the number of applications distributed to each terminal according to the maximum loadable application number and the maximum transmittable application number.
9. The method according to claim 8, wherein determining the maximum number of applications that can be transmitted under the network bandwidth according to the network bandwidth specifically comprises:
and determining the maximum transferable application quantity under the network bandwidth as the network bandwidth multiplied by a preset value and rounded down.
10. The method according to claim 8, wherein determining the number of applications allocated to each terminal according to the maximum loadable application number and the maximum transmittable application number specifically comprises:
when the maximum loadable application quantity is less than or equal to the maximum transmittable application quantity, determining the loadable application quantity of each terminal as the quantity of the application distributed to each terminal;
when the maximum loadable application number is greater than the maximum transmittable application number, the number of applications allocated to each terminal is equal to the loadable application number of the corresponding terminal divided by the maximum loadable application number multiplied by the maximum transmittable application number and rounded down.
11. The method according to claim 1, wherein the information of the application includes an application identifier and/or a download link, and the triggering of the distribution device to send the application information to each terminal includes:
acquiring a first task list, wherein an application identifier to be distributed is recorded in the first task list;
determining a corresponding number of application identifications according to a predetermined rule from the first task list;
and triggering the distribution device to send the corresponding application identifications and/or the download links corresponding to the application identifications in the corresponding number to each terminal.
12. The method according to claim 1, wherein the information of the application comprises an application installation package and/or an application program, and the triggering of the distribution device to send the application information to each terminal comprises:
acquiring a first task list, wherein an application identifier to be distributed is recorded in the first task list;
determining a corresponding number of application identifications according to a predetermined rule from the first task list;
and triggering the distribution device to send the application installation packages and/or the application programs corresponding to the application identifications of the corresponding quantity to each terminal.
13. The method according to claim 11 or 12, wherein after triggering the distribution means to transmit the application information to the respective terminals, further comprising:
deleting the transmitted application identification from the first task list.
14. The method according to claim 11 or 12, wherein after triggering the distribution means to transmit the application information to the respective terminals, further comprising:
and recording the identifier of each terminal and the application identifier sent to each terminal in the second task list.
15. The method according to claim 14, wherein after recording the identifier of each terminal and the application identifier sent to each terminal in the second task list, further comprising:
receiving at least one of the following information sent by the terminal: completing the processing of the message, or processing the result; and the processing completion message or the processing result is sent after the terminal acquires the corresponding application and executes the preset task.
16. The method according to claim 15, wherein at least one of the following information sent by the terminal is received: after finishing processing the message or processing the result, further comprising:
and recording the application completion processing corresponding to the terminal in a second task list.
17. The method of claim 16, further comprising:
and determining whether each terminal is connected to the distribution device according to the heartbeat signal sent by each terminal at a preset period.
18. The method according to claim 17, wherein if it is determined from the heartbeat signal that the terminal is not connected to the distribution apparatus, the method further comprises:
deleting the application identifier which corresponds to the terminal and is not recorded and processed from the second task list; and recording the application identifier which corresponds to the terminal in the second task list and is not recorded with the completed processing to the first task list.
19. An apparatus for transmitting application information, comprising:
the operation parameter acquisition module is used for acquiring the operation parameters of each terminal;
the determining module is used for determining the number of the applications distributed to each terminal according to the operation parameters of each terminal;
the triggering module is used for triggering the distribution device to send the application information to each terminal so that each terminal runs the acquired application to execute a preset task after acquiring a corresponding number of applications according to the application information; wherein the application information includes information of a corresponding number of applications allocated to the terminal;
wherein, the determining module specifically comprises:
the loadable quantity determining submodule is used for determining the loadable application quantity of each terminal according to the operation parameters of each terminal;
and the first determining submodule is used for determining the loadable application quantity of each terminal as the quantity of the application distributed to each terminal.
20. The apparatus of claim 19, wherein the operational parameter acquisition module is specifically configured to:
receiving operation parameters reported by each terminal; or
Receiving the model reported by each terminal, and determining the operation parameters of each terminal according to the model; or
And receiving the terminal identification reported by each terminal, and determining the operation parameters of each terminal according to each terminal identification.
21. The apparatus according to claim 19, wherein the operation parameters of each terminal specifically include at least one of the following parameters of each terminal: CPU master, number of cores, memory size, or available storage size.
22. The apparatus of claim 19, wherein the one or more terminals are one or more.
23. The apparatus of claim 22, wherein the operating parameter is one or more; a loadable quantity determination submodule, specifically configured to:
according to the predetermined corresponding relation between each operation parameter and the number of loadable applications; respectively determining the loadable application quantity corresponding to each operation parameter of the terminal;
and determining the minimum value of the loadable application quantity corresponding to each operation parameter of the terminal as the loadable application quantity of the terminal.
24. The apparatus of claim 19, further comprising:
and the detection module is used for detecting the network bandwidth between the distribution device and the terminal.
25. The apparatus of claim 24, wherein the determining module is specifically configured to:
determining the loadable application quantity of each terminal;
and determining the number of the applications distributed to each terminal according to the number of the loadable applications of each terminal and the network bandwidth.
26. The apparatus of claim 25, wherein the one or more terminals are one or more; the determining module specifically comprises:
the maximum loadable quantity determining submodule is used for summing the loadable application quantity corresponding to each terminal to obtain the maximum loadable application quantity of the plurality of terminals;
the maximum transferable quantity determining submodule is used for determining the maximum transferable application quantity under the network bandwidth according to the network bandwidth;
and the second determining submodule is used for determining the number of the applications distributed to each terminal according to the maximum loadable application number and the maximum transmittable application number.
27. The apparatus according to claim 26, wherein the maximum transmissible number determining submodule is configured to:
and determining the maximum transferable application quantity under the network bandwidth as the network bandwidth multiplied by a preset value and rounded down.
28. The apparatus of claim 26, wherein the second determination submodule is specifically configured to:
when the maximum loadable application quantity is less than or equal to the maximum transmittable application quantity, determining the loadable application quantity of each terminal as the quantity of the application distributed to each terminal;
when the maximum loadable application number is greater than the maximum transmittable application number, the number of applications allocated to each terminal is equal to the loadable application number of the corresponding terminal divided by the maximum loadable application number multiplied by the maximum transmittable application number and rounded down.
29. The apparatus according to claim 19, wherein when the application information includes the application identifier and/or the download link corresponding to the application identifier, the triggering module is specifically configured to:
acquiring a first task list, wherein an application identifier to be distributed is recorded in the first task list;
determining a corresponding number of application identifications according to a predetermined rule from the first task list;
and triggering the distribution device to send the corresponding application identifications and/or the download links corresponding to the application identifications in the corresponding number to each terminal.
30. The apparatus according to claim 19, wherein when the application information includes an application installation package and/or an application program, the triggering module is specifically configured to:
acquiring a first task list, wherein an application identifier to be distributed is recorded in the first task list;
determining a corresponding number of application identifications according to a predetermined rule from the first task list;
and triggering the distribution device to send the application installation packages and/or the application programs corresponding to the application identifications of the corresponding quantity to each terminal.
31. The apparatus of claim 29 or 30, further comprising:
a first deleting module, configured to delete the sent application identifier from the first task list.
32. The apparatus of claim 29 or 30, further comprising:
and the first recording module is used for recording the identification of each terminal and the application identification sent to each terminal in the second task list.
33. The apparatus of claim 32, further comprising:
a first receiving module, configured to receive at least one of the following information sent by the terminal: completing the processing of the message, or processing the result; and the processing completion message or the processing result is sent after the terminal acquires the corresponding application and executes the preset task.
34. The apparatus of claim 33, further comprising:
and the second recording module is used for recording the application completion processing corresponding to the terminal in a second task list.
35. The apparatus of claim 34, further comprising:
and the connection determining module is used for determining whether each terminal is connected to the distribution device or not according to the heartbeat signal sent by each terminal at a preset period.
36. The apparatus of claim 35, wherein if it is determined from the heartbeat signal that the terminal is not connected to the distribution apparatus, the apparatus further comprises:
the second deleting module is used for deleting the application identifier which corresponds to the terminal and is not recorded with the completed processing from the second task list;
and the third recording module is used for recording the application identifier which corresponds to the terminal in the second task list and is not recorded with the completed processing into the first task list.
37. A system for transmitting application information, comprising:
the transmission means of application information according to any of claims 19-36;
one or more terminals for transmitting any one of the following to the transmission device of the application information: a terminal operating parameter, a terminal model, or a terminal identifier; after acquiring a corresponding number of applications according to the application information, running the acquired applications to execute preset tasks; wherein the application information includes information of a corresponding number of applications allocated to the terminal;
and the distribution device is used for receiving the trigger of the sending device of the application information and sending the corresponding application information to the one or more terminals.
CN201610994074.0A 2016-11-11 2016-11-11 Application information sending method, device and system Active CN108076087B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610994074.0A CN108076087B (en) 2016-11-11 2016-11-11 Application information sending method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610994074.0A CN108076087B (en) 2016-11-11 2016-11-11 Application information sending method, device and system

Publications (2)

Publication Number Publication Date
CN108076087A CN108076087A (en) 2018-05-25
CN108076087B true CN108076087B (en) 2021-06-18

Family

ID=62154527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610994074.0A Active CN108076087B (en) 2016-11-11 2016-11-11 Application information sending method, device and system

Country Status (1)

Country Link
CN (1) CN108076087B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997908A (en) * 2009-08-21 2011-03-30 三星电子株式会社 Apparatuses for downloading applications via application lists
CN102685323A (en) * 2012-04-21 2012-09-19 北京迈凯互动网络科技有限公司 Mobile device testing method and system
CN104951340A (en) * 2015-06-12 2015-09-30 联想(北京)有限公司 Information processing method and device
CN105117464A (en) * 2015-08-25 2015-12-02 北京金山安全软件有限公司 Application pushing method and device and service equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9554190B2 (en) * 2012-12-20 2017-01-24 Location Labs, Inc. System and method for controlling communication device use

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997908A (en) * 2009-08-21 2011-03-30 三星电子株式会社 Apparatuses for downloading applications via application lists
CN102685323A (en) * 2012-04-21 2012-09-19 北京迈凯互动网络科技有限公司 Mobile device testing method and system
CN104951340A (en) * 2015-06-12 2015-09-30 联想(北京)有限公司 Information processing method and device
CN105117464A (en) * 2015-08-25 2015-12-02 北京金山安全软件有限公司 Application pushing method and device and service equipment

Also Published As

Publication number Publication date
CN108076087A (en) 2018-05-25

Similar Documents

Publication Publication Date Title
CN107995215B (en) Control method and device of intelligent household equipment and cloud platform server
CN111159031B (en) Method for automatically testing application mobile terminal, computer device and computer readable storage medium
CN109254913B (en) Device sharing method and device, electronic device and computer storage medium
CN107770786B (en) Method, equipment and system for testing network performance
US20210243136A1 (en) Method, device and system for resource allocation
CN111263377B (en) Network configuration method, device, equipment and system and distribution network testing method and system
CN103517243A (en) Emergency call establishment method, network equipment and communication system
CN110460491B (en) RDMA (remote direct memory Access) -based performance test method and device
CN107231314B (en) CAN channel self-adaptation method, device and system and automobile
CN106557404B (en) Application control method and mobile terminal
CN108076087B (en) Application information sending method, device and system
CN116567094A (en) Service information processing method based on micro service system
US20170310736A1 (en) Method and system for sharing file between mobile terminals
CN114302351B (en) Short message service processing method and device, computer equipment and storage medium
CN106028303B (en) Intelligent device discovery method and device
EP3065445A1 (en) Method, cse, and system for transmitting m2m application request
CN112910572B (en) Base station test method, device and readable storage medium
CN113504981A (en) Task scheduling method and device, storage medium and electronic equipment
US9479579B2 (en) Grouping processing method and system
CN112449357B (en) Information interaction method and related equipment
CN109962962B (en) Socket connection method and device
CN107015906B (en) Test method and device, port generation method, port generator and test system
CN114286298B (en) Number processing method, device and system and short message center
CN114189384B (en) Service processing method, device, equipment and storage medium
CN110351767B (en) Wi-Fi connection management method and device, electronic terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201210

Address after: Room 603, 6 / F, Roche Plaza, 788 Cheung Sha Wan Road, Kowloon, China

Applicant after: Zebra smart travel network (Hong Kong) Limited

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant