CN109743637B - Method, management system and server for global routing of set top box - Google Patents

Method, management system and server for global routing of set top box Download PDF

Info

Publication number
CN109743637B
CN109743637B CN201910036219.XA CN201910036219A CN109743637B CN 109743637 B CN109743637 B CN 109743637B CN 201910036219 A CN201910036219 A CN 201910036219A CN 109743637 B CN109743637 B CN 109743637B
Authority
CN
China
Prior art keywords
top box
route
set top
service
routing
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
CN201910036219.XA
Other languages
Chinese (zh)
Other versions
CN109743637A (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.)
Shandong Inspur Ultra HD Video Industry Co Ltd
Original Assignee
Shandong Yunman Intelligent Technology 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 Shandong Yunman Intelligent Technology Co ltd filed Critical Shandong Yunman Intelligent Technology Co ltd
Priority to CN201910036219.XA priority Critical patent/CN109743637B/en
Publication of CN109743637A publication Critical patent/CN109743637A/en
Application granted granted Critical
Publication of CN109743637B publication Critical patent/CN109743637B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method, a management system and a server for global routing of a set top box, which are applied to the method of the server and comprise the following steps: receiving a routing service request sent by any set top box; determining characteristic difference information of the set top box carried by the routing service request; acquiring at least two preset route skipping modes in a database; determining a target route skipping mode corresponding to the characteristic difference information from at least two route skipping modes; determining a business service corresponding to the routing service request; and providing the service to the set top box according to the target route jumping mode. The scheme can provide differentiated individual services for the set top box.

Description

Method, management system and server for global routing of set top box
Technical Field
The invention relates to the technical field of computers, in particular to a method, a management system and a server side for global routing of a set top box.
Background
With the advent of the analog-to-digital era, set-top boxes have gradually entered the families of common people. It can receive and analyze digital signals to enable users to watch digital television programs on existing televisions, and also can perform interactive activities through a network.
At present, a set top box is used as a viewing terminal, and content and service can be displayed only by the support of a server. For example, the set-top box may request a service from the server, and the server may provide a corresponding service to the set-top box according to the request of the set-top box.
However, different set-top boxes have different characteristics, for example, the regions to which the set-top boxes belong are different. The same service is provided for the set top boxes with the characteristic difference information, so that some set top boxes cannot acquire part of services, and the use experience of users is influenced.
Disclosure of Invention
The embodiment of the invention provides a method, a management system and a server for global routing of a set top box, which can provide differentiated individual services for the set top box.
In a first aspect, the present invention provides a method for global routing of a set top box, which is applied to a server and includes:
receiving a routing service request sent by any set top box;
determining characteristic difference information of the set top box carried by the routing service request;
acquiring at least two preset route skipping modes in a database;
determining a target route skipping mode corresponding to the characteristic difference information from the at least two route skipping modes;
determining a business service corresponding to the routing service request;
and providing the service to the set top box according to the target route jumping mode.
Preferably, the first and second electrodes are formed of a metal,
after determining the characteristic difference information of the set top box carried by the routing service request, and before acquiring at least two preset routing skip modes in the database, further comprising:
determining whether at least two route skipping modes in a database exist in cache data;
if yes, executing the target route skipping mode corresponding to the characteristic difference information from the at least two route skipping modes;
otherwise, executing at least two preset route skipping modes in the acquisition database, and caching the at least two route skipping modes.
Preferably, the first and second electrodes are formed of a metal,
after determining the service corresponding to the routing service request, and before providing the service to the set top box according to the target routing skip mode, further comprising:
determining a uniform resource locator address of the business service;
the providing the service to the set top box according to the target route skipping mode comprises:
and sending the uniform resource locator address to the set top box according to the target route skipping mode, so that the set top box obtains the business service corresponding to the route service request through the uniform resource locator address.
Preferably, the first and second electrodes are formed of a metal,
the acquiring of the at least two preset route hopping modes in the database includes:
acquiring at least two preset route skipping modes in a database through a preset intranet;
the sending the uniform resource locator address to the set top box according to the target route skipping mode comprises:
and sending the uniform resource locator address to the set top box through a public network according to the target route skipping mode.
Preferably, the first and second electrodes are formed of a metal,
the feature difference information includes: any one or more of an IP network segment, a MAC segment, an intelligent card number, a regional code, a device model number and a software and hardware version.
Preferably, the first and second electrodes are formed of a metal,
the determining a target route hopping pattern corresponding to the feature difference information from the at least two route hopping patterns includes:
s0: arranging each route skipping mode according to a preset arrangement sequence, and taking the first route skipping mode in the arrangement sequence as a current route skipping mode;
s1: determining whether the current route hopping manner corresponds to the feature difference information, if so, executing S2, otherwise, executing S3;
s2: taking the current route skipping mode as a target route skipping mode;
s3: and returning to the step S1 by taking the next route skipping mode of the current route skipping modes in the arranging sequence as the current route skipping mode.
In a second aspect, an embodiment of the present invention provides a server, including:
the information receiving module is used for receiving a routing service request sent by any set top box;
an information determining module, configured to determine feature difference information of the set top box, which is carried by the routing service request received by the information receiving module;
the service processing module is used for acquiring at least two preset route skipping modes in the database; determining a target route skipping mode corresponding to the characteristic difference information determined by the information determining module from the at least two route skipping modes; determining the business service corresponding to the routing service request received by the information receiving module;
and the information sending module is used for providing the business service for the set top box according to the target route skipping mode determined by the service processing module.
Preferably, the first and second electrodes are formed of a metal,
the service processing module is further used for determining whether at least two route skipping modes in the database exist in the cache data; if yes, executing the target route skipping mode corresponding to the characteristic difference information from the at least two route skipping modes; otherwise, executing at least two preset route skipping modes in the acquisition database, and caching the at least two route skipping modes.
Preferably, the first and second electrodes are formed of a metal,
the service processing module is further configured to determine a uniform resource locator address of the business service;
and the information sending module is used for sending the uniform resource locator address to the set top box according to the target route skipping mode, so that the set top box obtains the business service corresponding to the route service request through the uniform resource locator address.
In a third aspect, an embodiment of the present invention provides a system for managing a global route of a set top box, including: at least one set top box, at least one server side and a database in the second aspect;
the set top box is used for receiving a service instruction input by a user and sending a routing service request corresponding to the service instruction to the server, wherein the routing service request carries characteristic difference information of equipment; when receiving the service provided by the service end, providing the service to the user;
the database is used for storing at least two preset route skipping modes so that the server side can acquire the at least two route skipping modes when receiving the route service request.
Preferably, the first and second electrodes are formed of a metal,
the server is further used for storing Keepalived and LVS when the number of the servers is larger than 1; determining whether the routing service of the equipment is abnormal or not through the Keepalived, and if so, removing the equipment from a cluster through the LVS, wherein the cluster consists of each server; and when the running state of the equipment is recovered to be normal, adding the equipment into the cluster.
In the embodiment of the invention, when the server receives the routing service request sent by any set top box, the server can determine the characteristic difference information of the set top box requesting the service according to the routing service request; then, through the characteristic difference information, a corresponding target route skipping mode can be determined from at least two route skipping modes stored in the database, and through the route skipping modes stored in the database, the condition that other nodes are affected to provide personalized services for the set top box after a single service terminal is down can be avoided; and then the business service corresponding to the routing service request is provided for the set top box according to the target routing skip mode, so that differentiated personalized service can be provided for different set top boxes, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for global routing of a set-top box according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a management system for global routing of a set top box according to an embodiment of the present invention;
fig. 4 is a flowchart of another set top box global routing method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, 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, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for global routing of a set top box, which is applied to a server and includes:
step 101: receiving a routing service request sent by any set top box;
step 102: determining characteristic difference information of the set top box carried by the routing service request;
step 103: acquiring at least two preset route skipping modes in a database;
step 104: determining a target route skipping mode corresponding to the characteristic difference information from the at least two route skipping modes;
step 105: determining a business service corresponding to the routing service request;
step 106: and providing the service to the set top box according to the target route jumping mode.
In the embodiment of the invention, when the server receives the routing service request sent by any set top box, the server can determine the characteristic difference information of the set top box requesting the service according to the routing service request; then, through the characteristic difference information, a corresponding target route skipping mode can be determined from at least two route skipping modes stored in the database, and through the route skipping modes stored in the database, the condition that other nodes are affected to provide personalized services for the set top box after a single service terminal is down can be avoided; and then the business service corresponding to the routing service request is provided for the set top box according to the target routing skip mode, so that differentiated personalized service can be provided for different set top boxes, and the use experience of a user is improved.
In order to reduce the pressure of the database, in an embodiment of the present invention, after determining the feature difference information of the set top box carried by the routing service request, before acquiring at least two preset route hopping patterns in the database, the method further includes:
determining whether at least two route skipping modes in a database exist in cache data;
if yes, executing the target route skipping mode corresponding to the characteristic difference information from the at least two route skipping modes;
otherwise, executing at least two preset route skipping modes in the acquisition database, and caching the at least two route skipping modes.
In the embodiment of the invention, the data storage of the route skipping mode can be realized by the database, when the corresponding target route skipping mode is determined according to the characteristic difference information of the set top box, whether the corresponding target route skipping mode exists in the local cache data or not can be determined, and if and only if the corresponding target route skipping mode does not exist in the cache data, the route skipping mode in the database is accessed to match the set top box with the corresponding target route skipping, so that the redirection routing service of the set top box is completed. By caching the route skipping mode in the database, the times of accessing the database when the set top box is matched with the target route skipping mode can be reduced, and the pressure of the database is reduced.
In an embodiment of the present invention, after determining the service corresponding to the route service request, before providing the service to the set top box according to the target route hopping manner, the method further includes:
determining a uniform resource locator address of the business service;
the providing the service to the set top box according to the target route skipping mode comprises:
and sending the uniform resource locator address to the set top box according to the target route skipping mode, so that the set top box obtains the business service corresponding to the route service request through the uniform resource locator address.
In the embodiment of the present invention, when a target route hopping pattern matching with the set-top box feature difference information exists in the at least two route hopping patterns, it may be determined that the target route hopping pattern is valid, and therefore, a uniform resource locator address of a service corresponding to the route service request (for example, the uniform resource locator address www.BDX12XX.com of the service B) may be used, so that the set-top box obtains the corresponding service through the uniform resource locator address.
In order to improve the security of the data in the database, in an embodiment of the present invention, the acquiring at least two preset route hopping patterns in the database includes:
acquiring at least two preset route skipping modes in a database through a preset intranet;
the sending the uniform resource locator address to the set top box according to the target route skipping mode comprises:
and sending the uniform resource locator address to the set top box through a public network according to the target route skipping mode.
In the embodiment of the invention, when the server interacts with the database, the interaction can be carried out through an intranet (namely an internal network) so as to avoid the data in the database from being illegally stolen. When interacting with each set-top box, the set-top box can interact through the public network, so that the set-top box can receive the interactive data.
In an embodiment of the present invention, the feature difference information includes: any one or more of an IP network segment, a MAC segment, an intelligent card number, a regional code, a device model number and a software and hardware version.
In the embodiment of the invention, the IP network segment, the intelligent card number, the area code, the equipment model and the software and hardware version of each set top box are different, so that the set top box can be matched with a target route skipping mode according to the IP network segment, the intelligent card number, the area code, the equipment model and the software and hardware version of the set top box, and different personalized services are provided for the set top box according to the target route skipping mode.
In an embodiment of the present invention, the determining, from the at least two route hopping patterns, a target route hopping pattern corresponding to the feature difference information includes:
s0: arranging each route skipping mode according to a preset arrangement sequence, and taking the first route skipping mode in the arrangement sequence as a current route skipping mode;
s1: determining whether the current route hopping manner corresponds to the feature difference information, if so, executing S2, otherwise, executing S3;
s2: taking the current route skipping mode as a target route skipping mode;
s3: and returning to the step S1 by taking the next route skipping mode of the current route skipping modes in the arranging sequence as the current route skipping mode.
In the embodiment of the invention, in order to meet the service requirements of different set top boxes, a plurality of route skipping modes may exist, so that operation and maintenance personnel can preset the arrangement sequence of each route skipping mode according to design requirements, so as to determine whether each route skipping mode is matched with the difference characteristics of the set top box in sequence according to the arrangement sequence, and match the set top box with the corresponding target route skipping mode.
As shown in fig. 2, an embodiment of the present invention provides a server, including:
an information receiving module 201, configured to receive a routing service request sent by any set top box;
an information determining module 202, configured to determine feature difference information of the set top box, which is carried by the routing service request received by the information receiving module 201;
the service processing module 203 is configured to obtain at least two preset route hopping modes in the database; determining a target route skipping manner corresponding to the characteristic difference information determined by the information determining module 202 from the at least two route skipping manners; determining a service corresponding to the routing service request received by the information receiving module 201;
and an information sending module 204, configured to provide the service to the set top box according to the target route hopping manner determined by the service processing module 203.
In the embodiment of the invention, when a routing service request sent by any set top box is received by a server, the characteristic difference information of the set top box requesting the service can be determined according to the routing service request; then, through the characteristic difference information, a corresponding target route skipping mode can be determined from at least two route skipping modes stored in the database, and through the route skipping modes stored in the database, the condition that other nodes are affected to provide personalized services for the set top box after a single service terminal is down can be avoided; and then the business service corresponding to the routing service request is provided for the set top box according to the target routing skip mode, so that differentiated personalized service can be provided for different set top boxes, and the use experience of a user is improved.
In an embodiment of the present invention, the service processing module is further configured to determine whether at least two route skipping manners in the database exist in the cache data; if yes, executing the target route skipping mode corresponding to the characteristic difference information from the at least two route skipping modes; otherwise, executing at least two preset route skipping modes in the acquisition database, and caching the at least two route skipping modes.
In an embodiment of the present invention, the service processing module is further configured to determine a uniform resource locator address of the business service;
and the information sending module is used for sending the uniform resource locator address to the set top box according to the target route skipping mode, so that the set top box obtains the business service corresponding to the route service request through the uniform resource locator address.
In an embodiment of the present invention, the service processing module is configured to obtain at least two preset route skipping manners in a database through a preset intranet;
and the information sending module is used for sending the uniform resource locator address to the set top box through a public network according to the target route skipping mode.
In an embodiment of the present invention, the feature difference information includes: any one or more of an IP network segment, a MAC segment, an intelligent card number, a regional code, a device model number and a software and hardware version.
In an embodiment of the present invention, the service processing module is configured to execute:
s0: arranging each route skipping mode according to a preset arrangement sequence, and taking the first route skipping mode in the arrangement sequence as a current route skipping mode;
s1: determining whether the current route hopping manner corresponds to the feature difference information, if so, executing S2, otherwise, executing S3;
s2: taking the current route skipping mode as a target route skipping mode;
s3: and returning to the step S1 by taking the next route skipping mode of the current route skipping modes in the arranging sequence as the current route skipping mode.
As shown in fig. 3, an embodiment of the present invention provides a management system for a global routing of a set top box, including: at least one set top box 301, at least one server 302 and a database 303 as described in fig. 2;
the set top box 301 is configured to receive a service instruction input by a user, and send a routing service request corresponding to the service instruction to the server 302, where the routing service request carries feature difference information of a device; when receiving the service provided by the service end 302, providing the service to the user;
the database 303 is configured to store at least two preset route forwarding manners, so that the server obtains the at least two route forwarding manners when receiving the route service request.
In the embodiment of the invention, when the server receives the routing service request sent by any set top box, the server can determine the characteristic difference information of the set top box requesting the service according to the routing service request; then, through the characteristic difference information, a corresponding target route skipping mode can be determined from at least two route skipping modes stored in the database, and through the route skipping modes stored in the database, the condition that other nodes are affected to provide personalized services for the set top box after a single service terminal is down can be avoided; and then the business service corresponding to the routing service request is provided for the set top box according to the target routing skip mode, so that differentiated personalized service can be provided for different set top boxes, and the use experience of a user is improved.
In an embodiment of the present invention, the server is further configured to store Keepalived and LVS when the number of the servers is greater than 1; determining whether the routing service of the equipment is abnormal or not through the Keepalived, and if so, removing the equipment from a cluster through the LVS, wherein the cluster consists of each server; and when the running state of the equipment is recovered to be normal, adding the equipment into the cluster.
In the embodiment of the invention, Keepallved and LVS are stored in the server, the state of the server can be determined through Keepallved to determine whether the routing service of the server is abnormal or not so as to realize high availability of the server, and the server with abnormal routing service can be removed from a cluster formed by various servers through LVS so as to ensure that each server in the cluster can work normally and provide different service services for different set-top boxes. When the routing service of the server side returns to normal, the server side can be added into the cluster through the LVS, so that the routing service is continuously provided for the set top box.
In order to more clearly illustrate the technical solution and advantages of the present invention, the following detailed description is made on how to provide differentiated personalized services for a set top box by using a management system of a global routing of the set top box, as shown in fig. 4, and the detailed description specifically includes the following steps:
step 401: the set top box receives a service instruction input by a user, and sends a routing service request corresponding to the service instruction to the server a and the server b, wherein the routing service request carries the characteristic difference information of the equipment.
Specifically, if the user needs the set-top box to provide a service, the user may input a service instruction to the set-top box, for example, the user wants to watch a television program of the television station X, and may send a service instruction requesting to watch the television station X to the set-top box through the remote controller. Therefore, the set top box can send a routing service request carrying any one or more of feature difference information of an IP network segment, an intelligent card number, an area code, an equipment model and a software and hardware version to the server, so that the server provides personalized service corresponding to the routing service request according to the feature difference information.
Step 402: executing, by the server: when a routing service request sent by a set top box is received, determining the characteristic difference information of the set top box carried by the routing service request.
Specifically, after receiving a routing service request sent by the set top box, the server can determine characteristic difference information of the set top box, such as an IP network segment, an MAC segment, an intelligent card number, an area code, an equipment model, a software and hardware version, and the like according to the routing service request parameter, so as to provide different personalized services for the set top box according to the characteristic difference information of the set top box.
Step 403: and determining whether at least two preset route skipping modes in the database exist in the cache data, if so, executing a step 404, and otherwise, executing a step 411.
Specifically, a plurality of preset route skipping modes can be stored through the database, so that the set top box is matched with the corresponding target route skipping mode according to the stored route skipping modes. And preferentially determining whether a target route skipping mode corresponding to the characteristic difference information carried by the route service request exists in the cache number, so that the times of accessing the database can be reduced, and the pressure of the database is reduced. And when the corresponding target route skipping mode does not exist in the cache data, acquiring each route skipping mode from the database to match the corresponding target route skipping mode for the set top box so as to provide corresponding service for the set top box.
Step 404: and arranging each route skipping mode according to a preset arrangement sequence, and taking the first route skipping mode in the arrangement sequence as the current route skipping mode.
Specifically, in each route hopping pattern, there may be a plurality of target route hopping patterns corresponding to the feature difference information of the set top box, and therefore, it is necessary to determine the priority of each route hopping pattern according to a preset ranking order, so that the target route hopping pattern corresponding to the set top box is determined from each route hopping pattern according to the priority.
Step 405: and determining whether the current route skipping mode corresponds to the characteristic difference information, if so, executing step 406, and otherwise, executing step 407.
Specifically, the current route skipping mode is compared with characteristic difference information such as an IP network segment, an MAC segment, an intelligent card number, an area code, an equipment model and a software and hardware version of the set top box, whether the current route skipping mode is matched with the characteristic difference information of the set top box or not can be determined, and if and only if the characteristic difference information is matched with the current route skipping mode, a Uniform Resource Locator (URL) (namely, a target link) of a corresponding business service is provided for the set top box according to the current route skipping mode so that the set top box can obtain the corresponding business service.
Step 406: the current route hopping mode is taken as the target route hopping mode, and step 408 is executed.
Step 407: and the next route skipping mode of the current route skipping mode in the ranking sequence is taken as the current route skipping mode, and the step 405 is returned.
Specifically, when the current route hopping mode is not matched with the feature difference information of the set-top box, it may be determined whether the next route hopping mode of the current route hopping mode is matched with the feature difference information according to the ranking order.
Step 408: and determining the business service corresponding to the routing service request.
Step 409: a uniform resource locator address of the business service is determined.
Specifically, after the target route skipping mode of the set top box is determined, the service requested by the route service request can be determined, so that the corresponding URL is determined according to the service, and the URL is provided to the set top box, so that the set top box calls the service through the URL.
Step 410: and according to the target route skipping mode, sending the uniform resource locator address to the set-top box through the public network, so that the set-top box obtains the business service corresponding to the route service request through the uniform resource locator address and provides the business service for the user.
Step 411: and acquiring at least two preset route skipping modes in the database through a preset intranet, caching the acquired at least two route skipping modes, and returning to the step 404.
Specifically, for security purposes, the deployment of the server and the database may use an intranet to improve the security of the database. After the route skipping mode in the database is obtained, the obtained data can be cached, so that when a request sent by the set top box is received, the corresponding target route skipping mode is matched with the cached data preferentially from the cached data, and the access pressure of the database data is reduced.
The route skipping mode can be cached in the server, so that the requirement on concurrency and high availability of the database is not high, and the database can be a MySQL database so as to reduce the cost of providing the routing service for the set top box.
Specifically, when the number of the service terminals is not less than 1, keepalive and LVS may be stored in each service terminal, so as to detect whether the routing service through the keepalive device is abnormal, if and only if the routing service is abnormal, the device with the abnormal routing service is removed from the cluster formed by each service terminal through the LVS, and when the routing service of the device is recovered to be normal, the device is added to the cluster, and the service is continuously provided for the set top box.
The embodiments of the invention have at least the following beneficial effects:
1. in an embodiment of the present invention, when receiving a routing service request sent by any set top box, a server may determine feature difference information of the set top box requesting a service according to the routing service request; then, through the characteristic difference information, a corresponding target route skipping mode can be determined from at least two route skipping modes stored in the database, and through the route skipping modes stored in the database, the condition that other nodes are affected to provide personalized services for the set top box after a single service terminal is down can be avoided; and then the business service corresponding to the routing service request is provided for the set top box according to the target routing skip mode, so that differentiated personalized service can be provided for different set top boxes, and the use experience of a user is improved.
2. In an embodiment of the present invention, the data storage of the route skipping manner may be implemented by a database, and when determining the corresponding target route skipping manner for the set-top box according to the characteristic difference information of the set-top box, it may be determined whether the corresponding target route skipping manner exists in the local cache data, and if and only if the corresponding target route skipping manner does not exist in the cache data, the route skipping manner in the database is accessed to match the set-top box with the corresponding target route skipping, so as to complete the redirection routing service of the set-top box. By caching the route skipping mode in the database, the times of accessing the database when the set top box is matched with the target route skipping mode can be reduced, and the pressure of the database is reduced.
3. In an embodiment of the present invention, when a target route hopping pattern matching with the feature difference information of the set top box exists in the at least two route hopping patterns, it may be determined that the target route hopping pattern is valid, and therefore, a uniform resource locator address of a service corresponding to the route service request may be used, so that the set top box may obtain the corresponding service through the uniform resource locator address.
4. In an embodiment of the present invention, when the server interacts with the database, the interaction may be performed through an intranet (i.e., an internal network), so as to prevent data in the database from being illegally stolen. When interacting with each set-top box, the set-top box can interact through the public network, so that the set-top box can receive the interactive data.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.
Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method for global routing of a set top box is applied to a server side and comprises the following steps:
receiving a routing service request sent by any set top box;
determining the difference information of any one or more characteristics of the IP network segment, the MAC segment, the intelligent card number, the area code, the equipment model and the software and hardware version of the set top box carried by the routing service request;
acquiring at least two preset route skipping modes in a database;
determining a target route skipping mode corresponding to the characteristic difference information from the at least two route skipping modes;
determining a business service corresponding to the routing service request;
and providing the service to the set top box according to the target route jumping mode.
2. The method for global routing of a set-top box according to claim 1,
after determining the characteristic difference information of the set top box carried by the routing service request, and before acquiring at least two preset routing skip modes in the database, further comprising:
determining whether at least two route skipping modes in a database exist in cache data;
if yes, executing the target route skipping mode corresponding to the characteristic difference information from the at least two route skipping modes;
otherwise, executing at least two preset route skipping modes in the acquisition database, and caching the at least two route skipping modes.
3. The method for global routing of a set-top box according to claim 1,
after determining the service corresponding to the routing service request, and before providing the service to the set top box according to the target routing skip mode, further comprising:
determining a uniform resource locator address of the business service;
the providing the service to the set top box according to the target route skipping mode comprises:
and sending the uniform resource locator address to the set top box according to the target route skipping mode, so that the set top box obtains the business service corresponding to the route service request through the uniform resource locator address.
4. The method for global routing of a set-top box according to claim 3,
the acquiring of the at least two preset route hopping modes in the database includes:
acquiring at least two preset route skipping modes in a database through a preset intranet;
the sending the uniform resource locator address to the set top box according to the target route skipping mode comprises:
and sending the uniform resource locator address to the set top box through a public network according to the target route skipping mode.
5. The method for global routing of a set-top box according to any of claims 1 to 4,
the feature difference information includes: any one or more of an IP network segment, an MAC segment, an intelligent card number, an area code, an equipment model and a software and hardware version;
and/or the presence of a gas in the gas,
the determining a target route hopping pattern corresponding to the feature difference information from the at least two route hopping patterns includes:
s0: arranging each route skipping mode according to a preset arrangement sequence, and taking the first route skipping mode in the arrangement sequence as a current route skipping mode;
s1: determining whether the current route hopping manner corresponds to the feature difference information, if so, executing S2, otherwise, executing S3;
s2: taking the current route skipping mode as a target route skipping mode;
s3: and returning to the step S1 by taking the next route skipping mode of the current route skipping modes in the arranging sequence as the current route skipping mode.
6. A server, comprising:
the information receiving module is used for receiving a routing service request sent by any set top box;
the information determining module is used for determining the difference information of any one or more characteristics of the IP network segment, the MAC segment, the intelligent card number, the regional code, the equipment model and the software and hardware version of the set top box carried by the routing service request received by the information receiving module;
the service processing module is used for acquiring a route skipping mode for redirecting at least two preset HTTP access requests in the database; determining a target route skipping mode corresponding to the characteristic difference information determined by the information determining module from the at least two route skipping modes; determining the business service corresponding to the routing service request received by the information receiving module;
and the information sending module is used for providing the business service for the set top box according to the target route skipping mode determined by the service processing module.
7. The server according to claim 6,
the service processing module is further used for determining whether at least two route skipping modes in the database exist in the cache data; if yes, executing the target route skipping mode corresponding to the characteristic difference information from the at least two route skipping modes; otherwise, executing at least two preset route skipping modes in the acquisition database, and caching the at least two route skipping modes.
8. The server according to claim 6,
the service processing module is further configured to determine a uniform resource locator address of the business service;
and the information sending module is used for sending the uniform resource locator address to the set top box according to the target route skipping mode, so that the set top box obtains the business service corresponding to the route service request through the uniform resource locator address.
9. A management system for set top box global routing, comprising: at least one set-top box, at least one server according to any one of claims 6 to 8 and a database;
the set top box is used for receiving a service instruction input by a user and sending a routing service request corresponding to the service instruction to the server, wherein the routing service request carries characteristic difference information of equipment; when receiving the service provided by the service end, providing the service to the user;
the database is used for storing at least two preset route skipping modes so that the server side can acquire the at least two route skipping modes when receiving the route service request.
10. The management system for global routing of set-top boxes of claim 9,
the server is further used for storing Keepalived and LVS when the number of the servers is larger than 1; determining whether the routing service of the equipment is abnormal or not through the Keepalived, and if so, removing the equipment from a cluster through the LVS, wherein the cluster consists of each server; and when the running state of the equipment is recovered to be normal, adding the equipment into the cluster.
CN201910036219.XA 2019-01-15 2019-01-15 Method, management system and server for global routing of set top box Active CN109743637B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910036219.XA CN109743637B (en) 2019-01-15 2019-01-15 Method, management system and server for global routing of set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910036219.XA CN109743637B (en) 2019-01-15 2019-01-15 Method, management system and server for global routing of set top box

Publications (2)

Publication Number Publication Date
CN109743637A CN109743637A (en) 2019-05-10
CN109743637B true CN109743637B (en) 2021-03-30

Family

ID=66364865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910036219.XA Active CN109743637B (en) 2019-01-15 2019-01-15 Method, management system and server for global routing of set top box

Country Status (1)

Country Link
CN (1) CN109743637B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291424A (en) * 2008-05-27 2008-10-22 中山大学 Digital media downloading system oriented to IP set-top box
CN102611922A (en) * 2012-02-23 2012-07-25 深圳市龙视传媒有限公司 Method for uniformly releasing digital television portals and system thereof
CN103841453A (en) * 2014-03-13 2014-06-04 烽火通信科技股份有限公司 Method for achieving OTT playing through IPTV non-intelligent set top box
CN103856816A (en) * 2012-12-06 2014-06-11 中国电信股份有限公司 Service fulfillment method and system based on set top box
CN104378276A (en) * 2013-08-15 2015-02-25 中兴通讯股份有限公司 Method and device for supporting multiple virtual local area networks through set top box
CN107613336A (en) * 2017-08-31 2018-01-19 江苏省公用信息有限公司 A kind of Intelligent set top box and its implementation that can show radio network information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7171678B2 (en) * 2001-01-22 2007-01-30 N2 Broadband, Inc. Systems and methods for establishing and administering sessions in digital cable systems

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291424A (en) * 2008-05-27 2008-10-22 中山大学 Digital media downloading system oriented to IP set-top box
CN102611922A (en) * 2012-02-23 2012-07-25 深圳市龙视传媒有限公司 Method for uniformly releasing digital television portals and system thereof
CN103856816A (en) * 2012-12-06 2014-06-11 中国电信股份有限公司 Service fulfillment method and system based on set top box
CN104378276A (en) * 2013-08-15 2015-02-25 中兴通讯股份有限公司 Method and device for supporting multiple virtual local area networks through set top box
CN103841453A (en) * 2014-03-13 2014-06-04 烽火通信科技股份有限公司 Method for achieving OTT playing through IPTV non-intelligent set top box
CN107613336A (en) * 2017-08-31 2018-01-19 江苏省公用信息有限公司 A kind of Intelligent set top box and its implementation that can show radio network information

Also Published As

Publication number Publication date
CN109743637A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN111800458B (en) Dynamic load balancing method and system for Kubernetes container cloud platform
CN108632367A (en) Account correlating method and information-pushing method
CN101425969B (en) Scheduling method, apparatus and system
US20070165615A1 (en) Apparatus and method for notifying communication network event in application server capable of supporting open API based on Web services
CN107835437B (en) Dispatching method based on more cache servers and device
US9445162B2 (en) Interactive personal/internet protocol television reservation system, reservation plan management method and device
US20090119388A1 (en) Content relaying device and content relaying method
CN105100032A (en) Method and apparatus for preventing resource steal
CN112328760B (en) Service providing method, device and system
CN110958462A (en) Live broadcast activity page display method and device, storage medium and live broadcast system
CN108282668B (en) Video acquisition method and system
CN108600780A (en) Method for pushed information
CN101742247B (en) Method and system for interactive web TV service authentication and EPG server
CN110708402A (en) Accessible resource display method and device and resource access system
CN114039961A (en) Message pushing method, device, server and storage medium based on WebSocket
CN109743637B (en) Method, management system and server for global routing of set top box
CN103067398A (en) Method and equipment for achieving third-party application accessing user data
CN111225248B (en) On-demand content management method and content distribution network on-demand server
CN108959393B (en) Dynamic picture processing method, device and storage medium
CN107766232B (en) Plug-in management method and device
CN107948343B (en) Method and system for determining scheduling area
US20040177017A1 (en) Distributed system and brokering method using context
US20130104215A1 (en) System and method for managing network devices
CN113873302A (en) Content distribution method, content distribution device, storage medium and electronic equipment
US20160036766A1 (en) Method and system for synchronizing program masks

Legal Events

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

Effective date of registration: 20210304

Address after: 250100 West District, North First Floor, S06 Building, 1036 Langchao Road, Jinan High-tech Zone, Shandong Province

Applicant after: SHANDONG YUNMAN INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 250100 First Floor of R&D Building 2877 Kehang Road, Sun Village Town, Jinan High-tech Zone, Shandong Province

Applicant before: SHANDONG INSPUR BUSINESS SYSTEM Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 250100 West District, North First Floor, S06 Building, 1036 Langchao Road, Jinan High-tech Zone, Shandong Province

Patentee after: Shandong Inspur Yunman Intelligent Technology Co.,Ltd.

Address before: 250100 West District, North First Floor, S06 Building, 1036 Langchao Road, Jinan High-tech Zone, Shandong Province

Patentee before: SHANDONG YUNMAN INTELLIGENT TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 250100 West District, North First Floor, S06 Building, 1036 Langchao Road, Jinan High-tech Zone, Shandong Province

Patentee after: Shandong Inspur Ultra HD Video Industry Co.,Ltd.

Address before: 250100 West District, North First Floor, S06 Building, 1036 Langchao Road, Jinan High-tech Zone, Shandong Province

Patentee before: Shandong Inspur Yunman Intelligent Technology Co.,Ltd.