A kind of OSD language upgrade method, apparatus, electronic equipment and storage medium

文档序号:1759124 发布日期:2019-11-29 浏览:10次 中文

阅读说明:本技术 一种osd语言升级方法、装置、电子设备及存储介质 (A kind of OSD language upgrade method, apparatus, electronic equipment and storage medium ) 是由 李金锦 于 2019-09-03 设计创作,主要内容包括:本发明实施例公开了一种OSD语言升级方法、装置、电子设备及存储介质,所述方法包括:当设备上电开机时,若接收到屏幕显示OSD语言的升级指令时,获取目标OSD字符串集;将所述目标OSD字符串集存储至所述设备的预设存储分区;其中,所述目标OSD字符串集包括至少两种语种的OSD语言。通过采用上述技术方案,实现了在无需修改设备软件的前提下对OSD语言进行升级,进而满足不同语种的需求。(The embodiment of the invention discloses a kind of OSD language upgrade method, apparatus, electronic equipment and storage mediums, which comprises when device power booting, if receive the upgrade command of screen display OSD language, obtains target OSD character trail;The target OSD character trail is stored to the default partition holding of the equipment;Wherein, the target OSD character trail includes the OSD language of at least two languages.By using above-mentioned technical proposal, realizes and OSD language is upgraded under the premise of it is not necessary to modify device software, and then meet the needs of different language.)

1. a kind of OSD language upgrade method characterized by comprising

When device power booting, if receive the upgrade command of screen display OSD language, target OSD character trail is obtained;

The target OSD character trail is stored to the default partition holding of the equipment;

Wherein, the target OSD character trail includes the OSD language of at least two languages.

2. the method according to claim 1, wherein further include:

When receiving OSD language idsplay order, the languages mark of the currently employed OSD language of the equipment is detected;

OSD language character string to be shown is obtained based on languages mark;

The display of target object is realized by the OSD language character string to be shown.

3. according to the method described in claim 2, it is characterized in that, obtaining OSD language word to be shown based on languages mark Symbol string, comprising:

The identity ID of OSD language character string to be shown is determined based on languages mark;

It is to be shown from the default partition holding acquisition by obtaining function according to the ID of the OSD language character string to be shown OSD language character string, and the OSD language character to be shown is serially added and is loaded onto device memory;

Wherein, the acquisition function is the power function being preset in the device software, the device system software and is answered Has the calling permission for obtaining function with APP.

4. method according to claim 1-3, which is characterized in that the acquisition target OSD character trail, packet It includes:

The target OSD character trail is obtained from network server;

Or the target OSD character trail is obtained from the USB flash disk for being connected to the equipment.

5. method according to claim 1-3, which is characterized in that the equipment includes television set.

6. method according to any one of claim 1-3, which is characterized in that the target OSD character trail includes English Literary OSD language and Chinese OSD language.

7. a kind of OSD language upgrade device, which is characterized in that described device includes:

If first obtains module, for receive the upgrade command of screen display OSD language, obtaining when device power booting Take target OSD character trail;

Memory module, for storing the target OSD character trail to the default partition holding of the equipment;

Wherein, the target OSD character trail includes the OSD language of at least two languages.

8. device according to claim 7, which is characterized in that further include:

Detection module, for when receiving OSD language idsplay order, detecting the currently employed OSD language of the equipment Languages mark;

Second obtains module, for obtaining OSD language character string to be shown based on languages mark;

Display module, for realizing the display of target object by the OSD language character string to be shown.

9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor is realized as described in any one of claim 1-6 when executing the computer program OSD language upgrade method.

10. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal Such as OSD language upgrade method of any of claims 1-6 is realized when device executes.

Technical field

The present embodiments relate to technical field of television sets more particularly to a kind of OSD language upgrade method, apparatus, electronics Equipment and storage medium.

Background technique

OSD (On Screen Display, screen are shown) language is some special for generating in the screen of display Font or figure, to allow user to obtain the character of some messages.It is common in the display screen of domestic television set or PC On.Such as when user's operation television set zapping or adjustment volume, image quality, TV screen will show current volume or picture Matter state, so that user knows.Any position on screen may be implemented by OSD language and show some special fonts and figure Shape is that message important in man-machine interface generates element.

Currently, the OSD language in television set is usually to be preset together with software in the development process of TV set software Into television set, and then pass through UI (User Interface, user interface) interactive module based on preset OSD language in TV Some figures or font are shown on the screen of machine.Such as the television set in Chinese market, preset OSD language are Chinese OSD Language, the television set in Thailand market, preset OSD language are Thai OSD language.

However as going from strength to strength for overseas market, television set is exported to more and more countries, is many times being opened When the hair stage sets up the project, some countries are not accounted for, and the order of these countries is connected to the later period, are so caused without maturation Available OSD language translation, to seriously affect the development progress of project.

Summary of the invention

The embodiment of the present invention provides a kind of OSD language upgrade method, apparatus, electronic equipment and storage medium, by described Method can upgrade OSD language under the premise of it is not necessary to modify device software, and then meet the needs of different language.

In a first aspect, the embodiment of the invention provides a kind of OSD language upgrade methods, which comprises

When device power booting, if receive the upgrade command of screen display OSD language, target OSD character is obtained Trail;

The target OSD character trail is stored to the default partition holding of the equipment;

Wherein, the target OSD character trail includes the OSD language of at least two languages.

Further, the method also includes:

When receiving OSD language idsplay order, the languages mark of the currently employed OSD language of the equipment is detected;

OSD language character string to be shown is obtained based on languages mark;

The display of target object is realized by the OSD language character string to be shown.

Further, OSD language character string to be shown is obtained based on languages mark, comprising:

The identity ID of OSD language character string to be shown is determined based on languages mark;

It is obtained from the default partition holding to aobvious according to the ID of the OSD language character string to be shown by obtaining function Show OSD language character string, and the OSD language character to be shown is serially added and is loaded onto device memory;

Wherein, the acquisition function is the power function being preset in the device software, the device system software with And has the calling permission for obtaining function using APP.

Further, the acquisition target OSD character trail, comprising:

The target OSD character trail is obtained from network server;

Or the target OSD character trail is obtained from the USB flash disk for being connected to the equipment.

Further, the equipment includes television set.

Further, the target OSD character trail includes English OSD language and Chinese OSD language.

Second aspect, the embodiment of the invention provides a kind of OSD language upgrade device, described device includes:

First obtains module, is used for when device power booting, if receiving the upgrade command that screen shows OSD language When, obtain target OSD character trail;

Memory module, for storing the target OSD character trail to the default partition holding of the equipment;

Wherein, the target OSD character trail includes the OSD language of at least two languages.

The third aspect the embodiment of the invention provides a kind of electronic equipment, including memory, processor and is stored in storage On device and the computer program that can run on a processor, the processor realizes such as above-mentioned the when executing the computer program OSD language upgrade method described in one side.

Fourth aspect, the embodiment of the invention provides a kind of storage medium comprising computer executable instructions, the meters Calculation machine executable instruction realizes the OSD language upgrade method as described in above-mentioned first aspect when being executed as computer processor.

A kind of OSD language upgrade method provided in an embodiment of the present invention, by when device power is switched on, if receiving screen When the upgrade command of curtain display OSD language, target OSD character trail is obtained;The target OSD character trail is stored to described The default partition holding of equipment;Wherein, the target OSD character trail includes the technology hand of the OSD language of at least two languages Section, realizes and upgrades under the premise of it is not necessary to modify device software to OSD language, and then meet the needs of different language.

Detailed description of the invention

To describe the technical solutions in the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also implement according to the present invention The content of example and these attached drawings obtain other attached drawings.

Fig. 1 is a kind of OSD language upgrade method flow schematic diagram that the embodiment of the present invention one provides;

Fig. 2 is a kind of OSD language upgrade method flow schematic diagram provided by Embodiment 2 of the present invention;

Fig. 3 is a kind of application APP, acquisition function GetString () and OSD language library provided by Embodiment 2 of the present invention Between relation schematic diagram;

Fig. 4 is a kind of course of work schematic diagram of software module provided by Embodiment 2 of the present invention;

Fig. 5 is a kind of OSD language upgrade apparatus structure schematic diagram that the embodiment of the present invention three provides;

Fig. 6 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention four provides.

Specific embodiment

To keep the technical problems solved, the adopted technical scheme and the technical effect achieved by the invention clearer, below It will the technical scheme of the embodiment of the invention will be described in further detail in conjunction with attached drawing, it is clear that described embodiment is only It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种显示控制方法及服务器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类