CN105631005B - A kind of method and device of customized web page - Google Patents

A kind of method and device of customized web page Download PDF

Info

Publication number
CN105631005B
CN105631005B CN201511001497.XA CN201511001497A CN105631005B CN 105631005 B CN105631005 B CN 105631005B CN 201511001497 A CN201511001497 A CN 201511001497A CN 105631005 B CN105631005 B CN 105631005B
Authority
CN
China
Prior art keywords
function
items
gateway
information
function items
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.)
Active
Application number
CN201511001497.XA
Other languages
Chinese (zh)
Other versions
CN105631005A (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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201511001497.XA priority Critical patent/CN105631005B/en
Publication of CN105631005A publication Critical patent/CN105631005A/en
Application granted granted Critical
Publication of CN105631005B publication Critical patent/CN105631005B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method and devices of customized web page, comprising: gateway is that the customized function items of each of the gateway define the character string information for identification function item and are used to determine whether to load the function of function items customizable by a user;The corresponding function of gateway operation each customized function items, it is for characterizing in gateway after the first setting value of the undefined information for allowing user to customize the corresponding function items of the function in the return value for determining function, the character string information of the corresponding function items of function is compared with the character string information in menu information defined in the page, to determine whether function items need to load in the page of the human-computer interaction of gateway;After the return value for determining function is for characterizing the second setting value for defining the information for allowing user to customize the corresponding function items of function in gateway, the corresponding function items of the function are loaded, in the page to solve the problems, such as that user can not be customized function.

Description

A kind of method and device of customized web page
Technical field
The present invention relates to Internet technical field more particularly to a kind of method and devices of customized web page.
Background technique
With the development of internet area, to increase user experience, more and more internet developers start to provide page Face customization.Page customization is the common functions such as website design, the gateway page, mobile phone, this function constantly development and It improves.User can not be customized function in page customization method, be current problem to be solved.
Summary of the invention
The object of the present invention is to provide a kind of method and devices of page customization, can not be determined function with solving user The problem of processed.
The purpose of the present invention is what is be achieved through the following technical solutions:
A kind of method of customized web page, comprising:
Gateway is that the customized function items of each of the gateway define the word for identifying the function items It accords with string information and is used to determine whether to load the function of function items customizable by a user;
The corresponding function of gateway operation each customized function items, in the return value for determining function It is set for first for characterizing the undefined information for allowing user to customize the corresponding function items of the function in the gateway After definite value, by the character in the character string information of the corresponding function items of the function and the page in defined menu information String information is compared, and the page in the human-computer interaction of the gateway whether is needed with the corresponding function items of the determination function It is loaded in face;
The gateway is to allow to use for characterizing to define in the gateway in the return value for determining function After family customizes the second setting value of the information of the corresponding function items of the function, it is corresponding that the function is loaded in the page Function items.
Optionally, the gateway will determine in the character string information of the corresponding function items of the function and the page Whether the character string information in the menu information of justice is compared, needed with the corresponding function items of the determination function in the net It closes and is loaded in the page of the human-computer interaction of equipment, comprising:
If appointing in defined menu information in the character string information and the page of the corresponding function items of the function One is identical for characterizing the character string information for the function items that the equipment has, and the gateway determination is not needed in the page The corresponding function items of the function are loaded in face;
If the institute in the character string information and the page of the corresponding function items of the function in defined menu information Have that the character string information for characterizing the function items that the equipment has is different, the gateway, which determines, to be needed in the page The corresponding function items of the function are loaded in face.
Optionally, the corresponding function of gateway operation each customized function items, comprising:
The corresponding function of gateway configuration each customized function items reads the gateway at runtime It is macro defined in the ini file configured in equipment and/or the gateway;Wherein,
Function corresponding for each customized function items, if comprising for indicating to allow to use in the ini file Family customizes the information of the corresponding function items of the function, then the value returned after the function operation is first setting value, if Comprising for indicating that permission user customizes the information of the corresponding function items of the function in configured ini file, then the letter The value returned after number operation is second setting value;Or
Function corresponding for each customized function items, if undefined for indicating to add in the gateway The macro of the corresponding function items of the function is carried, then the value returned after the function operation is first setting value;If defining For indicating that the macro of the corresponding function items of the function can be loaded, then the value returned after the function operation sets for described second Definite value;Or
Function corresponding for each customized function items, if comprising for indicating to allow to use in the ini file Family customizes undefined for indicating that the letter can be loaded in the information of the corresponding function items of the function and the gateway The macro of corresponding function items is counted, then the value returned after the function operation is first setting value;If being wrapped in the ini file Containing for indicating to define in the information and the gateway that allow user to customize the corresponding function items of the function for table The macro of the corresponding function items of the function can be loaded by showing, then the value returned after the function operation is second setting value.
Optionally, after the network equipment loads the corresponding function items of the function in the page, further includes:
The gateway can be by other function in the subfunction item for determining that the corresponding function items of the function include When item calls, the relevant information for the subfunction that the corresponding function items of the function have been loaded is written in the other function item.
Optionally, between the function name of the corresponding function of each function items character string information corresponding with each function items Corresponding relationship uses the form of list.
Based on inventive concept same as method, the embodiment of the invention provides a kind of devices of customized web page, comprising:
Definition module, for defining the word for identifying the function items for the customized function items of each of gateway It accords with string information and is used to determine whether to load the function of function items customizable by a user;
Processing module, for running the corresponding function of each customized function items, in the return for determining function Value is first for characterizing the undefined information for allowing user to customize the corresponding function items of the function in the gateway After setting value, by the word in the character string information of the corresponding function items of the function and the page in defined menu information Symbol string information is compared, and whether needs the human-computer interaction in the gateway with the determination function corresponding function items It is loaded in the page;It is to allow described in user's customization for characterizing to define in the gateway in the return value for determining function After second setting value of the information of the corresponding function items of function, the corresponding function items of the function are loaded in the page.
Optionally, the processing module is specifically used for:
If appointing in defined menu information in the character string information and the page of the corresponding function items of the function One is identical for characterizing the character string information for the function items that the equipment has, and determines and does not need in the page described in load The corresponding function items of function;
If the institute in the character string information and the page of the corresponding function items of the function in defined menu information Have that the character string information for characterizing the function items that the equipment has is different, determines and need in the page described in load The corresponding function items of function.
Optionally, the processing module is specifically used for:
The corresponding function of each customized function items reads the ini text configured in the gateway at runtime It is macro defined in part and/or the gateway;Wherein,
Function corresponding for each customized function items, if comprising for indicating to allow to use in the ini file Family customizes the information of the corresponding function items of the function, then the value returned after the function operation is first setting value, if Comprising for indicating that permission user customizes the information of the corresponding function items of the function in configured ini file, then the letter The value returned after number operation is second setting value;Or
Function corresponding for each customized function items, if undefined for indicating to add in the gateway The macro of the corresponding function items of the function is carried, then the value returned after the function operation is first setting value;If defining For indicating that the macro of the corresponding function items of the function can be loaded, then the value returned after the function operation sets for described second Definite value;Or
Function corresponding for each customized function items, if comprising for indicating to allow to use in the ini file Family customizes undefined for indicating that the letter can be loaded in the information of the corresponding function items of the function and the gateway The macro of corresponding function items is counted, then the value returned after the function operation is first setting value;If being wrapped in the ini file Containing for indicating to define in the information and the gateway that allow user to customize the corresponding function items of the function for table The macro of the corresponding function items of the function can be loaded by showing, then the value returned after the function operation is second setting value.
Optionally, the processing module is also used to:
When the subfunction item for determining that the corresponding function items of the function include can be called by other function item, by institute The relevant information for stating the subfunction that the corresponding function items of function have loaded is written in the other function item.
Optionally, between the function name of the corresponding function of each function items character string information corresponding with each function items Corresponding relationship uses the form of list.
A kind of method and device of customized web page provided in an embodiment of the present invention, first gateway are the gateway Each of customized function items define character string information for identifying the function items and be used to determine whether load user The function of customized function items;Then the gateway is to set for characterizing the gateway in the return value for determining function It is in standby after first setting value of the undefined information for allowing user to customize the corresponding function items of the function, the function is corresponding The character string informations of function items be compared with the character string information in defined menu information in the page, with determination Whether the corresponding function items of the function need to load in the page of the human-computer interaction of the gateway;Finally, the net The corresponding function of equipment operation each customized function items is closed, is described for characterizing in the return value for determining function After the second setting value for defining the information for allowing user to customize the corresponding function items of the function in gateway, in the page The corresponding function items of the function are loaded in face.Realize that user is customized function.
Detailed description of the invention
Fig. 1 is a kind of method flow diagram of customized web page provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram of another customized web page provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic device of customized web page provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing, technical solution provided in an embodiment of the present invention is described in detail.
The embodiment of the invention provides a kind of methods of customized web page, as shown in Figure 1, including following operation:
Step 100, gateway are the customized function items definition of each of described gateway for identifying the function Can item character string information and be used to determine whether to load the function of function items customizable by a user;
The corresponding function of step 110, gateway operation each customized function items, is determining function Return value be undefined in the gateway user to be allowed to customize the information of the corresponding function items of the function for characterizing The first setting value after, by defined menu information in the character string information of the corresponding function items of the function and the page In character string information be compared, whether needed with the corresponding function items of the determination function in the man-machine of the gateway It is loaded in the interactive page;
Wherein, first setting value can be 0, or 1, the embodiment of the present invention is not construed as limiting it;The letter Number can define identical function name and content according to demand, can also define different function name and content.
Step 120, the gateway are to define for characterizing in the gateway in the return value for determining function After second setting value of the information for allowing user to customize the corresponding function items of the function, the letter is loaded in the page The corresponding function items of number.
Wherein, when first setting value can be 0, second setting value is 1;When first setting value is 1 When, second setting value is 0, and the embodiment of the present invention is not construed as limiting it.
A kind of method of customized web page provided in an embodiment of the present invention, first gateway are each of described gateway Customized function items define the character string information for identifying the function items and are used to determine whether to load customizable by a user Function items function;Then the corresponding function of gateway operation each customized function items, is being determined The return value of function is to customize the corresponding function items of the function for characterizing undefined permission user in the gateway After first setting value of information, by defined menu in the character string information of the corresponding function items of the function and the page Whether the character string information in information is compared, needed with the corresponding function items of the determination function in the gateway It is loaded in the page of human-computer interaction;Finally, the gateway is for characterizing the gateway in the return value for determining function After the second setting value for defining the information for allowing user to customize the corresponding function items of the function in equipment, in the page Load the corresponding function items of the function.Realize that user is customized function.
Wherein, the example of function and character string is as shown in table 1: wherein table 1 is by four member compositions: character string, flag1 Function, flag2 function, flag3 function.Character string be according to the return value of flag1 function, flag2 function and flag3 function come Decide whether to be written to the character string in php file.
Table 1
Optionally, gateway described in step 110 by the character string information of the corresponding function items of the function with it is described Whether the character string information in the page in defined menu information is compared, needed with the corresponding function items of the determination function It to be loaded in the page of the human-computer interaction of the gateway, comprising:
If appointing in defined menu information in the character string information and the page of the corresponding function items of the function One is identical for characterizing the character string information for the function items that the equipment has, and the gateway determination is not needed in the page The corresponding function items of the function are loaded in face;
If the institute in the character string information and the page of the corresponding function items of the function in defined menu information Have that the character string information for characterizing the function items that the equipment has is different, the gateway, which determines, to be needed in the page The corresponding function items of the function are loaded in face.
Optionally, the corresponding function of gateway operation each customized function items, comprising: the gateway The corresponding function of each customized function items described in device configuration reads the ini text configured in the gateway at runtime It is macro defined in part and/or the gateway;
Specifically include three kinds of situations:
Situation one, function corresponding for each customized function items, if comprising for indicating in the ini file User is allowed to customize the information of the corresponding function items of the function, then the value returned after the function operation is first setting Value, if comprising for indicating the information for allowing user to customize the corresponding function items of the function, institute in configured ini file Stating the value returned after function operation is second setting value;
Situation two, function corresponding for each customized function items, if undefined in the gateway be used for table The macro of the corresponding function items of the function can be loaded by showing, then the value returned after the function operation is first setting value; If defining for indicating that the macro of the corresponding function items of the function can be loaded, the value returned after the function operation is institute State the second setting value;
Situation three, function corresponding for each customized function items, if comprising for indicating in the ini file User is allowed to customize undefined for indicating to load in the information and the gateway of the corresponding function items of the function The corresponding function items of the function it is macro, then the value returned after the function operation is first setting value;If the ini text Comprising for indicating to define in the information and the gateway that allow user to customize the corresponding function items of the function in part For indicating that the macro of the corresponding function items of the function can be loaded, then the value returned after the function operation sets for described second Definite value.
For example, a kind of example of ini file is as follows, it is described in table 2 below: where " #manufacturerString " The " # " of front is to indicate that the sentence is comment statement, for explaining the function of the sentence;"#manufacturerString" Entitled " RAISECOM " of string representation manufacturer;" #include userbehavior " string representation is used to control No includes user's network log-in management function, if there is " UserBehaviorControl=yes " character string in ini file, Indicate that operation user customizes network log-in management function.
It should be noted that for the customization of the gateway page, ini file is selected according to gateway model , so the model of gateway is different, the content of ini file is also different, wherein the model of gateway is by product Number pn and batch number bn is determined.
For example: assuming that function items defined in gateway are a, b, c, d, e, f, g, h, i, j, wherein a, b, c, d, E is customized function items, and f, g, h, i, j is not customized function items.For in the gateway of different model for The function items of family customization are possible to different, such as: it is a for customized function items when the gateway is A model, B, c are b, c, d, e for customized function items when the gateway is Type B.Allow user fixed in gateway The function items of system.
Table 2
Optionally, after the network equipment loads the corresponding function items of the function in the page, further includes:
The gateway can be by other function in the subfunction item for determining that the corresponding function items of the function include When item calls, the relevant information for the subfunction that the corresponding function items of the function have been loaded is written in the other function item.
Optionally, between the function name of the corresponding function of each function items character string information corresponding with each function items Corresponding relationship uses the form of list.
Below by taking the customization of the gateway page as an example, by a specific embodiment, to one kind provided in an embodiment of the present invention The method of customized web page is described in detail.
In the specific embodiment of the invention, whether the user's network log-in management customized in gateway needs to load:
Wherein the page of each gateway is defined as follows:
" menu character string "=> array (" name "=> " title that menu is shown ", " link "=> " address of menu and Loading page php file ", " level "=> " page is several layers of ", " parents "=> " title of parent page ", " func " Whether=> " needs load string "), it is exemplified below:
" app_ctrl_policy "=> array (" name "=> " menu_app_ctrl_policy ", " link "=> " Security.app_ctrl_policy.app_ctrl_policy ", " level "=> " 1 ", " parents "=> " NULL ", " Func "=> " module_app_ctrl_policy ");
Wherein, the title that menu is shown is " menu_app_ctrl_policy ", the corresponding Chinese name definition of the character string For " application control ";" security.app_ctrl_policy.app_ctrl_policy " be expressed as the page be Parts=app_ctrl_policy under security file in list_app_ctrl_policy.php file, thus The page can be found;" level "=> " 1 " represents the page is the 1st layer of page, which has 1,2,3 etc.;" parents "=> " NULL " represents the parent page of the page as sky;
" func "=> " module_app_ctrl_policy " be the character string shown in menu.
In the specific embodiment of the invention, page customization process is as shown in Fig. 2, concrete operations are as follows:
Step 201: gateway starting runs relevant program and initializes etc..
Step 202: at this moment the process (i.e. guish process) of the page and User space interaction data initializes, i.e. the phase of the page The program code of pass is initialized.
Step 203: the corresponding function of function name during program initialization, in table 1.Wherein table 1 is by four A member composition: character string, flag1 function, flag2 function, flag3 function.According to flag1 function, flag2 function and The return value of flag3 function decides whether for corresponding character string to be written in exclude_func.php file.If The return value of flag1 function is 0, then by exclude_ in its corresponding character string write-in exclude_func.php file In the mark of func1, if the return value of flag1 function is 1, skips and be not processed.Similarly, if flag2 function Return value is 0, then by the mark of exclude_func2 in its corresponding character string write-in exclude_func.php file In, if the return value of flag2 function is 1, skips and be not processed.Similarly, if the return value of flag3 function is 0, that Its corresponding character string is written in exclude_func.php file in the mark of exclude_func3, if flag3 letter Several return values is 1, is not processed then skipping.
Wherein, flag1 function, flag2 function, flag3 function, these three functions can define identical letter according to demand Several and content can also define different function name and content.Flag1 function, flag2 function, flag3 function are being run When, the ini file configured in the gateway can be read respectively, or is read defined in the gateway respectively Different files.
Step 204: the function of table 1 reads the item in above-described embodiment inside custom.ini file (i.e. table 2) either What is defined in the script of compiler is macro etc., obtains whether the page needs to load.
If compilation script define it is macro be MODULE_SECURITY_, defined in custom.ini UserBehaviorControl=yes.When running has_app_ctrl_policy_func function, if it is macro to be defined this And " UserBehaviorControl=yes " character string so function return value is found in custom.ini file It is 1." module_app_ctrl_policy " character string is not written into exclude_func.php file, is represented to need to load and is somebody's turn to do The page.If it is macro or do not find " UserBehaviorControl=yes " in custom.ini file not define this Character string so function return value is 0.Exclude_func.php is written in " module_app_ctrl_policy " character string In file, representative does not need to load the page.Wherein the load of custom.ini file is selected according to the setting of device model Custom.ini file is selected, so the content of the custom.ini of different device models is different.Here equipment type It number is determined by pn and bn.Specific example is as shown in table 3 below, and the content of custom.ini file is exactly right behind pn and bn The content inside file answered;Wherein pn and bn is the batch number of device definition, can define difference according to different pn and bn Custom.ini file content.Wherein content is in custom_A_CH.ini and custom_A_CH_M.ini both of these documents Different.According to the different files that different pn and bn choose, finally its renamed as custom.ini file.
Step 205: reading the character string information and net for being used to identify the function items in exclude_func.php file Character string comparison in the page of pass in defined menu information, if the character string letter for identifying the function items Cease it is as the character string in defined menu information in the page of gateway identical, then in the human-computer interaction of the gateway The function items are not loaded in the page, if described determined in the character string information of the function items and the page of gateway for identifying Menu character string in the menu information of justice is different, then loading the function in the page of the human-computer interaction of the gateway ?.
Table 3
Step 206: open the page check whether the page customized according to demand correct, i.e., whether according to user customization It is required that the display page.
In the present embodiment, User space can also read the content in custom.ini file, carry out function initialization.Such as " UserBehaviorControl=yes " this character string is read inside custom.ini file, then user's internet behavior The associated process of management is initialized and is run.As do not read inside custom.ini file " UserBehaviorControl=yes " this character string, then user's network log-in management associated process close without Operation.Allow in this way the page load to have obtained with the function of User space it is synchronous.
Based on inventive concept same as method, the embodiment of the present invention also provides a kind of device of customized web page, such as Fig. 3 institute Show, comprising:
Definition module 301, for being the customized function items definition of each of the gateway for identifying the function Can item character string information and be used to determine whether to load the function of function items customizable by a user;
Processing module 302 is determining returning for function for running the corresponding function of each customized function items Returning value is customize the information of the corresponding function items of the function for characterizing undefined permission user in the gateway the It, will be in defined menu information in the character string information of the corresponding function items of the function and the page after one setting value Character string information is compared, and the human-computer interaction in the gateway whether is needed with the corresponding function items of the determination function The page in load;The return value for determining function for for characterize defined in the gateway allow user customize institute After the second setting value for stating the information of the corresponding function items of function, the corresponding function items of the function are loaded in the page.
A kind of device of customized web page provided in an embodiment of the present invention, first gateway are each of described gateway Customized function items define the character string information for identifying the function items and are used to determine whether to load customizable by a user Function items function;Then the corresponding function of gateway operation each customized function items, is being determined The return value of function is to customize the corresponding function items of the function for characterizing undefined permission user in the gateway After first setting value of information, by defined menu in the character string information of the corresponding function items of the function and the page Whether the character string information in information is compared, needed with the corresponding function items of the determination function in the gateway It is loaded in the page of human-computer interaction;Finally, the gateway is for characterizing the gateway in the return value for determining function After the second setting value for defining the information for allowing user to customize the corresponding function items of the function in equipment, in the page Load the corresponding function items of the function.Realize that user is customized function.
Optionally, the processing module is specifically used for:
If appointing in defined menu information in the character string information and the page of the corresponding function items of the function One is identical for characterizing the character string information for the function items that the equipment has, and determines and does not need in the page described in load The corresponding function items of function;
If the institute in the character string information and the page of the corresponding function items of the function in defined menu information Have that the character string information for characterizing the function items that the equipment has is different, determines and need in the page described in load The corresponding function items of function.
Optionally, the processing module is specifically used for:
The corresponding function of each customized function items reads the ini text configured in the gateway at runtime It is macro defined in part and/or the gateway;Wherein,
Function corresponding for each customized function items, if comprising for indicating to allow to use in the ini file Family customizes the information of the corresponding function items of the function, then the value returned after the function operation is first setting value, if Comprising for indicating that permission user customizes the information of the corresponding function items of the function in configured ini file, then the letter The value returned after number operation is second setting value;Or
Function corresponding for each customized function items, if undefined for indicating to add in the gateway The macro of the corresponding function items of the function is carried, then the value returned after the function operation is first setting value;If defining For indicating that the macro of the corresponding function items of the function can be loaded, then the value returned after the function operation sets for described second Definite value;Or
Function corresponding for each customized function items, if comprising for indicating to allow to use in the ini file Family customizes undefined for indicating that the letter can be loaded in the information of the corresponding function items of the function and the gateway The macro of corresponding function items is counted, then the value returned after the function operation is first setting value;If being wrapped in the ini file Containing for indicating to define in the information and the gateway that allow user to customize the corresponding function items of the function for table The macro of the corresponding function items of the function can be loaded by showing, then the value returned after the function operation is second setting value.
Optionally, the processing module is also used to:
When the subfunction item for determining that the corresponding function items of the function include can be called by other function item, by institute The relevant information for stating the subfunction that the corresponding function items of function have loaded is written in the other function item.
Optionally, between the function name of the corresponding function of each function items character string information corresponding with each function items Corresponding relationship uses the form of list.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of method of customized web page characterized by comprising
Gateway is that the customized function items of each of the gateway define the character string for identifying the function items It information and is used to determine whether to load the function of function items customizable by a user;
The corresponding function of gateway operation each customized function items, is to use in the return value for determining function In the first setting value for characterizing the undefined information for allowing user to customize the corresponding function items of the function in the gateway Afterwards, the character string in the character string information of the corresponding function items of the function and the page in defined menu information is believed Whether breath is compared, needed in the page of the human-computer interaction of the gateway with the corresponding function items of the determination function Load;
The gateway is to allow user fixed for characterizing to define in the gateway in the return value for determining function After the second setting value for making the information of the corresponding function items of the function, the corresponding function of the function is loaded in the page ?.
2. the method according to claim 1, wherein the gateway is by the corresponding function items of the function Character string information is compared with the character string information in defined menu information in the page, with the determination function pair Whether the function items answered need to load in the page of the human-computer interaction of the gateway, comprising:
If any use in the character string information and the page of the corresponding function items of the function in defined menu information Identical in the character string information for characterizing the function items that the equipment has, the gateway determination does not need in the page Load the corresponding function items of the function;
If the character string information of the corresponding function items of the function and institute in defined menu information in the page are useful Different in the character string information for characterizing the function items that the equipment has, the gateway, which determines, to be needed in the page Load the corresponding function items of the function.
3. the method according to claim 1, wherein the gateway runs each customized function The corresponding function of item, comprising:
The corresponding function of gateway configuration each customized function items reads the gateway at runtime It is macro defined in the ini file of middle configuration and/or the gateway;Wherein,
Function corresponding for each customized function items, if comprising for indicating to allow user fixed in the ini file The information of the corresponding function items of the function is made, then the value returned after the function operation is first setting value, if having matched Comprising for indicating the information for allowing user to customize the corresponding function items of the function, then the function is transported in the ini file set The value returned after row is second setting value;Or
Function corresponding for each customized function items, if undefined for indicating that institute can be loaded in the gateway The macro of the corresponding function items of function is stated, then the value returned after the function operation is first setting value;It is used for if defining Expression can load the macro of the corresponding function items of the function, then the value returned after the function operation is second setting Value;Or
Function corresponding for each customized function items, if comprising for indicating to allow user fixed in the ini file It makes undefined for indicating that the function pair can be loaded in the information of the corresponding function items of the function and the gateway The function items answered it is macro, then the value returned after the function operation be first setting value;If comprising using in the ini file It defines in the information and the gateway that expression allows user to customize the corresponding function items of the function for indicating energy The macro of the corresponding function items of the function is enough loaded, then the value returned after the function operation is second setting value.
4. described in any item methods according to claim 1~3, which is characterized in that the gateway adds in the page After carrying the corresponding function items of the function, further includes:
The gateway is determining that the subfunction item that the corresponding function items of the function include can adjust by other function item The relevant information of used time, the subfunction that the corresponding function items of the function have been loaded are written in the other function item.
5. the method according to claim 1, wherein the function name of the corresponding function of each function items and each function Corresponding relationship between the corresponding character string information of energy item uses the form of list.
6. a kind of device of customized web page characterized by comprising
Definition module, for defining the character string for identifying the function items for the customized function items of each of gateway It information and is used to determine whether to load the function of function items customizable by a user;
Processing module is in the return value for determining function for running the corresponding function of each customized function items For characterizing the first setting of the undefined information for allowing user to customize the corresponding function items of the function in the gateway After value, by the character string in the character string information of the corresponding function items of the function and the page in defined menu information Information is compared, and the page in the human-computer interaction of the gateway whether is needed with the corresponding function items of the determination function Middle load;It is to allow user to customize the function for characterizing to define in the gateway in the return value for determining function After second setting value of the information of corresponding function items, the corresponding function items of the function are loaded in the page.
7. device according to claim 6, which is characterized in that the processing module is specifically used for:
If any use in the character string information and the page of the corresponding function items of the function in defined menu information Identical in the character string information for characterizing the function items that the equipment has, determination does not need to load the function in the page Corresponding function items;
If the character string information of the corresponding function items of the function and institute in defined menu information in the page are useful It is different in the character string information for characterizing the function items that the equipment has, it determines and needs to load the function in the page Corresponding function items.
8. device according to claim 6, which is characterized in that the processing module is specifically used for:
The corresponding function of each customized function items reads the ini file configured in the gateway at runtime And/or it is macro defined in the gateway;Wherein,
Function corresponding for each customized function items, if comprising for indicating to allow user fixed in the ini file The information of the corresponding function items of the function is made, then the value returned after the function operation is first setting value, if having matched Comprising for indicating the information for allowing user to customize the corresponding function items of the function, then the function is transported in the ini file set The value returned after row is second setting value;Or
Function corresponding for each customized function items, if undefined for indicating that institute can be loaded in the gateway The macro of the corresponding function items of function is stated, then the value returned after the function operation is first setting value;It is used for if defining Expression can load the macro of the corresponding function items of the function, then the value returned after the function operation is second setting Value;Or
Function corresponding for each customized function items, if comprising for indicating to allow user fixed in the ini file It makes undefined for indicating that the function pair can be loaded in the information of the corresponding function items of the function and the gateway The function items answered it is macro, then the value returned after the function operation be first setting value;If comprising using in the ini file It defines in the information and the gateway that expression allows user to customize the corresponding function items of the function for indicating energy The macro of the corresponding function items of the function is enough loaded, then the value returned after the function operation is second setting value.
9. device according to claim 8, which is characterized in that the processing module is also used to:
When the subfunction item for determining that the corresponding function items of the function include can be called by other function item, by the letter The relevant information for the subfunction that the corresponding function items of number have loaded is written in the other function item.
10. device according to claim 6, which is characterized in that the function name of the corresponding function of each function items and each Corresponding relationship between the corresponding character string information of function items uses the form of list.
CN201511001497.XA 2015-12-28 2015-12-28 A kind of method and device of customized web page Active CN105631005B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511001497.XA CN105631005B (en) 2015-12-28 2015-12-28 A kind of method and device of customized web page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511001497.XA CN105631005B (en) 2015-12-28 2015-12-28 A kind of method and device of customized web page

Publications (2)

Publication Number Publication Date
CN105631005A CN105631005A (en) 2016-06-01
CN105631005B true CN105631005B (en) 2018-12-25

Family

ID=56045938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511001497.XA Active CN105631005B (en) 2015-12-28 2015-12-28 A kind of method and device of customized web page

Country Status (1)

Country Link
CN (1) CN105631005B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150434A (en) * 2007-10-22 2008-03-26 中兴通讯股份有限公司 An object-oriented function deployment method in network management
CN101876908A (en) * 2010-06-30 2010-11-03 中兴通讯股份有限公司 User customizing method and system
CN102857566A (en) * 2012-09-06 2013-01-02 上海计算机软件技术开发中心 Intelligent gateway of internet of things capable of being customized by software
CN103677779A (en) * 2012-09-21 2014-03-26 成都勤智数码科技股份有限公司 Flexible page configuration showing method
CN104092603A (en) * 2014-07-21 2014-10-08 杭州华三通信技术有限公司 Gateway equipment and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150434A (en) * 2007-10-22 2008-03-26 中兴通讯股份有限公司 An object-oriented function deployment method in network management
CN101876908A (en) * 2010-06-30 2010-11-03 中兴通讯股份有限公司 User customizing method and system
CN102857566A (en) * 2012-09-06 2013-01-02 上海计算机软件技术开发中心 Intelligent gateway of internet of things capable of being customized by software
CN103677779A (en) * 2012-09-21 2014-03-26 成都勤智数码科技股份有限公司 Flexible page configuration showing method
CN104092603A (en) * 2014-07-21 2014-10-08 杭州华三通信技术有限公司 Gateway equipment and control method thereof

Also Published As

Publication number Publication date
CN105631005A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
EP3123315B1 (en) Hierarchical directives-based management of runtime behaviors
Masiello et al. Mastering React Native
US10977031B2 (en) Method for a software development system
US9910641B2 (en) Generation of application behaviors
CN105765527A (en) Method and apparatus for custom software development kit (SDK) generation
US10169427B2 (en) Personalized highlighter for textual media
CN111414166A (en) Code generation method, device, equipment and storage medium
CN106843901B (en) Page rendering and verification method and device
CN109460546A (en) List generation method, device and electronic equipment
CN107408105A (en) Have ready conditions controlled sample addition type
US10229096B1 (en) Automatic generation of a presentation from code based on analysis of an intermediate version of the code
CN113407186A (en) Control execution method, control execution device, terminal, and readable storage medium
CN113031967A (en) Code conversion method and device
Loni et al. Wraprec: An easy extension of recommender system libraries
US10846061B2 (en) Development environment for real-time application development
CN105631005B (en) A kind of method and device of customized web page
CN111651160B (en) Plug-in construction and webpage design method and device
CN113190509A (en) Animation processing method and device, electronic equipment and computer readable storage medium
CN109542447B (en) OTX program file execution method and device
CN108255802B (en) Universal text parsing architecture and method and device for parsing text based on architecture
US20240211528A1 (en) System, method, and computer program product for securely enabling rendering of a hybrid website interface based on trusted and untrusted code components
US9256406B1 (en) Graphically scoped C-functions inside stateflow
CN111367515B (en) Page card development method, device, computing equipment and storage medium
Exman et al. KODEGEN: A Code Generation and Testing Tool Using Runnable Knowledge
Bourgeois et al. Information systems development

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant