CN101710935A - Middleware device of set-top box, cross-platform interface method and set-top box - Google Patents

Middleware device of set-top box, cross-platform interface method and set-top box Download PDF

Info

Publication number
CN101710935A
CN101710935A CN200910242015A CN200910242015A CN101710935A CN 101710935 A CN101710935 A CN 101710935A CN 200910242015 A CN200910242015 A CN 200910242015A CN 200910242015 A CN200910242015 A CN 200910242015A CN 101710935 A CN101710935 A CN 101710935A
Authority
CN
China
Prior art keywords
application software
platform
top box
unit
application
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
CN200910242015A
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.)
Beijing Shibo Digital TV Technology Co Ltd
Original Assignee
Beijing Shibo Digital TV 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 Beijing Shibo Digital TV Technology Co Ltd filed Critical Beijing Shibo Digital TV Technology Co Ltd
Priority to CN200910242015A priority Critical patent/CN101710935A/en
Publication of CN101710935A publication Critical patent/CN101710935A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a middleware device of a set-top box, a cross-platform interface method and a set-top box. The middleware device of a set-top box comprises an application software interface unit, an application development platform unit and a cross-platform interface unit, wherein the application software interface unit is used for transmitting the command of the application software to the application development platform unit; the application development platform unit is used for calling a corresponding interface in the cross-platform interface unit to transmit the command of the application software; the cross-platform interface unit is used for converting a command received by the corresponding interface into a command of the corresponding drive unit driving a hardware platform according to the classification of the drive unit of the hardware platform and sends to the corresponding drive unit of the hardware platform. The middleware device of the set-top box of the embodiment of the invention is connected to the hardware platforms of various set-top boxes by the cross-platform interface unit to strengthen the openness and the popularity of the application hardware, which is favourable for developing different application software according to different value added services.

Description

A kind of middleware device of set-top box, the method and the set-top box of Cross Platform Interface
Technical field
The present invention relates to digital television techniques, particularly the method and the set-top box of a kind of middleware device of set-top box, Cross Platform Interface.
Background technology
Cable digital TV has accumulated a large amount of successful experiences through in a few years development, and Digital Television integral translation process is more and more faster; The set-top box manufacturing industry of China has possessed very big scale, and more the enterprise in the multiple digital TV industry has participated in the conversion work of Digital Television, has accelerated the process of analog-to-digital, has stimulated the increase of set-top box sales volume.
Value-added service of the prior art generally is based on a kind of hardware platform and comes Application and Development software, business such as the condition receiving system of realization set-top box and electronic program guides, be unfavorable for operator at the different different application software of value-added service exploitation, and the factors such as management state of the said firm may influence carrying out of the follow-up value-added service of operator.
There is the supplier of a lot of value-added services such as stock broadcasting, recreation and TV shopping etc. in operator, a lot of value-added services have been developed, these value-added services are not easy to carry out on the set-top box of different hardware, when operator increases value-added service, need value-added service supplier, set-top box manufacturer, three families of application software manufacturer to finish together, can increase complexity and do like this, reduce stability, influenced the development of value-added service, its result can hinder for a comparatively long period of time, reduces the value-added service value volume and range of product.And hardware platform, chip, the application software difference of set-top box are too big at present, and single software vendors can't be given full play of their performance.
Set-top box has closure in the prior art, can only be with a kind of application software in a kind of hardware platform operation, do not have compatibility, operator need be at the different different application software of top-set hardware exploitation, the efficient of Application and Development software is reduced, improve the cost of developing value-added services, limited the development of the value-added service of set-top box.
Summary of the invention
The purpose of this invention is to provide a kind of middleware device of set-top box, the method and the set-top box of Cross Platform Interface, be used for solving the closure of prior art set-top box and do not have compatible problem.
For achieving the above object, the embodiment of the invention provides a kind of middleware device of set-top box, comprising: application software interface unit, application development platform unit and Cross Platform Interface unit;
Described application software interface unit is used for the instruction of application software is delivered to described application development platform unit;
Described application development platform unit is used for calling the instruction that the corresponding interface of Cross Platform Interface unit transmits described application software;
Described Cross Platform Interface unit is used for the classification according to the driver element of hardware platform, and the instruction transformation that will receive by the corresponding interface is the instruction that drives the respective drive unit of hardware platform, sends to the respective drive unit of described hardware platform then.
Wherein, also comprise:
The auxiliary development tool unit is connected with described application development platform unit, is used to provide the graphical interfaces of auxiliary development application software and the scene of the application software of the described set-top box of analog development on computers.
Wherein, described application development platform unit also comprises:
The application software frame module, adopt model-view-control MVC that described application software is divided into application layer, operation layer, view layer and key-course four parts with exploitation respectively, and described view layer, key-course and operation layer are assembled into application software by described application layer.
Wherein, described application development platform unit also comprises:
The window system module is used to control the interface display of application software, the message of control application software and the processing of supporting application software frame.
Wherein, described Cross Platform Interface unit is used for the hardware device of junctor set-top box hardware platform, and described hardware device comprises: tuner equipment, descrambling equipment, audio frequency apparatus, video equipment, memory device, the network equipment or light-emitting diode.
The middleware device of embodiment of the invention set-top box, the application software that the application development platform unit is developed is connected on the hardware platform of various set-top box by application software interface unit and Cross Platform Interface unit, strengthen the opening and the versatility of application software, can alleviate set-top box producer Application and Development software work amount, and the efficient of raising Application and Development software, help operator according to the different different application software of value-added service exploitation.
The embodiment of the invention also provides a kind of set-top box, comprising:
Described application software is used to receive the information of user instruction and sends instruction by described middleware device to described hardware platform;
Described hardware platform is used for finishing according to described instruction the function of set-top box;
Described middleware device comprises: application software interface unit, application development platform unit and Cross Platform Interface unit;
Described application software interface unit is used for the instruction of application software is delivered to described application development platform unit;
The application development platform unit is used for calling the instruction that the corresponding interface of Cross Platform Interface unit transmits described application software;
The Cross Platform Interface unit is used for the classification according to the driver element of hardware platform, and the instruction transformation that will receive by the corresponding interface is the instruction that drives the respective drive unit of hardware platform, sends to the respective drive unit of described hardware platform then.
Wherein, auxiliary development tool unit, described auxiliary development tool unit are used to provide the graphical interfaces of auxiliary development application software and the scene of the application software of the described set-top box of analog development on computers.
Wherein, the application software frame module, adopt model-view-control MVC that described application software is divided into application layer, operation layer, view layer and key-course four parts with exploitation respectively, and described view layer, key-course are become application software with operation layer by described application layer;
The window system module is used to control the interface display of application software, the message of control application software and the processing of supporting application software frame.
Wherein, described Cross Platform Interface unit also is used for the following all or part of equipment that junctor set-top box hardware platform is comprised: tuner equipment, descrambling equipment, audio frequency apparatus, video equipment, memory device, the network equipment or light-emitting diode.
The embodiment of the invention also provides a kind of method of middleware Cross Platform Interface of set-top box, wherein, comprising:
The application software interface unit is delivered to the instruction of application software and the application development platform unit;
The instruction that the corresponding interface in the described application development platform cell call Cross Platform Interface unit transmits described application software;
According to the classification of the driver element of hardware platform, the instruction transformation that will receive by the corresponding interface is the instruction of the respective drive unit that drives hardware platform, sends to the respective drive unit of described hardware platform then.
Set-top box in the embodiment of the invention, the application software that develops by the application development platform unit in the middleware device, and be connected on the hardware platform of different set-top box by application software interface unit in the middleware device and Cross Platform Interface unit, strengthen the opening and the versatility of application software, alleviate set-top box producer Application and Development software work amount, can also improve the efficient of Application and Development software by the auxiliary development tool unit, help operator according to the different different application software of value-added service exploitation.
Description of drawings
Fig. 1 is the structural representation one of the middleware device specific embodiment one of embodiment of the invention set-top box;
Fig. 2 is the structural representation of the middleware device specific embodiment two of embodiment of the invention set-top box;
Fig. 3 is the structural representation one of the middleware device specific embodiment three of embodiment of the invention set-top box;
Fig. 4 is the structural representation two of the middleware device specific embodiment three of embodiment of the invention set-top box;
Fig. 5 is the flow chart of method specific embodiment of the middleware Cross Platform Interface of embodiment of the invention set-top box;
Fig. 6 is the structural representation of embodiment of the invention set-top box specific embodiment one;
Fig. 7 is the structural representation of embodiment of the invention set-top box specific embodiment two;
Fig. 8 is the structural representation one of embodiment of the invention set-top box specific embodiment three;
Fig. 9 is the structural representation two of embodiment of the invention set-top box specific embodiment three.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is done detailed description further.
The middleware device specific embodiment one of embodiment of the invention set-top box
Fig. 1 is the structural representation one of the middleware device specific embodiment one of embodiment of the invention set-top box.As shown in Figure 1, the middleware device of embodiment of the invention set-top box comprises: application software interface unit 101, application development platform unit 102 and Cross Platform Interface unit 103.Wherein, application software interface unit 101 is connected with Application in Set Top Box software, is used for being responsible for the instruction that package application development platform unit offers application software, and instruction is sent to application development platform unit 102; Application development platform unit 102 is used for the corresponding interface according to the instruction calls Cross Platform Interface unit 103 of the application software that receives, and instruction is passed to the corresponding interface of Cross Platform Interface unit 103; After Cross Platform Interface unit 103 receives instruction by the corresponding interface, instruction is packaged into the instruction of the driver element of each equipment on the hardware platform, the different driving unit of hardware platform drives the corresponding function that hardware platform is finished set-top box according to instruction, receiving video data etc. for example, Cross Platform Interface unit 103 can be connected with the hardware platform of various set-top box, can provide the unified interface that is connected the hardware platform of different set-top box for application software interface unit 101 and application software like this, make application software send the function that set-top box is finished in instruction to the hardware platform of various set-top box, and do not need Application and Development software again, improved the development and utilization efficient of application software.
In embodiments of the present invention, driver element can be the driver element of equipment such as video equipment, audio frequency apparatus or the network equipment, and the hardware platform that different vendor produces is different, and the driver element on the hardware platform is the software systems suitable with hardware platform.The instruction of application software can be a piece of digital code, when Cross Platform Interface unit 103 connects with different hardware platform, the Cross Platform Interface unit will obtain and the classification of the driver element that storage and hardware platform are suitable, the classification of driver element accords with by classification logotype and identifying, Cross Platform Interface unit 103 is according to the classification logotype symbol of the driver element on the hardware platform, and the instruction transformation that application software is sent is the instruction that can drive the respective drive unit of hardware platform.For example: Cross Platform Interface unit 103 can be connected to video equipment 1 and the video equipment 2 that different vendor generates, video equipment 1 and video equipment 2 are produced by different vendor, when Cross Platform Interface unit 103 is connected with video equipment 1, application software can send command N _ VideoStart finishes displaying video with the video equipment in the dictating machine top box function to video equipment 1, when command N _ VideoStart is delivered to Cross Platform Interface unit 103, Cross Platform Interface unit 103 is according to the classification of the driver element of the hardware platform of video equipment 1, command N _ VideoStart is converted to three instructions of the driver element of the hardware platform that can drive video equipment 1: instruction DemuxVideoStart, instruction RegisterNewFrameEvt and instruction Vid_Start, the driver element of the hardware platform of video equipment 1 will drive the function of finishing displaying video in the video equipment 1 after receiving above-mentioned three instructions; When being connected with video equipment 2 in Cross Platform Interface unit 103, Cross Platform Interface unit 103 is converted to two instructions according to the classification of the driver element of the hardware platform of video equipment 2 with command N _ VideoStart: instruction PidFlt_SetPid and instruction VID_Init, after the driver element of the hardware platform of video equipment 2 receives above-mentioned two instructions, finish the function of displaying video with driving video equipment 2, thereby realize the compatibility of application software at different hardware platforms.
In the embodiment of the invention, the instruction that Application in Set Top Box software sends, by application software interface unit 101, application development platform unit 102 and Cross Platform Interface unit 103, difference according to hardware platform encapsulates, transfer the instruction of the respective drive unit that drives hardware platform to, make different hardware platforms can receive the instruction of sending with a kind of application software, and do not need according to the difference of hardware platform and Application and Development software again, realized by Cross Platform Interface unit 103 compatibility with different hardware platform, reduced operator develops different software according to different hardware platforms burden, help increasing functions such as other amusement of set-top box or news, improved user's experience.
The middleware device specific embodiment two of embodiment of the invention set-top box
Fig. 2 is the structural representation of the middleware device specific embodiment two of embodiment of the invention set-top box.As shown in Figure 2, further, on the basis of the middleware device specific embodiment one of embodiment of the invention set-top box, the middleware device of embodiment of the invention set-top box also comprises auxiliary development tool unit 104, auxiliary development tool unit 104 is used for providing to application development platform unit 102 development interface of application software, the use interface of set-top box is converted into the data of application software; Auxiliary development tool unit 104 also is used to and carries out the analog development application software on computers scene is provided, to improve the efficient of Application and Development software.Auxiliary development tool unit 104 can also provide the development guides of Application and Development software etc., to reduce the difficulty of Application and Development software, strengthens the opening and the versatility of middleware device.
The application development platform unit 102 that the embodiment of the invention is used for set-top box middleware device uses C Plus Plus to come Application and Development software, by operator or software supplier's exploitation, application software interface unit 101 has many ports that are connected with application software, can be connected with the various application software of using 102 exploitations of application development platform unit; The application software of application development platform unit 102 exploitations can be used on different top-set hardware platforms.
The Cross Platform Interface unit 103 that the embodiment of the invention is used for set-top box middleware device can be connected with the various device on the hardware platform, these equipment include but not limited to equipment such as tuner equipment, descrambling equipment, audio frequency apparatus, video equipment, memory device, the network equipment or light-emitting diode, and the application software that drives above-mentioned hardware device also can be developed in application development platform unit 102, increase the function of middleware device, help the new value-added service of operator's exploitation.
The middleware device of embodiment of the invention set-top box can increase new functional software at any time, for example when the user need be when television reception stock be broadcasted, can be with operator based on the middle operation of the functional software of the reception stock developed on middleware device broadcasting in different set-top box, and do not need integration testing by set-top box producer, break the development mode of the application software of traditional set-top box, alleviated the exploitation pressure of the application software of set-top box producer.
The middleware device of embodiment of the invention set-top box, the application software that the application development platform unit is developed is connected on the hardware platform of various set-top box by application software interface unit, application development platform unit and Cross Platform Interface unit, strengthen the opening and the versatility of application software, can alleviate set-top box producer Application and Development software work amount, and the efficient of raising Application and Development software, help operator according to the different different application software of value-added service exploitation.
The middleware device specific embodiment three of embodiment of the invention set-top box
Fig. 3 is the structural representation one of the middleware device specific embodiment three of embodiment of the invention set-top box.As shown in Figure 3, on the basis of the middleware device specific embodiment one of embodiment of the invention set-top box or specific embodiment two, application development platform unit 102 in the middleware device of embodiment of the invention set-top box can also comprise software frame module 1021 and window system module 1022, software frame module 1021 can be when Application and Development software, application software is divided into different functional layer parts with exploitation respectively, for example application software can be divided into view layer, operation layer, key-course and four functional layer part exploitations respectively of application layer.Wherein, operation layer is responsible for preserving the running status of application software, the various functions that realize application software, responsive state inquiry and the renewal of notice view layer; The view layer is responsible for the response data update request, demonstrates respective interface according to the running status of application software, and user's operational order is transmitted to key-course, and updating user data is to operation layer; Key-course is responsible for receiving the operational order of user's input, and calls the operation logic that operation layer and view layer go to finish application software, obtains the data of user's input from the view layer; Application layer is assembled into application with view layer, key-course and operation layer and is responsible for.During Application and Development software, adopt C Plus Plus, based on model-view-controller (Model-View-Controller, MVC) mechanical development, MVC can set up and use a plurality of views simultaneously for a model when moving, because model is independent of view, so can be transplanted to new platform work to a model independently, that need make just carries out new modification to view and controller on new platform.Application software frame module 1021 is divided into different functional layer parts with application software, helps the functional layer that application software is different and develops respectively and write, and improves the opening and the development efficiency of application software.Window system module 1022 be used to control application software interface display, control application software message and support the framework of application software to handle, with convenient to the exploitation application software.
Fig. 4 is the structural representation two of the middleware device specific embodiment three of embodiment of the invention set-top box.As shown in Figure 4, the application development platform unit in the middleware device of embodiment of the invention set-top box also comprises application management module 1023.Application management module 1023 is used to finish condition receiving system management, channel searching management, time management, image data management, channel data management, displaying predetermined programme management, power management, XML file management, incident management, media play management, electronic program guide data management or tuner management etc.
The setting of condition receiving system and the processing of relevant information are responsible in the condition receiving system management of the application management module 1023 in the middleware device of embodiment of the invention set-top box; The channel searching data are responsible in the channel searching management; The management of set-top box temporal information is responsible in time management; The parsing and the relevant treatment of set-top box image data is responsible in the image data management; The storage administration of set-top box channel data is responsible in the channel data management; The management of the TV programme of reservation is responsible in the displaying predetermined programme management; Power management is responsible for the management control of set-top box power supply; The parsing and the processing of XML file is responsible in the XML file management; Incident management is responsible for the management of set-top box incident; Media play management is responsible for looking the broadcast management of the medium of audio frequency; The management of program guide data is responsible in the electronic program guide data management; The control and managements such as frequency locking of tuner are responsible in the tuner management.
The middleware device of embodiment of the invention set-top box can be divided into different functional layers by software frame module application software, to improve the opening and the development efficiency of application software, by the window system module to make things convenient for Application and Development software, come the various information of leading subscriber end and operator by the application management module, help improving the efficient of operator's Application and Development software, make things convenient for operator to provide different value-added services, increase user's experience to the user.
The method specific embodiment of the middleware Cross Platform Interface of embodiment of the invention set-top box
Fig. 5 is the flow chart of method specific embodiment of the middleware Cross Platform Interface of embodiment of the invention set-top box.As shown in Figure 5, the method for the middleware Cross Platform Interface of embodiment of the invention set-top box comprises the steps:
Step 501, application software interface unit are delivered to the instruction of application software and the application development platform unit.
In embodiments of the present invention, can adopt each specific embodiment of the middleware device of the invention process set-top box, introduce the technical scheme of the embodiment of the invention with the middleware device specific embodiment one of embodiment of the invention set-top box at this.
After instruction is sent in the instruction of application software, application software interface unit 101 will at first receive instruction, and instruction is sent to application development platform unit 102, enter step 502 then.
The instruction of the corresponding interface delivery applications software in step 502, the application development platform cell call Cross Platform Interface unit.
Application development platform unit 102 receives the instruction back and earlier instruction is encapsulated, and calls the corresponding interface in the Cross Platform Interface unit then, and instruction is sent to this corresponding interface, enters step 503 then.
Step 503, Cross Platform Interface unit be according to the classification of the driver element of hardware platform, and the instruction transformation that application software is sent is the instruction of the respective drive unit that drives hardware platform, sends to the driver element of described hardware platform then.
After Cross Platform Interface unit 103 receives instruction by the corresponding interface, instruction is packaged into the instruction of the driver element of each equipment on the hardware platform, and the different driving unit of hardware platform drives the corresponding function that relevant device on the hardware platform is finished set-top box according to instruction.
In actual applications, Cross Platform Interface unit 103 can be connected to video equipment 1 and the video equipment 2 that different vendor generates, when Cross Platform Interface unit 103 is connected with video equipment 1, application software can send command N _ VideoStart finishes displaying video with the video equipment in the dictating machine top box function to video equipment 1, when command N _ VideoStart is delivered to Cross Platform Interface unit 103, Cross Platform Interface unit 103 is according to the classification of the driver element of the hardware platform of video equipment 1, command N _ VideoStart is converted to three instructions of the driver element of the hardware platform that can drive video equipment 1: instruction DemuxVideoStart, instruction RegisterNewFrameEvt and instruction Vid_Start, the driver element of the hardware platform of video equipment 1 will drive the function of finishing displaying video in the video equipment 1 after receiving above-mentioned three instructions; When being connected with video equipment 2 in Cross Platform Interface unit 103, Cross Platform Interface unit 103 is converted to two instructions according to the classification of the driver element of the hardware platform of video equipment 2 with command N _ VideoStart: instruction PidFlt_SetPid and instruction VID_Init, after the driver element of the hardware platform of video equipment 2 receives above-mentioned two instructions, finish the function of displaying video with driving video equipment 2, thereby realize the compatibility of application software at different hardware platforms.
In the embodiment of the invention, the Cross Platform Interface unit is when connecting with different hardware platform, the Cross Platform Interface unit will obtain and the classification of the driver element that storage and hardware platform are suitable, the classification of driver element accords with by classification logotype and identifying, classification logotype according to the driver element on the hardware platform accords with then, the instruction transformation that application software is sent is the instruction that can drive the respective drive unit of hardware platform, thereby realizes the compatibility of application software at different hardware platforms.
The specific embodiment one of embodiment of the invention set-top box
Fig. 6 is the structural representation of embodiment of the invention set-top box specific embodiment one.As shown in Figure 6, embodiment of the invention set-top box comprises application software 20, middleware device 10 and hardware platform 30, and application software 20 is by the driver element 301 of middleware device 10 connection hardware platforms 30.The user can be by the required reception of button announcement machine top box on remote controller or the set-top box video or broadcast message etc., Application in Set Top Box software 20 sends instruction after receiving user's operation information, instruction is passed to the driver element 301 of each equipment then by middleware device 10, driver element 301 will drive the various functions that hardware platform 30 is finished set-top box.
Middleware device 10 comprises application software interface unit 101, application development platform unit 102 and Cross Platform Interface unit 103, wherein, application software interface unit 101 is connected with Application in Set Top Box software, be used for being responsible for the instruction that package application development platform unit offers application software, and the instruction of application software is sent to application development platform unit 102; Application development platform unit 102 is used for the corresponding interface according to the instruction calls Cross Platform Interface unit 103 of the application software that receives, and instruction is passed to the corresponding interface of Cross Platform Interface unit 103; After Cross Platform Interface unit 103 receives instruction by the corresponding interface, instruction is packaged into the instruction of the driver element of each equipment on the hardware platform, the different driving unit of hardware platform drives the corresponding function that hardware platform is finished set-top box according to instruction, receiving video data etc. for example, Cross Platform Interface unit 103 can be connected with the hardware platform of various set-top box, can provide the unified interface that is connected the hardware platform of different set-top box for application software interface unit 101 and application software like this, make application software send the function that set-top box is finished in instruction to the hardware platform of various set-top box, and the system that do not need to develop software has again improved the utilization ratio of application software.
In embodiments of the present invention, driver element can be the driver element of equipment such as video equipment, audio frequency apparatus or the network equipment, and it is different that different vendor produces hardware platform; Driver element on the hardware platform is the software systems suitable with hardware platform.The instruction that application software sends can be a piece of digital code, when Cross Platform Interface unit 103 connects with different hardware platform, the Cross Platform Interface unit will obtain and the classification of the driver element that storage and hardware platform are suitable, the classification of driver element accords with by classification logotype and identifying, Cross Platform Interface unit 103 is according to the classification logotype symbol of the driver element on the hardware platform, and the instruction transformation that application software is sent is the instruction that can drive the respective drive unit of hardware platform.For example: Cross Platform Interface unit 103 can be connected to video equipment 1 and the video equipment 2 that different vendor generates, video equipment 1 and video equipment 2 are produced by different vendor, when Cross Platform Interface unit 103 is connected with video equipment 1, application software can send command N _ VideoStart finishes displaying video with the video equipment in the dictating machine top box function to video equipment 1, when command N _ VideoStart is delivered to Cross Platform Interface unit 103, Cross Platform Interface unit 103 is according to the driver element of the hardware platform of video equipment 1, command N _ VideoStart is converted to three instructions of the driver element of the hardware platform that can drive video equipment 1: instruction DemuxVideoStart, instruction RegisterNewFrameEvt and instruction Vid_Start, the driver element of the hardware platform of video equipment 1 will drive the function of finishing displaying video in the video equipment 1 after receiving above-mentioned three instructions; When being connected with video equipment 2 in Cross Platform Interface unit 103, Cross Platform Interface unit 103 is converted to two instructions according to the driver element of the hardware platform of video equipment 2 with command N _ VideoStart: instruction PidFlt_SetPid and instruction VID_Init, after the driver element of the hardware platform of video equipment 2 receives above-mentioned two instructions, finish the function of displaying video with driving video equipment 2, thereby realize the compatibility of application software at different hardware platforms.
Cross Platform Interface unit 103 can also be connected with the hardware devices such as tuner equipment, descrambling equipment, audio frequency apparatus, video equipment, memory device, the network equipment or light-emitting diode on the hardware platform, and the application software that drives above-mentioned hardware device also can be developed in application development platform unit 102, increase the function of middleware device, also help the new value-added service of operator's exploitation, improved user's experience.
Embodiment of the invention set-top box specific embodiment two
Fig. 7 is the structural representation of embodiment of the invention set-top box specific embodiment two.As shown in Figure 7, can also comprise auxiliary development tool unit 104 in the middleware device 10 of embodiment of the invention set-top box, auxiliary development tool unit 104 is used for providing to application development platform unit 102 development interface of application software, the use interface of set-top box is converted into the data of application software; Auxiliary development tool unit 104 also is used to and carries out the analog development application software on computers scene is provided, to improve the efficient of Application and Development software.Auxiliary development tool unit 104 can also provide the development guides of Application and Development software etc., to reduce the difficulty of Application and Development software, strengthen the opening and the versatility of middleware device, help operator to increase new function, and user side increase the function of set-top box according to self hobby to set-top box.
Set-top box in the embodiment of the invention, by STB terminal application development platform unit Application and Development software, and by the application software interface unit in the STB terminal application development platform unit, the application development platform unit is connected on the hardware platform of different set-top box with the Cross Platform Interface unit, strengthen the opening and the versatility of application software, alleviate set-top box producer Application and Development software work amount, can also improve the efficient of Application and Development software by the auxiliary development tool unit, help operator and develop functional software that makes new advances and the application software that is installed in set-top box according to different value-added services.
The specific embodiment three of embodiment of the invention set-top box
Fig. 8 is the structural representation one of embodiment of the invention set-top box specific embodiment three.As shown in Figure 8, on the basis of the specific embodiment one of embodiment of the invention set-top box or specific embodiment two, application development platform unit 102 in the middleware device of embodiment of the invention set-top box can also comprise software frame module 1021 and window system module 1022, software frame module 1021 can be when Application and Development software, application software is divided into different functional layer parts with exploitation respectively, for example application software can be divided into the view layer, operation layer, four functional layer part exploitations respectively of key-course and application layer, for example, operation layer in the application software is responsible for the setting of video data, the view layer is responsible for the demonstration of video playback relevant information, key-course is responsible for logic control, and application layer is responsible for the view layer, unified management between operation layer and the key-course.In actual applications, also can simplify, just be divided into view layer, key-course and application layer, be responsible for the setting and the logic control of video data by key-course simultaneously using software hierarchy.Software frame module 1021 is divided into different functional layer parts with application software, helps the exploitation of application software and writes the efficient of raising Application and Development software.Window system module 1022 is used to control the interface display of application software, the message of control application software, the processing of support application software frame.
Fig. 9 is the structural representation two of embodiment of the invention set-top box specific embodiment three.Application development platform unit in the middleware device of embodiment of the invention set-top box also comprises application management module 1203 as shown in Figure 9.Application management module 1023 is used to finish condition receiving system management, channel searching management, time management, image data management, channel data management, displaying predetermined programme management, power management, XML file management, incident management, media play management, electronic program guide data management or tuner management etc.
The setting of condition receiving system and the processing of relevant information are responsible in the condition receiving system management of the application management module in the middleware device of embodiment of the invention set-top box; The channel searching data are responsible in the channel searching management; The management of set-top box temporal information is responsible in time management; The parsing and the relevant treatment of set-top box image data is responsible in the image data management; The storage administration of set-top box channel data is responsible in the channel data management; The management of the TV programme of reservation is responsible in the displaying predetermined programme management; Power management is responsible for the management control of set-top box power supply; The parsing and the processing of XML file is responsible in the XML file management; Incident management is responsible for the management of set-top box incident; Media play management is responsible for looking the broadcast management of the medium of audio frequency; The management of program guide data is responsible in the electronic program guide data management; The control and managements such as frequency locking of tuner are responsible in the tuner management.
Embodiment of the invention set-top box is divided into different functional layers by the software frame module with application software, to improve the opening and the development efficiency of application software, by the window system module application software is divided into different parts with expeditiously to using software development, come the various information of leading subscriber end and operator by the application management module, help improving the efficient of operator's Application and Development software, make things convenient for operator to provide different value-added services, increase user's experience to the user.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the middleware device of a set-top box is characterized in that comprising:
Application software interface unit, application development platform unit and Cross Platform Interface unit;
Described application software interface unit is used for the instruction of application software is delivered to described application development platform unit;
Described application development platform unit is used for calling the instruction that the corresponding interface of Cross Platform Interface unit transmits described application software;
Described Cross Platform Interface unit is used for the classification according to the driver element of hardware platform, and the instruction transformation that will receive by the corresponding interface is the instruction that drives the respective drive unit of hardware platform, sends to the respective drive unit of described hardware platform then.
2. the middleware device of set-top box according to claim 1 is characterized in that, also comprises:
The auxiliary development tool unit is connected with described application development platform unit, is used to provide the graphical interfaces of auxiliary development application software and the scene of the application software of the described set-top box of analog development on computers.
3. the middleware device of set-top box according to claim 1 is characterized in that, described application development platform unit also comprises:
The application software frame module, adopt model-view-control MVC that described application software is divided into application layer, operation layer, view layer and key-course four parts with exploitation respectively, and described view layer, key-course and operation layer are assembled into application software by described application layer.
4. the middleware device of set-top box according to claim 1 is characterized in that, described application development platform unit also comprises:
The window system module is used to control the interface display of application software, the message of control application software and the processing of supporting application software frame.
5. the middleware device of set-top box according to claim 1 is characterized in that:
Described Cross Platform Interface unit is used for the hardware device of junctor set-top box hardware platform, and described hardware device comprises: tuner equipment, descrambling equipment, audio frequency apparatus, video equipment, memory device, the network equipment or light-emitting diode.
6. a set-top box is characterized in that comprising: application software, hardware platform and middleware device;
Described application software is used to receive the information of user instruction and sends instruction by described middleware device to described hardware platform;
Described hardware platform is used for finishing according to described instruction the function of set-top box;
Described middleware device comprises: application software interface unit, application development platform unit and Cross Platform Interface unit;
Described application software interface unit is used for the instruction of application software is delivered to described application development platform unit;
The application development platform unit is used for calling the instruction that the corresponding interface of Cross Platform Interface unit transmits described application software;
Described Cross Platform Interface unit is used for the classification according to the driver element of hardware platform, and the instruction transformation that will receive by the corresponding interface is the instruction that drives the respective drive unit of hardware platform, sends to the respective drive unit of described hardware platform then.
7. set-top box according to claim 6 is characterized in that, also comprises:
Auxiliary development tool unit, described auxiliary development tool unit are used to provide the graphical interfaces of auxiliary development application software and the scene of the application software of the described set-top box of analog development on computers.
8. set-top box according to claim 6 is characterized in that, described application development platform unit also comprises:
The application software frame module, adopt model-view-control MVC that described application software is divided into application layer, operation layer, view layer and key-course four parts with exploitation respectively, and described view layer, key-course and operation layer are assembled into application software by described application layer.
9. set-top box according to claim 6 is characterized in that, described application development platform unit also comprises:
The window system module is used to control the interface display of application software, the message of control application software and the processing of supporting application software frame.
10. the method for the middleware Cross Platform Interface of a set-top box is characterized in that, comprising:
The application software interface unit is delivered to the instruction of application software and the application development platform unit;
The instruction that the corresponding interface in the described application development platform cell call Cross Platform Interface unit transmits described application software;
According to the classification of the driver element of hardware platform, the instruction transformation that will receive by the corresponding interface is the instruction of the respective drive unit that drives hardware platform, sends to the respective drive unit of described hardware platform then.
CN200910242015A 2009-12-02 2009-12-02 Middleware device of set-top box, cross-platform interface method and set-top box Pending CN101710935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910242015A CN101710935A (en) 2009-12-02 2009-12-02 Middleware device of set-top box, cross-platform interface method and set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910242015A CN101710935A (en) 2009-12-02 2009-12-02 Middleware device of set-top box, cross-platform interface method and set-top box

Publications (1)

Publication Number Publication Date
CN101710935A true CN101710935A (en) 2010-05-19

Family

ID=42403694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910242015A Pending CN101710935A (en) 2009-12-02 2009-12-02 Middleware device of set-top box, cross-platform interface method and set-top box

Country Status (1)

Country Link
CN (1) CN101710935A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895669A (en) * 2010-07-20 2010-11-24 深圳市茁壮网络股份有限公司 General middleware adaptation layer system for digital television
CN101895670A (en) * 2010-07-20 2010-11-24 深圳市茁壮网络股份有限公司 Universal digital television middleware system
CN102355603A (en) * 2011-09-20 2012-02-15 福建新大陆通信科技股份有限公司 Middleware system based on wired digital television set top box<0}
CN103037248A (en) * 2011-09-30 2013-04-10 新疆广电网络有限责任公司 Information platform system based on digital set-top box
CN103164207A (en) * 2011-12-16 2013-06-19 深圳市快播科技有限公司 Application program development method and system for spanning hardware platforms based on Android system
CN103702150A (en) * 2013-12-30 2014-04-02 金陵科技学院 Multimedia system
CN104951323A (en) * 2014-03-27 2015-09-30 中国移动通信集团公司 Java middleware and driving, calling and loading method thereof and conversion device
CN105933767A (en) * 2016-04-20 2016-09-07 青岛海信电器股份有限公司 Middleware device, middleware realization method and television set
CN107562407A (en) * 2017-09-15 2018-01-09 微鲸科技有限公司 Apparatus control method and electronic equipment
CN108111954A (en) * 2017-12-25 2018-06-01 微鲸科技有限公司 Audio input control method and device
CN108271055A (en) * 2018-01-08 2018-07-10 北京智驿信息技术有限责任公司 The processing method and processing device of response user's operation action based on RN components
CN108279881A (en) * 2018-02-11 2018-07-13 深圳竹信科技有限公司 Cross-platform realization framework based on deep learning predicted portions and method
CN111833470A (en) * 2020-06-11 2020-10-27 深圳市金溢科技股份有限公司 Software architecture design method and system for vehicle-mounted unit

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895670A (en) * 2010-07-20 2010-11-24 深圳市茁壮网络股份有限公司 Universal digital television middleware system
CN101895669A (en) * 2010-07-20 2010-11-24 深圳市茁壮网络股份有限公司 General middleware adaptation layer system for digital television
CN102355603B (en) * 2011-09-20 2013-12-04 福建新大陆通信科技股份有限公司 Middleware system based on wired digital television set top box middleware
CN102355603A (en) * 2011-09-20 2012-02-15 福建新大陆通信科技股份有限公司 Middleware system based on wired digital television set top box<0}
CN103037248A (en) * 2011-09-30 2013-04-10 新疆广电网络有限责任公司 Information platform system based on digital set-top box
CN103164207B (en) * 2011-12-16 2016-09-07 深圳市快播科技有限公司 The application development method and system across hardware platform based on Android system
CN103164207A (en) * 2011-12-16 2013-06-19 深圳市快播科技有限公司 Application program development method and system for spanning hardware platforms based on Android system
CN103702150A (en) * 2013-12-30 2014-04-02 金陵科技学院 Multimedia system
CN104951323B (en) * 2014-03-27 2018-06-19 中国移动通信集团公司 Java middlewares and its driving calling, loading method and conversion equipment
CN104951323A (en) * 2014-03-27 2015-09-30 中国移动通信集团公司 Java middleware and driving, calling and loading method thereof and conversion device
CN105933767A (en) * 2016-04-20 2016-09-07 青岛海信电器股份有限公司 Middleware device, middleware realization method and television set
CN105933767B (en) * 2016-04-20 2019-06-25 青岛海信电器股份有限公司 Middleware device, Middleware implementation method and television set
CN107562407A (en) * 2017-09-15 2018-01-09 微鲸科技有限公司 Apparatus control method and electronic equipment
CN108111954A (en) * 2017-12-25 2018-06-01 微鲸科技有限公司 Audio input control method and device
CN108271055A (en) * 2018-01-08 2018-07-10 北京智驿信息技术有限责任公司 The processing method and processing device of response user's operation action based on RN components
CN108271055B (en) * 2018-01-08 2020-06-26 北京智驿信息技术有限责任公司 RN assembly-based processing method and device for responding to user operation action
CN108279881A (en) * 2018-02-11 2018-07-13 深圳竹信科技有限公司 Cross-platform realization framework based on deep learning predicted portions and method
CN108279881B (en) * 2018-02-11 2021-05-28 深圳竹信科技有限公司 Cross-platform implementation framework and method based on deep learning prediction part
CN111833470A (en) * 2020-06-11 2020-10-27 深圳市金溢科技股份有限公司 Software architecture design method and system for vehicle-mounted unit

Similar Documents

Publication Publication Date Title
CN101710935A (en) Middleware device of set-top box, cross-platform interface method and set-top box
Filho et al. Ginga-J: the procedural middleware for the Brazilian digital TV system
US8763052B2 (en) System for enabling video-based interactive applications
CN102118641B (en) High-definition video system and method supporting remote mobile reservation based on set-top box
CN102510392B (en) Equipment room application sharing method and system, television and mobile terminal
CN102026031B (en) Set top box
EP1617333A1 (en) Video device, video module unit, and video device operation method
CN101202919B (en) Digital television receiver and intermediate part
CN101404746A (en) Television wall image output system and method
US9621370B2 (en) Apparatus and method for providing interactive service to device using different digital broadcast middleware standards
US20080229364A1 (en) System and Method for the Construction of Electronic Program Guide Through Cooperative Transmission of Electronic Program Guide Data
CN105763898A (en) Method and system for controlling IPTV set-top box by voice
CN106412466A (en) Smart television system
CN101554046A (en) Video processing apparatus and method for managing operations based on telephony signals
CN105451055A (en) Method and system for remotely controlling IPTV set-top box
CN101365124A (en) Method, system and set-top box for network television video play control
CN109451259A (en) Tv line, television system and data capture method of televising
CN104301800A (en) Cloud service achieving method, device and system
CN101753793A (en) Method for realizing interactive interface in embedded set top box system
CN102307317A (en) System for implementing data value-added service (VAS) by CAM (conditional access module) card
CN102026036A (en) Conditional access device and method for implementing electronic program guide (EPG) therein
CN100581243C (en) Implementation method for the animation and cartoon interaction of the digital TV
CN101399972B (en) Media center system and implementation method thereof
CN106612462A (en) Fast-forward and fast-rewind processing method and terminal
CN100555945C (en) The method and apparatus of broadcasted content is provided in the UPNP network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20100519