[go: up one dir, main page]

CN102479227B - A method and device for displaying Mongolian information based on controls - Google Patents

A method and device for displaying Mongolian information based on controls Download PDF

Info

Publication number
CN102479227B
CN102479227B CN2010105705227A CN201010570522A CN102479227B CN 102479227 B CN102479227 B CN 102479227B CN 2010105705227 A CN2010105705227 A CN 2010105705227A CN 201010570522 A CN201010570522 A CN 201010570522A CN 102479227 B CN102479227 B CN 102479227B
Authority
CN
China
Prior art keywords
mongolian
display control
information
registered
text display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2010105705227A
Other languages
Chinese (zh)
Other versions
CN102479227A (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.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN2010105705227A priority Critical patent/CN102479227B/en
Publication of CN102479227A publication Critical patent/CN102479227A/en
Application granted granted Critical
Publication of CN102479227B publication Critical patent/CN102479227B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and device for carrying out Mongolian information display on basis of a control, which are used for solving the problem of the prior art that the display speed is slow, when Mongolian information is displayed. The method comprises the following steps: when a Mongolian browser is started at a terminal, judging whether a Mongolian display control is registered according to identification information of registered documents in a registration table; when determining that the Mongolian display control is not registered, registering the Mongolian display control according to locally-saved registration information of the Mongolian display control; and displaying browse information by the Mongolian display control according to the address of the browse information input by a user. According to the embodiment of the invention, the terminal is used for judging whether the Mongolian display control is registered when the Mongolian browser is started by the terminal, and the Mongolian display control is registered when determining the Mongolian display control is not registered so that the user is not promoted to determine whether to register the Mongolian display control, the load of the terminal side is reduced and the display speed of the Mongolian information is improved.

Description

一种基于控件进行蒙文信息显示的方法及装置A method and device for displaying Mongolian information based on controls

技术领域 technical field

本发明涉及文字显示技术领域,尤其涉及一种基于控件进行蒙文信息显示的方法及装置。  The invention relates to the technical field of text display, in particular to a method and device for displaying Mongolian text information based on controls. the

背景技术 Background technique

蒙古族有着悠久的历史和灿烂的文化,可以通过访问蒙文网站了解相应的蒙古族文化。目前在访问蒙文网站时,一般都是通过网页信息对蒙文信息进行显示。具体通过网页信息对蒙文信息进行显示的方法包括:将对蒙文信息进行显示的文本制作为图片,将该图片作为网页元素置入网页进行显示;或者,对蒙文信息进行显示的文本以控件的形式置入网页,以蒙文浏览控件进行蒙文信息的显示。  The Mongolian nationality has a long history and splendid culture. You can learn about the corresponding Mongolian culture by visiting the Mongolian website. At present, when visiting a Mongolian website, the Mongolian information is generally displayed through the web page information. Specifically, the method for displaying Mongolian information through webpage information includes: making the text displaying Mongolian information into a picture, and inserting the picture into a webpage as a webpage element for display; or, displaying the Mongolian information as a text It is placed in the webpage in the form of a control, and the Mongolian information is displayed with the Mongolian browsing control. the

现有技术中,通过将对蒙文信息进行显示的文本制作为图片进行显示的方法,由于图片与文本比较而言,表现相同的蒙文信息,图片包含的字节数要远远大于文本包含的字节数,当在网页上显示该图片信息时,由于该图片包含的字节数较多,占用的带宽资源将会较多,违背了在最小的空间传输最大的信息的原则,从而影响了网页的显示速度。  In the prior art, by making the text displaying the Mongolian information as a picture and displaying it, since the picture and the text show the same Mongolian information, the number of bytes contained in the picture is much larger than that contained in the text. When the picture information is displayed on the web page, because the picture contains more bytes, it will occupy more bandwidth resources, which violates the principle of transmitting the largest information in the smallest space, thus affecting The display speed of the web page. the

而通过蒙文浏览控件显示蒙文信息时,当用户打开网页在页面加载时,服务器会向用户发送是否安装蒙文显示控件的提示信息,由于该提示信息的加载从而影响了页面加载的速度。另外当用户对本地保存的蒙文信息进行显示时,由于现有技术中未对本地资源进行统一的管理,因此每打开一个页面都要提示用户是否安装蒙文浏览控件,增加了终端侧的负担,并且同时也影响了对本地资源显示的速度。  When the Mongolian text information is displayed through the Mongolian text browsing control, when the user opens the webpage and the page loads, the server will send a prompt message to the user whether to install the Mongolian text display control, because the loading of the prompt information affects the speed of page loading. In addition, when the user displays the Mongolian information stored locally, since the local resources are not managed uniformly in the prior art, the user must be prompted whether to install the Mongolian browsing control every time a page is opened, which increases the burden on the terminal side , and also affects the speed of displaying local resources. the

发明内容 Contents of the invention

有鉴于此,本发明实施例提供一种基于控件进行蒙文信息显示的方法及装置,用以解决现有技术对蒙文信息进行显示时,显示速度慢的问题。  In view of this, the embodiments of the present invention provide a method and device for displaying Mongolian information based on controls, so as to solve the problem of slow display speed when displaying Mongolian information in the prior art. the

本发明实施例提供的一种基于控件进行蒙文信息显示的方法,包括:  A method for displaying Mongolian information based on a control provided in an embodiment of the present invention includes:

启动蒙文浏览器;  Start the Mongolian browser;

根据注册表中已注册文件的标识信息,判断蒙文显示控件是否已注册;  According to the identification information of the registered file in the registry, determine whether the Mongolian display control has been registered;

当检测到蒙文显示控件未注册时,根据本地保存的蒙文显示控件的注册信息,对该蒙文显示控件进行注册;  When it is detected that the Mongolian text display control is not registered, register the Mongolian text display control according to the registration information of the locally saved Mongolian text display control;

根据注册的所述蒙文显示控件的标识信息,及保存的所述蒙文显示控件的标识信息与所述蒙文显示控件的执行文件的路径的对应关系,查找所述执行文件的路径;  Find the path of the execution file according to the registered identification information of the Mongolian text display control and the corresponding relationship between the stored identification information of the Mongolian text display control and the path of the execution file of the Mongolian text display control;

根据查找的所述蒙文显示控件的执行文件的路径,查找所述蒙文显示控件的执行文件;  Find the execution file of the Mongolian display control according to the path of the execution file of the Mongolian display control;

采用查找到的所述蒙文显示控件的执行文件创建所述蒙文显示控件;  Create the Mongolian display control by using the found execution file of the Mongolian display control;

根据用户输入的浏览信息的地址,采用创建的所述蒙文显示控件对所述浏览信息进行显示,并通过hook方法拦截所述浏览信息中携带的显示控件的运行,其中,所述浏览信息中携带的显示控件的运行包括:未注册的显示控件的注册,已注册的过期的显示控件的重新注册,以及已注册的显示控件的创建。  According to the address of the browsing information input by the user, the created Mongolian text display control is used to display the browsing information, and the operation of the display control carried in the browsing information is intercepted by a hook method, wherein, in the browsing information The operation of the carried indicators includes: registration of unregistered indicators, re-registration of registered indicators that have expired, and creation of registered indicators. the

本发明实施例提供的一种基于控件进行蒙文信息显示的装置,包括:  A control-based device for displaying Mongolian text information provided by an embodiment of the present invention includes:

启动模块,用于启动蒙文浏览器;  The startup module is used to start the Mongolian browser;

判断模块,用于根据注册表中已注册文件的标识信息,判断蒙文显示控件是否已注册;  Judgment module, used for judging whether the Mongolian display control has been registered according to the identification information of the registered file in the registry;

注册模块,用于当检测到所述蒙文显示控件未注册时,根据本地保存的所述蒙文显示控件的注册信息,对所述蒙文显示控件进行注册;  A registration module, configured to register the Mongolian display control according to the locally saved registration information of the Mongolian display control when it is detected that the Mongolian display control is not registered;

创建模块,用于根据注册的所述蒙文显示控件的标识信息,及保存的所述蒙文显示控件的标识信息与所述蒙文显示控件的执行文件的路径的对应关系, 查找所述执行文件的路径,根据查找的所述蒙文显示控件的执行文件的路径,查找所述蒙文显示控件的执行文件,采用查找到的所述蒙文显示控件的执行文件创建所述蒙文显示控件;  Create a module for finding the execution according to the registered identification information of the Mongolian text display control and the corresponding relationship between the saved identification information of the Mongolian text display control and the path of the execution file of the Mongolian text display control The path of the file, according to the path of the execution file of the Mongolian text display control found, the execution file of the Mongolian text display control is searched, and the Mongolian text display control is created by using the execution file of the Mongolian text display control found ;

显示模块,用于根据用户输入的浏览信息的地址,采用创建的所述蒙文显示控件对所述浏览信息进行显示,并通过hook方法拦截所述浏览信息中携带的显示控件的运行,其中,所述浏览信息中携带的显示控件的运行包括:未注册的显示控件的注册,已注册的过期的显示控件的重新注册,以及已注册的显示控件的创建。  The display module is used to display the browsing information by using the created Mongolian display control according to the address of the browsing information input by the user, and intercept the operation of the display control carried in the browsing information through a hook method, wherein, The operation of the display controls carried in the browsing information includes: registration of unregistered display controls, re-registration of registered and expired display controls, and creation of registered display controls. the

本发明实施例提供一种基于控件进行蒙文信息显示的方法及装置,该方法终端在启动蒙文浏览器时,根据注册表中已注册文件的标识信息,判断蒙文显示控件是否已注册,当确定未注册时,根据本地保存的蒙文显示控件的注册信息,注册该蒙文显示控件,并根据用户输入的浏览信息的地址,用该蒙文显示控件对该浏览信息进行显示。由于本发明实施例中终端在启动蒙文浏览器时自动判断该蒙文显示控件是否已注册,当确定未注册时,注册该蒙文显示控件,从而不需要提示用户是否注册该蒙文显示控件,减小了终端侧的负担,提高了显示蒙文信息的速度。  Embodiments of the present invention provide a method and device for displaying Mongolian text information based on controls. In this method, when starting the Mongolian text browser, the terminal judges whether the Mongolian text display control has been registered according to the identification information of the registered file in the registry. When it is determined that it is not registered, register the Mongolian text display control according to the registration information of the locally saved Mongolian text display control, and use the Mongolian text display control to display the browsing information according to the address of the browsing information input by the user. Since the terminal automatically judges whether the Mongolian display control is registered when starting the Mongolian browser in the embodiment of the present invention, when it is determined that it is not registered, the Mongolian display control is registered, so that there is no need to prompt the user whether to register the Mongolian display control , reducing the burden on the terminal side and improving the speed of displaying Mongolian information. the

附图说明Description of drawings

图1为本发明实施例提供的基于控件进行蒙文信息显示的过程;  Fig. 1 is the process of carrying out Mongolian information display based on controls provided by the embodiment of the present invention;

图2为本发明实施例提供的基于控件进行蒙文信息显示的详细过程;  Fig. 2 is the detailed process of displaying Mongolian information based on controls provided by the embodiment of the present invention;

图3为本发明实施例提供的基于控件进行蒙文信息显示的装置。  Fig. 3 is a device for displaying Mongolian text information based on controls provided by an embodiment of the present invention. the

具体实施方式Detailed ways

本发明实施例提供一种基于控件进行蒙文信息显示的方法及装置,该方法终端在启动浏览器时,根据注册表中已注册文件的标识信息,判断蒙文显示控件是否已注册,当确定未注册时,根据本地保存的蒙文显示控件的注册信息, 注册该蒙文显示控件,并根据用户输入的浏览信息的地址,用该蒙文显示控件对该浏览信息进行显示。由于本发明实施例中终端在启动浏览器时自动判断该蒙文显示控件是否已注册,当确定未注册时,注册该蒙文显示控件,从而不需要提示用户是否注册该蒙文显示控件,减小了终端侧的负担,提高了显示蒙文信息的速度。  Embodiments of the present invention provide a method and device for displaying Mongolian text information based on a control. When the terminal starts the browser, it judges whether the Mongolian text display control has been registered according to the identification information of the registered file in the registry. When not registered, register the Mongolian display control according to the registration information of the Mongolian display control saved locally, and use the Mongolian display control to display the browsing information according to the address of the browsing information input by the user. Since the terminal in the embodiment of the present invention automatically judges whether the Mongolian text display control is registered when starting the browser, when it is determined that it is not registered, the Mongolian text display control is registered, so that there is no need to prompt the user whether to register the Mongolian text display control, reducing The burden on the terminal side is reduced, and the speed of displaying Mongolian information is improved. the

下面结合说明书附图,对本发明实施里进行详细描述。  The implementation of the present invention will be described in detail below in conjunction with the accompanying drawings. the

图1为本发明实施例提供的基于控件进行蒙文信息显示的过程,具体包括以下步骤:  Fig. 1 is the process of carrying out Mongolian information display based on controls provided by the embodiment of the present invention, specifically comprising the following steps:

S101:启动蒙文浏览器。  S101: Start the Mongolian browser. the

在本发明实施例中,当用户使用终端浏览包含蒙文信息的浏览信息时,首先要启动蒙文浏览器,使用该蒙文浏览器浏览包含蒙文信息的浏览信息。  In the embodiment of the present invention, when a user uses a terminal to browse browsing information containing Mongolian information, the Mongolian browser must first be started, and the Mongolian browser is used to browse browsing information containing Mongolian information. the

S102:根据注册表已注册文件的标识信息,判断蒙文显示控件是否已注册,若未注册,则进行步骤S103,若已注册,则进行步骤S104。  S102: According to the identification information of the registered file in the registry, judge whether the Mongolian text display control has been registered, if not registered, go to step S103, if registered, go to step S104. the

在本发明实施例中,必须使用已注册的蒙文显示控件来显示蒙文信息,该蒙文显示控件的安装文件保存在本地,但该终端可能没有注册该蒙文显示控件,即可能没有安装该蒙文显示控件,因此该终端先判断该蒙文显示控件是否已注册,即判断该蒙文显示控件是否已安装。  In the embodiment of the present invention, the registered Mongolian display control must be used to display Mongolian information, and the installation file of the Mongolian display control is saved locally, but the terminal may not register the Mongolian display control, that is, it may not be installed. The Mongolian display control, so the terminal first judges whether the Mongolian display control has been registered, that is, determines whether the Mongolian display control has been installed. the

该终端可以根据注册表中已注册文件的标识信息,和该蒙文显示控件的标识信息,在该注册表中已注册文件的标识信息中查找该蒙文显示控件的标识信息,判断该注册表中已注册文件的标识信息是否包含该蒙文显示控件的标识信息,即判断该蒙文显示控件是否已注册。其中,该蒙文显示控件的标识信息可以是该蒙文显示控件的序列号(IDentity,ID),或其他可以标识该蒙文显示控件的标识信息。  According to the identification information of the registered file in the registry and the identification information of the Mongolian display control, the terminal can search for the identification information of the Mongolian display control in the identification information of the registered file in the registry, and judge the registry Whether the identification information of the registered file in contains the identification information of the Mongolian text display control is to determine whether the Mongolian text display control has been registered. Wherein, the identification information of the Mongolian text display control may be a serial number (IDentity, ID) of the Mongolian text display control, or other identification information that can identify the Mongolian text display control. the

S103:根据本地保存的蒙文显示控件的注册信息,对该蒙文显示控件进行注册。  S103: Register the Mongolian display control according to the locally saved registration information of the Mongolian display control. the

当检测到该蒙文显示控件未注册时,即当确定该终端没有安装该蒙文显示 控件时,根据本地保存的该蒙文显示控件的注册信息,注册该蒙文显示控件,即根据本地保存的该蒙文显示控件的安装文件,安装该蒙文显示控件。  When it is detected that the Mongolian text display control is not registered, that is, when it is determined that the terminal is not installed with the Mongolian text display control, register the Mongolian text display control according to the registration information of the locally saved Mongolian text display control, that is, according to the locally saved Install the Mongolian display control from the installation file of the Mongolian display control. the

S104:根据用户输入的浏览信息的地址,采用注册的蒙文显示控件对该浏览信息进行显示。  S104: According to the address of the browsing information input by the user, display the browsing information by using the registered Mongolian display control. the

当检测到该蒙文显示控件已注册时,即当确定该终端已经安装了该蒙文显示控件时,或当根据本地保存的蒙文显示控件的注册信息,对该蒙文显示控件进行注册完毕后,即当上述步骤S103进行完毕后,根据用户输入的浏览信息的地址,选择注册的该蒙文显示控件对该浏览信息进行显示。其中,该浏览信息可以是本地资源的浏览信息,也可以是网站信息。  When it is detected that the Mongolian display control has been registered, that is, when it is determined that the terminal has installed the Mongolian display control, or when the Mongolian display control is registered according to the registration information of the locally saved Mongolian display control Then, that is, after the above step S103 is completed, the registered Mongolian display control is selected to display the browsing information according to the address of the browsing information input by the user. Wherein, the browsing information may be browsing information of local resources, or website information. the

在上述过程中,终端在启动蒙文浏览器时,根据注册表中已注册文件的标识信息,判断蒙文显示控件是否已注册,当确定未注册时,根据本地保存的蒙文显示控件的注册信息,注册该蒙文显示控件,并根据用户输入的浏览信息的地址,用该蒙文显示控件对该浏览信息进行显示。由于本发明实施例中终端在启动蒙文浏览器时自动判断该蒙文显示控件是否已注册,即判断该终端是否已安装该蒙文显示控件,当确定未注册时,注册该蒙文显示控件,从而不需要提示用户是否注册该蒙文显示控件,减小了终端侧的负担,提高了显示蒙文信息的速度。  In the above process, when the terminal starts the Mongolian browser, it judges whether the Mongolian display control has been registered according to the identification information of the registered file in the registry. information, register the Mongolian text display control, and use the Mongolian text display control to display the browsing information according to the address of the browsing information input by the user. Since the terminal automatically judges whether the Mongolian display control has been registered when starting the Mongolian browser in the embodiment of the present invention, that is, judges whether the terminal has installed the Mongolian display control, when it is determined that it is not registered, register the Mongolian display control , so that there is no need to prompt the user whether to register the Mongolian text display control, which reduces the burden on the terminal side and improves the speed of displaying Mongolian text information. the

在本发明实施例中,当检测到该蒙文显示控件未注册时,根据该蒙文显示控件的注册信息注册该蒙文显示控件,并且终端注册了该蒙文显示控件后,即该终端已经安装了该蒙文显示控件后,保存该蒙文显示控件的标识信息与该蒙文显示控件的执行文件的路径的对应关系。采用注册的该蒙文显示控件对浏览信息进行显示之前,还要采用该蒙文显示控件的执行文件创建该蒙文显示控件,即激活该蒙文显示控件,具体方法为,根据注册的蒙文显示控件的标识信息,及保存的所述蒙文显示控件的标识信息与所述蒙文显示控件的执行文件的路径的对应关系,查找该执行文件的路径,根据查找的该蒙文显示控件的执行文件的路径,查找该蒙文显示控件的执行文件,采用查找到的该蒙文显示控件 的执行文件创建该蒙文显示控件。  In the embodiment of the present invention, when it is detected that the Mongolian text display control is not registered, the Mongolian text display control is registered according to the registration information of the Mongolian text display control, and after the terminal registers the Mongolian text display control, that is, the terminal has After the Mongolian text display control is installed, the corresponding relationship between the identification information of the Mongolian text display control and the path of the execution file of the Mongolian text display control is saved. Before using the registered Mongolian text display control to display browsing information, the Mongolian text display control must be created using the execution file of the Mongolian text display control, that is, the Mongolian text display control should be activated. The specific method is, according to the registered Mongolian text The identification information of the display control, and the corresponding relationship between the identification information of the stored Mongolian display control and the path of the execution file of the Mongolian display control, find the path of the execution file, and according to the searched Mongolian display control. The path of the execution file, find the execution file of the Mongolian display control, and use the found execution file of the Mongolian display control to create the Mongolian display control. the

并且,当用户浏览的浏览信息中包含蒙文信息时,该浏览信息自身携带原来的显示控件,因此当用户浏览该浏览信息时,该浏览信息还是会向该用户发送提醒信息,提示该用户注册该显示控件,从而也会降低对蒙文信息的显示速度。另外,若用户已经注册了该浏览信息自身携带的原来的显示控件,并且该原来的显示控件已经过期时,当用户浏览该浏览信息时,该浏览信息也会向用户发送提醒信息,提示该用户重新注册该原来的显示控件,从而也会降低对蒙文信息的显示速度。为了进一步提高显示蒙文信息的速度,在采用注册的该蒙文显示控件对浏览信息进行显示时,该终端需要拦截该浏览信息中携带的该显示控件的注册,使该蒙文浏览器只使用注册的该蒙文显示控件对该浏览信息进行显示,具体方法为,通过hook方法拦截该浏览信息中携带的显示控件的注册,采用创建的该蒙文显示控件对该浏览信息进行显示。  Moreover, when the browsing information browsed by the user contains Mongolian information, the browsing information itself carries the original display control, so when the user browses the browsing information, the browsing information will still send a reminder message to the user, prompting the user to register This display control will also reduce the display speed of Mongolian information. In addition, if the user has registered the original display control carried by the browsing information itself, and the original display control has expired, when the user browses the browsing information, the browsing information will also send a reminder message to the user, reminding the user Re-registering the original display control will also reduce the display speed of Mongolian information. In order to further increase the speed of displaying Mongolian information, when using the registered Mongolian display control to display browsing information, the terminal needs to intercept the registration of the display control carried in the browsing information, so that the Mongolian browser only uses The registered Mongolian display control displays the browsing information. The specific method is to intercept the registration of the display control carried in the browsing information through a hook method, and use the created Mongolian display control to display the browsing information. the

在本发明实施例中,如果用户已经注册了该包含蒙文信息的浏览信息中自身携带的原来的显示控件,并且该原来的显示控件未过期,则当用户浏览该浏览信息时,终端在创建该蒙文显示控件,并采用创建的该蒙文显示控件显示蒙文信息时,仍然会根据注册的该原来的显示控件,创建该原来的显示控件,并同时采用该原来的显示控件显示蒙文信息,此时可能会造成该蒙文显示控件与该原来的显示控件的冲突,导致终端不能正常显示蒙文信息。因此,为了避免该蒙文显示控件与该原来的显示控件的冲突,使终端正常显示蒙文信息,该终端还可以通过hook方法拦截该浏览信息中携带的显示控件的创建,只创建该蒙文显示控件。其中,通过hook方法拦截该浏览信息中携带的显示控件的创建的过程具体为,用hook技术采用系统中的urlmon.dll库的GoGetClassObjectFromURL方法,拦截该浏览信息中携带的显示控件的创建。当然,也可以采用其他能够拦截该浏览信息自身携带的原始显示控件的创建的方法,对该显示控件的创建进行拦截。  In the embodiment of the present invention, if the user has registered the original display control carried in the browsing information containing Mongolian information, and the original display control has not expired, when the user browses the browsing information, the terminal will create a When the Mongolian text display control is used to display Mongolian text information, the original display control will still be created according to the registered original display control, and the original display control will be used to display Mongolian text at the same time At this time, the Mongolian display control may conflict with the original display control, and the terminal cannot display Mongolian information normally. Therefore, in order to avoid the conflict between the Mongolian text display control and the original display control, and make the terminal display Mongolian text information normally, the terminal can also intercept the creation of the display control carried in the browsing information through the hook method, and only create the Mongolian text display control. Show controls. Wherein, the process of intercepting the creation of the display control carried in the browsing information through the hook method is specifically, using the hook technology to intercept the creation of the display control carried in the browsing information by using the GoGetClassObjectFromURL method of the urlmon.dll library in the system. Of course, other methods capable of intercepting the creation of the original display control carried by the browsing information itself may also be used to intercept the creation of the display control. the

即,在本发明实施例中,通过hook方法拦截浏览信息中携带的显示控件 的运行,并采用创建的蒙文显示控件对该浏览信息进行显示,其中,该浏览信息汇总携带的显示控件的运行包括:未注册的显示控件的注册,已注册的过期的显示控件的重新注册,以及已注册的显示控件的创建。  That is, in the embodiment of the present invention, the operation of the display control carried in the browsing information is intercepted by the hook method, and the browsing information is displayed by using the created Mongolian display control, wherein the browsing information summarizes the operation of the display control carried Including: registration of unregistered indicators, re-registration of registered indicators that have expired, and creation of registered indicators. the

在本发明实施例中,当检测到该蒙文显示控件已注册时,该终端采用该蒙文显示控件的执行文件创建该蒙文显示控件,并通过hook方法拦截该浏览信息中携带的显示控件的注册,采用创建的该蒙文显示控件对该浏览信息进行显示的过程,与上述当检测到该蒙文显示控件未注册时,根据该蒙文显示控件的注册信息注册该蒙文显示控件后,采用该蒙文显示控件的执行文件创建该蒙文显示控件,并通过hook方法拦截该浏览信息中携带的显示控件的注册,采用创建的该蒙文显示控件对该浏览信息进行显示的过程基本相同,这里就不再一一赘述。  In the embodiment of the present invention, when it is detected that the Mongolian text display control has been registered, the terminal uses the execution file of the Mongolian text display control to create the Mongolian text display control, and intercepts the display control carried in the browsing information through the hook method registration, using the created Mongolian text display control to display the browsing information, and when the Mongolian text display control is detected to be unregistered, after registering the Mongolian text display control according to the registration information of the Mongolian text display control , use the execution file of the Mongolian display control to create the Mongolian display control, and intercept the registration of the display control carried in the browsing information through the hook method, and use the created Mongolian display control to display the browsing information. The same, so I won't repeat them one by one here. the

在本发明实施例中,由于终端需要采用创建的该蒙文显示控件对蒙文信息进行显示,如果该蒙文显示控件已注册,则该终端可以根据该蒙文显示控件的标识信息查找到该蒙文显示控件的执行文件,从而采用该执行文件创建该蒙文显示控件;如果该蒙文显示控件未注册,则该终端不能根据该蒙文显示控件的标识信息查找到该蒙文显示控件的执行文件,从而不能创建该蒙文显示控件。因此判断该蒙文显示控件是否已注册的方法还可以为,直接采用该蒙文显示控件的执行文件创建该蒙文显示控件,若创建成功,则确定该蒙文显示控件已注册,否则确定该蒙文显示控件未注册。  In the embodiment of the present invention, since the terminal needs to use the created Mongolian text display control to display Mongolian information, if the Mongolian text display control has been registered, the terminal can find the Mongolian text display control according to the identification information of the Mongolian text display control. The execution file of the Mongolian text display control, so as to use the execution file to create the Mongolian text display control; if the Mongolian text display control is not registered, the terminal cannot find the Mongolian text display control according to the identification information of the Mongolian text display control. Execute the file so that the Mongolian indicator cannot be created. Therefore, the method for judging whether the Mongolian display control has been registered can also be to directly use the execution file of the Mongolian display control to create the Mongolian display control. If the creation is successful, then determine that the Mongolian display control has been registered, otherwise determine that the Mongolian display control is not registered. the

在本发明实施例中,用户可以通过该蒙文浏览器浏览本地资源,还可以浏览网站信息。当用户输入浏览信息的地址时,根据用户输入的该浏览信息的地址,判断该蒙文浏览器浏览的浏览信息是否为本地资源,当该终端确定该蒙文浏览器浏览本地资源时,加载本地资源库中的网页首页信息,采用创建的蒙文显示控件对加载的该本地资源库中的网页首页信息进行显示,当确定该蒙文浏览器浏览网站信息时,则加载网站首页信息,采用创建的蒙文显示控件对加载的网站首页信息进行显示。  In the embodiment of the present invention, the user can browse local resources and website information through the Mongolian browser. When the user inputs the address of the browsing information, according to the address of the browsing information input by the user, it is judged whether the browsing information browsed by the Mongolian browser is a local resource, and when the terminal determines that the Mongolian browser browses the local resource, load the local The homepage information of the webpage in the resource library is displayed by the created Mongolian display control on the homepage information of the loaded webpage in the local resource library. The Mongolian display control displays the loaded website home page information. the

在本发明实施例中,为了使用户能够方便的浏览蒙文信息,提高用户的体验,该终端通过多文档框架实现该浏览信息的跳转。采用多文档框架实现该浏览信息的跳转时,该多文档框架的方法具体为,该蒙文浏览器窗口中包含子窗口,用设定的子窗口显示网页,当浏览的浏览信息包括两页或多页包含蒙文信息的网页,用户可以通过点击该蒙文浏览器中的“上一页”或“下一页”按钮,浏览当前网页的上一页网页或下一页网页,此时基于已经打开的浏览器窗口,将该浏览器窗口中的子窗口显示的网页根据用户点击的“上一页”或“下一页”按钮,跳转到当前网页的上一页网页或下一页网页,而不需要打开新的浏览器窗口显示该上一页网页或下一页网页。当用户在浏览的包含蒙文信息的网页中点击页面的超链接时,基于已经打开的浏览器窗口,将该浏览器窗口中的子窗口显示的网页根据用户点击的超链接,跳转到该超链接的网页,而不需要打开新的浏览器窗口显示该超链接的网页。  In the embodiment of the present invention, in order to enable users to browse Mongolian information conveniently and improve user experience, the terminal realizes the jumping of the browsing information through a multi-document framework. When the multi-document frame is used to realize the jump of the browsing information, the method of the multi-document frame is as follows: the Mongolian browser window contains sub-windows, and the set sub-windows are used to display the webpage; when the browsing information to be browsed includes two pages or multiple pages containing Mongolian information, the user can click the "Previous" or "Next" button in the Mongolian browser to browse the previous or next page of the current webpage, at this time Based on the browser window that has been opened, the webpage displayed in the sub-window of the browser window will jump to the previous or next page of the current webpage according to the "previous page" or "next page" button clicked by the user page without opening a new browser window to display the previous or next page. When the user clicks the hyperlink of the page in the webpage that contains Mongolian information, based on the browser window that has been opened, the webpage displayed in the sub-window in the browser window will jump to the hyperlink according to the hyperlink clicked by the user. A hyperlinked web page without opening a new browser window to display the hyperlinked web page. the

在本发明实施例中,该终端可能没有安装蒙文字体信息,导致不能正常显示蒙文信息,因此在采用注册的蒙文显示控件对该浏览信息进行显示之前,安装本地资源库中保存的蒙文字体信息。其中,该安装本地资源库中保存的蒙文字体信息的过程,可以在采用注册的蒙文显示控件对该浏览信息进行显示之前的任何时刻进行,例如可以在对该蒙文显示控件进行注册的过程中进行该蒙文字体信息的安装。当然,该终端还可以根据在线的该蒙文字体信息的更新信息,下载更新后的蒙文字体信息并进行安装,使该蒙文浏览器能够显示多种字体的蒙文信息。  In the embodiment of the present invention, the terminal may not have Mongolian font information installed, resulting in failure to display Mongolian information normally. Therefore, before using the registered Mongolian display control to display the browsing information, install the Mongolian font saved in the local resource library. Text font information. Wherein, the process of installing the Mongolian font information saved in the local resource library can be performed at any time before the browsing information is displayed by using the registered Mongolian display control, for example, it can be performed at the registered Mongolian display control The installation of the Mongolian font information is carried out during the process. Of course, the terminal can also download and install the updated Mongolian font information according to the online update information of the Mongolian font information, so that the Mongolian browser can display Mongolian information in multiple fonts. the

图2为本发明实施例提供的基于控件进行蒙文信息显示的详细过程,具体包括以下步骤:  Fig. 2 is the detailed process of displaying Mongolian information based on controls provided by the embodiment of the present invention, specifically comprising the following steps:

S201:启动蒙文浏览器。  S201: Start the Mongolian browser. the

在本发明实施例中,当用户使用终端浏览包含蒙文信息的浏览信息时,首先要启动该蒙文浏览器,使用该蒙文浏览器浏览包含蒙文信息的浏览信息。  In the embodiment of the present invention, when a user uses a terminal to browse browsing information containing Mongolian information, the Mongolian browser must first be started, and the Mongolian browser is used to browse browsing information containing Mongolian information. the

S202:根据注册表已注册文件的标识信息,判断蒙文显示控件是否已注册, 若未注册,则进行步骤S203,若已注册,则进行步骤S205。  S202: According to the identification information of the registered file in the registry, judge whether the Mongolian display control has been registered, if not registered, proceed to step S203, and if registered, proceed to step S205. the

在本发明实施例中,必须使用已注册的蒙文显示控件来显示蒙文信息,该蒙文显示控件保存在本地,但该终端可能没有注册该蒙文显示控件,即可能没有安装该蒙文显示控件,因此该终端先判断该蒙文显示控件是否已注册,即判断该蒙文显示控件是否已安装。  In the embodiment of the present invention, the registered Mongolian text display control must be used to display Mongolian text information. The Mongolian text display control is stored locally, but the terminal may not have registered the Mongolian text display control, that is, the Mongolian text display control may not be installed. Therefore, the terminal first judges whether the Mongolian text display control has been registered, that is, judges whether the Mongolian text display control has been installed. the

S203:根据本地保存的蒙文显示控件的注册信息,对该蒙文显示控件进行注册。  S203: Register the Mongolian display control according to the locally saved registration information of the Mongolian display control. the

当检测到该蒙文显示控件未注册时,即当确定该终端没有安装该蒙文显示控件时,根据本地保存的该蒙文显示控件的注册信息,注册该蒙文显示控件。  When it is detected that the Mongolian display control is not registered, that is, when it is determined that the terminal is not installed with the Mongolian display control, the Mongolian display control is registered according to the locally saved registration information of the Mongolian display control. the

S204:安装本地资源库中保存的蒙文字体信息。  S204: Install the Mongolian font information stored in the local resource library. the

在本发明实施例中,为了保证该浏览器能够正常显示蒙文信息,还要安装该蒙文字体信息,其中,该安装本地资源库中保存的蒙文字体信息的过程,可以在采用注册的蒙文显示控件对该浏览信息进行显示之前的任何时刻进行。  In the embodiment of the present invention, in order to ensure that the browser can normally display the Mongolian text information, the Mongolian text font information must be installed, wherein, the process of installing the Mongolian text font information stored in the local resource library can be performed using the registered The Mongolian text display control is executed at any time before the browsing information is displayed. the

S205:根据注册的该蒙文显示控件的标识信息,及保存的所述蒙文显示控件的标识信息与所述蒙文显示控件的执行文件的路径的对应关系,查找该执行文件的路径,根据查找的该蒙文显示控件的执行文件的路径,查找该蒙文显示控件的执行文件,采用查找到的该蒙文显示控件的执行文件创建该蒙文显示控件。  S205: Find the path of the execution file according to the registered identification information of the Mongolian text display control, and the saved correspondence between the identification information of the Mongolian text display control and the path of the execution file of the Mongolian text display control, according to Find the path of the execution file of the Mongolian display control, search for the execution file of the Mongolian display control, and use the found execution file of the Mongolian display control to create the Mongolian display control. the

当检测到该蒙文显示控件已注册时,或当检测到该蒙文显示控件未注册,该终端根据保存的该蒙文显示控件的注册信息注册了该蒙文显示控件时,该终端根据该蒙文显示控件的标识信息,查找该蒙文显示控件的执行文件的路径,其中该终端在注册该蒙文显示控件后,保存该蒙文显示控件的标识信息与该蒙文显示控件的执行文件的路径的对应关系,根据查找到的该执行文件的路径,查找该执行文件,并采用该执行文件创建该蒙文显示控件。  When it is detected that the Mongolian text display control has been registered, or when it is detected that the Mongolian text display control is not registered, and the terminal registers the Mongolian text display control according to the saved registration information of the Mongolian text display control, the terminal registers the Mongolian text display control according to the The identification information of the Mongolian display control, and find the path of the execution file of the Mongolian display control. After the terminal registers the Mongolian display control, it saves the identification information of the Mongolian display control and the execution file of the Mongolian display control. According to the corresponding relationship of the path of the execution file, the execution file is searched according to the found path of the execution file, and the Mongolian text display control is created by using the execution file. the

S206:根据用户输入的浏览信息的地址,判断该蒙文浏览器浏览的浏览信息是否为本地资源,若是,则进行步骤S207,否则进行步骤S208。  S206: According to the address of the browsing information input by the user, judge whether the browsing information browsed by the Mongolian browser is a local resource, if yes, go to step S207, otherwise go to step S208. the

在本发明实施例中,由于该浏览信息可以是本地资源库中的网页首页信息,也可以是网站首页信息,因此先根据用户输入的浏览信息的地址,判断该蒙文浏览器浏览的浏览信息是否为本地资源。  In the embodiment of the present invention, since the browsing information can be the homepage information of the webpage in the local resource library, it can also be the homepage information of the website, so first judge the browsing information browsed by the Mongolian browser according to the address of the browsing information input by the user Whether it is a local resource. the

S207:加载本地资源库中的网页首页信息,通过hook方法拦截加载的该本地资源库中的网页首页信息中携带的显示控件的运行,采用创建的蒙文显示控件对加载的该本地资源库中的网页首页信息进行显示,并采用多文档框架实现该浏览信息的跳转。  S207: Load the homepage information of the webpage in the local resource library, intercept the operation of the display control carried in the homepage information of the loaded webpage in the local resource library through the hook method, and use the created Mongolian display control to control the loaded local resource library The information on the home page of the website is displayed, and the browsing information is redirected by using a multi-document framework. the

当该终端确定该蒙文浏览器浏览本地资源时,加载本地资源库中的网页首页信息,并且为了进一步提高显示蒙文信息的速度,该终端采用hook方法拦截该本地资源库中的网页首页信息中携带的显示控件的运行,并采用创建的蒙文显示控件对加载的该本地资源库中的网页首页信息进行显示。同时,为了使用户能够方便的浏览蒙文信息,在显示该浏览信息时,采用多文档框架实现该浏览信息的跳转。  When the terminal determines that the Mongolian browser browses local resources, it loads the home page information in the local resource library, and in order to further increase the speed of displaying Mongolian information, the terminal uses the hook method to intercept the home page information in the local resource library The operation of the display control carried in the website, and the created Mongolian display control is used to display the homepage information of the loaded web page in the local resource library. At the same time, in order to enable users to browse Mongolian information conveniently, when displaying the browsing information, a multi-document frame is used to realize the jumping of the browsing information. the

S208:加载网站首页信息,通过hook方法拦截加载的网站首页信息中携带的显示控件的运行,采用创建的蒙文显示控件对加载的网站首页信息进行显示,并采用多文档框架实现该浏览信息的跳转。  S208: Load the homepage information of the website, intercept the operation of the display control carried in the loaded website homepage information through the hook method, use the created Mongolian display control to display the loaded website homepage information, and use the multi-document framework to realize the browsing information jump. the

当确定该蒙文浏览器浏览网站信息时,加载网站首页信息,并且为了进一步提高显示蒙文信息的速度,该终端采用hook方法截加载的网站首页信息中携带的显示控件的运行,并采用创建的蒙文显示控件对加载的网站首页信息进行显示。同时,为了使用户能够方便的浏览蒙文信息,在显示该浏览信息时,采用多文档框架实现该浏览信息的跳转。  When it is determined that the Mongolian browser browses website information, it loads the homepage information of the website, and in order to further increase the speed of displaying Mongolian information, the terminal adopts the hook method to intercept the operation of the display control carried in the loaded website homepage information, and adopts the method of creating The Mongolian display control displays the loaded website home page information. At the same time, in order to enable users to browse Mongolian information conveniently, when displaying the browsing information, a multi-document frame is used to realize the jumping of the browsing information. the

在上述过程中,终端在启动蒙文浏览器时,根据注册表中已注册文件的标识信息,判断该蒙文显示控件是否已注册,当确定未注册时,根据本地保存的蒙文显示控件的注册信息,注册该蒙文显示控件,并根据用户输入的浏览信息的地址,用该蒙文显示控件对该浏览信息进行显示。由于本发明实施例中终端在启动该蒙文浏览器时自动判断该蒙文显示控件是否已注册,即判断该终端是 否已安装该蒙文显示控件,当确定未注册时,注册该蒙文显示控件,从而不需要提示用户是否注册该蒙文显示控件,减小了终端侧的负担,提高了显示蒙文信息的速度。  In the above process, when the terminal starts the Mongolian browser, it judges whether the Mongolian display control has been registered according to the identification information of the registered file in the registry. Register information, register the Mongolian text display control, and use the Mongolian text display control to display the browsing information according to the address of the browsing information input by the user. Since the terminal automatically judges whether the Mongolian text display control has been registered when starting the Mongolian text browser in the embodiment of the present invention, that is, judges whether the terminal has installed the Mongolian text display control, when it is determined that it is not registered, register the Mongolian text display control. The display control does not need to prompt the user whether to register the Mongolian display control, which reduces the burden on the terminal side and improves the speed of displaying Mongolian information. the

并且,为了避免该浏览信息还是会向该用户发送提醒信息,提示该用户注册该显示控件,从而降低对蒙文信息的显示速度,在采用创建的该蒙文显示控件对该浏览信息进行显示时,通过hook方法拦截该浏览信息中携带的显示控件的注册,采用创建的该蒙文显示控件对该浏览信息进行显示,进一步提高了显示蒙文信息的速度。  Moreover, in order to avoid that the browsing information will still send reminder information to the user, prompting the user to register the display control, thereby reducing the display speed of the Mongolian information, when the browsing information is displayed using the Mongolian display control created , the registration of the display control carried in the browsing information is intercepted by a hook method, and the browsing information is displayed by using the created Mongolian display control, which further improves the speed of displaying Mongolian information. the

同时,该浏览器显示该浏览信息时,采用多文档框架实现该浏览信息的跳转。即当该浏览器浏览两页或多页包含蒙文信息的网页时,或在浏览的包含蒙文信息的网页中点击页面的超链接时,基于已经打开的浏览器窗口,将该浏览器窗口中的子窗口显示的网页根据用户输入的信息,跳转到相应的网页,而不需要打开新的浏览器窗口显示该相应的网页,使用户能够方便的浏览蒙文信息,提高用户的体验。  At the same time, when the browser displays the browsing information, it uses a multi-document frame to realize the jumping of the browsing information. That is, when the browser browses two or more pages containing Mongolian information, or clicks on a hyperlink of a page in a browsed webpage containing Mongolian information, based on the browser window that has already been opened, the browser window The webpage displayed in the sub-window in the browser jumps to the corresponding webpage according to the information input by the user, without opening a new browser window to display the corresponding webpage, so that the user can browse Mongolian information conveniently and improve the user experience. the

图3为本发明实施例提供的基于控件进行蒙文信息显示的装置,具体包括:  Figure 3 is a device for displaying Mongolian information based on controls provided by an embodiment of the present invention, specifically including:

启动模块301,用于启动蒙文浏览器;  Start module 301, for starting the Mongolian browser;

判断模块302,用于根据注册表中已注册文件的标识信息,判断蒙文显示控件是否已注册;  Judging module 302, for judging whether the Mongolian display control has been registered according to the identification information of the registered file in the registry;

注册模块303,用于当检测到所述蒙文显示控件未注册时,根据本地保存的所述蒙文显示控件的注册信息,对所述蒙文显示控件进行注册;  The registration module 303 is used to register the Mongolian text display control according to the registration information of the Mongolian text display control locally saved when it is detected that the Mongolian text display control is not registered;

显示模块304,用于根据用户输入的浏览信息的地址,采用注册的所述蒙文显示控件对所述浏览信息进行显示。  The display module 304 is configured to use the registered Mongolian text display control to display the browsing information according to the address of the browsing information input by the user. the

所述装置还包括:  The device also includes:

创建模块305,用于根据注册的所述蒙文显示控件的标识信息,及保存的所述蒙文显示控件的标识信息与所述蒙文显示控件的执行文件的路径的对应关系,查找所述执行文件的路径,根据查找的所述蒙文显示控件的执行文件的 路径,查找所述蒙文显示控件的执行文件,采用查找到的所述蒙文显示控件的执行文件创建所述蒙文显示控件。  The creating module 305 is used to search for the Mongolian text display control according to the registered identification information of the Mongolian text display control and the corresponding relationship between the saved identification information of the Mongolian text display control and the path of the execution file of the Mongolian text display control. The path of the execution file, according to the path of the execution file of the Mongolian text display control found, searches for the execution file of the Mongolian text display control, adopts the execution file of the described Mongolian text display control found to create the Mongolian text display controls. the

所述显示模块304具体用于,通过hook方法拦截所述浏览信息中携带的显示控件的运行,并采用创建的所述蒙文显示控件对所述浏览信息进行显示,其中,所述浏览信息中携带的显示控件的运行包括:未注册的显示控件的注册,已注册的过期的显示控件的重新注册,以及已注册的显示控件的创建。  The display module 304 is specifically used to intercept the operation of the display control carried in the browsing information through a hook method, and use the created Mongolian display control to display the browsing information, wherein, in the browsing information The operation of the carried indicators includes: registration of unregistered indicators, re-registration of registered indicators that have expired, and creation of registered indicators. the

所述创建模块305还用于,当检测到所述蒙文显示控件已注册时,根据注册的所述蒙文显示控件的标识信息,及保存的所述蒙文显示控件的标识信息与所述蒙文显示控件的执行文件的路径的对应关系,查找所述执行文件的路径,根据查找的所述蒙文显示控件的执行文件的路径,查找所述蒙文显示控件的执行文件,采用查找到的所述蒙文显示控件的执行文件创建所述蒙文显示控件,采用创建的所述蒙文显示控件对所述浏览信息进行显示。  The creation module 305 is also used for, when it is detected that the Mongolian text display control has been registered, according to the registered identification information of the Mongolian text display control, and the saved identification information of the Mongolian text display control and the Correspondence of the path of the execution file of the Mongolian text display control, search the path of the execution file, according to the path of the execution file of the described Mongolian text display control found, search for the execution file of the Mongolian text display control, adopt the method of finding The execution file of the Mongolian text display control creates the Mongolian text display control, and uses the created Mongolian text display control to display the browsing information. the

所述显示模块304还用于,当检测到所述蒙文显示控件已注册时,通过hook方法拦截所述浏览信息中携带的显示控件的运行,并采用创建的所述蒙文显示控件对所述浏览信息进行显示,其中,所述浏览信息中携带的显示控件的运行包括:未注册的显示控件的注册,已注册的过期的显示控件的重新注册,以及已注册的显示控件的创建。  The display module 304 is also used to, when detecting that the Mongolian text display control has been registered, intercept the operation of the display control carried in the browsing information through a hook method, and use the created Mongolian text display control to The browsing information is displayed, wherein the operation of the display controls carried in the browsing information includes: registration of unregistered display controls, re-registration of registered and expired display controls, and creation of registered display controls. the

所述显示模块304具体用于,根据用户输入的浏览信息的地址,判断所述蒙文浏览器浏览的浏览信息是否为本地资源,当确定所述蒙文浏览器浏览本地资源时,加载本地资源库中的网页首页信息,采用创建的所述蒙文显示控件对加载的所述本地资源库中的网页首页信息进行显示,当确定所述蒙文浏览器浏览网站信息时,则加载所述网站首页信息,采用创建的所述蒙文显示控件对加载的所述网站首页信息进行显示。  The display module 304 is specifically used to, according to the address of the browsing information input by the user, judge whether the browsing information browsed by the Mongolian browser is a local resource, and when it is determined that the Mongolian browser browses the local resource, load the local resource The homepage information of the webpage in the library, using the Mongolian text display control created to display the homepage information of the webpage in the local resource library loaded, when it is determined that the Mongolian browser browses website information, then load the website Home page information, using the created Mongolian display control to display the loaded home page information of the website. the

所述装置还包括:  The device also includes:

跳转模块306,用于通过多文档框架实现所述浏览信息的跳转。  The jumping module 306 is configured to realize the jumping of the browsing information through the multi-document framework. the

所述装置还包括:  The device also includes:

安装模块307,用于安装本地资源库中保存的蒙文字体信息。  The installation module 307 is configured to install the Mongolian font information stored in the local resource library. the

本发明实施例提供一种基于控件进行蒙文信息显示的方法及装置,该方法终端在启动浏览器时,根据注册表中已注册文件的标识信息,判断蒙文显示控件是否已注册,当确定未注册时,根据本地保存的蒙文显示控件的注册信息,注册该蒙文显示控件,并根据用户输入的浏览信息,用该蒙文显示控件对该浏览信息进行显示。由于本发明实施例中终端在启动浏览器时自动判断该蒙文显示控件是否已注册,当确定未注册时,注册该蒙文显示控件,从而不需要提示用户是否注册该蒙文显示控件,减小了终端侧的负担,提高了显示蒙文信息的速度。  Embodiments of the present invention provide a method and device for displaying Mongolian text information based on a control. When the terminal starts the browser, it judges whether the Mongolian text display control has been registered according to the identification information of the registered file in the registry. When not registered, register the Mongolian display control according to the registration information of the Mongolian display control saved locally, and use the Mongolian display control to display the browsing information according to the browsing information input by the user. Since the terminal in the embodiment of the present invention automatically judges whether the Mongolian text display control is registered when starting the browser, when it is determined that it is not registered, the Mongolian text display control is registered, so that there is no need to prompt the user whether to register the Mongolian text display control, reducing The burden on the terminal side is reduced, and the speed of displaying Mongolian information is improved. the

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。  Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations. the

Claims (8)

1.一种基于控件进行蒙文信息显示的方法,其特征在于,包括:1. A method for displaying Mongolian information based on a control, characterized in that, comprising: 启动蒙文浏览器;Start the Mongolian browser; 根据注册表中已注册文件的标识信息,判断蒙文显示控件是否已注册;According to the identification information of the registered file in the registry, determine whether the Mongolian display control has been registered; 当检测到所述蒙文显示控件未注册时,根据本地保存的所述蒙文显示控件的注册信息,对所述蒙文显示控件进行注册;When detecting that the Mongolian text display control is not registered, register the Mongolian text display control according to the registration information of the Mongolian text display control stored locally; 根据注册的所述蒙文显示控件的标识信息,及保存的所述蒙文显示控件的标识信息与所述蒙文显示控件的执行文件的路径的对应关系,查找所述执行文件的路径;Find the path of the execution file according to the registered identification information of the Mongolian text display control, and the corresponding relationship between the saved identification information of the Mongolian text display control and the path of the execution file of the Mongolian text display control; 根据查找的所述蒙文显示控件的执行文件的路径,查找所述蒙文显示控件的执行文件;Search for the execution file of the Mongolian text display control according to the path of the execution file of the Mongolian text display control found; 采用查找到的所述蒙文显示控件的执行文件创建所述蒙文显示控件;Create the Mongolian text display control by using the found execution file of the Mongolian text display control; 根据用户输入的浏览信息的地址,采用创建的所述蒙文显示控件对所述浏览信息进行显示,并通过hook方法拦截所述浏览信息中携带的显示控件的运行,其中,所述浏览信息中携带的显示控件的运行包括:未注册的显示控件的注册,已注册的过期的显示控件的重新注册,以及已注册的显示控件的创建。According to the address of the browsing information input by the user, the created Mongolian text display control is used to display the browsing information, and the operation of the display control carried in the browsing information is intercepted by a hook method, wherein, in the browsing information The operation of the carried indicators includes: registration of unregistered indicators, re-registration of registered indicators that have expired, and creation of registered indicators. 2.如权利要求1所述的方法,其特征在于,所述采用创建的所述蒙文显示控件对所述浏览信息进行显示包括:2. The method according to claim 1, characterized in that, displaying the browse information by using the created Mongolian display control comprises: 根据用户输入的浏览信息的地址,判断所述蒙文浏览器浏览的浏览信息是否为本地资源;According to the address of the browsing information input by the user, it is judged whether the browsing information browsed by the Mongolian browser is a local resource; 当确定所述蒙文浏览器浏览本地资源时,加载本地资源库中的网页首页信息,采用创建的所述蒙文显示控件对加载的所述本地资源库中的网页首页信息进行显示;When it is determined that the Mongolian browser browses local resources, load the home page information in the local resource library, and use the created Mongolian display control to display the home page information in the loaded local resource library; 当确定所述蒙文浏览器浏览网站信息时,则加载所述网站首页信息,采用创建的所述蒙文显示控件对加载的所述网站首页信息进行显示。When it is determined that the Mongolian browser browses website information, it loads the homepage information of the website, and uses the created Mongolian display control to display the loaded homepage information of the website. 3.如权利要求2所述的方法,其特征在于,所述方法还包括:3. The method of claim 2, further comprising: 通过多文档框架实现所述浏览信息的跳转。The jumping of the browsing information is realized through a multi-document framework. 4.如权利要求1所述的方法,其特征在于,所述采用注册的所述蒙文显示控件对所述浏览信息进行显示之前,所述方法还包括:4. The method according to claim 1, wherein, before the browsing information is displayed using the registered Mongolian display control, the method further comprises: 安装本地资源库中保存的蒙文字体信息。Install the Mongolian font information saved in the local resource library. 5.一种基于控件对蒙文信息进行显示的装置,其特征在于,所述装置包括:5. A device for displaying Mongolian information based on controls, characterized in that the device comprises: 启动模块,用于启动蒙文浏览器;The startup module is used to start the Mongolian browser; 判断模块,用于根据注册表中已注册文件的标识信息,判断蒙文显示控件是否已注册;Judging module, used for judging whether the Mongolian display control has been registered according to the identification information of the registered file in the registry; 注册模块,用于当检测到所述蒙文显示控件未注册时,根据本地保存的所述蒙文显示控件的注册信息,对所述蒙文显示控件进行注册;A registration module, configured to register the Mongolian display control according to the locally stored registration information of the Mongolian display control when it is detected that the Mongolian display control is not registered; 创建模块,用于根据注册的所述蒙文显示控件的标识信息,及保存的所述蒙文显示控件的标识信息与所述蒙文显示控件的执行文件的路径的对应关系,查找所述执行文件的路径,根据查找的所述蒙文显示控件的执行文件的路径,查找所述蒙文显示控件的执行文件,采用查找到的所述蒙文显示控件的执行文件创建所述蒙文显示控件;Create a module for finding the execution according to the registered identification information of the Mongolian text display control and the stored correspondence between the identification information of the Mongolian text display control and the path of the execution file of the Mongolian text display control The path of the file, according to the path of the execution file of the Mongolian text display control found, the execution file of the Mongolian text display control is searched, and the Mongolian text display control is created by using the execution file of the Mongolian text display control found ; 显示模块,用于根据用户输入的浏览信息的地址,采用创建的所述蒙文显示控件对所述浏览信息进行显示,并通过hook方法拦截所述浏览信息中携带的显示控件的运行,其中,所述浏览信息中携带的显示控件的运行包括:未注册的显示控件的注册,已注册的过期的显示控件的重新注册,以及已注册的显示控件的创建。The display module is used to display the browsing information by using the created Mongolian display control according to the address of the browsing information input by the user, and intercept the operation of the display control carried in the browsing information through a hook method, wherein, The operation of the display controls carried in the browsing information includes: registration of unregistered display controls, re-registration of registered and expired display controls, and creation of registered display controls. 6.如权利要求5所述的装置,其特征在于,所述显示模块具体用于,根据用户输入的浏览信息的地址,判断所述蒙文浏览器浏览的浏览信息是否为本地资源,当确定所述蒙文浏览器浏览本地资源时,加载本地资源库中的网页首页信息,采用创建的所述蒙文显示控件对加载的所述本地资源库中的网页首页信息进行显示,当确定所述蒙文浏览器浏览网站信息时,则加载所述网站首页信息,采用创建的所述蒙文显示控件对加载的所述网站首页信息进行显示。6. The device according to claim 5, wherein the display module is specifically configured to judge whether the browsing information browsed by the Mongolian browser is a local resource according to the address of the browsing information input by the user, and when it is determined When the Mongolian browser browses local resources, it loads the home page information in the local resource library, and uses the created Mongolian text display control to display the home page information in the loaded local resource library. When the Mongolian browser browses website information, it loads the homepage information of the website, and uses the created Mongolian display control to display the loaded homepage information of the website. 7.如权利要求6所述的装置,其特征在于,所述装置还包括:7. The device of claim 6, further comprising: 跳转模块,用于通过多文档框架实现所述浏览信息的跳转。The jumping module is used to realize the jumping of the browsing information through the multi-document framework. 8.如权利要求5所述的装置,其特征在于,所述装置还包括:8. The device of claim 5, further comprising: 安装模块,用于安装本地资源库中保存的蒙文字体信息。The installation module is used to install the Mongolian font information saved in the local resource library.
CN2010105705227A 2010-11-26 2010-11-26 A method and device for displaying Mongolian information based on controls Expired - Fee Related CN102479227B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105705227A CN102479227B (en) 2010-11-26 2010-11-26 A method and device for displaying Mongolian information based on controls

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105705227A CN102479227B (en) 2010-11-26 2010-11-26 A method and device for displaying Mongolian information based on controls

Publications (2)

Publication Number Publication Date
CN102479227A CN102479227A (en) 2012-05-30
CN102479227B true CN102479227B (en) 2013-11-27

Family

ID=46091875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105705227A Expired - Fee Related CN102479227B (en) 2010-11-26 2010-11-26 A method and device for displaying Mongolian information based on controls

Country Status (1)

Country Link
CN (1) CN102479227B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020586B (en) * 2016-04-22 2019-06-04 青河 A kind of Mongolian edit methods and editing machine
CN108664265A (en) * 2018-05-15 2018-10-16 玩咖欢聚文化传媒(北京)有限公司 The interpolation method and system of Android application program
CN116312493A (en) * 2021-12-20 2023-06-23 博泰车联网(南京)有限公司 Keyword registration method, device, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713573A (en) * 2004-06-22 2005-12-28 腾讯科技(深圳)有限公司 Realization and realizing device for selective download from webpage inserted piece
CN101179562A (en) * 2006-12-08 2008-05-14 腾讯科技(深圳)有限公司 Method and system for restraining use of network control in authorization website
CN101650659A (en) * 2009-09-15 2010-02-17 福建升腾资讯有限公司 Device and method for automatically installing and saving Activex control in XPe operating system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1396980A1 (en) * 2002-09-05 2004-03-10 Hewlett-Packard Company A system for managing user profile data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713573A (en) * 2004-06-22 2005-12-28 腾讯科技(深圳)有限公司 Realization and realizing device for selective download from webpage inserted piece
CN101179562A (en) * 2006-12-08 2008-05-14 腾讯科技(深圳)有限公司 Method and system for restraining use of network control in authorization website
CN101650659A (en) * 2009-09-15 2010-02-17 福建升腾资讯有限公司 Device and method for automatically installing and saving Activex control in XPe operating system

Also Published As

Publication number Publication date
CN102479227A (en) 2012-05-30

Similar Documents

Publication Publication Date Title
EP2916243B1 (en) Method, apparatus, server and system for implementing web application
RU2604326C2 (en) Webpage browsing method, webapp framework, method and device for executing javascript and mobile terminal
WO2019072201A1 (en) Webpage content extraction method and terminal device
CN109522500B (en) Webpage display method, device, terminal and storage medium
CN107832099B (en) A client version compatible method, device and storage medium
US20150301873A1 (en) Method and system for expanding webapp application function
US20150074561A1 (en) Customizable themes for browsers and web content
TW201640342A (en) Application page quick access method and mobile terminal applying the same
CN104063415A (en) Method and system for displaying webpage user-defined content
CN107015870A (en) Realize method, device and the electronic equipment of web page and locally applied communication
US10691390B2 (en) Method and device for video rendering
CN104504058A (en) Web page presentation method and browser device
CN105260421A (en) Webpage loading method and apparatus
US20140096004A1 (en) Browser, and voice control method and system for browser operation
CN103838799A (en) Method, terminal device, cloud server and system for recommending installing software
CN106155708B (en) Method and system for dynamically loading and updating page content
CN107124477A (en) Processing method, terminal and the server of web site contents
CN102479227B (en) A method and device for displaying Mongolian information based on controls
WO2011076023A1 (en) Method and terminal for dynamically managing applications
US20150317143A1 (en) Method and apparatus for installing webpage application
CN103514021B (en) The method and apparatus of browser is provided
CN106599257A (en) Page shortcut realization method and electronic equipment
CN110134416A (en) Software update method, device and computer-readable storage medium
CN105630304A (en) Browser operation method and electronic equipment
CN113687861A (en) Application program management method and device, electronic equipment and storage medium

Legal Events

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

Granted publication date: 20131127

Termination date: 20191126

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