Method and system for key value extending
Disclosed a key value extending method, which comprises: when a browser is started, storing a key value and its mapping value of a loaded first configuration file for initializing a hash mapping table into the hash mapping table, and storing a loaded second configuration file used to define a plurality of key value definitions of the browser into the browser's memory; when a webpage is opened, logging a key value definition that stored in the key value definitions but not found in the webpage into the webpage; and when received a key request from the webpage, searching a mapping value required by the webpage in the hash mapping table according to the key value included in the key request, and returning the searched mapping value to the webpage. This disclosure also discloses a key value extending system.
SHENZHEN TCL DIGITAL TECHNOLOGY LTD.
G H G G G
G06F H04N G06F G06F G06F
inventional inventional inventional inventional inventional
Jiangjun
Liu