CN102202242A - Realization method of JavaScript interpreter based on set-top box browser - Google Patents
Realization method of JavaScript interpreter based on set-top box browser Download PDFInfo
- Publication number
- CN102202242A CN102202242A CN2011101314040A CN201110131404A CN102202242A CN 102202242 A CN102202242 A CN 102202242A CN 2011101314040 A CN2011101314040 A CN 2011101314040A CN 201110131404 A CN201110131404 A CN 201110131404A CN 102202242 A CN102202242 A CN 102202242A
- Authority
- CN
- China
- Prior art keywords
- module
- interpreter
- statement
- stack
- browser
- 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.)
- Pending
Links
Images
Abstract
The invention discloses a realization method of JavaScript interpreter based on a set-top box browser. The interpreter system comprises an interpreting front end, an interpreting rear end and an interpreting execution control module. The interpreting front end includes a lexical analyzer module, grammar analyzer module, a source file module, an error processing module and intermediate code generation module. The interpreting rear end includes an execution stack module, an object database module, a clause interpreter module, an expression protocol module, an object interpreting module, a module of interaction between the interpreting rear end and the browser, a system resource management module and the like. JavaScript language imbedded in webpage can be rapidly and efficiently executed by the interpreter of the invention in an embedded browser, which raises real-time property, dynamics and interactivity of the embedded browser and users. Large-scale usage of small memory blocks can be effectively reduced. Memory utilization rates can be raised and effects are good.
Description
Technical field
The present invention relates to digital home technical field, be specifically related to a kind of JavaScript interpreter implementation method based on set box browser.
Background technology
A critical function of Digital Television is exactly the realization condition receiving function: set-top box is again a kind of terminal based on Internet, therefore, needs a kind of means of platform payment.For the supporting platform payment, need JavaScript to expand its built-in function storehouse, provide and the relevant function of platform payment, as, the function of deducting fees, terminal message signature function etc.In addition, along with the deployment of Digital Television, set-top box will enter common people's family, the cost of strict like this controller top box on a large scale.Therefore the configuration of set-top box will be very low, common in the market digital TV set-top box configuration is 4M Flash, 16M internal memory, CPU are handled dominant frequency (existing a lot of in the recent period high primary frequency products occur) about 130M, and be very high to the requirement of browser and interpreter like this.In general, the built-in browser run duration committed memory that requires digital TV set-top box is under 6M, and the code size is less than 1M.The configuration of the IPTV set-top box digital TV set-top box height that can compare, it is bigger to make embedded type browser sending wave the space.In the characteristics of aspect of performance at embedded system, require to explain the efficient height, can expand easily the support of JavaScript; Require simultaneously with browser between intersect the least possible so that the form direction of JavaScript rendering engine to plug-in unit developed.
In research and practice process to the method, the present inventor finds: interpreter of the present invention can be carried out the JavaScript language that embeds in the webpage fast and efficiently in built-in browser, improved built-in browser and user's real-time, dynamic and interactivity.Can reduce the extensive use of little memory block effectively, improve memory usage, respond well.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of JavaScript interpreter implementation method based on set box browser can carry out the JavaScript language that embeds in the webpage fast and efficiently in built-in browser, improved built-in browser and user's real-time, dynamic and interactivity.Can reduce the extensive use of little memory block effectively, improve memory usage.
A kind of JavaScript interpreter implementation method based on set box browser is characterized in that: comprise that the interpreter system comprises the explanation front end and explains the rear end and explanation execution control module.Explain that front end comprises lexical analyzer module, syntax analyzer module, source file module, error handling processing module, intermediate code generation module; Explain the rear end comprise execution stack module, library of object module, clause's interpreter module, expression formula stipulations module, object explanation module, with browser interactive module, system resource management module; Wherein,
The lexical analyzer module is read in source program in the mode of character string, and it is divided into several marks, and the word of mark in natural language is similar.We are divided into identifier, character string, integer, floating number, Boolean, operator etc. with the word of JavaScript language.Source program is through generating a word doubly linked list after the morphological analysis, for the syntax analyzer module invokes of back.
The syntax analyzer module as input, is called different statement identifiers with the word chained list respectively, discerns them and whether meets the given syntax, and finally generate the intermediate code of a syntax tree structure, carries out control module for explained later and carries out.
The intermediate code generation module is that the result that source program produces after morphological analysis and syntactic analysis is generated as intermediate object program.It comprises the content of program circuit structure and data dictionary two aspects.Comprised various sentence structures in the program circuit structure, data dictionary is the place that is used for depositing routine data, and it is meant the set of the global variable of storage, the local variable in the subprogram and the local variable in the compound statement.Data dictionary is searched needed data for expression formula reduction module in reduction procedure.
Explain that carrying out control module explanation implementation controller is responsible for according to the semanteme of statement execution being explained one by one in the source program statement according to generating good intermediate data structure in advance.The order implementation of its control program.The call statement interpreter interprets is carried out the wall scroll statement in the implementation, and carries out or termination according to the continuation of explanation results control program.
The execution stack module is the data structure that expression formula reduction module will be used, and it comprises a symbol stack and an operand stack, is used for depositing finishing sign and operand in the expression formula reduction procedure respectively.
The library of object module also is the place that is used for depositing routine data, it be meant storage the system definition object,
The set of object in the browser document model and User Defined object.Library of object is explained for the object of interpreter provides the operation basis, also provides operating mechanism alternately for interpreter and browser simultaneously.It has comprised the content of the aspects such as attribute, method and event handling of object.
The error handling processing module is responsible for handling morphological analysis, syntactic analysis and is explained the mistake that occurs in the implementation
Mistake if source program morphology grammer does not meet the rule of JavaScript language, mistake occurs when perhaps carrying out, then write down the statement of current execution, and return immediately.
Clause's interpreter module is finished the explanation of wall scroll statement and is carried out.The all corresponding statement interpreter of the statement of each type.It finishes corresponding Semantic Actions according to statement type.Clause's interpreter calls the value of expression formula reduction module calculation expression in interpretation process, and according to result of calculation control statement flow process.
Expression formula reduction module is finished the computing of forming the various expression formulas of statement in the statement implementation.Expression formula reduction module is found out subexpression according to the production rule of expression formula and is carried out the operation result that reduction finally draws expression formula.
The object explanation module is realized the object-based characteristic of JavaScript language, and it comprises the quoting of object, method call and event handling.In the object interpretation process, mutual with browser finished in the method call of the variation of interpreter by the object properties value, object or event handling.Finish the explanation of shell script with the browser interactive module and carry out the side effect that webpage is produced, revise the attribute of browser object, the output of influence or change browser shows.As cause control change in location in the webpage, trigger the submission of list in the webpage etc.
The resource management of system resource management modular system acts on whole interpreter, and the used memory source of interpreter is distributed and reclaims, and cpu resource is rationally controlled.
In the design of described explanation front end, the syntax analyzer module logically is higher than lexical analyzer module and Semantic Actions parts, takes the strategy of " instant getting ", has saved the memory cost of intermediate data structures such as word chained list.
The back-end system of interpreter is actually a virtual machine of explaining self-defined bytecode.The rear end dummy machine system is made up of bytecode explanation control program and function calling relationship stack, operand stack, variable data stack and object information record sheet five parts.
Wherein, bytecode byte control program is operated operand according to the operator sign indicating number of bytecode, pops such as pushing on etc.The function calling relationship record stack the mutual call relation of the various executable codes of JavaScript, whenever entering a new executable code, just function calling relationship stack stack top be pressed into current executable code execution context environmental information.Operand stack is mainly used in the preservation of carrying out various calculating and intermediate object program.All calculating of intermediary bytes sign indicating number are all carried out based on it.Variable information when the variable data stack is used to write down the bytecode execution.Whenever entering a new executable code, just be pressed into the local variable information (comprising name variable, type, value etc.) of current executable code at the variable data stack, in case current executable code is finished, the variable data stack top element is promptly ejected, and coherent element ejects in function calling relationship stack and the operand stack simultaneously.The object information record sheet is the memory field of the various JavaScript objects of storage.Because the free memory resource-constrained and the little memory block of mobile phone middleware platform utilize inadequate characteristics, with the structural array of regular length as the object information record sheet.Record comprises the attribute number of object, the attribute information of object etc. in the object record table.In JavaScript, the method for object also is considered the attribute of object.
Technique scheme as can be seen, the present invention has following beneficial effect:
Interpreter of the present invention can be carried out the JavaScript language that embeds in the webpage fast and efficiently in built-in browser, improved built-in browser and user's real-time, dynamic and interactivity.Can reduce the extensive use of little memory block effectively, improve memory usage, respond well.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the system construction drawing of a kind of JavaScript interpreter implementation method based on set box browser of the present invention;
Fig. 2 is the lexical analyzer modular structure figure of a kind of JavaScript interpreter implementation method based on set box browser of the present invention;
Fig. 3 is the syntax analyzer modular structure figure of a kind of JavaScript interpreter implementation method based on set box browser of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of JavaScript interpreter implementation method based on set box browser, below is elaborated respectively.
The interpreter system comprises the explanation front end and explains the rear end and explain the execution control module as shown in Figure 1.Explain that front end comprises lexical analyzer module, syntax analyzer module, source file module, error handling processing module, intermediate code generation module; Explain the rear end comprise execution stack module, library of object module, clause's interpreter module, expression formula stipulations module, object explanation module, with browser interactive module, system resource management module;
Wherein, the lexical analyzer module is read in source program in the mode of character string, and it is divided into several marks, and the word of mark in natural language is similar.We are divided into identifier, character string, integer, floating number, Boolean, operator etc. with the word of JavaScript language.Source program is through generating a word doubly linked list after the morphological analysis, for the syntax analyzer module invokes of back.
The syntax analyzer module as input, is called different statement identifiers with the word chained list respectively, discerns them and whether meets the given syntax, and finally generate the intermediate code of a syntax tree structure, carries out control module for explained later and carries out.
The intermediate code generation module is that the result that source program produces after morphological analysis and syntactic analysis is generated as intermediate object program.It comprises the content of program circuit structure and data dictionary two aspects.Comprised various sentence structures in the program circuit structure, data dictionary is the place that is used for depositing routine data, and it is meant the set of the global variable of storage, the local variable in the subprogram and the local variable in the compound statement.Data dictionary is searched needed data for expression formula reduction module in reduction procedure.
Explain that carrying out control module explanation implementation controller is responsible for according to the semanteme of statement execution being explained one by one in the source program statement according to generating good intermediate data structure in advance.The order implementation of its control program.The call statement interpreter interprets is carried out the wall scroll statement in the implementation, and carries out or termination according to the continuation of explanation results control program.
The execution stack module is the data structure that expression formula reduction module will be used, and it comprises a symbol stack and an operand stack, is used for depositing finishing sign and operand in the expression formula reduction procedure respectively.
The library of object module also is the place that is used for depositing routine data, it be meant storage the system definition object,
The set of object in the browser document model and User Defined object.Library of object is explained for the object of interpreter provides the operation basis, also provides operating mechanism alternately for interpreter and browser simultaneously.It has comprised the content of the aspects such as attribute, method and event handling of object.
The error handling processing module is responsible for handling morphological analysis, syntactic analysis and is explained the mistake that occurs in the implementation
Mistake if source program morphology grammer does not meet the rule of JavaScript language, mistake occurs when perhaps carrying out, then write down the statement of current execution, and return immediately.
Clause's interpreter module is finished the explanation of wall scroll statement and is carried out.The all corresponding statement interpreter of the statement of each type.It finishes corresponding Semantic Actions according to statement type.Clause's interpreter calls the value of expression formula reduction module calculation expression in interpretation process, and according to result of calculation control statement flow process.
Expression formula reduction module is finished the computing of forming the various expression formulas of statement in the statement implementation.Expression formula reduction module is found out subexpression according to the production rule of expression formula and is carried out the operation result that reduction finally draws expression formula.
The object explanation module is realized the object-based characteristic of JavaScript language, and it comprises the quoting of object, method call and event handling.In the object interpretation process, mutual with browser finished in the method call of the variation of interpreter by the object properties value, object or event handling.Finish the explanation of shell script with the browser interactive module and carry out the side effect that webpage is produced, revise the attribute of browser object, the output of influence or change browser shows.As cause control change in location in the webpage, trigger the submission of list in the webpage etc.
The resource management of system resource management modular system acts on whole interpreter, and the used memory source of interpreter is distributed and reclaims, and cpu resource is rationally controlled.
In the design of described explanation front end, the syntax analyzer module logically is higher than lexical analyzer module and Semantic Actions parts, takes the strategy of " instant getting ", has saved the memory cost of intermediate data structures such as word chained list.
The back-end system of interpreter is actually a virtual machine of explaining self-defined bytecode.The rear end dummy machine system is made up of bytecode explanation control program and function calling relationship stack, operand stack, variable data stack and object information record sheet five parts.
Wherein, bytecode byte control program is operated operand according to the operator sign indicating number of bytecode, pops such as pushing on etc.The function calling relationship record stack the mutual call relation of the various executable codes of JavaScript, whenever entering a new executable code, just function calling relationship stack stack top be pressed into current executable code execution context environmental information.Operand stack is mainly used in the preservation of carrying out various calculating and intermediate object program.All calculating of intermediary bytes sign indicating number are all carried out based on it.Variable information when the variable data stack is used to write down the bytecode execution.Whenever entering a new executable code, just be pressed into the local variable information (comprising name variable, type, value etc.) of current executable code at the variable data stack, in case current executable code is finished, the variable data stack top element is promptly ejected, and coherent element ejects in function calling relationship stack and the operand stack simultaneously.The object information record sheet is the memory field of the various JavaScript objects of storage.Because the free memory resource-constrained and the little memory block of mobile phone middleware platform utilize inadequate characteristics, with the structural array of regular length as the object information record sheet.Record comprises the attribute number of object, the attribute information of object etc. in the object record table.In JavaScript, the method for object also is considered the attribute of object.
Lexical analyzer resume module flow process is as shown in Figure 2: reject useless space when lexical analyzer calls the preliminary treatment subprogram, jump editor's property literal such as lattice, carriage return and line feed, handle out a string input character and put into after the scanning buffer, scanner is identified word symbol one by one from buffering area just.After the character string in the buffering area was processed, it called the preprocessor new string of packing into again.
Syntax analyzer resume module flow process is as shown in Figure 3: with the word symbol doubly linked list that morphological analysis was generated is input, according to syntactic analysis technique, the source program statement is analyzed one by one, finally generates the statement flow chart and the data dictionary of source program.Call statement identifier in the implementation is discerned different types of statement, also will generate data dictionary simultaneously, for explaining that carrying out control module uses the expression formula stipulations.
The statement identifier is finished the identification to the wall scroll statement, all has a statement identifier corresponding with it for different types of statement.The statement identifier is to discern according to the syntax rule of statement and the semantic statement that carries out.Data dictionary is the place of depositing routine data, and it comprises the local variable in global variable, function shape parameter and the statement block.Data dictionary is searched needed data for the expression formula stipulations module of explaining Executive Module when carrying out the expression formula stipulations.
Need to prove, contents such as the information interaction between said apparatus and intrasystem each unit, implementation since with the inventive method embodiment based on same design, particular content can repeat no more referring to the narration among the inventive method embodiment herein.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than to a kind of JavaScript interpreter implementation method that the embodiment of the invention provided based on set box browser, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (3)
1. JavaScript interpreter implementation method based on set box browser, it is characterized in that: the interpreter system comprises to be explained front end and explains the rear end and explanation execution control module, explains that front end comprises lexical analyzer module, syntax analyzer module, source file module, error handling processing module, intermediate code generation module; Explain the rear end comprise execution stack module, library of object module, clause's interpreter module, expression formula stipulations module, object explanation module, with browser interactive module, system resource management module;
Wherein, the lexical analyzer module is read in source program in the mode of character string, and it is divided into several marks, and the word of mark in natural language is similar; We are divided into identifier, character string, integer, floating number, Boolean, operator etc. with the word of JavaScript language; Source program is through generating a word doubly linked list after the morphological analysis, for the syntax analyzer module invokes of back;
The syntax analyzer module as input, is called different statement identifiers with the word chained list respectively, discerns them and whether meets the given syntax, and finally generate the intermediate code of a syntax tree structure, carries out control module for explained later and carries out;
The intermediate code generation module is that the result that source program produces after morphological analysis and syntactic analysis is generated as intermediate object program, it comprises the content of program circuit structure and data dictionary two aspects, various sentence structures have been comprised in the program circuit structure, data dictionary is the place that is used for depositing routine data, and it is meant the set of the global variable of storage, the local variable in the subprogram and the local variable in the compound statement; Data dictionary is searched needed data for expression formula reduction module in reduction procedure,
Explain that carrying out control module explanation implementation controller is responsible for according to the semanteme of statement execution being explained one by one in the source program statement, the order implementation of its control program according to generating good intermediate data structure in advance; The call statement interpreter interprets is carried out the wall scroll statement in the implementation, and carries out or termination according to the continuation of explanation results control program;
The execution stack module is the data structure that expression formula reduction module will be used, and it comprises a symbol stack and an operand stack, is used for depositing finishing sign and operand in the expression formula reduction procedure respectively;
The library of object module also is the place that is used for depositing routine data, it be meant storage the system definition object,
The set of object in the browser document model and User Defined object; Library of object is explained for the object of interpreter provides the operation basis, also provides operating mechanism alternately for interpreter and browser simultaneously; It has comprised the content of the aspects such as attribute, method and event handling of object;
The error handling processing module is responsible for handling morphological analysis, syntactic analysis and is explained the mistake that occurs in the implementation
Mistake if source program morphology grammer does not meet the rule of JavaScript language, mistake occurs when perhaps carrying out, then write down the statement of current execution, and return immediately;
Clause's interpreter module is finished the explanation of wall scroll statement and is carried out; The all corresponding statement interpreter of the statement of each type; It finishes corresponding Semantic Actions according to statement type; Clause's interpreter calls the value of expression formula reduction module calculation expression in interpretation process, and according to result of calculation control statement flow process;
Expression formula reduction module is finished the computing of forming the various expression formulas of statement in the statement implementation; Expression formula reduction module is found out subexpression according to the production rule of expression formula and is carried out the operation result that reduction finally draws expression formula;
The object explanation module is realized the object-based characteristic of JavaScript language, and it comprises the quoting of object, method call and event handling; In the object interpretation process, mutual with browser finished in the method call of the variation of interpreter by the object properties value, object or event handling; Finish the explanation of shell script with the browser interactive module and carry out the side effect that webpage is produced, revise the attribute of browser object, the output of influence or change browser shows;
The resource management of system resource management modular system acts on whole interpreter, and the used memory source of interpreter is distributed and reclaims, and cpu resource is rationally controlled.
2. a kind of JavaScript interpreter implementation method based on set box browser according to claim 1 is characterized in that:
In the design of described explanation front end, the syntax analyzer module logically is higher than lexical analyzer module and Semantic Actions parts, takes the strategy of " instant getting ", has saved the memory cost of intermediate data structures such as word chained list.
3. a kind of JavaScript interpreter implementation method according to claim 1 based on set box browser, it is characterized in that: the back-end system of interpreter is actually a virtual machine of explaining self-defined bytecode, and the rear end dummy machine system is made up of bytecode explanation control program and function calling relationship stack, operand stack, variable data stack and object information record sheet five parts;
Wherein, bytecode byte control program is operated operand according to the operator sign indicating number of bytecode, pops such as pushing on etc.; The function calling relationship record stack the mutual call relation of the various executable codes of JavaScript, whenever entering a new executable code, just function calling relationship stack stack top be pressed into current executable code execution context environmental information; Operand stack is mainly used in the preservation of carrying out various calculating and intermediate object program, all calculating of intermediary bytes sign indicating number are all carried out based on it, variable information when the variable data stack is used to write down the bytecode execution, whenever entering a new executable code, just be pressed into the local variable information of current executable code at the variable data stack, comprise name variable, type, value, in case current executable code is finished, the variable data stack top element is promptly ejected, and coherent element ejects in function calling relationship stack and the operand stack simultaneously; The object information record sheet is the memory field of the various JavaScript objects of storage; Because the free memory resource-constrained and the little memory block of mobile phone middleware platform utilize inadequate characteristics, with the structural array of regular length as the object information record sheet; Record comprises the attribute number of object, the attribute information of object etc. in the object record table; In JavaScript, the method for object also is considered the attribute of object.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101314040A CN102202242A (en) | 2011-05-19 | 2011-05-19 | Realization method of JavaScript interpreter based on set-top box browser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101314040A CN102202242A (en) | 2011-05-19 | 2011-05-19 | Realization method of JavaScript interpreter based on set-top box browser |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102202242A true CN102202242A (en) | 2011-09-28 |
Family
ID=44662569
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011101314040A Pending CN102202242A (en) | 2011-05-19 | 2011-05-19 | Realization method of JavaScript interpreter based on set-top box browser |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102202242A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102495890A (en) * | 2011-12-09 | 2012-06-13 | 上海全景数字技术有限公司 | Embedded browser application extension system and method |
CN102736943A (en) * | 2012-06-12 | 2012-10-17 | 电子科技大学 | Dynamic compiling and executing method of embedded browser engine |
CN103019830A (en) * | 2012-12-31 | 2013-04-03 | 深圳Tcl新技术有限公司 | Method and device for achieving browser script language execution fault tolerance |
CN103152641A (en) * | 2011-12-07 | 2013-06-12 | 深圳市快播科技有限公司 | Method and system for manipulating set top box through webpage interface |
CN103793644A (en) * | 2014-02-28 | 2014-05-14 | 天地融科技股份有限公司 | Method for information safety device to achieve multiple applications, and information safety device and system |
CN104778282A (en) * | 2015-05-07 | 2015-07-15 | 烽火通信科技股份有限公司 | Browser webpage fault-tolerance method and system for IPTV set top box |
WO2016206440A1 (en) * | 2015-06-25 | 2016-12-29 | 中兴通讯股份有限公司 | Page processing method and multimedia terminal |
CN106663094A (en) * | 2014-07-11 | 2017-05-10 | 洛林·G·克雷默三世 | Method and system for linear generalized LL recognition and context-aware parsing |
CN108595166A (en) * | 2018-05-09 | 2018-09-28 | 中国科学院计算技术研究所 | A kind of distribution Internet of Things application execution engine implementing method and system |
CN109614104A (en) * | 2018-11-23 | 2019-04-12 | 北京字节跳动网络技术有限公司 | The method, apparatus and electronic equipment of new semantic structure are added based on template pretreatment |
CN110597502A (en) * | 2019-08-20 | 2019-12-20 | 北京东方国信科技股份有限公司 | Single-step debugging method for realizing PL/SQL language based on java |
CN110853327A (en) * | 2019-11-02 | 2020-02-28 | 杭州雅格纳科技有限公司 | Ship cabin equipment data field debugging and collecting method and device based on single chip microcomputer |
US10664655B2 (en) | 2014-07-11 | 2020-05-26 | Loring G. Craymer, III | Method and system for linear generalized LL recognition and context-aware parsing |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5812850A (en) * | 1995-11-13 | 1998-09-22 | Object Technology Licensing Corp. | Object-oriented symbolic debugger using a compiler driven database and state modeling to control program execution |
US6226791B1 (en) * | 1997-07-23 | 2001-05-01 | International Business Machines Corporation | Compiler-assisted or interpreter-assisted compression solution to the year 2000 problem for computer programs |
CN101196812A (en) * | 2007-12-14 | 2008-06-11 | 上海科泰世纪科技有限公司 | Method for script language calling multiple output parameter interface by component software system |
CN101710273A (en) * | 2009-10-28 | 2010-05-19 | 金蝶软件(中国)有限公司 | Method and device for analyzing multi-dimensional query sentence in online analysis processing server |
-
2011
- 2011-05-19 CN CN2011101314040A patent/CN102202242A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5812850A (en) * | 1995-11-13 | 1998-09-22 | Object Technology Licensing Corp. | Object-oriented symbolic debugger using a compiler driven database and state modeling to control program execution |
US6226791B1 (en) * | 1997-07-23 | 2001-05-01 | International Business Machines Corporation | Compiler-assisted or interpreter-assisted compression solution to the year 2000 problem for computer programs |
CN101196812A (en) * | 2007-12-14 | 2008-06-11 | 上海科泰世纪科技有限公司 | Method for script language calling multiple output parameter interface by component software system |
CN101710273A (en) * | 2009-10-28 | 2010-05-19 | 金蝶软件(中国)有限公司 | Method and device for analyzing multi-dimensional query sentence in online analysis processing server |
Non-Patent Citations (2)
Title |
---|
刘仕坤等: "基于手机中间件的JavaScript解释器设计与实现", 《计算机系统应用》 * |
柯宏: "嵌入式JavaScript解释器在机顶盒中的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103152641A (en) * | 2011-12-07 | 2013-06-12 | 深圳市快播科技有限公司 | Method and system for manipulating set top box through webpage interface |
CN102495890A (en) * | 2011-12-09 | 2012-06-13 | 上海全景数字技术有限公司 | Embedded browser application extension system and method |
CN102736943A (en) * | 2012-06-12 | 2012-10-17 | 电子科技大学 | Dynamic compiling and executing method of embedded browser engine |
CN102736943B (en) * | 2012-06-12 | 2015-06-17 | 电子科技大学 | Dynamic compiling and executing method of embedded browser engine |
CN103019830B (en) * | 2012-12-31 | 2016-09-21 | 深圳Tcl新技术有限公司 | Realize the method and device of browser script language execution fault tolerance |
CN103019830A (en) * | 2012-12-31 | 2013-04-03 | 深圳Tcl新技术有限公司 | Method and device for achieving browser script language execution fault tolerance |
CN103793644B (en) * | 2014-02-28 | 2017-09-19 | 天地融科技股份有限公司 | Information safety devices realize method, information safety devices and the system of many applications |
CN103793644A (en) * | 2014-02-28 | 2014-05-14 | 天地融科技股份有限公司 | Method for information safety device to achieve multiple applications, and information safety device and system |
CN106663094B (en) * | 2014-07-11 | 2020-03-27 | 洛林·G·克雷默三世 | Method and system for linear generalized LL recognition and context-aware parsing |
CN106663094A (en) * | 2014-07-11 | 2017-05-10 | 洛林·G·克雷默三世 | Method and system for linear generalized LL recognition and context-aware parsing |
US10664655B2 (en) | 2014-07-11 | 2020-05-26 | Loring G. Craymer, III | Method and system for linear generalized LL recognition and context-aware parsing |
CN104778282A (en) * | 2015-05-07 | 2015-07-15 | 烽火通信科技股份有限公司 | Browser webpage fault-tolerance method and system for IPTV set top box |
CN104778282B (en) * | 2015-05-07 | 2018-01-02 | 烽火通信科技股份有限公司 | The webpage fault-tolerance approach and system of a kind of IPTV set top box browser |
WO2016206440A1 (en) * | 2015-06-25 | 2016-12-29 | 中兴通讯股份有限公司 | Page processing method and multimedia terminal |
CN108595166B (en) * | 2018-05-09 | 2020-12-11 | 中国科学院计算技术研究所 | Method and system for realizing application execution engine of distributed Internet of things |
CN108595166A (en) * | 2018-05-09 | 2018-09-28 | 中国科学院计算技术研究所 | A kind of distribution Internet of Things application execution engine implementing method and system |
CN109614104A (en) * | 2018-11-23 | 2019-04-12 | 北京字节跳动网络技术有限公司 | The method, apparatus and electronic equipment of new semantic structure are added based on template pretreatment |
CN109614104B (en) * | 2018-11-23 | 2022-04-05 | 北京字节跳动网络技术有限公司 | Method and device for adding new semantic structure based on template preprocessing and electronic equipment |
CN110597502A (en) * | 2019-08-20 | 2019-12-20 | 北京东方国信科技股份有限公司 | Single-step debugging method for realizing PL/SQL language based on java |
CN110597502B (en) * | 2019-08-20 | 2023-05-23 | 北京东方国信科技股份有限公司 | Single step debugging method for realizing PL/SQL language based on java |
CN110853327A (en) * | 2019-11-02 | 2020-02-28 | 杭州雅格纳科技有限公司 | Ship cabin equipment data field debugging and collecting method and device based on single chip microcomputer |
CN110853327B (en) * | 2019-11-02 | 2021-04-02 | 杭州雅格纳科技有限公司 | Ship cabin equipment data field debugging and collecting method and device based on single chip microcomputer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102202242A (en) | Realization method of JavaScript interpreter based on set-top box browser | |
EP3605324B1 (en) | Application development method and tool, and storage medium thereof | |
AU2020299608B2 (en) | Pinning artifacts for expansion of search keys and search spaces in a natural language understanding (NLU) framework | |
CN109582909B (en) | Webpage automatic generation method and device, electronic equipment and storage medium | |
US8762962B2 (en) | Methods and apparatus for automatic translation of a computer program language code | |
JP2014519073A (en) | Storage of web browsing calculations with DOM-based isomorphism | |
CN109814865B (en) | Mobile application page generation method based on json data format | |
CN103425747A (en) | Method, device and system for editing webpages in real time | |
CN113377373A (en) | Page loading method and device based on analysis engine, computer equipment and medium | |
CN109445775B (en) | One-key active embedded code method, device and computer readable storage medium | |
CN112558984A (en) | Code compiling method and device, electronic equipment and server | |
CN111831384A (en) | Language switching method and device, equipment and storage medium | |
CN110333867B (en) | Multiparty secure computing data processing method, device and system | |
WO2018001041A1 (en) | Interface implementation method and device, set-top box, and storage medium | |
CN114625371A (en) | Cross-operating-system multi-source fusion algorithm compiling method, compiler and storage medium | |
CN108021423B (en) | Multilingual website generation method and system and computer readable storage medium | |
CN101533409B (en) | Network browser system and control method | |
CN103064885A (en) | System and method for achieving synchronous inputting of key words | |
US20100023924A1 (en) | Non-constant data encoding for table-driven systems | |
CN101616501A (en) | A kind of application memory, compiler server, access system and method and client terminal | |
US10416971B2 (en) | Method of creating the balanced parse tree having optimized height | |
WO2023097750A1 (en) | Order booking method based on cross-terminal program generation system | |
CN115687399A (en) | Syntax parsing method and device for SQL (structured query language) statements | |
CN101446955A (en) | Method for implementing a browser as well as device and system thereof | |
CN115809294A (en) | Rapid ETL method based on Spark SQL temporary view |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110928 |