A kind of configurable extended method of wisdom set-top-box systemTechnical field
The present invention relates to a kind of control method of Set Top Box, and in particular to a kind of configurable extension of wisdom set-top-box systemMethod.
Background technology
One of important component of at village level organizational framework of being taken precautions against natural calamities as basic unit, carries the task of preventing and reducing natural disasters of arduousness,On the one hand position is faced directly as intuitively the condition of a disaster, at village level cadre need in real time report flood control multidate information to higher level department;The opposing partyFace as early-warning and predicting of preventing and reducing natural disasters commune, at village level flood control personnel also carry by early warning information be distributed to team,The mission critical at family.Therefore, the work of flood prevention of at village level unit plays irreplaceable effect in entirely preventing and reducing natural disasters.
At present, substantially with county level as terminal, early warning information is transmitted across basic unit of each province rural area disaster alarm passage at village levelIt is difficult in journey, there is the problems such as channel is not unimpeded enough, and flood control and disaster reduction is in confused situation, it is to cause basic unit's rural area flood control and disaster reduction energyOne of weak major reason of power.The important component that the condition of a disaster early warning issue is built as basic unit's disaster informationization, is linked toEarly warning information is published to the major function of various regions system.
However, existing early warning hardware device is various with software product species, different usage scenarios or user's request are alsoDifferent softwares need to be developed, if each place is required for targetedly being developed for different user's requests, can be increasedProject construction cost, increases the difficulty of practice and extension.
The content of the invention
It is an object of the invention to provide a kind of wisdom set-top-box system of configurable extension.
To achieve the above object, the present invention uses following technical scheme:A kind of configurable extension of wisdom set-top-box systemMethod, it is characterised in that comprise the following steps:Step S1:The system includes server, and the server prestores multiple pagesFace mould version, and the xml configuration files of respective version are provided;Step S2:Each wisdom top-set hardware is assigned unique ID, whenWhen newly accessing a wisdom top-set hardware equipment, user can select different page masterplates according to particular traffic requirements, willWisdom top-set hardware equipment carries out one-to-one binding with it;Unique facility registration number is produced to send to server end;If existingWhen some page masterplates can not meet new business demand, user quickly generates new page masterplate according to page masterplate rule;Step S3:According to hardware number, the page configuration of different wisdom boxes is loaded from server;When wisdom top-set hardware equipment is initialDuring change, the general configuration file of acquiescence loading;Software is different according to hardware number, can obtain different configurations from server endFile;User also can be reset and be safeguarded renewal when new page masterplate is set to configuration file;Step S4:ClothesBusiness device pushes early warning information by JPush modes to different facility registrations number.
Further, page masterplate new in step S2 is stored into server, so that other wisdom Set Top Boxes are chosen.
Compared with prior art, the wisdom set-top-box system that the present invention passes through configurable extension, by wisdom Set Top Box and softPart carries out integrated, realizes different according to user's request, can show the different pages;Basic-level leadership is facilitated to be incited somebody to action by wisdom Set Top BoxDifferent early warning information are sent to different wisdom boxes, with reference to software systems, early warning information are carried out to designated area targeted customerEarly warning, improves the condition of a disaster pre-alerting ability of basic unit.
Brief description of the drawings
Fig. 1 is broad flow diagram of the invention.
Specific embodiment
Explanation is further explained to the present invention with specific embodiment below in conjunction with the accompanying drawings.
A kind of configurable extended method of wisdom set-top-box system, it realizes pressing different user demands, shows different pagesFace;Meanwhile, different users can receive different information.According to hardware number, different wisdom Set Top Boxes are loaded from server(Hereinafter referred to as wisdom box)Page configuration.According to configuration, different homepage faces are loaded.System can be pushed away to different wisdom boxesSend different early warning information.Server pushes early warning information by JPush modes to wisdom box terminal.
Flow chart is needed referring to Fig. 1.
Step is as follows:
1st, realize pressing different user demands, show the different pages;Meanwhile, different users can receive different information.SystemSystem is according to different user type and business demand, there is provided multiple page masterplates, and provides the configuration of respective version in serverFile (xml configuration files).When a wisdom box hardware device is newly accessed, user can be according to particular traffic requirements selection notSame page masterplate, and wisdom box hardware device can be carried out one-to-one binding with it.And working as existing page masterplate can not expireEnough during new business demand, user also can quickly generate new page masterplate according to page masterplate rule.
2nd, according to hardware number, the page configuration of different wisdom boxes is loaded from server.Wisdom box hardware device is initializedWhen, the general configuration file of acquiescence loading.Wisdom box hardware device is different according to hardware number, can be obtained not from server endSame configuration file.User also can be reset and be safeguarded renewal when new page masterplate is set to configuration file.
3rd, different homepage faces are loaded according to configuration in wisdom box.It is different according to configuration file, can load difference in terminalHomepage face.When wisdom box receives configuration file, the configuration information in file is extracted, and select the corresponding pageMasterplate shows in terminal, to meet the particular demands of different user types.
4th, system can push different early warning information to different wisdom box terminals.Server is according to pre-configured pre-Police's formula, the early warning information for producing is pushed to each wisdom box terminal.System provides various alarm modes and sets, such as picture and text,The modes such as voice, video, also can send early warning information to multiple wisdom box terminals simultaneously.Simultaneously when wisdom box terminal receive it is pre-After alert information, current state being judged, after specific setting condition is met, playing early warning information, server end can also receive intelligenceThe early warning feedback information that intelligent box sends.
5th, server pushes early warning information by JPush modes to wisdom box terminal.System is by page masterplate and wisdomWhen box hardware device numbering is bound, unique facility registration number is also produced to send to server end.System is usedJPush modes, early warning information is pushed to different facility registrations number.
In sum, the object, technical solutions and advantages of the present invention are carried out by the above-listed preferred embodiment that the present invention is providedFurther describe, should be understood that and the foregoing is only presently preferred embodiments of the present invention, be not used to limitThe present invention, all any modification, equivalent substitution and improvements within the spirit and principles in the present invention, made etc., should be included in thisWithin the protection domain of invention.