CN106375122A - Intelligent gateway strategy upgrading method based on LAMP (Linux+Apache+Mysql/MariaDB+Perl/PHP/Python) - Google Patents

Intelligent gateway strategy upgrading method based on LAMP (Linux+Apache+Mysql/MariaDB+Perl/PHP/Python) Download PDF

Info

Publication number
CN106375122A
CN106375122A CN201610788402.1A CN201610788402A CN106375122A CN 106375122 A CN106375122 A CN 106375122A CN 201610788402 A CN201610788402 A CN 201610788402A CN 106375122 A CN106375122 A CN 106375122A
Authority
CN
China
Prior art keywords
upgrading
intelligent gateway
information
strategy
upgrade
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.)
Pending
Application number
CN201610788402.1A
Other languages
Chinese (zh)
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.)
SHANGHAI OTEC TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI OTEC 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 SHANGHAI OTEC TECHNOLOGY Co Ltd filed Critical SHANGHAI OTEC TECHNOLOGY Co Ltd
Priority to CN201610788402.1A priority Critical patent/CN106375122A/en
Publication of CN106375122A publication Critical patent/CN106375122A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0253Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using browsers or web-pages for accessing management information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides an intelligent gateway upgrading method. The method comprises the following steps: setting an upgrading strategy by a server through a web page; carrying an IP address, software and hardware version information and service account information by an intelligent gateway; receiving upgrading request information and resolving corresponding key information by a strategy server; acquiring data of set strategy information from a database; judging whether hardware information is matched or not; if the hardware information is not matched, rejecting upgrading and ending a flow; if the hardware information is matched, continually judging whether the upgrading strategy is satisfied or not; if the upgrading strategy is satisfied, returning a configuration file download path, and finishing upgrading and ending the flow by the intelligent gateway; and if the upgrading strategy is not satisfied, rejecting upgrading and ending the flow by the server. Through adoption of the intelligent gateway strategy upgrading method based on LAMP, the problem of low upgrading speed caused by competition in download resources can be effectively prevented.

Description

A kind of based on the intelligent gateway strategy upgrade method under lamp
Technical field
The present invention relates to a kind of digital TV field, more particularly, to a kind of liter of DTV intelligent gateway Set Top Box rom Level.
Background technology
Digital signal can be supplied to the apparent more stable TV signal of user, and DTV STB becomes must Few product, has come into huge numbers of families.Intelligentized development was advanced by leaps and bounds in recent years, Set Top Box complied with " high Qinghua ", " networking " and the trend of " intelligent ", following intelligent gateway Set Top Box will replace traditional linux Set Top Box.Because intelligence Tvos system can be equipped with by gateway set top box, it is possible to use family easily installs and uninstalls types of applications software, meet see TV, Play the miscellaneous services such as local video, game.The renewal of business must be completed by edition upgrading, and this is accomplished by us one Individual good upgrade method.
(1) broadcasting and TV set top box upgrading program mainly or by coaxial cable issues upgrading stream, by the side of broadcast at present Formula sends, and upgrade information is detected and download upgrade file when user's start.Due to intelligent gateway carrying is tvos System, it to be several times of sizes of former linux ROMPaq that system file is very big (400m effect).And the bandwidth of coaxial transmission has Limit, transmission speed are slow, so will result in the substantial amounts of resource of occupancy, and update time is long, or even television services are seen in impact substantially.
(2) have plenty of at present and deposit upgrading configuration under assigned catalogue, Set Top Box obtains the configuration under assigned catalogue File, completes the parsing of configuration file.Whether existed by comparing in equipment of itself software information, serial number etc. and configuration file To decide whether in the sequence of upgrading to upgrade.Due to temporary transient the drawbacks of current intelligent gateway negligible amounts, locally downloading upgrading Will not embody.The continuous growth of intelligent gateway quantity therewith, reach tens of thousands of in addition tens up to a million when.Thousand of up to ten thousand Platform Set Top Box triggers upgrading simultaneously, goes download upgrade file under the catalogue specified to will result in contention Internet resources, Set Top Box is just The upgrading that can show is downloaded and just can be completed when slowly needing originally several times to upgrade;Upgrading failed download ceaselessly restarts download Upgrade file.So may result in Consumer's Experience to become, even result in intelligent gateway Set Top Box and software and hardware mistake occurs.
Content of the invention
For above-mentioned technical problem, the present invention provide a kind of based on the intelligent gateway strategy upgrade method under lamp, permissible Effectively prevent from fighting for and download resource and the slack-off problem of the updating speed that leads to.
In order to realize foregoing invention purpose, the present invention employs the following technical solutions:
A kind of upgrade method of intelligent gateway, comprises the steps:
S10: server arranges escalation policy by web page;
S20: intelligent gateway carries ip address, software and hardware version information and business account information;
S30: strategic server receives upgrading request and parses corresponding key message;
S40: obtain the data of the policy information of setting in data base;
S50: judge whether hardware information mates;
S60: if hardware information mismatches, refusal is upgraded and terminated flow process;
S70: if hardware information coupling, continue to determine whether to meet escalation policy;
S80: if meeting escalation policy, return configuration file download path, intelligent gateway completes to upgrade and terminates flow process;
S90: if not meeting escalation policy, server refusal is upgraded and terminated flow process.
As present invention further optimization, described escalation policy includes: concurrently limit, that is, according to network bandwidth quantity and The number of concurrent of upgrade file size setting.
As present invention further optimization, described escalation policy is selected from appointing in ip address, business account or number of concurrent Meaning is a kind of.
As present invention further optimization, described escalation policy is selected from number of concurrent and the combination of ip address.
As present invention further optimization, described escalation policy is selected from the combination of number of concurrent and business account.
As present invention further optimization, omit described upgrade step s50-s80.
As present invention further optimization, described strategy upgrade server is linux+apache+mysql
As present invention further optimization, it is http that described intelligent gateway upgrading accesses fixing upgrading address: // liter Level server address/action.php/ip+ software version number+hardware version numbers+business account information.
As present invention further optimization, described intelligent gateway includes Set Top Box.
Compared with prior art, the method have the advantages that
The present invention adopts lamp scheme to pass through web page setting escalation policy, provide by ip address, business account and Send out three kinds of methods of quantity to control upgrading quantity, upgrade area and number of concurrent, to reach accurate upgrading, can effectively prevent from striving The updating speed seized load resource and lead to is slack-off.Can also be limited by ip address+concurrently, the restriction group of business account+concurrently Close controlling, orderly raising updating speed and efficiency.Data base can record the information of set top box upgrading, conveniently consults version at any time This service condition.
Brief description
Fig. 1 is the upgrade method flow chart of intelligent gateway Set Top Box in one embodiment of the invention;
Fig. 2 is the upgrade method flow chart of intelligent gateway Set Top Box in another embodiment of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, not For limiting the present invention.
Tactful upgrade server:
Linux+apache+mysql adds tactful upgrade method arrangement again.
Intelligent gateway set top box upgrading accesses fixing upgrading address, and address mode is as follows:
Http: // upgrade server address/action.php/ip+ software version number+hardware version numbers+business account letter Breath
Embodiment 1
Fig. 1 is the flow chart of the set top box upgrading method in an embodiment, as shown in figure 1, the method includes walking as follows Rapid:
(1) intelligent gateway Set Top Box sends upgrade request;
(2) strategic server receives and asks and use strategy process to calculate test number of concurrent;
(3) strategic server judges whether to exceed the maximum number of concurrent of setting;
(4) if returning upgrading configuration download path not less than set maximum number of concurrent;
(5) intelligent gateway completes subsequent download judgement;
(6) upgrading completes and terminates flow process.
Embodiment 2
Fig. 2 is the flow chart of the set top box upgrading method in an embodiment, as shown in figure 1, specifically comprising the following steps that
(1) server arranges escalation policy by web page;
(2) intelligent gateway carries ip address, software and hardware version information and business account information;
(3) strategic server receives upgrading request and whether analytical Calculation exceedes maximum number of concurrent, if not less than Big number of concurrent carries out next step flow process;
(4) obtain the data of the policy information of setting in data base;
(5) judge whether hardware information mates;
(6) if hardware information mismatches, refusal is upgraded and is terminated flow process;
(7) if hardware information coupling, continue to determine whether to meet escalation policy;
(8) judged according to ip address realm respectively and business account judges, meet then return configuration file download path, intelligence Gateway can complete to upgrade and terminate flow process;
(9) if not meeting above-mentioned ip address realm or business account information, server refusal is upgraded and is terminated flow process.
The present invention adopts lamp scheme to pass through web page setting escalation policy, provide by ip address, business account and Send out three kinds of methods of quantity to control upgrading quantity, upgrade area and number of concurrent, to reach accurate upgrading, can effectively prevent from striving The updating speed seized load resource and lead to is slack-off.Can also be limited by ip address+concurrently, the restriction group of business account+concurrently Close controlling, orderly raising updating speed and efficiency.Data base can record the information of set top box upgrading, conveniently consults version at any time This service condition.
Above the specific embodiment of the present invention is described in detail, but it has been intended only as example, the present invention has not limited It is formed on particular embodiments described above.To those skilled in the art, any equivalent modifications that the present invention is carried out and Substitute also all among scope of the invention.Therefore, the impartial conversion made without departing from the spirit and scope of the invention and Modification, all should cover within the scope of the invention.

Claims (9)

1. a kind of based on the intelligent gateway strategy upgrade method under lamp, comprise the steps:
S10: server arranges escalation policy by web page;
S20: intelligent gateway carries ip address, software and hardware version information and business account information;
S30: strategic server receives upgrading request and parses corresponding key message;
S40: obtain the data of the policy information of setting in data base;
S50: judge whether hardware information mates;
S60: if hardware information mismatches, refusal is upgraded and terminated flow process;
S70: if hardware information coupling, continue to determine whether to meet escalation policy;
S80: if meeting escalation policy, return configuration file download path, intelligent gateway completes to upgrade and terminates flow process;
S90: if not meeting escalation policy, server refusal is upgraded and terminated flow process.
2. method according to claim 1 is it is characterised in that described escalation policy includes:
Concurrently limit, i.e. the number of concurrent according to network bandwidth quantity and the setting of upgrade file size.
3. method according to claim 2 is it is characterised in that described escalation policy is selected from ip address, business account or simultaneously Send out any one in number.
4. method according to claim 2 is it is characterised in that described escalation policy is selected from number of concurrent and the group of ip address Close.
5. method according to claim 2 is it is characterised in that described escalation policy is selected from the group of number of concurrent and business account Close.
6. method according to claim 1 is it is characterised in that omit described upgrade step s50-s80.
7. method according to claim 2 is it is characterised in that described strategy upgrade server is linux+apache+ The data base of mysql.
8. method according to claim 2 is it is characterised in that the upgrading address that the upgrading of described intelligent gateway accesses fixation is Http: // upgrade server address/action.php/ip+ software version number+hardware version numbers+business account information.
9. according to the arbitrarily described method of claim 1-7 it is characterised in that described intelligent gateway includes Set Top Box.
CN201610788402.1A 2016-08-31 2016-08-31 Intelligent gateway strategy upgrading method based on LAMP (Linux+Apache+Mysql/MariaDB+Perl/PHP/Python) Pending CN106375122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610788402.1A CN106375122A (en) 2016-08-31 2016-08-31 Intelligent gateway strategy upgrading method based on LAMP (Linux+Apache+Mysql/MariaDB+Perl/PHP/Python)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610788402.1A CN106375122A (en) 2016-08-31 2016-08-31 Intelligent gateway strategy upgrading method based on LAMP (Linux+Apache+Mysql/MariaDB+Perl/PHP/Python)

Publications (1)

Publication Number Publication Date
CN106375122A true CN106375122A (en) 2017-02-01

Family

ID=57899069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610788402.1A Pending CN106375122A (en) 2016-08-31 2016-08-31 Intelligent gateway strategy upgrading method based on LAMP (Linux+Apache+Mysql/MariaDB+Perl/PHP/Python)

Country Status (1)

Country Link
CN (1) CN106375122A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463472A (en) * 2017-08-03 2017-12-12 深圳市亿联智能有限公司 A kind of intelligent checking system of OTT+DVB pattern of fusion intelligent gateway
CN107483261A (en) * 2017-08-28 2017-12-15 京信通信系统(中国)有限公司 A kind of upgrade method and gateway device
CN108011963A (en) * 2017-12-11 2018-05-08 赛拓信息技术有限公司 Based on LAMP website platforms
CN108038353A (en) * 2017-12-26 2018-05-15 重庆佰诺吉生物科技有限公司 A kind of web page display method of genomic data
CN111176674A (en) * 2018-11-12 2020-05-19 中移(杭州)信息技术有限公司 OSGI plug-in upgrading method and device, electronic equipment and storage medium
CN113949563A (en) * 2021-10-15 2022-01-18 傲普(上海)新能源有限公司 Data server resource access control method based on strategy
CN115348173A (en) * 2022-05-31 2022-11-15 青岛海信宽带多媒体技术有限公司 Area upgrading control method for household intelligent gateway

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179425A (en) * 2006-12-11 2008-05-14 腾讯科技(深圳)有限公司 Client terminal software updating control method and system
CN101184212A (en) * 2007-11-01 2008-05-21 中兴通讯股份有限公司 Method to update monitoring front end of video monitoring system
CN101459528A (en) * 2007-12-11 2009-06-17 康佳集团股份有限公司 On-line up-grading method and system for network terminal device
CN104506367A (en) * 2014-12-24 2015-04-08 上海斐讯数据通信技术有限公司 Updating management system
CN104836680A (en) * 2015-03-27 2015-08-12 努比亚技术有限公司 Firmware over-the-air (FOTA) upgrade processing method and FOTA upgrade processing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179425A (en) * 2006-12-11 2008-05-14 腾讯科技(深圳)有限公司 Client terminal software updating control method and system
CN101184212A (en) * 2007-11-01 2008-05-21 中兴通讯股份有限公司 Method to update monitoring front end of video monitoring system
CN101459528A (en) * 2007-12-11 2009-06-17 康佳集团股份有限公司 On-line up-grading method and system for network terminal device
CN104506367A (en) * 2014-12-24 2015-04-08 上海斐讯数据通信技术有限公司 Updating management system
CN104836680A (en) * 2015-03-27 2015-08-12 努比亚技术有限公司 Firmware over-the-air (FOTA) upgrade processing method and FOTA upgrade processing system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463472A (en) * 2017-08-03 2017-12-12 深圳市亿联智能有限公司 A kind of intelligent checking system of OTT+DVB pattern of fusion intelligent gateway
CN107483261A (en) * 2017-08-28 2017-12-15 京信通信系统(中国)有限公司 A kind of upgrade method and gateway device
CN108011963A (en) * 2017-12-11 2018-05-08 赛拓信息技术有限公司 Based on LAMP website platforms
CN108038353A (en) * 2017-12-26 2018-05-15 重庆佰诺吉生物科技有限公司 A kind of web page display method of genomic data
CN111176674A (en) * 2018-11-12 2020-05-19 中移(杭州)信息技术有限公司 OSGI plug-in upgrading method and device, electronic equipment and storage medium
CN111176674B (en) * 2018-11-12 2023-04-28 中移(杭州)信息技术有限公司 OSGI plug-in upgrading method and device, electronic equipment and storage medium
CN113949563A (en) * 2021-10-15 2022-01-18 傲普(上海)新能源有限公司 Data server resource access control method based on strategy
CN113949563B (en) * 2021-10-15 2023-10-10 傲普(上海)新能源有限公司 Policy-based data server resource access control method
CN115348173A (en) * 2022-05-31 2022-11-15 青岛海信宽带多媒体技术有限公司 Area upgrading control method for household intelligent gateway
CN115348173B (en) * 2022-05-31 2024-05-28 青岛海信宽带多媒体技术有限公司 Regional upgrade control method of intelligent gateway

Similar Documents

Publication Publication Date Title
CN106375122A (en) Intelligent gateway strategy upgrading method based on LAMP (Linux+Apache+Mysql/MariaDB+Perl/PHP/Python)
US9158531B2 (en) Software download method and software download apparatus
US7853609B2 (en) Update distribution system architecture and method for distributing software
US7539686B2 (en) Tag-based schema for distributing update metadata in an update distribution system
CN109525602B (en) Method, mobile terminal and system for accessing network based on flow-free platform
CN102591678B (en) For the method and system of the identifier of distribution software assembly
CN105472465B (en) The method and device of set top box upgrading
CN106850720A (en) Method for upgrading software, apparatus and system
CN105187943B (en) Television channel method of adding and device
CN106708539B (en) Client updating method and device
CN110830234A (en) User traffic distribution method and device
CN103327403A (en) Set top box upgrading method, device and system
CN104580140A (en) Scheduling A Service Event In A Network
CN102375744A (en) Network television upgrade method
CN108200444A (en) A kind of methods, devices and systems of net cast
CN105099774B (en) A kind of router software upgrade method and system
CN103763613A (en) Set top box screen customization method
CN109842524B (en) Automatic upgrading method and device, electronic equipment and computer readable storage medium
CN105763616B (en) Resource downloading method and device
CN113986276A (en) Software upgrading method, related device and storage medium
CN108647039A (en) A kind of processing method and processing device of data upgrading
CN109126123A (en) A kind of optimization method of online game, apparatus and system
CN110300332B (en) Game loading method and system based on IPTV
CN107734397A (en) Television advertisement obtaining and displaying method, advertisement server, television and system
US20090037493A1 (en) Method and device for updating an object with copyright attribute

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170201

RJ01 Rejection of invention patent application after publication