Interface access method, display device and electronic equipment

文档序号:1314993 发布日期:2020-07-10 浏览:16次 中文

阅读说明:本技术 一种接口访问方法、显示装置及电子设备 (Interface access method, display device and electronic equipment ) 是由 公维冰 于 2020-03-24 设计创作,主要内容包括:本发明提供了一种接口访问方法、显示装置及电子设备,涉及显示技术领域。其中,该方法包括:屏幕菜单板卡在接收到麦克风音量界面的查看指令的情况下,按照预设访问方式周期性访问接口,预设访问方式包括在每个周期内,每执行第一预设次数的对麦克风音量数据的接口访问操作之后,执行第二预设次数的对视频通道接入状态数据的接口访问操作;屏幕菜单板卡通过接口,从现场可编程门阵列板卡中交错读取麦克风音量数据和视频通道接入状态数据。如此,可以实现屏幕菜单板卡与现场可编程门阵列板卡之间的接口的串行访问,避免了接口访问冲突,并且保证了麦克风音量数据和视频通道接入状态数据的实时性。(The invention provides an interface access method, a display device and electronic equipment, and relates to the technical field of display. Wherein, the method comprises the following steps: under the condition that a viewing instruction of the microphone volume interface is received, the screen menu board periodically accesses the interface according to a preset access mode, wherein the preset access mode comprises that in each period, after interface access operation on the microphone volume data is executed for a first preset number of times, interface access operation on video channel access state data is executed for a second preset number of times; and the screen menu board card reads the microphone volume data and the video channel access state data from the field programmable gate array board card in a staggered manner through the interface. Therefore, the serial access of the interface between the screen menu board card and the field programmable gate array board card can be realized, the interface access conflict is avoided, and the real-time performance of the microphone volume data and the video channel access state data is ensured.)

1. An interface access method is characterized in that the interface access method is applied to a display device, the display device comprises a screen menu board card and a field programmable gate array board card, the screen menu board card is connected with the field programmable gate array board card through an interface, and the method comprises the following steps:

under the condition that a viewing instruction of a volume interface of the audio input equipment is received, the screen menu board card periodically accesses the interface according to a preset access mode; the preset access mode comprises executing interface access operation on video channel access state data for a second preset number of times after executing interface access operation on audio input equipment volume data for a first preset number of times in each period;

and the screen menu board card reads the volume data of the audio input equipment and the access state data of the video channel in a staggered manner from the field programmable gate array board card through the interface.

2. The method of claim 1, further comprising:

when the screen menu board card receives an audio setting instruction, target data indicated by the audio setting instruction is read from the field programmable gate array board card through the interface;

the screen menu board card updates the target data according to the audio setting instruction, and sends the updated target data to the field programmable gate array board card through the interface;

and the field programmable gate array board card generates and outputs a video image comprising an audio setting interface according to the updated target data.

3. The method according to claim 2, wherein before reading the target data indicated by the audio setting instruction from the field programmable gate array board through the interface, the method further comprises:

and after receiving a viewing instruction of the volume interface of the audio input equipment, the screen menu board suspends the periodical access to the interface according to the preset access mode when receiving the audio setting instruction.

4. The method of claim 2, wherein after the on-screen menu board updates the target data according to the audio setting instruction and sends the updated target data to the field programmable gate array board through the interface, the method further comprises:

and before the audio input equipment volume interface is closed, the screen menu board card resumes to periodically access the interface according to the preset access mode.

5. The method of claim 1, further comprising:

and under the condition that the volume interface of the audio input equipment is closed, the screen menu board card periodically executes interface access operation on the video channel access state data.

6. The method of claim 1, further comprising:

when the field programmable gate array board card detects that the video channel access state is a preset state and detects that the video channel access state data is subjected to interface access operation by the screen menu board card, the video channel access state data in the preset state is sent to the screen menu board card through the interface.

7. The method according to claim 6, wherein the preset state comprises at least one of a state where each video channel has an access signal, a state where each video channel has no access signal, a state where each video channel has an access signal format supported, and a state where each video channel has no access signal format supported.

8. The method of claim 1, further comprising:

the method comprises the steps that when a display instruction of a preset pop-up box is received, a display position corresponding to the preset pop-up box is determined by the screen menu board card;

the screen menu board card acquires the parameters to be displayed corresponding to the preset pop-up frame, and sends the parameters to be displayed and the display position to the field programmable gate array board card;

the field programmable gate array board card generates pop-up frame display data according to the parameter to be displayed;

the field programmable gate array board card splices the pop-up frame display data to the display position in the video image to be displayed to obtain a target video image comprising the preset pop-up frame;

and the field programmable gate array board card outputs the target video image.

9. The method of claim 8, wherein the preset pop-up box comprises at least one of a video channel access status prompt pop-up box and a play volume adjustment pop-up box.

10. The method of claim 8, further comprising:

the screen menu board sends a display stopping instruction of the screen menu interface to the field programmable gate array board card under the condition that the display instruction of the preset pop-up box is received and the screen menu interface is displayed;

and when the field programmable gate array board card receives the display stopping instruction, stopping outputting the video image comprising the screen menu interface.

11. The method of claim 10, wherein the on-screen menu interface comprises an audio input device volume interface and an audio setting interface.

12. A display device is characterized by comprising a screen menu board card and a field programmable gate array board card, wherein the screen menu board card is connected with the field programmable gate array board card through an interface;

the screen menu board card is configured to periodically access the interface according to a preset access mode under the condition that a viewing instruction of an audio input device volume interface is received, and the audio input device volume data and the video channel access state data are read from the field programmable gate array board card in an interlaced mode through the interface; the preset access mode comprises executing interface access operation on video channel access state data for a second preset number of times after executing interface access operation on audio input equipment volume data for a first preset number of times in each period;

the field programmable gate array board card is configured to send the audio input device volume data to the on-screen menu board card when an access request operation for the audio input device volume data is detected, and send the video channel access state data to the on-screen menu board card when an access request operation for the video channel access state data is detected.

13. The display device of claim 12, wherein the interface comprises an integrated circuit bus interface.

14. The display device according to any one of claims 12 to 13, wherein the display device further comprises a display screen, and the display screen is connected with the field programmable gate array board.

15. An electronic device characterized by comprising the display device according to any one of claims 12 to 14.

Technical Field

The present invention relates to the field of display technologies, and in particular, to an interface access method, a display device, and an electronic device.

Background

In a display device such as a high-resolution monitor, in addition to a display screen, two kinds of interfaces are generally displayed, one is an On Screen Display (OSD) for displaying setting information such as contrast, and the other is a pop-up box for displaying related attributes such as playback volume and access signal. The OSD interface and the pop-up box are both displayed and managed by the OSD application.

At present, all setting operations for display in OSD application are implemented by sending a command to an FPGA (Field Programmable Gate Array) board card through an interface by an OSD board card, the interface is used as a shared device, only one read or write operation is allowed at each moment, in the current application, many threads in the OSD application can access the interface of the FPGA board card, and multiple threads simultaneously perform read or write operations on the interface, which can cause access conflicts of the interface.

Disclosure of Invention

The invention provides an interface access method, a display device and electronic equipment, and aims to solve the problem that access conflicts can occur to interfaces when multiple threads in screen menu application access the interfaces of a field programmable gate array board card simultaneously.

In order to solve the above problems, the present invention discloses an interface access method, which is applied to a display device, wherein the display device includes a screen menu board and a field programmable gate array board, the screen menu board is connected with the field programmable gate array board through an interface, and the method includes:

under the condition that a viewing instruction of a volume interface of the audio input equipment is received, the screen menu board card periodically accesses the interface according to a preset access mode; the preset access mode comprises executing interface access operation on video channel access state data for a second preset number of times after executing interface access operation on audio input equipment volume data for a first preset number of times in each period;

and the screen menu board card reads the volume data of the audio input equipment and the access state data of the video channel in a staggered manner from the field programmable gate array board card through the interface.

Optionally, the method further comprises:

when the screen menu board card receives an audio setting instruction, target data indicated by the audio setting instruction is read from the field programmable gate array board card through the interface;

the screen menu board card updates the target data according to the audio setting instruction, and sends the updated target data to the field programmable gate array board card through the interface;

and the field programmable gate array board card generates and outputs a video image comprising an audio setting interface according to the updated target data.

Optionally, before the reading, by the interface, the target data indicated by the audio setting instruction from the field programmable gate array board, the method further includes:

and after receiving a viewing instruction of the volume interface of the audio input equipment, the screen menu board suspends the periodical access to the interface according to the preset access mode when receiving the audio setting instruction.

Optionally, after the screen menu board updates the target data according to the audio setting instruction and sends the updated target data to the field programmable gate array board through the interface, the method further includes:

and before the audio input equipment volume interface is closed, the screen menu board card resumes to periodically access the interface according to the preset access mode.

Optionally, the method further comprises:

and under the condition that the volume interface of the audio input equipment is closed, the screen menu board card periodically executes interface access operation on the video channel access state data.

Optionally, the method further comprises:

when the field programmable gate array board card detects that the video channel access state is a preset state and detects that the video channel access state data is subjected to interface access operation by the screen menu board card, the video channel access state data in the preset state is sent to the screen menu board card through the interface.

Optionally, the preset state includes at least one of a state where each video channel has an access signal, a state where each video channel has no access signal, a state where each video channel has an access signal format supported, and a state where each video channel has an access signal format unsupported.

Optionally, the method further comprises:

the method comprises the steps that when a display instruction of a preset pop-up box is received, a display position corresponding to the preset pop-up box is determined by the screen menu board card;

the screen menu board card acquires the parameters to be displayed corresponding to the preset pop-up frame, and sends the parameters to be displayed and the display position to the field programmable gate array board card;

the field programmable gate array board card generates pop-up frame display data according to the parameter to be displayed;

the field programmable gate array board card splices the pop-up frame display data to the display position in the video image to be displayed to obtain a target video image comprising the preset pop-up frame;

and the field programmable gate array board card outputs the target video image.

Optionally, the preset pop-up box includes at least one of a video channel access state prompt pop-up box and a play volume adjustment pop-up box.

Optionally, the method further comprises:

the screen menu board sends a display stopping instruction of the screen menu interface to the field programmable gate array board card under the condition that the display instruction of the preset pop-up box is received and the screen menu interface is displayed;

and when the field programmable gate array board card receives the display stopping instruction, stopping outputting the video image comprising the screen menu interface.

Optionally, the on-screen menu interface includes an audio input device volume interface and an audio setting interface.

In order to solve the problems, the invention also discloses a display device which comprises a screen menu board card and a field programmable gate array board card, wherein the screen menu board card is connected with the field programmable gate array board card through an interface;

the screen menu board card is configured to periodically access the interface according to a preset access mode under the condition that a viewing instruction of an audio input device volume interface is received, and the audio input device volume data and the video channel access state data are read from the field programmable gate array board card in an interlaced mode through the interface; the preset access mode comprises executing interface access operation on video channel access state data for a second preset number of times after executing interface access operation on audio input equipment volume data for a first preset number of times in each period;

the field programmable gate array board card is configured to send the audio input device volume data to the on-screen menu board card when an access request operation for the audio input device volume data is detected, and send the video channel access state data to the on-screen menu board card when an access request operation for the video channel access state data is detected.

Optionally, the interface comprises an integrated circuit bus interface.

Optionally, the display device further comprises a display screen, and the display screen is connected with the field programmable gate array board card.

In order to solve the above problem, the invention also discloses an electronic device comprising the above display device.

Compared with the prior art, the invention has the following advantages:

in the embodiment of the present invention, when receiving a viewing instruction of a volume interface of an audio input device triggered by a user, a screen menu board of a display apparatus may periodically access the interface according to a preset access manner, where the preset access manner includes executing, in each period, a second preset number of interface access operations on video channel access state data after executing a first preset number of interface access operations on volume data of the audio input device. Then, the screen menu board card can read the volume data of the audio input device and the access state data of the video channel from the field programmable gate array board card in a staggered manner through the interface between the screen menu board card and the field programmable gate array board card of the display device, so that the serial access of the interface is realized, the interface access conflict is avoided, and the real-time performance of the volume data of the audio input device and the access state data of the video channel is ensured.

Drawings

Fig. 1 is a flowchart illustrating an interface access method according to a first embodiment of the present invention;

FIG. 2 is a schematic diagram showing a basic structure of an 8K monitor according to a first embodiment of the present invention;

FIG. 3 is a basic functional diagram of an 8K monitor according to a first embodiment of the present invention;

FIG. 4 is a diagram illustrating an audio setting interface and an audio input device volume interface being the same OSD interface according to a first embodiment of the invention;

FIG. 5 is a flow chart of another interface access method according to the first embodiment of the present invention;

fig. 6 is a schematic display diagram illustrating a pop-up box for prompting an access status of a video channel according to a first embodiment of the present invention;

fig. 7 is a schematic diagram illustrating a display of a play volume adjustment pop-up box according to a first embodiment of the present invention;

fig. 8 is a block diagram showing a display device according to a second embodiment of the present invention.

Detailed Description

In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:影像处理电路

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类