[go: up one dir, main page]

CN109729116B - Plug-in information transmission method and device, storage medium and electronic device - Google Patents

Plug-in information transmission method and device, storage medium and electronic device Download PDF

Info

Publication number
CN109729116B
CN109729116B CN201711039180.4A CN201711039180A CN109729116B CN 109729116 B CN109729116 B CN 109729116B CN 201711039180 A CN201711039180 A CN 201711039180A CN 109729116 B CN109729116 B CN 109729116B
Authority
CN
China
Prior art keywords
information
server
push
plug
identifier
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
CN201711039180.4A
Other languages
Chinese (zh)
Other versions
CN109729116A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201711039180.4A priority Critical patent/CN109729116B/en
Publication of CN109729116A publication Critical patent/CN109729116A/en
Application granted granted Critical
Publication of CN109729116B publication Critical patent/CN109729116B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method and a device for transmitting plug-in information, a storage medium and an electronic device. Wherein, the method comprises the following steps: the method comprises the steps that a first server receives request information sent by terminal equipment, wherein the request information carries equipment information of the terminal equipment; the first server responds to the request information and determines a target push plug-in matched with the equipment information from a plurality of push plug-ins, wherein the target push plug-in is used for receiving push information which is pushed to the terminal equipment by a second server corresponding to a client, and the client is installed in the terminal equipment; the first server sends the plug-in information to the terminal equipment so as to instruct the terminal equipment to install the target push plug-in according to the plug-in information, wherein the plug-in information is used for instructing the target push plug-in. The message pushing method and device solve the technical problem that in the prior art, the pushing efficiency of the application program is low when the message is pushed.

Description

Plug-in information transmission method and device, storage medium and electronic device
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for transmitting plug-in information, a storage medium, and an electronic apparatus.
Background
With the continuous development of computer technology and network technology, a large number of applications are coming to the market, and they are applied to aspects of people's lives. However, how to keep users in the same type of application programs, and avoiding the user loss becomes an important point to be considered by application program developers. Currently, in order to increase the user's viscosity, the application program may push related messages for the user according to the user's habits, preferences, subscription information, or the like. In order to realize the function of pushing messages, the push plug-in the application program needs to be matched with the push channel, however, the push plug-ins are integrated into the installation package of the application program in the current market, and all the push plug-ins are installed in the terminal device of the user when the user installs the application program. Because the push plug-in can rely on the plug-in to carry out the propelling movement of message with the long connection of propelling movement passageway backstage by force, and terminal equipment backstage can be preferred keep alive rather than the high long connection of adaptation degree, and the long connection with terminal equipment low adaptation degree is killed by the system very easily. This seriously affects the push efficiency of the application when pushing messages.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for transmitting plug-in information, a storage medium and an electronic device, which are used for at least solving the technical problem of low pushing efficiency of an application program in message pushing in the prior art.
According to an aspect of the embodiments of the present invention, there is provided a method for transmitting plug-in information, including: a first server receives request information sent by terminal equipment, wherein the request information carries equipment information of the terminal equipment; the first server responds to the request information and determines a target push plug-in matched with the equipment information from a plurality of push plug-ins, wherein the target push plug-in is used for receiving push information which is pushed to the terminal equipment by a second server corresponding to a client, and the client is installed in the terminal equipment; the first server sends plug-in information to the terminal equipment so as to instruct the terminal equipment to install the target push plug-in according to the plug-in information, wherein the plug-in information is used for instructing the target push plug-in.
According to another aspect of the embodiments of the present invention, there is also provided a method for transmitting plug-in information, including: the method comprises the steps that a terminal device sends request information to a first server, wherein the request information carries device information of the terminal device; the terminal equipment receives plug-in information returned by the first server in response to the request information, wherein the plug-in information is used for indicating a target push plug-in which is determined by the first server from a plurality of push plug-ins and is matched with the equipment information, the target push plug-in is used for receiving push information which is pushed to the terminal equipment by a second server corresponding to a client, and the client is installed in the terminal equipment; and the terminal equipment installs the target push plug-in according to the plug-in information.
According to another aspect of the embodiments of the present invention, there is also provided a device for transmitting plug-in information, which is applied to a first server, and includes: the first receiving module is used for receiving request information sent by terminal equipment, wherein the request information carries equipment information of the terminal equipment; a determining module, configured to determine, in response to the request information, a target push plugin matched with the device information from multiple push plugins, where the target push plugin is configured to receive push information pushed to the terminal device by a second server corresponding to a client, and the client is installed in the terminal device; the first sending module is used for sending plug-in information to the terminal equipment so as to instruct the terminal equipment to install the target push plug-in according to the plug-in information, wherein the plug-in information is used for instructing the target push plug-in.
According to another aspect of the embodiments of the present invention, there is also provided a device for transmitting plug-in information, which is applied to a terminal device, and includes: a second sending module, configured to send request information to a first server, where the request information carries device information of the terminal device; a second receiving module, configured to receive plug-in information returned by the first server in response to the request information, where the plug-in information is used to indicate a target push plug-in that is determined by the first server from multiple push plug-ins and matches the device information, the target push plug-in is used to receive push information that is pushed to the terminal device by a second server corresponding to a client, and the client is installed in the terminal device; and the installation module is used for installing the target push plug-in according to the plug-in information.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein the program executes to perform the method described in any one of the above.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the method described in any one of the above through the computer program.
In the embodiment of the invention, a first server receives request information sent by terminal equipment, wherein the request information carries equipment information of the terminal equipment; the first server responds to the request information and determines a target push plug-in matched with the equipment information from a plurality of push plug-ins, wherein the target push plug-in is used for receiving push information which is pushed to the terminal equipment by a second server corresponding to a client, and the client is installed in the terminal equipment; the first server sends the plug-in information to the terminal equipment so as to instruct the terminal equipment to install the target push plug-in according to the plug-in information, wherein the plug-in information is used for instructing the target push plug-in. That is to say, the first server dynamically allocates a target push plug-in adapted to the device information of the terminal device to the terminal device according to the device information of the terminal device, and installs the target push plug-in on the terminal device, so that the terminal device has a higher probability of long connection between the keep-alive target push plug-in and the push channel background, thereby improving the push efficiency of the application program when pushing the message, and further overcoming the problem of lower push efficiency of the application program when pushing the message in the prior art.
Drawings
The accompanying drawings, which are included to provide a further understanding of embodiments of the invention, are incorporated in and constitute a part of this application.
Fig. 1 is a first schematic view of an application scenario of a method for transmitting plug-in information according to the related art;
fig. 2 is a schematic diagram of an application scenario of a method for transmitting plug-in information according to the related art;
fig. 3 is a schematic diagram of an application scenario of a method for transmitting plug-in information according to the related art;
fig. 4 is a diagram illustrating an application scenario of a method for transmitting plug-in information according to the related art;
fig. 5 is a schematic diagram of a method for transmitting plug-in information according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another method for transferring plug-in information according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating push information displayed in an alternative plug-in information transmission method according to an embodiment of the present invention;
FIG. 8 is a diagram of a unified account system for an alternative method of transferring plug-in information according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of an alternative plug-in information delivery apparatus according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of an alternative means for transferring plug-in information according to an embodiment of the present invention;
fig. 11 is a schematic view of an application scenario of an alternative plug-in information transmission method according to an embodiment of the present invention; and
FIG. 12 is a schematic view of an alternative electronic device according to embodiments of the invention;
FIG. 13 is a schematic view of another alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
In an embodiment of the present invention, an embodiment of a method for transmitting the above plug-in information is provided. As an alternative, the method for transferring the plug-in information may be but is not limited to be applied in the application environment as shown in fig. 1, the terminal device 102 is connected to the first server 104 via the network 106, the first server 104 receives the request information sent by the terminal device 102, wherein, the request information carries the device information of the terminal device 102, the first server 104 determines a target push plug-in matching with the device information from the plurality of push plug-ins in response to the request information, wherein, the target push plug-in is used for receiving push information pushed to the terminal device 102 by a second server corresponding to a client, the client is installed in the terminal device 102, the first server 104 sends the plug-in information to the terminal device 102, and instructing the terminal device 102 to install the target push plugin according to the plugin information, wherein the plugin information is used for instructing the target push plugin. The terminal device 102 receives the plug-in information returned by the first server 104 in response to the request information, and the terminal device 102 installs the target push plug-in according to the plug-in information.
In this embodiment, the first server dynamically allocates, according to the device information of the terminal device, a target push plug-in adapted to the device information of the terminal device to the terminal device, and installs the target push plug-in on the terminal device, so that the terminal device has a higher probability of long connection between the keep-alive target push plug-in and the push channel background, thereby improving the push efficiency of the application program when pushing the message, and further overcoming the problem that the push efficiency of the application program is lower when pushing the message in the prior art. .
Optionally, in this embodiment, the terminal device may include, but is not limited to, at least one of the following: mobile phones, tablet computers, notebook computers, desktop PCs, digital televisions and other hardware devices that perform network connections. The network may include, but is not limited to, at least one of: wide area networks, metropolitan area networks, and local area networks. The above is only an example, and the present embodiment is not limited to this.
In an alternative embodiment, an intelligent multi-channel PUSH framework applied in the application environment is provided, and the components of the intelligent multi-channel PUSH framework include:
smart multi-channel PUSH SDK (integrated in client installed in terminal device 102 to get target PUSH plug-in): the method is used for dynamically integrating multi-party PUSH channels, unifying PUSH interfaces and opening the PUSH interfaces to third-party services APP. According to the information such as the mobile phone model and the like, the third-party PUSH SDK can be dynamically downloaded and integrated into the service APP. Therefore, the PUSH channel of each mobile phone publisher is used on different types of mobile phones.
Smart multi-channel PUSH background (equivalent to the first server 104 described above): the system comprises a first server, a second server and a third party service background, wherein the first server is used for receiving a push message sent by the first party service background, and the second server is used for receiving a push message sent by the second party service background.
When a PUSH message arrives, the intelligent multi-channel PUSH background can select different PUSH channel backgrounds according to the stored PUSH SDK corresponding to the terminal device, PUSH the PUSH message to the PUSH channel, and then PUSH the PUSH message to the terminal device through the PUSH channel.
PUSH channel background: each PUSH SDK is provided with a background to be connected with an accessed APP background, and the intelligent multi-channel PUSH background can select different PUSH channel backgrounds to forward the PUSH message according to the PUSH SDK corresponding to the terminal.
Third party service APP (equivalent to the client): APP integrated with intelligent multi-channel PUSH SDK. For example: singularity APP, immediately known APP, etc.
Third-party service background (equivalent to the second server): background of third party service APP. For example: singular point APP service background, etc.
Optionally, in this embodiment, the terminal device 102 may send the request message to the first server 104 in, but is not limited to, one of the following scenarios: when the terminal device 102 downloads the installation package of the client, when the terminal device 102 installs the client, when the client installed on the terminal device 102 is started (may be started for the first time or may be started every time), when the client installed on the terminal device 102 is updated, and so on.
Optionally, in this embodiment, when the terminal device 102 downloads the installation package of the client, a request message is sent to the first server 104, and the terminal device 102 receives the plug-in information returned by the first server 104, may acquire the installation package of the target push plug-in according to the plug-in information, store the installation package of the target push plug-in the installation package of the client, and install the target push plug-in together when the terminal device 102 installs the client. Or the plug-in information may be stored in an installation package of the client, and when the client is installed in the terminal device 102, the installation package of the target push plug-in is obtained according to the plug-in information and installed.
In an alternative embodiment, as shown in fig. 2, a user opens a download application (the download application may be a download web page of a client, or may be application download software, etc.) in the terminal device 102, in this embodiment, taking opening application download software as an example, a download icon of the client is clicked on the download application, the terminal device 102 detects the click operation, sends request information to the first server 104, carries device information of the terminal device 102 in the request information, the first server 104 determines a target push plug-in that matches the device information from a plurality of push plug-ins, and sends plug-in information of the target push plug-in to the terminal device 102. The terminal device 102 may obtain the installation package of the target push plugin from the third server 202 corresponding to the target push plugin according to the plugin information.
Optionally, in this embodiment, when the terminal device 102 starts the client, a request message is sent to the first server 104, and the terminal device 102 receives the plug-in information returned by the first server 104, and may obtain the installation package of the target push plug-in according to the plug-in information and install the target push plug-in.
In an optional implementation, as shown in fig. 3, a user starts a client in a terminal device 102, the terminal device 102 detects the start operation, sends request information to a first server 104, carries device information of the terminal device 102 in the request information, the first server 104 determines a target push plug-in matching the device information from a plurality of push plug-ins, and sends plug-in information of the target push plug-in to the terminal device 102. The terminal device 102 may install the target push plug-in according to the plug-in information.
Optionally, in this embodiment, when the terminal device 102 updates the client, a request message is sent to the first server 104, and the terminal device 102 receives the plug-in information returned by the first server 104, and may obtain the installation package of the target push plug-in according to the plug-in information and install the target push plug-in to complete the update of the client.
In an optional embodiment, as shown in fig. 4, a client installed in the terminal device 102 performs an update, where the update operation may be triggered by a user or automatically triggered by the client, the terminal device 102 detects the update operation, sends request information to the first server 104, and carries device information of the terminal device 102 in the request information, and the first server 104 determines a target push plug-in matching the device information from a plurality of push plug-ins, and sends plug-in information of the target push plug-in to the terminal device 102. The terminal device 102 may install the target push plug-in according to the plug-in information, thereby updating the client.
According to an embodiment of the present invention, there is provided a method for transmitting plug-in information, as shown in fig. 5, the method includes:
s502, a first server receives request information sent by terminal equipment, wherein the request information carries equipment information of the terminal equipment;
s504, the first server responds to the request information and determines a target push plug-in matched with the equipment information from the plurality of push plug-ins, wherein the target push plug-in is used for receiving push information which is pushed to the terminal equipment by a second server corresponding to the client, and the client is installed in the terminal equipment;
s506, the first server sends the plug-in information to the terminal equipment so as to instruct the terminal equipment to install the target push plug-in according to the plug-in information, wherein the plug-in information is used for instructing the target push plug-in.
Optionally, in this embodiment, the above-mentioned method for transmitting the plug-in information may be, but is not limited to, applied to a scenario in which a message is pushed to a client installed on a terminal device. The client may be, but not limited to, various types of software, such as online education software, remote control software, instant messaging software, community space software, game software, shopping software, financial software, browser software, news information software, and the like. Specifically, the method can be applied to, but not limited to, the scenario of pushing a message to the client of the news information software installed on the terminal device, or can also be applied to, but not limited to, the scenario of pushing a message to the client of the instant messaging software installed on the terminal device, so as to improve the pushing efficiency of message pushing. The above is only an example, and this is not limited in this embodiment.
Optionally, in this embodiment, the first server may be, but is not limited to, a server for allocating a push plug-in to a terminal device. The first server may be, but is not limited to, a server provided for the client. For example: for the client a, the second server a corresponding to the client a may serve as the first server, and allocate a target push plug-in adapted to different terminal devices in which the client a is installed. Or the first server a provided by the third party a may allocate a target push plug-in adapted to different terminal devices installing the client a.
Optionally, in this embodiment, the push plug-in may include, but is not limited to: PUSH software development kit (PUSH SDK). For example: the PUSH SDK may be provided by the publisher of the terminal equipment or may be provided by a third party platform.
Optionally, in this embodiment, the device information may include, but is not limited to: terminal model information, memory version information, system version information, and the like. The terminal model information is used for indicating the model of the terminal equipment, the memory version information is used for indicating the version of a memory carried in the terminal equipment, and the system version information is used for indicating the version of a system used by the terminal equipment.
Obviously, through the steps, the first server dynamically allocates the target push plug-in adaptive to the device information of the terminal device to the terminal device according to the device information of the terminal device, and installs the target push plug-in on the terminal device, so that the terminal device has a long connection between the keep-alive target push plug-in and the push channel background with a higher probability, thereby improving the push efficiency of the application program when pushing the message, and further overcoming the problem of lower push efficiency of the application program when pushing the message in the prior art.
As an optional solution, the determining, by the first server, a target push plug-in matching the device information from the plurality of push plug-ins includes:
s1, the first server determines the device type of the terminal device according to the device information;
s2, the first server searches for a push plug-in corresponding to the device type of the terminal device from the corresponding relation between the device type and the push plug-in, and determines the found push plug-in corresponding to the device type of the terminal device as a target push plug-in.
Optionally, in this embodiment, the first server stores a correspondence between the device type and the push plug-in, and the first server may find the target push plug-in corresponding to the terminal device from the correspondence according to the device type of the terminal device. For example: the corresponding relationship between the device type and the push plug-in stored in the first server is shown in table 1, where table 1 stores the corresponding relationship between the device type identifier and the push plug-in identifier. The first server receives request information sent by the terminal device 1, and determines that the identifier of the device TYPE of the terminal device 1 is TYPE1 according to the device information carried in the request information, the first server searches for the identifier of a PUSH plugin corresponding to the device TYPE1 of the terminal device 1 from table 1 as PUSH SDK1, determines the found PUSH plugin corresponding to the PUSH SDK1 as a target PUSH plugin, and sends plugin information for indicating the target PUSH plugin PUSH SDK1 to the terminal device so as to indicate the terminal device to install the target PUSH plugin according to the plugin information, wherein the plugin information may carry a download link of the target PUSH plugin or an installation package of the target PUSH plugin.
TABLE 1
Device type identification Push plug-in identification
TYPE1 PUSH SDK1
TYPE2 PUSH SDK2
TYPE3 PUSH SDK3
In an optional embodiment, the correspondence between the device type and the push plug-in stored in the first server may be that a push plug-in issued by a publisher of the terminal device corresponds to a terminal device issued by the publisher, and a terminal device issued by the publisher of the terminal device that does not issue the push plug-in may correspond to a preset push plug-in. As shown in table 2, the terminal equipment TYPE11, TYPE12, TYPE13, TYPE14, TYPE15, TYPE16, TYPE17 issued by the issuer 1 correspond to the PUSH plug-in issuer PUSH SDK released by the issuer 1, the terminal equipment TYPE21, TYPE22, TYPE23, TYPE24 issued by the issuer 2 correspond to the PUSH plug-in issuer 2PUSH SDK released by the issuer 2, the terminal equipment TYPE31, TYPE32, TYPE33, TYPE41, TYPE42, TYPE43, TYPE44, TYPE45, TYPE51, TYPE61 issued by the issuer who does not release the PUSH plug-in correspond to the preset PUSH plug-in preset PUSH SDK. The first server receives request information sent by the terminal device A, determines that the device TYPE of the terminal device A is TYPE45 according to the device information carried in the request information, searches for a PUSH plugin corresponding to the device TYPE TYPE45 of the terminal device A from the table 2 as a preset PUSH SDK, determines the found preset PUSH SDK as a target PUSH plugin, and sends plugin information for indicating the target PUSH plugin as the preset PUSH SDK to the terminal device so as to indicate the terminal device to install the target PUSH plugin according to the plugin information, wherein the plugin information can carry a download link of the preset PUSH SDK or an installation package of the preset PUSH SDK.
TABLE 2
Figure BDA0001450109910000091
Figure BDA0001450109910000101
Through the steps, the corresponding push plug-in is dynamically selected to be downloaded from the background according to the equipment information of the terminal equipment. The adaptation between the push plug-in and the terminal equipment is stronger, so that the terminal equipment has higher probability of long connection between the keep-alive target push plug-in and the push channel background, the push efficiency of the application program in message push is improved, and the problem of lower push efficiency of the application program in message push in the prior art is solved.
As an optional solution, the determining, by the first server, a target push plug-in matching the device information from the plurality of push plug-ins includes:
s1, the first server determines an information arrival rate of each push plug-in the plurality of push plug-ins according to the device information, wherein the information arrival rate is used for indicating the probability that a message pushed by a server corresponding to the push plug-ins arrives at a device of which the type is a target type, and the target type is the device type of the terminal device;
s2, the first server determines the push plug-in with the information arrival rate meeting the preset condition as the target push plug-in.
Optionally, in this embodiment, the degree of adaptation between the terminal device and the push plug-in may be, but is not limited to, represented by an information arrival rate of the push plug-in. The information arrival rate is used for indicating the probability that the message pushed by the server corresponding to the push plug-in reaches the device with the target type, and the target type is the device type of the terminal device. That is, the probability that the message sent by the server corresponding to each push plug-in reaches the device of the type of the terminal device can be determined according to the device information.
In an alternative embodiment, the plurality of push plug-ins comprises: the first server determines that the information arrival rate corresponding to the push plug-in A is M%, the information arrival rate corresponding to the push plug-in B is N%, and the information arrival rate corresponding to the push plug-in C is P% according to the device information of the terminal device 1. Wherein N > M > P.
Optionally, in this embodiment, the first server may determine, but is not limited to, an information arrival rate of each of the plurality of push plug-ins by:
step 1, a first server respectively determines a first information arrival rate of each push plug-in corresponding to terminal model information carried in equipment information, wherein the terminal model information is used for indicating the model of terminal equipment;
step 2, the first server respectively determines a second information arrival rate of each push plug-in corresponding to the memory version information carried in the device information, wherein the memory version information is used for indicating the version of the memory carried in the terminal device;
step 3, the first server respectively determines a third information arrival rate of each push plug-in corresponding to system version information carried in the device information, wherein the system version information is used for indicating the version of a system used by the terminal device;
and 4, respectively acquiring weighted averages of the first information arrival rate, the second information arrival rate and the third information arrival rate corresponding to each push plug-in according to preset weights, and determining the weighted averages as the information arrival rates of each push plug-in.
It should be noted that, the execution sequence of the step 1, the step 2, and the step 3 is not sequential, and two or all of the steps may be executed simultaneously.
For example, in the above optional embodiment, the first server determines that the first information arrival rate of the push plug-in a corresponding to the terminal model information carried in the device information is M1%, the first information arrival rate of the push plug-in B is N1%, and the first information arrival rate of the push plug-in C is P1%. The first server determines that the second information arrival rate M2%, the second information arrival rate N2% and the second information arrival rate P2% of the push plug-in A, the push plug-in B and the push plug-in C correspond to the memory version information carried in the device information. The first server determines that the third information arrival rate M3%, the third information arrival rate N3% and the third information arrival rate P3% of the push plug-in A, the push plug-in B and the push plug-in C correspond to the system version information carried in the device information.
The preset weights corresponding to the terminal model information, the memory version information and the memory version information are k1, k2 and k3 respectively, the first server obtains the information arrival rate of the push plugin A according to the preset weights, wherein the M% is (k1 × M1% + k2 × N1% + k3 × P1%)/3, the information arrival rate of the push plugin B is (k1 × M2% + k2 × N2% + k3 × P2%)/3, and the information arrival rate of the push plugin C is P% + P1 × M3% + k2 × N3% + k3 × P3%)/3.
Optionally, in this embodiment, the information arrival rate may be determined by a trained classifier model. The input parameter of the classifier model may be various device information of the terminal device, and the output parameter may be an information arrival rate corresponding to each push plug-in. And the first server inputs the equipment information provided by the terminal equipment to the classifier model, and acquires the output value of the classifier model as the information arrival rate corresponding to each push plug-in.
It should be noted that the information arrival rate is not limited to be a weighted average obtained by respectively obtaining the first information arrival rate, the second information arrival rate, and the third information arrival rate corresponding to each push plug-in according to a preset weight, and the information arrival rate may also be obtained in other forms, which is not described in this embodiment again.
Optionally, in this embodiment, the preset condition that the information arrival rate satisfies may be, but is not limited to, one of the following: the information arrival rate is highest, the information arrival rate falls within a preset threshold range, the information arrival rate is higher than a preset value, and the like.
For example: the first server may determine the targeted push plug-in by, but is not limited to, one of:
in the first mode, the first server determines the push plug-in with the highest information arrival rate in the plurality of push plug-ins as the target push plug-in.
In the above optional embodiment, the push plugin with the highest information arrival rate is the push plugin B, and the first server may determine the push plugin B as the target push plugin.
In a second mode, the first server determines a push plugin of which the information arrival rate falls within a preset threshold range from the plurality of push plugins as a target push plugin.
In the above alternative embodiment, the preset threshold range may be [ 100%, P%), the push plug-ins with the information arrival rates falling within the preset threshold range are the push plug-in a and the push plug-in B, and the first server may determine the push plug-ins a and the push plug-ins B as the target push plug-ins.
As an optional scheme, the sending, by the first server, the plug-in information to the terminal device to instruct the terminal device to push the plug-in according to the plug-in information installation target includes one of:
s1, the first server sends the download link corresponding to the target push plug-in to the terminal equipment so as to instruct the terminal equipment to download the first installation package of the target push plug-in according to the download link and install the first installation package;
and S2, the first server sends the second installation package corresponding to the target push plug-in to the terminal device to instruct the terminal device to install the second installation package.
Optionally, in this embodiment, the plug-in information may carry a download link corresponding to the target push plug-in, or may carry an installation package corresponding to the target push plug-in.
As an optional scheme, after the first server sends the plug-in information to the terminal device, the method further includes:
s1, the first server establishes a first corresponding relation between the identifier of the terminal device and the identifier of the third server corresponding to the target push plug-in;
and S2, the first server forwards the push information sent by the second server to the terminal equipment according to the first corresponding relation.
Optionally, in this embodiment, the identifier of the terminal device may be, but is not limited to, an identifier that the terminal device sends to the first server, or may also be an identifier that the first server allocates to the terminal device according to the device information of the terminal device.
For example: the first correspondence may be a correspondence table stored in the first server or the database, as shown in table 3, where a correspondence between the identifier of the terminal device and the identifier of the third server is recorded.
TABLE 3
Identification of terminal equipment Identification of third server
Token1 SERVER
1
Token2 SERVER 2
Token3 SERVER 3
Optionally, in this embodiment, the first server may forward, but is not limited to, the push information pushed by the second server to the terminal device by:
the first server receives the push information sent by the second server and the identification of the terminal equipment;
the first server acquires the identifier of the third server from the first corresponding relation according to the identifier of the terminal equipment;
and the first server sends the push information and the identifier of the terminal equipment to the third server so as to instruct the third server to send the push information to the terminal equipment according to the identifier of the terminal equipment.
In an optional implementation manner, the first SERVER receives the push information sent by the second SERVER and the identifier Token2 of the terminal device, the first SERVER obtains the identifier SERVER2 of the third SERVER from the first correspondence (table 3) according to the identifier Token2 of the terminal device, and the first SERVER sends the push information and the identifier Token2 of the terminal device to the third SERVER2, so as to instruct the third SERVER2 to send the push information to the terminal device according to the identifier Token2 of the terminal device.
Optionally, in this embodiment, the first server may allocate a first identifier to the terminal device, where the first identifier is used to uniquely identify the terminal device on the first server, and send the terminal device with the first identifier carried in the plug-in information. For example: the first server distributes a first identifier for the terminal device according to the device information, wherein the first identifier is used for uniquely identifying the terminal device on the first server, the plug-in information carries the first identifier, the first server establishes a second corresponding relation between the first identifier and the identifier of the third server, and the second corresponding relation is used as the first corresponding relation.
Optionally, in this embodiment, the terminal device may register on a third server corresponding to the target push plugin, and send an identifier allocated to the terminal device by the third server to the first server. For example: the first server receives a second identifier sent by the terminal equipment, wherein the second identifier is used for uniquely identifying the terminal equipment on a third server, and the second identifier is an identifier distributed to the terminal equipment by the third server; and the first server establishes a third corresponding relation among the first identifier, the identifier of the third server and the second identifier, and takes the third corresponding relation as a second corresponding relation.
In the above optional implementation, the first server receives the second identifier Token12 sent by the terminal device Token1, the second identifier Token22 sent by the terminal device Token2, and the second identifier Token32 sent by the terminal device Token3, the first server establishes a third correspondence between the first identifier, the identifier of the third server, and the second identifier, and takes the third correspondence as a second correspondence, and the obtained correspondence table is shown in table 4.
TABLE 4
First mark Identification of third server Second label
Token1 SERVER1 Token12
Token2 SERVER 2 Token22
Token3 SERVER 3 Token32
Optionally, in this embodiment, the first server may forward, but is not limited to, the push information sent by the second server to the terminal device by: the first server receives the push information and the first identification sent by the second server; the first server acquires the identifier and the second identifier of the third server from the first corresponding relation according to the first identifier; and the first server sends the push information and the second identifier to a third server corresponding to the identifier of the third server so as to instruct the third server to send the push information to the terminal equipment according to the second identifier.
For example, in the above optional implementation, the first SERVER receives the push information and the first identifier Token2 sent by the second SERVER, the first SERVER obtains the identifier SERVER2 and the second identifier Token22 of the third SERVER from the first corresponding relationship (table 4) according to the first identifier Token2, and the first SERVER sends the push information and the second identifier Token22 to the third SERVER corresponding to the identifier SERVER2 of the third SERVER, so as to instruct the third SERVER to send the push information to the terminal device according to the second identifier Token 22.
Optionally, in this embodiment, the first server may provide a default push plugin for the terminal device, and if the first server fails to forward the push information sent by the second server to the terminal device according to the first corresponding relationship, the first server may forward the push information to the terminal device through a fourth server corresponding to the default push plugin, so as to improve a push success rate of the push information, and thus improve push efficiency of the push information. For example: and under the condition that the first server fails to forward the push information sent by the second server to the terminal equipment according to the first corresponding relation, the first server sends the push information and the identification of the terminal equipment to a fourth server corresponding to the default push plugin so as to indicate the fourth server to send the push information to the terminal equipment according to the identification of the terminal equipment, wherein the plugin information carries the installation information of the default push plugin so as to indicate the terminal equipment to install the default push plugin according to the installation information.
According to an embodiment of the present invention, another method for transmitting plug-in information is further provided, as shown in fig. 6, the method includes:
s602, the terminal device sends request information to the first server, wherein the request information carries device information of the terminal device;
s604, the terminal device receives plug-in information returned by the first server in response to the request information, wherein the plug-in information is used for indicating a target push plug-in which the first server determines from the plurality of push plug-ins and is matched with the device information, the target push plug-in is used for receiving push information which is pushed to the terminal device by a second server corresponding to a client, and the client is installed in the terminal device;
and S606, the terminal equipment installs the target push plug-in according to the plug-in information.
Optionally, in this embodiment, the first server may be, but is not limited to, a server for allocating a push plug-in to a terminal device. The first server may be, but is not limited to, a server provided for the client. For example: for the client a, the second server a corresponding to the client a may serve as the first server, and allocate a target push plug-in adapted to different terminal devices in which the client a is installed. Or the first server a provided by the third party a may allocate a target push plug-in adapted to different terminal devices installing the client a.
Optionally, in this embodiment, the push plug-in may include, but is not limited to: PUSH software development kit (PUSH SDK). For example: the PUSH SDK may be provided by the publisher of the terminal equipment or may be provided by a third party platform.
Optionally, in this embodiment, the device information may include, but is not limited to: terminal model information, memory version information, system version information, and the like. The terminal model information is used for indicating the model of the terminal equipment, the memory version information is used for indicating the version of a memory carried in the terminal equipment, and the system version information is used for indicating the version of a system used by the terminal equipment.
Obviously, through the steps, the first server dynamically allocates the target push plug-in adaptive to the device information of the terminal device to the terminal device according to the device information of the terminal device, and installs the target push plug-in on the terminal device, so that the terminal device has a long connection between the keep-alive target push plug-in and the push channel background with a higher probability, thereby improving the push efficiency of the application program when pushing the message, and further overcoming the problem of lower push efficiency of the application program when pushing the message in the prior art.
As an optional scheme, the terminal device installing the target push plug-in according to the plug-in information includes one of the following:
s1, under the condition that the plug-in information carries a download link corresponding to the target push plug-in, the terminal equipment acquires a first installation package of the target push plug-in from a download path indicated by the download link; the terminal equipment installs a first installation package;
and S2, under the condition that the plug-in information carries a second installation package corresponding to the target push plug-in, the terminal equipment installs the second installation package.
Optionally, in this embodiment, the plug-in information may carry a download link corresponding to the target push plug-in, or may carry an installation package corresponding to the target push plug-in.
As an optional scheme, after the terminal device installs the target push plug-in according to the plug-in information, the method further includes:
s1, the terminal device receives a push message which is forwarded to the terminal device by the first server according to a first corresponding relation, wherein the first corresponding relation is a corresponding relation between an identifier of the terminal device established by the first server and an identifier of a third server corresponding to the target push plug-in, and the push message is a message which is pushed to the terminal device by the second server;
and S2, the terminal device displays the push message in the notification bar of the terminal device.
In an alternative embodiment, the notification bar of the terminal device may be, but is not limited to, a drop-down bar of the terminal device. As shown in fig. 7, the terminal device displays the received push message in a drop-down bar, and may display a client icon, a reception time of the push message, and a content digest of the push message (which may be a title of the push message, a sentence in the push message in which center content is embodied, a sentence summarized from the content of the push message), and the like.
Optionally, in this embodiment, the push message received by the terminal device is a push message forwarded by the third server.
Optionally, in this embodiment, when the terminal device fails to receive the push message forwarded to the terminal device by the first server according to the first corresponding relationship, the method further includes:
the terminal equipment receives a push message sent by a fourth server corresponding to the default push plug-in, wherein the plug-in information carries installation information of the default push plug-in, and the terminal equipment installs the default push plug-in according to the installation information;
the terminal device displays the push message in a notification bar of the terminal device.
Optionally, in this embodiment, the first server may provide a default push plugin for the terminal device, and if the first server fails to forward the push information sent by the second server to the terminal device according to the first corresponding relationship, the first server may forward the push information to the terminal device through a fourth server corresponding to the default push plugin, so as to improve a push success rate of the push information, and thus improve push efficiency of the push information.
As an optional scheme, the plug-in information carries a first identifier, where the first identifier is an identifier allocated by the first server to the terminal device according to the device information, and the first identifier is used to uniquely identify the terminal device on the first server, where after the terminal device pushes the plug-in according to the plug-in information installation target, the method further includes:
and the terminal equipment sends the first identifier to a second server, wherein the second server carries the first identifier in the push message.
Optionally, in this embodiment, the terminal device may send the first identifier allocated to the terminal device by the first server to the second server, so that the second server may carry the first identifier in the push message when sending the push message to the terminal device, so that the first server searches for the target push plugin corresponding to the terminal device.
As an optional scheme, after the terminal device installs the target push plug-in according to the plug-in information, the method further includes:
the terminal equipment sends registration information to a third server, wherein the registration information is used for registering the terminal equipment on the third server;
the terminal equipment acquires a second identifier returned by the third server in response to the registration information, wherein the second identifier is an identifier distributed to the terminal equipment by the third server, and the second identifier is used for uniquely identifying the terminal equipment on the third server;
and the terminal equipment sends the second identifier to the first server.
Optionally, in this embodiment, the terminal device may register on a third server corresponding to the target push plugin, and send an identifier allocated to the terminal device by the third server to the first server.
In an optional embodiment, each PUSH plug-in PUSH SDK generates a unique identification string to identify the terminal device integrated with its SDK, and is used by the third server PUSH background to identify the terminal device, which is collectively referred to as Token.
Because there is PUSH SDK issued by multiple parties, each issuer has its own account Token system, so that the account systems of the respective issuers can be associated by using a set of unified account system.
For example: the terminal device may integrate the first PUSH SDK and the preset PUSH SDK at the same time, so that one APP may have the first PUSH Token corresponding to the first PUSH SDK and the preset PUSH Token corresponding to the preset PUSH SDK at the same time, and the first PUSH Token and the preset PUSH Token may be associated by using the account PUSH Token allocated to the terminal device by the first server. When the message is pushed, the PUSH Token may be found first, and the first server finds the first PUSH Token of the terminal device or the preset PUSH Token through the PUSH Token value and sends the first PUSH Token or the preset PUSH Token to the corresponding third server.
In this optional embodiment, as shown in fig. 8, the flow of the unified account system is as follows: the first server obtains the unique identifier Token of the terminal device from the background, and the unique identifier Token is generated by calculating information such as a generation rule of the Token of the terminal device, an ANDROID system identifier (ANDROID ID), an International Mobile Equipment Identity (IMEI for short) value and the like according to the device ID of the terminal device and application. And the first server acquires the Token of the third party PUSH, which is obtained by registering the terminal equipment on the third server corresponding to the third party PUSH SDK. The first server associates Token with the third party PUSH Token. And the first server sends the Token of the terminal equipment to the terminal equipment. The client sends the Token of the terminal device to the corresponding second server, and then sends the Token of the terminal device to the first server when the second server sends the push message.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention.
According to an embodiment of the present invention, there is also provided a plug-in information transmission apparatus for implementing the above plug-in information transmission method, applied to a first server, as shown in fig. 9, the apparatus includes:
1) a first receiving module 92, configured to receive request information sent by a terminal device, where the request information carries device information of the terminal device;
2) a determining module 94, configured to determine, in response to the request information, a target push plug-in that matches the device information from among multiple push plug-ins, where the target push plug-in is configured to receive push information that is pushed to the terminal device by a second server corresponding to a client, and the client is installed in the terminal device;
3) the first sending module 96 is configured to send the plug-in information to the terminal device, so as to instruct the terminal device to install the target push plug-in according to the plug-in information, where the plug-in information is used to instruct the target push plug-in.
Optionally, in this embodiment, the first server may be, but is not limited to, a server for allocating a push plug-in to a terminal device. The first server may be, but is not limited to, a server provided for the client. For example: for the client a, the second server a corresponding to the client a may serve as the first server, and allocate a target push plug-in adapted to different terminal devices in which the client a is installed. Or the first server a provided by the third party a may allocate a target push plug-in adapted to different terminal devices installing the client a.
Optionally, in this embodiment, the device information may include, but is not limited to: terminal model information, memory version information, system version information, and the like. The terminal model information is used for indicating the model of the terminal equipment, the memory version information is used for indicating the version of a memory carried in the terminal equipment, and the system version information is used for indicating the version of a system used by the terminal equipment.
Therefore, through the device, the first server dynamically allocates the target push plug-in adaptive to the device information of the terminal device according to the device information of the terminal device, and installs the target push plug-in on the terminal device, so that the terminal device has a long connection between the keep-alive target push plug-in and the push channel background with a higher probability, the push efficiency of the application program in message push is improved, and the problem of low push efficiency of the application program in message push in the prior art is solved.
As an optional solution, the determining module includes:
1) the first determining unit is used for determining the equipment type of the terminal equipment according to the equipment information;
2) and the second determining unit is used for searching the push plug-in corresponding to the equipment type of the terminal equipment from the corresponding relation between the equipment type and the push plug-in, and determining the searched push plug-in corresponding to the equipment type of the terminal equipment as the target push plug-in.
Optionally, in this embodiment, the first server stores a correspondence between the device type and the push plug-in, and the first server may find the target push plug-in corresponding to the terminal device from the correspondence according to the device type of the terminal device. For example: the corresponding relationship between the device type and the push plug-in stored in the first server is shown in table 5, where the corresponding relationship between the device type identifier and the push plug-in identifier is stored in table 5. The first server receives request information sent by the terminal device 1, determines that the identifier of the device TYPE of the terminal device 1 is TYPE1 according to the device information carried in the request information, searches for the identifier of a PUSH plugin corresponding to the device TYPE TYPE1 of the terminal device 1 from table 5 to be PUSH SDK1, determines the found PUSH plugin corresponding to the PUSH SDK1 to be a target PUSH plugin, and sends plugin information for indicating the target PUSH plugin PUSH SDK1 to the terminal device to indicate the terminal device to install the target PUSH plugin according to the plugin information, wherein the plugin information may carry a download link of the target PUSH plugin or an installation package of the target PUSH plugin.
TABLE 5
Device type identification Push plug-in identification
TYPE1 PUSH SDK1
TYPE2 PUSH SDK2
TYPE3 PUSH SDK3
In an optional embodiment, the correspondence between the device type and the push plug-in stored in the first server may be that a push plug-in issued by a publisher of the terminal device corresponds to a terminal device issued by the publisher, and a terminal device issued by the publisher of the terminal device that does not issue the push plug-in may correspond to a preset push plug-in. As shown in table 6, the terminal equipment TYPE11, TYPE12, TYPE13, TYPE14, TYPE15, TYPE16, TYPE17 issued by the issuer 1 correspond to the PUSH plug-in issuer PUSH SDK released by the issuer 1, the terminal equipment TYPE21, TYPE22, TYPE23, TYPE24 issued by the issuer 2 correspond to the PUSH plug-in issuer 2PUSH SDK released by the issuer 2, the terminal equipment TYPE31, TYPE32, TYPE33, TYPE41, TYPE42, TYPE43, TYPE44, TYPE45, TYPE51, TYPE61 issued by the issuer who does not release the PUSH plug-in correspond to the preset PUSH plug-in preset PUSH SDK. The first server receives request information sent by the terminal device A, determines that the device TYPE of the terminal device A is TYPE45 according to the device information carried in the request information, searches for a PUSH plugin corresponding to the device TYPE TYPE45 of the terminal device A from the table 6 as a preset PUSH SDK, determines the found preset PUSH SDK as a target PUSH plugin, and sends plugin information for indicating the target PUSH plugin as the preset PUSH SDK to the terminal device so as to indicate the terminal device to install the target PUSH plugin according to the plugin information, wherein the plugin information can carry a download link of the preset PUSH SDK or an installation package of the preset PUSH SDK.
TABLE 6
Figure BDA0001450109910000211
By the device, the corresponding push plug-in is dynamically selected to be downloaded from the background according to the equipment information of the terminal equipment. The adaptation between the push plug-in and the terminal equipment is stronger, so that the terminal equipment has higher probability of long connection between the keep-alive target push plug-in and the push channel background, the push efficiency of the application program in message push is improved, and the problem of lower push efficiency of the application program in message push in the prior art is solved.
As an optional solution, the determining module includes:
1) a third determining unit, configured to determine, according to the device information, an information arrival rate of each push plug-in the multiple push plug-ins, where the information arrival rate is used to indicate a probability that a message pushed by a server corresponding to the push plug-in arrives at a device of which a type is a target type, and the target type is a device type of the terminal device;
2) and the fourth determining unit is used for determining the push plug-in with the information arrival rate meeting the preset condition in the plurality of push plug-ins as the target push plug-in.
Optionally, in this embodiment, the degree of adaptation between the terminal device and the push plug-in may be, but is not limited to, represented by an information arrival rate of the push plug-in. The information arrival rate is used for indicating the probability that the message pushed by the server corresponding to the push plug-in reaches the device with the target type, and the target type is the device type of the terminal device. That is, the probability that the message sent by the server corresponding to each push plug-in reaches the device of the type of the terminal device can be determined according to the device information.
In an alternative embodiment, the plurality of push plug-ins comprises: the first server determines that the information arrival rate corresponding to the push plug-in A is M%, the information arrival rate corresponding to the push plug-in B is N%, and the information arrival rate corresponding to the push plug-in C is P% according to the device information of the terminal device 1. Wherein N > M > P.
Optionally, in this embodiment, the third determining unit is configured to: respectively determining a first information arrival rate of each push plug-in corresponding to terminal model information carried in the equipment information, wherein the terminal model information is used for indicating the model of the terminal equipment; respectively determining a second information arrival rate of each push plug-in corresponding to the memory version information carried in the device information, wherein the memory version information is used for indicating the version of the memory carried in the terminal device; respectively determining a third information arrival rate of each push plug-in corresponding to system version information carried in the device information, wherein the system version information is used for indicating the version of a system used by the terminal device; and respectively obtaining a weighted average of the first information arrival rate, the second information arrival rate and the third information arrival rate corresponding to each push plugin according to a preset weight, and determining the weighted average as the information arrival rate of each push plugin.
For example, in the above optional embodiment, the first server determines that the first information arrival rate of the push plug-in a corresponding to the terminal model information carried in the device information is M1%, the first information arrival rate of the push plug-in B is N1%, and the first information arrival rate of the push plug-in C is P1%. The first server determines that the second information arrival rate M2%, the second information arrival rate N2% and the second information arrival rate P2% of the push plug-in A, the push plug-in B and the push plug-in C correspond to the memory version information carried in the device information. The first server determines that the third information arrival rate M3%, the third information arrival rate N3% and the third information arrival rate P3% of the push plug-in A, the push plug-in B and the push plug-in C correspond to the system version information carried in the device information.
The preset weights corresponding to the terminal model information, the memory version information and the memory version information are k1, k2 and k3 respectively, the first server obtains the information arrival rate of the push plugin A according to the preset weights, wherein the M% is (k1 × M1% + k2 × N1% + k3 × P1%)/3, the information arrival rate of the push plugin B is (k1 × M2% + k2 × N2% + k3 × P2%)/3, and the information arrival rate of the push plugin C is P% + P1 × M3% + k2 × N3% + k3 × P3%)/3.
Optionally, in this embodiment, the information arrival rate may be determined by a trained classifier model. The input parameter of the classifier model may be various device information of the terminal device, and the output parameter may be an information arrival rate corresponding to each push plug-in. And the first server inputs the equipment information provided by the terminal equipment to the classifier model, and acquires the output value of the classifier model as the information arrival rate corresponding to each push plug-in.
It should be noted that the information arrival rate is not limited to be a weighted average obtained by respectively obtaining the first information arrival rate, the second information arrival rate, and the third information arrival rate corresponding to each push plug-in according to a preset weight, and the information arrival rate may also be obtained in other forms, which is not described in this embodiment again.
Optionally, in this embodiment, the fourth determining unit is configured to:
determining a push plug-in with the highest information arrival rate in a plurality of push plug-ins as a target push plug-in;
and determining the push plug-in with the information arrival rate falling within the preset threshold range in the plurality of push plug-ins as a target push plug-in.
Optionally, in this embodiment, the preset condition that the information arrival rate satisfies may be, but is not limited to, one of the following: the information arrival rate is highest, the information arrival rate falls within a preset threshold range, the information arrival rate is higher than a preset value, and the like.
In the above optional embodiment, the push plugin with the highest information arrival rate is the push plugin B, and the first server may determine the push plugin B as the target push plugin.
In the above alternative embodiment, the preset threshold range may be [ 100%, P%), the push plug-ins with the information arrival rates falling within the preset threshold range are the push plug-in a and the push plug-in B, and the first server may determine the push plug-ins a and the push plug-ins B as the target push plug-ins.
Optionally, in this embodiment, the first sending module is configured to:
sending a download link corresponding to the target push plug-in to the terminal equipment so as to instruct the terminal equipment to download a first installation package of the target push plug-in according to the download link and install the first installation package;
and sending the second installation package corresponding to the target push plug-in to the terminal equipment so as to indicate the terminal equipment to install the second installation package.
Optionally, in this embodiment, the plug-in information may carry a download link corresponding to the target push plug-in, or may carry an installation package corresponding to the target push plug-in.
As an optional scheme, the device further comprises:
1) the establishing module is used for establishing a first corresponding relation between the identifier of the terminal equipment and the identifier of a third server corresponding to the target push plug-in;
2) and the forwarding module is used for forwarding the push information sent by the second server to the terminal equipment according to the first corresponding relation.
Optionally, in this embodiment, the identifier of the terminal device may be, but is not limited to, an identifier that the terminal device sends to the first server, or may also be an identifier that the first server allocates to the terminal device according to the device information of the terminal device.
For example: the first correspondence may be a correspondence table stored in the first server or the database, as shown in table 7, in which a correspondence between the identifier of the terminal device and the identifier of the third server is recorded.
TABLE 7
Identification of terminal equipment Identification of third server
Token1 SERVER1
Token2 SERVER 2
Token3 SERVER 3
Optionally, in this embodiment, the forwarding module is configured to: receiving the push information sent by the second server and the identification of the terminal equipment; acquiring an identifier of a third server from the first corresponding relation according to the identifier of the terminal equipment; and sending the push information and the identifier of the terminal equipment to a third server so as to instruct the third server to send the push information to the terminal equipment according to the identifier of the terminal equipment.
In an optional implementation manner, the first SERVER receives the push information sent by the second SERVER and the identifier Token2 of the terminal device, the first SERVER obtains the identifier SERVER2 of the third SERVER from the first correspondence (table 7) according to the identifier Token2 of the terminal device, and the first SERVER sends the push information and the identifier Token2 of the terminal device to the third SERVER2, so as to instruct the third SERVER2 to send the push information to the terminal device according to the identifier Token2 of the terminal device.
Optionally, in this embodiment, the establishing module is configured to: allocating a first identifier for the terminal equipment according to the equipment information, wherein the first identifier is used for uniquely identifying the terminal equipment on a first server, and the plug-in information carries the first identifier; and establishing a second corresponding relation between the first identifier and the identifier of the third server, and taking the second corresponding relation as the first corresponding relation.
Optionally, in this embodiment, the first server may allocate a first identifier to the terminal device, where the first identifier is used to uniquely identify the terminal device on the first server, and send the terminal device with the first identifier carried in the plug-in information.
Optionally, in this embodiment, the establishing module is configured to: receiving a second identifier sent by the terminal equipment, wherein the second identifier is used for uniquely identifying the terminal equipment on a third server, and the second identifier is an identifier distributed to the terminal equipment by the third server; and establishing a third corresponding relation among the first identifier, the identifier of the third server and the second identifier, and taking the third corresponding relation as a second corresponding relation.
Optionally, in this embodiment, the terminal device may register on a third server corresponding to the target push plugin, and send an identifier allocated to the terminal device by the third server to the first server.
In the above optional implementation, the first server receives the second identifier Token12 sent by the terminal device Token1, the second identifier Token22 sent by the terminal device Token2, and the second identifier Token32 sent by the terminal device Token3, the first server establishes a third correspondence between the first identifier, the identifier of the third server, and the second identifier, and takes the third correspondence as a second correspondence, and the obtained correspondence table is shown in table 8.
TABLE 8
Figure BDA0001450109910000251
Figure BDA0001450109910000261
Optionally, in this embodiment, the forwarding module is configured to: receiving push information and a first identifier sent by a second server; acquiring an identifier and a second identifier of a third server from the first corresponding relation according to the first identifier; and sending the push information and the second identifier to a third server corresponding to the identifier of the third server so as to instruct the third server to send the push information to the terminal equipment according to the second identifier.
For example, in the above optional implementation, the first SERVER receives the push information and the first identifier Token2 sent by the second SERVER, the first SERVER obtains the identifier SERVER2 and the second identifier Token22 of the third SERVER from the first corresponding relationship (table 8) according to the first identifier Token2, and the first SERVER sends the push information and the second identifier Token22 to the third SERVER corresponding to the identifier SERVER2 of the third SERVER, so as to instruct the third SERVER to send the push information to the terminal device according to the second identifier Token 22.
Optionally, in this embodiment, in a case that the first server fails to forward the push information sent by the second server to the terminal device according to the first corresponding relationship, the apparatus is further configured to: and sending the push information and the identification of the terminal equipment to a fourth server corresponding to the default push plug-in so as to instruct the fourth server to send the push information to the terminal equipment according to the identification of the terminal equipment, wherein the plug-in information carries the installation information of the default push plug-in so as to instruct the terminal equipment to install the default push plug-in according to the installation information.
Optionally, in this embodiment, the first server may provide a default push plugin for the terminal device, and if the first server fails to forward the push information sent by the second server to the terminal device according to the first corresponding relationship, the first server may forward the push information to the terminal device through a fourth server corresponding to the default push plugin, so as to improve a push success rate of the push information, and thus improve push efficiency of the push information.
According to an embodiment of the present invention, there is provided another apparatus for transmitting plug-in information, which is used for implementing the method for transmitting plug-in information, and is applied to a terminal device, as shown in fig. 10, the apparatus includes:
1) a second sending module 102, configured to send request information to the first server, where the request information carries device information of the terminal device;
2) a second receiving module 104, configured to receive plug-in information returned by the first server in response to the request information, where the plug-in information is used to indicate a target push plug-in that is determined by the first server from multiple push plug-ins and matches with the device information, the target push plug-in is used to receive push information that is pushed to the terminal device by a second server corresponding to a client, and the client is installed in the terminal device;
3) and the installation module 106 is used for installing the target push plug-in according to the plug-in information.
Optionally, in this embodiment, the above-mentioned transmission apparatus of plug-in information may be, but is not limited to, applied to a scenario in which a message is pushed to a client installed on a terminal device. The client may be, but not limited to, various types of software, such as online education software, remote control software, instant messaging software, community space software, game software, shopping software, financial software, browser software, news information software, and the like. Specifically, the method can be applied to, but not limited to, the scenario of pushing a message to the client of the news information software installed on the terminal device, or can also be applied to, but not limited to, the scenario of pushing a message to the client of the instant messaging software installed on the terminal device, so as to improve the pushing efficiency of message pushing. The above is only an example, and this is not limited in this embodiment.
Optionally, in this embodiment, the first server may be, but is not limited to, a server for allocating a push plug-in to a terminal device. The first server may be, but is not limited to, a server provided for the client. For example: for the client a, the second server a corresponding to the client a may serve as the first server, and allocate a target push plug-in adapted to different terminal devices in which the client a is installed. Or the first server a provided by the third party a may allocate a target push plug-in adapted to different terminal devices installing the client a.
Optionally, in this embodiment, the push plug-in may include, but is not limited to: PUSH software development kit (PUSH SDK). For example: the PUSH SDK may be provided by the publisher of the terminal equipment or may be provided by a third party platform.
Optionally, in this embodiment, the device information may include, but is not limited to: terminal model information, memory version information, system version information, and the like. The terminal model information is used for indicating the model of the terminal equipment, the memory version information is used for indicating the version of a memory carried in the terminal equipment, and the system version information is used for indicating the version of a system used by the terminal equipment.
Therefore, through the device, the first server dynamically allocates the target push plug-in adaptive to the device information of the terminal device according to the device information of the terminal device, and installs the target push plug-in on the terminal device, so that the terminal device has a long connection between the keep-alive target push plug-in and the push channel background with a higher probability, the push efficiency of the application program in message push is improved, and the problem of low push efficiency of the application program in message push in the prior art is solved.
Optionally, in this embodiment, the installation module 106 is configured to be one of:
under the condition that the plug-in information carries a download link corresponding to the target push plug-in, acquiring a first installation package of the target push plug-in from a download path indicated by the download link; the terminal equipment installs a first installation package;
and under the condition that the plug-in information carries a second installation package corresponding to the target push plug-in, installing the second installation package.
Optionally, in this embodiment, the plug-in information may carry a download link corresponding to the target push plug-in, or may carry an installation package corresponding to the target push plug-in.
As an optional scheme, the device further comprises:
1) the third receiving module is used for receiving a push message which is forwarded to the terminal equipment by the first server according to the first corresponding relationship, wherein the first corresponding relationship is a corresponding relationship between the identifier of the terminal equipment established by the first server and the identifier of a third server corresponding to the target push plugin, and the push message is a message which is pushed to the terminal equipment by the second server;
2) and the display module is used for displaying the push message in a notification bar of the terminal equipment.
In an alternative embodiment, the notification bar of the terminal device may be, but is not limited to, a drop-down bar of the terminal device. As shown in fig. 7, the terminal device displays the received push message in a drop-down bar, and may display a client icon, a reception time of the push message, and a content digest of the push message (which may be a title of the push message, a sentence in the push message in which center content is embodied, a sentence summarized from the content of the push message), and the like.
Optionally, in this embodiment, the third receiving module is configured to: and receiving the push message sent by the third server.
Optionally, in this embodiment, in a case that the terminal device fails to receive the push message forwarded to the terminal device by the first server according to the first corresponding relationship, the apparatus is further configured to: receiving a push message sent by a fourth server corresponding to a default push plug-in, wherein the plug-in information carries installation information of the default push plug-in, and the terminal equipment installs the default push plug-in according to the installation information; and displaying the push message in a notification bar of the terminal equipment.
Optionally, in this embodiment, the first server may provide a default push plugin for the terminal device, and if the first server fails to forward the push information sent by the second server to the terminal device according to the first corresponding relationship, the first server may forward the push information to the terminal device through a fourth server corresponding to the default push plugin, so as to improve a push success rate of the push information, and thus improve push efficiency of the push information.
Optionally, in this embodiment, the plug-in information carries a first identifier, where the first identifier is an identifier allocated by the first server to the terminal device according to the device information, and the first identifier is used to uniquely identify the terminal device on the first server, and the apparatus is further configured to: and sending the first identifier to a second server, wherein the second server carries the first identifier in the push message.
Optionally, in this embodiment, the terminal device may send the first identifier allocated to the terminal device by the first server to the second server, so that the second server may carry the first identifier in the push message when sending the push message to the terminal device, so that the first server searches for the target push plugin corresponding to the terminal device.
Optionally, in this embodiment, the apparatus is further configured to: sending registration information to a third server, wherein the registration information is used for registering the terminal equipment on the third server; acquiring a second identifier returned by the third server in response to the registration information, wherein the second identifier is an identifier distributed to the terminal equipment by the third server, and the second identifier is used for uniquely identifying the terminal equipment on the third server; the second identification is sent to the first server.
Optionally, in this embodiment, the terminal device may register on a third server corresponding to the target push plugin, and send an identifier allocated to the terminal device by the third server to the first server.
The application environment of the embodiment of the present invention may refer to the application environment in the above embodiments, but is not described herein again. The embodiment of the invention provides a selectable specific application example for implementing the plug-in information transmission method.
As an alternative embodiment, the above method for updating configuration objects may be, but is not limited to, applied in the scenario of transmission of plug-in information as shown in fig. 11. The optional embodiment provides an intelligent multichannel PUSH technology, which can be applied to the intelligent multichannel PUSH framework, and can dynamically load a PUSH SDK according to information such as a terminal model, a Read-Only Memory (ROM) version, an operating system version and the like, keep the PUSH channel alive to the maximum extent, and improve the PUSH success rate.
Taking news information clients as an example, in the clients, users actively subscribe to many topics, such as: sports, current news, B-station, programming techniques, etc. When the subscription of the user is updated, how to timely push the push message to the mobile phone of the user is a pain point which is relatively concerned by the news polymerization APP. The intelligent multi-channel PUSH framework provided in the embodiment well meets the requirements of products. When information is updated, the third-party service background (equivalent to the second server) can send the information PUSH to the intelligent multi-channel PUSH background (equivalent to the first server), and the intelligent multi-channel PUSH background selects different PUSH channel backgrounds (equivalent to the third server) according to the installation information of the PUSH SDK of the terminal equipment to send the information PUSH to the terminal equipment.
Due to the intelligent multi-channel PUSH technology, the PUSH channel of the publisher can be selected on the mobile phone of the publisher, so that the long connection of the PUSH is kept alive to the maximum extent, the connection rate of the PUSH channel is improved, and the arrival rate and the success rate of the PUSH are improved. For example: on the millet mobile phone, if the service has message updating, PUSH is sent to the frame background, and the frame background selects a PUSH channel passing through millet and pushes the message to the mobile phone terminal.
When a PUSH message is pushed to an intelligent multi-channel PUSH background, a publisher PUSH channel is preferentially selected, and when the pushing of the publisher channel fails, a default PUSH channel is selected to PUSH the message again, so that the message can reach a terminal in time.
When the third-party service background pushes the message, the multi-channel PUSH Token obtained through the intelligent multi-channel PUSH SDK interface is sent to the intelligent multi-channel PUSH background along with the message, the intelligent multi-channel PUSH background finds out which terminal equipment is according to the multi-channel PUSH Token, and is simultaneously related to the PUSH SDK of which publisher and the corresponding publisher PUSH Token which are integrated on the terminal equipment, and the third-party publisher PUSH channel background sends the pushed message to the terminal.
The intelligent multi-channel PUSH framework can greatly improve the reach rate of PUSH messages, and meanwhile, the intelligent multi-channel PUSH framework has better timeliness compared with a common PUSH pushing platform. This is a product operator end critical to the aggregation class APP. In addition, because the system PUSH channel of the publisher is used, when a user clicks a message, the user can also have a pull-alive function on the APP. The service life and the user stickiness of the APP are improved.
The embodiment shows that the intelligent multi-channel PUSH framework can dynamically select what PUSH SDK is downloaded from the background according to the information such as the mobile phone model, rom information, android version and the like. When different PUSH SDKs are loaded on different mobile phones, a preset PUSH channel is loaded by default to serve as a backup. Therefore, when the PUSH message is sent by the background, the PUSH channel of the issuer is preferentially selected, and when the PUSH channel of the issuer cannot arrive, the PUSH channel is switched to a preset PUSH channel to forward the PUSH message. Because the intelligent multi-channel PUSH frame issues the corresponding publisher or the third PUSH SDK from the background according to the model information of the mobile phone instead of integrating all PUSH SDKs at the terminal by default, the size of an installation package of the terminal APP can be reduced, and resources are saved.
According to an embodiment of the present invention, there is also provided an electronic device for implementing the method for transmitting plug-in information, where the electronic device is applied to a first server, and as shown in fig. 12, the apparatus includes:
1) the communication interface 1202 is configured to receive request information sent by a terminal device, where the request information carries device information of the terminal device; and sending the plug-in information to the terminal equipment so as to instruct the terminal equipment to install the target push plug-in according to the plug-in information, wherein the plug-in information is used for instructing the target push plug-in.
2) The processor 1204, connected to the communication interface 1202, is configured to determine, in response to the request message, a target push plug-in that matches the device information from among the plurality of push plug-ins, where the target push plug-in is configured to receive push messages that are pushed to the terminal device by a second server corresponding to a client, and the client is installed in the terminal device.
3) The memory 1206 is connected to the communication interface 1202 and the processor 1204, and is configured to store the device information of the terminal device and the information of the plurality of push plug-ins.
According to an embodiment of the present invention, there is provided another electronic device for implementing the method for transmitting plug-in information, which is applied to a terminal device, as shown in fig. 13, where the device includes:
1) the communication interface 1302 is configured to send request information to the first server, where the request information carries device information of the terminal device; and receiving plug-in information returned by the first server in response to the request information, wherein the plug-in information is used for indicating a target push plug-in which is determined by the first server from the plurality of push plug-ins and is matched with the device information, the target push plug-in is used for receiving push information which is pushed to the terminal device by a second server corresponding to the client, and the client is installed in the terminal device.
2) And the processor 1304 is connected with the communication interface 1302 and is configured to install the target push plug-in according to the plug-in information.
3) The memory 1306, coupled to the communication interface 1302 and the processor 1304, is configured to store plug-in information.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the storage medium may be located in at least one of a plurality of network devices in a network.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
s1, the first server receives request information sent by the terminal equipment, wherein the request information carries equipment information of the terminal equipment;
s2, the first server responds to the request information and determines a target push plug-in matched with the device information from the plurality of push plug-ins, wherein the target push plug-in is used for receiving push information which is pushed to the terminal device by a second server corresponding to the client, and the client is installed in the terminal device;
s3, the first server sends the plug-in information to the terminal equipment so as to instruct the terminal equipment to install the target push plug-in according to the plug-in information, wherein the plug-in information is used for instructing the target push plug-in.
Embodiments of the present invention also provide another storage medium. Optionally, in this embodiment, the storage medium may be located in at least one of a plurality of network devices in a network.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
s1, the terminal device sends request information to the first server, wherein the request information carries the device information of the terminal device;
s2, the terminal device receives plug-in information returned by the first server in response to the request information, wherein the plug-in information is used for indicating a target push plug-in which is determined by the first server from a plurality of push plug-ins and is matched with the device information, the target push plug-in is used for receiving push information which is pushed to the terminal device by a second server corresponding to a client, and the client is installed in the terminal device;
and S3, the terminal equipment installs the target push plug-in according to the plug-in information.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media that can store program codes, such as a flash Memory, a Read-Only Memory (ROM), a Random Access Memory (RAM), a hard disk, a magnetic disk, or an optical disk.
Optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.

Claims (22)

1. A method for transmitting plug-in information, comprising:
a first server receives request information sent by terminal equipment, wherein the request information carries equipment information of the terminal equipment;
the first server responds to the request information and determines a target push plug-in matched with the equipment information from a plurality of push plug-ins, wherein the target push plug-in is used for receiving push information which is pushed to the terminal equipment by a second server corresponding to a client, and the client is installed in the terminal equipment;
the first server sends plug-in information to the terminal equipment to indicate the terminal equipment to install the target push plug-in according to the plug-in information, wherein the plug-in information is used for indicating the target push plug-in;
the first server establishes a first corresponding relation between the identifier of the terminal equipment and the identifier of a third server corresponding to the target push plug-in;
the first server receives the push information sent by the second server and the identifier of the terminal equipment;
the first server acquires the identifier of the third server from the first corresponding relation according to the identifier of the terminal equipment;
and the first server sends the push information and the identifier of the terminal equipment to a third server corresponding to the identifier of the third server so as to instruct the third server to send the push information to the terminal equipment according to the identifier of the terminal equipment.
2. The method of claim 1, wherein the first server determining a target push plugin from a plurality of push plugins that matches the device information comprises:
the first server determines the equipment type of the terminal equipment according to the equipment information;
the first server searches for a push plug-in corresponding to the equipment type of the terminal equipment from the corresponding relation between the equipment type and the push plug-in, and determines the found push plug-in corresponding to the equipment type of the terminal equipment as the target push plug-in.
3. The method of claim 1, wherein the first server determining a target push plugin from a plurality of push plugins that matches the device information comprises:
the first server determines an information arrival rate of each push plug-in the plurality of push plug-ins according to the device information, wherein the information arrival rate is used for indicating the probability that a message pushed by a server corresponding to the push plug-in arrives at a device of which the type is a target type, and the target type is the device type of the terminal device;
and the first server determines the push plug-in with the information arrival rate meeting the preset condition in the plurality of push plug-ins as the target push plug-in.
4. The method of claim 3, wherein the first server determining an information arrival rate for each of the plurality of push plug-ins based on the device information comprises:
the first server respectively determines a first information arrival rate of each push plug-in corresponding to terminal model information carried in the device information, wherein the terminal model information is used for indicating the model of the terminal device;
the first server respectively determines a second information arrival rate of each push plug-in corresponding to memory version information carried in the device information, wherein the memory version information is used for indicating a version of a memory carried in the terminal device;
the first server respectively determines a third information arrival rate of each push plug-in corresponding to system version information carried in the device information, wherein the system version information is used for indicating a version of a system used by the terminal device;
respectively obtaining a weighted average of the first information arrival rate, the second information arrival rate and the third information arrival rate corresponding to each push plugin according to a preset weight, and determining the weighted average as the information arrival rate of each push plugin.
5. The method of claim 3, wherein the determining, by the first server, the target push plug-in as the push plug-in of the plurality of push plug-ins for which the information arrival rate satisfies a preset condition comprises one of:
the first server determines the push plug-in with the highest information arrival rate in the plurality of push plug-ins as the target push plug-in;
and the first server determines the push plug-in with the information arrival rate falling within a preset threshold range from the plurality of push plug-ins as the target push plug-in.
6. The method of claim 1, wherein the first server sending the plug-in information to the terminal device to instruct the terminal device to install the target push plug-in according to the plug-in information comprises one of:
the first server sends a download link corresponding to the target push plugin to the terminal device so as to instruct the terminal device to download a first installation package of the target push plugin according to the download link and install the first installation package;
and the first server sends a second installation package corresponding to the target push plug-in to the terminal equipment so as to indicate the terminal equipment to install the second installation package.
7. The method of claim 1, wherein the first server establishing the first correspondence between the identity of the terminal device and the identity of the third server comprises:
the first server allocates a first identifier to the terminal device according to the device information, wherein the first identifier is used for uniquely identifying the terminal device on the first server, and the plug-in information carries the first identifier;
and the first server establishes a second corresponding relation between the first identifier and the identifier of the third server, and takes the second corresponding relation as the first corresponding relation.
8. The method of claim 7, wherein the first server establishing the second correspondence between the first identity and the identity of the third server comprises:
the first server receives a second identifier sent by the terminal device, wherein the second identifier is used for uniquely identifying the terminal device on the third server, and the second identifier is an identifier distributed to the terminal device by the third server;
and the first server establishes a third corresponding relation among the first identifier, the identifier of the third server and the second identifier, and takes the third corresponding relation as the second corresponding relation.
9. The method of claim 8, wherein the forwarding, by the first server, the push information sent by the second server to the terminal device according to the first corresponding relationship comprises:
the first server receives the push information and the first identifier sent by the second server;
the first server acquires the identifier of the third server and the second identifier from the first corresponding relation according to the first identifier;
and the first server sends the push information and the second identifier to a third server corresponding to the identifier of the third server so as to instruct the third server to send the push information to the terminal equipment according to the second identifier.
10. The method according to claim 1, wherein in case that the first server fails to forward the push information sent by the second server to the terminal device according to the first corresponding relationship, the method further comprises:
the first server sends the push information and the identification of the terminal equipment to a fourth server corresponding to a default push plugin so as to instruct the fourth server to send the push information to the terminal equipment according to the identification of the terminal equipment, wherein the plugin information carries installation information of the default push plugin so as to instruct the terminal equipment to install the default push plugin according to the installation information.
11. A method for transmitting plug-in information, comprising:
the method comprises the steps that a terminal device sends request information to a first server, wherein the request information carries device information of the terminal device;
the terminal equipment receives plug-in information returned by the first server in response to the request information, wherein the plug-in information is used for indicating a target push plug-in which is determined by the first server from a plurality of push plug-ins and is matched with the equipment information, the target push plug-in is used for receiving push information which is pushed to the terminal equipment by a second server corresponding to a client, and the client is installed in the terminal equipment;
the terminal equipment installs the target push plug-in according to the plug-in information;
under the condition that a third server corresponding to the identifier of the terminal equipment is determined in a first corresponding relation between the identifier of the terminal equipment and the identifier of the third server corresponding to the target push plug-in, the terminal equipment receives a push message sent by the third server according to the identifier of the terminal equipment;
wherein the identifier of the terminal device and the push message are obtained by the third server in the following manner:
and the first server receives the push information and the identifier of the terminal equipment sent by the second server and sends the received push information and the identifier of the terminal equipment to the third server.
12. The method of claim 11, wherein the terminal device installing the target push plug-in according to the plug-in information comprises one of:
under the condition that the plug-in information carries a download link corresponding to the target push plug-in, the terminal equipment acquires a first installation package of the target push plug-in from a download path indicated by the download link; the terminal equipment installs the first installation package;
and under the condition that the plug-in information carries a second installation package corresponding to the target push plug-in, the terminal equipment installs the second installation package.
13. The method according to claim 11 or 12, wherein after the terminal device receives the push message sent by a third server according to the identity of the terminal device, the method further comprises:
and the terminal equipment displays the push message in a notification bar of the terminal equipment.
14. The method according to claim 13, wherein in case that the terminal device fails to receive the push message forwarded to the terminal device by the first server according to the first corresponding relationship, the method further comprises:
the terminal equipment receives the push message sent by a fourth server corresponding to a default push plug-in, wherein the plug-in information carries installation information of the default push plug-in, and the terminal equipment installs the default push plug-in according to the installation information;
and the terminal equipment displays the push message in a notification bar of the terminal equipment.
15. The method according to claim 11, wherein the plug-in information carries a first identifier, the first identifier is an identifier that is allocated by the first server to the terminal device according to the device information, and the first identifier is used to uniquely identify the terminal device on the first server, and after the terminal device installs the target push plug-in according to the plug-in information, the method further includes:
and the terminal equipment sends the first identifier to the second server, wherein the second server carries the first identifier in the push message.
16. The method of claim 13, wherein after the terminal device installs the target push plugin according to the plugin information, the method further comprises:
the terminal device sends registration information to the third server, wherein the registration information is used for registering the terminal device on the third server;
the terminal device acquires a second identifier returned by the third server in response to the registration information, wherein the second identifier is an identifier allocated to the terminal device by the third server, and the second identifier is used for uniquely identifying the terminal device on the third server;
and the terminal equipment sends the second identifier to the first server.
17. A device for transmitting plug-in information, which is applied to a first server, is characterized by comprising:
the first receiving module is used for receiving request information sent by terminal equipment, wherein the request information carries equipment information of the terminal equipment;
a determining module, configured to determine, in response to the request information, a target push plugin matched with the device information from multiple push plugins, where the target push plugin is configured to receive push information pushed to the terminal device by a second server corresponding to a client, and the client is installed in the terminal device;
the first sending module is used for sending plug-in information to the terminal equipment so as to instruct the terminal equipment to install the target push plug-in according to the plug-in information, wherein the plug-in information is used for instructing the target push plug-in;
the establishing module is used for establishing a first corresponding relation between the identifier of the terminal equipment and the identifier of a third server corresponding to the target push plug-in;
the forwarding module is used for receiving the push information sent by the second server and the identifier of the terminal equipment; acquiring the identifier of the third server from the first corresponding relation according to the identifier of the terminal equipment; and sending the push information and the identifier of the terminal device to a third server corresponding to the identifier of the third server to indicate the third server corresponding to the identifier of the third server to send the push information to the terminal device according to the identifier of the terminal device.
18. The apparatus of claim 17, wherein the determining module comprises:
a first determining unit, configured to determine a device type of the terminal device according to the device information;
a second determining unit, configured to search for a push plugin corresponding to the device type of the terminal device from a correspondence between the device type and the push plugin, and determine the found push plugin corresponding to the device type of the terminal device as the target push plugin.
19. The apparatus of claim 17, wherein the determining module comprises:
a third determining unit, configured to determine, according to the device information, an information arrival rate of each push plug-in the multiple push plug-ins, where the information arrival rate is used to indicate a probability that a message pushed by a server corresponding to the push plug-in reaches a device of which a type is a target type, and the target type is a device type of the terminal device;
a fourth determining unit, configured to determine, as the target push plugin, a push plugin in the plurality of push plugins, in which the information arrival rate satisfies a preset condition.
20. A transmission device of plug-in information is applied to terminal equipment and is characterized by comprising:
a second sending module, configured to send request information to a first server, where the request information carries device information of the terminal device;
a second receiving module, configured to receive plug-in information returned by the first server in response to the request information, where the plug-in information is used to indicate a target push plug-in that is determined by the first server from multiple push plug-ins and matches the device information, the target push plug-in is used to receive push information that is pushed to the terminal device by a second server corresponding to a client, and the client is installed in the terminal device;
the installation module is used for installing the target push plug-in according to the plug-in information;
a third receiving module, configured to, in a first correspondence between an identifier of the terminal device and an identifier of a third server corresponding to the target push plugin, determine that the third server corresponds to the identifier of the terminal device, where the terminal device receives a push message sent by the third server according to the identifier of the terminal device;
wherein the identifier of the terminal device and the push message are obtained by the third server in the following manner:
the first server receives the push information and the identifier of the terminal device sent by the second server, and sends the received push information and the identifier of the terminal device to the third server;
and the display module is used for displaying the push message in a notification bar of the terminal equipment.
21. A computer-readable storage medium, characterized in that the storage medium comprises a stored program, wherein the program is executed by a computer device to perform the method of any of the preceding claims 1 to 16.
22. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the method of any of claims 1 to 16 by means of the computer program.
CN201711039180.4A 2017-10-30 2017-10-30 Plug-in information transmission method and device, storage medium and electronic device Active CN109729116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711039180.4A CN109729116B (en) 2017-10-30 2017-10-30 Plug-in information transmission method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711039180.4A CN109729116B (en) 2017-10-30 2017-10-30 Plug-in information transmission method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN109729116A CN109729116A (en) 2019-05-07
CN109729116B true CN109729116B (en) 2021-06-08

Family

ID=66292592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711039180.4A Active CN109729116B (en) 2017-10-30 2017-10-30 Plug-in information transmission method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN109729116B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667306A (en) * 2019-10-15 2021-04-16 华为终端有限公司 Method, device and storage medium for installing plug-in
CN110839073A (en) * 2019-11-06 2020-02-25 北京小米智能科技有限公司 Method for acquiring push information, method and device for sending push information
CN111143083B (en) * 2019-11-15 2022-06-07 京东科技控股股份有限公司 Data transmission method and device, storage medium and electronic device
CN111596967A (en) * 2020-04-27 2020-08-28 中国银联股份有限公司 Application function configuration method, terminal device, server and storage medium
CN113220275B (en) * 2021-05-25 2024-10-01 北京小米移动软件有限公司 Software acquisition method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830992A (en) * 2012-07-31 2012-12-19 北京奇虎科技有限公司 Plug-in loading method and system
CN103458397A (en) * 2013-08-26 2013-12-18 华为技术有限公司 Advertisement processing method and device
CN104717301A (en) * 2015-03-27 2015-06-17 北京奇虎科技有限公司 Plug-in download method and device
CN105516270A (en) * 2015-11-30 2016-04-20 小米科技有限责任公司 Information push method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010150312A1 (en) * 2009-06-24 2010-12-29 株式会社日立製作所 Node management device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830992A (en) * 2012-07-31 2012-12-19 北京奇虎科技有限公司 Plug-in loading method and system
CN103458397A (en) * 2013-08-26 2013-12-18 华为技术有限公司 Advertisement processing method and device
CN104717301A (en) * 2015-03-27 2015-06-17 北京奇虎科技有限公司 Plug-in download method and device
CN105516270A (en) * 2015-11-30 2016-04-20 小米科技有限责任公司 Information push method and device

Also Published As

Publication number Publication date
CN109729116A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN109729116B (en) Plug-in information transmission method and device, storage medium and electronic device
US9008620B2 (en) Mobile device service authorization system and method
US8688148B2 (en) Dynamic resource matching system
US8526405B2 (en) Routing network requests based on requesting device characteristics
KR100593516B1 (en) System and method for providing a wireless device with an application catalog on an application server
US20110213835A1 (en) Controlling transmission of a content item to a user terminal by independently transmitting additional content to the user terminal
US11272329B2 (en) Mobile messaging platform
EP2103089A2 (en) A method and system for personalized content delivery for wireless devices
CN107370780B (en) Media pushing method, device and system based on Internet
EP1974280A2 (en) Device, system and method of wireless delivery of targeted advertisements
US20120209717A1 (en) Targeted delivery of payload to mobile users
CN109104701B (en) Information sending method based on equipment identification code and server
US11075966B2 (en) Cache and multicast techniques to reduce bandwidth utilization
CN106412667A (en) Method and apparatus for transmitting display information
CN104253869A (en) Blacklist sharing method, blacklist updating method, blacklist sharing device and blacklist updating device
CN101115180B (en) Electronic program menu system and functional module dynamic load operating method
US11599673B2 (en) Ascertaining network devices used with anonymous identifiers
WO2020252639A1 (en) Content pushing method and related product
CN111464618B (en) Message pushing method, device, equipment and storage medium
US9439049B2 (en) System and method for message service gateway
CN112732659A (en) Application program sharing method and device
US9003331B1 (en) Graphical user interface dynamic menu slot
CN113099306B (en) Message processing method, device, equipment, server, medium and product
CN113542010B (en) Blockchain-based network fragmentation selection method, system, server and medium
EP2347380B1 (en) Controlling transmission of a content item to a user terminal by independently transmitting additional content to the user terminal

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
GR01 Patent grant
GR01 Patent grant