CN101115180B - Electronic program menu system and functional module dynamic load operating method - Google Patents

Electronic program menu system and functional module dynamic load operating method Download PDF

Info

Publication number
CN101115180B
CN101115180B CN2007101459490A CN200710145949A CN101115180B CN 101115180 B CN101115180 B CN 101115180B CN 2007101459490 A CN2007101459490 A CN 2007101459490A CN 200710145949 A CN200710145949 A CN 200710145949A CN 101115180 B CN101115180 B CN 101115180B
Authority
CN
China
Prior art keywords
module
unit
functional module
functional
newly added
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.)
Expired - Fee Related
Application number
CN2007101459490A
Other languages
Chinese (zh)
Other versions
CN101115180A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007101459490A priority Critical patent/CN101115180B/en
Publication of CN101115180A publication Critical patent/CN101115180A/en
Application granted granted Critical
Publication of CN101115180B publication Critical patent/CN101115180B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

An EPG system and an operating method of the dynamic loading of function modules, the system consists of a request receiving unit, an EPG processing unit, a pre-located unit and a module loading unit. The module loading unit is used for loading the function modules according to the name of the executable file of the newly added function modules and storing the corresponding instance identifiers of the function modules. After receiving the request of the user sent by a request receiving unit, the pre-located unit is used for successively calling the loaded function modules that can be called of the module loading unit by using an instance identifier of the function modules and regarding the request of the user as a calling parameter. The function module is sent to the EPG processing unit for the EPG system treatment through the user request processed by every function module after being called. By using the dynamic loading function modules of the module loading units and the pre-located units, the function module is successively called, thus realizing the dynamic loading function of the function units of the EPG system, reducing the occupation of the system resources and improving the flexibility of the RPG system.

Description

Electronic program menu system and dynamic loading operation method of functional module thereof
Technical Field
The present invention relates to an Electronic Program Guide (EPG) system and a method for dynamically loading and operating functional modules thereof.
Background
The IPTV (Internet Protocol Television) has a wide market prospect as a new application across the telecommunication industry and the broadcasting and Television industry. On one hand, the current telecommunication industry has rapidly entered into the broadband era along with the development of people's needs, the broadband has gradually begun to be integrated into each layer of social life, and IPTV is the best technology for integrating video media into telecommunication services on the existing telecommunication broadband network. Although the number of actual users of IPTV is not very large, the number of users is increasing continuously, and the general trend of development is in a steady rising state. On the other hand, IPTV is not limited to providing only live broadcast and on-demand broadcast, but also includes value-added services such as karaoke and global eye.
An EPG (Electronic Program Guide) system plays a very important role in IPTV, and is a portal through which viewers enter IPTV. The indexing and navigation of various services provided by IPTV are all accomplished through the EPG system. The interface of the EPG system is similar to a world wide Web (world wide Web) page, and generally provides various menus, buttons, links and other components which can be directly clicked by a user when the user selects a program; the interface of the EPG system may also include various dynamic or static multimedia contents for the user to browse.
In summary, the EPG system must provide high-quality user experience service for users, and needs to be fast in response, simple and convenient to operate, and long-time stable operation of the system; in addition, with the continuous abundance of IPTV functions and the rapid increase of the number of users, the functions of the EPG system are also more and more complex, and the pressure on the EPG system is gradually increased.
Based on the above characteristics, the current EPG system generally has the following problems:
(1) with the increase of the number of users and the increase of a large number of IPTV contents, an EPG system needs to provide 24-hour uninterrupted service for users, so that additional function modules which have no direct relation with EPG functions, such as logs, user tracking, performance analysis and the like, need to be loaded and operated at the same time, wherein a plurality of function modules are called only under special conditions, but occupy a large amount of memory space and processing resources for a long time, and the performance of the system is reduced;
(2) when a new functional module needs to be added or a certain functional module in the system needs to be upgraded, the operation of the whole EPG system must be stopped, which affects the normal use of the user.
Disclosure of Invention
The technical problem to be solved by the invention is to overcome the defects of the EPG system in the prior art, and provide an EPG system capable of dynamically loading and operating functional modules and a dynamic loading and operating method of the corresponding functional modules.
In order to solve the above problem, the present invention provides an electronic program menu system, comprising a request receiving unit and an electronic program menu processing unit, wherein the system further comprises: a front-end unit, a module loading unit; wherein,
the module loading unit is used for loading the functional module according to the executable file name of the newly added functional module and storing the corresponding functional module instance identifier;
the prepositive unit is used for using the function module instance identifier after receiving the user request sent by the request receiving unit, taking the user request as a calling parameter, and sequentially calling the called function modules loaded by the module loading unit; after all the function modules are called, the user request processed by all the function modules is sent to the electronic program menu processing unit for processing the electronic program menu system.
In addition, the system further comprises: a configuration management unit, an operation parameter storage unit; wherein,
the configuration management unit is used for providing a user interface for adding the executable file name and the corresponding operating parameter of the newly added functional module, and sending the executable file name and the corresponding operating parameter of the added newly added functional module to the module loading unit;
the module loading unit loads the functional module according to the executable file name of the newly added functional module sent by the configuration management unit and stores the corresponding functional module instance identifier and the operating parameter in the operating parameter storage unit;
the operating parameters include: and the running sequence number is used for identifying the calling sequence of the functional modules.
In addition, the configuration management unit is further configured to modify the operating parameters of each currently loaded functional module stored in the operating parameter storage unit; the operating parameters further include: and the running state is used for identifying whether the currently loaded functional module can be called or not.
In addition, the electronic program menu system and each functional module are developed by adopting JAVA language; the module loading unit loads the functional module by adopting the following method: obtaining the class name of the corresponding functional module according to the executable file name of the functional module; loading class codes in the executable file according to the class names; generating an instance of the class to obtain a corresponding class instance identifier; the class instance identifier is a function module instance identifier; the executable file name contains the class name of the function module.
In addition, the operating parameter storage unit further stores therein: the newly added module identification is used for identifying whether a new functional module is loaded; the operation parameter modification identifier is used for identifying whether the operation parameters of the loaded functional module are modified or not; the module loading unit sets the newly added module identifier as the newly added function module when storing the newly added function module instance identifier and the operation parameter in the operation parameter storage unit; when the configuration management unit modifies the operation parameters of the loaded functional modules, setting the operation parameter modification identification as modified; the prepositive unit judges the newly added module identification and the operation parameter modification identification after receiving the user request: and if the newly added module identification is newly added or the operation parameter modification identification is modified, using the updated called functional module combination and sequence to call the functional module, setting the newly added module identification as not newly added, and setting the operation parameter modification identification as not modified.
The invention also provides a method for dynamically loading and operating the functional module of the electronic program menu system, which is characterized by comprising the following steps:
a: a front-end unit of the electronic program menu system receives a user request;
b: the prepositive unit uses the function module instance identification, takes the user request as a calling parameter, and sequentially calls the functional modules which can be called and loaded by the module loading unit of the electronic program menu system;
c: the prepositive unit sends the user request processed by each functional module to an electronic program menu processing unit of the electronic program menu system to process the electronic program menu system.
In addition, the module loading unit loads the functional module by adopting the following steps:
a1: receiving executable file names and corresponding operating parameters of newly added functional modules sent by a configuration management unit of the electronic program menu system;
a2: loading a functional module according to the executable file name to generate a functional module instance;
a3: storing the function module instance identification and the corresponding operation parameter;
the operating parameters include: and the running sequence number is used for identifying the calling sequence of the functional modules.
In addition, the step a3 further includes the following steps:
a4: the configuration management unit displays the operating parameters of the loaded functional module;
a5: modifying the operating parameters of the functional module and storing the modification result;
the operating parameters further include: and the running state is used for identifying whether the currently loaded functional module can be called or not.
Furthermore, the step a2 includes the following sub-steps:
a21: obtaining the class name of the corresponding functional module according to the executable file name of the functional module;
a22: loading class codes in the executable file according to the class names;
a23: generating an instance of the class to obtain a corresponding class instance identifier;
the electronic program menu system and each functional module are developed by adopting JAVA language; the class instance identifier is a function module instance identifier; the executable file name contains the class name of the function module.
In addition, the step a3 further includes the following steps: setting the newly added module identification as newly added, wherein the identification has a new function module to be loaded;
the step A5 further comprises the following steps: setting the operation parameter modification identifier as modified, and identifying that the operation parameter of the loaded functional module is modified;
the method also comprises the following steps between the steps A and B:
a': the prepositive unit judges the newly added module identification and the operation parameter modification identification: if the newly added module identification is that the newly added or the operation parameter modification identification is modified, updating the functional module list; setting the newly added module identifier as not newly added and setting the operation parameter modification identifier as not modified;
the functional module list comprises the called functional modules loaded by the module loading unit and the running serial numbers thereof;
in the step B, the front-end unit calls the functional modules in sequence according to the running serial numbers of the functional modules according to the functional module list.
The invention dynamically loads the function modules through the configuration management unit and the module loading unit and sequentially calls each function module through the prepositive unit, thereby realizing the function of dynamically loading the function modules of the EPG system, reducing the occupation of system resources and increasing the flexibility of the EPG system.
Drawings
FIG. 1 is a schematic system structure diagram of an EPG system capable of implementing dynamic loading of functional modules according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for dynamically loading functional modules of an EPG system according to an embodiment of the present invention;
fig. 3 is a flowchart of an operation method of a dynamically loaded functional module of an EPG system according to an embodiment of the present invention.
Detailed Description
The present invention will be described in detail below with reference to the drawings and examples.
Fig. 1 is a schematic system structure diagram of an EPG system capable of implementing dynamic loading of functional modules according to an embodiment of the present invention. As shown in fig. 1, the EPG system includes the following modules: the system comprises a request receiving unit, a front-end unit, an operation parameter storage unit, a module parameter storage unit, a configuration management unit, a module loading unit, an EPG processing unit, a request response unit and various dynamically loaded functional modules. Wherein,
and the request receiving unit is used for receiving the user requests and sequentially sending the received user requests to the front-end unit for processing.
The configuration management unit is used for providing a User Interface (UI), so that a system administrator can use the UI to add a new functional module to be loaded, set the operating parameters of the newly added functional module and send the full path name and the corresponding operating parameters of the executable file of the newly added functional module to the module loading unit; and modifying the operating parameters of the currently loaded functional module, and storing the corresponding modified operating parameters in an operating parameter storage unit.
The above-mentioned operational parameters include: a run sequence number parameter and a run attribute parameter.
The operation sequence number parameter is used for identifying the operation sequence of the corresponding functional module.
The operational attribute parameters include: operating state, start mode and stop mode and corresponding time parameters.
The running state is used for identifying that the corresponding functional module is currently in a running state or a running stop state. The running state indicates that the function module can be called/run; the stop state indicates that the function module cannot be called/run currently.
The starting mode used for identifying the corresponding functional module is as follows: manually, periodically, or immediately. The manual starting mode means that the operation state of the function module is manually modified into the running state by a system administrator; the timing starting mode indicates that the functional module is in a running stop state after being loaded and is changed into a running state at a set moment; the immediate start mode indicates that the functional module is in an operating state after being loaded.
The stopping mode used for identifying the corresponding functional module is as follows: a timed stop, or a manual stop. The timing stopping mode means that the functional module is changed from a running state to a stopping state at a set moment; the manual stop mode indicates that the function module is in the running state until the system administrator modifies the running state of the function module to the stop running state.
The UI can display the information of the running sequence of the currently loaded functional module, and a system administrator can set the running sequence of the newly loaded functional module by filling a proper running sequence number parameter according to the information and can change the running sequence of the loaded functional module by modifying the running sequence number parameter; in addition, information of the running state of the currently loaded function module can be displayed in the UI, and the system administrator changes the running state of the loaded function module according to the information, that is, sets the function module to be in a running state or a stop running state.
The module loading unit is used for receiving the full path name of the executable file of the newly added functional module sent by the configuration management unit and the operating parameters of the newly added functional module; loading corresponding functional modules and module parameters according to the full path name of the executable file; the method comprises the steps that module instance identifiers generated after functional modules are loaded into a memory and corresponding module names and operation parameters are sequentially stored in an operation parameter storage unit; and storing the module instance identification and the corresponding module parameter in a module parameter storage unit.
The module instance identification described above is typically in the form of a class name, which is typically the same as the name of the executable file of the functional module. After the functional module is loaded to the memory by the module loading unit, a corresponding module instance identifier is generated, and the prepositive unit calls the functional module through the module instance identifier.
The module parameters may be included in the executable file of the functional module in the form of a configuration file or stored in a registry.
For the EPG system implemented using JAVA (JAVA) language, the full pathname of the executable file of the above function module is a class file name with a "class" extension, e.g., "pathname \ class name. The module loading unit obtains a path name and a class name (module name) according to the full path name of the class file, performs dynamic class loading (namely loading class codes into a memory) according to the class name, instantiates the class, and obtains an instance identifier (instance identifier of the module) of the class. For example, class loading and instantiation is performed using the following code:
forname ("Class name");
share oo=((share)cc).newInstance();
for a specific implementation of dynamic class loading in JAVA, please refer to the related development documents.
The above function module is dynamically loaded and then runs in the same process as the EPG system (module loading unit).
And the operation parameter storage unit is used for sequentially storing the module name, the module instance identifier and the operation parameter of each functional module. The module names, module instance identifiers and operating parameters of the functional modules may be stored in the form of the following module dynamic loading table.
Run sequence number Module instance identification Module name Run attribute identification ……
1 Module instance identification 1
2 Module instance identification 2
n Module instance identification n
Table 1: module dynamic loading table
The run sequence numbers in table 1 may not be consecutive in order to facilitate loading of new functional modules. For example, when n functional modules are currently loaded, the operation sequence numbers may be: 10, 20, … …, 10 n. When a new functional module is added, the operation sequence number of the new functional module can be set to be 15, so that the new functional module is operated between the first functional module and the second functional module, and the processing can reduce the times of sorting operation on the table. The running serial numbers of different functional modules may be the same, which indicates that the corresponding functional modules may be called and run simultaneously in different threads, i.e., run synchronously. If all the functional modules running synchronously need to modify the same variable, mutual exclusion operation is needed.
The module name in table 1 may be the full path name of the executable file (class file) of the function module or the executable file name (class name) containing no path.
The operational attributes in table 1 identify operational attribute parameters for representing the corresponding functional module in a particular data structure.
For example, the run state is identified with 1 bit (bit): 0 represents a stop state, and 1 represents an in-operation state; the start mode is identified with 2 bits (bit): 0 denotes immediate start, 1 denotes timing start, and 2 denotes manual start; the stop mode is identified by 1 bit (bit): 0 indicates a manual stop and 1 indicates a timed stop.
In addition, when the timing start or timing stop mode of the functional module is supported, the corresponding timing time parameter is also stored in table 1.
Besides the module dynamic loading table, the operation parameter storage unit can also be provided with a newly added module identifier and an operation parameter modification identifier.
The newly added module identifier is used for identifying that a new functional module is loaded, namely, the module dynamic loading table has newly added content.
The operating parameter modification identifier identifies that an operating parameter for a functional module has been modified, e.g., an operating state has been modified.
And the module parameter storage unit is used for storing module parameters required by the operation of each functional module. When the module loading unit loads the functional module, the module parameters are obtained from the executable file or other configuration files and stored in the module parameter storage unit for being read by each functional module.
The preposition unit is used for receiving the user requests sent by the request receiving unit, sequentially calling the functional modules in the running state in the module dynamic loading table for each user request, and transmitting the user requests as input parameters to the functional modules for corresponding processing; and after the operation/processing of each functional module is finished, sending the processed user request to the EPG processing unit according to the returned processing result information.
The processing result information returned by each functional module may be: continuing the processing and processing the end identifier. The continuous processing indicates that the corresponding user request needs to be processed subsequently, and the prepositive unit needs to call the next function module or send the user request data to the EPG processing unit. The processing end means that the processing requested by the user is finished without calling a subsequent function module or sending the subsequent function module to the EPG processing unit.
The EPG processing unit is used for completing the processing function of the EPG system and comprises: receiving a user request sent by a front-end unit, and generating response data of the user request according to the user request; the EPG processing unit sends the response data to the user through the request response unit. In addition, the EPG processing unit may also actively transmit program information, program additional information, and other EPG information to the user through the request responding unit.
And the request response unit is used for sending data to the user.
Each functional module is used for completing the additional functions of the specific EPG system, and comprises: log generation, user request tracking, etc. Each functional module can be dynamically loaded when the EPG system runs and is sequentially called by the front-end unit. When each functional module runs, the module parameter required by the functional module can be acquired through the module parameter storage unit, and the user request data is analyzed and modified. The user request data can be transmitted to each function module by the prepositive unit in the form of calling parameters. The call parameter may be an address of a memory area storing corresponding user request data. Each functional module can call the request response unit to send response information to the user according to the specific function.
Fig. 2 is a flowchart of a method for dynamically loading functional modules of an EPG system according to an embodiment of the present invention. As shown in fig. 2, the dynamic loading of the functional module includes the following steps:
101: a system administrator fills the full path name and corresponding operation parameters of the executable file of the newly added functional module in a UI provided by the configuration management unit and sends the full path name and the operation parameters to the module loading unit;
102: the module loading unit loads the corresponding functional module according to the full path name of the executable file of the newly added functional module to generate a module instance identifier;
103: the module loading unit stores the module instance identification of the functional module and the corresponding functional module operating parameters in a module dynamic loading table of the operating parameter storage unit in sequence;
the function modules can be stored in the module dynamic loading table according to the sequence of the running sequence numbers from small to large.
104: the module loading unit stores the module parameters of the functional module in a module parameter storage unit;
105: the module loading unit sets the new module identifier in the operation parameter storage unit to 1 (added identifier), which indicates that a new functional module is loaded.
106: the module loading unit sets a corresponding timer for each functional module which starts or stops at fixed time; and when the timer expires, the corresponding timer function modifies the running state of the functional module.
After the functional modules are loaded, a system administrator can modify the operating parameters of each functional module by using the UI provided by the configuration management unit, which mainly comprises:
(1) running sequence number parameter: adjusting the operation sequence of each functional module through the modification of the parameters;
(2) the operation state is as follows: modifying the running state of the function module into a running state (manually starting) or a running stopping state (manually stopping);
after the operation parameters of the functional modules are modified, the configuration management unit modifies the operation parameter modification identifier in the operation parameter storage unit to 1 (modified identifier), which indicates that the operation parameters of a certain functional module are modified.
In addition to the above manual modification of the operation parameters by the system administrator, for a functional module that starts at a fixed time or stops at a fixed time, when the corresponding timer expires, the corresponding timer function modifies the operation state of the functional module and also modifies the operation parameter modification flag to 1.
Of course, the operation parameter modification identifier and the newly added module identifier may use the same variable, but since they are respectively set by the configuration management unit and the module loading unit, if the same variable is used for the identifier, the mutual exclusion operation is required.
Fig. 3 is a flowchart of an operation method of a dynamically loaded functional module of an EPG system according to an embodiment of the present invention. As shown in fig. 2, the operation of the dynamically loaded functional module comprises the following steps:
201: the request receiving unit sends the newly received user request to the preposing unit;
202: the prepositive unit judges the newly added module identification and the operation parameter modification identification in the operation parameter storage unit, and if any one of the identifications is 1, the next step is executed; otherwise, jumping to step 204;
203: the prepositive unit updates the function module list, namely sequentially extracts the module instance identifier of the function module with the running state being running from the module dynamic loading table, and prepares to use the combination and the sequence of the updated function module to call the function module; setting the newly added module identification and the operation parameter modification identification to be 0 (not newly added or not modified);
the prepositive unit stores the instance identifiers of all the functional modules in the running state in the module dynamic loading table in a functional module list of the memory in sequence so as to accelerate the calling speed; the function module list only comprises module instance identifiers and corresponding running serial numbers of the function modules which are sequentially arranged and are in the running state; when the module dynamic loading table changes, the front-end unit needs to update the function module list, that is, the function modules in the running state are extracted from the module dynamic loading table in sequence again.
204: the preposing unit adopts a function module list, calls each function module through module instance identification according to the sequence of the operation serial numbers from small to large, and transmits user request data to each function module during calling;
for functional modules with the same running sequence number, the front-end unit can call different functional modules in different threads.
205: each functional module acquires corresponding module parameters from the module parameter storage unit; the user request is correspondingly processed, and processing result information is returned to the prepositive unit after the processing is finished;
206: the front end unit passes the user request to the EPG processing unit.
It should be noted that the processing result information of the functional module may be a "processing end" flag, which indicates that the user request is processed, and the front-end unit does not need to send to the subsequent functional module or the EPG processing unit.
The EPG system capable of dynamically loading the functional module and the corresponding loading operation method thereof according to the embodiment of the present invention are described above. Two examples of the application of the functional modules will be presented below in order to more specifically and intuitively understand the present invention.
Application example 1-intercept function module:
the function module is used for intercepting user requests containing malicious or illegal information.
When the interception function module is called, analyzing a user request by an http server request method, if the user request contains malicious or illegal information, for example, the request requires redirection to an illegal page, sending a warning message to the user by a request response unit, and returning a processing end identifier as processing result information to a front-end unit; the prepositive unit stops the calling of the subsequent functional module and does not send the user request to the EPG processing unit for subsequent processing.
Application example 2-Log function Module
The function module is used for tracking and recording the user request and generating a log.
When the log function module is called, extracting information such as user session and cookie (dessert) and requested URL (Uniform resource locator) requested by a user by using an HttpServletRequest method; and the information is recorded in a log file, and after the function module is executed, the prepositive unit calls a subsequent function module or sends a user request to the EPG processing unit for subsequent processing.
The above-described embodiments may be modified in many ways based on the principles of the present invention. For example:
the module loading unit can search and load the executable file of the functional module which is not loaded in the set path at regular time. I.e. without using the configuration management unit of the above described embodiment. Of course, with this embodiment, the operation parameters of the function modules cannot be dynamically configured, and especially, the operation sequence of each function module cannot be dynamically set, and needs to be saved in the form of a configuration file. The implementation mode is suitable for the difference that the execution sequence of the functional modules does not exist, the operation parameters of the functional modules can be preset, the EPG system which is dynamically modified is not needed, and the newly loaded functional module can be executed firstly or finally.
The above embodiment describes the EPG system developed in the JAVA development environment and the loading operation method of the functional module thereof, and for the EPG system developed in other development environments, the functional module loaded by the module loading unit according to the executable file may belong to different processes with the module loading unit and the EPG system, and data exchange needs to be performed by inter-process communication means. The implementation mode is suitable for the EPG system with a small number of functional modules needing dynamic loading.

Claims (9)

1. An electronic program menu system comprising a request receiving unit and an electronic program menu processing unit, the system further comprising: a front-end unit, a module loading unit; wherein,
the module loading unit is used for loading the functional module according to the executable file name of the newly added functional module, saving the corresponding functional module instance identifier, and saving the corresponding functional module instance identifier and the operation parameters, wherein the operation parameters comprise: the operation sequence number is used for identifying the calling sequence of the functional modules;
the prepositive unit is used for using the function module instance identifier after receiving the user request sent by the request receiving unit, taking the user request as a calling parameter, and sequentially calling the called function modules loaded by the module loading unit; after all the function modules are called, the user request processed by all the function modules is sent to the electronic program menu processing unit for processing the electronic program menu system.
2. The electronic program menu system of claim 1, further comprising: a configuration management unit, an operation parameter storage unit; wherein,
the configuration management unit is used for providing a user interface for adding the executable file name and the corresponding operating parameter of the newly added functional module, and sending the executable file name and the corresponding operating parameter of the added newly added functional module to the module loading unit;
and the module loading unit loads the functional module according to the executable file name of the newly added functional module sent by the configuration management unit and stores the corresponding functional module instance identifier and the operating parameter in the operating parameter storage unit.
3. The electronic program menu system of claim 2, wherein the configuration management unit is further configured to modify the operating parameters of the currently loaded functional modules stored in the operating parameter storage unit; the operating parameters further include: and the running state is used for identifying whether the currently loaded functional module can be called or not.
4. The electronic program menu system of claim 2, wherein the electronic program menu system and the functional modules are developed in JAVA; the module loading unit loads the functional module by adopting the following method: obtaining the class name of the corresponding functional module according to the executable file name of the functional module; loading class codes in the executable file according to the class names; generating an instance of the class to obtain a corresponding class instance identifier; the class instance identifier is a function module instance identifier; the executable file name contains the class name of the function module.
5. The electronic program menu system of claim 3, wherein said operating parameter storage unit further stores therein: the newly added module identification is used for identifying whether a new functional module is loaded; the operation parameter modification identifier is used for identifying whether the operation parameters of the loaded functional module are modified or not; the module loading unit sets the newly added module identifier as the newly added function module when storing the newly added function module instance identifier and the operation parameter in the operation parameter storage unit; when the configuration management unit modifies the operation parameters of the loaded functional modules, setting the operation parameter modification identification as modified; the prepositive unit judges the newly added module identification and the operation parameter modification identification after receiving the user request: and if the newly added module identification is newly added or the operation parameter modification identification is modified, using the updated called functional module combination and sequence to call the functional module, setting the newly added module identification as not newly added, and setting the operation parameter modification identification as not modified.
6. A dynamic loading operation method for functional modules of an electronic program menu system is characterized by comprising the following steps:
a: a front-end unit of the electronic program menu system receives a user request;
b: the prepositive unit uses the function module instance identification, takes the user request as a calling parameter, and sequentially calls the functional modules which can be called and loaded by the module loading unit of the electronic program menu system; the module loading unit loads the functional module by adopting the following steps:
a1: receiving executable file names and corresponding operating parameters of newly added functional modules sent by a configuration management unit of the electronic program menu system;
a2: loading a functional module according to the executable file name to generate a functional module instance;
a3: storing the function module instance identification and the corresponding operation parameter;
the operating parameters include: the operation sequence number is used for identifying the calling sequence of the functional modules;
c: the prepositive unit sends the user request processed by each functional module to an electronic program menu processing unit of the electronic program menu system to process the electronic program menu system.
7. The method for dynamically loading and operating functional modules of an electronic program menu system according to claim 6, wherein said step a3 is followed by the steps of:
a4: the configuration management unit displays the operating parameters of the loaded functional module;
a5: modifying the operating parameters of the functional module and storing the modification result;
the operating parameters further include: and the running state is used for identifying whether the currently loaded functional module can be called or not.
8. The method for dynamically loading and operating functional modules of an electronic program menu system as claimed in claim 6, wherein said step a2 comprises the sub-steps of:
a21: obtaining the class name of the corresponding functional module according to the executable file name of the functional module;
a22: loading class codes in the executable file according to the class names;
a23: generating an instance of the class to obtain a corresponding class instance identifier;
the electronic program menu system and each functional module are developed by adopting JAVA language; the class instance identifier is a function module instance identifier; the executable file name contains the class name of the function module.
9. The method for dynamically loading and operating functional modules of an electronic program menu system according to claim 7,
the step A3 further comprises the following steps: setting the newly added module identification as newly added, wherein the identification has a new function module to be loaded;
the step A5 further comprises the following steps: setting the operation parameter modification identifier as modified, and identifying that the operation parameter of the loaded functional module is modified;
the method also comprises the following steps between the steps A and B:
a': the prepositive unit judges the newly added module identification and the operation parameter modification identification: if the newly added module identification is that the newly added or the operation parameter modification identification is modified, updating the functional module list; setting the newly added module identifier as not newly added and setting the operation parameter modification identifier as not modified;
the functional module list comprises the called functional modules loaded by the module loading unit and the running serial numbers thereof;
in the step B, the front-end unit calls the functional modules in sequence according to the running serial numbers of the functional modules according to the functional module list.
CN2007101459490A 2007-09-07 2007-09-07 Electronic program menu system and functional module dynamic load operating method Expired - Fee Related CN101115180B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101459490A CN101115180B (en) 2007-09-07 2007-09-07 Electronic program menu system and functional module dynamic load operating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101459490A CN101115180B (en) 2007-09-07 2007-09-07 Electronic program menu system and functional module dynamic load operating method

Publications (2)

Publication Number Publication Date
CN101115180A CN101115180A (en) 2008-01-30
CN101115180B true CN101115180B (en) 2011-01-05

Family

ID=39023235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101459490A Expired - Fee Related CN101115180B (en) 2007-09-07 2007-09-07 Electronic program menu system and functional module dynamic load operating method

Country Status (1)

Country Link
CN (1) CN101115180B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882072A (en) * 2009-05-05 2010-11-10 康佳集团股份有限公司 Menu customizing method, system and server thereof
CN101695201B (en) * 2009-09-28 2014-09-10 深圳中兴力维技术有限公司 Device and method for accessing embedded monitoring equipment for base station value-added application
CN102135895B (en) * 2010-12-29 2013-08-28 华为软件技术有限公司 System upgrading method and system
CN102339319A (en) * 2011-10-26 2012-02-01 中国信息安全测评中心 WEB management system and menu loading method thereof
CN102594588A (en) * 2012-01-19 2012-07-18 中兴通讯股份有限公司 Method and system for managing web function module
CN104331299A (en) * 2013-07-22 2015-02-04 腾讯科技(深圳)有限公司 Method and device for loading disk file based on PHP environment
CN110597812B (en) * 2019-09-09 2022-04-15 上海钧正网络科技有限公司 Menu configuration method, device, terminal and readable storage medium
CN113849245B (en) * 2021-09-23 2023-09-12 武汉深之度科技有限公司 Application program running method, computing device and storage medium

Also Published As

Publication number Publication date
CN101115180A (en) 2008-01-30

Similar Documents

Publication Publication Date Title
CN101115180B (en) Electronic program menu system and functional module dynamic load operating method
KR101119146B1 (en) Apparatus and methods of linking to an application on a wireless device
JP5047238B2 (en) Method and system for mapping subscription filters to advertising applications
US20130166777A1 (en) Device profile assignment based on device capabilities
US20090083147A1 (en) Separation of advertising content and control
CN102902733A (en) Information push method, device and system based on content subscription
CN105611422B (en) Online live broadcasting method and device based on multimedia list
US8001213B2 (en) Method, apparatus and computer program product for providing unrestricted content on a user terminal
WO2023093429A1 (en) Micro-application running method and apparatus, and device, storage medium and program product
US20090119388A1 (en) Content relaying device and content relaying method
US11151219B2 (en) Generating rich digital documents from limited instructional data
CN101132413B (en) ActiveX component multiplexing method based on Web application
WO2008047192A2 (en) System and method for managing and using electronic widgets
CN106933839A (en) A kind of method for page jump and device
CN109729116B (en) Plug-in information transmission method and device, storage medium and electronic device
CN108733666B (en) Server information pushing method, terminal information sending method, device and system
CN103634695A (en) Method and system for receiving Google GCM push message by smart television
CN102209116A (en) Method and device for acquiring Internet protocol television program information, and television
EP2255469B1 (en) Content management that addresses levels of functionality
CN101360009A (en) Set-top box application management method and system
JP2010044762A (en) Method and system for using data facade subscription filter for advertisement purpose
CN102316443A (en) Storage system for use information of mobile terminal and method
CN110337043A (en) Video broadcasting method, device and the storage medium of TV
CN110544475B (en) Method for implementing multi-voice assistant
CN113326397A (en) Service data processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110105

Termination date: 20160907

CF01 Termination of patent right due to non-payment of annual fee