WO2018076635A1 - Language text loading method and device - Google Patents

Language text loading method and device Download PDF

Info

Publication number
WO2018076635A1
WO2018076635A1 PCT/CN2017/081689 CN2017081689W WO2018076635A1 WO 2018076635 A1 WO2018076635 A1 WO 2018076635A1 CN 2017081689 W CN2017081689 W CN 2017081689W WO 2018076635 A1 WO2018076635 A1 WO 2018076635A1
Authority
WO
WIPO (PCT)
Prior art keywords
language type
language
dll file
text
content
Prior art date
Application number
PCT/CN2017/081689
Other languages
French (fr)
Chinese (zh)
Inventor
刘均
陈碧奎
Original Assignee
深圳市元征科技股份有限公司
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 深圳市元征科技股份有限公司 filed Critical 深圳市元征科技股份有限公司
Publication of WO2018076635A1 publication Critical patent/WO2018076635A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation

Definitions

  • the present invention relates to the field of text loading technologies, and in particular, to a language text loading method and apparatus.
  • the multi-language environment for diagnostic products is diagnosed by loading texts in Chinese text, English text, etc., which is time-consuming to load and load language type text when loading language type text for multi-language environment diagnosis. If it is too large, it consumes a lot of memory, which makes the resource consumption of language text loading high.
  • the main object of the present invention is to provide a language text loading method and device, which aims to solve the problem that when loading a language type text to diagnose a multi-language environment, the loading is time-consuming, and if the loaded language type text is too large, the memory is extremely consumed. , the problem of high resource consumption when language text is loaded.
  • a language text loading method includes:
  • the language type content corresponding to the language type DLL file is read by the loaded language type DLL file.
  • the content of the DLL file corresponding to the read language type by the language type DLL file includes:
  • the locale is diagnosed according to the text content
  • the method before the reading the language type DLL file content by the language type DLL file, the method further includes:
  • the language type text is generated into a language type DLL file, and the content of the language type text is saved, and a mapping relationship is generated with the language type DLL file.
  • the language type text generates a language type DLL file, and saves the content of the language type text, and generates a mapping relationship with the language type DLL file, and further includes:
  • the method before saving the generated language type DLL file to the pre-created folder and generating the language type directory, the method further includes:
  • the method further includes:
  • a language type directory is generated to load the DLL file by the language type target call.
  • the method further includes:
  • the language type DLL file is loaded, the content of the corresponding language type DLL file is read according to the language type.
  • the determining whether the current language type DLL file has been loaded further includes:
  • the present invention further provides a language text loading device, including:
  • a loading module for loading a language type DLL file according to a desired language type
  • the reading module is configured to read the language type content corresponding to the language type DLL file by using the loaded language type DLL file.
  • the method further comprises:
  • a diagnostic module for diagnosing a multi-language environment based on the content of the read language type DLL file, and confirming whether the current language type correctly diagnoses the multi-language environment
  • An operation module configured to operate the locale according to the text content if the read language type DLL content can correctly diagnose the multi-language environment
  • the prompt module is configured to prompt the language type selection to fail if the read language type DLL content cannot diagnose the current multi-language environment.
  • the method further comprises:
  • a generation module for generating language type DLL files from language type text is a generation module for generating language type DLL files from language type text.
  • a save module for saving the content of the language type text
  • the generating module is further configured to generate a mapping relationship between the language type text content in the memory and the language type DLL file.
  • the saving module is configured to save the generated language type DLL file to a pre-created folder
  • the generating module is further configured to generate a language type directory.
  • the saving module is further configured to create a language type folder for saving the language type DLL file.
  • the determining module is further configured to determine, in the read cache, whether the current language type DLL file has cache information, to confirm whether the current language type DLL file is loaded.
  • the method further comprises:
  • a judging module configured to determine whether the acquired DLL file of the language type has been loaded
  • the reading module is further configured to: if the language type DLL file is loaded, read the content of the corresponding language type DLL file according to the language type.
  • the determining module is further configured to calculate a quantity of a current language type DLL file, and compare with a preset language type DLL file quantity to determine whether a language type directory needs to be generated;
  • the operation module is further configured to generate a language type directory to load a DLL file by using a language type if the current language type DLL file is greater than or equal to the preset language type DLL file number.
  • the invention selects a language type switching requirement; loads a language type DLL file according to the acquired language type; and reads a language type content corresponding to the language type DLL file by using the loaded language type DLL file.
  • a language type switching requirement loads a language type DLL file according to the acquired language type
  • Through the generated language type DLL file when doing multi-language diagnosis, directly load the DLL file and read the content of the language type DLL file that has been saved in the memory, which greatly reduces the resource consumption of the language type text loading process, and improves the resource consumption. Language type text loading efficiency.
  • FIG. 1 is a schematic flow chart of a first embodiment of a language text loading method according to the present invention
  • FIG. 2 is a schematic flow chart of a second embodiment of a language text loading method according to the present invention.
  • FIG. 3 is a schematic flow chart of a third embodiment of a language text loading method according to the present invention.
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of a language text loading device according to the present invention.
  • FIG. 5 is a schematic diagram of functional modules of a second embodiment of a language text loading apparatus according to the present invention.
  • FIG. 6 is a schematic diagram of functional modules of a third embodiment of a language text loading device according to the present invention.
  • the present invention provides a language text loading method.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a language text loading method according to the present invention.
  • the method comprises:
  • Step S10 acquiring a language type switching requirement
  • a language type switching requirement is acquired, that is, a language type required for the user to diagnose the current multi-language environment, and the multi-language environment can have multi-language conditions for the terminal system or the web page, and An environment with multi-language diagnostics installed allows the user to select a language type to diagnose the current multi-language environment.
  • Step S20 loading a language type DLL file according to the acquired language type
  • the DLL file of the corresponding language type is loaded in the language type directory according to the language type selected by the user.
  • the language type selected by the user is a language selected by the user to diagnose the current environment in a multi-language environment.
  • the language type directory is a language type directory generated according to an existing language type in the multi-language environment, and is used to enable a user to select a DLL file corresponding to the loading language type. In the multi-language environment, the user can only select an existing language type. If there is a language type requirement other than the current language type, the corresponding language type DLL file needs to be re-added, and a new language is added in the language type directory. Type, for users to choose.
  • Step S30 reading the language type content corresponding to the language type DLL file by using the loaded language type DLL file.
  • the content of the language type file may be stored in the corresponding read memory of the DLL file, or stored in the specified memory, and read through the mapping relationship.
  • the corresponding read memory and the designated memory are the memory areas corresponding to the read connection in the current language type DLL file, and the text content of the language type DLL file is saved in the memory, based on a text content and
  • the saved language type DLL file has a mapping relationship, and the corresponding language type text content corresponding to the read memory or the specified memory is read by loading the language type DLL file.
  • the text content of the language type DLL file is saved in the specified memory, and the saved text content is directly read during loading, thereby improving loading efficiency.
  • the text content of the DLL file is saved to the corresponding read memory or the designated memory, and the DLL file is used in the prior art, and details are not described herein.
  • the method when loading the DLL file corresponding to the acquired language type, the method further includes:
  • the history cache record includes loading traces of a language type DLL file, a language type name, a load time, and the like. This history cache record function is an additional function of the existing system, and will not be described here.
  • the language type DLL file is loaded, the content of the corresponding language type DLL file is read according to the language type.
  • the history cache record of the language type selection if the obtained language type exists in the history cache record, it indicates that the language type has already loaded the language type DLL file. Reads the loading trace of the language type DLL file in the history cache record, and directly reads the content of the language type DLL file according to the trace. The history cache record directly reads the language type content for diagnosis of the current multi-language environment, without reloading the language type DLL file, reducing the time for loading the DLL file, and improving the efficiency of diagnosing the multi-language environment.
  • the language type selection in the multi-language environment is loaded, and the corresponding language type DLL file is loaded, and then the language type content is read by the language type DLL file to perform language diagnosis on the current multi-language environment.
  • the efficiency of the language type loading is improved, and the loading resource consumption is reduced during the process of loading the DLL file.
  • FIG. 2 is a schematic flowchart diagram of a second embodiment of a language text loading method according to the present invention. Based on the first embodiment of the foregoing method, before the corresponding DLL file is invoked according to the index according to the text conversion language type selected by the user, the method further includes:
  • Step S40 diagnosing a multi-language environment according to the content of the read language type DLL file, and confirming whether the current language type correctly diagnoses the multi-language environment;
  • Diagnose the current multi-language environment by the language type DLL file content According to the diagnosis mode and the diagnosis purpose of the current multi-language environment, the content of the language type DLL file is correspondingly set, and the content of the language type DLL file is set and saved according to the current multi-language environment, but only conforms to the current multi-language environment. diagnosis.
  • a multilingual environment with the same multi-language environment diagnosis method and diagnostic purpose can share a language type DLL file. According to the type of the DLL file read, it is judged whether the language diagnosis of the current multi-language environment can be correctly performed.
  • Step S50 if the content of the read language type DLL can correctly diagnose the multi-language environment, the locale is operated according to the text content;
  • the language type corresponds to a multi-language environment, that is, whether the language of the current multi-language environment is consistent with the content of the language type DLL file, and if they are consistent.
  • the language diagnosis operation of the current multi-language environment is performed by the content of the language type DLL file.
  • step S60 if the content of the read language type DLL cannot diagnose the current multi-language environment, the prompt language type selection fails.
  • the language type corresponds to a multi-language environment, that is, whether the language of the current multi-language environment is consistent with the content of the language type DLL file, and if they are inconsistent.
  • the pop-up language type selection error prompts that the current user needs to re-select the language type to perform language diagnosis on the multi-language environment.
  • FIG. 3 is a schematic flowchart of a third embodiment of a language text loading method according to the present invention.
  • the first and second embodiments of the foregoing method further include:
  • Step S70 generating a language type DLL file from the language type text, and saving the content of the language type text, and generating a mapping relationship with the language type DLL file.
  • the language type text is generated into a language type DLL file, and the language type text content is separately saved, and the corresponding language type DLL file is combined to form a one-to-one mapping relationship, that is, a language type DLL file corresponds to the content of a language type text, To read the contents of the DLL file in the corresponding language type by the language type DLL file. If there is a new language type, the new language type continues to generate the language type DLL file, and the content of the language type text is separately saved, and the mapping relationship is saved with the corresponding language type DLL file, and the newly added language type information is added.
  • the text content after the DLL file is generated is separately saved, and is a DLL file usage mode in the prior art. After the text generates the DLL file, the text content is saved in a memory or area that can be called or read by the DLL file. The specific operation mode will not be described here.
  • step S80 the generated language type DLL file is saved to a pre-created folder, and a language type directory is generated.
  • the generated language type DLL file is saved to a pre-created folder.
  • the pre-created folder when the language type text generates the language type DLL file, automatically generates a folder for saving the language type DLL file by the operation of generating the DLL file, and the folder may be customized by the user. .
  • a language type directory is generated in the folder in which the language type DLL file is saved.
  • the language type corresponds to the DLL file to save the load connection, and after the user selects the language type in the language type directory, the loaded language type DLL file is correspondingly loaded by reading the load connection in the language type directory.
  • the language type directory is a text file for loading a language type, and may be in a format such as TXT or DOC, or may define a text format type according to a file access manner of the current multi-language environment.
  • the statistical language type DLL file saves the number of language type DLL files in the folder. If the number of language type DLL files saved in the folder is smaller than the target number, the language type directory is not generated, and the language type is directly loaded by the user-selected language type. Corresponding to the language type DLL file; if there is a new language type, when saving the new language type DLL file to the folder, the number of language type DLL files of the folder is counted, and if it is greater than or equal to the target quantity, the language type directory is generated.
  • the language type directory is not generated.
  • the target number of the language type DLL file is set by the user in the system, and the setting of the target quantity is most consistent with the current multi-language environment optimal loading mode, so as to improve the loading efficiency of the DLL file.
  • the execution bodies of the language text loading methods of the first to third embodiments described above may each be an electronic device to which a text language conversion system hardware device can be installed or associated with the hardware device.
  • the hardware device may include, but is not limited to, an electronic device such as a computer.
  • the electronic device includes, but is not limited to, a mobile phone, a pad, a notebook computer, and the like.
  • the invention further provides a language text loading device.
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of a language text loading apparatus according to the present invention.
  • the device includes: an obtaining module 10, a loading module 20, a reading module 30, and a determining module 40.
  • the obtaining module 10 is configured to acquire a language type switching requirement
  • a language type switching requirement is acquired, that is, a language type required for the user to diagnose the current multi-language environment, and the multi-language environment can have multi-language conditions for the terminal system or the web page, and An environment with multi-language diagnostics installed allows the user to select a language type to diagnose the current multi-language environment.
  • a loading module 20 configured to load a language type DLL file according to a required language type
  • the DLL file of the corresponding language type is loaded in the language type directory according to the language type selected by the user.
  • the language type selected by the user is a language selected by the user to diagnose the current environment in a multi-language environment.
  • the language type directory is a language type directory generated according to an existing language type in the multi-language environment, and is used to enable a user to select a DLL file corresponding to the loading language type. In the multi-language environment, the user can only select an existing language type. If there is a language type requirement other than the current language type, the corresponding language type DLL file needs to be re-added, and a new language is added in the language type directory. Type, for users to choose.
  • the reading module 30 is configured to read the language type content corresponding to the language type DLL file by using the loaded language type DLL file.
  • the content of the language type file may be stored in the corresponding read memory of the DLL file, or stored in the specified memory, and read through the mapping relationship.
  • the corresponding read memory and the designated memory are the memory areas corresponding to the read connection in the current language type DLL file, and the text content of the language type DLL file is saved in the memory, based on a text content and
  • the saved language type DLL file has a mapping relationship, and the corresponding language type text content corresponding to the read memory or the specified memory is read by loading the language type DLL file.
  • the text content of the language type DLL file is saved in the specified memory, and the saved text content is directly read during loading, thereby improving loading efficiency.
  • the text content of the DLL file is saved to the corresponding read memory or the designated memory, and the DLL file is used in the prior art, and details are not described herein.
  • the method when loading the DLL file corresponding to the acquired language type, the method further includes:
  • the determining module 40 is configured to determine whether the acquired DLL file of the language type has been loaded
  • the history cache record includes loading traces of a language type DLL file, a language type name, a load time, and the like. This history cache record function is an additional function of the existing system, and will not be described here.
  • the reading module 30 is further configured to: if the language type DLL file is loaded, read the content of the corresponding language type DLL file according to the language type.
  • the history cache record of the language type selection if the obtained language type exists in the history cache record, it indicates that the language type has been loaded with the language type DLL file. Reads the loading trace of the language type DLL file in the history cache record, and directly reads the content of the language type DLL file according to the trace. The history cache record directly reads the language type content for diagnosis of the current multi-language environment, without reloading the language type DLL file, reducing the time for loading the DLL file, and improving the efficiency of diagnosing the multi-language environment.
  • the language type selection in the multi-language environment is loaded, and the corresponding language type DLL file is loaded, and then the language type content is read by the language type DLL file to perform language diagnosis on the current multi-language environment.
  • the efficiency of the language type loading is improved, and the loading resource consumption is reduced during the process of loading the DLL file.
  • FIG. 5 is a schematic diagram of functional modules of a second embodiment of a language text loading device according to the present invention.
  • the device includes a diagnostic module 50, an operation module 60, and a prompting module 70.
  • the diagnosis module 50 is configured to diagnose a multi-language environment according to the content of the read language type DLL file, and confirm whether the current language type correctly diagnoses the multi-language environment;
  • Diagnose the current multi-language environment by the language type DLL file content According to the diagnosis mode and the diagnosis purpose of the current multi-language environment, the content of the language type DLL file is correspondingly set, and the content of the language type DLL file is set and saved according to the current multi-language environment, but only conforms to the current multi-language environment. diagnosis.
  • a multilingual environment with the same multi-language environment diagnosis method and diagnostic purpose can share a language type DLL file. According to the type of the DLL file read, it is judged whether the language diagnosis of the current multi-language environment can be correctly performed.
  • the operation module 60 is configured to operate the locale according to the text content if the read language type DLL content can correctly diagnose the multi-language environment;
  • the language type corresponds to a multi-language environment, that is, whether the language of the current multi-language environment is consistent with the content of the language type DLL file, and if they are consistent.
  • the language diagnosis operation of the current multi-language environment is performed by the content of the language type DLL file.
  • the prompting module 70 is configured to prompt the language type selection to fail if the read language type DLL content cannot diagnose the current multi-language environment.
  • the language type corresponds to a multi-language environment, that is, whether the language of the current multi-language environment is consistent with the content of the language type DLL file, and if they are inconsistent.
  • the pop-up language type selection error prompts that the current user needs to re-select the language type to perform language diagnosis on the multi-language environment.
  • FIG. 6 is a schematic diagram of functional modules of a third embodiment of a language text loading apparatus according to the present invention.
  • the device further includes: a generating module 80 and a saving module 90.
  • a generating module 80 is configured to generate a language type DLL file from the language type text.
  • the text content after the DLL file is generated is separately saved, and is a DLL file usage mode in the prior art. After the text generates the DLL file, the text content is saved in a memory or area that can be called or read by the DLL file. The specific operation mode will not be described here.
  • the generating module 80 is further configured to generate a mapping relationship between the language type text content in the memory and the language type DLL file.
  • a one-to-one mapping relationship is formed, that is, a language type DLL file corresponds to the content of a language type text, and is used to read the content of the language type DLL file through the language type DLL file. If there is a new language type, the new language type continues to generate the language type DLL file, and the content of the language type text is separately saved, and the mapping relationship is saved with the corresponding language type DLL file, and the newly added language type information is added. Save to the language type directory for loading and use.
  • the saving module 90 is configured to save the generated language type DLL file to a newly created folder
  • the generated language type DLL file is saved to a pre-created folder.
  • the pre-created folder when the language type text generates the language type DLL file, automatically generates a folder for saving the language type DLL file by the operation of generating the DLL file, and the folder may be customized by the user. .
  • the generating module 80 is further configured to extract a language type generated language type directory.
  • a language type directory is generated in the folder in which the language type DLL file is saved.
  • the language type corresponds to the DLL file to save the load connection, and after the user selects the language type in the language type directory, the loaded language type DLL file is correspondingly loaded by reading the load connection in the language type directory.
  • the language type directory is a text file for loading a language type, and may be in a format such as TXT or DOC, or may define a text format type according to a file access manner of the current multi-language environment.
  • the statistical language type DLL file saves the number of language type DLL files in the folder. If the number of language type DLL files saved in the folder is smaller than the target number, the language type directory is not generated, and the language type is directly loaded by the user-selected language type. Corresponding to the language type DLL file; if there is a new language type, when saving the new language type DLL file to the folder, the number of language type DLL files of the folder is counted, and if it is greater than or equal to the target quantity, the language type directory is generated.
  • the language type directory is not generated.
  • the target number of the language type DLL file is set by the user in the system, and the setting of the target quantity is most consistent with the current multi-language environment optimal loading mode, so as to improve the loading efficiency of the DLL file.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Machine Translation (AREA)

Abstract

Disclosed is a method for loading a language text, comprising: obtaining a requirement to switch a language type; according to the obtained language type, loading a language-type DLL file; by means of the loaded language-type DLL file, reading language-type content corresponding to said language-type DLL file. Also disclosed is a language text loading device. In the present invention, a generated language DLL file is generated and, when determining a language environment, a corresponding language DLL file is loaded, thus reducing the resources consumed for loading a text language and improving language loading efficiency.

Description

一种语言文本加载方法和装置  Language text loading method and device
技术领域Technical field
本发明涉及文本加载技术领域,尤其涉及一种语言文本加载方法和装置。The present invention relates to the field of text loading technologies, and in particular, to a language text loading method and apparatus.
背景技术Background technique
目前诊断产品多语言环境,都是通过加载中文文本、英文文本等文本形式的内容进行诊断,该方法在加载语言类型文本对多语言环境进行诊断时,加载耗时大,且加载的语言类型文本若过大时极消耗内存,使得语言文本加载时的资源消耗高。At present, the multi-language environment for diagnostic products is diagnosed by loading texts in Chinese text, English text, etc., which is time-consuming to load and load language type text when loading language type text for multi-language environment diagnosis. If it is too large, it consumes a lot of memory, which makes the resource consumption of language text loading high.
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solutions of the present invention, and does not constitute an admission that the above is prior art.
发明内容Summary of the invention
本发明的主要目的在于提供一种语言文本加载方法和装置,旨在解决在加载语言类型文本对多语言环境进行诊断时,加载耗时大,且加载的语言类型文本若过大时极消耗内存,使得语言文本加载时的资源消耗高的问题。The main object of the present invention is to provide a language text loading method and device, which aims to solve the problem that when loading a language type text to diagnose a multi-language environment, the loading is time-consuming, and if the loaded language type text is too large, the memory is extremely consumed. , the problem of high resource consumption when language text is loaded.
为实现上述目的,本发明提供的一种语言文本加载方法,包括:To achieve the above object, a language text loading method provided by the present invention includes:
获取语言类型切换需求;Get language type switching requirements;
根据所获取语言类型,加载语言类型DLL文件;Load the language type DLL file according to the acquired language type;
通过加载的语言类型DLL文件,读取与所述语言类型DLL文件对应的语言类型内容。The language type content corresponding to the language type DLL file is read by the loaded language type DLL file.
优选地,所述通过语言类型DLL文件对应读取语言类型的DLL文件内容,包括:Preferably, the content of the DLL file corresponding to the read language type by the language type DLL file includes:
根据读取的语言类型DLL文件内容诊断多语言环境,并确认当前语言类型是否正确诊断多语言环境;Diagnose the multi-language environment based on the contents of the read language type DLL file, and confirm whether the current language type correctly diagnoses the multi-language environment;
若读取的语言类型DLL内容能够正确诊断多语言环境,则根据文本内容对语言环境进行诊断操作;If the content of the read language type DLL can correctly diagnose the multi-language environment, the locale is diagnosed according to the text content;
若读取的语言类型DLL内容不能诊断当前多语言环境,则提示语言类型选择失败。If the content of the read language type DLL cannot diagnose the current multi-language environment, the prompt language type selection fails.
优选地,所述通过语言类型DLL文件对应读取语言类型DLL文件内容之前,还包括:Preferably, before the reading the language type DLL file content by the language type DLL file, the method further includes:
将语言类型文本生成语言类型DLL文件,并保存语言类型文本的内容,与语言类型DLL文件生成映射关系。The language type text is generated into a language type DLL file, and the content of the language type text is saved, and a mapping relationship is generated with the language type DLL file.
优选地,所述将语言类型文本生成语言类型DLL文件,并保存语言类型文本的内容,与语言类型DLL文件生成映射关系,还包括:Preferably, the language type text generates a language type DLL file, and saves the content of the language type text, and generates a mapping relationship with the language type DLL file, and further includes:
将生成的语言类型DLL文件保存至预先创建的文件夹,并生成语言类型目录。Save the generated language type DLL file to a pre-created folder and generate a language type directory.
优选地,所述将生成的语言类型DLL文件保存至预先创建的文件夹,并生成语言类型目录之前,还包括:Preferably, before saving the generated language type DLL file to the pre-created folder and generating the language type directory, the method further includes:
新建语言类型文件夹,用以保存语言类型DLL文件。Create a new language type folder to save the language type DLL file.
优选地,所述方法,还包括:Preferably, the method further includes:
计算当前语言类型DLL文件的数量,与预设语言类型DLL文件数量对比,判断是否需生成语言类型目录;Calculating the number of current language type DLL files, comparing with the number of preset language type DLL files, determining whether a language type directory needs to be generated;
若当前语言类型DLL文件大于或等于预设语言类型DLL文件数量,则生成语言类型目录,用以通过语言类型目标调用加载DLL文件。If the current language type DLL file is greater than or equal to the preset language type DLL file number, a language type directory is generated to load the DLL file by the language type target call.
优选地,所述根据所获取语言类型,加载语言类型DLL文件之后,还包括:Preferably, after the loading the language type DLL file according to the acquired language type, the method further includes:
判断当前语言类型DLL文件是否已加载过;Determine whether the current language type DLL file has been loaded;
若该语言类型DLL文件已加载,则根据语言类型读取对应语言类型DLL文件内容。If the language type DLL file is loaded, the content of the corresponding language type DLL file is read according to the language type.
优选地,所述判断当前语言类型DLL文件是否已加载过,还包括:Preferably, the determining whether the current language type DLL file has been loaded further includes:
在读取缓存中判断当前语言类型DLL文件是否已有缓存信息,用以确认当前语言类型DLL文件是否已加载。Determine whether the current language type DLL file has cache information in the read cache to confirm whether the current language type DLL file is loaded.
此外,为实现上述目的,本发明还提供一种语言文本加载装置,包括:In addition, in order to achieve the above object, the present invention further provides a language text loading device, including:
获取模块,用于获取语言类型切换需求;An acquisition module for obtaining a language type switching requirement;
加载模块,用于根据所需语言类型,加载语言类型DLL文件;a loading module for loading a language type DLL file according to a desired language type;
读取模块,用于通过加载的语言类型DLL文件,读取与所述语言类型DLL文件对应的语言类型内容。The reading module is configured to read the language type content corresponding to the language type DLL file by using the loaded language type DLL file.
优选地,还包括:Preferably, the method further comprises:
诊断模块,用于根据读取的语言类型DLL文件内容诊断多语言环境,并确认当前语言类型是否正确诊断多语言环境;a diagnostic module for diagnosing a multi-language environment based on the content of the read language type DLL file, and confirming whether the current language type correctly diagnoses the multi-language environment;
操作模块,用于若读取的语言类型DLL内容能够正确诊断多语言环境,则根据文本内容对语言环境进行操作;An operation module, configured to operate the locale according to the text content if the read language type DLL content can correctly diagnose the multi-language environment;
提示模块,用于若读取的语言类型DLL内容不能诊断当前多语言环境,则提示语言类型选择失败。The prompt module is configured to prompt the language type selection to fail if the read language type DLL content cannot diagnose the current multi-language environment.
优选地,还包括:Preferably, the method further comprises:
生成模块,用于将语言类型文本生成语言类型DLL文件。A generation module for generating language type DLL files from language type text.
保存模块,用于保存语言类型文本的内容;a save module for saving the content of the language type text;
所述生成模块,还用于将内存中的语言类型文本内容与语言类型DLL文件生成映射关系。The generating module is further configured to generate a mapping relationship between the language type text content in the memory and the language type DLL file.
优选地,所述保存模块,用于将生成的语言类型DLL文件保存至预先创建的文件夹;Preferably, the saving module is configured to save the generated language type DLL file to a pre-created folder;
所述生成模块,还用于生成语言类型目录。The generating module is further configured to generate a language type directory.
优选地,所述保存模块还用于,创建语言类型文件夹,用以保存语言类型DLL文件。Preferably, the saving module is further configured to create a language type folder for saving the language type DLL file.
优选地,所述判断模块,还用于在读取缓存中判断当前语言类型DLL文件是否已有缓存信息,用以确认当前语言类型DLL文件是否已加载。Preferably, the determining module is further configured to determine, in the read cache, whether the current language type DLL file has cache information, to confirm whether the current language type DLL file is loaded.
优选地,还包括:Preferably, the method further comprises:
判断模块,用于判断获取到的语言类型的DLL文件是否已加载过;a judging module, configured to determine whether the acquired DLL file of the language type has been loaded;
所述读取模块,还用于若该语言类型DLL文件已加载,则根据语言类型读取对应语言类型DLL文件内容。The reading module is further configured to: if the language type DLL file is loaded, read the content of the corresponding language type DLL file according to the language type.
优选地,所述判断模块,还用于计算当前语言类型DLL文件的数量,与预设语言类型DLL文件数量对比,判断是否需生成语言类型目录;Preferably, the determining module is further configured to calculate a quantity of a current language type DLL file, and compare with a preset language type DLL file quantity to determine whether a language type directory needs to be generated;
所述操作模块,还用于若当前语言类型DLL文件大于或等于预设语言类型DLL文件数量,则生成语言类型目录,用以通过语言类型调用加载DLL文件。The operation module is further configured to generate a language type directory to load a DLL file by using a language type if the current language type DLL file is greater than or equal to the preset language type DLL file number.
本发明通过获取语言类型切换需求;根据所获取语言类型,加载语言类型DLL文件;通过加载的语言类型DLL文件,读取与所述语言类型DLL文件对应的语言类型内容。通过生成的语言类型DLL文件,在做多语言诊断时,直接加载DLL文件并读取已保存在内存中的语言类型DLL文件的内容,极大减少了语言类型文本加载过程的资源消耗,提高了语言类型文本加载效率。The invention selects a language type switching requirement; loads a language type DLL file according to the acquired language type; and reads a language type content corresponding to the language type DLL file by using the loaded language type DLL file. Through the generated language type DLL file, when doing multi-language diagnosis, directly load the DLL file and read the content of the language type DLL file that has been saved in the memory, which greatly reduces the resource consumption of the language type text loading process, and improves the resource consumption. Language type text loading efficiency.
附图说明DRAWINGS
图1为本发明语言文本加载方法的第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a language text loading method according to the present invention;
图2为本发明语言文本加载方法的第二实施例的流程示意图;2 is a schematic flow chart of a second embodiment of a language text loading method according to the present invention;
图3为本发明语言文本加载方法的第三实施例的流程示意图;3 is a schematic flow chart of a third embodiment of a language text loading method according to the present invention;
图4为本发明语言文本加载装置的第一实施例的功能模块示意图;4 is a schematic diagram of functional modules of a first embodiment of a language text loading device according to the present invention;
图5为本发明语言文本加载装置的第二实施例的功能模块示意图;FIG. 5 is a schematic diagram of functional modules of a second embodiment of a language text loading apparatus according to the present invention; FIG.
图6为本发明语言文本加载装置的第三实施例的功能模块示意图。FIG. 6 is a schematic diagram of functional modules of a third embodiment of a language text loading device according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
基于上述问题,本发明提供一种语言文本加载方法。Based on the above problems, the present invention provides a language text loading method.
参照图1,图1为本发明语言文本加载方法的第一实施例的流程示意图。Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a first embodiment of a language text loading method according to the present invention.
在一实施例中,所述方法包括:In an embodiment, the method comprises:
步骤S10,获取语言类型切换需求;Step S10, acquiring a language type switching requirement;
在需要对多语言环境诊断时,获取语言类型切换需求,即,获取用户对当前多语言环境诊断所需的语言类型,所述多语言环境,可以为终端系统或者网页等拥有多语言条件,且安装了多语言诊断的环境,可使用户选择语言类型对当前多语言环境进行诊断。When a multi-language environment diagnosis is required, a language type switching requirement is acquired, that is, a language type required for the user to diagnose the current multi-language environment, and the multi-language environment can have multi-language conditions for the terminal system or the web page, and An environment with multi-language diagnostics installed allows the user to select a language type to diagnose the current multi-language environment.
步骤S20,根据所获取语言类型,加载语言类型DLL文件;Step S20, loading a language type DLL file according to the acquired language type;
根据用户选择的语言类型,在语言类型目录中加载对应语言类型的DLL文件。所述用户选择的语言类型,为用户在多语言环境下,选择的对当前环境进行诊断的语言。所述语言类型目录,为所述多语言环境下,根据已有的语言类型种类所生成的语言类型目录,用以使用户选择后对应加载语言类型的DLL文件。在所述多语言环境下,用户只能选择已有的语言类型,若有当前语言类型以外的语言类型需求,则需重新添加对应的语言类型DLL文件,并且在语言类型目录中添加新的语言类型,供用户选择。The DLL file of the corresponding language type is loaded in the language type directory according to the language type selected by the user. The language type selected by the user is a language selected by the user to diagnose the current environment in a multi-language environment. The language type directory is a language type directory generated according to an existing language type in the multi-language environment, and is used to enable a user to select a DLL file corresponding to the loading language type. In the multi-language environment, the user can only select an existing language type. If there is a language type requirement other than the current language type, the corresponding language type DLL file needs to be re-added, and a new language is added in the language type directory. Type, for users to choose.
步骤S30,通过加载的语言类型DLL文件,读取与所述语言类型DLL文件对应的语言类型内容。Step S30, reading the language type content corresponding to the language type DLL file by using the loaded language type DLL file.
根据加载的语言类型的DLL文件,读取对应的语言类型DLL文件的语言类型内容,所述语言类型DLL文件与语言类型文件内容为映射关系,用于在读取语言类型DLL文件内容时,快速根据已加载到的语言类型DLL文件读取语言类型文件的内容。所述语言类型文件的内容,可能保存在DLL文件对应读取内存中,或者,保存于指定内存中,通过映射关系进行读取。所述对应读取内存及指定内存,为当前语言类型DLL文件中调用读取连接所对应的内存区域,所述内存中保存有语言类型DLL文件的文本内容,以一份文本内容为基础与已保存的语言类型DLL文件对应有映射关系,通过加载语言类型DLL文件读取对应读取内存或指定内存中的对应语言类型文本内容。所述在指定内存中保存语言类型DLL文件的文本内容,在加载时直接读取已保存的文本内容,可提高加载效率。所述DLL文件的文本内容保存至对应读取内存或指定内存,为DLL文件的使用方式,为现有技术,在此不多赘述。Reading the language type content of the corresponding language type DLL file according to the loaded DLL file of the language type, and the language type DLL file is mapped to the language type file content, and is used for quickly reading the language type DLL file content. Reads the contents of the language type file based on the language type DLL file that has been loaded. The content of the language type file may be stored in the corresponding read memory of the DLL file, or stored in the specified memory, and read through the mapping relationship. The corresponding read memory and the designated memory are the memory areas corresponding to the read connection in the current language type DLL file, and the text content of the language type DLL file is saved in the memory, based on a text content and The saved language type DLL file has a mapping relationship, and the corresponding language type text content corresponding to the read memory or the specified memory is read by loading the language type DLL file. The text content of the language type DLL file is saved in the specified memory, and the saved text content is directly read during loading, thereby improving loading efficiency. The text content of the DLL file is saved to the corresponding read memory or the designated memory, and the DLL file is used in the prior art, and details are not described herein.
进一步的,在加载所获取语言类型对应的DLL文件时,还包括:Further, when loading the DLL file corresponding to the acquired language type, the method further includes:
判断当前语言类型DLL文件是否已加载过;Determine whether the current language type DLL file has been loaded;
获取到的语言类型,判断该语言类型是否已加载过DLL文件。多语言环境加载语言类型DLL文件后,生成历史缓存记录,并保留已加载过的语言类型DLL文件的信息。获取到所需的语言类型后,在所述历史缓存记录中查找该语言类型是否存在于历史缓存记录。所述历史缓存记录,包括语言类型DLL文件的加载痕迹、语言类型名称、加载时间等内容。该历史缓存记录功能为现有系统的附加功能,在此不多赘述。Get the language type and determine if the language type has loaded the DLL file. After loading the language type DLL file in a multi-language environment, a history cache record is generated and the information of the loaded language type DLL file is retained. After obtaining the required language type, it is found in the history cache record whether the language type exists in the history cache record. The history cache record includes loading traces of a language type DLL file, a language type name, a load time, and the like. This history cache record function is an additional function of the existing system, and will not be described here.
若该语言类型DLL文件已加载,则根据语言类型读取对应语言类型DLL文件内容。If the language type DLL file is loaded, the content of the corresponding language type DLL file is read according to the language type.
在语言类型选择的历史缓存记录中,若获取到的语言类型在历史缓存记录中存在,则表示该语言类型已经加载过语言类型DLL文件。读取历史缓存记录中的该语言类型DLL文件的加载痕迹,根据痕迹直接读取语言类型DLL文件的内容。通过历史缓存记录直接读取语言类型的内容用以对当前多语言环境进行诊断,无需重新加载语言类型的DLL文件,减少加载DLL文件的时间,提高了诊断多语言环境的效率。In the history cache record of the language type selection, if the obtained language type exists in the history cache record, it indicates that the language type has already loaded the language type DLL file. Reads the loading trace of the language type DLL file in the history cache record, and directly reads the content of the language type DLL file according to the trace. The history cache record directly reads the language type content for diagnosis of the current multi-language environment, without reloading the language type DLL file, reducing the time for loading the DLL file, and improving the efficiency of diagnosing the multi-language environment.
本实施例中,在多语言环境中的语言类型选择,加载对应语言类型DLL文件,继而通过该语言类型的DLL文件读取语言类型内容对当前多语言环境进行语言诊断。通过加载DLL文件读取文本内容对多语言环境进行诊断,提高了语言类型加载的效率,并且在加载DLL文件过程中,减少了加载的资源消耗。In this embodiment, the language type selection in the multi-language environment is loaded, and the corresponding language type DLL file is loaded, and then the language type content is read by the language type DLL file to perform language diagnosis on the current multi-language environment. By reading the text content by loading the DLL file to diagnose the multi-language environment, the efficiency of the language type loading is improved, and the loading resource consumption is reduced during the process of loading the DLL file.
参照图2,图2为本发明语言文本加载方法的第二实施例的流程示意图。基于上述方法的第一实施例,所述根据用户选择的文本转化语言类型,根据索引调用对应DLL文件之前,还包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of a second embodiment of a language text loading method according to the present invention. Based on the first embodiment of the foregoing method, before the corresponding DLL file is invoked according to the index according to the text conversion language type selected by the user, the method further includes:
步骤S40,根据读取的语言类型DLL文件内容诊断多语言环境,并确认当前语言类型是否正确诊断多语言环境;Step S40, diagnosing a multi-language environment according to the content of the read language type DLL file, and confirming whether the current language type correctly diagnoses the multi-language environment;
通过语言类型DLL文件内容,对当前多语言环境进行诊断。根据当前多语言环境的诊断方式及诊断目的,对应设置语言类型DLL文件的内容,并且,所述语言类型DLL文件的内容是根据当前的多语言环境进行设置保存,只是符合当前的多语言环境的诊断。或者,有相同多语言环境诊断方式及诊断目的的多语言环境,可共用语言类型DLL文件。并根据读取到的语言类型DLL文件类型判断是否能够正确对当前多语言环境进行语言诊断。Diagnose the current multi-language environment by the language type DLL file content. According to the diagnosis mode and the diagnosis purpose of the current multi-language environment, the content of the language type DLL file is correspondingly set, and the content of the language type DLL file is set and saved according to the current multi-language environment, but only conforms to the current multi-language environment. diagnosis. Alternatively, a multilingual environment with the same multi-language environment diagnosis method and diagnostic purpose can share a language type DLL file. According to the type of the DLL file read, it is judged whether the language diagnosis of the current multi-language environment can be correctly performed.
步骤S50,若读取的语言类型DLL内容能够正确诊断多语言环境,则根据文本内容对语言环境进行操作;Step S50, if the content of the read language type DLL can correctly diagnose the multi-language environment, the locale is operated according to the text content;
根据已读取到的语言类型DLL文件内容,在多语言环境中,判断该语言类型是否对应该多语言环境,即当前多语言环境的语言是否与语言类型DLL文件的内容一致,若一致,则通过语言类型DLL文件的内容对当前多语言环境进行语言诊断的操作。According to the content of the DLL file that has been read, in a multi-language environment, it is determined whether the language type corresponds to a multi-language environment, that is, whether the language of the current multi-language environment is consistent with the content of the language type DLL file, and if they are consistent, The language diagnosis operation of the current multi-language environment is performed by the content of the language type DLL file.
步骤S60,若读取的语言类型DLL内容不能诊断当前多语言环境,则提示语言类型选择失败。In step S60, if the content of the read language type DLL cannot diagnose the current multi-language environment, the prompt language type selection fails.
根据已读取到的语言类型DLL文件内容,在多语言环境中,判断该语言类型是否对应该多语言环境,即当前多语言环境的语言是否与语言类型DLL文件的内容一致,若不一致,则弹出语言类型选择错误的提示,提示当前用户需重新选择语言类型对多语言环境进行语言诊断的操作。According to the content of the DLL file that has been read, in a multi-language environment, it is determined whether the language type corresponds to a multi-language environment, that is, whether the language of the current multi-language environment is consistent with the content of the language type DLL file, and if they are inconsistent, The pop-up language type selection error prompts that the current user needs to re-select the language type to perform language diagnosis on the multi-language environment.
参照图3,图3为本发明语言文本加载方法的第三实施例的流程示意图,基于上述方法的第一、二实施例,还包括:Referring to FIG. 3, FIG. 3 is a schematic flowchart of a third embodiment of a language text loading method according to the present invention. The first and second embodiments of the foregoing method further include:
步骤S70,将语言类型文本生成语言类型DLL文件,并保存语言类型文本的内容,与语言类型DLL文件生成映射关系。Step S70, generating a language type DLL file from the language type text, and saving the content of the language type text, and generating a mapping relationship with the language type DLL file.
新建语言类型文本,根据对应的多语言环境设置文本内容,以语言类型命名语言类型文本保存。将语言类型文本生成语言类型DLL文件,并单独保存语言类型文本内容,结合对应的语言类型DLL文件,形成一对一的映射关系,即一个语言类型的DLL文件对应一个语言类型文本的内容,用以通过语言类型DLL文件在对应读取语言类型DLL文件的内容。若有新增的语言类型,将所述新增的语言类型继续生成语言类型DLL文件,并单独保存语言类型文本的内容,与对应语言类型DLL文件保存映射关系,将该新增的语言类型信息保存至语言类型目录中用以加载使用。所述生成DLL文件后的文本内容单独保存,为现有技术中的DLL文件使用方式,在文本生成DLL文件后,所述文本内容保存至DLL文件能够调用或读取的内存或区域中。具体操作方式在此不多赘述。Create new language type text, set the text content according to the corresponding multi-language environment, and save the language type text with the language type. The language type text is generated into a language type DLL file, and the language type text content is separately saved, and the corresponding language type DLL file is combined to form a one-to-one mapping relationship, that is, a language type DLL file corresponds to the content of a language type text, To read the contents of the DLL file in the corresponding language type by the language type DLL file. If there is a new language type, the new language type continues to generate the language type DLL file, and the content of the language type text is separately saved, and the mapping relationship is saved with the corresponding language type DLL file, and the newly added language type information is added. Save to the language type directory for loading and use. The text content after the DLL file is generated is separately saved, and is a DLL file usage mode in the prior art. After the text generates the DLL file, the text content is saved in a memory or area that can be called or read by the DLL file. The specific operation mode will not be described here.
步骤S80,将生成的语言类型DLL文件保存至预先创建的文件夹,并生成语言类型目录。In step S80, the generated language type DLL file is saved to a pre-created folder, and a language type directory is generated.
已生成的语言类型DLL文件,保存至预先创建的文件夹中。所述预先创建的文件夹,在语言类型文本生成语言类型DLL文件时,通过生成DLL文件的操作,自动生成的用以保存语言类型DLL文件的文件夹,所述文件夹可由用户自定义所在位置。在所述保存语言类型DLL文件的文件夹中生成语言类型目录。语言类型目录中,语言类型对应DLL文件保存加载连接,用以用户在语言类型目录中选择语言类型后,通过读取语言类型目录中的加载连接对应加载语言类型DLL文件。所述语言类型目录,为保存语言类型加载连接的文本文件,可以为TXT、DOC等格式,也可根据当前多语言环境的文件访问方式定义文本格式类型。The generated language type DLL file is saved to a pre-created folder. The pre-created folder, when the language type text generates the language type DLL file, automatically generates a folder for saving the language type DLL file by the operation of generating the DLL file, and the folder may be customized by the user. . A language type directory is generated in the folder in which the language type DLL file is saved. In the language type directory, the language type corresponds to the DLL file to save the load connection, and after the user selects the language type in the language type directory, the loaded language type DLL file is correspondingly loaded by reading the load connection in the language type directory. The language type directory is a text file for loading a language type, and may be in a format such as TXT or DOC, or may define a text format type according to a file access manner of the current multi-language environment.
或,通过统计保存的语言类型DLL文件的数量决定是否生成语言类型目录用以调用加载DLL文件。则,统计语言类型DLL文件保存文件夹中的语言类型DLL文件的数量,若文件夹中保存的语言类型DLL文件数量小于目标数量,不生成语言类型目录,通过获取到用户选择的语言类型直接加载对应语言类型DLL文件;若有新增的语言类型,在保存新的语言类型DLL文件至文件夹时,统计该文件夹的语言类型DLL文件数量,若大于或等于目标数量,则生成语言类型目录;若文件夹中的语言类型DLL文件数量小于目标数量,则不生成语言类型目录。所述语言类型DLL文件的目标数量,由用户在系统设置,该目标数量的设置最为符合当前多语言环境最优加载方式,用以提高DLL文件的加载效率。Or, by counting the number of language type DLL files saved, it is determined whether the language type directory is generated to call the loaded DLL file. Then, the statistical language type DLL file saves the number of language type DLL files in the folder. If the number of language type DLL files saved in the folder is smaller than the target number, the language type directory is not generated, and the language type is directly loaded by the user-selected language type. Corresponding to the language type DLL file; if there is a new language type, when saving the new language type DLL file to the folder, the number of language type DLL files of the folder is counted, and if it is greater than or equal to the target quantity, the language type directory is generated. If the number of language type DLL files in the folder is less than the target number, the language type directory is not generated. The target number of the language type DLL file is set by the user in the system, and the setting of the target quantity is most consistent with the current multi-language environment optimal loading mode, so as to improve the loading efficiency of the DLL file.
上述第一至第三实施例的语言文本加载方法的执行主体均可以为可以安装文本语言转化系统硬件设备或与所述硬件设备关联的电子设备。其中,该硬件设备可以包括但不限于计算机等电子设备。所述电子设备包括但不限于手机、pad、笔记本电脑等。The execution bodies of the language text loading methods of the first to third embodiments described above may each be an electronic device to which a text language conversion system hardware device can be installed or associated with the hardware device. The hardware device may include, but is not limited to, an electronic device such as a computer. The electronic device includes, but is not limited to, a mobile phone, a pad, a notebook computer, and the like.
本发明进一步提供一种语言文本加载装置。The invention further provides a language text loading device.
参照图4,图4为本发明语言文本加载装置的第一实施例的功能模块示意图。Referring to FIG. 4, FIG. 4 is a schematic diagram of functional modules of a first embodiment of a language text loading apparatus according to the present invention.
在一实施例中,所述装置包括:获取模块10、加载模块20、读取模块30及判断模块40。In an embodiment, the device includes: an obtaining module 10, a loading module 20, a reading module 30, and a determining module 40.
获取模块10,用于获取语言类型切换需求;The obtaining module 10 is configured to acquire a language type switching requirement;
在需要对多语言环境诊断时,获取语言类型切换需求,即,获取用户对当前多语言环境诊断所需的语言类型,所述多语言环境,可以为终端系统或者网页等拥有多语言条件,且安装了多语言诊断的环境,可使用户选择语言类型对当前多语言环境进行诊断。When a multi-language environment diagnosis is required, a language type switching requirement is acquired, that is, a language type required for the user to diagnose the current multi-language environment, and the multi-language environment can have multi-language conditions for the terminal system or the web page, and An environment with multi-language diagnostics installed allows the user to select a language type to diagnose the current multi-language environment.
加载模块20,用于根据所需语言类型,加载语言类型DLL文件;a loading module 20, configured to load a language type DLL file according to a required language type;
根据用户选择的语言类型,在语言类型目录中加载对应语言类型的DLL文件。所述用户选择的语言类型,为用户在多语言环境下,选择的对当前环境进行诊断的语言。所述语言类型目录,为所述多语言环境下,根据已有的语言类型种类所生成的语言类型目录,用以使用户选择后对应加载语言类型的DLL文件。在所述多语言环境下,用户只能选择已有的语言类型,若有当前语言类型以外的语言类型需求,则需重新添加对应的语言类型DLL文件,并且在语言类型目录中添加新的语言类型,供用户选择。The DLL file of the corresponding language type is loaded in the language type directory according to the language type selected by the user. The language type selected by the user is a language selected by the user to diagnose the current environment in a multi-language environment. The language type directory is a language type directory generated according to an existing language type in the multi-language environment, and is used to enable a user to select a DLL file corresponding to the loading language type. In the multi-language environment, the user can only select an existing language type. If there is a language type requirement other than the current language type, the corresponding language type DLL file needs to be re-added, and a new language is added in the language type directory. Type, for users to choose.
读取模块30,用于通过加载的语言类型DLL文件,读取与所述语言类型DLL文件对应的语言类型内容。The reading module 30 is configured to read the language type content corresponding to the language type DLL file by using the loaded language type DLL file.
根据加载的语言类型的DLL文件,读取对应的语言类型DLL文件的语言类型内容,所述语言类型DLL文件与语言类型文件内容为映射关系,用于在读取语言类型DLL文件内容时,快速根据已加载到的语言类型DLL文件读取语言类型文件的内容。所述语言类型文件的内容,可能保存在DLL文件对应读取内存中,或者,保存于指定内存中,通过映射关系进行读取。所述对应读取内存及指定内存,为当前语言类型DLL文件中调用读取连接所对应的内存区域,所述内存中保存有语言类型DLL文件的文本内容,以一份文本内容为基础与已保存的语言类型DLL文件对应有映射关系,通过加载语言类型DLL文件读取对应读取内存或指定内存中的对应语言类型文本内容。所述在指定内存中保存语言类型DLL文件的文本内容,在加载时直接读取已保存的文本内容,可提高加载效率。所述DLL文件的文本内容保存至对应读取内存或指定内存,为DLL文件的使用方式,为现有技术,在此不多赘述。Reading the language type content of the corresponding language type DLL file according to the loaded DLL file of the language type, and the language type DLL file is mapped to the language type file content, and is used for quickly reading the language type DLL file content. Reads the contents of the language type file based on the language type DLL file that has been loaded. The content of the language type file may be stored in the corresponding read memory of the DLL file, or stored in the specified memory, and read through the mapping relationship. The corresponding read memory and the designated memory are the memory areas corresponding to the read connection in the current language type DLL file, and the text content of the language type DLL file is saved in the memory, based on a text content and The saved language type DLL file has a mapping relationship, and the corresponding language type text content corresponding to the read memory or the specified memory is read by loading the language type DLL file. The text content of the language type DLL file is saved in the specified memory, and the saved text content is directly read during loading, thereby improving loading efficiency. The text content of the DLL file is saved to the corresponding read memory or the designated memory, and the DLL file is used in the prior art, and details are not described herein.
进一步的,在加载所获取语言类型对应的DLL文件时,还包括:Further, when loading the DLL file corresponding to the acquired language type, the method further includes:
判断模块40,用于判断获取到的语言类型的DLL文件是否已加载过;The determining module 40 is configured to determine whether the acquired DLL file of the language type has been loaded;
获取到的语言类型,判断该语言类型是否已加载过DLL文件。多语言环境加载语言类型DLL文件后,生成历史缓存记录,并保留已加载过的语言类型DLL文件的信息。获取到所需的语言类型后,在所述历史缓存记录中查找该语言类型是否存在于历史缓存记录。所述历史缓存记录,包括语言类型DLL文件的加载痕迹、语言类型名称、加载时间等内容。该历史缓存记录功能为现有系统的附加功能,在此不多赘述。Get the language type and determine if the language type has loaded the DLL file. After loading the language type DLL file in a multi-language environment, a history cache record is generated and the information of the loaded language type DLL file is retained. After obtaining the required language type, it is found in the history cache record whether the language type exists in the history cache record. The history cache record includes loading traces of a language type DLL file, a language type name, a load time, and the like. This history cache record function is an additional function of the existing system, and will not be described here.
所述读取模块30,还用于若该语言类型DLL文件已加载,则根据语言类型读取对应语言类型DLL文件内容。The reading module 30 is further configured to: if the language type DLL file is loaded, read the content of the corresponding language type DLL file according to the language type.
在语言类型选择的历史缓存记录中,若获取到的语言类型在历史缓存记录中存在,则表示该语言类型已经加载过语言类型DLL文件。读取历史缓存记录中的该语言类型DLL文件的加载痕迹,根据痕迹直接读取语言类型DLL文件的内容。通过历史缓存记录直接读取语言类型的内容用以对当前多语言环境进行诊断,无需重新加载语言类型的DLL文件,减少加载DLL文件的时间,提高了诊断多语言环境的效率。In the history cache record of the language type selection, if the obtained language type exists in the history cache record, it indicates that the language type has been loaded with the language type DLL file. Reads the loading trace of the language type DLL file in the history cache record, and directly reads the content of the language type DLL file according to the trace. The history cache record directly reads the language type content for diagnosis of the current multi-language environment, without reloading the language type DLL file, reducing the time for loading the DLL file, and improving the efficiency of diagnosing the multi-language environment.
本实施例中,在多语言环境中的语言类型选择,加载对应语言类型DLL文件,继而通过该语言类型的DLL文件读取语言类型内容对当前多语言环境进行语言诊断。通过加载DLL文件读取文本内容对多语言环境进行诊断,提高了语言类型加载的效率,并且在加载DLL文件过程中,减少了加载的资源消耗。In this embodiment, the language type selection in the multi-language environment is loaded, and the corresponding language type DLL file is loaded, and then the language type content is read by the language type DLL file to perform language diagnosis on the current multi-language environment. By reading the text content by loading the DLL file to diagnose the multi-language environment, the efficiency of the language type loading is improved, and the loading resource consumption is reduced during the process of loading the DLL file.
参照图5,图5为本发明语言文本加载装置的第二实施例的功能模块示意图,所述装置包括:诊断模块50、操作模块60及提示模块70。Referring to FIG. 5, FIG. 5 is a schematic diagram of functional modules of a second embodiment of a language text loading device according to the present invention. The device includes a diagnostic module 50, an operation module 60, and a prompting module 70.
诊断模块50,用于根据读取的语言类型DLL文件内容诊断多语言环境,并确认当前语言类型是否正确诊断多语言环境;The diagnosis module 50 is configured to diagnose a multi-language environment according to the content of the read language type DLL file, and confirm whether the current language type correctly diagnoses the multi-language environment;
通过语言类型DLL文件内容,对当前多语言环境进行诊断。根据当前多语言环境的诊断方式及诊断目的,对应设置语言类型DLL文件的内容,并且,所述语言类型DLL文件的内容是根据当前的多语言环境进行设置保存,只是符合当前的多语言环境的诊断。或者,有相同多语言环境诊断方式及诊断目的的多语言环境,可共用语言类型DLL文件。并根据读取到的语言类型DLL文件类型判断是否能够正确对当前多语言环境进行语言诊断。Diagnose the current multi-language environment by the language type DLL file content. According to the diagnosis mode and the diagnosis purpose of the current multi-language environment, the content of the language type DLL file is correspondingly set, and the content of the language type DLL file is set and saved according to the current multi-language environment, but only conforms to the current multi-language environment. diagnosis. Alternatively, a multilingual environment with the same multi-language environment diagnosis method and diagnostic purpose can share a language type DLL file. According to the type of the DLL file read, it is judged whether the language diagnosis of the current multi-language environment can be correctly performed.
操作模块60,用于若读取的语言类型DLL内容能够正确诊断多语言环境,则根据文本内容对语言环境进行操作;The operation module 60 is configured to operate the locale according to the text content if the read language type DLL content can correctly diagnose the multi-language environment;
根据已读取到的语言类型DLL文件内容,在多语言环境中,判断该语言类型是否对应该多语言环境,即当前多语言环境的语言是否与语言类型DLL文件的内容一致,若一致,则通过语言类型DLL文件的内容对当前多语言环境进行语言诊断的操作。According to the content of the DLL file that has been read, in a multi-language environment, it is determined whether the language type corresponds to a multi-language environment, that is, whether the language of the current multi-language environment is consistent with the content of the language type DLL file, and if they are consistent, The language diagnosis operation of the current multi-language environment is performed by the content of the language type DLL file.
提示模块70,用于若读取的语言类型DLL内容不能诊断当前多语言环境,则提示语言类型选择失败。The prompting module 70 is configured to prompt the language type selection to fail if the read language type DLL content cannot diagnose the current multi-language environment.
根据已读取到的语言类型DLL文件内容,在多语言环境中,判断该语言类型是否对应该多语言环境,即当前多语言环境的语言是否与语言类型DLL文件的内容一致,若不一致,则弹出语言类型选择错误的提示,提示当前用户需重新选择语言类型对多语言环境进行语言诊断的操作。According to the content of the DLL file that has been read, in a multi-language environment, it is determined whether the language type corresponds to a multi-language environment, that is, whether the language of the current multi-language environment is consistent with the content of the language type DLL file, and if they are inconsistent, The pop-up language type selection error prompts that the current user needs to re-select the language type to perform language diagnosis on the multi-language environment.
参照图6,图6为本发明语言文本加载装置的第三实施例的功能模块示意图。所述装置还包括:生成模块80、保存模块90。Referring to FIG. 6, FIG. 6 is a schematic diagram of functional modules of a third embodiment of a language text loading apparatus according to the present invention. The device further includes: a generating module 80 and a saving module 90.
生成模块80,用于将语言类型文本生成语言类型DLL文件。A generating module 80 is configured to generate a language type DLL file from the language type text.
新建语言类型文本,根据对应的多语言环境设置文本内容,以语言类型命名语言类型文本保存。将语言类型文本生成语言类型DLL文件。Create new language type text, set the text content according to the corresponding multi-language environment, and save the language type text with the language type. Generate language type DLL files from language type text.
保存模块90,用于保存语言类型文本的内容;a saving module 90 for saving content of the language type text;
将已生成的语言类型DLL文件,单独保存语言类型文本内容。所述生成DLL文件后的文本内容单独保存,为现有技术中的DLL文件使用方式,在文本生成DLL文件后,所述文本内容保存至DLL文件能够调用或读取的内存或区域中。具体操作方式在此不多赘述。Save the language type text content separately from the generated language type DLL file. The text content after the DLL file is generated is separately saved, and is a DLL file usage mode in the prior art. After the text generates the DLL file, the text content is saved in a memory or area that can be called or read by the DLL file. The specific operation mode will not be described here.
所述生成模块80,还用于将内存中的语言类型文本内容与语言类型DLL文件生成映射关系。The generating module 80 is further configured to generate a mapping relationship between the language type text content in the memory and the language type DLL file.
形成一对一的映射关系,即一个语言类型的DLL文件对应一个语言类型文本的内容,用以通过语言类型DLL文件在对应读取语言类型DLL文件的内容。若有新增的语言类型,将所述新增的语言类型继续生成语言类型DLL文件,并单独保存语言类型文本的内容,与对应语言类型DLL文件保存映射关系,将该新增的语言类型信息保存至语言类型目录中用以加载使用。A one-to-one mapping relationship is formed, that is, a language type DLL file corresponds to the content of a language type text, and is used to read the content of the language type DLL file through the language type DLL file. If there is a new language type, the new language type continues to generate the language type DLL file, and the content of the language type text is separately saved, and the mapping relationship is saved with the corresponding language type DLL file, and the newly added language type information is added. Save to the language type directory for loading and use.
所述保存模块90,用于将生成的语言类型DLL文件保存至预先新建的文件夹;The saving module 90 is configured to save the generated language type DLL file to a newly created folder;
已生成的语言类型DLL文件,保存至预先创建的文件夹中。所述预先创建的文件夹,在语言类型文本生成语言类型DLL文件时,通过生成DLL文件的操作,自动生成的用以保存语言类型DLL文件的文件夹,所述文件夹可由用户自定义所在位置。The generated language type DLL file is saved to a pre-created folder. The pre-created folder, when the language type text generates the language type DLL file, automatically generates a folder for saving the language type DLL file by the operation of generating the DLL file, and the folder may be customized by the user. .
所述生成模块80,还用于提取语言类型生成语言类型目录。The generating module 80 is further configured to extract a language type generated language type directory.
在所述保存语言类型DLL文件的文件夹中生成语言类型目录。语言类型目录中,语言类型对应DLL文件保存加载连接,用以用户在语言类型目录中选择语言类型后,通过读取语言类型目录中的加载连接对应加载语言类型DLL文件。所述语言类型目录,为保存语言类型加载连接的文本文件,可以为TXT、DOC等格式,也可根据当前多语言环境的文件访问方式定义文本格式类型。A language type directory is generated in the folder in which the language type DLL file is saved. In the language type directory, the language type corresponds to the DLL file to save the load connection, and after the user selects the language type in the language type directory, the loaded language type DLL file is correspondingly loaded by reading the load connection in the language type directory. The language type directory is a text file for loading a language type, and may be in a format such as TXT or DOC, or may define a text format type according to a file access manner of the current multi-language environment.
或,通过统计保存的语言类型DLL文件的数量决定是否生成语言类型目录用以调用加载DLL文件。则,统计语言类型DLL文件保存文件夹中的语言类型DLL文件的数量,若文件夹中保存的语言类型DLL文件数量小于目标数量,不生成语言类型目录,通过获取到用户选择的语言类型直接加载对应语言类型DLL文件;若有新增的语言类型,在保存新的语言类型DLL文件至文件夹时,统计该文件夹的语言类型DLL文件数量,若大于或等于目标数量,则生成语言类型目录;若文件夹中的语言类型DLL文件数量小于目标数量,则不生成语言类型目录。所述语言类型DLL文件的目标数量,由用户在系统设置,该目标数量的设置最为符合当前多语言环境最优加载方式,用以提高DLL文件的加载效率。Or, by counting the number of language type DLL files saved, it is determined whether the language type directory is generated to call the loaded DLL file. Then, the statistical language type DLL file saves the number of language type DLL files in the folder. If the number of language type DLL files saved in the folder is smaller than the target number, the language type directory is not generated, and the language type is directly loaded by the user-selected language type. Corresponding to the language type DLL file; if there is a new language type, when saving the new language type DLL file to the folder, the number of language type DLL files of the folder is counted, and if it is greater than or equal to the target quantity, the language type directory is generated. If the number of language type DLL files in the folder is less than the target number, the language type directory is not generated. The target number of the language type DLL file is set by the user in the system, and the setting of the target quantity is most consistent with the current multi-language environment optimal loading mode, so as to improve the loading efficiency of the DLL file.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (16)

  1. 一种语言文本加载方法,其特征在于,所述方法包括以下步骤: A language text loading method, characterized in that the method comprises the following steps:
    获取语言类型切换需求;Get language type switching requirements;
    根据所获取语言类型,加载语言类型DLL文件;Load the language type DLL file according to the acquired language type;
    通过加载的语言类型DLL文件,读取与所述语言类型DLL文件对应的语言类型内容。The language type content corresponding to the language type DLL file is read by the loaded language type DLL file.
  2. 如权利要求1所述的语言文本加载方法,其特征在于,所述通过语言类型DLL文件对应读取语言类型的DLL文件内容,包括:The language text loading method according to claim 1, wherein the content of the DLL file corresponding to the read language type by the language type DLL file comprises:
    根据读取的语言类型DLL文件内容诊断多语言环境,并确认当前语言类型是否正确诊断多语言环境;Diagnose the multi-language environment based on the contents of the read language type DLL file, and confirm whether the current language type correctly diagnoses the multi-language environment;
    若读取的语言类型DLL内容能够正确诊断多语言环境,则根据文本内容对语言环境进行诊断操作;If the content of the read language type DLL can correctly diagnose the multi-language environment, the locale is diagnosed according to the text content;
    若读取的语言类型DLL内容不能诊断当前多语言环境,则提示语言类型选择失败。If the content of the read language type DLL cannot diagnose the current multi-language environment, the prompt language type selection fails.
  3. 如权利要求1所述的语言文本加载方法,其特征在于,所述通过语言类型DLL文件对应读取语言类型DLL文件内容之前,还包括:The language text loading method according to claim 1, wherein the language type DLL file corresponds to reading the language type DLL file content, and further includes:
    将语言类型文本生成语言类型DLL文件,并保存语言类型文本的内容,与语言类型DLL文件生成映射关系。The language type text is generated into a language type DLL file, and the content of the language type text is saved, and a mapping relationship is generated with the language type DLL file.
  4. 如权利要求3所述的语言文本加载方法,其特征在于,所述将语言类型文本生成语言类型DLL文件,并保存语言类型文本的内容,与语言类型DLL文件生成映射关系,还包括:The language text loading method according to claim 3, wherein the generating the language type DLL file by the language type text, and saving the content of the language type text, and generating a mapping relationship with the language type DLL file, further comprising:
    将生成的语言类型DLL文件保存至预先创建的文件夹,并生成语言类型目录。Save the generated language type DLL file to a pre-created folder and generate a language type directory.
  5. 如权利要求4所述的语言文本加载方法,其特征在于,所述将生成的语言类型DLL文件保存至预先创建的文件夹,并生成语言类型目录之前,还包括:The language text loading method according to claim 4, wherein the saving the generated language type DLL file to the pre-created folder and generating the language type directory further includes:
    新建语言类型文件夹,用以保存语言类型DLL文件。Create a new language type folder to save the language type DLL file.
  6. 如权利要求4所述的语言文本加载方法,其特征在于,所述方法,还包括:The method of loading a language text according to claim 4, wherein the method further comprises:
    计算当前语言类型DLL文件的数量,与预设语言类型DLL文件数量对比,判断是否需生成语言类型目录;Calculating the number of current language type DLL files, comparing with the number of preset language type DLL files, determining whether a language type directory needs to be generated;
    若当前语言类型DLL文件大于或等于预设语言类型DLL文件数量,则生成语言类型目录,用以通过语言类型目标调用加载DLL文件。If the current language type DLL file is greater than or equal to the preset language type DLL file number, a language type directory is generated to load the DLL file by the language type target call.
  7. 如权利要求1所述的语言文本加载方法,其特征在于,所述根据所获取语言类型,加载语言类型DLL文件之后,还包括:The language text loading method according to claim 1, wherein the loading the language type DLL file according to the acquired language type further comprises:
    判断当前语言类型DLL文件是否已加载过;Determine whether the current language type DLL file has been loaded;
    若该语言类型DLL文件已加载,则根据语言类型读取对应语言类型DLL文件内容。If the language type DLL file is loaded, the content of the corresponding language type DLL file is read according to the language type.
  8. 如权利要求7所述的语言文本加载方法,其特征在于,所述判断当前语言类型DLL文件是否已加载过,还包括:The language text loading method according to claim 7, wherein the determining whether the current language type DLL file has been loaded further comprises:
    在读取缓存中判断当前语言类型DLL文件是否已有缓存信息,用以确认当前语言类型DLL文件是否已加载。Determine whether the current language type DLL file has cache information in the read cache to confirm whether the current language type DLL file is loaded.
  9. 一种语言文本加载装置,其特征在于,包括:A language text loading device, comprising:
    获取模块,用于获取语言类型切换需求;An acquisition module for obtaining a language type switching requirement;
    加载模块,用于根据所需语言类型,加载语言类型DLL文件;a loading module for loading a language type DLL file according to a desired language type;
    读取模块,用于通过加载的语言类型DLL文件,读取与所述语言类型DLL文件对应的语言类型内容。The reading module is configured to read the language type content corresponding to the language type DLL file by using the loaded language type DLL file.
  10. 如权利要求9所述的语言文本加载装置,其特征在于,还包括:The language text loading device of claim 9, further comprising:
    诊断模块,用于根据读取的语言类型DLL文件内容诊断多语言环境,并确认当前语言类型是否正确诊断多语言环境;a diagnostic module for diagnosing a multi-language environment based on the content of the read language type DLL file, and confirming whether the current language type correctly diagnoses the multi-language environment;
    操作模块,用于若读取的语言类型DLL内容能够正确诊断多语言环境,则根据文本内容对语言环境进行操作;An operation module, configured to operate the locale according to the text content if the read language type DLL content can correctly diagnose the multi-language environment;
    提示模块,用于若读取的语言类型DLL内容不能诊断当前多语言环境,则提示语言类型选择失败。The prompt module is configured to prompt the language type selection to fail if the read language type DLL content cannot diagnose the current multi-language environment.
  11. 如权利要求9所述的语言文本加载装置,其特征在于,还包括:The language text loading device of claim 9, further comprising:
    生成模块,用于将语言类型文本生成语言类型DLL文件。A generation module for generating language type DLL files from language type text.
    保存模块,用于保存语言类型文本的内容;a save module for saving the content of the language type text;
    所述生成模块,还用于将内存中的语言类型文本内容与语言类型DLL文件生成映射关系。The generating module is further configured to generate a mapping relationship between the language type text content in the memory and the language type DLL file.
  12. 如权利要求11所述的语言文本加载装置,其特征在于,所述保存模块,用于将生成的语言类型DLL文件保存至预先创建的文件夹;The language text loading device according to claim 11, wherein the saving module is configured to save the generated language type DLL file to a pre-created folder;
    所述生成模块,还用于生成语言类型目录。The generating module is further configured to generate a language type directory.
  13. 如权利要求12所述的语言文本加载装置,其特征在于,所述保存模块还用于,创建语言类型文件夹,用以保存语言类型DLL文件。The language text loading device according to claim 12, wherein the saving module is further configured to create a language type folder for saving the language type DLL file.
  14. 如权利要求12所述的语言文本加载装置,其特征在于,所述判断模块,还用于在读取缓存中判断当前语言类型DLL文件是否已有缓存信息,用以确认当前语言类型DLL文件是否已加载。The language text loading device according to claim 12, wherein the determining module is further configured to determine, in the read cache, whether the current language type DLL file has cache information, and to confirm whether the current language type DLL file is Loaded.
  15. 如权利要求9所述的语言文本加载装置,其特征在于,还包括:The language text loading device of claim 9, further comprising:
    判断模块,用于判断获取到的语言类型的DLL文件是否已加载过;a judging module, configured to determine whether the acquired DLL file of the language type has been loaded;
    所述读取模块,还用于若该语言类型DLL文件已加载,则根据语言类型读取对应语言类型DLL文件内容。The reading module is further configured to: if the language type DLL file is loaded, read the content of the corresponding language type DLL file according to the language type.
  16. 如权利要求15所述的语言文本加载装置,其特征在于,所述判断模块,还用于计算当前语言类型DLL文件的数量,与预设语言类型DLL文件数量对比,判断是否需生成语言类型目录;The language text loading device according to claim 15, wherein the determining module is further configured to calculate a quantity of a current language type DLL file, and compare with a preset language type DLL file quantity to determine whether a language type directory needs to be generated. ;
    所述操作模块,还用于若当前语言类型DLL文件大于或等于预设语言类型DLL文件数量,则生成语言类型目录,用以通过语言类型调用加载DLL文件。 The operation module is further configured to generate a language type directory to load a DLL file by using a language type if the current language type DLL file is greater than or equal to the preset language type DLL file number.
PCT/CN2017/081689 2016-10-27 2017-04-24 Language text loading method and device WO2018076635A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610958027.0 2016-10-27
CN201610958027.0A CN106598568A (en) 2016-10-27 2016-10-27 Language text loading method and device

Publications (1)

Publication Number Publication Date
WO2018076635A1 true WO2018076635A1 (en) 2018-05-03

Family

ID=58590226

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/081689 WO2018076635A1 (en) 2016-10-27 2017-04-24 Language text loading method and device

Country Status (2)

Country Link
CN (1) CN106598568A (en)
WO (1) WO2018076635A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113625683A (en) * 2021-07-23 2021-11-09 深圳市元征未来汽车技术有限公司 Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989876B (en) * 2018-07-27 2021-07-30 青岛海信传媒网络技术有限公司 Subtitle display method and device
CN111061535B (en) * 2019-12-20 2023-07-25 网易(杭州)网络有限公司 Interface switching method and device
CN113127131A (en) * 2021-05-10 2021-07-16 多益网络有限公司 Multi-language conversion method, device and equipment in game

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826034A (en) * 2010-05-13 2010-09-08 中兴通讯股份有限公司 Language switching method and device in Linux system
CN101916192A (en) * 2010-09-14 2010-12-15 深圳市华力特电气股份有限公司 Multi-language switching method and device for user interface
CN103019736A (en) * 2012-12-26 2013-04-03 广东欧珀移动通信有限公司 Language file generation method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441567B (en) * 2008-11-18 2012-06-13 宇龙计算机通信科技(深圳)有限公司 Method and system for supporting multiple-language user interface in mobile terminal
JP2011023802A (en) * 2009-07-13 2011-02-03 Denso Corp Inductive load controller
CN102104581A (en) * 2009-12-22 2011-06-22 康佳集团股份有限公司 Network karaoke on-demand system and method thereof
CN103412900A (en) * 2013-07-29 2013-11-27 宇龙计算机通信科技(深圳)有限公司 File downloading treatment method and terminal
CN104462210B (en) * 2014-11-04 2018-08-24 杭州网易云音乐科技有限公司 A kind of reminding method and equipment of audio file
CN105119975A (en) * 2015-07-21 2015-12-02 陈丹 Resource downloading method and resource downloading system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826034A (en) * 2010-05-13 2010-09-08 中兴通讯股份有限公司 Language switching method and device in Linux system
CN101916192A (en) * 2010-09-14 2010-12-15 深圳市华力特电气股份有限公司 Multi-language switching method and device for user interface
CN103019736A (en) * 2012-12-26 2013-04-03 广东欧珀移动通信有限公司 Language file generation method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113625683A (en) * 2021-07-23 2021-11-09 深圳市元征未来汽车技术有限公司 Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium
CN113625683B (en) * 2021-07-23 2023-02-24 深圳市元征科技股份有限公司 Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium

Also Published As

Publication number Publication date
CN106598568A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
WO2018076635A1 (en) Language text loading method and device
WO2020253034A1 (en) Client buried point test method, apparatus and device, and storage medium
WO2020015067A1 (en) Data acquisition method, device, equipment and storage medium
WO2018214320A1 (en) Database service logic monitoring method and system, and storage medium
WO2020087981A1 (en) Method and apparatus for generating risk control audit model, device and readable storage medium
WO2020119115A1 (en) Data verification method, device, apparatus, and storage medium
WO2013133530A1 (en) Electronic device to restore mbr, method thereof, and computer-readable medium
WO2020253112A1 (en) Test strategy acquisition method, device, terminal, and readable storage medium
WO2020233089A1 (en) Test case generating method and apparatus, terminal, and computer readable storage medium
WO2014189275A1 (en) Apparatus and method of recognizing external device in a communication system
WO2020233090A1 (en) Application configuration method, apparatus and device based on h5 page, and storage medium
WO2020015064A1 (en) System fault processing method, apparatus, device and storage medium
WO2020253116A1 (en) Batch data execution method, device, storage medium, and member host in cluster
WO2020233057A1 (en) File packaging method, apparatus and device, and storage medium
WO2013081234A1 (en) Method, recording medium, and electronic device for reducing boot time
WO2020073494A1 (en) Webpage backdoor detecting method, device, storage medium and apparatus
WO2020103275A1 (en) Money deduction control method, apparatus, and device, and readable storage medium
WO2019231194A1 (en) Method and system for detecting memory error
WO2020237859A1 (en) Data migration method employing nbd device, apparatus, device, and storage medium
WO2020233060A1 (en) Event notification method and apparatus, event notification server, and storage medium
WO2020186780A1 (en) User operation recording and restoring method and apparatus, device, and readable storage medium
WO2012022215A1 (en) Interaction method, device, and system for interactive message on internet
WO2020119565A1 (en) Control method for display panel, display panel and storage medium
WO2021072860A1 (en) Video decoding method, apparatus and device, and computer-readable storage medium
WO2017041544A1 (en) Method and device for acquiring web page content in android system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17865693

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17865693

Country of ref document: EP

Kind code of ref document: A1