WO2016150387A1 - 界面处理方法、装置及*** - Google Patents

界面处理方法、装置及*** Download PDF

Info

Publication number
WO2016150387A1
WO2016150387A1 PCT/CN2016/077130 CN2016077130W WO2016150387A1 WO 2016150387 A1 WO2016150387 A1 WO 2016150387A1 CN 2016077130 W CN2016077130 W CN 2016077130W WO 2016150387 A1 WO2016150387 A1 WO 2016150387A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
new
interface
description file
server
Prior art date
Application number
PCT/CN2016/077130
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Publication of WO2016150387A1 publication Critical patent/WO2016150387A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/445Receiver circuitry for the reception of television signals according to analogue transmission standards for displaying additional information

Definitions

  • the present invention relates to the field of communications, and in particular to an interface processing method, apparatus, and system.
  • the application of the OTT set-top box, especially the Android set-top box, and the interface of the set-top box itself have been very beautiful, and with the maturity of user behavior analysis, big data and other technologies, the interface and operation of the set-top box are more and more complicated, and the user-operated TV program Lists and more frequently used application shortcuts are more and more, and in the related technology, custom, personalized user interface and business processing methods cannot be provided.
  • the present invention provides an interface processing method, device and system to solve at least the above problems.
  • an interface processing method including: acquiring an interface of an application of a set top box on an application server and/or an operation description file of an application; and generating corresponding one or more according to the description file a control; receiving an edit instruction for an attribute and/or business logic of the control, editing the control according to the edit instruction to generate a new application interface and/or a new operation description file; transmitting the new The application's interface and/or new operational description file is given to the application server.
  • the method comprises: the network of the new application interface and/or the new operation description file The picture corresponding to the link is sent to the application server.
  • the editing instruction for receiving attributes and/or business logic of the control includes at least one of: receiving a drag command for the position and size of the control; receiving the control Replacement instructions for skin and texture; receive service edit instructions for clicking and long pressing on the control.
  • an interface processing method comprising: an application server receiving an interface of an edited new application and/or a new operation description file, wherein the new application The interface and/or the new operation description file is generated by the terminal by editing the attribute and/or business logic of the corresponding control file of the set top box; the application server is configured according to the interface of the new application and/or a new operation description.
  • File compilation to generate a new version of the application a program; the application server sends the new version of the application to the management server.
  • the application server compiling the new version of the application according to the interface of the new application and/or the new operation comprises: the application server according to the interface of the new application and/or The new action description file overwrites the code folder for the corresponding application and compiles the entire set of code to generate a new version of the application.
  • the method further includes: the application server outputting The new version of the application is docked to a third-party application server.
  • the application comprises: an apk application of Android.
  • an interface processing method comprising: a management server receiving a new version of an application compiled by an application server according to an interface of a new application and/or a new operation description file, according to the An update policy for the management server deployment, which updates the description file to one or more target set top boxes.
  • performing the updating of the description file on one or more target set top boxes includes: sending the new version of the application to the set top box after receiving the feedback of the target set top box that meets the preset requirement .
  • an interface processing method comprising: receiving a new version of an application sent by the management server, wherein an interface and/or an operation description file of the new version application is The terminal is edited and generated by using an interface of an application of the current set top box and/or an operation description file corresponding to an application and/or a business logic of the application, where the new version of the application is the application server according to the new application.
  • the program interface and/or operation description file compilation code is generated; the set top box application is upgraded according to the new version of the application.
  • the method before receiving the new version of the application sent by the management server, the method includes: comparing a version number of the new version of the application with a version number of the local application, When the new application version number is higher than the local version number, the new version of the application is downloaded.
  • an interface processing apparatus including: an obtaining module, configured to acquire an interface of an application of the set top box on the application server, and/or an operation description file of the application; and an editing module, configured to Generating a corresponding one or more controls according to the description file; the first receiving module is configured to receive an editing instruction for the attribute and/or business logic of the control, and edit the new control according to the editing instruction to generate a new An interface of the application and/or a new operation description file; a first sending module, configured to send the interface of the new application and/or a new operation description file to the application server.
  • an interface processing apparatus including: a second receiving module, configured to receive, by the application server, an interface of the edited new application and/or a new operation description file, where The interface of the new application and/or the new operation description file is generated by the terminal by editing the attribute and/or business logic of the corresponding control file of the set top box; the compiling module is set as the application server according to the new The interface of the application and/or the new operation description file is compiled to generate a new version of the application; the second sending module is configured to send the new version of the application to the management server to the application server.
  • an interface processing apparatus comprising: a third receiving module, configured to receive, by the management server, a new application compiled by the application server according to an interface of the new application and/or a new operation description file. Version of the application;
  • an update module configured to update the description file of one or more target set top boxes according to an update policy deployed by the management server.
  • an interface processing apparatus comprising: a fourth receiving module, configured to receive a new version of an application sent by the management server, wherein an interface of the new version application And/or the operation description file is generated by the terminal by editing an attribute of the application of the current set top box and/or an attribute of the operation description file corresponding to the application and/or business logic, where the new version of the application is
  • the application server compiles code generation according to the interface and/or operation description file of the new application; the upgrade module is configured to upgrade the set top box application according to the new version of the application.
  • an interface processing system including: a terminal, an application server, a management server, and a set top box; the terminal and the application server are connected through a wide area network, and the application server and the server
  • the management server is connected through a private network or a wide area network, and the management server is connected to the set top box through a private network or a wide area network; the set top box uploads an interface of the stored application and/or an operation description file of the application to the application server.
  • the terminal customizing the interface and business logic of the application downloaded from the application server to generate a new application interface And/or a new operation description file, uploaded to the application server;
  • the application server compiles the entire set of code according to the interface of the new application and/or a new operation description file to generate a new version of the application;
  • the management The server receives the new version of the application server compiled And the program, according to the update policy deployed by the management server, notifying one or more target set top boxes to update the description file,
  • the terminal includes the foregoing apparatus, and the application server includes the foregoing apparatus, the management server Including the apparatus described above, the set top box includes the apparatus described above.
  • the invention acquires an interface of an application of the set top box on the application server and/or an operation description file of the application; generates a corresponding one or more controls according to the description file; and receives an edit of the attribute and/or business logic of the control
  • the program interface and operation of the set-top box are complicated, and the problem of inconvenient use increases the convenience of the user.
  • FIG. 1 is a flowchart 1 of an interface processing method according to an embodiment of the present invention.
  • FIG. 2 is a second flowchart of an interface processing method according to an embodiment of the present invention.
  • FIG. 3 is a third flowchart of an interface processing method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart 4 of an interface processing method according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram 1 of an interface processing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram 2 of an interface processing apparatus according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram 3 of an interface processing apparatus according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram 4 of an interface processing apparatus according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a design and deployment of a set top box application interface according to a preferred embodiment of the present invention.
  • FIG. 10 is a timing diagram of dynamically setting a set top box application using a mobile terminal in accordance with a preferred embodiment of the present invention.
  • FIG. 1 is a flowchart 1 of an interface processing method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 Obtain an interface of an application of the set top box on the application server and/or an operation description file of the application.
  • Step S104 generating corresponding one or more controls according to the description file
  • Step S106 receiving an editing instruction for the attribute and/or business logic of the control, and editing the control according to the editing instruction to generate a new application interface and/or a new operation description file;
  • Step S108 sending an interface of the new application and/or a new operation description file to the application server.
  • the terminal acquires an interface of an application of the set top box on the application server and/or an operation description file of the application, generates a corresponding one or more controls according to the description file, and receives the attribute and/or business logic of the control.
  • Editing instructions editing the control according to the editing instruction to generate a new application interface and/or a new operation description file, and transmitting the interface of the new application and/or a new operation description file to the application server.
  • the application server generates a new version of the application and sends it to the management server.
  • the set-top box downloads the new version of the application through the management server, and solves the problem that the program interface and operation of the set-top box are complicated and inconvenient to use, thereby improving the convenience of the user.
  • the terminal may initiate a network request, and the interface of the new application and/or Or the image corresponding to the network link in the new operation description file is sent to the application server.
  • the receiving and editing instructions of the touch screen or the physical button may also be received by other sensors or remote controllers, wherein the receiving of the command may include: receiving a drag command for the position and size of the control; receiving the replacement of the skin and the texture of the control Instruction; receive a business edit instruction that clicks and long presses on the control.
  • FIG. 2 is a flowchart 2 of an interface processing method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 the application server receives the interface of the edited new application and/or a new operation description file, where the interface of the new application and/or the new operation description file is that the terminal corresponds to the description file of the set top box.
  • the properties and/or business logic of the control are edited and generated;
  • Step S204 the application server compiles and generates a new version of the application according to the interface of the new application and/or a new operation description file;
  • Step S206 the application server sends the new version of the application to the management server.
  • the application server receives the interface of the edited new application and/or a new operation description file, and compiles and generates a new version of the application according to the interface of the new application and/or the new operation description file.
  • the application server sends the new version of the application to the management server, and the management server sends the new version of the application to the set top box, so that the set top box can be upgraded and upgraded, and the program interface and operation of the set top box are complicated, and the use is inconvenient, and the problem is improved.
  • the convenience of the user is the user.
  • the application server may generate a new version of the application according to the interface of the new application and/or a new operation, and may be recompiled, or the application server may The new application's interface and/or new operational description file overwrites the code folder of the corresponding application and compiles the entire set of code to generate a new version of the application.
  • the method may further include: outputting the new version of the application by the application server.
  • the program is connected to the third-party application server to share the application, and other set-top boxes can also be downloaded and updated.
  • the application in the above embodiment may be an APP application of the OSI or an apk application of the Android.
  • FIG. 3 is a flowchart 3 of an interface processing method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
  • Step S302 the management server receives a new version of the application compiled by the application server according to the interface of the new application and/or the new operation description file;
  • Step S304 Update the description file to one or more target set top boxes according to the update policy deployed by the management server.
  • the management server receives a new version of the application compiled by the application server according to the interface of the new application and/or the new operation description file, and one or more target sets according to the update policy deployed by the management server.
  • the box performs the update of the description file, which solves the problem that the program interface and operation of the set top box are complicated and inconvenient to use, and the convenience of the user is improved.
  • the updating of the description file to one or more target set top boxes includes: after receiving the feedback of the target set top box that meets the preset requirement, sending the new version of the application to the set top box.
  • FIG. 4 is a flowchart 4 of an interface processing method according to an embodiment of the present invention. As shown in FIG. 4, the process includes the following steps:
  • Step S402 receiving a new version of the application sent by the management server, where the interface and/or operation description file of the new version application is an operation description of the interface and/or application of the application of the current set top box by the terminal.
  • the file is edited and generated by the attribute and/or business logic of the control, and the new version of the application is generated by the application server according to the interface and/or the operation description file of the new application;
  • Step S404 the set top box application is upgraded according to the new version of the application.
  • the new version of the application sent by the management server is received, and the set-top box application is upgraded according to the new version of the application, which solves the problem that the program interface and operation of the set-top box are complicated and inconvenient to use, and the problem is improved. User convenience.
  • the method before upgrading the new version, it is necessary to determine whether it is the latest version. There are many methods for judging whether it is the latest version, for example, a method of managing the server notification, or a request for the set-top box timing. Before receiving the new version of the application sent by the management server, the method further comprises: comparing the version number of the new version of the application with the version number of the local application, where the new application version number is higher than the local version number In case of downloading the new version of the app.
  • an interface processing device is also provided, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 5 is a structural block diagram of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes:
  • the obtaining module 52 is configured to acquire an interface of an application of the set top box on the application server and/or an operation description file of the application;
  • the editing module 54 is configured to generate a corresponding one or more controls according to the description file;
  • the first receiving module 56 is configured to receive an editing instruction for the attribute and/or business logic of the control, and edit the control according to the editing instruction to generate a new application interface and/or a new operation description file;
  • the first sending module 58 is configured to send an interface of the new application and/or a new operation description file to the application server.
  • the obtaining module 52 acquires an interface of the application of the set top box on the application server and/or an application.
  • An operation description file the editing module 54 generates a corresponding one or more controls according to the description file
  • the first receiving module 56 receives an editing instruction of the property and/or the business logic of the control, and edits the control according to the editing instruction.
  • the interface of the new application and/or the new operation description file, the first sending module 58 sends the interface of the new application and/or a new operation description file to the application server, and solves the complicated program interface and operation of the set top box.
  • the use of inconvenient problems increases the convenience of the user.
  • FIG. 6 is a structural block diagram 2 of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes
  • the second receiving module 62 is configured to receive, by the application server, an interface of the edited new application and/or a new operation description file, where the interface of the new application and/or the new operation description file are The description file of the set top box is edited and generated corresponding to the attributes and/or business logic of the control;
  • Compiling module 64 configured to compile and generate a new version of the application according to the interface of the new application and/or a new operation description file;
  • the second sending module 66 is configured to send the new version of the application to the management server by the application server.
  • the second receiving module 62 receives the interface of the edited new application and/or a new operation description file, and the compiling module 64 compiles and generates a new one according to the interface of the new application and/or the new operation description file.
  • the version of the application, the second sending module 66 sends the new version of the application to the management server, solves the complex interface of the set-top box and the operation is inconvenient, and improves the convenience of the user.
  • FIG. 7 is a structural block diagram 3 of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes:
  • the third receiving module 72 is configured to receive, by the management server, a new version of the application compiled by the application server according to the interface of the new application and/or the new operation description file;
  • the update module 74 is configured to update the description file for one or more target set top boxes according to an update policy deployed by the management server.
  • the third receiving module 72 receives the new version of the application compiled by the application server according to the interface of the new application and/or the new operation description file, and updates the update strategy deployed by the module 74 to one or more targets.
  • the set-top box performs the update of the description file, which solves the problem that the program interface and operation of the set-top box are complicated and inconvenient to use, and the convenience of the user is improved.
  • FIG. 8 is a structural block diagram 4 of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 8, the apparatus includes:
  • the fourth receiving module 82 is configured to receive a new version of the application sent by the management server, where the interface and/or the operation description file of the new version application is an interface of the terminal through the application of the current set top box and/or The operation description file of the application is edited and generated corresponding to the attribute and/or business logic of the control, and the new version of the application is generated by the application server according to the interface and/or the operation description file of the new application;
  • the upgrade module 84 is configured to upgrade the set top box application according to the new version of the application.
  • the fourth receiving module 82 is configured to receive a new version of the application sent by the management server;
  • the upgrade module 84 is configured to upgrade the set top box application according to the new version of the application.
  • the program interface and the operation of the set top box are complicated, and the use is inconvenient, which improves the convenience of the user.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • an interface processing system including: a terminal, an application server, a management server, and a set top box; the terminal and the application server are connected through a wide area network, and the application server and the management server pass the special a network or WAN connection, the management server and the set top box are connected through a private network or a wide area network; the set top box uploads an interface of the stored application and/or an operation description file of the application to the application server, and downloads a new one from the management server.
  • the application version upgrades the set top box; the terminal customizes the interface and business logic of the application downloaded from the application server to generate a new application interface and/or a new operation description file, and uploads the application to the application.
  • a server compiling the entire set of code to generate a new version of the application according to the interface of the new application and/or a new operation description file; the management server receives the new version of the application compiled by the application server, according to the management server Deployed update strategy
  • One or more notification target set top box updates the descriptive file; terminal comprising the above-described means, the application server comprising the above-described apparatus, the aforementioned means comprising a management server; the set top box comprising the above-described means.
  • the embodiment of the invention provides a method and system for real-time custom dynamic modification of the set top box application interface and the business process by the user simply dragging and clicking on the screen of the mobile terminal.
  • the mobile terminal in the embodiment of the present invention is not limited to a smart phone, and may be other terminal devices such as a Pad.
  • An application editing module is deployed on the mobile terminal, and the module can display the interface style and layout of the current application.
  • the user can manually drag and click on the terminal screen to control the style and layout of the control and the specific business operations corresponding to each control. edit. And generate corresponding description files according to the interface and business operations edited by the user.
  • the mobile terminal can also select a target set top box that needs to update the interface and business process.
  • the mobile terminal is connected to the application server, and sends the edited corresponding description file to the application server.
  • a compiling module is deployed on the application server, and after obtaining the corresponding description file, a new version of the application is automatically compiled according to the same.
  • the application server is connected to the management server, and the compiled application installation file is transmitted to the management server; the management server and the set top box are connected through the network.
  • the management server notifies the target set-top box to download the updated application file according to the release update policy deployed by itself.
  • the set-top box downloads a new version of the application from the management server to cover the old version of the application on the set-top box, launching and displaying the new application.
  • Step 1 The mobile terminal connects to the application server through the network, and obtains an interface and an operation description file corresponding to the current set top box application on the server.
  • Step 2 The mobile terminal displays the respective controls of the corresponding application interface on the set top box in an editable state according to the acquired interface and operation description file of the set top box application.
  • Step 3 The user opens the application editing module on the mobile terminal, adjusts the position and size of the interface control by manually dragging and dropping on the screen, adjusts the skin and texture of the interface control, and edits buttons and the like according to common operations such as clicking and long pressing.
  • Business operations (such as adding a new poster image, and specifying that the remote control determines that the poster image is selected and the application jumps to the "Latest Movies of the Week" column).
  • a description file of the edited application interface and business operations is generated.
  • Step 4 The mobile terminal initiates a network request, and sends the updated description file and the image required for the interface display to the application server through the network link.
  • Step 5 After receiving the updated description file and the image file, the application server overwrites the file into the code folder corresponding to the application, and compiles the entire code to generate a new version (higher version number) of the application installation file. .
  • step 6 the application server sends the generated application installation file to the management server. Then, the management server notifies the one or more target set-top boxes of the specified range that the corresponding application has a new version to be upgraded according to the software upgrade update policy deployed by itself.
  • Step 7 The set top box is connected to the management server, and determines whether the application version number on the server is higher than the version number of the local application of the set top box. If the version number on the server side is higher, download the updated version of the application.
  • Step 8 After the new version of the set-top box is downloaded to the set-top box, replace the original application file. Restart the app and show the new interface style through the TV screen.
  • the preferred embodiment has the advantage that the user can modify his own set top box application interface in real time and dynamically, and reposition the business logic of the set top box application. It's no longer just the user of the application, but the designer of the application that really becomes the WYSIWYG, adjusts and modifies its own set-top box application.
  • the mobile terminal user can selectively update the interface and service operations of multiple specified target set-top boxes at the same time.
  • the mobile terminal is a large-screen smart phone
  • the set-top box is an Android set-top box
  • the mobile phone and the application server are connected through a wide area network (public network)
  • the application server and the management server are connected through an intranet or a public network
  • the IPTV private network is used as an example to describe the connection between the mobile phone and the set-top box.
  • the mobile phone and the set-top box may not communicate with each other.
  • An OTT video client application (including the interface display module) is deployed on the smart set top box to display the video program provided by the media content server side.
  • the mobile client is used to dynamically customize the interface of the set top box video application.
  • FIG. 9 is a schematic diagram of a design and deployment of a set top box application interface according to a preferred embodiment of the present invention, as shown in FIG.
  • the server crosses the two network planes of the public network and the IPTV private network; the mobile phone and the application server exchange and file through HTTP messages; the application server communicates with the management server through a TCP message, and the file is transmitted through ftp; the management server passes The TCP message interacts with the set-top box and transfers files via the ftp protocol.
  • FIG. 10 is a timing diagram of dynamically setting a set top box application using a mobile terminal according to a preferred embodiment of the present invention. As shown in FIG. 10, the implementation steps are as follows:
  • Step S1001 The mobile client sends an Http request to the application server to request a current description file of the current set top box video application interface and operation.
  • Step S1002 The mobile client downloads the latest xml description file from the management server by using an Http GET method.
  • Step S1003 The mobile phone client (application editing module) displays the style and layout of each control interface in the edit mode according to the acquired set top box video application interface description file, and correspondingly controls the remote control button selection response of each control and the operation logic. .
  • Step S1004 The user adds a picture display control by dragging on the screen of the mobile phone, and sets the skin map of the control as a latest movie poster picture.
  • the control's remote control button selection response is defined by clicking and selecting to jump to the "This Week's Latest Movie" video section page.
  • Step S1005 The mobile phone client application editing module generates an xml description file for editing this time according to the modification made by the user, where the type and ID of the newly added picture control are defined in the description file; and the coordinate value and size of the top left corner are used to describe the The position and size of the control; save the image path and name of the skin map of the control; and specify the response of the remote control button selection in the description file: Jump to the Activity of "This Week's Latest Movie".
  • Step S1006 The mobile client parses the generated xml description file with the newly added movie poster image, and uploads it to the application server by using the HttpPOST method.
  • Step S1007 The application server side deploys a compilation module and source code of the application. After receiving the changed files (changed description files and new image files), the application server replaces the files in the original code, and triggers the automatic compilation script to compile and generate a new version (the version number is automatically accumulated). Apk application installation file.
  • Step S1008 The application server notifies the management server to acquire a new version of the application installation file.
  • the management server compiles the packaged new version of the application installation file through the ftp download application server.
  • Step S1009 The set top box software upgrade update policy deployed by the management server itself, notifying one or more target set top boxes, the application file is updated, the software version needs to be upgraded, and the software version number of the current application is included in the notification message.
  • Step S1010 After receiving the update upgrade notification message sent by the management server, the target set top box compares with the version number of the local application. If the version number of the new version is higher than the version number of the local application, the set top box upgrade module accesses the specified ftp address of the management server, downloads the updated application installation file, and replaces the original application installation file of the set top box.
  • Step S1011 after completing the step S1010, the set-top box video application is restarted to display the new interface, and the new control "This week's latest movie" is displayed in the set-top box video application, using the set-top box remote control to select the control and click the "confirm” button.
  • the application interface jumps to the "New Movies of the Week" section.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of various embodiments of the present invention.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • an interface of an application of a set top box on an application server and/or an operation description file of an application are acquired; a corresponding one or more controls are generated according to the description file; and an attribute of the control is received.
  • the control is edited according to the editing instruction to generate a new application interface and/or a new operation description file; the interface of the new application is sent and/or a new operation description file is sent.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供了一种界面处理方法、装置及***,其中,该方法获取应用服务器上机顶盒的应用程序的界面和/或应用程序的操作描述文件;根据该描述文件生成对应的一个或多个控件;接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。

Description

界面处理方法、装置及*** 技术领域
本发明涉及通信领域,具体而言,涉及一种界面处理方法、装置及***。
背景技术
随着移动互联网的迅猛发展和OTT(Over The TOP)/IPTV机顶盒的大规模面世,以智能手机/Pad为代表的多屏移动终端与OTT机顶盒之间的交互成为较为热门的终端互动方式。
OTT机顶盒尤其Android机顶盒的应用以及机顶盒自身的界面(Launcher)样式已经非常绚丽,而且随着用户行为分析、大数据等技术的日趋成熟,机顶盒的界面和操作越来越复杂,用户操作的电视栏目列表以及使用较为频繁的应用快捷方式越来越多,在相关技术中,还不能提供自定义,个性化的用户操作界面和业务处理方式。
针对相关技术中机顶盒的程序界面和操作复杂,使用不方便的问题,目前尚未提出有效的解决方案。
发明内容
针对相关技术中机顶盒的程序界面和操作复杂,使用不方便的问题,本发明提供了一种界面处理方法、装置及***,以至少解决上述问题。
根据本发明的一个实施例,提供了一种界面处理方法,包括:获取应用服务器上机顶盒的应用程序的界面和/或应用程序的操作描述文件;根据所述描述文件生成对应的一个或多个控件;接收对所述控件的属性和/或业务逻辑的编辑指令,根据所述编辑指令对所述控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;发送所述新的应用程序的界面和/或新的操作描述文件给所述应用服务器。
在本发明的实施例中,所述生成新的应用程序的界面和/或新的操作描述文件之后,该方法包括:将所述新的应用程序的界面和/或新的操作描述文件中网络链接对应的图片发送给所述应用服务器。
在本发明的实施例中,所述接收对所述控件的属性和/或业务逻辑的编辑指令包括以下至少之一:接收对所述控件位置、大小的拖拽指令;接收对所述控件的皮肤、贴图的替换指令;接收对所述控件的点击、长按的业务编辑指令。
根据本发明的另一个实施例,还提供了一种界面处理方法,包括:应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,所述新的应用程序的界面和/或新的操作描述文件是终端通过对机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用 程序;所述应用服务器发送所述新版本的应用程序给管理服务器。
在本发明的实施例中,应用服务器根据所述新的应用程序的界面和/或新的操作编译生成新版本的应用程序包括:所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件覆盖对应应用程序的代码文件夹,并编译整套代码生成新版本的应用程序。
在本发明的实施例中,所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序之后,所述方法还包括:所述应用服务器输出所述新版本的应用程序到第三方应用服务器进行对接。
在本发明的实施例中,所述应用程序包括:Android的apk应用程序。
根据本发明的另一个实施例,还提供了一种界面处理方法,包括:管理服务器接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序,根据所述管理服务器部署的更新策略,对一台或多台目标机顶盒进行所述描述文件的更新。
在本发明的实施例中,对一台或多台目标机顶盒进行所述描述文件的更新包括:接收到符合预设要求的所述目标机顶盒的反馈后,发送所述新版本的应用程序给机顶盒。
根据本发明的另一个实施例,还提供了一种界面处理方法,包括:接收所述管理服务器发送的新版本的应用程序,其中,所述新版本应用程序的界面和/或操作描述文件是终端通过对所述当前机顶盒的应用程序的界面和/或应用程序的操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,所述新版本的应用程序是所述应用服务器根据新的应用程序的界面和/或操作描述文件编译代码生成;根据所述新版本的应用程序对所述机顶盒应用程序的进行升级。
在本发明的实施例中,所述在接收所述管理服务器发送的新版本的应用程序之前,所述方法包括:对比所述新版本的应用程序的版本号与本地应用程序的版本号,在所述新的应用程序版本号高于本地版本号的情况下,下载所述新版本的应用程序。
根据本发明的另一个实施例,还提供了一种界面处理装置,包括:获取模块,设置为获取应用服务器上机顶盒的应用程序的界面和/或应用程序的操作描述文件;编辑模块,设置为根据所述描述文件生成对应的一个或多个控件;第一接收模块,设置为接收对所述控件的属性和/或业务逻辑的编辑指令,根据所述编辑指令对所述控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;第一发送模块,设置为发送所述新的应用程序的界面和/或新的操作描述文件给所述应用服务器。
根据本发明的另一个实施例,还提供了一种界面处理装置,包括:第二接收模块,设置为应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,所述新的应用程序的界面和/或新的操作描述文件是终端通过对机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;编译模块,设置为所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序;第二发送模块,设置为所述应用服务器发送所述新版本的应用程序给管理服务器。
根据本发明的另一个实施例,还提供了一种界面处理装置,包括:第三接收模块,设置为管理服务器接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序;
更新模块,设置为根据所述管理服务器部署的更新策略,对一台或多台目标机顶盒进行所述描述文件的更新。
根据本发明的另一个实施例,还提供了一种界面处理装置,包括:第四接收模块,设置为接收所述管理服务器发送的新版本的应用程序,其中,所述新版本应用程序的界面和/或操作描述文件是终端通过对所述当前机顶盒的应用程序的界面和/或应用程序的操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,所述新版本的应用程序是所述应用服务器根据新的应用程序的界面和/或操作描述文件编译代码生成;升级模块,设置为根据所述新版本的应用程序对所述机顶盒应用程序的进行升级。
根据本发明的另一个实施例,还提供了一种界面处理***,其中,包括:终端、应用服务器、管理服务器和机顶盒;所述终端与所述应用服务器通过广域网连接,所述应用服务器与所述管理服务器通过专网或者广域网连接,所述管理服务器与所述机顶盒通过专网或者广域网连接;所述机顶盒将存储的应用程序的界面和/或应用程序的操作描述文件上传到所述应用服务器,并从所述管理服务器下载新的应用程序版本对所述机顶盒进行升级;所述终端对从所述应用服务器上下载的应用程序的界面和业务逻辑进行自定义修改生成新的应用程序的界面和/或新的操作描述文件,上传到所述应用服务器;所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件编译整套代码生成新版本的应用程序;所述管理服务器接收应用服务器编译的所述新版本的应用程序,根据所述管理服务器部署的更新策略,通知一台或多台目标机顶盒进行所述描述文件的更新,所述终端包括上述的装置,所述应用服务器包括上述的装置,所述管理服务器包括上述的装置,所述机顶盒包括上述的装置。
通过本发明,获取应用服务器上机顶盒的应用程序的界面和/或应用程序的操作描述文件;根据该描述文件生成对应的一个或多个控件;接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的一种界面处理方法的流程图一;
图2是根据本发明实施例的一种界面处理方法的流程图二;
图3是根据本发明实施例的一种界面处理方法的流程图三;
图4是根据本发明实施例的一种界面处理方法的流程图四;
图5是根据本发明实施例的一种界面处理装置的结构框图一;
图6是根据本发明实施例的一种界面处理装置的结构框图二;
图7是根据本发明实施例的一种界面处理装置的结构框图三;
图8是根据本发明实施例的一种界面处理装置的结构框图四;
图9是根据本发明优选实施例的机顶盒应用界面设计部署示意图;
图10是根据本发明优选实施例的使用移动终端动态设置机顶盒应用的时序示意图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了一种界面处理方法,图1是根据本发明实施例的一种界面处理方法的流程图一,如图1所示,该流程包括如下步骤:
步骤S102,获取应用服务器上机顶盒的应用程序的界面和/或应用程序的操作描述文件;
步骤S104,根据该描述文件生成对应的一个或多个控件;
步骤S106,接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;
步骤S108,发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器。
通过上述步骤,终端获取应用服务器上机顶盒的应用程序的界面和/或应用程序的操作描述文件,根据该描述文件生成对应的一个或多个控件,接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件,发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器。应用服务器生成新版本的应用程序发送给管理服务器,机顶盒通过管理服务器上下载该新版本的应用程序,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。
在本实施例中,生成新的应用程序的界面和/或操作描述文件之后,在该描述文件中可以有相关图片的网络链接,终端可以发起网络请求,将该新的应用程序的界面和/或新的操作描述文件中网络链接对应的图片发送给该应用服务器。
在本实施例中,对该控件的属性和/或业务逻辑的编辑指令可以有多种方式,可以通过触 摸屏或者实体按键的接收编辑指令,也可以通过其他的传感器或者遥控器接收,其中指令的接收可以包括:接收对该控件位置、大小的拖拽指令;接收对该控件的皮肤、贴图的替换指令;接收对该控件的点击、长按的业务编辑指令。
在本实施例中提供了一种界面处理方法,图2是根据本发明实施例的一种界面处理方法的流程图二,如图2所示,该流程包括如下步骤:
步骤S202,应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,该新的应用程序的界面和/或新的操作描述文件是终端通过对机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;
步骤S204,该应用服务器根据该新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序;
步骤S206,该应用服务器发送该新版本的应用程序给管理服务器。
通过上述步骤,应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,并根据该新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序,该应用服务器发送该新版本的应用程序给管理服务器,管理服务器将新版本的应用程序发送给机顶盒,方便机顶盒进行升级和升级,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。
在本实施例中,该应用服务器根据该新的应用程序的界面和/或新的操作编译生成新版本的应用程序可以有多种方式,可以是重新进行编译,也可以是该应用服务器根据该新的应用程序的界面和/或新的操作描述文件覆盖对应应用程序的代码文件夹,并编译整套代码生成新版本的应用程序。
在本实施例中,该应用服务器根据该新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序之后,该方法还可以包括:将该应用服务器输出该新版本的应用程序到第三方应用服务器进行对接从而将该应用程序进行了分享,其他的机顶盒也可以下载进行更新,上述实施例中的应用程序可以是OSI的APP应用程序,也可以是Android的apk应用程序。
在本实施例中提供了一种界面处理方法,图3是根据本发明实施例的一种界面处理方法的流程图三,如图3所示,该流程包括如下步骤:
步骤S302,管理服务器接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序;
步骤S304,根据该管理服务器部署的更新策略,对一台或多台目标机顶盒进行该描述文件的更新。
通过上述步骤,管理服务器接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序,根据该管理服务器部署的更新策略,对一台或多台目标机顶 盒进行该描述文件的更新,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。
在本实施例中,对一台或多台目标机顶盒进行该描述文件的更新包括:接收到符合预设要求的该目标机顶盒的反馈后,发送该新版本的应用程序给机顶盒。
在本实施例中提供了一种界面处理方法,图4是根据本发明实施例的一种界面处理方法的流程图四,如图4所示,该流程包括如下步骤:
步骤S402,接收该管理服务器发送的新版本的应用程序,其中,该新版本应用程序的界面和/或操作描述文件是终端通过对该当前机顶盒的应用程序的界面和/或应用程序的操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,该新版本的应用程序是该应用服务器根据新的应用程序的界面和/或操作描述文件编译代码生成;
步骤S404,根据该新版本的应用程序对该机顶盒应用程序的进行升级。
通过上述步骤,接收该管理服务器发送的新版本的应用程序,根据该新版本的应用程序对该机顶盒应用程序的进行升级,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。
在本实施例中,在对新版本进行升级之前,要判断是否是最新的版本,判断是否是最新版本的方法有很多种,例如,可以采用管理服务器通知的方式,也可以是机顶盒定时的请求,在接收该管理服务器发送的新版本的应用程序之前,该方法还包括:对比新版本的应用程序的版本号与本地应用程序的版本号,在该新的应用程序版本号高于本地版本号的情况下,下载该新版本的应用程序。
在本实施例中还提供了一种界面处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图5是根据本发明实施例的一种界面处理装置的结构框图一,如图5所示,该装置包括:
获取模块52,设置为获取应用服务器上机顶盒的应用程序的界面和/或应用程序的操作描述文件;
编辑模块54,设置为根据该描述文件生成对应的一个或多个控件;
第一接收模块56,设置为接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;
第一发送模块58,设置为发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器。
通过上述装置,获取模块52获取应用服务器上机顶盒的应用程序的界面和/或应用程序的 操作描述文件,编辑模块54根据该描述文件生成对应的一个或多个控件,第一接收模块56接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件,第一发送模块58发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。
图6是根据本发明实施例的一种界面处理装置的结构框图二,如图6所示,该装置包括
第二接收模块62,设置为应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,该新的应用程序的界面和/或新的操作描述文件是终端通过对机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;
编译模块64,设置为该应用服务器根据该新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序;
第二发送模块66,设置为该应用服务器发送该新版本的应用程序给管理服务器。
通过上述装置,第二接收模块62接收编辑后的新的应用程序的界面和/或新的操作描述文件,编译模块64根据该新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序,第二发送模块66发送该新版本的应用程序给管理服务器,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。
图7是根据本发明实施例的一种界面处理装置的结构框图三,如图7所示,该装置包括:
第三接收模块72,设置为管理服务器接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序;
更新模块74,设置为根据该管理服务器部署的更新策略,对一台或多台目标机顶盒进行该描述文件的更新。
通过上述装置,第三接收模块72接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序,更新模块74部署的更新策略,对一台或多台目标机顶盒进行该描述文件的更新,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。
图8是根据本发明实施例的一种界面处理装置的结构框图四,如图8所示,该装置包括:
第四接收模块82,设置为接收该管理服务器发送的新版本的应用程序,其中,该新版本应用程序的界面和/或操作描述文件是终端通过对该当前机顶盒的应用程序的界面和/或应用程序的操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,该新版本的应用程序是该应用服务器根据新的应用程序的界面和/或操作描述文件编译代码生成;
升级模块84,设置为根据该新版本的应用程序对该机顶盒应用程序的进行升级。
通过上述装置,第四接收模块82,设置为接收该管理服务器发送的新版本的应用程序; 升级模块84,设置为根据该新版本的应用程序对该机顶盒应用程序的进行升级。解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。
在本发明的实施例中,还提供了一种界面处理***,其中,包括:终端、应用服务器、管理服务器和机顶盒;该终端与该应用服务器通过广域网连接,该应用服务器与该管理服务器通过专网或者广域网连接,该管理服务器与该机顶盒通过专网或者广域网连接;该机顶盒将存储的应用程序的界面和/或应用程序的操作描述文件上传到该应用服务器,并从该管理服务器下载新的应用程序版本对该机顶盒进行升级;该终端对从该应用服务器上下载的应用程序的界面和业务逻辑进行自定义修改生成新的应用程序的界面和/或新的操作描述文件,上传到该应用服务器;该应用服务器根据该新的应用程序的界面和/或新的操作描述文件编译整套代码生成新版本的应用程序;该管理服务器接收应用服务器编译的该新版本的应用程序,根据该管理服务器部署的更新策略,通知一台或多台目标机顶盒进行该描述文件的更新;该终端包括上述的装置,该应用服务器包括上述装置,该管理服务器包括上述的装置;该机顶盒包括上述的装置。
下面结合优选实施例和实施方式对本发明进行详细说明。
本发明实施例提出一种由用户通过简单拖拽、点击移动终端屏幕,实时完成机顶盒应用界面和业务流程的自定义动态修改的方法和***。本发明实施例中的移动终端不仅仅局限于智能手机,也可以Pad等其他终端设备。
移动终端上部署有应用编辑模块,该模块可展示当前应用的界面样式和布局,用户可通过在终端屏幕上的手动拖转、点击等操作对控件样式和布局以及各控件对应的具体业务操作进行编辑。并根据用户编辑的界面和业务操作生成对应的描述文件。移动终端还可以选择需要更新界面和业务流程的目标机顶盒。
移动终端与应用服务器相连,将编辑好的对应描述文件发送给应用服务器。应用服务器上部署有编译模块,获取到对应描述文件后,根据其自动编译一个新版本的应用程序。
应用服务器与管理服务器相连,将编译后的应用程序安装文件传送给管理服务器;管理服务器与机顶盒通过网络连接。管理服务器根据自身部署的发布更新策略,通知目标机顶盒下载更新后的应用程序文件。
机顶盒从管理服务器上下载新版本的应用程序覆盖机顶盒上原有的老版本应用,启动并展示新应用。
本发明的实施例的步骤如下:
步骤1,移动终端通过网络连接应用服务器,获取服务器上当前机顶盒应用对应的界面和操作描述文件。
步骤2,移动终端根据获取到的机顶盒应用的界面和操作描述文件,在可编辑状态下展示机顶盒上对应的应用程序界面的各个控件。
步骤3,用户在移动终端上打开应用编辑模块,在屏幕上通过手动拖拽调整界面控件的位置和大小、调整界面控件的皮肤和贴图,通过点击、长按等常用操作编辑按钮等控件对应的业务操作(比如添加一个新的海报图片,并规定遥控器确定选中该海报图片后应用程序跳转至“本周最新电影”栏目)。用户完成编辑后,生成所编辑的应用程序界面和业务操作的描述文件。
步骤4,移动终端发起网络请求,通过网络链接将上述更新后的描述文件以及界面展示所需要的图片发送给应用服务器
步骤5,应用服务器接收到上述更新后的描述文件和图片等文件后,将上述文件覆盖进入该应用对应的代码文件夹,并编译整套代码生成新版本(版本号更高)的应用程序安装文件。
步骤6,应用服务器将生成的应用程序安装文件发送给管理服务器。然后,管理服务器根据自身部署的软件升级更新策略,通知指定范围的一台或多台目标机顶盒其对应的应用程序有新版本需升级。
步骤7,机顶盒连接管理服务器,判断服务器上的应用程序版本号是否高于机顶盒本地应用的版本号。如果服务器端的版本号更高,则下载该更新后的应用程序版本。
步骤8,机顶盒应用新版本下载到机顶盒本地后,替换原有的应用程序文件。重新启动该应用,通过电视屏幕展示新的界面样式。
与其他视频观看体验分享的方式相比,本优选实施例的优势为:用户可实时地、动态地修改自己的机顶盒应用程序界面,并重新定位机顶盒应用的业务逻辑。不再只是应用程序的使用者,而真正成为自己的应用的设计者,所见即所得地调整和修改自己的机顶盒应用程序。
而且通过管理服务器的升级策略控制,移动终端使用者可有选择性地同时更新多台指定的目标机顶盒的界面和业务操作。
在本发明的另外一个实施例中,移动终端为大屏智能手机,机顶盒为Android机顶盒;手机与应用服务器通过广域网(公网)连接;应用服务器与管理服务器通过内网或公网连接;管理服务器与机顶盒通过专网(如IPTV专网)或者广域网(公网)连接,本实施例中以IPTV专网为例进行讲解;手机和机顶盒之间可以不互通。
智能机顶盒上的部署了一个(内含界面展示模块的)OTT视频客户端应用,可展示媒体内容服务器侧所提供的视频节目。该实施例中使用手机客户端动态定制该机顶盒视频应用的界面。
图9是根据本发明优选实施例的机顶盒应用界面设计部署示意图,如图9所示,管理服 务器跨公网和IPTV专网两个网络平面;手机与应用服务器之间通过HTTP消息进行交互和文件传递;应用服务器与管理服务器之间通过TCP消息连接,通过ftp方式传递文件;管理服务器通过TCP消息与机顶盒交互,并通过ftp协议进行文件传输。
图10是根据本发明优选实施例的使用移动终端动态设置机顶盒应用的时序示意图,如图10所示,实施步骤如下:
步骤S1001、手机客户端向应用服务器发起Http请求,请求当前机顶盒视频应用界面和操作的最新描述文件。
步骤S1002、手机客户端通过Http GET方法,从管理服务器下载上述最新的xml描述文件。
步骤S1003、手机客户端(应用编辑模块)根据获取到的机顶盒视频应用界面描述文件,在编辑模式下展示界面各控件的样式和布局,并将各控件的遥控器按键选中响应与操作逻辑进行对应。
步骤S1004、用户在手机屏幕上通过拖动操作,新增一个图片展示控件,并将该控件的皮肤贴图设置为一张最新的电影海报图片。通过点击和选择操作将该控件的遥控器按键选中响应定义为跳转至“本周最新电影”这个视频栏目页面。
步骤S1005、手机客户端应用编辑模块根据用户所做的修改,生成本次编辑的xml描述文件,该描述文件中定义了新增图片控件的类型和ID;使用左上角顶点坐标值和尺寸描述该控件的位置和大小;保存该控件的皮肤贴图的图片路径和名称;并在描述文件中将遥控器按键选中响应操作规定为:跳转至“本周最新电影”这个Activity。
步骤S1006、手机客户端将生成的xml描述文件与新增的电影海报图片打包,使用HttpPOST方法上传至应用服务器端。
步骤S1007、应用服务器端部署有编译模块以及该应用的源代码。应用服务器收到有变化的文件(变更的描述文件和新增的图片文件)后,将这些文件替换原有代码中的文件,并触发自动编译脚本,编译生成新版本(版本号自动累加)的apk应用程序安装文件。
步骤S1008、应用服务器通知管理服务器,获取新版本的应用程序安装文件。管理服务器通过ftp下载应用服务器编译打包的新版本应用程序安装文件。
步骤S1009、管理服务器自身部署的机顶盒软件升级更新策略,通知一台或多台目标机顶盒,应用程序文件有更新,软件版本需进行升级,通知消息中附带当前应用程序的软件版本号。
步骤S1010、目标机顶盒收到管理服务器发出的更新升级通知消息后,与本地应用程序的版本号进行比较。若新版本的版本号高于本地应用的版本号,则机顶盒升级模块访问管理服务器的指定ftp地址,下载更新后的应用程序安装文件并替换机顶盒原有的应用程序安装文件。
步骤S1011、完成S1010步骤后,机顶盒视频应用重新启动,展示新界面,则“本周最新电影”这个新控件在机顶盒视频应用中展示,使用机顶盒遥控器选中该控件并单击“确认”按钮,应用程序界面跳转至“本周最新电影”栏目页面。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例该的方法。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
基于本发明实施例提供的上述技术方案,获取应用服务器上机顶盒的应用程序的界面和/或应用程序的操作描述文件;根据该描述文件生成对应的一个或多个控件;接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。

Claims (16)

  1. 一种界面处理方法,包括:
    获取应用服务器上机顶盒的应用程序的界面和/或应用程序的操作描述文件;
    根据所述描述文件生成对应的一个或多个控件;
    接收对所述控件的属性和/或业务逻辑的编辑指令,根据所述编辑指令对所述控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;
    发送所述新的应用程序的界面和/或新的操作描述文件给所述应用服务器。
  2. 根据权利要求1所述的方法,其中,所述生成新的应用程序的界面和/或新的操作描述文件之后,该方法包括:
    将所述新的应用程序的界面和/或新的操作描述文件中网络链接对应的图片发送给所述应用服务器。
  3. 根据权利要求1或2所述的方法,其中,所述接收对所述控件的属性和/或业务逻辑的编辑指令包括以下至少之一:
    接收对所述控件位置、大小的拖拽指令;
    接收对所述控件的皮肤、贴图的替换指令;
    接收对所述控件的点击、长按的业务编辑指令。
  4. 一种界面处理方法,包括:
    应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,所述新的应用程序的界面和/或新的操作描述文件是终端通过对机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;
    所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序;
    所述应用服务器发送所述新版本的应用程序给管理服务器。
  5. 根据权利要求4所述的方法,其中,所述应用服务器根据所述新的应用程序的界面和/或新的操作编译生成新版本的应用程序包括:
    所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件覆盖对应应用程序的代码文件夹,并编译整套代码生成新版本的应用程序。
  6. 根据权利要求4所述的方法,其中,所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序之后,所述方法还包括:
    所述应用服务器输出所述新版本的应用程序到第三方应用服务器进行对接。
  7. 根据权利要求4至6任一项所述的方法,其中,所述应用程序包括:
    Android的apk应用程序。
  8. 一种界面处理方法,包括:
    管理服务器接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序;
    根据所述管理服务器部署的更新策略,对一台或多台目标机顶盒进行所述描述文件的更新。
  9. 根据权利要求8所述的方法,其中,对一台或多台目标机顶盒进行所述描述文件的更新包括:
    接收到符合预设要求的所述目标机顶盒的反馈后,发送所述新版本的应用程序给机顶盒。
  10. 一种界面处理方法,包括:
    接收管理服务器发送的新版本的应用程序,其中,所述新版本应用程序的界面和/或操作描述文件是终端通过对当前机顶盒的应用程序的界面和/或应用程序的操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,所述新版本的应用程序是应用服务器根据新的应用程序的界面和/或操作描述文件编译代码生成;
    根据所述新版本的应用程序对所述机顶盒应用程序的进行升级。
  11. 根据权利要求10所述的方法,其中,所述在接收所述管理服务器发送的新版本的应用程序之前,所述方法包括:
    对比所述新版本的应用程序的版本号与本地应用程序的版本号,在所述新的应用程序版本号高于本地版本号的情况下,下载所述新版本的应用程序。
  12. 一种界面处理装置,包括:
    获取模块,设置为获取应用服务器上机顶盒的应用程序的界面和/或应用程序的操作描述文件;
    编辑模块,设置为根据所述描述文件生成对应的一个或多个控件;
    第一接收模块,设置为接收对所述控件的属性和/或业务逻辑的编辑指令,根据所述编辑指令对所述控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;
    第一发送模块,设置为发送所述新的应用程序的界面和/或新的操作描述文件给所述应用服务器。
  13. 一种界面处理装置,包括:
    第二接收模块,设置为应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,所述新的应用程序的界面和/或新的操作描述文件是终端通过对机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;
    编译模块,设置为所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序;
    第二发送模块,设置为所述应用服务器发送所述新版本的应用程序给管理服务器。
  14. 一种界面处理装置,包括:
    第三接收模块,设置为管理服务器接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序;
    更新模块,设置为根据所述管理服务器部署的更新策略,对一台或多台目标机顶盒进行所述描述文件的更新。
  15. 一种界面处理装置,包括:
    第四接收模块,设置为接收管理服务器发送的新版本的应用程序,其中,所述新版本应用程序的界面和/或操作描述文件是终端通过对当前机顶盒的应用程序的界面和/或应用程序的操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,所述新版本的应用程序是所述应用服务器根据新的应用程序的界面和/或操作描述文件编译代码生成;
    升级模块,设置为根据所述新版本的应用程序对所述机顶盒应用程序的进行升级。
  16. 一种界面处理***,包括:终端、应用服务器、管理服务器和机顶盒;
    所述终端与所述应用服务器通过广域网连接,所述应用服务器与所述管理服务器通过专网或者广域网连接,所述管理服务器与所述机顶盒通过专网或者广域网连接;
    所述机顶盒将存储的应用程序的界面和/或应用程序的操作描述文件上传到所述应用服务器,并从所述管理服务器下载新的应用程序版本对所述机顶盒进行升级;
    所述终端对从所述应用服务器上下载的应用程序的界面和业务逻辑进行自定义修改生成新的应用程序的界面和/或新的操作描述文件,上传到所述应用服务器;
    所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件编译整套代码生成新版本的应用程序;
    所述管理服务器接收应用服务器编译的所述新版本的应用程序,根据所述管理服务器部署的更新策略,通知一台或多台目标机顶盒进行所述描述文件的更新;
    所述终端包括权利要求12所述的装置;
    所述应用服务器包括权利要求13所述的装置;
    所述管理服务器包括权利要求14所述的装置;
    所述机顶盒包括权利要求15所述的装置。
PCT/CN2016/077130 2015-03-25 2016-03-23 界面处理方法、装置及*** WO2016150387A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510134316.4 2015-03-25
CN201510134316.4A CN106162344A (zh) 2015-03-25 2015-03-25 界面处理方法、装置及***

Publications (1)

Publication Number Publication Date
WO2016150387A1 true WO2016150387A1 (zh) 2016-09-29

Family

ID=56976969

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/077130 WO2016150387A1 (zh) 2015-03-25 2016-03-23 界面处理方法、装置及***

Country Status (2)

Country Link
CN (1) CN106162344A (zh)
WO (1) WO2016150387A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199097A (zh) * 2020-10-13 2021-01-08 深圳市广和通无线股份有限公司 安装包生成方法、装置、计算机设备和存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109905739A (zh) * 2017-12-07 2019-06-18 北京雷石天地电子技术有限公司 机顶盒用户界面的更新方法、装置和***
CN108304113B (zh) * 2017-12-28 2020-11-06 深圳市创梦天地科技股份有限公司 一种界面交互配置方法及终端
CN108897542A (zh) * 2018-04-24 2018-11-27 北京奇艺世纪科技有限公司 一种软件工程调整方法、装置及电子设备
CN109324857B (zh) * 2018-09-07 2021-10-08 腾讯科技(武汉)有限公司 一种用户引导实现方法、装置和存储介质
CN111338643A (zh) * 2020-02-26 2020-06-26 北京思特奇信息技术股份有限公司 一种跨主机跨网络同步代码的方法和***

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558666A (zh) * 2004-01-20 2004-12-29 大唐微电子技术有限公司 机顶盒设备的个性化定制***及方法
US20060061779A1 (en) * 2004-09-21 2006-03-23 Microsoft Corporation System and method for editing ink objects
CN1969272A (zh) * 2004-07-08 2007-05-23 微软公司 自动生成内容的导入
CN101212599A (zh) * 2006-12-31 2008-07-02 深圳市同洲电子股份有限公司 一种数字电视用户界面管理***及管理方法
CN104252356A (zh) * 2013-06-28 2014-12-31 腾讯科技(深圳)有限公司 生成界面的方法和***

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080092052A1 (en) * 2006-10-12 2008-04-17 Motorola, Inc. Method and system for customizing multiple user interfaces mapped to functions
CN101958933A (zh) * 2010-09-27 2011-01-26 深圳市同洲电子股份有限公司 终端软件升级的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558666A (zh) * 2004-01-20 2004-12-29 大唐微电子技术有限公司 机顶盒设备的个性化定制***及方法
CN1969272A (zh) * 2004-07-08 2007-05-23 微软公司 自动生成内容的导入
US20060061779A1 (en) * 2004-09-21 2006-03-23 Microsoft Corporation System and method for editing ink objects
CN101212599A (zh) * 2006-12-31 2008-07-02 深圳市同洲电子股份有限公司 一种数字电视用户界面管理***及管理方法
CN104252356A (zh) * 2013-06-28 2014-12-31 腾讯科技(深圳)有限公司 生成界面的方法和***

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199097A (zh) * 2020-10-13 2021-01-08 深圳市广和通无线股份有限公司 安装包生成方法、装置、计算机设备和存储介质
CN112199097B (zh) * 2020-10-13 2024-01-05 深圳市广和通无线股份有限公司 安装包生成方法、装置、计算机设备和存储介质

Also Published As

Publication number Publication date
CN106162344A (zh) 2016-11-23

Similar Documents

Publication Publication Date Title
WO2016150387A1 (zh) 界面处理方法、装置及***
WO2016150386A1 (zh) 界面处理方法、装置及***
JP6253110B2 (ja) インストールされたアプリケーションのリソースを更新するためのアプリケーションキャッシュの利用
ES2922476T3 (es) Editor de aplicaciones web interactivo
US9430225B2 (en) Software update service method and apparatus for mobile terminal
WO2016150390A1 (zh) 界面处理方法、装置及***
CN102801755B (zh) 一种应用的管理方法和一种应用平台
WO2017193612A1 (zh) 使用移动终端对电器设备进行操控的设备、***和方法
WO2016150388A1 (zh) 界面处理方法、装置及***
WO2016150389A1 (zh) 界面处理方法、装置及***
US20130159892A1 (en) Non-technical creation of mobile web applications
CN107305553B (zh) 一种基于Hybrid App中动态跳转Hybrid页面的方法及***
US11716244B2 (en) Data driven user interface for configuring device settings
US20150379030A1 (en) Platform integrating method and system for adapting third-party web page in application
WO2018033094A1 (zh) 富通信套件发布平台、版本更新方法及***、移动终端
US20150113504A1 (en) Virtual hybrid application
WO2016000375A1 (zh) Osd主题文件获取、提供方法、装置及更新***
US10367689B2 (en) Monitoring internet usage on home networks of panelist users
JP6587997B2 (ja) タイムマシン機能のためのスライディングウィンドウ管理方法およびシステム
US20190377616A1 (en) Player software architecture
WO2020260858A1 (en) System, apparatus and method for controlling networked devices
WO2023020071A1 (zh) 一种升级包的获取方法及智能设备
JP2001273147A (ja) 情報配布方法、情報配布システム、情報配布サーバ、端末機器および記録媒体
CN112910956B (zh) 一种资源创建方法、装置及电子设备
CN103533446A (zh) 一种推送图片至视频播放设备的方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16767764

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16767764

Country of ref document: EP

Kind code of ref document: A1