CN112492392B - Method and device for solving problem of massive server access during startup of smart television - Google Patents

Method and device for solving problem of massive server access during startup of smart television Download PDF

Info

Publication number
CN112492392B
CN112492392B CN202011295740.4A CN202011295740A CN112492392B CN 112492392 B CN112492392 B CN 112492392B CN 202011295740 A CN202011295740 A CN 202011295740A CN 112492392 B CN112492392 B CN 112492392B
Authority
CN
China
Prior art keywords
television
gateway
television gateway
user
server
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
CN202011295740.4A
Other languages
Chinese (zh)
Other versions
CN112492392A (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN202011295740.4A priority Critical patent/CN112492392B/en
Publication of CN112492392A publication Critical patent/CN112492392A/en
Application granted granted Critical
Publication of CN112492392B publication Critical patent/CN112492392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to the technical field of communication, aims to solve the problem that server avalanche is easily caused when a large number of servers are accessed when an existing intelligent television is started, and provides a method and a device for solving the problem that the servers are accessed when the intelligent television is started, and the main technical concept is as follows: detecting whether the smart television is connected with a television gateway or not; after a user opens a television gateway application program, receiving an activation selection sent by the user; the method comprises the steps that a television gateway is connected to the intelligent television, and when a user selects to activate the intelligent television, the television gateway is set to be in an activated state, and television gateway service is started; when the intelligent television is not connected with the television gateway or the user selects to be inactivated, the television gateway is set to be in an inactivated state, the television gateway service is closed, and the server is not accessed any more. The invention avoids the problem of server avalanche caused by starting a large number of televisions at the peak time.

Description

Method and device for solving problem of massive server access during startup of smart television
Technical Field
The invention relates to the technical field of communication, in particular to a method and a device for solving the problem that a large number of servers are accessed when an intelligent television is started.
Background
The television gateway program is usually built in the smart television before leaving a factory, a user can control the whole household equipment by only buying a small television gateway, the television gateway program can enable the television to control the whole household equipment, the television gateway program can be automatically started after the television is started, and then a cloud server interface is called to access the server.
In the prior art, the problem is solved by increasing the capacity of the server, but the problem cannot be solved by increasing the capacity of the server along with the increase of television built-in gateway programs, and the access amount is recovered to be normal after the television is started, so that the resource waste is caused.
Disclosure of Invention
The invention aims to solve the problem that server avalanche is easily caused when a large number of servers are accessed when the existing intelligent television is started, and provides a method and a device for solving the problem that the server is accessed when the intelligent television is started.
The technical scheme adopted by the invention for solving the technical problems is as follows: the method for solving the problem that the intelligent television has a large number of access servers when being started comprises the following steps:
step 1, detecting whether a television gateway is connected to the smart television, if so, entering a step 2, and otherwise, entering a step 3;
step 2, after the user opens the television gateway application program, receiving an activation selection sent by the user, if the user selects activation, setting the television gateway to be in an activation state, starting the television gateway service, and if the user selects deactivation, entering step 3;
and 3, setting the television gateway to be in an inactivated state, closing the television gateway service and avoiding accessing the server.
Further, the step 2 further comprises:
judging whether the user opens the television gateway application program for the first time, if so, receiving an activation selection sent by the user, otherwise, setting the television gateway to be in an activated state or an inactivated state according to a historical activation selection sent by the user, and starting or closing the television gateway service.
Further, the step 2 further comprises:
and (3) after the television gateway is set to be in an activated state and the television gateway service is started, detecting whether the intelligent television is connected with the television gateway or not according to a preset period, and if the intelligent television is not detected to be connected with the television gateway within a preset time, entering the step 3.
Further, the preset period is 8 hours, and the preset time is 15 days.
Further, the step 2 further comprises: and if the user does not open the television gateway application program, setting the television gateway to be in an inactivated state, closing the television gateway service and not accessing the server any more.
The invention also provides a device for solving the problem that the intelligent television has a large number of access servers when being started, which comprises the following steps:
the detection unit is used for detecting whether the intelligent television is connected with the television gateway;
the receiving unit is used for receiving activation selection sent by a user after the user opens the television gateway application program;
the setting unit is used for setting the television gateway to be in an activated state and starting the television gateway service when the intelligent television is connected with the television gateway and a user selects to activate the television gateway; when the intelligent television is not connected with the television gateway or the user selects to be inactivated, the television gateway is set to be in an inactivated state, the television gateway service is closed, and the server is not accessed any more.
Further, the detection unit is further configured to determine whether the user opens the tv gateway application for the first time;
the setting unit is also used for setting the television gateway to be in an activated state or an inactivated state according to historical activation selection sent by the user and starting or closing the television gateway service when the user does not open the television gateway application program for the first time.
Further, the detection unit is further configured to detect whether the smart television is connected to the television gateway according to a preset period after the television gateway is set to the activated state and the television gateway service is started;
the setting unit is further used for setting the television gateway to be in an inactivated state when the fact that the intelligent television is connected with the television gateway is not detected within the preset time, closing the television gateway service and avoiding accessing the server.
Further, the preset period is 8 hours, and the preset time is 15 days.
Further, the detection unit is further configured to detect whether a user opens a tv gateway application;
the setting unit is also used for setting the television gateway to be in an inactivated state when the user does not open the television gateway application program, closing the television gateway service and not accessing the server any more.
The invention has the beneficial effects that: the method and the device for solving the problem that a large number of servers are accessed when the intelligent television is started up judge whether the television gateway service is started up or not by detecting whether the intelligent television is connected with the television gateway or not and selecting by a user, so that the user really using the television gateway can access the servers after the television is started up, the problem of server avalanche caused by starting up of a large number of televisions in a peak period is avoided, and the resource waste of the servers is avoided.
Drawings
Fig. 1 is a schematic flowchart illustrating a method for solving a problem of accessing a large number of servers when a smart television is turned on according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an apparatus for solving a problem of a large number of access servers when a smart television is turned on according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The invention aims to solve the problem that server avalanche is easily caused when a large number of servers are accessed when the existing intelligent television is started, and provides a method and a device for solving the problem that the servers are accessed when the intelligent television is started, wherein the main technical concept is as follows: detecting whether the smart television is connected with a television gateway or not; after a user opens a television gateway application program, receiving an activation selection sent by the user; the method comprises the steps that a television gateway is connected to the intelligent television, and when a user selects to activate the intelligent television, the television gateway is set to be in an activated state, and television gateway service is started; when the intelligent television is not connected with the television gateway or the user selects to be inactivated, the television gateway is set to be in an inactivated state, the television gateway service is closed, and the server is not accessed any more.
A television gateway program is arranged in an intelligent television factory, when the intelligent television is started, a broadcast is sent to start the service of the television gateway, at the moment, if a user does not insert the television gateway into the intelligent television, the television gateway is set to be in an inactivated state by default, the service of the television gateway is automatically closed in the program, a server interface is not called, and a server is not accessed; if a user inserts a television gateway into the smart television, the smart television is also default and inactivated at the moment, the gateway service is closed after being started up, if the user opens a television gateway program built in the television, the television gateway program enters a popup window for the first time to enable the user to select whether to activate, if the user selects to activate, the television gateway service is started and works normally, and at the moment, the user starts the television next time, the service is started and accesses the server to work normally.
Examples
The method for solving the problem that a large number of servers are accessed when the intelligent television is started, as shown in fig. 1, comprises the following steps:
step S1, detecting whether the smart television is connected with a television gateway, if so, entering step S2, otherwise, entering step S3;
specifically, when the user needs to use the tv gateway service, the smart tv needs to be connected to the tv gateway, and if it is detected that the smart tv is connected to the tv gateway, it indicates that the user may use the tv gateway service, and then step S2 is performed; if the smart television is detected not to be connected with the television gateway, the user does not use the television gateway service, and then the step S3 is executed;
step 2, after the user opens the application program of the television gateway, receiving an activation selection sent by the user, if the user selects activation, setting the television gateway to be in an activation state, starting the television gateway service, and if the user selects deactivation, entering step S3;
in the embodiment, only after a user opens a television gateway application program for the first time, the user is inquired whether to activate through a popup window, if the user selects to activate, the user needs to use the television gateway service, at the moment, the television gateway is set to be in an activated state, the television gateway service is started, and when the user subsequently starts up the intelligent television, the television gateway service can be automatically started and accesses a server; if the user chooses not to activate, it indicates that the user does not need to use the tv gateway service, and then the process goes to step S3.
If the user does not open the TV gateway application for the first time, the TV gateway can be set to an activated state or an inactivated state according to the historical activation selections sent by the user, and the TV gateway service can be started or closed.
And 3, setting the television gateway to be in an inactivated state, closing the television gateway service and avoiding accessing the server.
It can be understood that when the smart television is not connected with the television gateway or the user selects to deactivate, the television gateway is set to be in an inactive state, the television gateway service is closed, and the server is not accessed any more, so that the problem of server avalanche caused by the fact that a large number of televisions are started in a peak period is solved.
Preferably, the method of this embodiment further includes: after the television gateway is set to the activated state and the television gateway service is started, whether the smart television is connected with the television gateway is detected according to a preset period, and if the smart television is not detected to be connected with the television gateway within a preset time, the operation goes to step S3.
It can be understood that when the user needs to use the tv gateway service, but pulls out the tv gateway midway, at this time, the tv gateway is set to be in the activated state within the preset time, thereby ensuring that the tv gateway can be normally used. And then, detecting whether the intelligent television is connected with the television gateway or not according to a preset period, if the intelligent television is not detected to be connected with the television gateway within a preset time, indicating that the user does not continue to use the television gateway service, and at the moment, setting the television gateway to be in an inactivated state, closing the television gateway service and not accessing the server.
In this embodiment, the preset period may be 8 hours, and the preset time may be 15 days. That is, after the television user pulls out the television gateway, the television user inquires whether the television gateway is inserted every 8 hours, if the television gateway is not inserted, the counter is increased by 1, if the television user does not insert for 15 days, namely, the counter is increased to 45, the state of the television gateway is set to be inactive from the active state, the television gateway service is closed, if the television user inserts the gateway for any day in 15 days continuously, the counter is reset, the state is not modified, the television gateway is still in the active state, and the television gateway can be used normally.
Based on the above technical solution, this embodiment further provides a device for solving a problem that a large number of access servers are accessed when the smart television is turned on, as shown in fig. 2, the device includes:
the detection unit is used for detecting whether the intelligent television is connected with the television gateway;
the receiving unit is used for receiving activation selection sent by a user after the user opens the television gateway application program;
the setting unit is used for setting the television gateway to be in an activated state and starting the television gateway service when the intelligent television is connected with the television gateway and a user selects to activate the television gateway; when the intelligent television is not connected with the television gateway or the user selects to be inactivated, the television gateway is set to be in an inactivated state, the television gateway service is closed, and the server is not accessed any more.
It can be understood that, the apparatus for solving the problem of large number of access servers when the smart television is turned on according to the embodiment of the present invention is an apparatus for implementing the method for solving the problem of large number of access servers when the smart television is turned on according to the embodiment of the present invention, and for the apparatus disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is simpler, and for relevant points, reference may be made to the partial description of the method.

Claims (8)

1. The method for solving the problem that a large number of servers are accessed when the intelligent television is started is characterized by comprising the following steps of:
step 1, detecting whether a television gateway is connected to the smart television, if so, entering a step 2, and otherwise, entering a step 3;
step 2, after the user opens the television gateway application program, receiving an activation selection sent by the user, if the user selects activation, setting the television gateway to be in an activation state, starting the television gateway service, and if the user selects deactivation, entering step 3;
the step 2 further comprises:
judging whether a user opens the television gateway application program for the first time, if so, receiving an activation selection sent by the user, otherwise, setting the television gateway to be in an activated state or an inactivated state according to a historical activation selection sent by the user, and starting or closing the television gateway service;
and 3, setting the television gateway to be in an inactivated state, closing the television gateway service and avoiding accessing the server.
2. The method for solving the problem of large access to the server when the smart television is turned on according to claim 1, wherein the step 2 further comprises:
and (3) after the television gateway is set to be in an activated state and the television gateway service is started, detecting whether the intelligent television is connected with the television gateway or not according to a preset period, and if the intelligent television is not detected to be connected with the television gateway within a preset time, entering the step 3.
3. The method for solving the problem of large access to the server during the startup of the smart television set as recited in claim 2, wherein the preset period is 8 hours, and the preset time is 15 days.
4. The method for solving the problem of large access to the server when the smart television is turned on according to claim 1, wherein the step 2 further comprises: and if the user does not open the television gateway application program, setting the television gateway to be in an inactivated state, closing the television gateway service and not accessing the server any more.
5. The device for solving the problem that a large number of access servers are started up in the smart television is characterized by comprising the following steps:
the detection unit is used for detecting whether the intelligent television is connected with the television gateway;
the receiving unit is used for receiving activation selection sent by a user after the user opens the television gateway application program;
the setting unit is used for setting the television gateway to be in an activated state and starting the television gateway service when the intelligent television is connected with the television gateway and a user selects to activate the television gateway; when the intelligent television is not connected with the television gateway or the user selects to be inactivated, the television gateway is set to be in an inactivated state, the television gateway service is closed, and the server is not accessed any more;
the detection unit is also used for judging whether the user opens the television gateway application program for the first time;
the setting unit is also used for setting the television gateway to be in an activated state or an inactivated state according to historical activation selection sent by the user and starting or closing the television gateway service when the user does not open the television gateway application program for the first time.
6. The apparatus for solving the problem of large number of access servers when the smart television is turned on according to claim 5, wherein the detecting unit is further configured to detect whether the smart television is connected to the television gateway according to a preset period after the television gateway is set to the activated state and the television gateway service is started;
the setting unit is further used for setting the television gateway to be in an inactivated state when the fact that the intelligent television is connected with the television gateway is not detected within the preset time, closing the television gateway service and avoiding accessing the server.
7. The apparatus for solving the problem of large access to the server during the booting process of the smart television set as claimed in claim 6, wherein the predetermined period is 8 hours and the predetermined time period is 15 days.
8. The apparatus for solving the problem of large number of access servers when the smart tv is turned on as claimed in claim 5, wherein the detecting unit is further configured to detect whether the user opens the tv gateway application;
the setting unit is also used for setting the television gateway to be in an inactivated state when the user does not open the television gateway application program, closing the television gateway service and not accessing the server any more.
CN202011295740.4A 2020-11-18 2020-11-18 Method and device for solving problem of massive server access during startup of smart television Active CN112492392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011295740.4A CN112492392B (en) 2020-11-18 2020-11-18 Method and device for solving problem of massive server access during startup of smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011295740.4A CN112492392B (en) 2020-11-18 2020-11-18 Method and device for solving problem of massive server access during startup of smart television

Publications (2)

Publication Number Publication Date
CN112492392A CN112492392A (en) 2021-03-12
CN112492392B true CN112492392B (en) 2022-04-22

Family

ID=74931759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011295740.4A Active CN112492392B (en) 2020-11-18 2020-11-18 Method and device for solving problem of massive server access during startup of smart television

Country Status (1)

Country Link
CN (1) CN112492392B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024540A (en) * 2012-12-17 2013-04-03 四川长虹电器股份有限公司 Method for collecting network activation information of intelligent television
CN103096167A (en) * 2012-12-24 2013-05-08 康佳集团股份有限公司 Starting method and starting system of intelligent television
CN103596060A (en) * 2013-11-20 2014-02-19 乐视致新电子科技(天津)有限公司 Information prompt method and device
CN104461598A (en) * 2013-09-24 2015-03-25 联想(北京)有限公司 Method and device for improving response speed of electronic equipment and electronic equipment
CN105657532A (en) * 2015-12-30 2016-06-08 深圳Tcl数字技术有限公司 Start-up method and device for smart television wireless network
CN106872996A (en) * 2017-01-23 2017-06-20 北京奇虎科技有限公司 The optimization method of alignment system performance, device and mobile terminal
CN108595919A (en) * 2018-04-24 2018-09-28 广州视源电子科技股份有限公司 Software activation method, device, system and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196204A (en) * 2010-03-19 2011-09-21 康佳集团股份有限公司 Method for intelligently turning on television set and television set
KR101579603B1 (en) * 2012-06-27 2016-01-04 네이버 주식회사 System, method and computer readable recording medium for linking a television and a smart phone using an image authentication key
TWI571120B (en) * 2014-10-06 2017-02-11 財團法人資訊工業策進會 Video capture system and video capture method thereof
CN105635201A (en) * 2014-10-29 2016-06-01 Tcl集团股份有限公司 Application starting method and application starting system based on pushed information
CN106302365B (en) * 2015-06-11 2019-11-19 阿里巴巴集团控股有限公司 A kind of client, intelligent television system and corresponding data transmission method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024540A (en) * 2012-12-17 2013-04-03 四川长虹电器股份有限公司 Method for collecting network activation information of intelligent television
CN103096167A (en) * 2012-12-24 2013-05-08 康佳集团股份有限公司 Starting method and starting system of intelligent television
CN104461598A (en) * 2013-09-24 2015-03-25 联想(北京)有限公司 Method and device for improving response speed of electronic equipment and electronic equipment
CN103596060A (en) * 2013-11-20 2014-02-19 乐视致新电子科技(天津)有限公司 Information prompt method and device
CN105657532A (en) * 2015-12-30 2016-06-08 深圳Tcl数字技术有限公司 Start-up method and device for smart television wireless network
CN106872996A (en) * 2017-01-23 2017-06-20 北京奇虎科技有限公司 The optimization method of alignment system performance, device and mobile terminal
CN108595919A (en) * 2018-04-24 2018-09-28 广州视源电子科技股份有限公司 Software activation method, device, system and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于单播模式下航海安全图像卡顿问题分析及解决方案;李翔等;《电脑知识与技术》;20180715(第20期);全文 *

Also Published As

Publication number Publication date
CN112492392A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN107991891B (en) Method and system for adjusting environmental parameters and user equipment
CN103902359B (en) Based on android system internal memory optimization and application scheduling method thereof and system
US20190288865A1 (en) Control method, control apparatus and control system for a washing machine
CN108685545B (en) Dishwasher start control method, device and computer readable storage medium
CN108917087B (en) Mobile air conditioner drainage control method, drainage control system and mobile air conditioner
CN107809676B (en) System and method for fast switching application of television
CN105335044A (en) Window display processing method in split-screen mode and electronic device
CN112492392B (en) Method and device for solving problem of massive server access during startup of smart television
CN104102498B (en) A kind of mobile terminal and its starting-up method
WO2017016293A1 (en) Method and device for wireless network connection
CN113296729A (en) Prompt message broadcasting method, device and system, storage medium and electronic device
CN106791982B (en) Account management method and device
CN106775712B (en) Response method and device for android system starting process
CN102291848A (en) Method and system for accessing WLAN (wireless local area network) client of saipan platform
CN112019933A (en) Service method and device of intelligent hardware equipment
CN111722600A (en) Remote control method and device based on equipment space relation and remote control equipment
CN105812925A (en) Remote controller key up detecting method, remote controller and television
CN107846294A (en) A kind of active and standby service switch method and device
CN115756357A (en) Screen projection method, device, equipment and storage medium of iOS system equipment
CN107864235B (en) Address allocation method and device for shunt circuit breaker of intelligent distribution box
CN110557555B (en) Function starting method, device, equipment and system of intelligent camera
CN104008338B (en) Android malicious program processing method, device and equipment
CN111308899A (en) Equipment monitoring method and device, intelligent equipment and storage medium
CN108683721B (en) Parameter adjusting method, device and equipment
US20190391824A1 (en) Parameter configuration system of electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant