CN105681903B - A kind of method and device that user interface is presented - Google Patents

A kind of method and device that user interface is presented Download PDF

Info

Publication number
CN105681903B
CN105681903B CN201610013806.3A CN201610013806A CN105681903B CN 105681903 B CN105681903 B CN 105681903B CN 201610013806 A CN201610013806 A CN 201610013806A CN 105681903 B CN105681903 B CN 105681903B
Authority
CN
China
Prior art keywords
menu
data flow
data
function
information
Prior art date
Application number
CN201610013806.3A
Other languages
Chinese (zh)
Other versions
CN105681903A (en
Inventor
朱健文
陈满
蔡毅
廖晓兰
Original Assignee
深圳创维数字技术有限公司
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 深圳创维数字技术有限公司 filed Critical 深圳创维数字技术有限公司
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

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 computer fields, provide a kind of method and device that user interface is presented.The described method includes: obtaining the data information of the entry condition access menu when monitoring that digital television application routine call entry condition accesses CA menu function;Data flow is generated according to the data information;The data flow is sent so that the application program draws menu according to the data flow to the application program by call back function.The drafting for completing CA function submenu by middleware completely, alleviates the burden of developer.

Description

A kind of method and device that user interface is presented

Technical field

The present invention relates to computer fields, and in particular to a kind of method and device that user interface is presented.

Background technique

With the development of science and technology, DTV (Digital Television, DTV) gradually becomes to popularize. Application program (Application, App) demand matched with DTV is increasing therewith.

During developing App, it usually needs the business function interface for calling DVBC middleware, to complete user circle Face (User Interface, UI) design.But in existing DVBC middleware further include condition access (Conditional Access, CA) descrambling service, as shown in Figure 1, application layer needs to realize respectively corresponding for CA module different in middleware CA menu, every kind of CA menu is made of more than ten a CA function submenus again, huge so as to cause the workload of application development Greatly, more homework burden is increased to Developmental Engineer.

Summary of the invention

The present invention provides the method and devices that a kind of user interface is presented, and can reduce while realizing UI design The workload of APP exploitation, reduces the homework burden of developer.

The first aspect of the present invention discloses a kind of method that user interface is presented, which comprises

When monitoring that digital television application routine call entry condition accesses menu function, obtains the entry condition and connect Enter the data information of menu;

Data flow is generated according to the data information;

The data flow is sent so that the application program is according to the number to the application program by call back function Menu is drawn according to stream.

With reference to first aspect, in the first possible implementation of the first aspect, the method also includes:

When receiving the operational order of user, application programming interfaces API corresponding to the operational order is determined;

The API is called to complete function corresponding to the operational order.

In conjunction with the first possible implementation of first party, adjusted described in second of possible implementation of first party After the API, the method also includes:

When there are feedback information, data flow is regenerated according to the menu information of the feedback information and user's operation;

By call back function to the data flow regenerated described in application program transmission so that the application program Menu is drawn according to the data flow regenerated.

Second aspect of the present invention discloses the method that another user interface is presented, which comprises

Application program receives the menu data stream that middleware is sent;

The application call menu converter identifies the information of the menu data stream;

The application program draws menu using the menu converter according to the information of the menu data stream.

In conjunction with second aspect, in the first possible implementation of the second aspect, the method also includes:

When receiving the operational order of user's input, the application program utilizes the menu converter by the operation Instruction is transmitted to middleware.

Third aspect present invention discloses a kind of device that user interface is presented, and described device includes:

Acquiring unit, for obtaining when monitoring that digital television application routine call entry condition accesses menu function The data information of the entry condition access menu;

Generation unit, for generating data flow according to the data information;

Transmission unit, for sending the data flow to the application program so that described apply journey by call back function Sequence draws menu according to the data flow.

In conjunction with the third aspect, in the first possible implementation of the third aspect, described device further include:

Determination unit, for when receiving the operational order of user, determining application journey corresponding to the operational order Sequence interface API;

Call unit, for calling the API to complete function corresponding to the operational order.

In conjunction with the first possible implementation of the third aspect, in second of possible implementation of the third aspect In,

The generation unit is also used to when there are feedback information, according to the menu of the feedback information and user's operation Information regenerates data flow;

The transmission unit, for by call back function to the application program send described in the data flow that regenerates with So that the data flow that the application program is regenerated according to draws menu.

Fourth aspect present invention discloses a kind of device that user interface is presented, and described device includes:

Receiving unit, for receiving the menu data stream of middleware transmission;

Recognition unit, for calling menu converter to identify the information of the menu data stream;

Drawing unit draws menu using the menu converter for the information according to the menu data stream.

In conjunction with fourth aspect, in the first possible implementation of the fourth aspect, described device further include:

Retransmission unit, for when receiving the operational order of user's input, the application program to be turned using the menu The operational order is transmitted to middleware by parallel operation.

It can be seen that with reference to first aspect with the third aspect in scheme provided by the invention, when monitoring that DTV answers When accessing CA menu function with routine call entry condition, the data information of the entry condition access menu is obtained;According to institute It states data information and generates data flow;The data flow is sent so that described apply journey to the application program by call back function Sequence draws menu according to the data flow.The drafting for completing CA function submenu by middleware completely, alleviates developer Burden.

With reference to first aspect with fourth aspect it is found that application program receives middleware and sends in scheme provided by the invention Menu data stream;The application call menu converter identifies the information of the menu data stream;The application program According to the information of the menu data stream, menu is drawn using the menu converter.Therefore, as long as application program calls menu Converter can will identify the information and drafting CA menu of CA menu, to alleviate the burden of developer.

Detailed description of the invention

It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.

Fig. 1 is the schematic diagram of DTV application software frame;

Fig. 2 is the architecture diagram that a kind of user interface provided in an embodiment of the present invention is presented;

Fig. 3 is the flow diagram for the method that a kind of user interface provided in an embodiment of the present invention is presented;

Fig. 4 is CA menu XML file structure chart;

Fig. 5 is the specific object figure of Menu;

Fig. 6 is the flow diagram for the method that another user interface provided in an embodiment of the present invention is presented;

Fig. 7 is the flow diagram for the method that another user interface provided in an embodiment of the present invention is presented;

Fig. 8 is the flow diagram for the method that another user interface provided in an embodiment of the present invention is presented;

Fig. 9 is a kind of structural schematic diagram of user interface presentation device provided in an embodiment of the present invention;

Figure 10 is the structural schematic diagram of another user interface presentation device provided in an embodiment of the present invention;

Figure 11 is the structural schematic diagram of another user interface presentation device provided in an embodiment of the present invention;

Figure 12 is the structural schematic diagram of another user interface presentation device provided in an embodiment of the present invention.

Specific embodiment

The present invention provides the method and devices that a kind of user interface is presented, and can reduce while realizing UI design The workload of APP exploitation, reduces the homework burden of developer.

In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical solution in the embodiment of the present invention are explicitly described, it is clear that described embodiment is only the present invention The embodiment of a part, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having Every other embodiment obtained under the premise of creative work is made, should fall within the scope of the present invention.

The term " first " that occurs in description of the invention, claims and attached drawing, " second " and " third " etc. are to use In the different object of difference, and it is not intended to describe specific sequence.In addition, term " includes " and " having " and they are any Deformation, it is intended that cover and non-exclusive include.Such as contain the process, method, system, product of a series of steps or units Or equipment is not limited to listed step or unit, but optionally further comprising the step of not listing or unit, or can Selection of land further includes the other step or units intrinsic for these process, methods, product or equipment.

In one embodiment of the invention, the method that the user interface is presented includes: to work as to monitor that DTV is answered When accessing menu function with routine call entry condition, the data information of the entry condition access menu is obtained;According to described Data information generates data flow;The data flow is sent so that the application program to the application program by call back function Menu is drawn according to the data flow.

As shown in Figure 1, Fig. 1 is a kind of prior art, DVBC middleware is integrated in Fig. 1 is using technical method: application layer The business function interface provided using middleware, self-organization, maintenance related service function menu.

Core of the invention thought is referring to Fig. 2, Fig. 2 is that a kind of user interface provided by one embodiment of the present invention is presented Architecture diagram.

Core of the invention thought be maintained by middleware, embody each CA (CA be Conditional Access letter Claim) interactive relationship between business function and each menu in menu;Application layer need to only be controlled for the presentation of menu content, user System order transmitting, user input the demands such as parameter is transmitted and menu content updates and realize a set of menu translation mould met the requirements Plate;UI data from middleware can be converted to corresponding UI menu by the template, therefore no longer need to be concerned about each function The specific implementation of menu.

Such as: in middleware (DTV Midware), increase CA Menu Engine module (being abbreviated as CME), thus sharp CME comes tissue and maintenance menu structure and information, and response application layer menu request event transmits menu information to application layer.

Such as: in DTV App (App is writing a Chinese character in simplified form for Application), (write a Chinese character in simplified form using Menu Translator module For the CA Menu module in MTL) alternate figures 1;The menu data that the with good grounds CME transmitting of major responsibility comes up draws menu, is drawing The control instruction that user is responded in the menu of system is handed down to CME.

As shown in figure 3, Fig. 3 is the process signal for the method that a kind of user interface provided by one embodiment of the present invention is presented Figure.Wherein, as shown in figure 3, the method that a kind of user interface that one embodiment of the present of invention provides is presented includes the following contents:

101, it when monitoring that digital television application routine call entry condition accesses menu function, obtains described into item The data information of part access menu.

Wherein, when DTV is run, which can monitor the operation of user on a user interface so as to timely The operation of user is responded.

Wherein, user can click the CA function in the menu on interface when operating on the interface of DTV, that Application program will call the menu function into the CA at this time.In order to which the operation to user responds, middleware will Obtain the data information of CA menu.Wherein, specific data information can store in xml, also can store in HTML, JSP In, herein with no restrictions.

Optionally, CA menu XML file transplants CA menu for specification third party.CA menu XML file structure chart such as Fig. 4 Shown in tree construction form, each menu has a root element<Menu>, and root element includes<Widget>daughter element again.

102, data flow is generated according to the data information.

Wherein it is possible to extract the information of each element from XML, according to preset format and it is sequentially generated data flow.

103, the data flow is sent so that the application program is according to institute to the application program by call back function It states data flow and draws menu.

Wherein, middleware includes number generator UI Data Generator, which can be DTV APP draws the data flow of menu needed for providing.UI Data Generator has an important functional interface: MenuMsgListener().MenuMsgListener () is the monitoring call back function that UI Data Generator is provided.APP After registration, UI Data Generator transmits CA menu data stream to application layer by the interface.

As can be seen that the present embodiment scheme in, when monitor digital television application routine call entry condition access dish When single function, the data information of the entry condition access menu is obtained;Data flow is generated according to the data information;By returning Letter of transfer number sends the data flow so that the application program draws menu according to the data flow to the application program.This The specific implementation that middleware completes CA function is allowed for, to mitigate the workload of developer.

In another embodiment of the present invention, using XML definition data format definition menu information.XML is one Other data formats substitution, such as HTML, JSP etc. can be used in information carrier.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>, root element It again include<Widget>daughter element.

Wherein,<Menu>root element, includes the integrity attribute of menu, and menu index is unique mark of menu, father's dish For single index for returning to previous menu, Menu Type includes the common several menus of CA, and the display time describes the timeliness of menu, Focus tab realizes that the focal point control to menu, more new option are used to manage the update of menu.

Wherein, the specific object of Menu is as shown in Figure 5:

" id " describes the index of menu, and 6 bit digitals can distinguish different menu according to the value of " id ";What upper layer UI was drawn When, can be confirmed it is to repaint different menu, or update the current set of menu according to " id " value.

The index of " parentid " description parent menu.

" type " describes the type of menu, is detailed in and describes below.

The time that " durationtime " description menu is shown, unit millisecond;" infinite " expression is shown always.

Whether " focusable " description menu has focus, and " true " indicates focus, and " false " indicates no focus.

" updatetime " describes the time of updating menu, unit millisecond;" 0 " indicates not update.

" layoutx ", " layouty " describe the horizontal and vertical origin coordinates of menu, and unit dp is corresponding to dpi 160, screen resolution 1280*720;" -1 " indicates not require display position.

" width ", " height " describe the width and high unit dp of menu, and corresponding to dpi is 160, screen resolution 1280* 720;" -1 " indicates not require wide and height.

The display properties of " visibility " description menu;" visible " expression will show that " invisible " is indicated not It has been shown that, " falsh " indicate flashing (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 boxes such as CA prompting message, bulletin, advertisement.

Wherein, the type of Menu include Window, Dialog, Image, Subtitle, RollingSubtitle, Finger,SimplePopUpWindow,ComplexPopUpWindow.It is described in detail below:

The basic menu of Window:CA function, user actively recall.The characteristics of such menu, is: has focus, responds key, And largely there are alternative events.

Dialog: the dialog box popped up after user's operation, including " confirmation " dialog box, " confirmation, cancellation " dialog box, with And the dialog box clicked is not needed.Dialog box " focusable " attribute for not having button is " fasle ", and shows that the time is 3 Second, i.e., " durationtime " attribute is " 3000 ".

Image: the picture of display one bottom push.

Subtitle: the subtitle of display bottom push.

RollingSubtitle: the roll titles of display bottom push.From right to left, initial position refers to rotating direction Coordinate value.

Finger: the finger print information of display bottom push.Position needs random variation, and transformation period is 2 seconds.

SimplePopUpWindow: the prompt information of display bottom push, content is less, and does not have focus, does not interact Event.

ComplexPopUpWindow: the prompt information of display bottom push, content is more or has alternative events.

Wherein,<Widget>element, the daughter element of attribute, control including control and the value of control.

Wherein, control property specifically includes:

Control index realizes the interaction with SKCA in conjunction with order, control type includes android base for indicating control This control type.

The index of " id " description current control.

" name " describes the title of control, needs to be transmitted to bottom when having alternative events.

" url " describes the address of picture or Xml file;" NULL " indicates no file.

" type " describes control type, common button above " CommonButton " representation page, " YesOrNoButton " indicates the determination of dialog box, cancel button." TimerPicker " indicates time input control, needs to answer It is encapsulated with layer, " hour ", " minute ", " second " can be inputted by correct rule, such as the range of hour is " 0~23 ", minute Range be " 0~59 ", the range of second is " 0~59 ", super to go beyond the scope and input." Title " indicates menu Title." Tip " indicates some prompt informations of menu, main cue user's operation.

" input " describes control input type;Not allowing input value is " NULL ", and " Common " indicates common input, " Password " indicates that input password, corresponding control type are EditText, and " Select " indicates selection input, corresponding control Part is " Spinner ", and " Time " indicates input time, and corresponding control type is " TimePicker ".

Whether " enable " description control obtains focus;" true " indicates focus, and " false " indicates no focus.

" inputlength " is the particular attribute of EditText control, that is, allows the data maximum length inputted.

As shown in fig. 6, the process that Fig. 6 is the method that another user interface provided by one embodiment of the present invention is presented is shown It is intended to.Wherein, as shown in fig. 6, the method that a kind of user interface that one embodiment of the present of invention provides is presented includes in following Hold:

201, it when monitoring that digital television application routine call entry condition accesses menu function, obtains described into item The data information of part access menu.

Wherein, when DTV is run, which can monitor the operation of user on a user interface so as to timely The operation of user is responded.

Wherein, user can click the CA function in the menu on interface when operating on the interface of DTV, that Application program will call the menu function into the CA at this time.In order to which the operation to user responds, middleware will Obtain the data information of CA menu.Wherein, specific data information can store in xml, also can store in HTML, JSP In, herein with no restrictions.

Optionally, CA menu XML file transplants CA menu for specification third party.CA menu XML file structure chart such as Fig. 4 Shown in tree construction form, each menu has a root element<Menu>, and root element includes<Widget>daughter element again.

202, data flow is generated according to the data information.

Wherein it is possible to extract the information of each element from XML, according to preset format and it is sequentially generated data flow.

203, the data flow is sent so that the application program is according to institute to the application program by call back function It states data flow and draws menu.

Wherein, middleware includes number generator UI Data Generator, which can be DTV APP draws the data flow of menu needed for providing.UI Data Generator has an important functional interface: MenuMsgListener().MenuMsgListener () is the monitoring call back function that UI Data Generator is provided.APP After registration, UI Data Generator transmits CA menu data stream to application layer by the interface.

204, when receiving the operational order of user, application programming interfaces API corresponding to the operational order is determined.

205, call the API to complete function corresponding to the operational order.

206, when there are feedback information, data are regenerated according to the menu information of the feedback information and user's operation Stream.

207, by call back function to the data flow regenerated described in application program transmission so that the application The data flow that program is regenerated according to draws menu.

As can be seen that the present embodiment scheme in, when monitor digital television application routine call entry condition access dish When single function, the data information of the entry condition access menu is obtained;Data flow is generated according to the data information;By returning Letter of transfer number sends the data flow so that the application program draws menu according to the data flow to the application program.This The specific implementation that middleware completes CA function is allowed for, to mitigate the workload of developer.

In another embodiment of the invention, the method that another user interface is presented includes: among application program receives The menu data stream that part is sent;The application call menu converter identifies the information of the menu data stream;It is described to answer With program according to the information of the menu data stream, menu is drawn using the menu converter.

Referring to Fig. 7, Fig. 7 be another embodiment of the present invention provides another user interface present method stream Journey schematic diagram.Wherein, as shown in fig. 7, another embodiment of the present invention provides the shared method of another sound can wrap Include the following contents:

301, application program receives the menu data stream that middleware is sent;

302, the application call menu converter identifies the information of the menu data stream;

303, the application program is drawn according to the information of the menu data stream using the menu converter converter Menu.

From the above it can be seen that application program receives the menu number that middleware is sent in technical solution provided in an embodiment of the present invention According to stream;The application call menu converter identifies the information of the menu data stream;The application program is according to The information of menu data stream draws menu using the menu converter.Therefore, application program is as long as calling menu converter By the information for identifying CA menu and CA menu can be drawn, to alleviate the burden of developer.

As shown in figure 8, on the basis of Fig. 7, further includes: 304, when receive user input operational order when, it is described The operational order is transmitted to middleware using the menu converter by application program.

A kind of device that user interface is presented is disclosed in another embodiment of the present invention kind, described device includes: to obtain list Member, for obtaining the entry condition and connecing when monitoring that digital television application routine call entry condition accesses menu function Enter the data information of menu;Generation unit, for generating data flow according to the data information;Transmission unit, for passing through back Letter of transfer number sends the data flow so that the application program draws menu according to the data flow to the application program.

Referring to Fig. 9, Fig. 9 is a kind of structural representation for user interface presentation device that one embodiment of the present of invention provides Figure.The device users execute method shown in Fig. 3.

Wherein, as shown in figure 9, a kind of user interface presentation device 400 that one embodiment of the present of invention provides, the device 400 include acquiring unit 410, generation unit 420 and transmission unit 430;

Acquiring unit 410, for obtaining when monitoring that digital television application routine call entry condition accesses menu function Take the data information of the entry condition access menu;

Generation unit 420, for generating data flow according to the data information;

Transmission unit 430, for sending the data flow so that described answer to the application program by call back function Menu is drawn according to the data flow with program.

Wherein, described device 400 can be DTV.

Wherein, acquiring unit 410, generation unit 420 and transmission unit 430 can be used for executing step 101 in Fig. 3, 102, method described in 103, specific descriptions are detailed in description of the Fig. 3 to the method, and details are not described herein.

Optionally, as shown in Figure 10, on the basis of Fig. 9, described device 400 further include:

Determination unit 440, for determining application corresponding to the operational order when receiving the operational order of user Routine interface API;

Call unit 450, for calling the API to complete function corresponding to the operational order.

Optionally, it is based on shown in Figure 10,

Generation unit 420 is also used to when there are feedback information, is believed according to the feedback information and the menu of user's operation Breath regenerates data flow;

Transmission unit 430, for by call back function to the application program send described in the data flow that regenerates with So that the data flow that the application program is regenerated according to draws menu.

From the above it can be seen that in scheme provided by the invention, when monitoring that digital television application routine call entry condition accesses When CA menu function, the data information of the entry condition access menu is obtained;Data flow is generated according to the data information;It is logical It crosses call back function and sends the data flow so that the application program draws dish according to the data flow to the application program It is single.The drafting for completing CA function submenu by middleware completely, alleviates the burden of developer.

Figure 11 is please referred to, Figure 11 is another user interface presentation device 500 that one embodiment of the present of invention provides Structural schematic diagram.The device 500 includes receiving unit 510, recognition unit 520 and drawing unit 530.

Receiving unit 510, for receiving the menu data stream of middleware transmission;

Recognition unit 520, for calling menu converter to identify the information of the menu data stream;

Drawing unit 530 draws menu using the menu converter for the information according to the menu data stream.

Optionally, as shown in figure 12, it is based on Figure 11, described device further includes retransmission unit 540;

Retransmission unit 540, for when receiving the operational order of user's input, the application program to utilize the menu The operational order is transmitted to middleware by converter.

Wherein, which can be specific hardware device, be also possible to virtual bench.For example, it may be application program Specific function.

From the above it can be seen that the device receives the menu data stream that middleware is sent in scheme provided by the invention;Call menu Converter identifies the information of the menu data stream;According to the information of the menu data stream, drawn using the menu converter Menu processed.Therefore, as long as application layer calls menu converter for the information for identifying CA menu and draws CA menu, from And alleviate the burden of developer.

In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.

In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.

The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.

It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.

If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.

The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (4)

1. a kind of method that user interface is presented, which is characterized in that the described method includes:
When monitoring that digital television application routine call entry condition accesses menu function, dish is accessed by the condition of middleware Single engine CA Menu Engine obtains the data information of the entry condition access menu, and the data information memory is that can open up Open up mark language XML, hypertext markup language HTML or Java Server Pages JSP;
Data flow is generated according to the data information, preset format and preset order;
The data flow is sent so that the application program is according to the data flow to the application program by call back function Menu is drawn with menu converter Menu Translator, the call back function is sent out by the user interface data of the middleware Raw device UI Data Generator is provided;
When receiving the operational order of user, application programming interfaces API corresponding to the operational order is determined;
The API is called to complete function corresponding to the operational order.
2. the method according to claim 1, wherein it is described call the API after, the method also includes:
When there are feedback information, data flow is regenerated according to the menu information of the feedback information and user's operation;
By call back function to the application program send described in the data flow that regenerates so that the application program according to The data flow regenerated draws menu.
3. the device that a kind of user interface is presented, which is characterized in that described device includes:
Acquiring unit, for passing through centre when monitoring that digital television application routine call entry condition accesses menu function The condition access menu engine CA Menu Engine of part obtains the data information of the entry condition access menu, the data Information is stored as that mark language XML, hypertext markup language HTML or Java Server Pages JSP can be expanded;
Generation unit, for generating data flow according to the data information, preset format and preset order;
Transmission unit, for sending the data flow so that the application program root to the application program by call back function Draw menu according to the data flow and menu converter Menu Translator, the call back function by the middleware use Family interface data generator UI Data Generator is provided;When receiving the operational order of user, determine that the operation refers to Enable corresponding application programming interfaces API;The API is called to complete function corresponding to the operational order.
4. device according to claim 3, which is characterized in that
The generation unit is also used to when there are feedback information, according to the menu information of the feedback information and user's operation Regenerate data flow;
The transmission unit, for by call back function to the application program send described in the data flow that regenerates so that The data flow that the application program is regenerated according to draws menu.
CN201610013806.3A 2016-01-08 2016-01-08 A kind of method and device that user interface is presented 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 CN105681903A (en) 2016-06-15
CN105681903B true CN105681903B (en) 2019-05-28

Family

ID=56299719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610013806.3A 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792196B (en) * 2016-12-26 2020-11-03 深圳Tcl新技术有限公司 Method and device for displaying main interface of television
CN107592558B (en) * 2017-06-09 2020-08-04 青岛海信宽带多媒体技术有限公司 Interaction method and device for CA middleware in set top box

Citations (8)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101295393B1 (en) * 2011-01-27 2013-08-09 주식회사 엘지씨엔에스 Smart settop box and operating method for smart service and digital television service using single operating system

Patent Citations (8)

* 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
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

Also Published As

Publication number Publication date
CN105681903A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
US10739865B2 (en) Operating environment with gestural control and multiple client devices, displays, and users
RU2710984C2 (en) Performing task without monitor in digital personal assistant
US20170315705A1 (en) Application Reporting in an Application-Selectable User Interface
CN105793840B (en) Previewing file and license while writing Email
US10762277B2 (en) Optimization schemes for controlling user interfaces through gesture or touch
US9760644B2 (en) Embedding event creation link in a document
US20190102064A1 (en) Virtual assistant conversations
US9575716B2 (en) Selective invocation of playback content supplementation
CN104471528B (en) File type is associated with the application in network storage service
JP6061898B2 (en) How the message server works
KR101966258B1 (en) Push notifications for updating multiple dynamic icon panels
US10140014B2 (en) Method and terminal for activating application based on handwriting input
CN107820701B (en) Developer exchange system
CN105653368B (en) System and method for private cloud computing
EP3244301A1 (en) User interface application and digital assistant
CN105024865B (en) Cloud joint services
CN102037437B (en) Information processing device, information processing method, recording medium, and integrated circuit
EP3129871B1 (en) Generating a screenshot
AU2008206688B2 (en) Method and system for creating IT-oriented server-based web applications
US20200364028A1 (en) Device and method for performing functions
CN100421375C (en) Data sharing system, method and software tool
US20160049151A1 (en) System and method of providing speech processing in user interface
TW317679B (en) Internet web page sharing
Davies et al. Using bluetooth device names to support interaction in smart environments
US8255494B1 (en) Installable web applications

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