CN105631005A - Page customization method and device - Google Patents

Page customization method and device Download PDF

Info

Publication number
CN105631005A
CN105631005A CN201511001497.XA CN201511001497A CN105631005A CN 105631005 A CN105631005 A CN 105631005A CN 201511001497 A CN201511001497 A CN 201511001497A CN 105631005 A CN105631005 A CN 105631005A
Authority
CN
China
Prior art keywords
function
items
function items
value
gateway equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201511001497.XA
Other languages
Chinese (zh)
Other versions
CN105631005B (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

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The invention discloses a page customization method and device. The method includes the steps that gateway equipment defines character string information and functions for all customizable function items of the gateway equipment, wherein the character string information is used for identifying the function items, and the functions are used for determining whether the customizable function items of a user are loaded or not; the gateway equipment runs the functions corresponding to the customizable function items, and after it is determined that a returned value of one function is a first set value used for representing the information allowing the user to customize the function item corresponding to the function is not defined in the gateway equipment, the character string information of the function item corresponding to the function is compared with defined character string information in menu information in a page so as to determine whether the function item needs to be loaded in the human-computer interaction page of the gateway equipment; after it is determined that the returned value of the function is a second set value used for representing that the information allowing the user to customize the function item corresponding to the function is defined in the gateway equipment, the function item corresponding to the function is loaded in the page, so that the problem that the user can not customize the function item is solved.

Description

A kind of method of customized web page and device
Technical field
The present invention relates to Internet technical field, particularly relate to method and the device of a kind of customized web page.
Background technology
Along with the development in field, internet, for adding users is experienced, more and more internet developers starts to provide page customization. Page customization is the common functions such as website design, the gateway page, mobile phone, and this function is constantly development and improvement. In page customization method, function cannot be customized by user, is the problem needing at present to solve.
Summary of the invention
It is an object of the invention to provide a kind of method of page customization and device, to solve the problem that function cannot be customized by user.
It is an object of the invention to be achieved through the following technical solutions:
A method for customized web page, comprising:
Each customizable function items that gateway equipment is described gateway equipment defines the character string information for identifying described function items and the function for determining whether to load the function items of user customizable;
Described gateway equipment runs function corresponding to each customizable function items described, after determining that the return of value of function is the first set(ting)value for characterizing the information of the function items that function described in undefined permission customization is corresponding in described gateway equipment, character string information in defined menu information in the character string information of function items corresponding for described function and the described page is compared, to determine that the function items that described function is corresponding loads the need of in the page of the man-machine interaction of described gateway equipment;
Described gateway equipment, after determining the 2nd set(ting)value that the return of value of function is the information defining function items corresponding to function described in permission customization in described gateway equipment for characterizing, loads function items corresponding to described function in the described page.
Optionally, character string information in defined menu information in the character string information of function items corresponding for described function and the described page is compared by described gateway equipment, to determine that the function items that described function is corresponding loads the need of in the page of the man-machine interaction of described gateway equipment, comprising:
If the character string information of the function items that described function is corresponding is identical with the arbitrary character string information for characterizing the function items that described equipment has in defined menu information in the described page, described gateway equipment is determined not need to load function items corresponding to described function in the described page;
If the character string information of the function items that described function is corresponding is all different from all character string informations for characterizing the function items that described equipment has in defined menu information in the described page, described gateway equipment is determined to need to load function items corresponding to described function in the described page.
Optionally, described gateway equipment runs function corresponding to each customizable function items described, comprising:
The function that each customizable function items described in described gateway Equipments Setting is corresponding operationally reads in described gateway equipment the grand of definition in the ini file of configuration and/or described gateway equipment; Wherein,
For the function that each customizable function items is corresponding, if described ini file does not comprise the information for representing the function items that function described in permission customization is corresponding, the value then returned after described function operation is described first set(ting)value, if comprising the information for representing the function items that function described in permission customization is corresponding in the ini file configured, then the value returned after described function operation is described 2nd set(ting)value; Or
For the function that each customizable function items is corresponding, can load the grand of function items corresponding to described function if undefined in described gateway equipment for representing, then the value returned after described function operation is described first set(ting)value; Can load the grand of function items corresponding to described function if defining for representing, then the value returned after described function operation is described 2nd set(ting)value; Or
For the function that each customizable function items is corresponding, undefined in the information and described gateway equipment allowing function items that function described in customization is corresponding for representing can load the grand of function items corresponding to described function for representing if not comprising in described ini file, then the value returned after described function operation is described first set(ting)value; If comprising in described ini file to define in the information for representing the function items that function described in permission customization is corresponding and described gateway equipment and can loading the grand of function items corresponding to described function for representing, then the value returned after described function operation is described 2nd set(ting)value.
Optionally, the described network equipment also comprises after loading function items corresponding to described function in the described page:
Described gateway equipment is when the subfunction item determining that the function items that described function is corresponding comprises can be called by other function items, and the relevant information of the subfunction loaded by function items corresponding for described function writes in other function items described.
Optionally, the corresponding relation between the character string information that the function name of the function that each function items is corresponding is corresponding with each function items adopts the form of list.
Based on the invention same with method design, embodiments provide the device of a kind of customized web page, comprising:
Definition module, for for each customizable function items of gateway equipment definition is for identifying the character string information of described function items and the function for determining whether to load the function items of user customizable;
Processing module, for running function corresponding to each customizable function items described, after determining that the return of value of function is the first set(ting)value for characterizing the information of the function items that function described in undefined permission customization is corresponding in described gateway equipment, character string information in defined menu information in the character string information of function items corresponding for described function and the described page is compared, to determine that the function items that described function is corresponding loads the need of in the page of the man-machine interaction of described gateway equipment; After determining the 2nd set(ting)value that the return of value of function is the information defining function items corresponding to function described in permission customization in described gateway equipment for characterizing, the described page loads function items corresponding to described function.
Optionally, described processing module specifically for:
If the character string information of the function items that described function is corresponding is identical with the arbitrary character string information for characterizing the function items that described equipment has in defined menu information in the described page, it is determined that do not need to load function items corresponding to described function in the described page;
If the character string information of the function items that described function is corresponding is all different from all character string informations for characterizing the function items that described equipment has in defined menu information in the described page, it is determined that need to load function items corresponding to described function in the described page.
Optionally, described processing module specifically for:
The function that each customizable function items described is corresponding operationally reads in described gateway equipment the grand of definition in the ini file of configuration and/or described gateway equipment; Wherein,
For the function that each customizable function items is corresponding, if described ini file does not comprise the information for representing the function items that function described in permission customization is corresponding, the value then returned after described function operation is described first set(ting)value, if comprising the information for representing the function items that function described in permission customization is corresponding in the ini file configured, then the value returned after described function operation is described 2nd set(ting)value; Or
For the function that each customizable function items is corresponding, can load the grand of function items corresponding to described function if undefined in described gateway equipment for representing, then the value returned after described function operation is described first set(ting)value; Can load the grand of function items corresponding to described function if defining for representing, then the value returned after described function operation is described 2nd set(ting)value; Or
For the function that each customizable function items is corresponding, undefined in the information and described gateway equipment allowing function items that function described in customization is corresponding for representing can load the grand of function items corresponding to described function for representing if not comprising in described ini file, then the value returned after described function operation is described first set(ting)value; If comprising in described ini file to define in the information for representing the function items that function described in permission customization is corresponding and described gateway equipment and can loading the grand of function items corresponding to described function for representing, then the value returned after described function operation is described 2nd set(ting)value.
Optionally, described processing module also for:
When the subfunction item determining that the function items that described function is corresponding comprises can be called by other function items, in relevant information write other function items described of the subfunction that function items corresponding for described function has been loaded.
Optionally, the corresponding relation between the character string information that the function name of the function that each function items is corresponding is corresponding with each function items adopts the form of list.
A kind of method of customized web page that the embodiment of the present invention provides and device, first gateway equipment is that each customizable function items definition of described gateway equipment is for identifying the character string information of described function items and the function for determining whether to load the function items of user customizable; Then described gateway equipment is after determining that the return of value of function is the first set(ting)value for characterizing the information of the function items that function described in undefined permission customization is corresponding in described gateway equipment, character string information in defined menu information in the character string information of function items corresponding for described function and the described page is compared, to determine that the function items that described function is corresponding loads the need of in the page of the man-machine interaction of described gateway equipment; Finally, described gateway equipment runs function corresponding to each customizable function items described, after determining the 2nd set(ting)value that the return of value of function is the information defining function items corresponding to function described in permission customization in described gateway equipment for characterizing, the described page loads function items corresponding to described function. Realize user function to be customized.
Accompanying drawing explanation
The method flow diagram of a kind of customized web page that Fig. 1 provides for the embodiment of the present invention;
The method flow diagram of another kind of customized web page that Fig. 2 provides for the embodiment of the present invention;
The device schematic diagram of a kind of customized web page that Fig. 3 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the technical scheme that the embodiment of the present invention provides is described in detail.
Embodiments provide a kind of method of customized web page, as shown in Figure 1, comprise following operation:
Each customizable function items that step 100, gateway equipment are described gateway equipment defines the character string information for identifying described function items and the function for determining whether to load the function items of user customizable;
Step 110, described gateway equipment run function corresponding to each customizable function items described, after determining that the return of value of function is the first set(ting)value for characterizing the information of the function items that function described in undefined permission customization is corresponding in described gateway equipment, character string information in defined menu information in the character string information of function items corresponding for described function and the described page is compared, to determine that the function items that described function is corresponding loads the need of in the page of the man-machine interaction of described gateway equipment;
Wherein, described first set(ting)value can be 0, it is possible to thinking 1, it is not construed as limiting by the embodiment of the present invention; Described function can define identical function name and content according to demand, it is also possible to defines different function names and content.
Step 120, described gateway equipment, after determining the 2nd set(ting)value that the return of value of function is the information defining function items corresponding to function described in permission customization in described gateway equipment for characterizing, load function items corresponding to described function in the described page.
Wherein, when described first set(ting)value can be 0, described 2nd set(ting)value is 1; When described first set(ting)value is 1, described 2nd set(ting)value is 0, and it is not construed as limiting by the embodiment of the present invention.
A kind of method of customized web page that the embodiment of the present invention provides, first gateway equipment is that each customizable function items definition of described gateway equipment is for identifying the character string information of described function items and the function for determining whether to load the function items of user customizable; Then described gateway equipment runs function corresponding to each customizable function items described, after determining that the return of value of function is the first set(ting)value for characterizing the information of the function items that function described in undefined permission customization is corresponding in described gateway equipment, character string information in defined menu information in the character string information of function items corresponding for described function and the described page is compared, to determine that the function items that described function is corresponding loads the need of in the page of the man-machine interaction of described gateway equipment; Finally, described gateway equipment, after determining the 2nd set(ting)value that the return of value of function is the information defining function items corresponding to function described in permission customization in described gateway equipment for characterizing, loads function items corresponding to described function in the described page. Realize user function to be customized.
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 is the return of value according to flag1 function, flag2 function and flag3 function determines whether this character string be written in php file.
Table 1
Optionally, character string information in defined menu information in the character string information of function items corresponding for described function and the described page is compared by the equipment of gateway described in step 110, to determine that the function items that described function is corresponding loads the need of in the page of the man-machine interaction of described gateway equipment, comprising:
If the character string information of the function items that described function is corresponding is identical with the arbitrary character string information for characterizing the function items that described equipment has in defined menu information in the described page, described gateway equipment is determined not need to load function items corresponding to described function in the described page;
If the character string information of the function items that described function is corresponding is all different from all character string informations for characterizing the function items that described equipment has in defined menu information in the described page, described gateway equipment is determined to need to load function items corresponding to described function in the described page.
Optionally, described gateway equipment runs function corresponding to each customizable function items described, comprising: the function that each customizable function items described in described gateway Equipments Setting is corresponding operationally reads the grand of definition in the ini file of configuration in described gateway equipment and/or described gateway equipment;
Specifically comprise three kinds of situations:
Situation one, for function corresponding to each customizable function items, if described ini file does not comprise the information for representing the function items that function described in permission customization is corresponding, the value then returned after described function operation is described first set(ting)value, if comprising the information for representing the function items that function described in permission customization is corresponding in the ini file configured, then the value returned after described function operation is described 2nd set(ting)value;
Situation two, for function corresponding to each customizable function items, can load the grand of function items corresponding to described function if undefined in described gateway equipment for representing, then the value returned after described function operation is described first set(ting)value; Can load the grand of function items corresponding to described function if defining for representing, then the value returned after described function operation is described 2nd set(ting)value;
Situation three, for function corresponding to each customizable function items, undefined in the information and described gateway equipment allowing function items that function described in customization is corresponding for representing can load the grand of function items corresponding to described function for representing if not comprising in described ini file, then the value returned after described function operation is described first set(ting)value; If comprising in described ini file to define in the information for representing the function items that function described in permission customization is corresponding and described gateway equipment and can loading the grand of function items corresponding to described function for representing, then the value returned after described function operation is described 2nd set(ting)value.
Illustrating, a kind of example of ini file is as follows, be described in table 2 below: wherein, and the " # " before " #manufacturerString " represents that this statement annotates statement, is used for explaining the function of this statement; " #manufacturerString " character string represents that the name of manufacturer is called " RAISECOM "; " #includeuserbehavior " character string represents for whether control comprises user's network log-in management function, if there is " UserBehaviorControl=yes " character string in ini file, then represents and runs customization network log-in management function.
It should be noted that, for the customization of the gateway page, ini file is selecting according to gateway unit type, so the model of gateway equipment is different, the content of ini file is also different, and wherein, the model of gateway equipment is determined by product pn and a batch number bn.
Illustrate: assuming that the function items defined in gateway equipment is a, b, c, d, e, f, g, h, i, j, wherein a, b, c, d, e are customizable function items, and f, g, h, i, j are not customizable function items. For can be likely different for the function items of customization in the gateway equipment of different model, such as: when described gateway equipment is A model, can be a, b for the function items of customization, c, when described gateway equipment is Type B, can be b for the function items of customization, c, d, e. Gateway equipment allows the function items of customization.
Table 2
Optionally, the described network equipment also comprises after loading function items corresponding to described function in the described page:
Described gateway equipment is when the subfunction item determining that the function items that described function is corresponding comprises can be called by other function items, and the relevant information of the subfunction loaded by function items corresponding for described function writes in other function items described.
Optionally, the corresponding relation between the character string information that the function name of the function that each function items is corresponding is corresponding with each function items adopts the form of list.
It is customized to example with the gateway page below, by a specific embodiment, the method for a kind of customized web page that the embodiment of the present invention provides is described in detail.
In the specific embodiment of the invention, the user's network log-in management in customization gateway is the need of loading:
Wherein the page definition of each gateway is as follows:
" menu character string "=> and array (" name "=> " title of menu display ", " link "=> " address of menu and load page php file ", " level "=> " which floor this page is ", " parents "=> " title of father's page ", " func "=> " the need of loading character string "), illustrate below:
" app_ctrl_policy "=> and 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 of menu display is " menu_app_ctrl_policy ", and Chinese name corresponding to this character string is defined as " application controls "; " security.app_ctrl_policy.app_ctrl_policy " represents for this page is the parts=app_ctrl_policy in list_app_ctrl_policy.php file under security folder, so just can find this page; " level "=> " 1 " to represent this page be the 1st layer of page, this value has 1,2,3 etc.; " parents "=> " NULL " represent this page father's page for empty;
" func "=> " module_app_ctrl_policy " be in menu display character string.
In the specific embodiment of the invention, as shown in Figure 2, concrete operation is as follows for page customization process:
Step 201: gateway device start, runs relevant program and carries out initialize etc.
Step 202: at this moment process (the i.e. guish process) initialize of the page and User space interaction data, namely the relevant program code of the page carries out initialize.
Step 203: in program initialize process, runs the function that the function name in table 1 is corresponding. Wherein table 1 is by four member compositions: character string, flag1 function, flag2 function, flag3 function. Return of value according to flag1 function, flag2 function and flag3 function determines whether the character string of correspondence be written in exclude_func.php file. If the return of value of flag1 function is 0, so the character string of its correspondence is write in the mark of exclude_func1 in exclude_func.php file, if the return of value of flag1 function is 1, so skips and do not process. With reason, if the return of value of flag2 function is 0, so the character string of its correspondence is write in the mark of exclude_func2 in exclude_func.php file, if the return of value of flag2 function is 1, so skips and do not process. With reason, if the return of value of flag3 function is 0, so the character string of its correspondence is write in the mark of exclude_func3 in exclude_func.php file, if the return of value of flag3 function is 1, so skips and do not process.
Wherein, flag1 function, flag2 function, flag3 function, these three functions can define identical function name and content according to demand, it is also possible to defines different function names and content. Flag1 function, flag2 function, flag3 function are operationally, it is possible to read the ini file of configuration in described gateway equipment respectively, or read the different files of definition in described gateway equipment respectively.
Step 204: the function of table 1 reads the grand etc. of definition in the item of the inside of custom.ini file (i.e. table 2) in above-described embodiment or the script of program compiler, obtains this page the need of loading.
If the grand of compiling script definition is the UserBehaviorControl=yes defined in MODULE_SECURITY_, custom.ini. Run has_app_ctrl_policy_func function time, if having definition this grand and found in custom.ini file " UserBehaviorControl=yes " character string so this function return of value be 1. " module_app_ctrl_policy " character string does not write in exclude_func.php file, represents and needs to load this page. If do not define this grand or do not find in custom.ini file " UserBehaviorControl=yes " character string so this function return of value be 0. In " module_app_ctrl_policy " character string write exclude_func.php file, represent and do not need to load this page. Wherein the loading of custom.ini file selects custom.ini file according to arranging of unit type, so the content of the custom.ini of different unit types is different. Here unit type is determined by pn and bn. Concrete example is as shown in table 3 below, and the content of custom.ini file is exactly the content inside file corresponding after pn and bn; Wherein pn and bn be device definition batch number, different custom.ini file contents can be defined according to different pn and bn. Wherein in these two files of custom_A_CH.ini and custom_A_CH_M.ini, content is different. According to the different file that different pn and bn chooses, finally its heavy called after custom.ini file.
Step 205: read in exclude_func.php file for the character string comparison in defined menu information in the page of the character string information and gateway that identify described function items, if it is described identical for the character string in defined menu information in the page of the character string information with gateway that identify described function items, so in the page of the man-machine interaction of described gateway equipment, do not load this function items, if it is described different for the menu character string in defined menu information in the page of the character string information from gateway that identify described function items, so in the page of the man-machine interaction of described gateway equipment, load this function items.
Table 3
Step 206: open the page and check that whether the page customized according to demand is correct, namely whether require display page according to the customization of user.
In the present embodiment, User space can also read the content in custom.ini file, carries out function initialize. As read " UserBehaviorControl=yes " this character string inside custom.ini file, so the relevant process of user's network log-in management carries out initialize and runs. As do not read " UserBehaviorControl=yes " this character string inside custom.ini file, so the relevant process of user's network log-in management is closed and is not run. So just make the function of the page and User space load to obtain synchronously.
Based on the invention same with method design, the embodiment of the present invention also provides the device of a kind of customized web page, as shown in Figure 3, comprising:
Definition module 301, for for each customizable function items of described gateway equipment definition is for identifying the character string information of described function items and the function for determining whether to load the function items of user customizable;
Processing module 302, for running function corresponding to each customizable function items described, after determining that the return of value of function is the first set(ting)value for characterizing the information of the function items that function described in undefined permission customization is corresponding in described gateway equipment, character string information in defined menu information in the character string information of function items corresponding for described function and the described page is compared, to determine that the function items that described function is corresponding loads the need of in the page of the man-machine interaction of described gateway equipment; After determining the 2nd set(ting)value that the return of value of function is the information defining function items corresponding to function described in permission customization in described gateway equipment for characterizing, the described page loads function items corresponding to described function.
The device of a kind of customized web page that the embodiment of the present invention provides, first gateway equipment is that each customizable function items definition of described gateway equipment is for identifying the character string information of described function items and the function for determining whether to load the function items of user customizable; Then described gateway equipment runs function corresponding to each customizable function items described, after determining that the return of value of function is the first set(ting)value for characterizing the information of the function items that function described in undefined permission customization is corresponding in described gateway equipment, character string information in defined menu information in the character string information of function items corresponding for described function and the described page is compared, to determine that the function items that described function is corresponding loads the need of in the page of the man-machine interaction of described gateway equipment; Finally, described gateway equipment, after determining the 2nd set(ting)value that the return of value of function is the information defining function items corresponding to function described in permission customization in described gateway equipment for characterizing, loads function items corresponding to described function in the described page. Realize user function to be customized.
Optionally, described processing module specifically for:
If the character string information of the function items that described function is corresponding is identical with the arbitrary character string information for characterizing the function items that described equipment has in defined menu information in the described page, it is determined that do not need to load function items corresponding to described function in the described page;
If the character string information of the function items that described function is corresponding is all different from all character string informations for characterizing the function items that described equipment has in defined menu information in the described page, it is determined that need to load function items corresponding to described function in the described page.
Optionally, described processing module specifically for:
The function that each customizable function items described is corresponding operationally reads in described gateway equipment the grand of definition in the ini file of configuration and/or described gateway equipment; Wherein,
For the function that each customizable function items is corresponding, if described ini file does not comprise the information for representing the function items that function described in permission customization is corresponding, the value then returned after described function operation is described first set(ting)value, if comprising the information for representing the function items that function described in permission customization is corresponding in the ini file configured, then the value returned after described function operation is described 2nd set(ting)value; Or
For the function that each customizable function items is corresponding, can load the grand of function items corresponding to described function if undefined in described gateway equipment for representing, then the value returned after described function operation is described first set(ting)value; Can load the grand of function items corresponding to described function if defining for representing, then the value returned after described function operation is described 2nd set(ting)value; Or
For the function that each customizable function items is corresponding, undefined in the information and described gateway equipment allowing function items that function described in customization is corresponding for representing can load the grand of function items corresponding to described function for representing if not comprising in described ini file, then the value returned after described function operation is described first set(ting)value; If comprising in described ini file to define in the information for representing the function items that function described in permission customization is corresponding and described gateway equipment and can loading the grand of function items corresponding to described function for representing, then the value returned after described function operation is described 2nd set(ting)value.
Optionally, described processing module also for:
When the subfunction item determining that the function items that described function is corresponding comprises can be called by other function items, in relevant information write other function items described of the subfunction that function items corresponding for described function has been loaded.
Optionally, the corresponding relation between the character string information that the function name of the function that each function items is corresponding is corresponding with each function items adopts the form of list.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program. Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect. And, the present invention can adopt the form at one or more upper computer program implemented of computer-usable storage medium (including but not limited to multiple head unit, CD-ROM, optical memory etc.) wherein including computer usable program code.
The present invention is that schema and/or skeleton diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe. Should understand can by the combination of the flow process in each flow process in computer program instructions flowchart and/or skeleton diagram and/or square frame and schema and/or skeleton diagram and/or square frame. These computer program instructions can be provided to the treater of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine so that the instruction performed by the treater of computer or other programmable data processing device is produced for realizing the device of function specified in schema flow process or multiple flow process and/or skeleton diagram square frame or multiple square frame.
These computer program instructions also can be stored in and can guide in computer-readable memory that computer or other programmable data processing device work in a specific way, making the instruction that is stored in this computer-readable memory produce the manufacture comprising instruction device, this instruction device realizes the function specified in schema flow process or multiple flow process and/or skeleton diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform a series of operation steps to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for realizing the step of the function specified in schema flow process or multiple flow process and/or skeleton diagram square frame or multiple square frame.
Although having described the preferred embodiments of the present invention, but those skilled in the art once the substantially creative concept of cicada, then these embodiments can be made other change and amendment. Therefore, it is intended that the appended claims shall be construed comprise preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, the present invention can be carried out various change and modification and not depart from the spirit and scope of the present invention by the technician of this area. Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these change and modification.

Claims (10)

1. the method for a customized web page, it is characterised in that, comprising:
Each customizable function items that gateway equipment is described gateway equipment defines the character string information for identifying described function items and the function for determining whether to load the function items of user customizable;
Described gateway equipment runs function corresponding to each customizable function items described, after determining that the return of value of function is the first set(ting)value for characterizing the information of the function items that function described in undefined permission customization is corresponding in described gateway equipment, character string information in defined menu information in the character string information of function items corresponding for described function and the described page is compared, to determine that the function items that described function is corresponding loads the need of in the page of the man-machine interaction of described gateway equipment;
Described gateway equipment, after determining the 2nd set(ting)value that the return of value of function is the information defining function items corresponding to function described in permission customization in described gateway equipment for characterizing, loads function items corresponding to described function in the described page.
2. method according to claim 1, it is characterized in that, character string information in defined menu information in the character string information of function items corresponding for described function and the described page is compared by described gateway equipment, to determine that the function items that described function is corresponding loads the need of in the page of the man-machine interaction of described gateway equipment, comprising:
If the character string information of the function items that described function is corresponding is identical with the arbitrary character string information for characterizing the function items that described equipment has in defined menu information in the described page, described gateway equipment is determined not need to load function items corresponding to described function in the described page;
If the character string information of the function items that described function is corresponding is all different from all character string informations for characterizing the function items that described equipment has in defined menu information in the described page, described gateway equipment is determined to need to load function items corresponding to described function in the described page.
3. method according to claim 1, it is characterised in that, described gateway equipment runs function corresponding to each customizable function items described, comprising:
The function that each customizable function items described in described gateway Equipments Setting is corresponding operationally reads in described gateway equipment the grand of definition in the ini file of configuration and/or described gateway equipment; Wherein,
For the function that each customizable function items is corresponding, if described ini file does not comprise the information for representing the function items that function described in permission customization is corresponding, the value then returned after described function operation is described first set(ting)value, if comprising the information for representing the function items that function described in permission customization is corresponding in the ini file configured, then the value returned after described function operation is described 2nd set(ting)value; Or
For the function that each customizable function items is corresponding, can load the grand of function items corresponding to described function if undefined in described gateway equipment for representing, then the value returned after described function operation is described first set(ting)value; Can load the grand of function items corresponding to described function if defining for representing, then the value returned after described function operation is described 2nd set(ting)value; Or
For the function that each customizable function items is corresponding, undefined in the information and described gateway equipment allowing function items that function described in customization is corresponding for representing can load the grand of function items corresponding to described function for representing if not comprising in described ini file, then the value returned after described function operation is described first set(ting)value; If comprising in described ini file to define in the information for representing the function items that function described in permission customization is corresponding and described gateway equipment and can loading the grand of function items corresponding to described function for representing, then the value returned after described function operation is described 2nd set(ting)value.
4. method according to the arbitrary item of claims 1 to 3, it is characterised in that, the described network equipment also comprises after loading function items corresponding to described function in the described page:
Described gateway equipment is when the subfunction item determining that the function items that described function is corresponding comprises can be called by other function items, and the relevant information of the subfunction loaded by function items corresponding for described function writes in other function items described.
5. method according to claim 1, it is characterised in that, the corresponding relation between the character string information that the function name of the function that each function items is corresponding is corresponding with each function items adopts the form of list.
6. the device of a customized web page, it is characterised in that, comprising:
Definition module, for for each customizable function items of gateway equipment definition is for identifying the character string information of described function items and the function for determining whether to load the function items of user customizable;
Processing module, for running function corresponding to each customizable function items described, after determining that the return of value of function is the first set(ting)value for characterizing the information of the function items that function described in undefined permission customization is corresponding in described gateway equipment, character string information in defined menu information in the character string information of function items corresponding for described function and the described page is compared, to determine that the function items that described function is corresponding loads the need of in the page of the man-machine interaction of described gateway equipment; After determining the 2nd set(ting)value that the return of value of function is the information defining function items corresponding to function described in permission customization in described gateway equipment for characterizing, the described page loads function items corresponding to described function.
7. device according to claim 6, it is characterised in that, described processing module specifically for:
If the character string information of the function items that described function is corresponding is identical with the arbitrary character string information for characterizing the function items that described equipment has in defined menu information in the described page, it is determined that do not need to load function items corresponding to described function in the described page;
If the character string information of the function items that described function is corresponding is all different from all character string informations for characterizing the function items that described equipment has in defined menu information in the described page, it is determined that need to load function items corresponding to described function in the described page.
8. device according to claim 6, it is characterised in that, described processing module specifically for:
The function that each customizable function items described is corresponding operationally reads in described gateway equipment the grand of definition in the ini file of configuration and/or described gateway equipment; Wherein,
For the function that each customizable function items is corresponding, if described ini file does not comprise the information for representing the function items that function described in permission customization is corresponding, the value then returned after described function operation is described first set(ting)value, if comprising the information for representing the function items that function described in permission customization is corresponding in the ini file configured, then the value returned after described function operation is described 2nd set(ting)value; Or
For the function that each customizable function items is corresponding, can load the grand of function items corresponding to described function if undefined in described gateway equipment for representing, then the value returned after described function operation is described first set(ting)value; Can load the grand of function items corresponding to described function if defining for representing, then the value returned after described function operation is described 2nd set(ting)value; Or
For the function that each customizable function items is corresponding, undefined in the information and described gateway equipment allowing function items that function described in customization is corresponding for representing can load the grand of function items corresponding to described function for representing if not comprising in described ini file, then the value returned after described function operation is described first set(ting)value; If comprising in described ini file to define in the information for representing the function items that function described in permission customization is corresponding and described gateway equipment and can loading the grand of function items corresponding to described function for representing, then the value returned after described function operation is described 2nd set(ting)value.
9. device according to claim 8, it is characterised in that, described processing module also for:
When the subfunction item determining that the function items that described function is corresponding comprises can be called by other function items, in relevant information write other function items described of the subfunction that function items corresponding for described function has been loaded.
10. device according to claim 6, it is characterised in that, the corresponding relation between the character string information that the function name of the function that each function items is corresponding is corresponding with each function items adopts 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 true CN105631005A (en) 2016-06-01
CN105631005B 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
CN105631005B (en) 2018-12-25

Similar Documents

Publication Publication Date Title
US9665841B2 (en) Cross-platform application framework
Paterno et al. One model, many interfaces
EP3188009A1 (en) Development, delivery, deployment and operation of an application
Deitel Java how to program
CN103942078B (en) The method and embedded device of a kind of load driver program
US10592211B2 (en) Generation of application behaviors
US9934007B2 (en) Method for operating tool in working environment and machine using such method
KR20160128940A (en) Method and system of automated generation of user form interface
US20130132868A1 (en) Cross-browser "drag-and-drop" library
Behan et al. Adaptive graphical user interface solution for modern user devices
CN107656729A (en) Updating device, method and the computer-readable recording medium of List View
TW201610713A (en) Identifying and surfacing relevant report artifacts in documents
CN113407186A (en) Control execution method, control execution device, terminal, and readable storage medium
Deitel et al. Java SE 8 for programmers
CN105631005A (en) Page customization method and device
CN113342399A (en) Application structure configuration method and device and readable storage medium
WO2016000635A1 (en) Method for operating tool in working environment and machine using such method
CN113608726A (en) Code generation method and device, electronic equipment and storage medium
CN116679912A (en) Code generation method, apparatus, device, storage medium, and computer program
KR20150097190A (en) A system for providing an application developing environment
KR20150099279A (en) A system for providing an application developing environment
KR20120015717A (en) The method and apparatus for dynamically generating data table
Paliychuk Exploring cross-platform mobile application development
KR20150099029A (en) A system for providing an application developing environment
KR20150099028A (en) A system for providing an application developing environment

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