Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a method, equipment and a system for downloading an application program in a channel of a client, which can enable the client to download the application program of a new application issued by a service device aiming at the channel of the client in advance, and reduce the waiting time of a user when experiencing the new application. The following are detailed below.
In order to better understand the method, device, and system for downloading an application program in a channel of a client disclosed in the embodiments of the present invention, a network architecture applicable to the embodiments of the present invention is described below. Referring to fig. 1, fig. 1 is a schematic structural diagram of a network architecture according to an embodiment of the present invention. As shown in fig. 1, the network architecture diagram may include a service device and a client, where the service device may include a server, a service host, a service system, a service platform, and the like, and the client may include a client integrating functions of group chat, live video, channel karaoke, online game, online movie, and the like. In the network architecture shown in fig. 1, the client may run on a user device including, but not limited to, a mobile phone, a mobile computer, a tablet computer, a Personal Digital Assistant (PDA), a media player, a smart television, a smart watch, smart glasses, a smart bracelet, and the like. The service equipment can be in communication connection with the client through the Internet.
Based on the network architecture shown in fig. 1, the embodiment of the invention discloses a method for downloading an application program in a channel of a client. Referring to fig. 2, fig. 2 is a flowchart illustrating a method for downloading an application program in a channel of a client according to an embodiment of the present invention. As shown in fig. 2, the method for downloading the application program in the channel of the client may include the following steps:
s201, the client acquires a configuration file of a target channel of the client from the service equipment.
In the embodiment of the present invention, the configuration file is used to indicate whether the service device issues a new application for a target channel, after the client receives the configuration file, the client may compare application identifiers of all applications of the target channel included in the configuration file with an application identifier of a current application of the target channel, and if the application identifiers of all applications included in the configuration file are the same as the application identifier of the current application of the target channel, it indicates that the service device does not issue the new application for the target channel, and if application identifiers of all applications included in the configuration file are different from the application identifier of the current application of the target channel, it indicates that the service device issues the new application for the target channel.
In this embodiment of the present invention, the manner in which the client acquires the configuration file from the service device may include, but is not limited to, the following two manners, which are not limited in this embodiment of the present invention:
firstly, after the service equipment and the client establish communication connection through the Internet, the service equipment actively sends a configuration file to the client;
and secondly, after the service equipment and the client establish communication connection through the Internet, the service equipment responds to a request message sent by the client and used for acquiring the configuration file and sends the configuration file to the client.
S202, when the configuration file indicates that the service equipment issues the new application aiming at the target channel, the client sends a request message for acquiring the application program of the new application to the service equipment.
In the embodiment of the present invention, the configuration file may include an application identifier of the new application, and a request message sent by the client to the service device for acquiring the application program of the new application may include the application identifier of the new application, so that the service device responds to the request message based on the application identifier of the new application and returns the application program of the new application to the client.
S203, the client receives the application program returned by the service equipment responding to the request message, and installs the application program in the target channel.
In the embodiment of the invention, a client firstly acquires a configuration file of a target channel of the client from a service device, wherein the configuration file is used for indicating whether the service device issues a new application for the target channel, when the configuration file indicates that the service device issues the new application for the target channel, the client sends a request message for acquiring an application program of the new application to the service device and receives the application program returned by the service device in response to the request message, and then the client installs the application program in the target channel. By implementing the embodiment of the invention, the client can download the application program of the new application issued by the service equipment aiming at the channel of the client in advance, and the waiting time of the user for experiencing the new application is reduced.
Based on the network architecture shown in fig. 1, another method for downloading an application program in a channel of a client is disclosed in the embodiment of the present invention. Referring to fig. 3, fig. 3 is a flowchart illustrating another method for downloading an in-channel application program of a client according to an embodiment of the present invention. As shown in fig. 3, the method for downloading the application program in the channel of the client may include the following steps:
s301, the client acquires the configuration file of the target channel of the client from the service equipment.
In the embodiment of the present invention, the configuration file is used to indicate whether the service device issues a new application for the target channel.
S302, when the configuration file indicates that the service equipment issues the new application aiming at the target channel, the client sends a request message for acquiring the application program of the new application to the service equipment.
And S303, the client receives the application program returned by the service equipment in response to the request message, and installs the application program in the target channel.
S304, the client sends the identity of the user who has downloaded the application program in the target channel to the service device.
In the embodiment of the invention, each user in the target channel has a unique identity corresponding to the user.
In the embodiment of the invention, the client sends the identity of the user downloading the application program in the target channel to the service equipment, so that the service equipment counts the number of first users downloading the application program in the target channel and sends an operation interface switching instruction aiming at the target channel to the client when the ratio of the number of the first users to the number of second users (namely the number of users of all users) in the target channel meets a preset ratio.
In the embodiment of the present invention, for example, assuming that the preset ratio is 75%, when the ratio of the number of first users downloading the application program of the new application in the target channel counted by the service device to the number of second users in the target channel (i.e., the number of users of all users) is greater than 75%, the service device sends an operation interface switching instruction for the target channel to the client.
In this embodiment of the present invention, step S304 is an optional step.
S305, the client receives an operation interface switching instruction sent by the service equipment aiming at the target channel.
S306, the client responds to the operation interface switching instruction to switch the current operation interface of the target channel into the target operation interface corresponding to the new application.
By implementing the embodiment of the invention, the client can download the application program of the new application issued by the service equipment aiming at the channel of the client in advance, the waiting time of the user for experiencing the new application is reduced, and the client can receive the operation interface switching instruction aiming at the channel of the client and sent by the service equipment and respond to the operation interface switching instruction to switch the operation interface of the channel of the client to the operation interface corresponding to the new application, so that the user can experience the new application in time, and the effect of popularizing the new application is achieved.
Based on the network architecture shown in fig. 1, the embodiment of the present invention discloses another method for downloading an application program in a channel of a client. Referring to fig. 4, fig. 4 is a flowchart illustrating a method for downloading an application program in a channel of a client according to another embodiment of the present invention, where as shown in fig. 4, the method for downloading an application program in a channel of a client may include the following steps:
s401, the service equipment sends the configuration file of the target channel of the client to the client.
In the embodiment of the present invention, the configuration file is used to indicate whether the service device issues a new application for the target channel.
S402, when the configuration file indicates that the service equipment issues a new application for the target channel, the service equipment receives a request message sent by the client for acquiring an application program of the new application.
And S403, the service equipment responds to the request message and sends the application program to the client so that the client installs the application program in the target channel.
By implementing the embodiment of the invention, the client can download the application program of the new application issued by the service equipment aiming at the channel of the client in advance, and the waiting time of the user for experiencing the new application is reduced.
Based on the network architecture shown in fig. 1, the embodiment of the present invention discloses another method for downloading an application program in a channel of a client. Referring to fig. 5, fig. 5 is a flowchart illustrating a method for downloading an application program in a channel of a client according to another embodiment of the present invention, where as shown in fig. 5, the method for downloading an application program in a channel of a client may include the following steps:
s501, the service equipment sends the configuration file of the target channel of the client to the client.
S502, when the configuration file indicates that the service equipment issues a new application for the target channel, the service equipment receives a request message sent by the client for acquiring an application program of the new application.
And S503, the service equipment responds to the request message and sends the application program to the client so that the client installs the application program in the target channel.
S504, the service equipment sends an operation interface switching instruction for the target channel to the client, so that the client responds to the operation interface switching instruction and switches the current operation interface of the target channel into the target operation interface corresponding to the new application.
As an optional implementation manner, a specific manner in which the service device sends the operation interface switching instruction for the target channel to the client is as follows:
the service equipment acquires the identity of the user downloading the application program in the target channel, and counts the number of the first users downloading the application program in the target channel by taking the identity as a basis;
the service equipment judges whether the ratio of the number of the first users to the number of the second users in the target channel is larger than a preset ratio or not;
if the judgment result is yes, the service equipment sends an operation interface switching instruction aiming at the target channel to the client.
As another optional implementation manner, a specific manner in which the service device sends the operation interface switching instruction for the target channel to the client is as follows:
the service equipment judges whether the current time is preset time or not;
and if the current time is preset time, the service equipment sends an operation interface switching instruction aiming at the target channel to the client.
In the embodiment of the present invention, the service device may preset disclosure time (e.g., 20: 00) of the new application, and when the service device detects that the system time of the service device is the preset disclosure time, the service device automatically sends an operation interface switching instruction for the target channel to the client.
By implementing the embodiment of the invention, the client can download the application program of the new application issued by the service equipment aiming at the channel of the client in advance, the waiting time of the user for experiencing the new application is reduced, and the client can receive the operation interface switching instruction aiming at the channel of the client and sent by the service equipment and respond to the operation interface switching instruction to switch the operation interface of the channel of the client to the operation interface corresponding to the new application, so that the user can experience the new application in time, and the effect of popularizing the new application is achieved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a client according to an embodiment of the present invention. As shown in fig. 6, the client 600 may include an input unit 601, an output unit 602, and a mounting unit 603, wherein:
the input unit 601 is used to acquire a profile of a target channel of the client 600 from the service apparatus.
In the embodiment of the present invention, the configuration file is used to indicate whether the service device issues a new application for the target channel.
The output unit 602 is configured to send a request message for acquiring an application program of a new application to the service device when the configuration file indicates that the service device issues the new application for the target channel.
The input unit 601 is further configured to receive an application returned by the service device in response to the request message.
The installation unit 603 is used to install the above application program in the target channel.
By implementing the embodiment of the invention, the client can download the application program of the new application issued by the service equipment aiming at the channel of the client in advance, and the waiting time of the user for experiencing the new application is reduced.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another client according to an embodiment of the disclosure. As shown in fig. 7, the client 700 may include an input unit 701, an output unit 702, an installation unit 703, and a switching unit 704, where:
the input unit 701 is used to acquire a profile of a target channel of the client 700 from the service apparatus.
The output unit 702 is configured to send a request message for acquiring an application program of a new application to the service device when the configuration file indicates that the service device issues the new application for the target channel.
The input unit 701 is further configured to receive an application returned by the service device in response to the request message.
The installation unit 703 is used to install the above application program in the target channel.
The input unit 701 may also be configured to receive an operation interface switching instruction sent by the service device for the target channel.
The switching unit 704 is configured to respond to the operation interface switching instruction to switch the current operation interface of the target channel to the target operation interface corresponding to the new application.
As an optional implementation manner, the output unit 702 may be further configured to, before the input unit 701 receives an operation interface switching instruction sent by the service device for the target channel, send an identity of a user downloading the application program in the target channel to the service device, so that the service device counts the number of first users downloading the application program in the target channel and sends the operation interface switching instruction for the target channel to the client 700 when a ratio of the number of first users to the number of second users in the target channel satisfies a preset ratio.
By implementing the embodiment of the invention, the client can download the application program of the new application issued by the service equipment aiming at the channel of the client in advance, the waiting time of the user for experiencing the new application is reduced, and the client can receive the operation interface switching instruction aiming at the channel of the client and sent by the service equipment and respond to the operation interface switching instruction to switch the operation interface of the channel of the client to the operation interface corresponding to the new application, so that the user can experience the new application in time, and the effect of popularizing the new application is achieved.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a service device according to an embodiment of the present invention. As shown in fig. 8, the service apparatus 800 may include an output unit 801 and an input unit 802, wherein:
the output unit 801 is configured to send a configuration file of a target channel of a client to the client.
The input unit 802 is configured to receive a request message sent by the client for acquiring an application program of a new application when the configuration file indicates that the service apparatus 800 issues the new application for the target channel.
The output unit 801 is further configured to respond to the request message and send an application program to the client, so that the client installs the application program in the target channel.
As an optional implementation manner, the output unit 802 may be further configured to send an operation interface switching instruction for the target channel to the client, so that the client responds to the operation interface switching instruction and switches the current operation interface of the target channel to the target operation interface corresponding to the new application.
As an optional implementation manner, a specific way for the output unit 802 to send the operation interface switching instruction for the target channel to the client may be:
acquiring the identity of the user who downloads the application program in the target channel, and counting the number of first users who download the application program in the target channel by taking the identity as a basis;
judging whether the ratio of the first user number to the second user number in the target channel is larger than a preset ratio or not;
and if so, sending an operation interface switching instruction aiming at the target channel to the client.
As another optional implementation manner, a specific manner in which the output unit 802 sends the operation interface switching instruction for the target channel to the client may be as follows:
judging whether the current time is a preset time or not;
and if the current time is preset time, sending an operation interface switching instruction aiming at the target channel to the client.
By implementing the embodiment of the invention, the client can download the application program of the new application issued by the service equipment aiming at the channel of the client in advance, the waiting time of the user for experiencing the new application is reduced, and the client can receive the operation interface switching instruction aiming at the channel of the client and sent by the service equipment and respond to the operation interface switching instruction to switch the operation interface of the channel of the client to the operation interface corresponding to the new application, so that the user can experience the new application in time, and the effect of popularizing the new application is achieved.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a system for downloading an application program in a channel of a client according to an embodiment of the present invention. As shown in fig. 9, the downloading system of the in-channel application program of the client may include a client 901 and a service device 902, where:
the client 901 is configured to obtain a configuration file of a target channel of the client 901 from the service device 902, where the configuration file is used to indicate whether the service device 902 publishes a new application for the target channel, and when the configuration file indicates that the service device 902 publishes the new application for the target channel, send a request message for obtaining an application program of the new application to the service device 902 and receive the application program returned by the service device 902 in response to the request message, and then install the application program in the target channel.
The service device 902 is configured to send, to the client 901, a configuration file of a target channel of the client 901, where the configuration file is used to indicate whether the service device 902 publishes a new application for the target channel, and when the configuration file is used to indicate that the service device 902 publishes the new application for the target channel, receive a request message sent by the client 901 to obtain an application program of the new application, respond to the request message and send the application program to the client 901, so that the client 901 installs the application program in the target channel.
As an optional implementation manner, the service device 902 may also be configured to send an operation interface switching instruction for the target channel to the client 901.
The client 901 may also be configured to receive an operation interface switching instruction sent by the service device 902 for the target channel and respond to the operation interface switching instruction to switch the current operation interface of the target channel to the target operation interface corresponding to the new application.
As an optional implementation manner, the client 901 may be further configured to send, to the service device 902, an identity of a user that has downloaded the application program in the target channel before receiving the operation interface switching instruction sent by the service device 902 for the target channel.
As an optional implementation manner, the specific manner in which the service device 902 can also be used to send the operation interface switching instruction for the target channel to the client 901 may be:
acquiring the identity of the user who downloads the application program in the target channel, and counting the number of first users who download the application program in the target channel by taking the identity as a basis;
judging whether the ratio of the first user number to the second user number in the target channel is larger than a preset ratio or not;
if the determination result is yes, an operation interface switching instruction for the target channel is sent to the client 901.
As another optional implementation manner, the specific manner in which the service device 902 may also be used to send the operation interface switching instruction for the target channel to the client 901 may be:
judging whether the current time is a preset time or not;
if the current time is the preset time, an operation interface switching instruction for the target channel is sent to the client 901.
By implementing the embodiment of the invention, the client can download the application program of the new application issued by the service equipment aiming at the channel of the client in advance, the waiting time of the user for experiencing the new application is reduced, and the client can receive the operation interface switching instruction aiming at the channel of the client and sent by the service equipment and respond to the operation interface switching instruction to switch the operation interface of the channel of the client to the operation interface corresponding to the new application, so that the user can experience the new application in time, and the effect of popularizing the new application is achieved.
It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to relevant descriptions of other embodiments for parts that are not described in detail in a certain embodiment. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or elements are necessarily required of the invention.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units in the client and the service equipment in the embodiment of the invention can be merged, divided and deleted according to actual needs.
The units in the embodiments of the present invention may be implemented by a general-purpose Integrated Circuit, such as a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit).
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The method, the device and the system for downloading the application program in the channel of the client provided by the embodiment of the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.