CN105681903A - User interface displaying method and device - Google Patents

User interface displaying method and device Download PDF

Info

Publication number
CN105681903A
CN105681903A CN201610013806.3A CN201610013806A CN105681903A CN 105681903 A CN105681903 A CN 105681903A CN 201610013806 A CN201610013806 A CN 201610013806A CN 105681903 A CN105681903 A CN 105681903A
Authority
CN
China
Prior art keywords
menu
data stream
application program
unit
operational order
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.)
Granted
Application number
CN201610013806.3A
Other languages
Chinese (zh)
Other versions
CN105681903B (en
Inventor
朱健文
陈满
蔡毅
廖晓兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201610013806.3A priority Critical patent/CN105681903B/en
Publication of CN105681903A publication Critical patent/CN105681903A/en
Application granted granted Critical
Publication of CN105681903B publication Critical patent/CN105681903B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4431OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8543Content authoring using a description language, e.g. Multimedia and Hypermedia information coding Expert Group [MHEG], eXtensible Markup Language [XML]

Abstract

The invention belongs to the field of computers and provides a user interface displaying method and device. The user interface displaying method comprises the steps: when monitoring that digital television application program call enables a conditional access (CA) menu function, obtaining data information accessing a CA menu; generating a dataflow according to the data information; transmitting the dataflow to an application program by a callback function, so that the application program draws the CA menu according to the dataflow. According to the user interface displaying method and device, the drawing of a CA function submenu is completely finished by a middleware, so that the load of developers is reduced.

Description

A kind of method that user interface presents and device
Technical field
The present invention relates to computer realm, be specifically related to method and device that a kind of user interface presents.
Background technology
Along with the development of science and technology, DTV (DigitalTelevision, DTV) becomes to popularize gradually. Application program (Application, App) demand supporting with DTV therewith is increasing.
In the process of exploitation App, it usually needs call the business function interface of DVBC middleware, thus completing user interface (UserInterface, UI) design. But the condition that also includes in existing DVBC middleware accesses (ConditionalAccess, CA) descrambling service, as shown in Figure 1, for CA modules different in middleware, application layer needs to realize each self-corresponding CA menu, every kind of CA menu is made up of more than ten CA function submenus again, thus causing that the workload of application development is huge, adds more homework burden to Developmental Engineer.
Summary of the invention
The invention provides method and device that a kind of user interface presents, it is possible to while realizing UI design, reduce the workload of APP exploitation, reduce the homework burden of developer.
A first aspect of the present invention discloses a kind of method that user interface presents, and described method includes:
When monitoring digital television application routine call entry condition and accessing menu function, obtain described entry condition and access the data message of menu;
Data stream is generated according to described data message;
Described data stream is sent to described application program so that described application program draws menu according to described data stream by call back function.
In conjunction with first aspect, in the first possible implementation of first aspect, described method also includes:
When receiving the operational order of user, it is determined that the application programming interfaces API corresponding to described operational order;
Call described API to complete the function corresponding to described operational order.
In conjunction with the first possible implementation of first party, after calling described API described in the implementation that the second of first party is possible, described method also includes:
When there is feedback information, regenerate data stream according to the menu information of described feedback information and user operation;
By call back function to described application program send described in the data stream that regenerates so that described application program according to described in the data stream drafting menu that regenerates.
Second aspect present invention discloses the method that another kind of user interface presents, and described method includes:
Application program receives the menu data stream that middleware sends;
The information of menu data stream described in described application call menu converter identification;
The described application program information according to described menu data stream, utilizes described menu converter to draw menu.
In conjunction with second aspect, in the first possible implementation of second aspect, described method also includes:
When receiving the operational order of user's input, described application program utilizes described menu transducer that described operational order is transmitted to middleware.
Third aspect present invention discloses the device that a kind of user interface presents, and described device includes:
Acquiring unit, for when monitoring digital television application routine call entry condition and accessing menu function, obtaining described entry condition and access the data message of menu;
Generate unit, for generating data stream according to described data message;
Transmitting element, for sending described data stream by call back function to described application program so that described application program draws menu according to described data stream.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described device also includes:
Determine unit, for when receiving the operational order of user, it is determined that the application programming interfaces API corresponding to described operational order;
Call unit, for calling described API to complete the function corresponding to described operational order.
In conjunction with the first possible implementation of the third aspect, in the implementation that the second of the third aspect is possible,
Described generation unit, is additionally operable to when there is feedback information, regenerates data stream according to the menu information of described feedback information and user operation;
Described transmitting element, for by call back function to described application program send described in the data stream that regenerates so that described application program according to described in the data stream drafting menu that regenerates.
Fourth aspect present invention discloses the device that a kind of user interface presents, and described device includes:
Receive unit, for receiving the menu data stream that middleware sends;
Recognition unit, for calling the information of menu data stream described in menu converter identification;
Drawing unit, for the information according to described menu data stream, utilizes described menu converter to draw menu.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described device also includes:
Retransmission unit, for when receiving the operational order of user's input, described application program utilizes described menu transducer that described operational order is transmitted to middleware.
In conjunction with first aspect and the third aspect it can be seen that in scheme provided by the invention, when monitoring digital television application routine call entry condition and accessing CA menu function, obtain described entry condition and access the data message of menu; Data stream is generated according to described data message; Described data stream is sent to described application program so that described application program draws menu according to described data stream by call back function. Completed the drafting of CA function submenu completely by middleware, alleviate the burden of developer.
In conjunction with first aspect and fourth aspect it can be seen that in scheme provided by the invention, application program receives the menu data stream that middleware sends; The information of menu data stream described in described application call menu converter identification; The described application program information according to described menu data stream, utilizes described menu converter to draw menu. Therefore, as long as application program calls menu converter and just by identifying the information of CA menu and can draw CA menu, thus alleviating the burden of developer.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, the accompanying drawing used required in embodiment will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic diagram of DTV application software frame;
The Organization Chart that a kind of user interface that Fig. 2 provides for the embodiment of the present invention presents;
The schematic flow sheet of the method that a kind of user interface that Fig. 3 provides for the embodiment of the present invention presents;
Fig. 4 is CA menu XML file structure chart;
Fig. 5 is the specific object figure of Menu;
The schematic flow sheet of the method that the another kind of user interface that Fig. 6 provides for the embodiment of the present invention presents;
The schematic flow sheet of the method that the another kind of user interface that Fig. 7 provides for the embodiment of the present invention presents;
The schematic flow sheet of the method that the another kind of user interface that Fig. 8 provides for the embodiment of the present invention presents;
Fig. 9 presents the structural representation of device for a kind of user interface that the embodiment of the present invention provides;
Figure 10 presents the structural representation of device for the another kind of user interface that the embodiment of the present invention provides;
Figure 11 presents the structural representation of device for the another kind of user interface that the embodiment of the present invention provides;
Figure 12 presents the structural representation of device for the another kind of user interface that the embodiment of the present invention provides.
Detailed description of the invention
The invention provides method and device that a kind of user interface presents, it is possible to while realizing UI design, reduce the workload of APP exploitation, reduce the homework burden of developer.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is explicitly described, obviously, described embodiment is only the embodiment of a present invention part, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, all should belong to the scope of protection of the invention.
In description of the present invention, claims and accompanying drawing, the term " first " of appearance, " second " and " the 3rd " etc. are for distinguishing different objects, and are not intended to the specific order of description. Additionally, term " including " and " having " and their any deformation, it is intended that cover non-exclusive comprising. Such as contain series of steps or the process of unit, method, system, product or equipment are not limited to step or the unit listed, but also include step or the unit do not listed alternatively, or also include other step intrinsic for these processes, method, product or equipment or unit alternatively.
In one embodiment of the invention, the method that described user interface presents includes: when monitoring digital television application routine call entry condition and accessing menu function, obtains described entry condition and accesses the data message of menu; Data stream is generated according to described data message; Described data stream is sent to described application program so that described application program draws menu according to described data stream by call back function.
As it is shown in figure 1, Fig. 1 is a kind of prior art, in Fig. 1, the integrated use technical method of DVBC middleware is: the business function interface that application layer utilizes middleware to provide, and self-organization, safeguards related service function menu.
It is the Organization Chart that a kind of user interface that one embodiment of the invention provides presents that the core concept of the present invention refers to Fig. 2, Fig. 2.
The core concept of the present invention be maintained by middleware, the business function that embodies in each CA (CA is the abbreviation of ConditionalAccess) menu and the interactive relationship between each menu; Application layer only need to input the demands such as parameter transmission and menu content renewal realize the menu translation template of a set of satisfied requirement for the presenting of menu content, user control command transmission, user; This template can be converted to the UI data from middleware the UI menu of correspondence, is therefore no longer necessary to be concerned about implementing of each function menu.
Such as: in middleware (DTVMidware), increase CAMenuEngine module (being abbreviated as CME), thus profit CME organizes and maintenance menu structure and information, response application layer menu request event, transmit menu information to application layer.
Such as: in DTVApp (App is writing a Chinese character in simplified form of Application), the CAMenu module in MenuTranslator module (being abbreviated as MTL) alternate figures 1 is used; The menu data that the with good grounds CME transmission of major responsibility comes up draws menu, and the control instruction responding user in the menu drawn is handed down to CME.
As it is shown on figure 3, Fig. 3 is the schematic flow sheet of the method that a kind of user interface that one embodiment of the invention provides presents. Wherein, as it is shown on figure 3, the method that a kind of user interface that one embodiment of the present of invention provides presents includes herein below:
101, when monitoring digital television application routine call entry condition and accessing menu function, obtain described entry condition and access the data message of menu.
Wherein, when DTV runs, this DTV can monitor user's operation on a user interface in time the operation of user to be responded.
Wherein, when user is operated on the interface of DTV, the CA function in the menu on interface can be clicked, then now application program will call the menu function entering this CA. In order to the operation of user is responded, middleware will obtain the data message of CA menu. Wherein, concrete data message can store in xml, it is also possible to is stored in HTML, JSP, does not limit at this.
Optionally, CA menu XML file transplants CA menu for specification third party. The form of CA menu XML file structure chart tree construction as shown in Figure 4, each menu has a root element<Menu>, and root element includes again<Widget>daughter element.
102, data stream is generated according to described data message.
Wherein it is possible to extract the information of each element from XML, according to preset format and be sequentially generated data stream.
103, described data stream is sent by call back function to described application program so that described application program draws menu according to described data stream.
Wherein, middleware includes number generator UIDataGenerator, and this UIDataGenerator can provide the required data stream drawing menu for DTVAPP. UIDataGenerator has important functional interface a: MenuMsgListener (). MenuMsgListener () is the UIDataGenerator monitoring call back function provided. After APP registration, UIDataGenerator transmits CA menu data stream by this interface to application layer.
It can be seen that in the scheme of the present embodiment, when monitoring digital television application routine call entry condition and accessing menu function, obtain described entry condition and access the data message of menu;Data stream is generated according to described data message; Described data stream is sent to described application program so that described application program draws menu according to described data stream by call back function. This allows for middleware and completes implementing of CA function, thus alleviating the workload of developer.
In another embodiment of the present invention, XML definition data format definition menu information is adopted. XML is an information carrier, it is possible to use other data forms substitute, for instance HTML, JSP etc. It is as follows that the present invention enumerates XML format rule:
CA menu XML file structure chart is the form of tree construction, and each menu has a root element<Menu>, and root element includes again<Widget>daughter element.
Wherein,<Menu>root element, include the integrity attribute of menu, menu index is unique sign of menu, parent menu index is used for returning previous menu, and Menu Type includes several menus that CA is common, and the display time describes the timeliness of menu, focus tab realizes the focal point control to menu, and more new option is for managing the renewal of menu.
Wherein, the specific object of Menu is as shown in Figure 5:
" id " describes the index of menu, 6 bit digital, can distinguish different menu according to the value of " id "; Time upper strata UI draws, can confirm that it is repaint different menu according to " id " value, or update the current set of menu.
" parentid " describes the index of parent menu.
" type " describes the type of menu, refers to and describes below.
" durationtime " describes the time that menu shows, unit millisecond; " infinite " represents and shows always.
" focusable " describes whether menu has focus, and " true " indicates focus, and " false " indicates without focus.
" updatetime " describes the time of updating menu, unit millisecond; " 0 " expression does not update.
" layoutx ", " layouty " describe the horizontal and vertical origin coordinates of menu, unit dp, are 160 corresponding to dpi, screen resolution 1280*720; "-1 " represents showing that requirement is not done in position.
" width ", " height " describe the wide and high unit dp of menu, are 160 corresponding to dpi, screen resolution 1280*720; Wide and height are not done requirement by "-1 " expression.
" visibility " describes the display properties of menu; " visible " represents and to show, " invisible " represents and do not show, " falsh " represents flicker (2 seconds default interval time).
Optionally, common Menu Type (type), including the basic menu of CA, single choice, final election, password confirming dialog box, picture (such as upper right corner the mail icon), roll titles, fingerprint, the pop-up box such as CA prompting message, bulletin, advertisement.
Wherein, the type of Menu includes Window, Dialog, Image, Subtitle, RollingSubtitle, Finger, SimplePopUpWindow, ComplexPopUpWindow. Described in detail below:
The basic menu of Window:CA function, user actively recalls. The feature of such menu is: have focus, responds button, and major part has alternative events.
Dialog: the dialog box ejected after user operation, including " confirmations " dialog box, " confirm, cancellation " dialog box and the dialog box that need not click. Dialog box " focusable " attribute not having button is " fasle ", and the display time is 3 seconds, and namely " durationtime " attribute is " 3000 ".
Image: show the picture that a bottom pushes.
Subtitle: the captions that display bottom pushes.
RollingSubtitle: the roll titles that display bottom pushes. Rotating direction from right to left, initial position reference coordinate value.
Finger: the finger print information that display bottom pushes. Position needs change at random, and transformation period is 2 seconds.
SimplePopUpWindow: the information that display bottom pushes, content is less, and does not have focus, it does not have alternative events.
ComplexPopUpWindow: the information that display bottom pushes, content is more or has alternative events.
Wherein,<Widget>element, including the value of the attribute of control, the daughter element of control and control.
Wherein, control property specifically includes:
Control indexes, and is used for indicating control, combines order and realizes and SKCA mutual, and control type includes the control type that android is basic.
" id " describes the index of current control.
" name " describes the title of control, and having during alternative events needs to pass to bottom.
" url " describes picture or the address of Xml file; " NULL " represents do not have file.
" type " describes control type, and button common above " CommonButton " representation page, " YesOrNoButton " represents the determination of dialog box, cancel button. " TimerPicker " express time input control, application layer is needed to encapsulate, can by correct rule input " hour ", " minute ", " second ", such as, scope time little is " 0~23 ", minute scope be " 0~59 ", the scope of second is " 0~59 ", surpasses and goes beyond the scope and can not input. " Title " represents the title of menu. " Tip " represents some informations of menu, main cue user operation.
" input " describes control input type; Not allowing input value is " NULL ", " Common " represents common input, " Password " represents input password, corresponding control type is EditText, " Select " represents selection input, corresponding control is " Spinner ", and " Time " represents input time, and corresponding control type is " TimePicker ".
" enable " describes whether control obtains focus; " true " indicates focus, and " false " indicates without focus.
" inputlength ", is the particular attribute of EditText control, namely allows the data greatest length of input.
As shown in Figure 6, Fig. 6 is the schematic flow sheet of the method that the another kind of user interface that one embodiment of the invention provides presents. Wherein, as shown in Figure 6, the method that a kind of user interface that one embodiment of the present of invention provides presents includes herein below:
201, when monitoring digital television application routine call entry condition and accessing menu function, obtain described entry condition and access the data message of menu.
Wherein, when DTV runs, this DTV can monitor user's operation on a user interface in time the operation of user to be responded.
Wherein, when user is operated on the interface of DTV, the CA function in the menu on interface can be clicked, then now application program will call the menu function entering this CA. In order to the operation of user is responded, middleware will obtain the data message of CA menu. Wherein, concrete data message can store in xml, it is also possible to is stored in HTML, JSP, does not limit at this.
Optionally, CA menu XML file transplants CA menu for specification third party.The form of CA menu XML file structure chart tree construction as shown in Figure 4, each menu has a root element<Menu>, and root element includes again<Widget>daughter element.
202, data stream is generated according to described data message.
Wherein it is possible to extract the information of each element from XML, according to preset format and be sequentially generated data stream.
203, described data stream is sent by call back function to described application program so that described application program draws menu according to described data stream.
Wherein, middleware includes number generator UIDataGenerator, and this UIDataGenerator can provide the required data stream drawing menu for DTVAPP. UIDataGenerator has important functional interface a: MenuMsgListener (). MenuMsgListener () is the UIDataGenerator monitoring call back function provided. After APP registration, UIDataGenerator transmits CA menu data stream by this interface to application layer.
204, when receiving the operational order of user, it is determined that the application programming interfaces API corresponding to described operational order.
205, described API is called to complete the function corresponding to described operational order.
206, when there is feedback information, data stream is regenerated according to the menu information of described feedback information and user operation.
207, by call back function to described application program send described in the data stream that regenerates so that described application program according to described in the data stream drafting menu that regenerates.
It can be seen that in the scheme of the present embodiment, when monitoring digital television application routine call entry condition and accessing menu function, obtain described entry condition and access the data message of menu; Data stream is generated according to described data message; Described data stream is sent to described application program so that described application program draws menu according to described data stream by call back function. This allows for middleware and completes implementing of CA function, thus alleviating the workload of developer.
In an alternative embodiment of the invention, the method that another kind of user interface presents includes: application program receives the menu data stream that middleware sends; The information of menu data stream described in described application call menu converter identification; The described application program information according to described menu data stream, utilizes described menu converter to draw menu.
Refer to the schematic flow sheet that Fig. 7, Fig. 7 are the methods that the another kind of user interface that an alternative embodiment of the invention provides presents. Wherein, as it is shown in fig. 7, the method that the another kind of sound that an alternative embodiment of the invention provides is shared can include herein below:
301, application program receives the menu data stream that middleware sends;
302, the information of menu data stream described in described application call menu converter identification;
303, the described application program information according to described menu data stream, utilizes described menu converter converter to draw menu.
From the above it can be seen that in the technical scheme of embodiment of the present invention offer, application program receives the menu data stream that middleware sends; The information of menu data stream described in described application call menu converter identification; The described application program information according to described menu data stream, utilizes described menu converter to draw menu. Therefore, as long as application program calls menu converter and just by identifying the information of CA menu and can draw CA menu, thus alleviating the burden of developer.
As shown in Figure 8, on the basis of Fig. 7, also include: 304, when receiving the operational order of user's input, described application program utilizes described menu transducer that described operational order is transmitted to middleware.
The device that a kind of user interface presents is disclosed in another embodiment of the present invention kind, described device includes: acquiring unit, for when monitoring digital television application routine call entry condition and accessing menu function, obtaining described entry condition and access the data message of menu; Generate unit, for generating data stream according to described data message; Transmitting element, for sending described data stream by call back function to described application program so that described application program draws menu according to described data stream.
Referring to Fig. 9, Fig. 9 is the structural representation that a kind of user interface that one embodiment of the present of invention provides presents device. This device users performs the method shown in Fig. 3.
Wherein, as it is shown in figure 9, a kind of user interface that one embodiment of the present of invention provides presents device 400, this device 400 includes acquiring unit 410, generates unit 420 and transmitting element 430;
Acquiring unit 410, for when monitoring digital television application routine call entry condition and accessing menu function, obtaining described entry condition and access the data message of menu;
Generate unit 420, for generating data stream according to described data message;
Transmitting element 430, for sending described data stream by call back function to described application program so that described application program draws menu according to described data stream.
Wherein, described device 400 can be DTV.
Wherein, acquiring unit 410, generate unit 420 and transmitting element 430 and may be used for performing step 101 in Fig. 3, method described in 102,103, specifically describe and refer to the Fig. 3 description to described method, do not repeat them here.
Optionally, as shown in Figure 10, on the basis of Fig. 9, described device 400 also includes:
Determine unit 440, for when receiving the operational order of user, it is determined that the application programming interfaces API corresponding to described operational order;
Call unit 450, for calling described API to complete the function corresponding to described operational order.
Optionally, shown in Figure 10,
Generate unit 420, being additionally operable to when there is feedback information, regenerating data stream according to the menu information of described feedback information and user operation;
Transmitting element 430, for by call back function to described application program send described in the data stream that regenerates so that described application program according to described in the data stream drafting menu that regenerates.
From the above it can be seen that in scheme provided by the invention, when monitoring digital television application routine call entry condition and accessing CA menu function, obtain described entry condition and access the data message of menu; Data stream is generated according to described data message; Described data stream is sent to described application program so that described application program draws menu according to described data stream by call back function. Completed the drafting of CA function submenu completely by middleware, alleviate the burden of developer.
Referring to Figure 11, Figure 11 is the structural representation that the another kind of user interface that one embodiment of the present of invention provides presents device 500. This device 500 includes receiving unit 510, recognition unit 520 and drawing unit 530.
Receive unit 510, for receiving the menu data stream that middleware sends;
Recognition unit 520, for calling the information of menu data stream described in menu converter identification;
Drawing unit 530, for the information according to described menu data stream, utilizes described menu converter to draw menu.
Optionally, as shown in figure 12, based on Figure 11, described device also includes retransmission unit 540;
Retransmission unit 540, for when receiving the operational order of user's input, described application program utilizes described menu transducer that described operational order is transmitted to middleware.
Wherein, this device can be concrete hardware unit, it is also possible to be virtual bench. For example, it may be the function that application program is concrete.
From the above it can be seen that in scheme provided by the invention, this device receives the menu data stream that middleware sends; Call the information of menu data stream described in menu converter identification; Information according to described menu data stream, utilizes described menu converter to draw menu. Therefore, as long as application layer is called menu converter and just by identifying the information of CA menu and can be drawn CA menu, thus alleviating the burden of developer.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, certain embodiment there is no the part described in detail, it is possible to referring to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, can realize by another way. Such as, device embodiment described above is merely schematic, the such as division of described unit, it is only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not perform. Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, device or unit, it is possible to be electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE. Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit. Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium. Based on such understanding, part or all or part of of this technical scheme that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can for personal computer, server or the network equipment etc.) performs all or part of step of method described in each embodiment of the present invention. And aforesaid storage medium includes: USB flash disk, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD.
The above, above example only in order to technical scheme to be described, is not intended to limit; Although the present invention being described in detail with reference to previous embodiment, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein portion of techniques feature is carried out equivalent replacement; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the method that a user interface presents, it is characterised in that described method includes:
When monitoring digital television application routine call entry condition and accessing menu function, obtain described entry condition and access the data message of menu;
Data stream is generated according to described data message;
Described data stream is sent to described application program so that described application program draws menu according to described data stream by call back function.
2. method according to claim 1, it is characterised in that described method also includes:
When receiving the operational order of user, it is determined that the application programming interfaces API corresponding to described operational order;
Call described API to complete the function corresponding to described operational order.
3. method according to claim 2, it is characterised in that described in call described API after, described method also includes:
When there is feedback information, regenerate data stream according to the menu information of described feedback information and user operation;
By call back function to described application program send described in the data stream that regenerates so that described application program according to described in the data stream drafting menu that regenerates.
4. the method that a user interface presents, it is characterised in that described method includes:
Application program receives the menu data stream that middleware sends;
The information of menu data stream described in described application call menu converter identification;
The described application program information according to described menu data stream, utilizes described menu converter to draw menu.
5. method according to claim 4, it is characterised in that described method also includes:
When receiving the operational order of user's input, described application program utilizes described menu transducer that described operational order is transmitted to middleware.
6. the device that a user interface presents, it is characterised in that described device includes:
Acquiring unit, for when monitoring digital television application routine call entry condition and accessing menu function, obtaining described entry condition and access the data message of menu;
Generate unit, for generating data stream according to described data message;
Transmitting element, for sending described data stream by call back function to described application program so that described application program draws menu according to described data stream.
7. device according to claim 6, it is characterised in that described device also includes:
Determine unit, for when receiving the operational order of user, it is determined that the application programming interfaces API corresponding to described operational order;
Call unit, for calling described API to complete the function corresponding to described operational order.
8. device according to claim 7, it is characterised in that
Described generation unit, is additionally operable to when there is feedback information, regenerates data stream according to the menu information of described feedback information and user operation;
Described transmitting element, for by call back function to described application program send described in the data stream that regenerates so that described application program according to described in the data stream drafting menu that regenerates.
9. the device that a user interface presents, it is characterised in that described device includes:
Receive unit, for receiving the menu data stream that middleware sends;
Recognition unit, for calling the information of menu data stream described in menu converter identification;
Drawing unit, for the information according to described menu data stream, utilizes described menu converter to draw menu.
10. device according to claim 9, it is characterised in that described device also includes:
Retransmission unit, for when receiving the operational order of user's input, described application program utilizes described menu transducer that described operational order is transmitted to middleware.
CN201610013806.3A 2016-01-08 2016-01-08 A kind of method and device that user interface is presented Active CN105681903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610013806.3A CN105681903B (en) 2016-01-08 2016-01-08 A kind of method and device that user interface is presented

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610013806.3A CN105681903B (en) 2016-01-08 2016-01-08 A kind of method and device that user interface is presented

Publications (2)

Publication Number Publication Date
CN105681903A true CN105681903A (en) 2016-06-15
CN105681903B CN105681903B (en) 2019-05-28

Family

ID=56299719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610013806.3A Active CN105681903B (en) 2016-01-08 2016-01-08 A kind of method and device that user interface is presented

Country Status (1)

Country Link
CN (1) CN105681903B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792196A (en) * 2016-12-26 2017-05-31 深圳Tcl新技术有限公司 Television set main interface display methods and device
CN107592558A (en) * 2017-06-09 2018-01-16 青岛海信宽带多媒体技术有限公司 The exchange method and equipment of CA middlewares in a kind of set top box

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179647A (en) * 2006-12-22 2008-05-14 腾讯科技(深圳)有限公司 Method, device and system of displaying program interface on television
CN101184196A (en) * 2007-05-24 2008-05-21 天栢宽带网络科技(上海)有限公司 Multi-condition reception supporting system and method used for set up box
CN101980155A (en) * 2010-11-04 2011-02-23 青岛海信电器股份有限公司 Method and system for realizing user interface of television, and television
CN102118650A (en) * 2011-01-25 2011-07-06 深圳市酷开网络科技有限公司 Method and device for displaying television menu, and television
CN102333246A (en) * 2011-10-19 2012-01-25 广东中大讯通软件科技有限公司 User interface system based on Flash middleware of set top box
US20130031592A1 (en) * 2011-01-27 2013-01-31 Lg Cns Co., Ltd Smart set-top box and operation method for smart service and digital television service using single operating system
CN103888797A (en) * 2014-03-10 2014-06-25 北京四达时代软件技术股份有限公司 System and set top box achieving digital television service based on Android system
CN103902274A (en) * 2012-12-31 2014-07-02 青岛海尔软件有限公司 Platform for developing smart television UI (user interface)
CN104268739A (en) * 2014-08-29 2015-01-07 蓝信工场(北京)科技有限公司 Method and system for quickly converting enterprise information system into mobile application

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179647A (en) * 2006-12-22 2008-05-14 腾讯科技(深圳)有限公司 Method, device and system of displaying program interface on television
CN101184196A (en) * 2007-05-24 2008-05-21 天栢宽带网络科技(上海)有限公司 Multi-condition reception supporting system and method used for set up box
CN101980155A (en) * 2010-11-04 2011-02-23 青岛海信电器股份有限公司 Method and system for realizing user interface of television, and television
CN102118650A (en) * 2011-01-25 2011-07-06 深圳市酷开网络科技有限公司 Method and device for displaying television menu, and television
US20130031592A1 (en) * 2011-01-27 2013-01-31 Lg Cns Co., Ltd Smart set-top box and operation method for smart service and digital television service using single operating system
CN102333246A (en) * 2011-10-19 2012-01-25 广东中大讯通软件科技有限公司 User interface system based on Flash middleware of set top box
CN103902274A (en) * 2012-12-31 2014-07-02 青岛海尔软件有限公司 Platform for developing smart television UI (user interface)
CN103888797A (en) * 2014-03-10 2014-06-25 北京四达时代软件技术股份有限公司 System and set top box achieving digital television service based on Android system
CN104268739A (en) * 2014-08-29 2015-01-07 蓝信工场(北京)科技有限公司 Method and system for quickly converting enterprise information system into mobile application

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792196A (en) * 2016-12-26 2017-05-31 深圳Tcl新技术有限公司 Television set main interface display methods and device
CN107592558A (en) * 2017-06-09 2018-01-16 青岛海信宽带多媒体技术有限公司 The exchange method and equipment of CA middlewares in a kind of set top box
CN107592558B (en) * 2017-06-09 2020-08-04 青岛海信宽带多媒体技术有限公司 Interaction method and device for CA middleware in set top box

Also Published As

Publication number Publication date
CN105681903B (en) 2019-05-28

Similar Documents

Publication Publication Date Title
US10140014B2 (en) Method and terminal for activating application based on handwriting input
CN107818163B (en) Page display method, device, computer equipment and storage medium
CN103853761B (en) Comment demonstration, adding method and the device of web page contents
CN100538630C (en) The system that uses in the access system of user interface information is being provided for the client
CN101667120B (en) Shared user interface surface system
CN105988860B (en) Method for executing application program and mobile device
CN102194003A (en) Web page popup window method and device
CN102117206A (en) Ion control dynamic generation system and method
US20170318064A1 (en) Method and electronic device for editing content
CN103530338B (en) Frame for carrying out page rendering on calculation equipment and page generation method
CN104820855A (en) Generation and identification method of dynamic two-dimensional codes based on mobile environment perception technology
CN107111433A (en) Electronic system with Access Management Access mechanism and the method for operating the electronic system
CN110413347A (en) The processing method of advertisement, device, storage medium and terminal in application program
CN103035031A (en) Three-dimensional man-machine interaction display control method for power grid operation monitoring
CN107122398A (en) A kind of data display chart generation method and system
CN115794289A (en) Application function display method, device, equipment, medium and program product
CN106095417B (en) A kind of prospect Application Program Interface refresh synchronization method and system
CN105681903A (en) User interface displaying method and device
CN113504862A (en) View data processing method and device, target device and storage medium
CN103092615A (en) Task preview method and device
CN111918102A (en) Bullet screen management method, bullet screen management device, bullet screen management equipment and storage medium
CN109309612A (en) Mail Contents generation method and device, storage medium and electronic equipment
CN105786484A (en) Application fusion method and device
CN110162350A (en) Display methods, device, server and the storage medium of notification bar information
CN105450501A (en) Method and apparatus for setting customized reply function

Legal Events

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