CN109862443B - Method for optimizing network setting of television - Google Patents
Method for optimizing network setting of television Download PDFInfo
- Publication number
- CN109862443B CN109862443B CN201910197701.1A CN201910197701A CN109862443B CN 109862443 B CN109862443 B CN 109862443B CN 201910197701 A CN201910197701 A CN 201910197701A CN 109862443 B CN109862443 B CN 109862443B
- Authority
- CN
- China
- Prior art keywords
- router
- timestamp
- television
- channel
- network
- 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
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a scheme for optimizing network settings of a television, which comprises a television end, a complete machine client, a router and a browser plug-in, wherein a webview control is embedded in the router, and the scheme comprises the following steps: s1, connecting the television end with a wireless network; s2, the television side sends a timestamp to the whole client side; s3, the whole client sends a request message to the router, and writes the sending time into a timestamp option; s4, the whole client acquires a timestamp difference value returned to the television by the timestamp sent by the television and the router echo timestamp, and determines whether the current channel needs to be optimized according to the difference value; and S5, the television accesses the router page through the browser plug-in to set the channel.
Description
Technical Field
The invention relates to the technical field of intelligent television digital video terminals, in particular to a scheme for optimizing television network setting.
Background
The networking devices of the home users are numerous, and serious interference among the intelligent devices is caused. The method is characterized in that the network speed is slow after the current network congestion is caused by overlarge network flow caused by downloading videos and the like by individual equipment in equipment computers or mobile phones sharing the same router; such internet interference can affect the performance of current wireless networks.
When the intelligent television terminal is successfully connected with the wireless router, the data transmission and downloading of the network are slow and even the data cannot be refreshed due to the reasons; when the user encounters this situation, the user first determines that the network connection of the television is problematic. Whether the data transmission of similar networks is smooth is judged more complexly, whether the channel where the wifi connected with the current smart television client is located is crowded is judged, smart devices such as televisions and mobile phones cannot be judged at present, and when a user judges that the network connection is poor, the network switching is generally realized manually.
The existing method for sequentially detecting whether channels are crowded by using professional equipment has long detection time and can be confirmed only by scanning a plurality of channels. The occupation and the idle of the channel can be randomly changed along with the downloading condition of the access data, the current optimized channel can be congested in the next time period, and even if professional equipment is used for scanning the channel of the wireless router around the television, the congestion condition of the current channel cannot be timely detected.
Disclosure of Invention
The invention aims to provide a scheme for optimizing the network setting of a television, and the scheme has the advantages of improving the watching experience of a user for watching network videos and effectively improving the network performance detection efficiency of an intelligent television.
The above object of the present invention is achieved by the following technical solutions:
a scheme for optimizing network settings of a television comprises a television end, a whole client, a router and a browser plug-in, wherein a webview control is embedded in the router, and the scheme comprises the following steps:
s1, connecting the television end with a wireless network;
s2, the television side sends a timestamp to the whole client side;
s3, the whole client sends a request message to the router, and writes the sending time into a timestamp option;
s4, the whole client acquires a timestamp difference value returned to the television by the timestamp sent by the television and the router echo timestamp, and determines whether the current channel needs to be optimized according to the difference value;
and S5, the television accesses the router page through the browser plug-in to set the channel.
Further, the timestamp difference in step S4 is a difference between the timestamp received by the router and the timestamp sent by the television, and the two ends respectively start the timestamp option in their respective synchronization packets.
Further, when the timestamp difference exceeds the threshold in step S5, channel optimization setting is performed on the router by using a control of the web browser at the television end, and a channel is directly switched by the television.
Further, when the timestamp difference exceeds the threshold value in step S5, a prompt is displayed on the interface to the user to suggest an optimal setting channel.
Further, when the television end needs to add a message timestamp, the timestamp called by the router and the television end is from network time synchronization, the network time can be synchronously obtained as long as the network is connected, the error is not more than 1ms at most, the terminal sends a message containing a time synchronization request to the router, after the router receives the request, response information and a digital timestamp are packaged and signed and returned to the client of the whole machine, when a response ACK message of the router is received, the message time received by the router can be known through the echoing value of a timestamp option, a time difference value T is obtained by subtracting the echoing time from the current time, when the T is less than 1 second, the current network channel is not congested and the data downloading is smooth, if the current network channel is more than 1 second, the current network channel is confirmed to be congested, at the moment, the television end prompts to enter a channel detection interface, the current channel is confirmed to be non-optimal setting to a user, the problem that the user repeatedly confirms whether the router channel is congested or the network performance of the television is solved, and network data are abnormal.
Further, for the time stamp exceeding the threshold, the router performs channel optimization setting on the router through the embedded webview control, and directly switches channels through the webview control.
In conclusion, the invention has the following beneficial effects:
by adopting the scheme, the response time of the current connection network data can be quickly judged through the timestamp difference value, whether the network data is blocked is accurately and quickly detected, the network channel congestion rate of the user can be detected in real time subsequently, the defect that the signal intensity of 14 channels of the peripheral network of the intelligent television needs to be scanned in sequence in the past is changed, the watching experience of the user for watching the network video is improved, and the network performance detection efficiency of the intelligent television is effectively 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 described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of an embodiment of the present invention.
Detailed Description
In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples thereof.
The technical solutions of the embodiments of the present invention will be described below with reference to the accompanying drawings.
The first embodiment is as follows:
as shown in fig. 1, a scheme for optimizing a network setting of a television includes a television end, a complete client, a router and a browser plug-in, where a webview control is embedded in the router, and the scheme includes the following steps:
s1, connecting the television end with a wireless network;
s2, the television side sends a timestamp to the whole client side;
s3, the whole client sends a request message to the router, and writes the sending time into a timestamp option;
s4, the whole client acquires a timestamp difference value returned to the television by the timestamp sent by the television and the router echo timestamp, and determines whether the current channel needs to be optimized according to the difference value;
and S5, the television accesses the router page through the browser plug-in to set the channel.
The timestamp difference in step S4 is the difference between the timestamp received by the router and the timestamp sent by the television, and the two ends respectively start the timestamp option in their respective sync packets.
In step S5, if the timestamp difference exceeds the threshold, the channel is set to be optimized by using the control of the web browser at the television end, and the channel is switched directly by the television.
When a television end needs to add a message timestamp, a router and the timestamp called by the television end are from network time synchronization, network time can be synchronously obtained as long as a network is connected, the error is not more than 1ms at most, a terminal sends a message containing a time synchronization request to the router, after the router receives the request, response information and a digital timestamp are packaged and signed and returned to a client of the whole machine, when a response ACK message of the router is received, the message time received by the router can be known through a echoing value of a timestamp option, the echoing time is subtracted by the current time to obtain a time difference value T, when the T is less than 1 second, the current network channel is determined to be not congested, data downloading is smooth, if the current network channel is determined to be congested if the current network channel is greater than 1 second, at the moment, the television end prompts to enter a channel detection interface, and determines that the current channel is not optimally set to a user, the problem that the user repeatedly confirms whether the router channel is congested or the network performance of the television is solved, and network data are abnormal.
And for the time stamp exceeding the threshold, the router performs channel optimization setting on the router through the embedded webview control, and directly switches the channel through the webview control.
By adopting the scheme, the response time of the current connection network data can be quickly judged through the timestamp difference value, whether the network data is blocked is accurately and quickly detected, the network channel congestion rate of the user can be detected in real time subsequently, the defect that the signal intensity of 14 channels of the peripheral network of the intelligent television needs to be scanned in sequence in the past is changed, the watching experience of the user for watching the network video is improved, and the network performance detection efficiency of the intelligent television is effectively improved.
Example two:
the main differences between this embodiment and the first embodiment are: if the timestamp difference exceeds the threshold value in step S5, a prompt is displayed to the user on the interface to suggest an optimal channel setting.
Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art may still make various combinations, additions, deletions or other modifications of the features of the embodiments of the present invention according to the situation without conflict, so as to obtain different technical solutions without substantially departing from the spirit of the present invention, and these technical solutions also fall within the protection scope of the present invention.
Claims (6)
1. A method for optimizing network settings of a television comprises a television end, a whole client, a router and a browser plug-in, and is characterized in that a webview control is embedded in the router, and the method comprises the following steps:
s1, connecting the television end with a wireless network;
s2, the television side sends a timestamp to the whole client side;
s3, the whole client sends a request message to the router, and writes the sending time into a timestamp option;
s4, the whole client acquires the difference value of the message timestamp sent by the television and the timestamp returned to the television by the router for displaying the message, and determines whether the current channel needs to be optimized according to the difference value;
and S5, the television accesses the router page through the browser plug-in to set the channel.
2. The method according to claim 1, wherein the timestamp difference in step S4 is a difference between a timestamp received by the router and a timestamp sent by the tv, and the timestamp option is respectively started in respective sync packets at both ends.
3. The method according to claim 1, wherein in step S5, when the timestamp difference exceeds the threshold, the control of the web browser at the tv end is used to perform channel optimization setting on the router, and the channel is directly switched through the tv.
4. The method of claim 1, wherein the timestamp difference value exceeding the threshold value in step S5 is displayed to the user in an interface to suggest an optimized setup channel.
5. The method according to claim 1, wherein when the TV terminal needs to add the message timestamp, the timestamp called by the router and the TV terminal are from network time synchronization, the network time can be synchronously obtained as long as the network is connected, the error is no more than 1ms at most, the terminal sends the message containing the time synchronization request to the router, when the router receives the request, the response message and the digital timestamp are packaged and signed and returned to the client terminal, when the response ACK message of the router is received, the message time received by the router can be known through the echoing value of the timestamp option, the current time is subtracted by the echoing time to obtain a time difference T, when T is less than 1 second, it can be confirmed that the current network channel is not congested, the data downloading is smooth, if more than 1 second, the current network channel blockage can be confirmed; at the moment, the television end prompts to enter a channel detection interface, the non-optimal setting of the current channel is determined for the user, and the problem that the user repeatedly confirms whether the channel of the router is jammed or the network performance of the television is solved, so that the network data is abnormal.
6. The method of claim 5, wherein for the timestamp exceeding the threshold, the router performs channel optimization setting on the router through the embedded webview control, and directly switches channels through the webview control.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910197701.1A CN109862443B (en) | 2019-03-15 | 2019-03-15 | Method for optimizing network setting of television |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910197701.1A CN109862443B (en) | 2019-03-15 | 2019-03-15 | Method for optimizing network setting of television |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109862443A CN109862443A (en) | 2019-06-07 |
CN109862443B true CN109862443B (en) | 2020-06-30 |
Family
ID=66900936
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910197701.1A Active CN109862443B (en) | 2019-03-15 | 2019-03-15 | Method for optimizing network setting of television |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109862443B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111010447A (en) * | 2019-12-23 | 2020-04-14 | 北京奇艺世纪科技有限公司 | Data communication method and device |
CN113075487A (en) * | 2021-03-31 | 2021-07-06 | 读书郎教育科技有限公司 | Method for controlling aging test duration in factory |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997774A (en) * | 2010-11-03 | 2011-03-30 | 华为数字技术有限公司 | Recoding method for forwarding time delay and router |
CN102781115A (en) * | 2012-08-03 | 2012-11-14 | 西安电子科技大学 | Automatic channel selection method based on channel order in dense wireless fidelity (WiFi) |
CN104093087A (en) * | 2014-07-28 | 2014-10-08 | 太原理工大学 | Cable television Cable Modem with WiFi gateway |
CN104507113A (en) * | 2015-01-04 | 2015-04-08 | 北京极科极客科技有限公司 | Method for detecting wifi signal quality of all information channels |
CN104581954A (en) * | 2013-10-28 | 2015-04-29 | 株式会社理光 | Channel scheduling method and wireless communication equipment |
CN109041268A (en) * | 2018-10-31 | 2018-12-18 | 北京小米移动软件有限公司 | The management method and device of WIFI connection |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9699786B2 (en) * | 2015-09-07 | 2017-07-04 | Network Performance Research Group Llc | Method and apparatus for integrating radio agent data in network organization of dynamic channel selection in wireless networks |
US9832791B2 (en) * | 2015-08-04 | 2017-11-28 | Network Performance Research Group Llc | Method and apparatus for use of simultaneous multiple channels in the dynamic frequency selection band in wireless networks |
CN106912072A (en) * | 2015-12-22 | 2017-06-30 | 上海自足网络科技有限公司 | A kind of Wireless Ad Hoc network congestion control mechanism based on virtual transmission agreement |
CN108494681B (en) * | 2018-02-05 | 2021-02-09 | 普联技术有限公司 | Multilink data stream transmission method, wireless communication device and storage medium |
-
2019
- 2019-03-15 CN CN201910197701.1A patent/CN109862443B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997774A (en) * | 2010-11-03 | 2011-03-30 | 华为数字技术有限公司 | Recoding method for forwarding time delay and router |
CN102781115A (en) * | 2012-08-03 | 2012-11-14 | 西安电子科技大学 | Automatic channel selection method based on channel order in dense wireless fidelity (WiFi) |
CN104581954A (en) * | 2013-10-28 | 2015-04-29 | 株式会社理光 | Channel scheduling method and wireless communication equipment |
CN104093087A (en) * | 2014-07-28 | 2014-10-08 | 太原理工大学 | Cable television Cable Modem with WiFi gateway |
CN104507113A (en) * | 2015-01-04 | 2015-04-08 | 北京极科极客科技有限公司 | Method for detecting wifi signal quality of all information channels |
CN109041268A (en) * | 2018-10-31 | 2018-12-18 | 北京小米移动软件有限公司 | The management method and device of WIFI connection |
Also Published As
Publication number | Publication date |
---|---|
CN109862443A (en) | 2019-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103181143B (en) | Method and apparatus for playing streaming media file | |
KR100715677B1 (en) | Congestion control access gateway system and method for congestion control in congestion control access gateway system | |
CN107113530B (en) | Redundant link for reliable communication | |
CN108282671B (en) | Streaming media data transmission method | |
CN105472477A (en) | Data transmission method, device and equipment | |
CN109862443B (en) | Method for optimizing network setting of television | |
US9781156B2 (en) | Detection and mitigation of denial-of-service attacks in wireless communication networks | |
EP2538617A1 (en) | Method and system for implementing interaction between set-top box (stb) and home gateway | |
US9602869B2 (en) | Method and apparatus for fast channel change | |
CN113242436B (en) | Live broadcast data processing method and device and electronic equipment | |
CN108023869B (en) | Parameter adjusting method and device for multimedia communication and mobile terminal | |
CN102487392A (en) | Method, device and system for interaction between digital television receiving terminal and mobile terminal | |
WO2019001391A1 (en) | Radio resource scheduling method, video terminal, and access network device | |
TWI492584B (en) | The Path Selection Method of Hybrid Complex Heterogeneous Network | |
CN106658065B (en) | Audio and video synchronization method, device and system | |
CN112584227B (en) | Information processing method, information processing apparatus, and program | |
US7382396B2 (en) | Image data processing system and method of mobile communication terminal | |
CN102378152B (en) | Method, device and system for processing service | |
CN109525811B (en) | Method and equipment for monitoring video | |
CN105791987A (en) | Media data playing method and terminal | |
CN105407452A (en) | Method and system for controlling data flow in Bluetooth sharing network | |
CN112511848A (en) | Live broadcast method, server and computer readable storage medium | |
KR101548501B1 (en) | Chunk based seamless stream transmitting and receiving apparatus and the method thereof | |
KR20170043403A (en) | Method and apparatus for providing multimedia service between heterogeneous networks | |
CN115801691A (en) | Data packet loss processing method and device and storage medium |
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 |