Applet-based cloud card switching method and device for set-top box
By leveraging the collaborative operation of the mini-program and the cloud card pool system, remote network switching for set-top boxes can be achieved, overcoming the limitation of existing technologies that require a local area network connection, and improving user experience and operational efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGZHOU FENGZHUSHOU NETWORK TECHNOLOGY CO LTD
- Filing Date
- 2023-03-27
- Publication Date
- 2026-08-04
AI Technical Summary
Existing set-top box network switching methods require a local area network connection, resulting in long and potentially unsuccessful links, poor user experience, and a lack of means for remote network switching.
The system receives user commands via a mini-program, uses the cloud card pool system to disconnect the set-top box from the current cloud card, obtains an available cloud card from the optimal card group, completes the network connection, and supports remote assistance in switching.
It enables network switching based on individual network needs or remote assistance, improving user experience, reducing operational complaints, and increasing operational efficiency.
Smart Images

Figure CN116389834B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of set-top box technology, and in particular to a set-top box cloud card switching method and device based on a mini-program. Background Technology
[0002] The user turns on the set-top box and connects to the local area network (LAN). The user sends a command to the box's guardian service process. Upon receiving the command, the guardian service process sends a command to the module to switch networks. The module sends a network switching request to the cloud SIM card pool system through a collaborative communication channel. Upon receiving the network switching request, the cloud SIM card pool system releases the set-top box's current cloud SIM card and reallocates a new SIM card. The cloud SIM card pool system transmits the new SIM card information to the module through the collaborative communication channel. The module receives the new SIM card information and registers for a new network using it. Once the network switching is complete, the result is uploaded to the BeeAssistant cloud server. Existing set-top box network switching methods have certain limitations. They require a LAN connection and a command to switch networks on the BeeAssistant mobile set-top box device; they involve multiple modules and long implementation links, increasing the likelihood of failure; and they provide a poor user experience, as users with poor network performance need to first connect to the box's network to establish a LAN channel before initiating a network switching request, lacking a means of remote network switching. Summary of the Invention
[0003] The purpose of this invention is to overcome the shortcomings of the prior art. This invention provides a set-top box cloud card switching method and device based on a mini-program, which enables users to switch networks according to their own network needs or remotely assist users in switching networks, thereby improving user experience.
[0004] To address the aforementioned technical problems, this invention provides a method for switching set-top box cloud cards based on a mini-program, the method comprising:
[0005] The system receives user-generated network switching commands via a mini-program and sends the network switching commands to the cloud card pool system.
[0006] The cloud card pool system disconnects the set-top box from the currently used cloud card based on the received network switching command;
[0007] After the set-top box disconnects from the currently used cloud card, the cloud card pool system obtains the available cloud card corresponding to the set-top box from the optimal card group of the set-top box;
[0008] The cloud card pool system sends the card information of the available cloud cards to the set-top box;
[0009] The set-top box performs network connection processing based on the received card information and feeds back the network connection result to the cloud card pool system;
[0010] The mini-program obtains the network switching results of the set-top box based on periodic polling and displays them to the user.
[0011] Optionally, receiving user-generated network switching commands via a mini-program includes:
[0012] The mini-program performs identity verification based on the bound identity information, and generates an input interface for the user to perform input operations after the identity verification is successful.
[0013] The system receives user input information from the input interface and generates a network switching command based on the input information.
[0014] Optionally, sending the network switching command to the cloud card pool system includes:
[0015] The mini-program sends the network switching command to the cloud card pool system via a network transmission interface.
[0016] Optionally, the cloud SIM card pool system disconnects the set-top box from the currently used cloud SIM card based on the received network switching command, including:
[0017] After receiving the network switching command, the cloud card pool system obtains the set-top box corresponding to the network switching command and the cloud card currently used by the set-top box.
[0018] Based on the network switching command, the set-top box is controlled to disconnect from the cloud card currently used by the set-top box.
[0019] Optionally, the cloud card pool system obtains the available cloud card corresponding to the set-top box from the optimal card group of the set-top box, including:
[0020] The cloud card pool system calculates the optimal card set for the set-top box based on historical data;
[0021] The cloud card pool system allocates corresponding available cloud cards to the set-top box based on the optimal card group.
[0022] Optionally, the cloud card pool system calculates the optimal card set for the set-top box based on historical data, including:
[0023] The cloud card pool system calculates the optimal card set for the set-top box based on the historical network usage of the set-top box at the same time and location, and by combining the network usage of other set-top boxes in the same area at the same time.
[0024] Optionally, the cloud card pool system sends the card information of the available cloud cards to the set-top box, including:
[0025] The cloud card pool system sends the card information of the available cloud cards to the set-top box based on a collaborative communication channel.
[0026] Optionally, the set-top box includes a first communication channel and a second listening channel; wherein, the first communication channel is used to communicate and interact with the cloud card pool system; and the second communication channel is a network channel used to provide network services for the set-top box.
[0027] Optionally, the set-top box performs network connection processing based on the received card information, including:
[0028] After receiving the card information, the set-top box uses the card information to register with the base station;
[0029] The set-top box performs network connection processing based on the registered base station.
[0030] In addition, this invention also provides a set-top box cloud card switching device based on a mini-program, the device comprising:
[0031] Instruction generation module: used to receive user-generated network switching instructions based on the mini-program, and send the network switching instructions to the cloud card pool system;
[0032] Cloud SIM card disconnection module: used by the cloud SIM card pool system to disconnect the set-top box from the currently used cloud SIM card based on the received network switching command;
[0033] The acquisition module is used so that after the set-top box is disconnected from the currently used cloud card, the cloud card pool system can obtain the available cloud card corresponding to the set-top box from the optimal card group of the set-top box.
[0034] Information delivery module: used by the cloud card pool system to deliver the card information of the available cloud cards to the set-top box;
[0035] Network connection module: used by the set-top box to perform network connection processing based on the received card information, and to feed back the network connection result to the cloud card pool system;
[0036] Display module: This module is used by the mini-program to obtain the network switching results of the set-top box based on timed polling and to display them to the user.
[0037] In this embodiment of the invention, the set-top box's cloud card can be switched via a mini-program, enabling users to switch networks according to their own network needs or remotely assist users in switching networks, thus improving user experience. Attached Figure Description
[0038] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0039] Figure 1 This is a flowchart illustrating the set-top box cloud card switching method based on a mini-program in an embodiment of the present invention.
[0040] Figure 2 This is a schematic diagram of the structural composition of the set-top box cloud card switching device based on a mini-program in an embodiment of the present invention. Detailed Implementation
[0041] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0042] Example 1
[0043] Please see Figure 1 , Figure 1 This is a flowchart illustrating the set-top box cloud card switching method based on a mini-program in an embodiment of the present invention.
[0044] like Figure 1 As shown, a method for switching set-top box cloud cards based on a mini-program includes:
[0045] S11: Receive the user-generated network switching command based on the mini-program, and send the network switching command to the cloud card pool system;
[0046] In a specific implementation of this invention, receiving a user-generated network switching command via a mini-program includes: the mini-program performing identity verification based on bound identity information, and generating an input operation interface for the user to perform input operations after successful identity verification; receiving the user's input operation information based on the input operation interface, and generating a network switching command based on the input operation information.
[0047] Furthermore, sending the network switching command to the cloud card pool system includes: the mini-program sending the network switching command to the cloud card pool system based on the network transmission interface.
[0048] Specifically, when users switch set-top box cloud cards through the mini-program, they need to undergo identity authentication. This can be done by the mini-program calling the main program to bind identity information. For example, if the mini-program is a WeChat mini-program, it can call the WeChat program to bind identity information for authentication; if the mini-program is an Alipay mini-program, it can call the Alipay program to bind identity information for authentication. After successful authentication, an input interface is generated for the user to input their information. Then, the user's input information is received through the input interface, and a network switching command is generated based on the input information.
[0049] The mini-program then sends the network switching command to the cloud card pool system via the network transmission interface. Compared to the traditional method of sending commands via LAN, the main advantage is that as long as the mobile phone can access the Internet, the network switching can be remotely operated even if the box is not nearby. The method of sending commands via LAN requires first connecting to the set-top box network and establishing a LAN connection with the set-top box (box).
[0050] S12: The cloud card pool system disconnects the set-top box from the currently used cloud card based on the received network switching command;
[0051] In a specific implementation of the present invention, the cloud card pool system disconnects the set-top box from the currently used cloud card based on the received network switching instruction, including: after receiving the network switching instruction, the cloud card pool system obtains the set-top box corresponding to the network switching instruction and the cloud card currently used by the set-top box; and controls the set-top box to disconnect from the cloud card currently used by the set-top box based on the network switching instruction.
[0052] Specifically, after receiving a network switching command, the cloud card pool system first obtains the set-top box corresponding to the network switching command and the set-top box's current cloud card. Then, according to the network switching command, it controls the set-top box to disconnect from the cloud card currently used by the set-top box, thus achieving the disconnection of the set-top box from the current cloud card.
[0053] S13: After the set-top box disconnects from the currently used cloud card, the cloud card pool system obtains the available cloud card corresponding to the set-top box from the optimal card group of the set-top box;
[0054] In a specific implementation of the present invention, the cloud card pool system obtains the available cloud card corresponding to the set-top box from the optimal card group of the set-top box, including: the cloud card pool system calculates the optimal card group of the set-top box based on historical data; the cloud card pool system allocates the corresponding available cloud card to the set-top box based on the optimal card group.
[0055] Furthermore, the cloud card pool system calculates the optimal card set for the set-top box based on historical data, including: the cloud card pool system calculates the optimal card set for the set-top box based on the network usage of the set-top box at the same time and location in the same historical period, and by combining the network usage of other set-top boxes in the same area at the same time.
[0056] Specifically, the cloud card pool system first calculates the optimal card set for the set-top box using historical data, and then allocates the corresponding available cloud cards to the set-top box based on the optimal card set.
[0057] Specifically, the calculation first obtains the historical network usage data of the set-top box at the same location during the same time period, and combines this with the network usage data of other set-top boxes in the same area during the same time period. Then, the average of the historical network usage data of the set-top box at the same location during the same time period, combined with the average network usage data of other set-top boxes in the same area during the same time period, is used to select cloud cards with network performance better than this average value from the cloud card pool system to form the optimal card group. Then, the cloud card pool system sorts the cloud cards in the optimal card group from highest to lowest according to network performance, and selects the set-top box with the highest-ranked idle cloud card to allocate the corresponding available cloud card.
[0058] S14: The cloud card pool system sends the card information of the available cloud cards to the set-top box;
[0059] In a specific implementation of the present invention, the cloud card pool system sends the card information of the available cloud cards to the set-top box, including: the cloud card pool system sends the card information of the available cloud cards to the set-top box based on a collaborative communication channel.
[0060] Furthermore, the set-top box includes a first communication channel and a second listening channel; wherein, the first communication channel is used to communicate and interact with the cloud card pool system; and the second communication channel is a network channel used to provide network services for the set-top box.
[0061] Specifically, the cloud card pool system sends the card information of the available cloud cards to the set-top box through a coordinated communication channel; wherein the set-top box includes a first communication channel and a second communication channel; wherein the first communication channel is used to form a network channel with the second communication channel to provide network services for the set-top box.
[0062] S15: The set-top box performs network connection processing based on the received card information and feeds back the network connection result to the cloud card pool system;
[0063] In a specific implementation of the present invention, the set-top box performs network connection processing based on the received card information, including: after receiving the card information, the set-top box registers with a base station using the card information; and the set-top box performs network connection processing based on the registered base station.
[0064] Specifically, after the set-top box receives the card information, it first registers the card information with the base station. Then, the set-top box performs network connection processing based on the registered base station, thus enabling the set-top box to connect to the network. Finally, the network connection result is fed back to the cloud card pool system.
[0065] S16: The mini-program obtains the network switching results of the set-top box based on periodic polling and displays them to the user.
[0066] In the specific implementation of this invention, the mini-program obtains the network switching result of the set-top box by periodically polling the cloud card pool system. After polling the cloud card pool system and finding that the set-top box network switching is successful, the mini-program displays the result to the user so that the user can keep track of the network switching status in a timely manner.
[0067] In this embodiment of the invention, the set-top box's cloud card can be switched via a mini-program, enabling users to switch networks according to their own network needs or remotely assist users in switching networks, thus improving user experience. Simultaneously, network switching changes from one-way to two-way, adding a remote operation option to the original local operation. This improves operational efficiency, allowing operators to remotely intervene in user networks and reduce user complaints. Furthermore, it enhances user experience by enabling real-time network switching based on individual network needs or remote assistance for users in switching networks.
[0068] Example 2
[0069] Please see Figure 2 , Figure 2 This is a schematic diagram of the structural composition of the set-top box cloud card switching device based on a mini-program in an embodiment of the present invention.
[0070] like Figure 2 As shown, a set-top box cloud card switching device based on a mini-program includes:
[0071] Instruction generation module 21: used to receive user-generated network switching instructions based on the mini-program, and send the network switching instructions to the cloud card pool system;
[0072] In a specific implementation of this invention, receiving a user-generated network switching command via a mini-program includes: the mini-program performing identity verification based on bound identity information, and generating an input operation interface for the user to perform input operations after successful identity verification; receiving the user's input operation information based on the input operation interface, and generating a network switching command based on the input operation information.
[0073] Furthermore, sending the network switching command to the cloud card pool system includes: the mini-program sending the network switching command to the cloud card pool system based on the network transmission interface.
[0074] Specifically, when users switch set-top box cloud cards through the mini-program, they need to undergo identity authentication. This can be done by the mini-program calling the main program to bind identity information. For example, if the mini-program is a WeChat mini-program, it can call the WeChat program to bind identity information for authentication; if the mini-program is an Alipay mini-program, it can call the Alipay program to bind identity information for authentication. After successful authentication, an input interface is generated for the user to input their information. Then, the user's input information is received through the input interface, and a network switching command is generated based on the input information.
[0075] The mini-program then sends the network switching command to the cloud card pool system via the network transmission interface. Compared to the traditional method of sending commands via LAN, the main advantage is that as long as the mobile phone can access the Internet, the network switching can be remotely operated even if the box is not nearby. The method of sending commands via LAN requires first connecting to the set-top box network and establishing a LAN connection with the set-top box (box).
[0076] Cloud SIM card disconnection module 22: used by the cloud SIM card pool system to disconnect the set-top box from the currently used cloud SIM card based on the received network switching command;
[0077] In a specific implementation of the present invention, the cloud card pool system disconnects the set-top box from the currently used cloud card based on the received network switching instruction, including: after receiving the network switching instruction, the cloud card pool system obtains the set-top box corresponding to the network switching instruction and the cloud card currently used by the set-top box; and controls the set-top box to disconnect from the cloud card currently used by the set-top box based on the network switching instruction.
[0078] Specifically, after receiving a network switching command, the cloud card pool system first obtains the set-top box corresponding to the network switching command and the set-top box's current cloud card. Then, according to the network switching command, it controls the set-top box to disconnect from the cloud card currently used by the set-top box, thus achieving the disconnection of the set-top box from the current cloud card.
[0079] Module 23: After the set-top box is disconnected from the currently used cloud card, the cloud card pool system obtains the available cloud card corresponding to the set-top box from the optimal card group of the set-top box;
[0080] In a specific implementation of the present invention, the cloud card pool system obtains the available cloud card corresponding to the set-top box from the optimal card group of the set-top box, including: the cloud card pool system calculates the optimal card group of the set-top box based on historical data; the cloud card pool system allocates the corresponding available cloud card to the set-top box based on the optimal card group.
[0081] Furthermore, the cloud card pool system calculates the optimal card set for the set-top box based on historical data, including: the cloud card pool system calculates the optimal card set for the set-top box based on the network usage of the set-top box at the same time and location in the same historical period, and by combining the network usage of other set-top boxes in the same area at the same time.
[0082] Specifically, the cloud card pool system first calculates the optimal card set for the set-top box using historical data, and then allocates the corresponding available cloud cards to the set-top box based on the optimal card set.
[0083] Specifically, the calculation first obtains the historical network usage data of the set-top box at the same location during the same time period, and combines this with the network usage data of other set-top boxes in the same area during the same time period. Then, the average of the historical network usage data of the set-top box at the same location during the same time period, combined with the average network usage data of other set-top boxes in the same area during the same time period, is used to select cloud cards with network performance better than this average value from the cloud card pool system to form the optimal card group. Then, the cloud card pool system sorts the cloud cards in the optimal card group from highest to lowest according to network performance, and selects the set-top box with the highest-ranked idle cloud card to allocate the corresponding available cloud card.
[0084] Information delivery module 24: used by the cloud card pool system to deliver the card information of the available cloud cards to the set-top box;
[0085] In a specific implementation of the present invention, the cloud card pool system sends the card information of the available cloud cards to the set-top box, including: the cloud card pool system sends the card information of the available cloud cards to the set-top box based on a collaborative communication channel.
[0086] Furthermore, the set-top box includes a first communication channel and a second listening channel; wherein, the first communication channel is used to communicate and interact with the cloud card pool system; and the second communication channel is a network channel used to provide network services for the set-top box.
[0087] Specifically, the cloud card pool system sends the card information of the available cloud cards to the set-top box through a coordinated communication channel; wherein the set-top box includes a first communication channel and a second communication channel; wherein the first communication channel is used to form a network channel with the second communication channel to provide network services for the set-top box.
[0088] Network connection module 25: used by the set-top box to perform network connection processing based on the received card information, and to feed back the network connection result to the cloud card pool system;
[0089] In a specific implementation of the present invention, the set-top box performs network connection processing based on the received card information, including: after receiving the card information, the set-top box registers with a base station using the card information; and the set-top box performs network connection processing based on the registered base station.
[0090] Specifically, after the set-top box receives the card information, it first registers the card information with the base station. Then, the set-top box performs network connection processing based on the registered base station, thus enabling the set-top box to connect to the network. Finally, the network connection result is fed back to the cloud card pool system.
[0091] Display module 26: This module is used by the mini-program to obtain the network switching results of the set-top box based on timed polling and to display them to the user.
[0092] In the specific implementation of this invention, the mini-program obtains the network switching result of the set-top box by periodically polling the cloud card pool system. After polling the cloud card pool system and finding that the set-top box network switching is successful, the mini-program displays the result to the user so that the user can keep track of the network switching status in a timely manner.
[0093] In this embodiment of the invention, the set-top box's cloud card can be switched via a mini-program, enabling users to switch networks according to their own network needs or remotely assist users in switching networks, thus improving user experience. Simultaneously, network switching changes from one-way to two-way, adding a remote operation option to the original local operation. This improves operational efficiency, allowing operators to remotely intervene in user networks and reduce user complaints. Furthermore, it enhances user experience by enabling real-time network switching based on individual network needs or remote assistance for users in switching networks.
[0094] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0095] Furthermore, the above provides a detailed description of a set-top box cloud card switching method and device based on a mini-program provided by the embodiments of the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for switching a cloud card of a set-top box based on an applet, characterized in that, The method includes: The system receives user-generated network switching commands via a mini-program and sends the network switching commands to the cloud card pool system. The cloud card pool system disconnects the set-top box from the currently used cloud card based on the received network switching command; After the set-top box disconnects from the currently used cloud card, the cloud card pool system obtains the available cloud card corresponding to the set-top box from the optimal card group of the set-top box; The cloud card pool system sends the card information of the available cloud cards to the set-top box; The set-top box performs network connection processing based on the received card information and feeds back the network connection result to the cloud card pool system; The mini-program obtains the network switching results of the set-top box based on periodic polling and displays them to the user.
2. The set-top box cloud card switching method of claim 1, wherein, The method of receiving user-generated network switching commands via a mini-program includes: The mini-program performs identity verification based on the bound identity information, and generates an input interface for the user to perform input operations after the identity verification is successful. The system receives user input information from the input interface and generates a network switching command based on the input information.
3. The set-top box cloud card switching method of claim 1, wherein, Sending the network switching command to the cloud card pool system includes: The mini-program sends the network switching command to the cloud card pool system via a network transmission interface.
4. The set-top box cloud card switching method of claim 1, wherein, The cloud SIM card pool system disconnects the set-top box from the currently used cloud SIM card based on the received network switching command, including: After receiving the network switching command, the cloud card pool system obtains the set-top box corresponding to the network switching command and the cloud card currently used by the set-top box; Based on the network switching command, the set-top box is controlled to disconnect from the cloud card currently used by the set-top box.
5. The set-top box cloud card switching method of claim 1, wherein, The cloud card pool system obtains the available cloud card corresponding to the set-top box from the optimal card group of the set-top box, including: The cloud card pool system calculates the optimal card set for the set-top box based on historical data; The cloud card pool system allocates corresponding available cloud cards to the set-top box based on the optimal card group.
6. The set-top box cloud card switching method of claim 5, wherein, The cloud card pool system calculates the optimal card set for the set-top box based on historical data, including: The cloud card pool system calculates the optimal card set for the set-top box based on the historical network usage of the set-top box at the same time and location, and by combining the network usage of other set-top boxes in the same area at the same time.
7. The set-top box cloud card switching method of claim 1, wherein, The cloud card pool system sends the card information of the available cloud cards to the set-top box, including: The cloud card pool system sends the card information of the available cloud cards to the set-top box based on a collaborative communication channel.
8. The set-top box cloud card switching method of claim 7, wherein, The set-top box includes a first communication channel and a second communication channel; wherein, the first communication channel is used to communicate and interact with the cloud card pool system; and the second communication channel is a network channel used to provide network services for the set-top box.
9. The set-top box cloud card switching method of claim 1, wherein, The set-top box performs network connection processing based on the received card information, including: After receiving the card information, the set-top box uses the card information to register with the base station; The set-top box performs network connection processing based on the registered base station.
10. A kind of applet-based cloud card switching device of set top box, it is characterized in being, The device includes: Instruction generation module: used to receive user-generated network switching instructions based on the mini-program, and send the network switching instructions to the cloud card pool system; Cloud SIM card disconnection module: used by the cloud SIM card pool system to disconnect the set-top box from the currently used cloud SIM card based on the received network switching command; The acquisition module is used so that after the set-top box is disconnected from the currently used cloud card, the cloud card pool system can obtain the available cloud card corresponding to the set-top box from the optimal card group of the set-top box. Information delivery module: used by the cloud card pool system to deliver the card information of the available cloud cards to the set-top box; Network connection module: used by the set-top box to perform network connection processing based on the received card information, and to feed back the network connection result to the cloud card pool system; Display module: This module is used by the mini-program to obtain the network switching results of the set-top box based on timed polling and to display them to the user.