WO2016150387A1 - Interface processing method, apparatus, and system - Google Patents

Interface processing method, apparatus, and system Download PDF

Info

Publication number
WO2016150387A1
WO2016150387A1 PCT/CN2016/077130 CN2016077130W WO2016150387A1 WO 2016150387 A1 WO2016150387 A1 WO 2016150387A1 CN 2016077130 W CN2016077130 W CN 2016077130W WO 2016150387 A1 WO2016150387 A1 WO 2016150387A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
new
interface
description file
server
Prior art date
Application number
PCT/CN2016/077130
Other languages
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 WO2016150387A1 publication Critical patent/WO2016150387A1/en

Links

Images

Classifications

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

Definitions

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

Abstract

Provided in the present intervention are an interface processing method, apparatus, and system; the method comprising acquiring the interface of an application program of a set top box on an application server and/or the operation description file of the application program; on the basis of the description file, generating one or plurality of control elements; receiving an editing command for the characteristics and/or the service logic of the control elements, and on the basis of the editing command, editing the control elements to generate a new application program interface and/or a new operation description file; and sending the new application program interface and/or the new operation description file to the application server, resolving the problems of the program interface and operation of a set top box being complicated and inconvenient to use, and improving user convenience.

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; and generating corresponding one or more according to the description file a control; receiving an edit instruction for an attribute and/or business logic of the control, editing the control according to the edit instruction to generate a new application interface and/or a new operation description file; transmitting the new The application's interface and/or new operational description file is given to the application server.
在本发明的实施例中,所述生成新的应用程序的界面和/或新的操作描述文件之后,该方法包括:将所述新的应用程序的界面和/或新的操作描述文件中网络链接对应的图片发送给所述应用服务器。In an embodiment of the invention, after the generating an interface of the new application and/or a new operation description file, the method comprises: the network of the new application interface and/or the new operation description file The picture corresponding to the link is sent to the application server.
在本发明的实施例中,所述接收对所述控件的属性和/或业务逻辑的编辑指令包括以下至少之一:接收对所述控件位置、大小的拖拽指令;接收对所述控件的皮肤、贴图的替换指令;接收对所述控件的点击、长按的业务编辑指令。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 receiving an interface of an edited new application and/or a new operation description file, wherein the new application The interface and/or the new operation description file is generated by the terminal by editing the attribute and/or business logic of the corresponding control file of the set top box; the application server is configured according to the interface of the new application and/or a new operation description. File compilation to generate a new version of the application a program; the application server sends the new version of the application to the management server.
在本发明的实施例中,应用服务器根据所述新的应用程序的界面和/或新的操作编译生成新版本的应用程序包括:所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件覆盖对应应用程序的代码文件夹,并编译整套代码生成新版本的应用程序。In an embodiment of the present invention, the application server compiling the new version of the application according to the interface of the new application and/or the new operation comprises: the application server according to the interface of the new application and/or The new action description file overwrites the code folder for the corresponding application and compiles the entire set of code to generate a new version of the application.
在本发明的实施例中,所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序之后,所述方法还包括:所述应用服务器输出所述新版本的应用程序到第三方应用服务器进行对接。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 the new operation description file, the method further includes: the application server outputting The new version of 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 another embodiment of the present invention, there is also provided an interface processing method, comprising: a management server receiving a new version of an application compiled by an application server according to an interface of a new application and/or a new operation description file, according to the An update policy for the management server deployment, which updates the description file to one or more target set top boxes.
在本发明的实施例中,对一台或多台目标机顶盒进行所述描述文件的更新包括:接收到符合预设要求的所述目标机顶盒的反馈后,发送所述新版本的应用程序给机顶盒。In an embodiment of the present invention, performing the updating of the description file on one or more target set top boxes includes: sending the new version of the application to the set top box after receiving the feedback of the target set top box that meets the preset requirement .
根据本发明的另一个实施例,还提供了一种界面处理方法,包括:接收所述管理服务器发送的新版本的应用程序,其中,所述新版本应用程序的界面和/或操作描述文件是终端通过对所述当前机顶盒的应用程序的界面和/或应用程序的操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,所述新版本的应用程序是所述应用服务器根据新的应用程序的界面和/或操作描述文件编译代码生成;根据所述新版本的应用程序对所述机顶盒应用程序的进行升级。According to another embodiment of the present invention, there is also provided an interface processing method, comprising: receiving a new version of an application sent by the management server, wherein an interface and/or an operation description file of the new version application is The terminal is edited and generated by using an interface of an application of the current set top box and/or an operation description file corresponding to an application and/or a business logic of the application, where the new version of the application is the application server according to the new application. The program interface and/or operation description file compilation code is generated; the set top box application is upgraded according to the new version of the application.
在本发明的实施例中,所述在接收所述管理服务器发送的新版本的应用程序之前,所述方法包括:对比所述新版本的应用程序的版本号与本地应用程序的版本号,在所述新的应用程序版本号高于本地版本号的情况下,下载所述新版本的应用程序。In an embodiment of the present invention, before receiving the new version of the application sent by the management server, the method includes: comparing a version number of the new version of the application with a version number of the local application, When the new application version number is higher than the local version number, the new version of the application is downloaded.
根据本发明的另一个实施例,还提供了一种界面处理装置,包括:获取模块,设置为获取应用服务器上机顶盒的应用程序的界面和/或应用程序的操作描述文件;编辑模块,设置为根据所述描述文件生成对应的一个或多个控件;第一接收模块,设置为接收对所述控件的属性和/或业务逻辑的编辑指令,根据所述编辑指令对所述控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;第一发送模块,设置为发送所述新的应用程序的界面和/或新的操作描述文件给所述应用服务器。According to 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 the set top box on the application server, and/or an operation description file of the application; and an editing module, configured to Generating a corresponding one or more controls according to the description file; the first receiving module is configured to receive an editing instruction for the attribute and/or business logic of the control, and edit the new control according to the editing instruction to generate a new An interface of the application and/or a new operation description file; a first sending module, configured to send the interface of the new application and/or a new operation description file to the application server.
根据本发明的另一个实施例,还提供了一种界面处理装置,包括:第二接收模块,设置为应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,所述新的应用程序的界面和/或新的操作描述文件是终端通过对机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;编译模块,设置为所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序;第二发送模块,设置为所述应用服务器发送所述新版本的应用程序给管理服务器。 According to another embodiment of the present invention, an interface processing apparatus is further provided, including: a second receiving module, configured to receive, by the application server, an interface of the edited new application and/or a new operation description file, where The interface of the new application and/or the new operation description file is generated by the terminal by editing the attribute and/or business logic of the corresponding control file of the set top box; the compiling module is set as the application server according to the new The interface of the application and/or the new operation description file is compiled to generate a new version of the application; the second sending module is configured to send the new version of the application to the management server to the application server.
根据本发明的另一个实施例,还提供了一种界面处理装置,包括:第三接收模块,设置为管理服务器接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序;According to another embodiment of the present invention, there is also provided an interface processing apparatus, comprising: a third receiving module, configured to receive, by the management server, a new application compiled by the application server according to an interface of the new application and/or a new operation description file. Version of the application;
更新模块,设置为根据所述管理服务器部署的更新策略,对一台或多台目标机顶盒进行所述描述文件的更新。And an update module, configured to update the description file of one or more target set top boxes according to an update policy deployed by the management server.
根据本发明的另一个实施例,还提供了一种界面处理装置,包括:第四接收模块,设置为接收所述管理服务器发送的新版本的应用程序,其中,所述新版本应用程序的界面和/或操作描述文件是终端通过对所述当前机顶盒的应用程序的界面和/或应用程序的操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,所述新版本的应用程序是所述应用服务器根据新的应用程序的界面和/或操作描述文件编译代码生成;升级模块,设置为根据所述新版本的应用程序对所述机顶盒应用程序的进行升级。According to another embodiment of the present invention, there is further provided an interface processing apparatus, comprising: a fourth receiving module, configured to receive a new version of an application sent by the management server, wherein an interface of the new version application And/or the operation description file is generated by the terminal by editing an attribute of the application of the current set top box and/or an attribute of the operation description file corresponding to the application and/or business logic, where the new version of the application is The application server compiles code generation according to the interface and/or operation description file of the new application; the upgrade module is configured to upgrade the set top box application according to the new version of the application.
根据本发明的另一个实施例,还提供了一种界面处理系统,其中,包括:终端、应用服务器、管理服务器和机顶盒;所述终端与所述应用服务器通过广域网连接,所述应用服务器与所述管理服务器通过专网或者广域网连接,所述管理服务器与所述机顶盒通过专网或者广域网连接;所述机顶盒将存储的应用程序的界面和/或应用程序的操作描述文件上传到所述应用服务器,并从所述管理服务器下载新的应用程序版本对所述机顶盒进行升级;所述终端对从所述应用服务器上下载的应用程序的界面和业务逻辑进行自定义修改生成新的应用程序的界面和/或新的操作描述文件,上传到所述应用服务器;所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件编译整套代码生成新版本的应用程序;所述管理服务器接收应用服务器编译的所述新版本的应用程序,根据所述管理服务器部署的更新策略,通知一台或多台目标机顶盒进行所述描述文件的更新,所述终端包括上述的装置,所述应用服务器包括上述的装置,所述管理服务器包括上述的装置,所述机顶盒包括上述的装置。According to another embodiment of the present invention, an interface processing system is further provided, including: a terminal, an application server, a management server, and a set top box; the terminal and the application server are connected through a wide area network, and the application server and the server The management server is connected through a private network or a wide area network, and the management server is connected to the set top box through a private network or a wide area network; the set top box uploads an interface of the stored application and/or an operation description file of the application to the application server. And upgrading the set top box by downloading a new application version from the management server; the terminal customizing the interface and business logic of the application downloaded from the application server to generate a new application interface And/or a new operation description file, uploaded to the application server; the application server compiles the entire set of code according to the interface of the new application and/or a new operation description file to generate a new version of the application; the management The server receives the new version of the application server compiled And the program, according to the update policy deployed by the management server, notifying one or more target set top boxes to update the description file, the terminal includes the foregoing apparatus, and the application server includes the foregoing apparatus, the management server Including the apparatus described above, the set top box includes the apparatus described above.
通过本发明,获取应用服务器上机顶盒的应用程序的界面和/或应用程序的操作描述文件;根据该描述文件生成对应的一个或多个控件;接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。The invention acquires an interface of an application of the set top box on the application server and/or an operation description file of the application; generates a corresponding one or more controls according to the description file; and receives an edit of the attribute and/or business logic of the control An instruction to edit the control according to the edit instruction 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, and solve The program interface and operation of the set-top box are complicated, and the problem of inconvenient use increases 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 flowchart 4 of an interface processing method according to an embodiment of the present invention;
图5是根据本发明实施例的一种界面处理装置的结构框图一;FIG. 5 is a structural block diagram 1 of an interface processing apparatus according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的一种界面处理装置的结构框图二;6 is a structural block diagram 2 of an interface processing apparatus according to an embodiment of the present invention;
图7是根据本发明实施例的一种界面处理装置的结构框图三;7 is a structural block diagram 3 of an interface processing apparatus according to an embodiment of the present invention;
图8是根据本发明实施例的一种界面处理装置的结构框图四;FIG. 8 is a structural block diagram 4 of an interface processing apparatus according to an embodiment of the present invention; FIG.
图9是根据本发明优选实施例的机顶盒应用界面设计部署示意图;9 is a schematic diagram of a design and deployment of a set top box application interface according to a preferred embodiment of the present invention;
图10是根据本发明优选实施例的使用移动终端动态设置机顶盒应用的时序示意图。10 is a timing diagram of dynamically setting a set top box application using a mobile terminal in accordance with a preferred embodiment of the present invention.
具体实施方式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: Obtain an interface of an application of the set top box on the application server and/or an operation description file of the application.
步骤S104,根据该描述文件生成对应的一个或多个控件;Step S104, generating corresponding one or more controls 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 an application of the set top box on the application server and/or an operation description file of the application, generates a corresponding one or more controls according to the description file, and receives the attribute and/or business logic of the control. Editing instructions, editing the control according to the editing instruction to generate a new application interface and/or a new operation description file, and transmitting the interface of the new application and/or a new operation description file to the application server. The application server generates a new version of the application and sends it to the management server. The set-top box downloads the new version of the application through the management server, and solves the problem that the program interface and operation of the set-top box are complicated and inconvenient to use, thereby improving the convenience of the user.
在本实施例中,生成新的应用程序的界面和/或操作描述文件之后,在该描述文件中可以有相关图片的网络链接,终端可以发起网络请求,将该新的应用程序的界面和/或新的操作描述文件中网络链接对应的图片发送给该应用服务器。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 new operation description file is sent to the application server.
在本实施例中,对该控件的属性和/或业务逻辑的编辑指令可以有多种方式,可以通过触 摸屏或者实体按键的接收编辑指令,也可以通过其他的传感器或者遥控器接收,其中指令的接收可以包括:接收对该控件位置、大小的拖拽指令;接收对该控件的皮肤、贴图的替换指令;接收对该控件的点击、长按的业务编辑指令。In this embodiment, there may be multiple ways to edit the attributes of the control and/or the business logic, and The receiving and editing instructions of the touch screen or the physical button may also be received by other sensors or remote controllers, wherein the receiving of the command may include: receiving a drag command for the position and size of the control; receiving the replacement of the skin and the texture of the control Instruction; receive a business edit instruction that clicks and long presses on the control.
在本实施例中提供了一种界面处理方法,图2是根据本发明实施例的一种界面处理方法的流程图二,如图2所示,该流程包括如下步骤:An interface processing method is provided in this embodiment. FIG. 2 is a flowchart 2 of an interface processing method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
步骤S202,应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,该新的应用程序的界面和/或新的操作描述文件是终端通过对机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;Step S202, the application server receives the interface of the edited new application and/or a new operation description file, where the interface of the new application and/or the new operation description file is that the terminal corresponds to the description file of the set top box. The properties and/or business logic of the control are edited and generated;
步骤S204,该应用服务器根据该新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序;Step S204, the application server compiles and generates a new version of the application according to the interface of the new application and/or a new operation description file;
步骤S206,该应用服务器发送该新版本的应用程序给管理服务器。Step S206, the application server sends the new version of the application to the management server.
通过上述步骤,应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,并根据该新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序,该应用服务器发送该新版本的应用程序给管理服务器,管理服务器将新版本的应用程序发送给机顶盒,方便机顶盒进行升级和升级,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。Through the above steps, the application server receives the interface of the edited new application and/or a new operation description file, and compiles and generates a new version of the application according to the interface of the new application and/or the new operation description file. The application server sends the new version of the application to the management server, and the management server sends the new version of the application to the set top box, so that the set top box can be upgraded and upgraded, and the program interface and operation of the set top box are complicated, and the use is inconvenient, and the problem is improved. The convenience of the user.
在本实施例中,该应用服务器根据该新的应用程序的界面和/或新的操作编译生成新版本的应用程序可以有多种方式,可以是重新进行编译,也可以是该应用服务器根据该新的应用程序的界面和/或新的操作描述文件覆盖对应应用程序的代码文件夹,并编译整套代码生成新版本的应用程序。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 the new operation description file, the method may further include: outputting the new version of the application by the application server. The program is connected to the third-party application server to share the application, and other set-top boxes can also be downloaded and updated. The application in the above embodiment may be an APP application of the OSI or an apk application of the Android.
在本实施例中提供了一种界面处理方法,图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, the management server receives a new version of the application compiled by the application server according to the interface of the new application and/or the new operation description file;
步骤S304,根据该管理服务器部署的更新策略,对一台或多台目标机顶盒进行该描述文件的更新。Step S304: Update the description file to one or more target set top boxes according to the update policy deployed by the management server.
通过上述步骤,管理服务器接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序,根据该管理服务器部署的更新策略,对一台或多台目标机顶 盒进行该描述文件的更新,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。Through the above steps, the management server receives a new version of the application compiled by the application server according to the interface of the new application and/or the new operation description file, and one or more target sets according to the update policy deployed by the management server. The box performs the update of the description file, which solves the problem that the program interface and operation of the set top box are complicated and inconvenient to use, and the convenience of the user is improved.
在本实施例中,对一台或多台目标机顶盒进行该描述文件的更新包括:接收到符合预设要求的该目标机顶盒的反馈后,发送该新版本的应用程序给机顶盒。In this embodiment, the updating of the description file to one or more target set top boxes includes: after receiving the feedback of the target set top box that meets the preset requirement, sending the new version of the application to the set top box.
在本实施例中提供了一种界面处理方法,图4是根据本发明实施例的一种界面处理方法的流程图四,如图4所示,该流程包括如下步骤:An interface processing method is provided in this embodiment. FIG. 4 is a flowchart 4 of an interface processing method according to an embodiment of the present invention. As shown in FIG. 4, the process includes the following steps:
步骤S402,接收该管理服务器发送的新版本的应用程序,其中,该新版本应用程序的界面和/或操作描述文件是终端通过对该当前机顶盒的应用程序的界面和/或应用程序的操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,该新版本的应用程序是该应用服务器根据新的应用程序的界面和/或操作描述文件编译代码生成;Step S402, receiving a new version of the application sent by the management server, where the interface and/or operation description file of the new version application is an operation description of the interface and/or application of the application of the current set top box by the terminal. The file is edited and generated by the attribute and/or business logic of the control, and the new version of the application is generated by the application server according to the interface and/or the operation description file of the new application;
步骤S404,根据该新版本的应用程序对该机顶盒应用程序的进行升级。Step S404, the set top box application is upgraded according to the new version of the application.
通过上述步骤,接收该管理服务器发送的新版本的应用程序,根据该新版本的应用程序对该机顶盒应用程序的进行升级,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。Through the above steps, the new version of the application sent by the management server is received, and the set-top box application is upgraded according to the new version of the application, which solves the problem that the program interface and operation of the set-top box are complicated and inconvenient to use, and the problem is improved. User convenience.
在本实施例中,在对新版本进行升级之前,要判断是否是最新的版本,判断是否是最新版本的方法有很多种,例如,可以采用管理服务器通知的方式,也可以是机顶盒定时的请求,在接收该管理服务器发送的新版本的应用程序之前,该方法还包括:对比新版本的应用程序的版本号与本地应用程序的版本号,在该新的应用程序版本号高于本地版本号的情况下,下载该新版本的应用程序。In this embodiment, before upgrading the new version, it is necessary to determine whether it is the latest version. There are many methods for judging whether it is the latest version, for example, a method of managing the server notification, or a request for the set-top box timing. Before receiving the new version of the application sent by the management server, the method further comprises: comparing the version number of the new version of the application with the version number of the local application, where the new application version number is higher than the local version number In case of downloading the new version of the app.
在本实施例中还提供了一种界面处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。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.
图5是根据本发明实施例的一种界面处理装置的结构框图一,如图5所示,该装置包括:FIG. 5 is a structural block diagram of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes:
获取模块52,设置为获取应用服务器上机顶盒的应用程序的界面和/或应用程序的操作描述文件;The obtaining module 52 is configured to acquire an interface of an application of the set top box on the application server and/or an operation description file of the application;
编辑模块54,设置为根据该描述文件生成对应的一个或多个控件;The editing module 54 is configured to generate a corresponding one or more controls according to the description file;
第一接收模块56,设置为接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件;The first receiving module 56 is configured to receive an editing instruction for the attribute and/or business logic of the control, and edit the control according to the editing instruction to generate a new application interface and/or a new operation description file;
第一发送模块58,设置为发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器。The first sending module 58 is configured to send an interface of the new application and/or a new operation description file to the application server.
通过上述装置,获取模块52获取应用服务器上机顶盒的应用程序的界面和/或应用程序的 操作描述文件,编辑模块54根据该描述文件生成对应的一个或多个控件,第一接收模块56接收对该控件的属性和/或业务逻辑的编辑指令,根据该编辑指令对该控件进行编辑生成新的应用程序的界面和/或新的操作描述文件,第一发送模块58发送该新的应用程序的界面和/或新的操作描述文件给该应用服务器,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。Through the above device, the obtaining module 52 acquires an interface of the application of the set top box on the application server and/or an application. An operation description file, the editing module 54 generates a corresponding one or more controls according to the description file, and the first receiving module 56 receives an editing instruction of the property and/or the business logic of the control, and edits the control according to the editing instruction. The interface of the new application and/or the new operation description file, the first sending module 58 sends the interface of the new application and/or a new operation description file to the application server, and solves the complicated program interface and operation of the set top box. The use of inconvenient problems increases the convenience of the user.
图6是根据本发明实施例的一种界面处理装置的结构框图二,如图6所示,该装置包括6 is a structural block diagram 2 of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes
第二接收模块62,设置为应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,该新的应用程序的界面和/或新的操作描述文件是终端通过对机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;The second receiving module 62 is configured to receive, by the application server, an interface of the edited new application and/or a new operation description file, where the interface of the new application and/or the new operation description file are The description file of the set top box is edited and generated corresponding to the attributes and/or business logic of the control;
编译模块64,设置为该应用服务器根据该新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序;Compiling module 64, configured to compile and generate a new version of the application according to the interface of the new application and/or a new operation description file;
第二发送模块66,设置为该应用服务器发送该新版本的应用程序给管理服务器。The second sending module 66 is configured to send the new version of the application to the management server by the application server.
通过上述装置,第二接收模块62接收编辑后的新的应用程序的界面和/或新的操作描述文件,编译模块64根据该新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序,第二发送模块66发送该新版本的应用程序给管理服务器,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。Through the above device, the second receiving module 62 receives the interface of the edited new application and/or a new operation description file, and the compiling module 64 compiles and generates a new one according to the interface of the new application and/or the new operation description file. The version of the application, the second sending module 66 sends the new version of the application to the management server, solves the complex interface of the set-top box and the operation is inconvenient, and improves the convenience of the user.
图7是根据本发明实施例的一种界面处理装置的结构框图三,如图7所示,该装置包括:FIG. 7 is a structural block diagram 3 of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes:
第三接收模块72,设置为管理服务器接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序;The third receiving module 72 is configured to receive, by the management server, a new version of the application compiled by the application server according to the interface of the new application and/or the new operation description file;
更新模块74,设置为根据该管理服务器部署的更新策略,对一台或多台目标机顶盒进行该描述文件的更新。The update module 74 is configured to update the description file for one or more target set top boxes according to an update policy deployed by the management server.
通过上述装置,第三接收模块72接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序,更新模块74部署的更新策略,对一台或多台目标机顶盒进行该描述文件的更新,解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。Through the above device, the third receiving module 72 receives the new version of the application compiled by the application server according to the interface of the new application and/or the new operation description file, and updates the update strategy deployed by the module 74 to one or more targets. The set-top box performs the update of the description file, which solves the problem that the program interface and operation of the set-top box are complicated and inconvenient to use, and the convenience of the user is improved.
图8是根据本发明实施例的一种界面处理装置的结构框图四,如图8所示,该装置包括:FIG. 8 is a structural block diagram 4 of an interface processing apparatus according to an embodiment of the present invention. As shown in FIG. 8, the apparatus includes:
第四接收模块82,设置为接收该管理服务器发送的新版本的应用程序,其中,该新版本应用程序的界面和/或操作描述文件是终端通过对该当前机顶盒的应用程序的界面和/或应用程序的操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,该新版本的应用程序是该应用服务器根据新的应用程序的界面和/或操作描述文件编译代码生成;The fourth receiving module 82 is configured to receive a new version of the application sent by the management server, where the interface and/or the operation description file of the new version application is an interface of the terminal through the application of the current set top box and/or The operation description file of the application is edited and generated corresponding to the attribute and/or business logic of the control, and the new version of the application is generated by the application server according to the interface and/or the operation description file of the new application;
升级模块84,设置为根据该新版本的应用程序对该机顶盒应用程序的进行升级。The upgrade module 84 is configured to upgrade the set top box application according to the new version of the application.
通过上述装置,第四接收模块82,设置为接收该管理服务器发送的新版本的应用程序; 升级模块84,设置为根据该新版本的应用程序对该机顶盒应用程序的进行升级。解决了机顶盒的程序界面和操作复杂,使用不方便的问题,提高了用户使用的便利性。Through the above device, the fourth receiving module 82 is configured to receive a new version of the application sent by the management server; The upgrade module 84 is configured to upgrade the set top box application according to the new version of the application. The program interface and the operation of the set top box are complicated, and the use is inconvenient, which improves the convenience of the user.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。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.
在本发明的实施例中,还提供了一种界面处理系统,其中,包括:终端、应用服务器、管理服务器和机顶盒;该终端与该应用服务器通过广域网连接,该应用服务器与该管理服务器通过专网或者广域网连接,该管理服务器与该机顶盒通过专网或者广域网连接;该机顶盒将存储的应用程序的界面和/或应用程序的操作描述文件上传到该应用服务器,并从该管理服务器下载新的应用程序版本对该机顶盒进行升级;该终端对从该应用服务器上下载的应用程序的界面和业务逻辑进行自定义修改生成新的应用程序的界面和/或新的操作描述文件,上传到该应用服务器;该应用服务器根据该新的应用程序的界面和/或新的操作描述文件编译整套代码生成新版本的应用程序;该管理服务器接收应用服务器编译的该新版本的应用程序,根据该管理服务器部署的更新策略,通知一台或多台目标机顶盒进行该描述文件的更新;该终端包括上述的装置,该应用服务器包括上述装置,该管理服务器包括上述的装置;该机顶盒包括上述的装置。In an embodiment of the present invention, an interface processing system is further provided, including: a terminal, an application server, a management server, and a set top box; the terminal and the application server are connected through a wide area network, and the application server and the management server pass the special a network or WAN connection, the management server and the set top box are connected through a private network or a wide area network; the set top box uploads an interface of the stored application and/or an operation description file of the application to the application server, and downloads a new one from the management server. The application version upgrades the set top box; the terminal customizes the interface and business logic of the application downloaded from the application server to generate a new application interface and/or a new operation description file, and uploads the application to the application. a server; compiling the entire set of code to generate a new version of the application according to the interface of the new application and/or a new operation description file; the management server receives the new version of the application compiled by the application server, according to the management server Deployed update strategy One or more notification target set top box updates the descriptive file; terminal comprising the above-described means, the application server comprising the above-described apparatus, the aforementioned means comprising a management server; the set top box comprising the above-described means.
下面结合优选实施例和实施方式对本发明进行详细说明。The invention will now be described in detail in conjunction with the preferred embodiments and embodiments.
本发明实施例提出一种由用户通过简单拖拽、点击移动终端屏幕,实时完成机顶盒应用界面和业务流程的自定义动态修改的方法和系统。本发明实施例中的移动终端不仅仅局限于智能手机,也可以Pad等其他终端设备。The embodiment of the invention provides a method and system for real-time custom dynamic modification of the set top box application interface and the business process by the user simply dragging and clicking on the screen of the mobile terminal. The mobile terminal in the embodiment of the present invention is not limited to a smart phone, and may be other terminal devices such as a Pad.
移动终端上部署有应用编辑模块,该模块可展示当前应用的界面样式和布局,用户可通过在终端屏幕上的手动拖转、点击等操作对控件样式和布局以及各控件对应的具体业务操作进行编辑。并根据用户编辑的界面和业务操作生成对应的描述文件。移动终端还可以选择需要更新界面和业务流程的目标机顶盒。An application editing module is deployed on the mobile terminal, and the module can display the interface style and layout of the current application. The user can manually drag and click on the terminal screen to control the style and layout of the control and the specific business operations corresponding to each control. edit. And generate corresponding description files according to the interface and business operations edited by the user. The mobile terminal can also select a target set top box that needs to update the interface and business process.
移动终端与应用服务器相连,将编辑好的对应描述文件发送给应用服务器。应用服务器上部署有编译模块,获取到对应描述文件后,根据其自动编译一个新版本的应用程序。The mobile terminal is connected to the application server, and sends the edited corresponding description file to the application server. A compiling module is deployed on the application server, and after obtaining the corresponding description file, a new version of the application is automatically compiled according to the same.
应用服务器与管理服务器相连,将编译后的应用程序安装文件传送给管理服务器;管理服务器与机顶盒通过网络连接。管理服务器根据自身部署的发布更新策略,通知目标机顶盒下载更新后的应用程序文件。The application server is connected to the management server, and the compiled application installation file is transmitted to the management server; the management server and the set top box are connected through the network. The management server notifies the target set-top box to download the updated application file according to the release update policy deployed by itself.
机顶盒从管理服务器上下载新版本的应用程序覆盖机顶盒上原有的老版本应用,启动并展示新应用。The set-top box downloads a new version of the application from the management server to cover the old version of the application on the set-top box, launching and displaying the new application.
本发明的实施例的步骤如下: The steps of an embodiment of the invention 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) of the application installation file. .
步骤6,应用服务器将生成的应用程序安装文件发送给管理服务器。然后,管理服务器根据自身部署的软件升级更新策略,通知指定范围的一台或多台目标机顶盒其对应的应用程序有新版本需升级。In step 6, the application server sends the generated application installation file to the management server. Then, the management server notifies the one or more target set-top boxes of the specified range that the corresponding application has a new version to be upgraded according to the software upgrade update policy deployed by itself.
步骤7,机顶盒连接管理服务器,判断服务器上的应用程序版本号是否高于机顶盒本地应用的版本号。如果服务器端的版本号更高,则下载该更新后的应用程序版本。Step 7. The set top box is connected to the management server, and determines whether the application version number on the server is higher than the version number of the local application of the set top box. If the version number on the server side is higher, download the updated version of the application.
步骤8,机顶盒应用新版本下载到机顶盒本地后,替换原有的应用程序文件。重新启动该应用,通过电视屏幕展示新的界面样式。Step 8. After the new version of the set-top box is downloaded to the set-top box, replace the original application file. Restart the app and show the new interface style through the TV screen.
与其他视频观看体验分享的方式相比,本优选实施例的优势为:用户可实时地、动态地修改自己的机顶盒应用程序界面,并重新定位机顶盒应用的业务逻辑。不再只是应用程序的使用者,而真正成为自己的应用的设计者,所见即所得地调整和修改自己的机顶盒应用程序。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, through the management policy of the management server, the mobile terminal user can selectively update the interface and service operations of multiple specified target set-top boxes at the same time.
在本发明的另外一个实施例中,移动终端为大屏智能手机,机顶盒为Android机顶盒;手机与应用服务器通过广域网(公网)连接;应用服务器与管理服务器通过内网或公网连接;管理服务器与机顶盒通过专网(如IPTV专网)或者广域网(公网)连接,本实施例中以IPTV专网为例进行讲解;手机和机顶盒之间可以不互通。In another embodiment of the present invention, the mobile terminal is a large-screen smart phone, the set-top box is an Android set-top box; the mobile phone and the application server are connected through a wide area network (public network); the application server and the management server are connected through an intranet or a public network; The IPTV private network is used as an example to describe the connection between the mobile phone and the set-top box. The mobile phone and the set-top box may not communicate with each other.
智能机顶盒上的部署了一个(内含界面展示模块的)OTT视频客户端应用,可展示媒体内容服务器侧所提供的视频节目。该实施例中使用手机客户端动态定制该机顶盒视频应用的界面。An OTT video client application (including the interface display module) is deployed on the smart set top box to display the video program provided by the media content server side. In this embodiment, the mobile client is used to dynamically customize the interface of the set top box video application.
图9是根据本发明优选实施例的机顶盒应用界面设计部署示意图,如图9所示,管理服 务器跨公网和IPTV专网两个网络平面;手机与应用服务器之间通过HTTP消息进行交互和文件传递;应用服务器与管理服务器之间通过TCP消息连接,通过ftp方式传递文件;管理服务器通过TCP消息与机顶盒交互,并通过ftp协议进行文件传输。9 is a schematic diagram of a design and deployment of a set top box application interface according to a preferred embodiment of the present invention, as shown in FIG. The server crosses the two network planes of the public network and the IPTV private network; the mobile phone and the application server exchange and file through HTTP messages; the application server communicates with the management server through a TCP message, and the file is transmitted through ftp; the management server passes The TCP message interacts with the set-top box and transfers files via the ftp protocol.
图10是根据本发明优选实施例的使用移动终端动态设置机顶盒应用的时序示意图,如图10所示,实施步骤如下:FIG. 10 is a timing diagram of dynamically setting a set top box application using a mobile terminal according to a preferred embodiment of the present invention. As shown in FIG. 10, the implementation steps are as follows:
步骤S1001、手机客户端向应用服务器发起Http请求,请求当前机顶盒视频应用界面和操作的最新描述文件。Step S1001: The mobile client sends an Http request to the application server to request a current description file of the current set top box video application interface and operation.
步骤S1002、手机客户端通过Http GET方法,从管理服务器下载上述最新的xml描述文件。Step S1002: The mobile client downloads the latest xml description file from the management server by using an Http GET method.
步骤S1003、手机客户端(应用编辑模块)根据获取到的机顶盒视频应用界面描述文件,在编辑模式下展示界面各控件的样式和布局,并将各控件的遥控器按键选中响应与操作逻辑进行对应。Step S1003: The mobile phone client (application editing module) displays the style and layout of each control interface in the edit mode according to the acquired set top box video application interface description file, and correspondingly controls the remote control button selection response of each control and the operation logic. .
步骤S1004、用户在手机屏幕上通过拖动操作,新增一个图片展示控件,并将该控件的皮肤贴图设置为一张最新的电影海报图片。通过点击和选择操作将该控件的遥控器按键选中响应定义为跳转至“本周最新电影”这个视频栏目页面。Step S1004: The user adds a picture display control by dragging on the screen of the mobile phone, and sets the skin map of the control as a latest movie poster picture. The control's remote control button selection response is defined by clicking and selecting to jump to the "This Week's Latest Movie" video section page.
步骤S1005、手机客户端应用编辑模块根据用户所做的修改,生成本次编辑的xml描述文件,该描述文件中定义了新增图片控件的类型和ID;使用左上角顶点坐标值和尺寸描述该控件的位置和大小;保存该控件的皮肤贴图的图片路径和名称;并在描述文件中将遥控器按键选中响应操作规定为:跳转至“本周最新电影”这个Activity。Step S1005: The mobile phone client application editing module generates an xml description file for editing this time according to the modification made by the user, where the type and ID of the newly added picture control are defined in the description file; and the coordinate value and size of the top left corner are used to describe the The position and size of the control; save the image path and name of the skin map of the control; and specify the response of the remote control button selection in the description file: Jump to the Activity of "This Week's Latest Movie".
步骤S1006、手机客户端将生成的xml描述文件与新增的电影海报图片打包,使用HttpPOST方法上传至应用服务器端。Step S1006: The mobile client parses the generated xml description file with the newly added movie poster image, and uploads it to the application server by using the HttpPOST method.
步骤S1007、应用服务器端部署有编译模块以及该应用的源代码。应用服务器收到有变化的文件(变更的描述文件和新增的图片文件)后,将这些文件替换原有代码中的文件,并触发自动编译脚本,编译生成新版本(版本号自动累加)的apk应用程序安装文件。Step S1007: The application server side deploys a compilation module and source code of the application. After receiving the changed files (changed description files and new image files), the application server replaces the files in the original code, and triggers the automatic compilation script to compile and generate a new version (the version number is automatically accumulated). Apk application installation file.
步骤S1008、应用服务器通知管理服务器,获取新版本的应用程序安装文件。管理服务器通过ftp下载应用服务器编译打包的新版本应用程序安装文件。Step S1008: The application server notifies the management server to acquire a new version of the application installation file. The management server compiles the packaged new version of the application installation file through the ftp download application server.
步骤S1009、管理服务器自身部署的机顶盒软件升级更新策略,通知一台或多台目标机顶盒,应用程序文件有更新,软件版本需进行升级,通知消息中附带当前应用程序的软件版本号。Step S1009: The set top box software upgrade update policy deployed by the management server itself, notifying one or more target set top boxes, the application file is updated, the software version needs to be upgraded, and the software version number of the current application is included in the notification message.
步骤S1010、目标机顶盒收到管理服务器发出的更新升级通知消息后,与本地应用程序的版本号进行比较。若新版本的版本号高于本地应用的版本号,则机顶盒升级模块访问管理服务器的指定ftp地址,下载更新后的应用程序安装文件并替换机顶盒原有的应用程序安装文件。 Step S1010: After receiving the update upgrade notification message sent by the management server, the target set top box compares with the version number of the local application. If the version number of the new version is higher than the version number of the local application, the set top box upgrade module accesses the specified ftp address of the management server, downloads the updated application installation file, and replaces the original application installation file of the set top box.
步骤S1011、完成S1010步骤后,机顶盒视频应用重新启动,展示新界面,则“本周最新电影”这个新控件在机顶盒视频应用中展示,使用机顶盒遥控器选中该控件并单击“确认”按钮,应用程序界面跳转至“本周最新电影”栏目页面。Step S1011, after completing the step S1010, the set-top box video application is restarted to display the new interface, and the new control "This week's latest movie" is displayed in the set-top box video application, using the set-top box remote control to select the control and click the "confirm" button. The application interface jumps to the "New Movies of the Week" section.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如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 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 are acquired; a corresponding one or more controls are generated according to the description file; and an attribute of the control is received. And/or an editing instruction of the business logic, the control is edited according to the editing instruction to generate a new application interface and/or a new operation description file; the interface of the new application is sent and/or a new operation description file is sent The application server 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.

Claims (16)

  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;
    根据所述描述文件生成对应的一个或多个控件;Generating corresponding one or more controls 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 of the new application and/or a new operational description file, the method comprises:
    将所述新的应用程序的界面和/或新的操作描述文件中网络链接对应的图片发送给所述应用服务器。Sending a picture corresponding to the network link in the interface of the new application and/or the new 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 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 a terminal corresponding to the control file of the set top box Attributes and/or business logic are 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 description file;
    所述应用服务器发送所述新版本的应用程序给管理服务器。The application server sends the new version of the application to the management server.
  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 code folder of the corresponding application according to the interface of the new application and/or a new operation description file, and compiles 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 and generates a new version of the application according to the interface of the new application and/or the new operation description file, 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:
    管理服务器接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序;The management server receives a new version of the application compiled by the application server according to the interface of the new application and/or the new operation description file;
    根据所述管理服务器部署的更新策略,对一台或多台目标机顶盒进行所述描述文件的更新。Updating the description file to one or more target set top boxes according to an update policy deployed by the management server.
  9. 根据权利要求8所述的方法,其中,对一台或多台目标机顶盒进行所述描述文件的更新包括:The method of claim 8 wherein the updating of the description file to one or more target set top boxes comprises:
    接收到符合预设要求的所述目标机顶盒的反馈后,发送所述新版本的应用程序给机顶盒。After receiving the feedback of the target set top box that meets the preset requirement, the new version of the application is sent to the set top box.
  10. 一种界面处理方法,包括:An interface processing method includes:
    接收管理服务器发送的新版本的应用程序,其中,所述新版本应用程序的界面和/或操作描述文件是终端通过对当前机顶盒的应用程序的界面和/或应用程序的操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,所述新版本的应用程序是应用服务器根据新的应用程序的界面和/或操作描述文件编译代码生成;Receiving a new version of the application sent by the management server, wherein the interface and/or the operation description file of the new version application is a terminal corresponding to the control of the current set top box application and/or the operation description file of the application The attribute and/or business logic is edited and generated, and the new version of the application is generated by the application server according to the interface and/or the operation description file of the new application;
    根据所述新版本的应用程序对所述机顶盒应用程序的进行升级。The set top box application is upgraded according to the new version of the application.
  11. 根据权利要求10所述的方法,其中,所述在接收所述管理服务器发送的新版本的应用程序之前,所述方法包括:The method of claim 10, wherein said method comprises: prior to receiving a new version of the application sent by said management server, said method comprising:
    对比所述新版本的应用程序的版本号与本地应用程序的版本号,在所述新的应用程序版本号高于本地版本号的情况下,下载所述新版本的应用程序。Comparing the version number of the new version of the application 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.
  12. 一种界面处理装置,包括: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;
    编辑模块,设置为根据所述描述文件生成对应的一个或多个控件;An editing module, configured to generate a corresponding one or more controls 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.
  13. 一种界面处理装置,包括: An interface processing device includes:
    第二接收模块,设置为应用服务器接收编辑后的新的应用程序的界面和/或新的操作描述文件,其中,所述新的应用程序的界面和/或新的操作描述文件是终端通过对机顶盒的描述文件对应控件的属性和/或业务逻辑进行编辑生成;a second receiving module, configured to receive, by the application server, an interface of the edited new application and/or a new operation description file, where the interface of the new application and/or the new operation description file is a terminal The description file of the set top box is edited and generated corresponding to the attributes and/or business logic of the control;
    编译模块,设置为所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件编译生成新版本的应用程序;Compiling a module, configured to compile, by the application server, a new version of the application according to the interface of the new application and/or a new operation description file;
    第二发送模块,设置为所述应用服务器发送所述新版本的应用程序给管理服务器。And a second sending module, configured to send, by the application server, the new version of the application to the management server.
  14. 一种界面处理装置,包括:An interface processing device includes:
    第三接收模块,设置为管理服务器接收应用服务器根据新的应用程序的界面和/或新的操作描述文件编译的新版本的应用程序;a third receiving module, configured to receive, by the management server, a new version of the application compiled by the application server according to the interface of the new application and/or the new operation description file;
    更新模块,设置为根据所述管理服务器部署的更新策略,对一台或多台目标机顶盒进行所述描述文件的更新。And an update module, configured to update the description file of one or more target set top boxes according to an update policy deployed by the management server.
  15. 一种界面处理装置,包括:An interface processing device includes:
    第四接收模块,设置为接收管理服务器发送的新版本的应用程序,其中,所述新版本应用程序的界面和/或操作描述文件是终端通过对当前机顶盒的应用程序的界面和/或应用程序的操作描述文件对应控件的属性和/或业务逻辑进行编辑生成,所述新版本的应用程序是所述应用服务器根据新的应用程序的界面和/或操作描述文件编译代码生成;a fourth receiving module, configured to receive a new version of the application sent by the management server, wherein the interface and/or the operation description file of the new version application is an interface and/or an application of the terminal through the application of the current set top box 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 generated by the application server according to the interface and/or the operation description file of the new application;
    升级模块,设置为根据所述新版本的应用程序对所述机顶盒应用程序的进行升级。An upgrade module configured to upgrade the set top box application according to the new version of the application.
  16. 一种界面处理系统,包括:终端、应用服务器、管理服务器和机顶盒;An interface processing system includes: a terminal, an application server, a management 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 management server through a private network or a wide area network, and the management server is connected to the set top box through a private network or a wide area network;
    所述机顶盒将存储的应用程序的界面和/或应用程序的操作描述文件上传到所述应用服务器,并从所述管理服务器下载新的应用程序版本对所述机顶盒进行升级;The set top box uploads an interface of the stored application and/or an operation description file of the application to the application server, and downloads a new application version from the management server to upgrade the set top box;
    所述终端对从所述应用服务器上下载的应用程序的界面和业务逻辑进行自定义修改生成新的应用程序的界面和/或新的操作描述文件,上传到所述应用服务器;The terminal performs a custom modification on an interface and a business logic of an application downloaded from the application server to generate a new application interface and/or a new operation description file, and uploads the file to the application server;
    所述应用服务器根据所述新的应用程序的界面和/或新的操作描述文件编译整套代码生成新版本的应用程序;The application server compiles the entire set of code according to the interface of the new application and/or a new operation description file to generate a new version of the application;
    所述管理服务器接收应用服务器编译的所述新版本的应用程序,根据所述管理服务器部署的更新策略,通知一台或多台目标机顶盒进行所述描述文件的更新;Receiving, by the management server, the new version of the application compiled by the application server, and notifying one or more target set-top boxes to update the description file according to the update policy deployed by the management server;
    所述终端包括权利要求12所述的装置;The terminal includes the apparatus of claim 12;
    所述应用服务器包括权利要求13所述的装置; The application server includes the apparatus of claim 13;
    所述管理服务器包括权利要求14所述的装置;The management server includes the apparatus of claim 14;
    所述机顶盒包括权利要求15所述的装置。 The set top box includes the apparatus of claim 15.
PCT/CN2016/077130 2015-03-25 2016-03-23 Interface processing method, apparatus, and system WO2016150387A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510134316.4 2015-03-25
CN201510134316.4A CN106162344A (en) 2015-03-25 2015-03-25 Interface processing method, Apparatus and system

Publications (1)

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

Family

ID=56976969

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199097A (en) * 2020-10-13 2021-01-08 深圳市广和通无线股份有限公司 Installation package generation method and device, computer equipment and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109905739A (en) * 2017-12-07 2019-06-18 北京雷石天地电子技术有限公司 Update method, the device and system at set-top box users interface
CN108304113B (en) * 2017-12-28 2020-11-06 深圳市创梦天地科技股份有限公司 Interface interaction configuration method and terminal
CN108897542A (en) * 2018-04-24 2018-11-27 北京奇艺世纪科技有限公司 A kind of soft project method of adjustment, device and electronic equipment
CN109324857B (en) * 2018-09-07 2021-10-08 腾讯科技(武汉)有限公司 User guide implementation method, device and storage medium
CN111338643A (en) * 2020-02-26 2020-06-26 北京思特奇信息技术股份有限公司 Method and system for synchronizing codes across hosts and networks

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558666A (en) * 2004-01-20 2004-12-29 大唐微电子技术有限公司 System and method for individualized customizing of set-top box equipment
US20060061779A1 (en) * 2004-09-21 2006-03-23 Microsoft Corporation System and method for editing ink objects
CN1969272A (en) * 2004-07-08 2007-05-23 微软公司 Importation of automatically generated content
CN101212599A (en) * 2006-12-31 2008-07-02 深圳市同洲电子股份有限公司 Digital TV user interface management system and method
CN104252356A (en) * 2013-06-28 2014-12-31 腾讯科技(深圳)有限公司 Interface generating method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080092052A1 (en) * 2006-10-12 2008-04-17 Motorola, Inc. Method and system for customizing multiple user interfaces mapped to functions
CN101958933A (en) * 2010-09-27 2011-01-26 深圳市同洲电子股份有限公司 Method and device for upgrading terminal software

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558666A (en) * 2004-01-20 2004-12-29 大唐微电子技术有限公司 System and method for individualized customizing of set-top box equipment
CN1969272A (en) * 2004-07-08 2007-05-23 微软公司 Importation of automatically generated content
US20060061779A1 (en) * 2004-09-21 2006-03-23 Microsoft Corporation System and method for editing ink objects
CN101212599A (en) * 2006-12-31 2008-07-02 深圳市同洲电子股份有限公司 Digital TV user interface management system and method
CN104252356A (en) * 2013-06-28 2014-12-31 腾讯科技(深圳)有限公司 Interface generating method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199097A (en) * 2020-10-13 2021-01-08 深圳市广和通无线股份有限公司 Installation package generation method and device, computer equipment and storage medium
CN112199097B (en) * 2020-10-13 2024-01-05 深圳市广和通无线股份有限公司 Installation package generation method, installation package generation device, computer equipment and storage medium

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2016150387A1 (en) Interface processing method, apparatus, and system
WO2016150386A1 (en) Interface processing method, apparatus, and system
JP6253110B2 (en) Using the application cache to update installed application resources
US9430225B2 (en) Software update service method and apparatus for mobile terminal
WO2016150390A1 (en) Interface processing method, apparatus, and system
WO2017193612A1 (en) Apparatus employing mobile terminal to operate electronic apparatus, system, and method
WO2016150388A1 (en) Interface processing method, apparatus, and system
WO2016150389A1 (en) Interface processing method, device and system
WO2017088388A1 (en) Method and system for upgrading sdk of application
WO2016177061A1 (en) Upgrade method and apparatus using over-the-air download technology
US20100281475A1 (en) System and method for mobile smartphone application development and delivery
US11716244B2 (en) Data driven user interface for configuring device settings
JP2011107752A (en) Information-processing device, communication system and program
WO2018033094A1 (en) Rich communication suite release platform, method and system for version update, and mobile terminal
US10367689B2 (en) Monitoring internet usage on home networks of panelist users
JP6587997B6 (en) Sliding window management method and system for time machine function
US10810353B2 (en) Player software architecture
WO2023020071A1 (en) Upgrade package acquisition method and smart device
JP2001273147A (en) Method, system and server for distributing information, terminal device and recording medium
CN112910956B (en) Resource creation method and device and electronic equipment
CN113596087A (en) Application upgrading method and device and computer readable storage medium
US20230215073A1 (en) Animated image publishing method and animated image generating method
CN112711425B (en) Service operation method and device
JP7089256B2 (en) Information processing equipment and programs
KR20090095980A (en) System and Method for Service Change Menu, and Server Service Change Menu, Apparatus, Recording Medium therefor

Legal Events

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

Ref document number: 16767764

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16767764

Country of ref document: EP

Kind code of ref document: A1