CN107357486A - Show icon resolution response method, TV and computer-readable recording medium - Google Patents

Show icon resolution response method, TV and computer-readable recording medium Download PDF

Info

Publication number
CN107357486A
CN107357486A CN201710567205.1A CN201710567205A CN107357486A CN 107357486 A CN107357486 A CN 107357486A CN 201710567205 A CN201710567205 A CN 201710567205A CN 107357486 A CN107357486 A CN 107357486A
Authority
CN
China
Prior art keywords
display icon
preset field
electronic installation
command
resolution response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710567205.1A
Other languages
Chinese (zh)
Other versions
CN107357486B (en
Inventor
徐晨
谢仁斌
卢挺欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Coocaa Network Technology Co Ltd
Original Assignee
Shenzhen Coocaa Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Coocaa Network Technology Co Ltd filed Critical Shenzhen Coocaa Network Technology Co Ltd
Priority to CN201710567205.1A priority Critical patent/CN107357486B/en
Publication of CN107357486A publication Critical patent/CN107357486A/en
Application granted granted Critical
Publication of CN107357486B publication Critical patent/CN107357486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses display icon resolution response method, TV and the computer-readable recording medium of a kind of electronic installation, by obtaining preset field corresponding to the display icon in user interface, preset field includes one or more command parameters corresponding with display icon;Preset field is encapsulated and preserved with display icon;Respond the operation that user clicks on packed display icon;Obtain preset field corresponding with packed display icon;The command parameter in the preset field, perform corresponding operate.By showing that icon sets corresponding preset field to TV in advance, and the display icon and preset field encapsulation are preserved, so that client directly can directly perform corresponding operation according to the preset field, alleviate the data transfer pressure of the interface of transmission data, and when showing that icon needs to extend its operation format, directly preset field can be modified, farthest reduce the variation of code.

Description

Show icon resolution response method, TV and computer-readable recording medium
Technical field
The present invention relates to TV technology, more particularly to a kind of display icon resolution response method of electronic installation, electricity Depending on and computer-readable recording medium.
Background technology
After TV experienced flat board, high Qinghua, the networking of TV, the intelligent main hair for having become television industries Open up direction.For the intelligent television of China in the market, continuous improvement and user couple with hardware and software technology The requirements at the higher level of quality of the life, function have become stronger and stronger, interaction also increasingly hommization, have overturned completely in the past Image of the TV in the minds of people.Although TV brings many facilities with information-based so high speed development, there is also certain Drawback.
The operating system of internet television is currently based on, is mainly carried out data transmission by background service, allows client End parsing data, perform operation.Increase with the click volume of internet television content, this mode obviously can not be timely and effective All user's operations of response, cause the experience of certain customers very poor.Simultaneously in the big data epoch, internet television it is interior Appearance material is also rich and varied, and response forms are also changing, and this increased by way of parsing data and performing operation in postorder rings Answer after form, it is necessary to a large amount of programming work.
The content of the invention
It is a primary object of the present invention to provide display icon resolution response method, TV and the calculating of a kind of electronic installation Machine readable storage medium storing program for executing, it is intended to solve the problems, such as that TV background data transfer pressure is big and response speed is slow.
To achieve the above object, the display icon resolution response method of a kind of electronic installation provided by the invention, the electricity The display icon resolution response method of sub-device comprises the following steps:
Preset field corresponding to the display icon in user interface is obtained, the preset field includes and the display icon Corresponding one or more command parameters;
The preset field is encapsulated and preserved with the display icon;
Respond the operation that user clicks on the packed display icon;
Obtain preset field corresponding with the packed display icon;
The command parameter in the preset field, perform corresponding operate.
Preferably, the preset field is onclick fields.
Preferably, the command parameter in the preset field, include corresponding to execution the step of order:
The command parameter in the preset field creates the operational order of the command parameter instruction;
Operational order according to being created performs the operation.
Preferably, the action command according to corresponding to the preset field creates the action bag of the action command instruction Include:Create start-up operation startActivity action and/or create the action for starting server startService and/or Create hair broadcast sendBroadcast action.
Preferably, the command parameter in the preset field creates the operation of the command parameter instruction Also include after the step of order:
When the action for creating the action command instruction according to the action command occurs abnormal, the application is responded Corresponding exception handling in preset field.
Preferably, include in the preset field of the response application the step of corresponding exception handling, it is described Command parameter includes exception parameters:
Parse the exception parameters of the preset field, and the behaviour according to corresponding to parsing performs exception parameters Make.
Preferably, the display icon obtained in user interface and preset field corresponding with the display icon, institute Stating the step of preset field includes the command parameter of one or more corresponding with the display icon includes:
Obtain the display icon in user interface;
One or more command parameters corresponding with the display icon are created according to the display icon;
Preset field is assembled into according to one or more of command parameters corresponding with the display icon.
Preferably, the command parameter includes:packagename、versioncode、params、dowhat、bywhat、 Byvalue parameters.
In addition, to achieve the above object, the present invention also provides a kind of TV, and the TV includes:Memory, processor and The display icon resolution response program for the electronic installation that can be run on the memory and on the processor is stored in, it is described The step of method as described above being realized when the display icon resolution response program of electronic installation is by the computing device.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable The display icon resolution response program of electronic installation, the display icon resolution response of the electronic installation are stored with storage medium The step of display icon resolution response method of electronic installation as described above is realized when program is executed by processor.
The display icon resolution response method of electronic installation of the present invention is corresponding by obtaining the display icon in user interface Preset field, the preset field includes and the corresponding one or more command parameters of the display icon;Will be described default Field is encapsulated and preserved with the display icon;Respond the operation that user clicks on the packed display icon;Acquisition and institute State preset field corresponding to packed display icon;The command parameter in the preset field, perform corresponding grasp Make.Show that icon sets corresponding preset field to TV in advance by the method for the present invention, and by the display icon with Preset field encapsulation preserves, so that client directly can perform corresponding operation according to the preset field, alleviates transmission The data transfer pressure of the interface of data, and when showing that icon needs to extend its operation format, directly preset field can be entered Row modification, farthest reduces the variation of code.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the display icon resolution response method first embodiment of electronic installation of the present invention;
Fig. 2 is the schematic flow sheet of the display icon resolution response method second embodiment of electronic installation of the present invention;
Fig. 3 is the schematic flow sheet of the display icon resolution response method 3rd embodiment of electronic installation of the present invention;
Fig. 4 is the schematic flow sheet of the display icon resolution response method fourth embodiment of electronic installation of the present invention;
Fig. 5 is the schematic diagram of TV of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of display icon resolution response method of electronic installation, and the electronic installation includes TV, hand The terminals such as machine, tablet personal computer.
In the first embodiment, reference picture 1, the display icon resolution response method of the electronic installation include following step Suddenly:
Step S10, the display icon in user interface and preset field corresponding with the display icon are obtained, it is described pre- If field includes one or more command parameters corresponding with the display icon.
In the present embodiment, it is illustrated by TV of electronic installation.In the processing system of the TV, TV Processing system generally include for data are managed background server, the data sent from background server are entered Row is parsed and it rendered to generate the front end of display effect, and the client of the data transmitted for receiving front-end End.Wherein, the front end and user interface are to be presented to one end of user.
Specifically, background server is used to be managed the data of corresponding display icon in television interfaces, wherein, electricity Depending on user interface on it is corresponding display icon can be corresponding film, channel, special topic, live, Apk (Android Package, Android installation kit), website links etc..These display icons can be operation personnel when developing tv product, Selection is either needed according to product according to investigation user's use habit;Or during the use of TV, user is autonomous Select application icon, plug-in unit, picture, thumbnail, the file etc. shown on a user interface.User is by clicking on the use of TV Display icon on the interface of family makes television system respond operation corresponding to the display icon, as clicked on a certain portion's film as user When showing icon, TV will play the film assets accordingly.
The background server is after the display icon that operation personnel's selection is shown on television user interface is got, together When can obtain preset field corresponding to the display icon, the preset field is that have selected corresponding display icon in operation personnel Afterwards, background server can create preset field corresponding with the display icon automatically according to selected display icon.It is described pre- If field is onclick fields.
Wherein, the onclick fields can include one or more command parameters corresponding with the display icon.Tool The command parameter of body can include:Packagename, versioncode, params, dowhat, bywhat, byvalue join Number.So background server is in the display icon on obtaining television user interface, while it is corresponding also to obtain the display icon Onclick fields.
Specifically, packagename represents the application bag of response operation;Versioncode represents the version letter of application bag Breath, can do version isolation in more New function;Params, which is represented, starts the parameter that application needs, such as heading message, if Can suspend, film ID, film source company, resource type etc.;Dowhat represents the concrete operations performed, including creates and start behaviour Make startActivity action and/or create the action for starting server startService and/or create hair broadcast The classes of sendBroadcast etc. three specifically act;The mode type of bywhat representative execution concrete operations, including action, Class, URI (Uniform Resource Identifier, Uniform Resource Identifier) etc.;Byvalue, which is represented, performs specific behaviour The occurrence of work, specific action, specific complete class name, specific URI etc.;Exception represents different in front-end processing Processing mode after often, parameter therein is identical with onclick fields, and the value of setting is primarily to after exception is started Default treatment.
It should be noted that the Onclick fields in the present embodiment are mainly with key:Value form composition, it is therein Key is the index of the field, and value is value.By indexing searching value, index must be unique, and value can repeat.It is this more High-speed searching is supported to the form of data composition and saves memory space, the speed of transmission mass data is substantially increased and avoids Data in transmitting procedure omit problem.
Step S20, the preset field is encapsulated and preserved with the display icon;
When platform service end gets onclick fields corresponding to the display icon and the display icon in the rear, Then further the onclick fields and display icon are packaged together, and are saved in database.
Specifically the setting of the parameters of onclick fields can refer to following examples:
{
"packagename":"com.tianci.movieplatform",
"versioncode":"1","dowhat":"startService",
"bywhat":"action","byvalue":"coocaa.intent.player.video",
"params":{"id":"_yinhe_203291601","name":" thunderbolt fire of special technical soldier ",
"url":"{'definition':'DEFINITON_1080P','tvId':'441828700',
'albumId':'203291601','vId':'92efb36f66e47f1a922e0e85d40eb,
aca'}","needParse":"false","company":"iqiyi","url_type":
"iqiyi","child_id":"3",},
"exception":{}
}
After the setting for completing onclick parameter, onclick fields corresponding with display icon are encapsulated into preservation extremely respectively Database.
Step S30, response user click on the operation of the packed display icon;
Step S40, obtain preset field corresponding with the packed display icon;
When user clicks on and correspondingly shows icon, the client end response click event, the now actually display icon Data corresponding to the display icon are stored in database by background server, the click event in client end response Afterwards, client obtains onclick fields corresponding to the display icon directly by background service from database.
Specifically, the multiple display icons shown in user interface of the user according to TV, selection click on one of those Show icon.After user clicks on the display icon, television headend obtains at the TV background server to be taken through backstage Onclick fields corresponding to the display icon of end seal of being engaged in dress and the display icon, the order from the onclick fields The onclick fields are parsed in parameter, client command parameter according to corresponding to the onclick fields after the parsing directly performs Corresponding operation.
Step S50, the command parameter in the preset field, perform corresponding operate.
Show that icon clicks on event in client end response, and obtain corresponding to the display icon and the display icon After onclick fields, the onclick fields are transferred to front end by client, and front end parses to the onclick fields.Before After end is parsed according to above-mentioned onclick fields, the field that front end needs is transmitted directly to client, so that client Corresponding action is directly performed according to the field of the parsing.For example, for example, user clicks a film, this film shows Onclick parameters corresponding to diagram mark are arranged to open in a manner of startup activity (startActivity) by background server Entitled " name ":The TV of " Chu Qiaochuan ", front end parse the onclick after onclick fields corresponding to the film are got Field, it is to need to trigger what action after being clicked to learn the display icon indicated by the field, then by the number after parsing According to client is sent to, then client can perform such a action according to parameter.
The present embodiment is by obtaining display icon and preset field corresponding with the display icon in user interface, institute Stating preset field includes one or more command parameters corresponding with the display icon;By the preset field and the display Icon is encapsulated and preserved;Respond the operation that user clicks on the packed display icon;Obtain and the packed display Preset field corresponding to icon;The command parameter in the preset field, perform corresponding operate.Pass through the present embodiment Method show that icon sets corresponding preset field to TV in advance, and the display icon and preset field encapsulation are protected Deposit, so that client can directly perform corresponding operation directly according to corresponding to the preset field, alleviate transmission data Interface data transfer pressure, and when show icon need to extend its operation format when, directly preset field can be repaiied Change, farthest reduce the variation of code.
Further, referring to Fig. 2, the display icon resolution response method first based on electronic installation of the present invention is implemented Example, in the display icon resolution response method second embodiment of electronic installation of the present invention, includes in the step S50:
Step S51, the command parameter in the preset field create the operation life of the command parameter instruction Order;
Step S52, the operation is performed according to the operational order created.
Television headend parses the onclick after onclick fields corresponding to the display icon of client transmission are got Field, and value corresponding to the dowhat parameters in the onclick fields creates corresponding action.For example, when described The instruction of dowhat parameters is startActivity, then television headend will create startActivity action;Work as dowhat When that parameter indicates is startService, then television headend will create startService action;When dowhat parameters refer to When that show is sendBroadcast, then television headend will create sendBroadcast action.And any activity specifically started And start that what parameter is then determined by bywhat and byvalue.The parameter wherein performed, which equally determines, is shown in electricity Depending on the effect on machine, for example, when display effect corresponding to the parameter performed is the operation of global pop-up or the operation of next step Need to further click on operation etc. of the display icon on TV, what these above-mentioned display effects can be according to performing Parameter is set.And after the display icon that user clicks on TV, client can be directly according to front end analytic parameter and basis The action that parameter creates directly performs corresponding action, so that client need not do excessive processing, reduces data Processing procedure and operation response time.
The present embodiment creates the command parameter by the command parameter of the television headend in the preset field The operational order of instruction;Operational order according to being created performs the operation.So that television headend can be directly by according to solution The action that the parameter of analysis creates is sent to client and is pointing directly at the action, reduces the intermediate treatment process of client, accelerates Response speed.
Further, referring to Fig. 3, the display icon resolution response method second based on electronic installation of the present invention is implemented Example, in the display icon resolution response method 3rd embodiment of electronic installation of the present invention, above-mentioned steps S51 includes:
Step S51a, when the action for creating the action command instruction according to the action command occurs abnormal, response Corresponding exception handling in the preset field of the application;
Specifically, in the present embodiment, onclick fields corresponding to the display icon also include exception parameters, The exception parameters represent the processing mode after front-end processing exception, and parameter therein is identical with onclick fields, The value of setting is primarily to default treatment after exception is started.
Television headend parses exception parameters after exception is handled, and performs corresponding action after parsing.Example Such as, user clicks a lichee TV softwares, and the onclick parameters of this material are arranged to by background server to start activity (startActivity) mode opens the entitled using being applied in bag of entitled com.tianci.appstore Com.js.litch application.Then client can perform such a action according to parameter.Now if the TV of user There is no the software for downloading installation lichee TV on machine, then client can open failure.So front end can further parse exception Field, then open lichee TV and download details page.
The application extends television headend after exception is handled by setting exception fields in preset field Processing mode.
Further, referring to Fig. 4, the display icon resolution response method second based on electronic installation of the present invention is implemented Example, in the display icon resolution response method fourth embodiment of electronic installation of the present invention, above-mentioned steps S10 includes:
Step S11, obtain the display icon in user interface;
Step S12, one or more command parameters corresponding with the display icon are created according to the display icon;
Step S13, preset field is assembled into according to one or more of command parameters corresponding with the display icon.
, can be according to the display in the present embodiment after display icon of the background server of TV on user interface is got The type of icon creates command parameter corresponding to one or more display icons for display icon, and the command parameter includes: One in packagename, versioncode, params, dowhat, bywhat, byvalue, exception parameter etc. It is or multiple.And above-mentioned one or more command parameters are assembled into preset field, for television headend and client root Corresponding operation is performed according to the preset field being assembled into by one or more command parameters.
In the present embodiment, parameters are just assembled into by preset field and display figure at background server by early stage Mark encapsulation, and be stored in database, between saving the assembling of background server, reduce the possibility of error, and Improve maintainability.
Fig. 5 is refer to, the present invention further provides a kind of TV 100, the TV includes:Memory 10, processor 20 And it is stored in the display icon resolution response journey for the electronic installation that can be run on the memory 10 and on the processor 20 Sequence.Following method and step is realized when the display icon resolution response program of the electronic installation is by the computing device:
Obtain the display icon in user interface and preset field corresponding with the display icon, the preset field bag Include one or more command parameters corresponding with the display icon;
The preset field is encapsulated and preserved with the display icon;
Respond the operation that user clicks on the packed display icon;
Obtain preset field corresponding with the packed display icon;
The command parameter in the preset field, perform corresponding operate.
In the present embodiment, illustrated by TV of electronic installation.In the television system, the processing end of TV includes For data are managed background server, the data sent from background server are parsed and it are carried out Render to generate the front end of display effect, and the client of the data transmitted for receiving front-end.
Specifically, background server is used to be managed the data of corresponding display icon in television interfaces, wherein, electricity Depending on user interface on it is corresponding display icon can be corresponding film, channel, special topic, live, Apk (Android Package, Android installation kit), website links etc..These display icons can be operation personnel when developing tv product, Selection is either needed according to product according to investigation user's use habit;Or during the use of TV, user is autonomous Select application icon, plug-in unit, picture, thumbnail, the file etc. shown on a user interface.User is by clicking on the use of TV Display icon on the interface of family makes television system respond operation corresponding to the display icon, as clicked on a certain portion's film as user When showing icon, TV will play the film assets accordingly.
The background server is after the display icon that operation personnel's selection is shown on television user interface is got, together When can obtain preset field corresponding to the display icon, the preset field is that have selected corresponding display icon in operation personnel Afterwards, background server can create preset field corresponding with the display icon automatically according to selected display icon.It is described pre- If field is onclick fields.
Wherein, the onclick fields can include one or more command parameters corresponding with the display icon.Tool The command parameter of body can include:Packagename, versioncode, params, dowhat, bywhat, byvalue join Number.So the background server while will also obtain the display icon in the display icon on obtaining television user interface Corresponding onclick fields.
Specifically, packagename represents the application bag of response operation;Versioncode represents the version letter of application bag Breath, can do version isolation in more New function;Params, which is represented, starts the parameter that application needs, such as heading message, if Can suspend, film ID, film source company, resource type etc.;Dowhat represents the concrete operations performed, including creates and start behaviour Make startActivity action and/or create the action for starting server startService and/or create hair broadcast The classes of sendBroadcast etc. three specifically act;The mode type of bywhat representative execution concrete operations, including action, Class, URI (Uniform Resource Identifier, Uniform Resource Identifier) etc.;Byvalue, which is represented, performs specific behaviour The occurrence of work, specific action, specific complete class name, specific URI etc.;Exception represents different in front-end processing Processing mode after often, parameter therein is identical with onclick fields, and the value of setting is primarily to after exception is started Default treatment.
It should be noted that the Onclick fields in the present embodiment are mainly with key:Value form composition, it is therein Key is the index of the field, and value is value.By indexing searching value, index must be unique, and value can repeat.It is this more High-speed searching is supported to the form of data composition and saves memory space, the speed of transmission mass data is substantially increased and avoids Data in transmitting procedure omit problem.
When platform service end gets onclick fields corresponding to the display icon and the display icon in the rear, Then further the onclick fields and display icon are packaged together, and are saved in database.
Specifically the setting of the parameters of onclick fields can refer to following examples:
{
"packagename":"com.tianci.movieplatform",
"versioncode":"1","dowhat":"startService",
"bywhat":"action","byvalue":"coocaa.intent.player.video",
"params":{"id":"_yinhe_203291601","name":" thunderbolt fire of special technical soldier ",
"url":"{'definition':'DEFINITON_1080P','tvId':'441828700',
'albumId':'203291601','vId':'92efb36f66e47f1a922e0e85d40eb,
aca'}","needParse":"false","company":"iqiyi","url_type":
"iqiyi","child_id":"3",},
"exception":{}
}
After the setting for completing onclick parameter, onclick fields corresponding with display icon are encapsulated into preservation extremely respectively Database.
When user clicks on and correspondingly shows icon, the client end response click event, the now actually display icon Data corresponding to the display icon are stored in database by background server, the click event in client end response Afterwards, client obtains onclick fields corresponding to the display icon directly by background service from database.
Specifically, the multiple display icons shown in user interface of the user according to TV, selection click on one of those Show icon.After user clicks on the display icon, television headend obtains at the TV background server to be taken through backstage Onclick fields corresponding to the display icon of end seal of being engaged in dress and the display icon, the order from the onclick fields The onclick fields are parsed in parameter, client command parameter according to corresponding to the onclick fields after the parsing directly performs Corresponding operation.
Show that icon clicks on event in client end response, and obtain corresponding to the display icon and the display icon After onclick fields, the onclick fields are transferred to front end by client, and front end parses to the onclick fields.Before After end is parsed according to above-mentioned onclick fields, the field that front end needs is transmitted directly to client, so that client Corresponding action is directly performed according to the field of the parsing.For example, for example, user clicks a film, this film shows Onclick parameters corresponding to diagram mark are arranged to open in a manner of startup activity (startActivity) by background server Entitled " name ":The TV of " Chu Qiaochuan ", front end parse the onclick after onclick fields corresponding to the film are got Field, it is to need to trigger what action after being clicked to learn the display icon indicated by the field, then by the number after parsing According to client is sent to, then client can perform such a action according to parameter.
The present embodiment is by obtaining display icon and preset field corresponding with the display icon in user interface, institute Stating preset field includes one or more command parameters corresponding with the display icon;By the preset field and the display Icon is encapsulated and preserved;Respond the operation that user clicks on the packed display icon;Obtain and the packed display Preset field corresponding to icon;The command parameter in the preset field, perform corresponding operate.Pass through the present embodiment Method show that icon sets corresponding preset field to TV in advance, and the display icon and preset field encapsulation are protected Deposit, so that client can directly perform corresponding operation directly according to corresponding to the preset field, alleviate transmission data Interface data transfer pressure, and when show icon need to extend its operation format when, directly preset field can be repaiied Change, farthest reduce the variation of code.
In one embodiment, when the display icon resolution response program of the electronic installation is by the computing device, institute The step of stating according to the command parameter in the preset field, performing corresponding order includes:
The command parameter in the preset field creates the operational order of the command parameter instruction;
Operational order according to being created performs the operation.
Television headend parses the onclick after onclick fields corresponding to the display icon of client transmission are got Field, and value corresponding to the dowhat parameters in the onclick fields creates corresponding action.For example, when described The instruction of dowhat parameters is startActivity, then television headend will create startActivity action;Work as dowhat When that parameter indicates is startService, then television headend will create startService action;When dowhat parameters refer to When that show is sendBroadcast, then television headend will create sendBroadcast action.And any activity specifically started And start that what parameter is then determined by bywhat and byvalue.The parameter wherein performed, which equally determines, is shown in electricity Depending on the effect on machine, for example, when display effect corresponding to the parameter performed is the operation of global pop-up or the operation of next step Need to further click on operation etc. of the display icon on TV, what these above-mentioned display effects can be according to performing Parameter is set.And after the display icon that user clicks on TV, client can be directly according to front end analytic parameter and basis The action that parameter creates directly performs corresponding action, so that client need not do excessive processing, reduces data Processing procedure and operation response time.
The present embodiment creates the command parameter by the command parameter of the television headend in the preset field The operational order of instruction;Operational order according to being created performs the operation.So that television headend can be directly by according to solution The action that the parameter of analysis creates is sent to client and is pointing directly at the action, reduces the intermediate treatment process of client, accelerates Response speed.
Further, in one embodiment, the display icon resolution response program of the electronic installation is by the processor During execution, the operational order of the command parameter instruction is created in the command parameter in the preset field Following method and step is also realized after step:
When the action for creating the action command instruction according to the action command occurs abnormal, the application is responded Corresponding exception handling in preset field.
Specifically, in the present embodiment, onclick fields corresponding to the display icon also include exception parameters, The exception parameters represent the processing mode after front-end processing exception, and parameter therein is identical with onclick fields, The value of setting is primarily to default treatment after exception is started.
Television headend parses exception parameters after exception is handled, and performs corresponding action after parsing.Example Such as, user clicks a lichee TV softwares, and the onclick parameters of this material are arranged to by background server to start activity (startActivity) mode opens the entitled using being applied in bag of entitled com.tianci.appstore Com.js.litch application.Then client can perform such a action according to parameter.Now if the TV of user There is no the software for downloading installation lichee TV on machine, then client can open failure.So front end can further parse exception Field, then open lichee TV and download details page.
The application extends television headend after exception is handled by setting exception fields in preset field Processing mode.
Further, in one embodiment, the display icon resolution response program of the electronic installation is by the processor During execution, the display icon obtained in user interface and preset field corresponding with the display icon, the predetermined word Section include with it is described display icon it is corresponding one or more command parameter the step of include:
Obtain the display icon in user interface;
One or more command parameters corresponding with the display icon are created according to the display icon;
Preset field is assembled into according to one or more of command parameters corresponding with the display icon.
, can be according to the display in the present embodiment after display icon of the background server of TV on user interface is got The type of icon creates command parameter corresponding to one or more display icons for display icon, and the command parameter includes: One in packagename, versioncode, params, dowhat, bywhat, byvalue, exception parameter etc. It is or multiple.And above-mentioned one or more command parameters are assembled into preset field, for television headend and client root Corresponding operation is performed according to the preset field being assembled into by one or more command parameters.
In the present embodiment, parameters are just assembled into by preset field and display figure at background server by early stage Mark encapsulation, and be stored in database, between saving the assembling of background server, reduce the possibility of error, and Improve maintainability.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium On be stored with the display icon resolution response program of electronic installation, the display icon resolution response program of the electronic installation is located Manage and following operation is realized when device performs:
Obtain the display icon in user interface and preset field corresponding with the display icon, the preset field bag Include one or more command parameters corresponding with the display icon;
The preset field is encapsulated and preserved with the display icon;
Respond the operation that user clicks on the packed display icon;
Obtain preset field corresponding with the packed display icon;
The command parameter in the preset field, perform corresponding operate.
Specially realize the method and step of above-mentioned first embodiment.
Further, when the display icon resolution response program of the electronic installation is by the computing device, described According to the command parameter in the preset field, include corresponding to execution the step of order:
The command parameter in the preset field creates the operational order of the command parameter instruction;
Operational order according to being created performs the operation.
Specially implement the method and step of above-mentioned second embodiment.
Further, when the display icon resolution response program of the electronic installation is by the computing device, described The command parameter in the preset field is gone back in fact after creating the step of operational order of the command parameter instruction Now following method and step:
When the action for creating the action command instruction according to the action command occurs abnormal, the application is responded Corresponding exception handling in preset field.
Specially implement the method and step of above-mentioned 3rd embodiment.
Further, it is described to obtain when the display icon resolution response program of the electronic installation is by the computing device The display icon in user interface and preset field corresponding with the display icon are taken, the preset field includes showing with described The step of command parameter of the corresponding one or more of diagram mark, includes:
Obtain the display icon in user interface;
One or more command parameters corresponding with the display icon are created according to the display icon;
Preset field is assembled into according to one or more of command parameters corresponding with the display icon.
Specially implement the method and step of above-mentioned fourth embodiment.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of display icon resolution response method of electronic installation, it is characterised in that the display icon solution of the electronic installation Analysis response method comprises the following steps:
Preset field corresponding to the display icon in user interface is obtained, the preset field includes corresponding with the display icon One or more command parameters;
The preset field is encapsulated and preserved with the display icon;
Respond the operation that user clicks on the packed display icon;
Obtain preset field corresponding with the packed display icon;
The command parameter in the preset field, perform corresponding operate.
2. the display icon resolution response method of electronic installation according to claim 1, it is characterised in that the predetermined word Section is onclick fields.
3. the display icon resolution response method of electronic installation according to claim 1, it is characterised in that the basis should The command parameter in preset field, include corresponding to execution the step of order:
The command parameter in the preset field creates the operational order of the command parameter instruction;
Operational order according to being created performs the operation.
4. the display icon resolution response method of electronic installation according to claim 3, it is characterised in that described according to institute Stating the action of the action command instruction of action command establishment corresponding to preset field includes:Create start-up operation StartActivity action and/or the action and/or establishment hair broadcast for creating startup server startService SendBroadcast action.
5. the display icon resolution response method of electronic installation according to claim 3, it is characterised in that described according to institute State the step of command parameter in preset field creates the operational order of the command parameter instruction also includes afterwards:
When the action for creating the action command instruction according to the action command occurs abnormal, the default of the application is responded Corresponding exception handling in field.
6. the display icon resolution response method of electronic installation according to claim 5, it is characterised in that the response institute The step of stating corresponding exception handling in the preset field of application includes, and the command parameter includes exception parameters:
Parse the exception parameters of the preset field, and the operation according to corresponding to parsing performs exception parameters.
7. the display icon resolution response method of the electronic installation according to any one of claim 1~6, it is characterised in that Display icon and preset field corresponding with the display icon in the acquisition user interface, the preset field include with The step of command parameter of the corresponding one or more of display icon, includes:
Obtain the display icon in user interface;
One or more command parameters corresponding with the display icon are created according to the display icon;
Preset field is assembled into according to one or more of command parameters corresponding with the display icon.
8. the display icon resolution response method of the electronic installation according to any one of claim 1~6, it is characterised in that The command parameter includes:Packagename, versioncode, params, dowhat, bywhat, byvalue parameter.
9. a kind of TV, it is characterised in that the TV includes:Memory, processor and it is stored on the memory and can The display icon resolution response program of the electronic installation run on the processor, the display icon parsing of the electronic installation Responder is realized the method as described in claim any one of 1-8 during computing device the step of.
10. a kind of computer-readable recording medium, it is characterised in that electronics dress is stored with the computer-readable recording medium The display icon resolution response program put, the display icon resolution response program of the electronic installation are realized when being executed by processor The step of display icon resolution response method of electronic installation as described in claim any one of 1-8.
CN201710567205.1A 2017-07-12 2017-07-12 Show icon resolution response method, TV and computer readable storage medium Active CN107357486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710567205.1A CN107357486B (en) 2017-07-12 2017-07-12 Show icon resolution response method, TV and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710567205.1A CN107357486B (en) 2017-07-12 2017-07-12 Show icon resolution response method, TV and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107357486A true CN107357486A (en) 2017-11-17
CN107357486B CN107357486B (en) 2019-11-19

Family

ID=60292516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710567205.1A Active CN107357486B (en) 2017-07-12 2017-07-12 Show icon resolution response method, TV and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107357486B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151591A (en) * 2018-11-20 2019-01-04 四川长虹电器股份有限公司 The method of smart television application starting

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533432A (en) * 2013-04-19 2014-01-22 Tcl集团股份有限公司 Method and system for starting television application
CN104090975A (en) * 2014-07-18 2014-10-08 广州金山网络科技有限公司 Application management method and device
CN105808276A (en) * 2014-12-30 2016-07-27 乐视致新电子科技(天津)有限公司 Application management method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533432A (en) * 2013-04-19 2014-01-22 Tcl集团股份有限公司 Method and system for starting television application
CN104090975A (en) * 2014-07-18 2014-10-08 广州金山网络科技有限公司 Application management method and device
CN105808276A (en) * 2014-12-30 2016-07-27 乐视致新电子科技(天津)有限公司 Application management method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151591A (en) * 2018-11-20 2019-01-04 四川长虹电器股份有限公司 The method of smart television application starting

Also Published As

Publication number Publication date
CN107357486B (en) 2019-11-19

Similar Documents

Publication Publication Date Title
US11687324B2 (en) Property management method and property management system and machine using the same
EP3011442B1 (en) Method and apparatus for customized software development kit (sdk) generation
US20020165993A1 (en) System and method of partitioning software components of a monolithic component-based application program to separate graphical user interface elements for local execution at a client system in conjunction with remote execution of the application program at a server system
US20140075453A1 (en) Method and device for controlling communication between applications in a web runtime environment
US9646103B2 (en) Client-side template engine and method for constructing a nested DOM module for a website
EP2938044A1 (en) System, method, apparatus, and server for displaying network medium information
US20120311524A1 (en) Gateway Data Distribution Engine
CN107408065B (en) Monitoring application loading
CN106997298A (en) A kind of application resource acquisition methods and device
WO2016005885A2 (en) Asynchronous initialization of document object model (dom) modules
US20160012144A1 (en) Javascript-based, client-side template driver system
CN108021583A (en) Page loading method, the processing method and client of page operation instruction
CN103257788A (en) Windows desktop dynamic icon forming method
CN107357486B (en) Show icon resolution response method, TV and computer readable storage medium
WO2016005886A2 (en) Self-referencing of running script elements in asychronously loaded dom modules
CN104102536B (en) The methods of exhibiting and system of a kind of data
CN112487322B (en) Third party application Loading page loading method and display device
Jones Learn Windows PowerShell in a Month of Lunches
WO2016005888A2 (en) Client web browser and method for constructing a website dom module with client-side functional code
Buddha et al. The Definitive Guide to AWS Application Integration: With Amazon SQS, SNS, SWF and Step Functions
Muck Flash Remoting: The Definitive Guide: Connecting Flash MX Applications to Remote Services
US20160173570A1 (en) Methods, apparatus, systems and computer readable media for use in association with partitioning and/or rendering
CN110968312A (en) Method and device for changing interface layout of application program
WO2016000635A1 (en) Method for operating tool in working environment and machine using such method
EP3166017A1 (en) Method for projecting workspace and system using same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 2306, east block, Skyworth semiconductor design building, 18 Gaoxin South 4th Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Shenzhen Kukai Network Technology Co.,Ltd.

Address before: 518108 room 1502, block a, South Skyworth building, Shennan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen Coocaa Network Technology Co.,Ltd.