WO2016150389A1 - Interface processing method, device and system - Google Patents

Interface processing method, device and system Download PDF

Info

Publication number
WO2016150389A1
WO2016150389A1 PCT/CN2016/077132 CN2016077132W WO2016150389A1 WO 2016150389 A1 WO2016150389 A1 WO 2016150389A1 CN 2016077132 W CN2016077132 W CN 2016077132W WO 2016150389 A1 WO2016150389 A1 WO 2016150389A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
new
interface
description file
top box
Prior art date
Application number
PCT/CN2016/077132
Other languages
French (fr)
Chinese (zh)
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 WO2016150389A1 publication Critical patent/WO2016150389A1/en

Links

Images

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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations

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 of the set top box; and generating the description file according to the description file Corresponding one or more controls; receiving an edit instruction for attributes and/or business logic of the control, editing the control according to the edit instruction, generating a new application interface and/or a new operation description file Sending an interface of the new application and/or a new operation description file to the application server.
  • the method after the generating an interface and/or an operation description file of a new application, the method includes: corresponding to a network link in an interface of the new application and/or an operation description file The picture 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 sending an interface of an application of a stored set top box and/or an operation description file of an application of the set top box to the terminal; the application server receiving An edited interface of the new application and/or a new operation description file, wherein the interface of the new application and/or the new operation description file is the set top box of the terminal stored by the application server Description file corresponding control
  • the attribute and/or business logic is edited and generated; 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; the application server is configured according to the setting or the location of the terminal
  • the update policy of the application server deployment, and the corresponding application of one or more target set-top boxes is notified to upgrade the new version.
  • the application server compiling and generating a new version of the application according to the interface of the new application and/or a new operation includes: the application server is configured according to the interface of the new application / or a new operation description file that 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 further includes: the application server outputting the new version.
  • the application is docked to a third-party application server.
  • the application comprises: an apk application of Android.
  • an interface processing method including: sending an interface of an application of a current set top box and/or an operation description file of an application to an application server; receiving a new version sent by the application server An application, wherein the interface and/or operation description file of the new version application is edited by the terminal by using an interface of the current set top box application and/or an attribute of the operation description file corresponding to the control and/or business logic Generating, the new version of the application is that the application server compiles a new application interface and/or a new operation description file; and upgrades the set top box application according to the new version of the application.
  • the method before receiving the new version of the application sent by the application server, the method further includes: comparing the new application version number with a version number of the local application, in the new If the application version number is higher than the local version number, download the new version of the application.
  • an interface processing apparatus including: an obtaining module, configured to acquire an interface of an application of a set top box on an application server, and/or an operation description file of an application of the set top box; and a generating module, Is configured to generate one or more controls corresponding to the description file 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, according to the editing instruction The control is edited to generate an interface of the new application and/or a new operation description file; the first sending module is 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 sending module, configured to send an interface of an application of the stored set top box and/or an operation description file of the application of the set top box to the application server to a terminal; an editing module configured to receive, by the application server, an interface of the edited new application and/or a new operation description file, wherein the interface of the new application and/or the new operation description file is The terminal generates and edits the attribute and/or service logic of the description file corresponding to the set top box stored by the application server; the overlay module is set to be the interface of the application server according to the new application and/or new The operation is compiled to generate a new version of the application; the first upgrade module is configured to be executed by the application server according to the setting of the terminal or the update policy deployed by the application server, and the corresponding application of the one or more target set-top boxes notified Upgrade of the new version.
  • a second sending module configured to send an interface of an application of the stored set top box and/or an operation description file of the application of the set top box to
  • an interface processing apparatus including: a third sending module, configured to send an interface of an application of a current set top box and/or an operation description file of an application to an application server; An acceptance module configured to receive a new version of the application sent by the application server, wherein the interface and/or operation description file of the new version application is an interface of the terminal through an application of the current set top box and/or The operation description file is edited and generated corresponding to the attribute and/or business logic of the control, and the new version of the application is that the application server compiles the interface of the new application and/or the new operation description file; the second upgrade module , being set 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, and a set top box; the terminal and the application server are connected through a wide area network, and the application server and the set top box pass a private network.
  • the set top box uploads an interface of the current application and/or an operation description file to the application server, and downloads the latest application version from the application server to upgrade the set top box; Customizing the interface and business logic of the application downloaded from the application server to generate a new application interface and/or an operation description file, uploading to the application server; the application server is based on the new application The interface of the program and/or the operating description file is compiled to generate a new version of the application; the terminal comprises the apparatus described above; the application server comprises the apparatus described above, and the set top box comprises the apparatus described above.
  • an operation description file of an application for acquiring an application of a set top box on the application server and/or an application of the set top box; generating one or more controls corresponding to the description file according to the description file; receiving the attribute of the control and / or editing instructions of the business logic, according to the editing instruction to edit the control to generate a new application interface and / or a new operation description file; send the new application interface and / or a new operation description file to
  • the application server 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.
  • 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 block diagram 1 of an interface processing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a second structural block diagram of an interface processing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram 3 of an interface processing apparatus according to an embodiment of the present invention.
  • FIG. 7 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. 8 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 acquiring an interface of an application of the set top box on the application server and/or an operation description file of the application of the set top box;
  • Step S104 generating one or more controls corresponding to the description file 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 the application of the set top box on the application server and/or an operation description file of the application of the set top box, and receives the attribute and/or business logic of the control according to one or more controls generated by the description file.
  • Editing instructions, and editing the control according to the editing instruction to generate a new description file the terminal sends a new new application interface and/or a new operation description file to the application server, and the application server to the set top box application
  • the upgrade solves the problem that the program interface and operation of the set-top box are complicated, and the use is inconvenient, 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 operation description file is sent to the application server.
  • the edit command of the property and/or the business logic of the control may be in various manners, and may be received through a touch screen or a physical button, or may be received by other sensors or remote controllers, where Receiving may include: receiving a drag command for the position and size of the control; receiving a replacement instruction for the skin and the map of the control; receiving a service edit instruction for clicking and long pressing the control.
  • FIG. 2 is a second flowchart 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 sends the stored interface of the application of the set top box and/or the operation description file of the application of the set top box to the terminal;
  • Step S204 the application server receives an interface of the edited new application and/or a new operation description file, wherein the interface of the new application and/or the new operation description file is the terminal through the application server
  • the description file of the stored set top box is edited and generated corresponding to the attribute and/or business logic of the control;
  • Step S206 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;
  • step S208 the application server performs an upgrade of the new version according to the setting of the terminal or the update policy deployed by the application server, and the application corresponding to the one or more target set-top boxes notified.
  • the application server sends the stored application interface of the set top box and/or the operation description file of the application of the set top box to the terminal, and the application server receives the interface of the edited new application and/or a new operation description file. And compiling a new version of the application according to the interface and/or new operation of the new application, the application server notifying one or more target set top boxes according to the setting of the terminal or the update policy deployed by the application server.
  • the corresponding application is upgraded with a new version, and the application server generates a new version of the application according to the interface of the new application and/or the new operation description file, and sends the application to the target set-top box according to the request, thereby solving the program interface of the set-top box.
  • the operation is complicated and the use is inconvenient, which improves the convenience of 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 application server After 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, the application server outputs the new version of the application to the third-party application server for docking. Therefore, the application is shared, and other set-top boxes can also be downloaded and updated.
  • the application in the above embodiment may be an APP application of OSI or an apk application of 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 sending an interface of an application of the current set top box and/or an operation description file of the application to the application server;
  • Step S304 receiving a new version of the application sent by the application server, where the interface and/or 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 an operation description file corresponding control
  • the attribute and/or business logic is edited and generated.
  • the new version of the application is that the application server compiles the new application interface and/or the new operation description file;
  • Step S306 the set top box application is upgraded according to the new version of the application.
  • the set top box sends the interface of the application of the current set top box and/or the operation description file of the application to the application server, and receives the new version of the application sent by the application server, and the new version of the application is the application server.
  • the new application interface and/or the new operation description file are compiled and generated; the set-top box application is upgraded according to the new version of the application, and the program interface and operation of the set-top box are complicated, and the problem of inconvenient use is improved. The convenience of the user.
  • the method before upgrading the new version, it is necessary to determine whether it is the latest version.
  • There are many methods for determining whether it is the latest version for example, an application server notification method or a set top box timing request may be used.
  • the method Before receiving the new version of the application sent by the application server, the method further comprises: comparing the new application version number with a version number of the local application, where the new application version number is higher than the local version number In case, download 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. 4 is a block diagram showing the structure of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes
  • the obtaining module 42 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 of the set top box;
  • the generating module 44 is configured to generate one or more controls corresponding to the description file according to the description file;
  • the first receiving module 46 is configured to receive an editing instruction of the property and/or the 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 48 is configured to send an interface of the new application and/or a new operation description file to the application server.
  • the obtaining module 42 acquires an interface of an application of the set top box on the application server and/or an operation description file of the application of the set top box, and the generating module 44 generates one or more controls corresponding to the description file according to the description file;
  • the receiving module 46 receives an editing instruction for the attribute and/or business logic of the control, and edits the control according to the editing instruction to generate a new application interface and/or a new operation description file, and the first sending module 48 sends the The new application interface and/or new operation description file is given to the application server, which 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.
  • FIG. 5 is a structural block diagram 2 of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes:
  • the second sending module 52 is configured to send, by the application server, an interface of the stored application of the set top box and/or an operation description file of the application of the set top box to the terminal;
  • the editing module 54 is configured to receive, by the application server, an interface of the edited new application and/or a new operation description file, wherein the interface of the new application and/or the new operation description file is that the terminal passes the pair
  • the description file of the set top box stored by the application server is edited and generated corresponding to the attribute and/or business logic of the control;
  • the overlay module 56 is configured to: 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;
  • the first upgrade module 58 is configured to upgrade the new version of the application corresponding to one or more target set-top boxes notified by the application server according to the setting of the terminal or the update policy deployed by the application server.
  • the second sending module 52 sends the stored interface of the application of the set top box and/or the operation description file of the application of the set top box to the terminal;
  • the editing module 54 receives the interface of the edited new application and/or new An operation description file,
  • the overlay module 56 compiles and generates a new version of the application according to the interface of the new application and/or a new operation, and
  • the first upgrade module 58 notifies according to the setting of the terminal or the update policy of the application server deployment.
  • the application corresponding to one or more target set-top boxes is upgraded with a new version, which 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.
  • FIG. 6 is a structural block diagram 3 of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes:
  • the third sending module 62 is configured to send an interface of an application of the current set top box and/or an operation description file of the application to the application server;
  • the second receiving module 64 is configured to receive a new version of the application sent by the application 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 is edited and generated by the attribute and/or business logic of the control, and the new version of the application is that the application server compiles the interface of the new application and/or the new operation description file;
  • the second upgrade module 66 is configured to upgrade the set top box application according to the new version of the application.
  • the third sending module 62 sends an interface of the application of the current set top box and/or an operation description file of the application to the application server, and the second receiving module 64 receives the new version of the application sent by the application server, and the second upgrade
  • the module 66 upgrades the set top box application according to the new version of the application program, 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.
  • an interface processing system including: a terminal, an application server, and a set top box; the terminal is connected to the application server through a wide area network, and the application server is connected to the set top box through a private network or a wide area network; the set top box Uploading the interface and/or operation description file of the current application to the application server, and downloading the latest application version from the application server to upgrade the set top box; the interface of the terminal to the application downloaded from the application server Customizing and modifying the business logic to generate a new application interface and/or operation description file, uploading to the application server; the application server compiling and generating a new version of the application according to the interface and/or operation description file of the new application a program comprising: the apparatus described above; the application server comprising the apparatus described above; the set top box comprising the apparatus described above.
  • the preferred embodiment proposes a method and system for customizing dynamic modification of the set top box application interface and business process in real time by the user by simply dragging and clicking on the screen of the mobile terminal.
  • the mobile terminal in the present invention is not limited to a smart phone, but 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, sends the edited corresponding description file to the application server, and specifies the target set top box that needs to update the application version.
  • 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. Then notify the target set-top box to download the updated application file.
  • the target smart set-top box is interconnected with the application server via a network.
  • the set-top box downloads a new version of the application from the application server to cover the old version of the application on the set-top box, launching and displaying the new application.
  • the preferred embodiment changes the implementation of the application interface and services by dynamically interpreting the configuration file.
  • the set-top box obtains the updated complete application.
  • the application (using the Android system's APK application as an example) is free to install and deploy on the corresponding smart set-top box, upgrade and replace, open and close the application in a standard way, and apply the package. Good performance; faster than dynamically interpreting configuration files.
  • 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) application. The application server then 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 settings of the mobile terminal or the update policy deployed by itself.
  • Step 6 The set top box is connected to the application server to determine 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 7 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. Moreover, the user of the mobile terminal can simultaneously update the interface and service operation of the specified one or more target set top boxes at a time.
  • the mobile terminal is a big 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 set top box are through a private network (such as an IPTV private network) or
  • the WAN public network
  • the IPTV private network is taken as an example.
  • the mobile phone and the set-top box may not communicate with each other.
  • An OTT video client application has been deployed on the smart set-top box to display the video programs provided on the media content server side.
  • the mobile client is used to dynamically customize and update the interface of the set top box video application.
  • FIG. 7 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.
  • the application server spans two network planes of a public network and an IPTV private network; and the mobile phone and the application server exchange and file through HTTP messages. Delivery; the application server interacts with the set-top box through TCP messages and transfers files via the ftp protocol.
  • FIG. 8 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. 8, the implementation steps are as follows:
  • Step S801 The mobile phone client initiates an Http request to the application server, and requests a current description file of the current set top box video application interface and operation.
  • Step S802 The mobile client downloads the latest xml description file from the management server by using an Http GET method.
  • Step S803 The mobile phone client (application editing module) displays the style and layout of each control component 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 S804 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 S805 the mobile phone client application editing module generates an xml description file of the current edit 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; the coordinate value and the 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 806 The mobile client encapsulates the generated xml description file with the newly added movie poster image, and uploads it to the application server by using the Http POST method.
  • Step S807 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 file.
  • Step S808 The application server notifies one or more target set-top boxes according to the target set-top box selected by the mobile phone client or the set-top box update policy deployed by the server, the application file is updated, the software version needs to be upgraded, and the current application is included in the notification message. Software version number.
  • Step S809 After receiving the notification message that the software version needs to be updated and upgraded, 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 application server, downloads the updated application installation file, and replaces the original application installation file of the set top box.
  • Step S810 after completing the step S809, 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 application server compiled in the present invention Since the application server compiled in the present invention generates a complete APK application, it has good encapsulation and greatly improves the scalability of the system.
  • the target set-top box can be installed and updated as long as it is a universal Android set-top box.
  • the set-top box does not need to preset any interface generation or configuration explanation module, that is, the application customized by the mobile terminal can be conveniently used for the third-party smart set-top box. .
  • the current page has a number of specialized smart set-top box application markets (such as Chiper market, Dangbei market), and the application server output is labeled APK application, which can be easily combined with third parties.
  • the application server (application market) is docked, which greatly increases the system scalability.
  • the preferred embodiment can facilitate the promotion, deployment, and upgrade of the application program by reasonable deformation.
  • a mobile terminal can be used to extensively update applications on third party set top boxes, as in the preferred embodiment below.
  • the preferred embodiment also provides a preferred embodiment.
  • Step S908 After the application server compiles and generates the apk application file, it actively uploads to the designated smart set top box application market, and updates the software version of the application in the application market.
  • Step S909 the Android smart set top box installed with the application through the application market will receive the notification of the application software version update. Users can update the new version of the app from the app market as they wish.
  • Step S910 is the same as step S810 in the first embodiment.
  • 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.
  • 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.
  • 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 of the set top box are acquired; and one or more controls corresponding to the description file are generated according to the description file; Editing the control's attributes and/or business logic, editing the control according to the edit command to generate a new application interface and/or a new operation description file; sending the new application interface and/or The new operation description file is given to the application server, which 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.

Abstract

The present invention provides an interface processing method, device and system, wherein the method comprises: acquiring an interface of an application program of a set-top box on an application server and/or an operation description file of the application program of the set-top box; generating, according to the description file, one or more controls corresponding to the description file; receiving an editing instruction for attributes and/or business logic of the controls, and editing, according to the editing instruction, the controls to generate a new interface of the application program and/or a new operation description file; and sending the new interface of the application program and/or the new operation description file to the application server. The problems of complexity in the program interface and operation of a set-top box and inconvenience in use are solved, and the convenience of user use is improved.

Description

界面处理方法、装置及系统Interface processing method, device and system 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种界面处理方法、装置及系统。The present invention relates to the field of communications, and in particular to an interface processing method, apparatus, and system.
背景技术Background technique
随着移动互联网的迅猛发展和OTT(Over The TOP)/IPTV机顶盒的大规模面世,以智能手机/Pad为代表的多屏移动终端与OTT机顶盒之间的交互成为较为热门的终端互动方式。With the rapid development of the mobile Internet and the large-scale launch of the OTT (Over The TOP)/IPTV set-top box, the interaction between the multi-screen mobile terminal represented by the smart phone/Pad and the OTT set-top box has become a popular terminal interaction mode.
OTT机顶盒尤其Android机顶盒的应用以及机顶盒自身的界面(Launcher)样式已经非常绚丽,而且随着用户行为分析、大数据等技术的日趋成熟,机顶盒的界面和操作越来越复杂,用户操作的电视栏目列表以及使用较为频繁的应用快捷方式越来越多,在相关技术中,还不能提供自定义,个性化的用户操作界面和业务处理方式。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.
针对相关技术中机顶盒的程序界面和操作复杂,使用不方便的问题,目前尚未提出有效的解决方案。In view of the complicated program interface and operation of the set top box in the related art, and the inconvenient use problem, an effective solution has not been proposed yet.
发明内容Summary of the invention
针对相关技术中机顶盒的程序界面和操作复杂,使用不方便的问题,本发明提供了一种界面处理方法、装置及系统,以至少解决上述问题。In view of the complicated program interface and operation of the set top box in the related art, the present invention provides an interface processing method, device and system to solve at least the above problems.
根据本发明的一个实施例,提供了一种界面处理方法,包括:获取应用服务器上机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件;根据所述描述文件生成所述描述文件对应的一个或多个控件;接收对所述控件的属性和/或业务逻辑的编辑指令,根据所述编辑指令对所述控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;发送所述新的应用程序的界面和/或新的操作描述文件给所述应用服务器。According to an embodiment of the present invention, an interface processing method is provided, 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 of the set top box; and generating the description file according to the description file Corresponding one or more controls; receiving an edit instruction for attributes and/or business logic of the control, editing the control according to the edit instruction, generating a new application interface and/or a new operation description file Sending an interface of the new application and/or a new operation description file to the application server.
在本发明的实施例中,所述生成新的应用程序的界面和/或操作描述文件之后,所述方法包括:将所述新的应用程序的界面和/或操作描述文件中网络链接对应的图片发送给所述应用服务器。In an embodiment of the present invention, after the generating an interface and/or an operation description file of a new application, the method includes: corresponding to a network link in an interface of the new application and/or an operation description file The picture is sent to the application server.
在本发明的实施例中,所述接收对所述控件的属性和/或业务逻辑的编辑指令包括以下至少之一:接收对所述控件位置、大小的拖拽指令;接收对所述控件的皮肤、贴图的替换指令;接收对所述控件的点击、长按的业务编辑指令。In an embodiment of the invention, 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.
根据本发明的另一个实施例,还提供了一种界面处理方法,包括:应用服务器发送存储的机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件给终端;所述应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,所述新的应用程序的界面和/或新的操作描述文件是所述终端通过对所述应用服务器存储的机顶盒的描述文件对应控件 的属性和/或业务逻辑进行编辑生成;所述应用服务器根据所述新的应用程序的界面和/或新的操作编译生成新版本的应用程序;所述应用服务器根据所述终端的设置或者所述应用服务器部署的更新策略,通知的一台或多台目标机顶盒对应的应用程序进行新版本的升级。According to another embodiment of the present invention, there is also provided an interface processing method, comprising: an application server sending an interface of an application of a stored set top box and/or an operation description file of an application of the set top box to the terminal; the application server receiving An edited interface of the new application and/or a new operation description file, wherein the interface of the new application and/or the new operation description file is the set top box of the terminal stored by the application server Description file corresponding control The attribute and/or business logic is edited and generated; 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; the application server is configured according to the setting or the location of the terminal The update policy of the application server deployment, and the corresponding application of one or more target set-top boxes is notified to upgrade the new version.
在本发明的实施例中,所述应用服务器根据所述新的应用程序的界面和/或新的操作编译生成新版本的应用程序包括:所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件覆盖对应应用程序的代码文件夹,并编译整套代码生成新版本的应用程序。In an embodiment of the present invention, the application server compiling and generating a new version of the application according to the interface of the new application and/or a new operation includes: the application server is configured according to the interface of the new application / or a new operation description file that overwrites the code folder of the corresponding application and compiles the entire set of code to generate a new version of the application.
在本发明的实施例中,述应用服务器根据所述新的应用程序的界面和/或新的操作编译生成新版本的应用程序之后,所述方法还包括:所述应用服务器输出所述新版本的应用程序到第三方应用服务器进行对接。In an embodiment of the present invention, after 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, the method further includes: the application server outputting the new version. The application is docked to a third-party application server.
在本发明的实施例中,所述应用程序包括:Android的apk应用程序。In an embodiment of the invention, the application comprises: an apk application of Android.
根据本发明的再一个实施例,还提供了一种界面处理方法,包括:发送当前机顶盒的应用程序的界面和/或应用程序的操作描述文件给应用服务器;接收所述应用服务器发送的新版本的应用程序,其中,所述新版本应用程序的界面和/或操作描述文件是终端通过对所述当前机顶盒的应用程序的界面和/或操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,所述新版本的应用程序是所述应用服务器将新的应用程序的界面和/或新的操作描述文件编译生成;根据所述新版本的应用程序对所述机顶盒应用程序的进行升级。According to still another embodiment of the present invention, an interface processing method is further provided, including: sending an interface of an application of a current set top box and/or an operation description file of an application to an application server; receiving a new version sent by the application server An application, wherein the interface and/or operation description file of the new version application is edited by the terminal by using an interface of the current set top box application and/or an attribute of the operation description file corresponding to the control and/or business logic Generating, the new version of the application is that the application server compiles a new application interface and/or a new operation description file; and upgrades the set top box application according to the new version of the application.
在本发明的实施例中,在接收所述应用服务器发送的新版本的应用程序之前,所述方法还包括:对比所述新的应用程序版本号与本地应用程序的版本号,在所述新的应用程序版本号高于本地版本号的情况下,下载所述新版本的应用程序。In an embodiment of the present invention, before receiving the new version of the application sent by the application server, the method further includes: comparing the new application version number with a version number of the local application, in the new If the application version number is higher than the local version number, download the new version of the application.
根据本发明的再一个实施例,还提供了一种界面处理装置,包括:获取模块,设置为获取应用服务器上机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件;生成模块,设置为根据所述描述文件生成所述描述文件对应的一个或多个控件;第一接收模块,设置为接收对所述控件的属性和/或业务逻辑的编辑指令,根据所述编辑指令对所述控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;第一发送模块,设置为发送所述新的应用程序的界面和/或新的操作描述文件给所述应用服务器。According to still another embodiment of the present invention, an interface processing apparatus is further provided, including: an obtaining module, configured to acquire an interface of an application of a set top box on an application server, and/or an operation description file of an application of the set top box; and a generating module, Is configured to generate one or more controls corresponding to the description file 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, according to the editing instruction The control is edited to generate an interface of the new application and/or a new operation description file; the first sending module is configured to send the interface of the new application and/or a new operation description file to the application server.
根据本发明的再一个实施例,还提供了一种界面处理装置,包括:第二发送模块,设置为应用服务器发送存储的机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件给终端;编辑模块,设置为所述应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,所述新的应用程序的界面和/或新的操作描述文件是所述终端通过对所述应用服务器存储的机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;覆盖模块,设置为所述应用服务器根据所述新的应用程序的界面和/或新的操作编译生成新版本的应用程序;第一升级模块,设置为所述应用服务器根据所述终端的设置或者所述应用服务器部署的更新策略,通知的一台或多台目标机顶盒对应的应用程序进行新版本的升级。 According to still another embodiment of the present invention, an interface processing apparatus is further provided, including: a second sending module, configured to send an interface of an application of the stored set top box and/or an operation description file of the application of the set top box to the application server to a terminal; an editing module configured to receive, by the application server, an interface of the edited new application and/or a new operation description file, wherein the interface of the new application and/or the new operation description file is The terminal generates and edits the attribute and/or service logic of the description file corresponding to the set top box stored by the application server; the overlay module is set to be the interface of the application server according to the new application and/or new The operation is compiled to generate a new version of the application; the first upgrade module is configured to be executed by the application server according to the setting of the terminal or the update policy deployed by the application server, and the corresponding application of the one or more target set-top boxes notified Upgrade of the new version.
根据本发明的再一个实施例,还提供了一种界面处理装置,包括:第三发送模块,设置为发送当前机顶盒的应用程序的界面和/或应用程序的操作描述文件给应用服务器;第二接受模块,设置为接收所述应用服务器发送的新版本的应用程序,其中,所述新版本应用程序的界面和/或操作描述文件是终端通过对所述当前机顶盒的应用程序的界面和/或操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,所述新版本的应用程序是所述应用服务器将新的应用程序的界面和/或新的操作描述文件编译生成;第二升级模块,设置为根据所述新版本的应用程序对所述机顶盒应用程序的进行升级。According to still another embodiment of the present invention, an interface processing apparatus is further provided, including: a third sending module, configured to send an interface of an application of a current set top box and/or an operation description file of an application to an application server; An acceptance module configured to receive a new version of the application sent by the application server, wherein the interface and/or operation description file of the new version application is an interface of the terminal through an application of the current set top box and/or The operation description file is edited and generated corresponding to the attribute and/or business logic of the control, and the new version of the application is that the application server compiles the interface of the new application and/or the new operation description file; the second upgrade module , being set to upgrade the set top box application according to the new version of the application.
根据本发明的再一个实施例,还提供了一种界面处理系统,包括:终端、应用服务器和机顶盒;所述终端与所述应用服务器通过广域网连接,所述应用服务器与所述机顶盒通过专网或者广域网连接;所述机顶盒将当前的应用程序的界面和/或操作描述文件上传到所述应用服务器,并从所述应用服务器下载最新的应用程序版本对所述机顶盒进行升级;所述终端对从所述应用服务器上下载的应用程序的界面和业务逻辑进行自定义修改生成新的应用程序的界面和/或操作描述文件,上传到所述应用服务器;所述应用服务器根据所述新的应用程序的界面和/或操作描述文件编译生成新版本的应用程序;所述终端包括上述的装置;所述应用服务器包括上述的装置,所述机顶盒包括上述的装置。According to still another embodiment of the present invention, an interface processing system is further provided, including: a terminal, an application 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 set top box pass a private network. Or a wide area network connection; the set top box uploads an interface of the current application and/or an operation description file to the application server, and downloads the latest application version from the application server to upgrade the set top box; Customizing the interface and business logic of the application downloaded from the application server to generate a new application interface and/or an operation description file, uploading to the application server; the application server is based on the new application The interface of the program and/or the operating description file is compiled to generate a new version of the application; the terminal comprises the apparatus described above; the application server comprises the apparatus described above, and the set top box comprises the apparatus described above.
通过本发明,采用获取应用服务器上机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件;根据该描述文件生成该描述文件对应的一个或多个控件;接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。Through the present invention, an operation description file of an application for acquiring an application of a set top box on the application server and/or an application of the set top box; generating one or more controls corresponding to the description file according to the description file; receiving the attribute of the control and / or editing instructions of the business logic, according to the editing instruction to edit the control to generate a new application interface and / or a new operation description file; send the new application interface and / or a new operation description file to The application server 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.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的一种界面处理方法的流程图一;1 is a flowchart 1 of an interface processing method according to an embodiment of the present invention;
图2是根据本发明实施例的一种界面处理方法的流程图二;2 is a second flowchart of an interface processing method according to an embodiment of the present invention;
图3是根据本发明实施例的一种界面处理方法的流程图三;3 is a third flowchart of an interface processing method according to an embodiment of the present invention;
图4是根据本发明实施例的一种界面处理装置的结构框图一;4 is a block diagram 1 of an interface processing apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的一种界面处理装置的结构框图二;FIG. 5 is a second structural block diagram of an interface processing apparatus according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的一种界面处理装置的结构框图三;6 is a structural block diagram 3 of an interface processing apparatus according to an embodiment of the present invention;
图7是根据本发明优选实施例的机顶盒应用界面设计部署示意图;7 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;
图8是根据本发明优选实施例的使用移动终端动态设置机顶盒应用的时序示意图。 8 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.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种界面处理方法,图1是根据本发明实施例的一种界面处理方法的流程图一,如图1所示,该流程包括如下步骤:An interface processing method is provided in this embodiment. 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:
步骤S102,获取应用服务器上机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件;Step S102, acquiring an interface of an application of the set top box on the application server and/or an operation description file of the application of the set top box;
步骤S104,根据该描述文件生成该描述文件对应的一个或多个控件;Step S104, generating one or more controls corresponding to the description file according to the description file;
步骤S106,接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;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;
步骤S108,发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器。Step S108, sending an interface of the new application and/or a new operation description file to the application server.
通过上述步骤,终端获取应用服务器上机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件,根据该描述文件生成的一个或多个控件,接收对该控件的属性和/或业务逻辑的编辑指令,并根据该编辑指令对该控件进行编辑生成新描述文件,终端将新的新的应用程序的界面和/或新的操作描述文件给该应用服务器,应用服务器对机顶盒的应用程序的的升级,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。Through the above steps, the terminal acquires an interface of the application of the set top box on the application server and/or an operation description file of the application of the set top box, and receives the attribute and/or business logic of the control according to one or more controls generated by the description file. Editing instructions, and editing the control according to the editing instruction to generate a new description file, the terminal sends a new new application interface and/or a new operation description file to the application server, and the application server to the set top box application The upgrade solves the problem that the program interface and operation of the set-top box are complicated, and the use is inconvenient, thereby improving the convenience of the user.
在本实施例中,生成新的应用程序的界面和/或操作描述文件之后,在该描述文件中可以有相关图片的网络链接,终端可以发起网络请求,将该新的应用程序的界面和/或操作描述文件中网络链接对应的图片发送给该应用服务器。In this embodiment, after generating a new application interface and/or an operation description file, there may be a network link of the related image in the description file, and 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 operation description file is sent to the application server.
在本实施例中,对该控件的属性和/或业务逻辑的编辑指令可以有多种方式,可以通过触摸屏或者实体按键的接收编辑指令,也可以通过其他的传感器或者遥控器接收,其中指令的接收可以包括:接收对该控件位置、大小的拖拽指令;接收对该控件的皮肤、贴图的替换指令;接收对该控件的点击、长按的业务编辑指令。In this embodiment, the edit command of the property and/or the business logic of the control may be in various manners, and may be received through a touch screen or a physical button, or may be received by other sensors or remote controllers, where Receiving may include: receiving a drag command for the position and size of the control; receiving a replacement instruction for the skin and the map of the control; receiving a service edit instruction for clicking and long pressing the control.
在本实施例中还提供了一种界面处理方法,图2是根据本发明实施例的一种界面处理方法的流程图二,如图2所示,该流程包括如下步骤:An interface processing method is also provided in this embodiment. FIG. 2 is a second flowchart of an interface processing method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
步骤S202,应用服务器发送存储的机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件给终端;Step S202, the application server sends the stored interface of the application of the set top box and/or the operation description file of the application of the set top box to the terminal;
步骤S204,该应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,该新的应用程序的界面和/或新的操作描述文件是该终端通过对该应用服务器存储的机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成; Step S204, the application server receives an interface of the edited new application and/or a new operation description file, wherein the interface of the new application and/or the new operation description file is the terminal through the application server The description file of the stored set top box is edited and generated corresponding to the attribute and/or business logic of the control;
步骤S206,该应用服务器根据该新的应用程序的界面和/或新的操作编译生成新版本的应用程序;Step S206, 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;
步骤S208,该应用服务器根据该终端的设置或者该应用服务器部署的更新策略,通知的一台或多台目标机顶盒对应的应用程序进行新版本的升级。In step S208, the application server performs an upgrade of the new version according to the setting of the terminal or the update policy deployed by the application server, and the application corresponding to the one or more target set-top boxes notified.
通过上述步骤,应用服务器发送存储的机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件给终端,该应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,并根据该新的应用程序的界面和/或新的操作编译生成新版本的应用程序,该应用服务器根据该终端的设置或者该应用服务器部署的更新策略,通知的一台或多台目标机顶盒对应的应用程序进行新版本的升级,应用服务器根据新的应用程序的界面和/或新的操作描述文件生成了新版本的应用程序,并根据请求发送给了目标机顶盒,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。Through the above steps, the application server sends the stored application interface of the set top box and/or the operation description file of the application of the set top box to the terminal, and the application server receives the interface of the edited new application and/or a new operation description file. And compiling a new version of the application according to the interface and/or new operation of the new application, the application server notifying one or more target set top boxes according to the setting of the terminal or the update policy deployed by the application server The corresponding application is upgraded with a new version, and the application server generates a new version of the application according to the interface of the new application and/or the new operation description file, and sends the application to the target set-top box according to the request, thereby solving the program interface of the set-top box. The operation is complicated and the use is inconvenient, which improves the convenience of the user.
在本实施例中,该应用服务器根据该新的应用程序的界面和/或新的操作编译生成新版本的应用程序可以有多种方式,可以是重新进行编译,也可以是该应用服务器根据该新的应用程序的界面和/或新的操作描述文件覆盖对应应用程序的代码文件夹,并编译整套代码生成新版本的应用程序。In this embodiment, 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.
在本实施例中,该应用服务器根据该新的应用程序的界面和/或新的操作编译生成新版本的应用程序之后,该应用服务器输出该新版本的应用程序到第三方应用服务器进行对接。从而将该应用程序进行了分享,其他的机顶盒也可以下载进行更新,上述实施例中的应用程序可以是OSI的APP应用程序,也可以是Android的apk应用程序。In this embodiment, after 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, the application server outputs the new version of the application to the third-party application server for docking. Therefore, the application is shared, and other set-top boxes can also be downloaded and updated. The application in the above embodiment may be an APP application of OSI or an apk application of Android.
在本实施例中提供了一种界面处理方法,图3是根据本发明实施例的一种界面处理方法的流程图三,如图3所示,该流程包括如下步骤:An interface processing method is provided in this embodiment. 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:
步骤S302,发送当前机顶盒的应用程序的界面和/或应用程序的操作描述文件给应用服务器;Step S302, sending an interface of an application of the current set top box and/or an operation description file of the application to the application server;
步骤S304,接收该应用服务器发送的新版本的应用程序,其中,该新版本应用程序的界面和/或操作描述文件是终端通过对该当前机顶盒的应用程序的界面和/或操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,该新版本的应用程序是该应用服务器将新的应用程序的界面和/或新的操作描述文件编译生成;Step S304, receiving a new version of the application sent by the application server, where the interface and/or 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 an operation description file corresponding control The attribute and/or business logic is edited and generated. The new version of the application is that the application server compiles the new application interface and/or the new operation description file;
步骤S306,根据该新版本的应用程序对该机顶盒应用程序的进行升级。Step S306, the set top box application is upgraded according to the new version of the application.
通过上述步骤,机顶盒发送当前机顶盒的应用程序的界面和/或应用程序的操作描述文件给应用服务器,并接收该应用服务器发送的新版本的应用程序,该新版本的应用程序是该应用服务器将新的应用程序的界面和/或新的操作描述文件编译生成;根据该新版本的应用程序对该机顶盒应用程序的进行升级,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。 Through the above steps, the set top box sends the interface of the application of the current set top box and/or the operation description file of the application to the application server, and receives the new version of the application sent by the application server, and the new version of the application is the application server. The new application interface and/or the new operation description file are compiled and generated; the set-top box application is upgraded according to the new version of the application, and the program interface and operation of the set-top box are complicated, and the problem of inconvenient use is improved. The convenience of the user.
在本实施例中,在对新版本进行升级之前,要判断是否是最新的版本,判断是否是最新版本的方法有很多种,例如,可以采用应用服务器通知的方式,也可以是机顶盒定时的请求,在接收该应用服务器发送的新版本的应用程序之前,该方法还包括:对比该新的应用程序版本号与本地应用程序的版本号,在该新的应用程序版本号高于本地版本号的情况下,下载该新版本的应用程序。In this embodiment, before upgrading the new version, it is necessary to determine whether it is the latest version. There are many methods for determining whether it is the latest version, for example, an application server notification method or a set top box timing request may be used. Before receiving the new version of the application sent by the application server, the method further comprises: comparing the new application version number with a version number of the local application, where the new application version number is higher than the local version number In case, download the new version of the app.
在本实施例中还提供了一种界面处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, an interface processing device is also provided, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although 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.
图4是根据本发明实施例的一种界面处理装置的结构框图一,如图4所示,该装置包括4 is a block diagram showing the structure of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes
获取模块42,设置为获取应用服务器上机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件;The obtaining module 42 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 of the set top box;
生成模块44,设置为根据该描述文件生成该描述文件对应的一个或多个控件;The generating module 44 is configured to generate one or more controls corresponding to the description file according to the description file;
第一接收模块46,设置为接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;The first receiving module 46 is configured to receive an editing instruction of the property and/or the 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;
第一发送模块48,设置为发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器。The first sending module 48 is configured to send an interface of the new application and/or a new operation description file to the application server.
通过上述装置,获取模块42获取应用服务器上机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件,生成模块44根据该描述文件生成该描述文件对应的一个或多个控件;第一接收模块46接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件,第一发送模块48发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。Through the above device, the obtaining module 42 acquires an interface of an application of the set top box on the application server and/or an operation description file of the application of the set top box, and the generating module 44 generates one or more controls corresponding to the description file according to the description file; The receiving module 46 receives an editing instruction for the attribute and/or business logic of the control, and edits the control according to the editing instruction to generate a new application interface and/or a new operation description file, and the first sending module 48 sends the The new application interface and/or new operation description file is given to the application server, which 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.
图5是根据本发明实施例的一种界面处理装置的结构框图二,如图5所示,该装置包括:FIG. 5 is a structural block diagram 2 of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes:
第二发送模块52,设置为应用服务器发送存储的机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件给终端;The second sending module 52 is configured to send, by the application server, an interface of the stored application of the set top box and/or an operation description file of the application of the set top box to the terminal;
编辑模块54,设置为该应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,该新的应用程序的界面和/或新的操作描述文件是该终端通过对该应用服务器存储的机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;The editing module 54 is configured to receive, by the application server, an interface of the edited new application and/or a new operation description file, wherein the interface of the new application and/or the new operation description file is that the terminal passes the pair The description file of the set top box stored by the application server is edited and generated corresponding to the attribute and/or business logic of the control;
覆盖模块56,设置为该应用服务器根据该新的应用程序的界面和/或新的操作编译生成新版本的应用程序;The overlay module 56 is configured to: 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;
第一升级模块58,设置为该应用服务器根据该终端的设置或者该应用服务器部署的更新策略,通知的一台或多台目标机顶盒对应的应用程序进行新版本的升级。 The first upgrade module 58 is configured to upgrade the new version of the application corresponding to one or more target set-top boxes notified by the application server according to the setting of the terminal or the update policy deployed by the application server.
通过上述装置,第二发送模块52发送存储的机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件给终端;编辑模块54接收编辑后的新的应用程序的界面和/或新的操作描述文件,覆盖模块56根据该新的应用程序的界面和/或新的操作编译生成新版本的应用程序,第一升级模块58根据该终端的设置或者该应用服务器部署的更新策略,通知的一台或多台目标机顶盒对应的应用程序进行新版本的升级,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。Through the above device, the second sending module 52 sends the stored interface of the application of the set top box and/or the operation description file of the application of the set top box to the terminal; the editing module 54 receives the interface of the edited new application and/or new An operation description file, the overlay module 56 compiles and generates a new version of the application according to the interface of the new application and/or a new operation, and the first upgrade module 58 notifies according to the setting of the terminal or the update policy of the application server deployment. The application corresponding to one or more target set-top boxes is upgraded with a new version, which 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.
图6是根据本发明实施例的一种界面处理装置的结构框图三,如图6所示,该装置包括:FIG. 6 is a structural block diagram 3 of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes:
第三发送模块62,设置为发送当前机顶盒的应用程序的界面和/或应用程序的操作描述文件给应用服务器;The third sending module 62 is configured to send an interface of an application of the current set top box and/or an operation description file of the application to the application server;
第二接收模块64,设置为接收该应用服务器发送的新版本的应用程序,其中,该新版本应用程序的界面和/或操作描述文件是终端通过对该当前机顶盒的应用程序的界面和/或操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,该新版本的应用程序是该应用服务器将新的应用程序的界面和/或新的操作描述文件编译生成;The second receiving module 64 is configured to receive a new version of the application sent by the application 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 is edited and generated by the attribute and/or business logic of the control, and the new version of the application is that the application server compiles the interface of the new application and/or the new operation description file;
第二升级模块66,设置为根据该新版本的应用程序对该机顶盒应用程序的进行升级。The second upgrade module 66 is configured to upgrade the set top box application according to the new version of the application.
通过上述装置,第三发送模块62发送当前机顶盒的应用程序的界面和/或应用程序的操作描述文件给应用服务器,第二接受模块64接收该应用服务器发送的新版本的应用程序,第二升级模块66根据该新版本的应用程序对该机顶盒应用程序的进行升级,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。Through the above device, the third sending module 62 sends an interface of the application of the current set top box and/or an operation description file of the application to the application server, and the second receiving module 64 receives the new version of the application sent by the application server, and the second upgrade The module 66 upgrades the set top box application according to the new version of the application program, 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.
在本发明实施例中,还提供了一种界面处理系统,包括:终端、应用服务器和机顶盒;该终端与该应用服务器通过广域网连接,该应用服务器与该机顶盒通过专网或者广域网连接;该机顶盒将当前的应用程序的界面和/或操作描述文件上传到该应用服务器,并从该应用服务器下载最新的应用程序版本对该机顶盒进行升级;该终端对从该应用服务器上下载的应用程序的界面和业务逻辑进行自定义修改生成新的应用程序的界面和/或操作描述文件,上传到该应用服务器;该应用服务器根据该新的应用程序的界面和/或操作描述文件编译生成新版本的应用程序;该终端包括上述的装置;该应用服务器包括上述的装置;该机顶盒包括上述的装置。In an embodiment of the present invention, an interface processing system is further provided, including: a terminal, an application server, and a set top box; the terminal is connected to the application server through a wide area network, and the application server is connected to the set top box through a private network or a wide area network; the set top box Uploading the interface and/or operation description file of the current application to the application server, and downloading the latest application version from the application server to upgrade the set top box; the interface of the terminal to the application downloaded from the application server Customizing and modifying the business logic to generate a new application interface and/or operation description file, uploading to the application server; the application server compiling and generating a new version of the application according to the interface and/or operation description file of the new application a program comprising: the apparatus described above; the application server comprising the apparatus described above; the set top box comprising the apparatus described above.
下面结合优选实施例和实施方式对本发明进行详细说明。The invention will now be described in detail in conjunction with the preferred embodiments and embodiments.
本优选实施例提出一种由用户通过简单拖拽、点击移动终端屏幕,实时完成机顶盒应用界面和业务流程的自定义动态修改的方法和系统。本发明中的移动终端不仅仅局限于智能手机,也可以Pad等其他终端设备。The preferred embodiment proposes a method and system for customizing dynamic modification of the set top box application interface and business process in real time by the user by simply dragging and clicking on the screen of the mobile terminal. The mobile terminal in the present invention is not limited to a smart phone, but 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, sends the edited corresponding description file to the application server, and specifies the target set top box that needs to update the application version. 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. Then notify the target set-top box to download the updated application file.
目标智能机顶盒与应用服务器通过网络互联。机顶盒从应用服务器上下载新版本的应用程序覆盖机顶盒上原有的老版本应用,启动并展示新应用。The target smart set-top box is interconnected with the application server via a network. The set-top box downloads a new version of the application from the application server to cover the old version of the application on the set-top box, launching and displaying the new application.
本优选实施例通过动态解释配置文件变更应用程序界面和业务的实现方案。机顶盒获取到的是更新后的完整的应用程序,该应用程序(以Android系统的APK应用为例)在对应智能机顶盒上随意安装部署、升级替换、采用标准方式打开和关闭应用程序,应用的封装性好;较动态解释配置文件等方式运行速度更快。The preferred embodiment changes the implementation of the application interface and services by dynamically interpreting the configuration file. The set-top box obtains the updated complete application. The application (using the Android system's APK application as an example) is free to install and deploy on the corresponding smart set-top box, upgrade and replace, open and close the application in a standard way, and apply the package. Good performance; faster than dynamically interpreting configuration files.
本优选实施例的步骤如下:The steps of the preferred embodiment are as follows:
步骤1,移动终端通过网络连接应用服务器,获取服务器上当前机顶盒应用对应的界面和操作描述文件。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.
步骤2,移动终端根据获取到的机顶盒应用的界面和操作描述文件,在可编辑状态下展示机顶盒上对应的应用程序界面的各个控件。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.
步骤3,用户在移动终端上打开应用编辑模块,在屏幕上通过手动拖拽调整界面控件的位置和大小、调整界面控件的皮肤和贴图,通过点击、长按等常用操作编辑按钮等控件对应的业务操作(比如添加一个新的海报图片,并规定遥控器确定选中该海报图片后应用程序跳转至“本周最新电影”栏目)。用户完成编辑后,生成所编辑的应用程序界面和业务操作的描述文件。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). After the user completes the editing, a description file of the edited application interface and business operations is generated.
步骤4,移动终端发起网络请求,通过网络链接将上述更新后的描述文件以及界面展示所需要的图片发送给应用服务器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.
步骤5,应用服务器接收到上述更新后的描述文件和图片等文件后,将上述文件覆盖进入该应用对应的代码文件夹,并编译整套代码生成新版本(版本号更高)的应用程序。应用服务器再根据移动终端的设置或者自身部署的更新策略,通知指定范围的一台或多台目标机顶盒其对应的应用程序有新版本需升级。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) application. The application server then 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 settings of the mobile terminal or the update policy deployed by itself.
步骤6,机顶盒连接应用服务器,判断服务器上的应用程序版本号是否高于机顶盒本地应用的版本号。如果服务器端的版本号更高,则下载该更新后的应用程序版本。Step 6. The set top box is connected to the application server to determine 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.
步骤7,机顶盒应用新版本下载到机顶盒本地后,替换原有的应用程序文件。重新启动该应用,通过电视屏幕展示新的界面样式。Step 7. 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.
与其他视频观看体验分享的方式相比,本优选实施例的优势为:用户可实时地、动态地修改自己的机顶盒应用程序界面,并重新定位机顶盒应用的业务逻辑。不再只是应用程序的使用者,而真正成为自己的应用的设计者,所见即所得地调整和修改自己的机顶盒应用程序。而且移动终端使用者可一次同时更新指定的一台或多台目标机顶盒的界面和业务操作。 Compared with other video viewing experience sharing methods, 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. Moreover, the user of the mobile terminal can simultaneously update the interface and service operation of the specified one or more target set top boxes at a time.
本发明还提供了另外一个优选实施例,移动终端为大屏智能手机,机顶盒为Android机顶盒;手机与应用服务器通过广域网(公网)连接;应用服务器与机顶盒通过专网(如IPTV专网)或者广域网(公网)连接,本实施例中以IPTV专网为例进行讲解;手机和机顶盒之间可以不互通。The present invention further provides another preferred embodiment, the mobile terminal is a big 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 set top box are through a private network (such as an IPTV private network) or The WAN (public network) is connected. In this embodiment, the IPTV private network is taken as an example. The mobile phone and the set-top box may not communicate with each other.
智能机顶盒上已部署了一个OTT视频客户端应用,可展示媒体内容服务器侧所提供的视频节目。该实施例中使用手机客户端动态定制、更新该机顶盒视频应用的界面。An OTT video client application has been deployed on the smart set-top box to display the video programs provided on the media content server side. In this embodiment, the mobile client is used to dynamically customize and update the interface of the set top box video application.
图7是根据本发明优选实施例的机顶盒应用界面设计部署示意图,如图7所示,应用服务器跨公网和IPTV专网两个网络平面;手机与应用服务器之间通过HTTP消息进行交互和文件传递;应用服务器通过TCP消息与机顶盒交互,并通过ftp协议进行文件传输。7 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. 7, the application server spans two network planes of a public network and an IPTV private network; and the mobile phone and the application server exchange and file through HTTP messages. Delivery; the application server interacts with the set-top box through TCP messages and transfers files via the ftp protocol.
图8是根据本发明优选实施例的使用移动终端动态设置机顶盒应用的时序示意图,如图8所示,实施步骤如下:FIG. 8 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. 8, the implementation steps are as follows:
步骤S801、手机客户端向应用服务器发起Http请求,请求当前机顶盒视频应用界面和操作的最新描述文件。Step S801: The mobile phone client initiates an Http request to the application server, and requests a current description file of the current set top box video application interface and operation.
步骤S802、手机客户端通过Http GET方法,从管理服务器下载上述最新的xml描述文件。Step S802: The mobile client downloads the latest xml description file from the management server by using an Http GET method.
步骤S803、手机客户端(应用编辑模块)根据获取到的机顶盒视频应用界面描述文件,在编辑模式下展示界面各控件的样式和布局,并将各控件的遥控器按键选中响应与操作逻辑进行对应。Step S803: The mobile phone client (application editing module) displays the style and layout of each control component 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. .
步骤S804、用户在手机屏幕上通过拖动操作,新增一个图片展示控件,并将该控件的皮肤贴图设置为一张最新的电影海报图片。通过点击和选择操作将该控件的遥控器按键选中响应定义为跳转至“本周最新电影”这个视频栏目页面。Step S804: 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.
步骤S805、手机客户端应用编辑模块根据用户所做的修改,生成本次编辑的xml描述文件,该描述文件中定义了新增图片控件的类型和ID;使用左上角顶点坐标值和尺寸描述该控件的位置和大小;保存该控件的皮肤贴图的图片路径和名称;并在描述文件中将遥控器按键选中响应操作规定为:跳转至“本周最新电影”这个Activity。Step S805, the mobile phone client application editing module generates an xml description file of the current edit 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; the coordinate value and the 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".
步骤806、手机客户端将生成的xml描述文件与新增的电影海报图片打包,使用Http POST方法上传至应用服务器端。Step 806: The mobile client encapsulates the generated xml description file with the newly added movie poster image, and uploads it to the application server by using the Http POST method.
步骤S807、应用服务器端部署有编译模块以及该应用的源代码。应用服务器收到有变化的文件(变更的描述文件和新增的图片文件)后,将这些文件替换原有代码中的文件,并触发自动编译脚本,编译生成新版本(版本号自动累加)的apk应用程序文件。Step S807, 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 file.
步骤S808、应用服务器根据手机客户端选中的目标机顶盒或者服务器端部署的机顶盒更新策略,通知一台或多台目标机顶盒,应用程序文件有更新,软件版本需进行升级,通知消息中附带当前应用程序的软件版本号。 Step S808: The application server notifies one or more target set-top boxes according to the target set-top box selected by the mobile phone client or the set-top box update policy deployed by the server, the application file is updated, the software version needs to be upgraded, and the current application is included in the notification message. Software version number.
步骤S809、目标机顶盒收到软件版本需更新升级的通知消息后,与本地应用程序的版本号进行比较。若新版本的版本号高于本地应用的版本号,则机顶盒升级模块访问应用服务器的指定ftp地址,下载更新后的应用程序安装文件并替换机顶盒原有的应用程序安装文件。Step S809: After receiving the notification message that the software version needs to be updated and upgraded, 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 application server, downloads the updated application installation file, and replaces the original application installation file of the set top box.
步骤S810、完成S809步骤后,机顶盒视频应用重新启动,展示新界面,则“本周最新电影”这个新控件在机顶盒视频应用中展示,使用机顶盒遥控器选中该控件并单击“确认”按钮,应用程序界面跳转至“本周最新电影”栏目页面。Step S810, after completing the step S809, 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.
由于本发明中应用服务器编译生成的是完整的APK应用,具有良好的封装性,也大大提升了系统的可扩展性。Since the application server compiled in the present invention generates a complete APK application, it has good encapsulation and greatly improves the scalability of the system.
一方面,目标机顶盒只要是通用的Android机顶盒就可以安装更新该应用,机顶盒无需预置任何界面生成或者配置解释等模块,即我方使用移动终端定制的应用程序可方便地为第三方智能机顶盒使用。On the one hand, the target set-top box can be installed and updated as long as it is a universal Android set-top box. The set-top box does not need to preset any interface generation or configuration explanation module, that is, the application customized by the mobile terminal can be conveniently used for the third-party smart set-top box. .
另一方面,以Android机顶盒和Android APK应用为例,目前页面有众多专门的智能机顶盒应用市场(如奇珀市场、当贝市场),应用服务器输出的是标注APK应用,可方便地与第三方应用服务器(应用市场)进行对接,从而使系统扩展性得到极大提升。On the other hand, taking Android set-top box and Android APK application as an example, the current page has a number of specialized smart set-top box application markets (such as Chiper market, Dangbei market), and the application server output is labeled APK application, which can be easily combined with third parties. The application server (application market) is docked, which greatly increases the system scalability.
打破了用户的移动终端编辑的应用界面和业务操作,只能通过自己的应用服务器,在指定的机顶盒上运行的限制。本优选实施例通过合理变形,可非常方便地进行应用程序的推广、部署和升级。同时可以使用一个移动终端大范围更新第三方机顶盒上的应用程序,如下面的优选实施例。Breaking the application interface and business operations of the user's mobile terminal editing, only through the application server, the restrictions on the specified set-top box. The preferred embodiment can facilitate the promotion, deployment, and upgrade of the application program by reasonable deformation. At the same time, a mobile terminal can be used to extensively update applications on third party set top boxes, as in the preferred embodiment below.
本优选实施例还提供了一个优选实施例。The preferred embodiment also provides a preferred embodiment.
步骤S908应用服务器编译生成apk应用程序文件后,主动上传至指定的智能机顶盒应用市场,更新该应用在该应用市场中的软件版本。Step S908: After the application server compiles and generates the apk application file, it actively uploads to the designated smart set top box application market, and updates the software version of the application in the application market.
步骤S909通过该应用市场安装有该应用程序的Android智能机顶盒均会收到该应用软件版本更新的通知。用户可根据自己意愿从应用市场中更新该应用的新版本。Step S909, the Android smart set top box installed with the application through the application market will receive the notification of the application software version update. Users can update the new version of the app from the app market as they wish.
步骤S910同实施例一中的步骤S810Step S910 is the same as step S810 in the first embodiment.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例该的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that 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. Based on such understanding, 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.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。 It should be noted that each of the above modules may be implemented by software or hardware. For the latter, 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.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various 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. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
基于本发明实施例提供的上述技术方案,获取应用服务器上机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件;根据该描述文件生成该描述文件对应的一个或多个控件;接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。 According to the foregoing technical solution provided by the embodiment of the present invention, an interface of an application of a set top box on an application server and/or an operation description file of an application of the set top box are acquired; and one or more controls corresponding to the description file are generated according to the description file; Editing the control's attributes and/or business logic, editing the control according to the edit command to generate a new application interface and/or a new operation description file; sending the new application interface and/or The new operation description file is given to the application server, which 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.

Claims (13)

  1. 一种界面处理方法,包括:An interface processing method includes:
    获取应用服务器上机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件;Obtaining an interface of an application of the set top box on the application server and/or an operation description file of the application of the set top box;
    根据所述描述文件生成所述描述文件对应的一个或多个控件;Generating one or more controls corresponding to the description file according to the description file;
    接收对所述控件的属性和/或业务逻辑的编辑指令,根据所述编辑指令对所述控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;Receiving an edit instruction for the attribute and/or business logic of the control, and editing the control according to the edit instruction to generate a new application interface and/or a new operation description file;
    发送所述新的应用程序的界面和/或新的操作描述文件给所述应用服务器。Sending an interface of the new application and/or a new operational description file to the application server.
  2. 根据权利要求1所述的方法,其中,所述生成新的应用程序的界面和/或操作描述文件之后,所述方法包括:The method of claim 1, wherein after the generating an interface and/or an operation description file of a new application, the method comprises:
    将所述新的应用程序的界面和/或操作描述文件中网络链接对应的图片发送给所述应用服务器。Sending a picture corresponding to the network link in the interface of the new application and/or the operation description file to the application server.
  3. 根据权利要求1或2所述的方法,其中,所述接收对所述控件的属性和/或业务逻辑的编辑指令包括以下至少之一:The method of claim 1 or 2, wherein said receiving an instruction to edit attributes and/or business logic of said control comprises at least one of:
    接收对所述控件位置、大小的拖拽指令;Receiving a drag command for the position and size of the control;
    接收对所述控件的皮肤、贴图的替换指令;Receiving a replacement instruction for the skin and texture of the control;
    接收对所述控件的点击、长按的业务编辑指令。Receiving a service edit instruction for clicking and long pressing on the control.
  4. 一种界面处理方法,包括:An interface processing method includes:
    应用服务器发送存储的机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件给终端;The application server sends the stored application interface of the set top box and/or the operation description file of the application of the set top box to the terminal;
    所述应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,所述新的应用程序的界面和/或新的操作描述文件是所述终端通过对所述应用服务器存储的机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;The application server receives an interface of the edited new application and/or a new operation description file, wherein the interface of the new application and/or the new operation description file is that the terminal passes the application The description file of the set top box stored by the server is edited and generated corresponding to the attribute and/or business logic of the control;
    所述应用服务器根据所述新的应用程序的界面和/或新的操作编译生成新版本的应用程序;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;
    所述应用服务器根据所述终端的设置或者所述应用服务器部署的更新策略,通知的一台或多台目标机顶盒对应的应用程序进行新版本的升级。The application server performs an upgrade of the new version according to the setting of the terminal or the update policy deployed by the application server, and the application corresponding to the one or more target set-top boxes notified.
  5. 根据权利要求4所述的方法,其中,所述应用服务器根据所述新的应用程序的界面和/或新的操作编译生成新版本的应用程序包括:The method of claim 4, wherein 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 overwrites the corresponding application according to the interface of the new application and/or a new operation description file Program the code folder and compile the entire set of code to generate a new version of the application.
  6. 根据权利要求4所述的方法,其中,所述应用服务器根据所述新的应用程序的界面和/或新的操作编译生成新版本的应用程序之后,所述方法还包括:The method according to claim 4, wherein after the application server compiles a new version of the application according to the interface of the new application and/or a new operation, the method further includes:
    所述应用服务器输出所述新版本的应用程序到第三方应用服务器进行对接。The application server outputs the new version of the application to a third-party application server for docking.
  7. 根据权利要求4至6任一项所述的方法,其中,所述应用程序包括:The method of any one of claims 4 to 6, wherein the application comprises:
    Android的apk应用程序。Android apk app.
  8. 一种界面处理方法,包括:An interface processing method includes:
    发送当前机顶盒的应用程序的界面和/或应用程序的操作描述文件给应用服务器;Sending an interface of an application of the current set top box and/or an operation description file of the application to the application server;
    接收所述应用服务器发送的新版本的应用程序,其中,所述新版本应用程序的界面和/或操作描述文件是终端通过对所述当前机顶盒的应用程序的界面和/或操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,所述新版本的应用程序是所述应用服务器将新的应用程序的界面和/或新的操作描述文件编译生成;Receiving a new version of the application sent by the application server, where the interface and/or the operation description file of the new version application is an interface of the terminal through an application of the current set top box and/or an operation description file corresponding control The attribute and/or business logic is edited and generated, and the new version of the application is that the application server compiles and generates a new application interface and/or a new operation description file;
    根据所述新版本的应用程序对所述机顶盒应用程序的进行升级。The set top box application is upgraded according to the new version of the application.
  9. 根据权利要求8所述的方法,其中,在接收所述应用服务器发送的新版本的应用程序之前,所述方法还包括:The method of claim 8, wherein before receiving the new version of the application sent by the application server, the method further comprises:
    对比所述新版本的应用程序版本号与本地应用程序的版本号,在所述新的应用程序版本号高于本地版本号的情况下,下载所述新版本的应用程序。Comparing the new version of the application version number with the version number of the local application, and downloading the new version of the application if the new application version number is higher than the local version number.
  10. 一种界面处理装置,包括:An interface processing device includes:
    获取模块,设置为获取应用服务器上机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件;An acquisition module, configured to obtain an interface of an application of the set top box on the application server and/or an operation description file of the application of the set top box;
    生成模块,设置为根据所述描述文件生成所述描述文件对应的一个或多个控件;Generating a module, configured to generate one or more controls corresponding to the description file according to the description file;
    第一接收模块,设置为接收对所述控件的属性和/或业务逻辑的编辑指令,根据所述编辑指令对所述控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;a first receiving module, 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 is configured to send an interface of the new application and/or a new operation description file to the application server.
  11. 一种界面处理装置,包括:An interface processing device includes:
    第二发送模块,设置为应用服务器发送存储的机顶盒的应用程序的界面和/或机顶盒的应用程序的操作描述文件给终端;a second sending module, configured to send, by the application server, an interface of the stored set top box application and/or an operation description file of the set top box application to the terminal;
    编辑模块,设置为所述应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,所述新的应用程序的界面和/或新的操作描述文件是所述终端通过对所 述应用服务器存储的机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;An editing module configured to receive, by the application server, an interface of the edited new application and/or a new operation description file, wherein the interface of the new application and/or the new operation description file is the terminal Through the office The description file of the set top box stored by the application server is edited and generated corresponding to the attribute and/or business logic of the control;
    覆盖模块,设置为所述应用服务器根据所述新的应用程序的界面和/或新的操作编译生成新版本的应用程序;An overlay module configured to: 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;
    第一升级模块,设置为所述应用服务器根据所述终端的设置或者所述应用服务器部署的更新策略,通知的一台或多台目标机顶盒对应的应用程序进行新版本的升级。The first upgrade module is configured to upgrade the new version of the application corresponding to one or more target set top boxes according to the setting of the terminal or the update policy deployed by the application server.
  12. 一种界面处理装置,包括:An interface processing device includes:
    第三发送模块,设置为发送当前机顶盒的应用程序的界面和/或应用程序的操作描述文件给应用服务器;a third sending module, configured to send an interface of an application of the current set top box and/or an operation description file of the application to the application server;
    第二接受模块,设置为接收所述应用服务器发送的新版本的应用程序,其中,所述新版本应用程序的界面和/或操作描述文件是终端通过对所述当前机顶盒的应用程序的界面和/或操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,所述新版本的应用程序是所述应用服务器将新的应用程序的界面和/或新的操作描述文件编译生成;a second accepting module, configured to receive a new version of the application sent by the application server, where the interface and/or operation description file of the new version application is an interface of the terminal through an application of the current set top box And/or the operation description file is edited and generated by the attribute and/or business logic of the control, and the new version of the application is that the application server compiles the interface of the new application and/or the new operation description file;
    第二升级模块,设置为根据所述新版本的应用程序对所述机顶盒应用程序的进行升级。The second upgrade module is configured to upgrade the set top box application according to the new version of the application.
  13. 一种界面处理系统,包括:终端、应用服务器和机顶盒;An interface processing system includes: a terminal, an application server, and a set top box;
    所述终端与所述应用服务器通过广域网连接,所述应用服务器与所述机顶盒通过专网或者广域网连接;The terminal is connected to the application server through a wide area network, and the application 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 current application and/or an operation description file to the application server, and downloads the latest application version from the application server to upgrade the set top box;
    所述终端对从所述应用服务器上下载的应用程序的界面和业务逻辑进行自定义修改生成新的应用程序的界面和/或操作描述文件,上传到所述应用服务器;The terminal performs custom modification on the interface and business logic of the application downloaded from the application server to generate an interface and/or an operation description file of the new application, and uploads the file to the application server;
    所述应用服务器根据所述新的应用程序的界面和/或操作描述文件编译生成新版本的应用程序;The application server compiles and generates a new version of the application according to the interface and/or the operation description file of the new application;
    所述终端包括权利要求10所述的装置;The terminal includes the apparatus of claim 10;
    所述应用服务器包括权利要求11所述的装置;The application server includes the apparatus of claim 11;
    所述机顶盒包括权利要求12所述的装置。 The set top box includes the apparatus of claim 12.
PCT/CN2016/077132 2015-03-25 2016-03-23 Interface processing method, device and system WO2016150389A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510133246.0 2015-03-25
CN201510133246.0A CN106162343A (en) 2015-03-25 2015-03-25 Interface processing method, Apparatus and system

Publications (1)

Publication Number Publication Date
WO2016150389A1 true WO2016150389A1 (en) 2016-09-29

Family

ID=56977016

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/077132 WO2016150389A1 (en) 2015-03-25 2016-03-23 Interface processing method, device and system

Country Status (2)

Country Link
CN (1) CN106162343A (en)
WO (1) WO2016150389A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831380A (en) * 2020-07-16 2020-10-27 浙江三维通信科技有限公司 Task execution method and device, storage medium and electronic device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965974A (en) * 2017-05-22 2018-12-07 中兴通讯股份有限公司 A kind of method and device of display interface that downloading set-top box
CN107484006A (en) * 2017-08-08 2017-12-15 深圳创维数字技术有限公司 A kind of interface processing method, set top box and storage medium
CN109324857B (en) * 2018-09-07 2021-10-08 腾讯科技(武汉)有限公司 User guide implementation method, device and storage medium
CN111752563A (en) * 2020-05-18 2020-10-09 深圳市东微智能科技股份有限公司 Method, device, terminal and computer readable storage medium for dynamically modifying interface

Citations (4)

* 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
CN101212599A (en) * 2006-12-31 2008-07-02 深圳市同洲电子股份有限公司 Digital TV user interface management system and method
CN101510968A (en) * 2009-03-30 2009-08-19 明泰科技股份有限公司 Digital phonotape and videotape play system and method for setting and modifying user operation interface
CN102541904A (en) * 2010-12-25 2012-07-04 富泰华工业(深圳)有限公司 Webpage generation system

Patent Citations (4)

* 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
CN101212599A (en) * 2006-12-31 2008-07-02 深圳市同洲电子股份有限公司 Digital TV user interface management system and method
CN101510968A (en) * 2009-03-30 2009-08-19 明泰科技股份有限公司 Digital phonotape and videotape play system and method for setting and modifying user operation interface
CN102541904A (en) * 2010-12-25 2012-07-04 富泰华工业(深圳)有限公司 Webpage generation system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831380A (en) * 2020-07-16 2020-10-27 浙江三维通信科技有限公司 Task execution method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN106162343A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
ES2922476T3 (en) Interactive web application editor
WO2016150386A1 (en) Interface processing method, apparatus, and system
WO2016150387A1 (en) Interface processing method, apparatus, and system
US11010147B2 (en) Method and apparatus for running mobile device software
WO2016150389A1 (en) Interface processing method, device and system
CN102884529B (en) For social activity summary can adaptive layout
US9063792B2 (en) Managing mobile execution environments
WO2016150388A1 (en) Interface processing method, apparatus, and system
WO2017193612A1 (en) Apparatus employing mobile terminal to operate electronic apparatus, system, and method
WO2016150390A1 (en) Interface processing method, apparatus, and system
US10282185B2 (en) Method and apparatus for firmware virtualization
JP2015513726A (en) Using the application cache to update installed application resources
US10795633B2 (en) Desktop sharing method and mobile terminal
US10810353B2 (en) Player software architecture
CN110971974B (en) Configuration parameter creating method, device, terminal and storage medium
JP6587997B6 (en) Sliding window management method and system for time machine function
CN113157270A (en) Page adaptation method and device
CN106296283B (en) Advertisement playing method and system based on mobile application
CN112911359B (en) Resource display method, display equipment and remote controller
CN103533446A (en) Method and device for pushing image to video play equipment
JP7089256B2 (en) Information processing equipment and programs
CA3145151A1 (en) System, apparatus and method for controlling networked devices
CN117412129A (en) Television application running method and device
US20140189076A1 (en) Configuration of computer systems via simple object access protocol connections

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: 16767766

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: 16767766

Country of ref document: EP

Kind code of ref document: A1