JP2003108366A - Display device and random number generation method thereof - Google Patents

Display device and random number generation method thereof

Info

Publication number
JP2003108366A
JP2003108366A JP2001295525A JP2001295525A JP2003108366A JP 2003108366 A JP2003108366 A JP 2003108366A JP 2001295525 A JP2001295525 A JP 2001295525A JP 2001295525 A JP2001295525 A JP 2001295525A JP 2003108366 A JP2003108366 A JP 2003108366A
Authority
JP
Japan
Prior art keywords
random number
display
display image
timing
number generation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001295525A
Other languages
Japanese (ja)
Inventor
Shinichi Tsukagoshi
真一 塚越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2001295525A priority Critical patent/JP2003108366A/en
Publication of JP2003108366A publication Critical patent/JP2003108366A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a display device and a random number generation method of the display device that cancel regularity latent in a random number generation function even if display processing according to the same processing flow is performed based on generated random numbers. SOLUTION: The display device has a random number generation means that generates random numbers using the random number generation function, a display image sending means that selects and sends out one of more than one display image based on the generated random number, and a display means that receives and displays the display image in synchronization with a display timing. The random number generation means, during the wait time for the display timing, continuously generates, at idle, random numbers not used for the selection of display images using the random number generation function.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、パチンコ機などの
遊技機や懸賞(当たり)付きの自動販売機などで利用さ
れる表示装置およびその乱数発生方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display device used in a gaming machine such as a pachinko machine or a vending machine with a prize (win), and a random number generating method thereof.

【0002】[0002]

【従来の技術】従来から、この種の表示装置では、例え
ば乱数発生関数などの既存の乱数発生機能を利用して、
必要に応じて乱数を発生させ、予め用意された複数の表
示画像のうちの1の表示内容(表示画像)を、その乱数
に基づいて選択して表示する。そして、この種の乱数発
生機能には、情報処理上の扱いが容易であるという長所
があり、多用されている。
2. Description of the Related Art Conventionally, in a display device of this type, an existing random number generating function such as a random number generating function is used,
A random number is generated as needed, and one display content (display image) of a plurality of display images prepared in advance is selected and displayed based on the random number. The random number generating function of this type has an advantage that it can be easily handled in information processing and is widely used.

【0003】[0003]

【発明が解決しようとする課題】ただし、その反面、こ
の種の乱数発生機能は、乱数とは言っても、期間は長い
ものの一定の(数値上の)周期があり、厳密な意味での
乱数とは言い難い。また、電源投入時等の初期設定時に
おいて、人手操作などの不確定要素となる外乱(イベン
ト)が発生するまでの期間では、任意の1の発生回数目
の数値(発生値)が、毎回、同じ値となる。すなわち、
例えば乱数発生関数の引数などの乱数発生のための基と
なる数値が、毎回、同一となってしまうため、乱数と言
いつつも同じ数値を発生することになり、これにより、
毎回の表示内容に規則性が生じる。
On the other hand, on the other hand, this kind of random number generating function has a fixed (numerical) period although the period is long, and the random number in a strict sense. It is hard to say. In addition, at the time of initial setting such as power-on, until a disturbance (event) that becomes an uncertain factor such as human operation occurs, the numerical value (occurrence value) of any one occurrence frequency is It will be the same value. That is,
For example, since the numerical value that is the basis for random number generation such as the argument of the random number generation function becomes the same each time, the same numerical value is generated even though it is called a random number.
There is regularity in the content displayed each time.

【0004】本発明は、発生した乱数に基づいて同一処
理フローに従った表示処理を行う場合であっても、乱数
発生機能に潜在する規則性を打ち消すことができる表示
装置および表示装置の乱数発生方法を提供することを目
的とする。
According to the present invention, a display device and a random number generator of the display device capable of canceling the regularity latent in the random number generating function even when the display process according to the same processing flow is performed based on the generated random number. The purpose is to provide a method.

【0005】[0005]

【課題を解決するための手段】本発明の請求項1の表示
装置は、乱数発生機能を利用して乱数を発生させる乱数
発生手段と、発生した前記乱数に基づいて複数の表示画
像のうちの1の表示画像を選択して送出する表示画像送
出手段と、表示タイミングに同期して前記表示画像を受
信して表示する表示手段と、を備え、前記乱数発生手段
は、前記表示タイミングの待ち時間内に、前記乱数発生
機能を利用して、前記表示画像の選択に使用しない乱数
を連続的に空発生させることを特徴とする。
The display device according to claim 1 of the present invention is a random number generating means for generating a random number by utilizing a random number generating function, and a plurality of display images based on the generated random number. No. 1 display image is selected and transmitted, and display means for receiving and displaying the display image in synchronization with the display timing is provided. It is characterized in that the random number generating function is utilized to continuously generate a random number which is not used for selecting the display image.

【0006】この表示装置では、乱数発生機能を利用し
て乱数を発生させ、発生した乱数に基づいて複数の表示
画像のうちの1の表示画像を選択して、表示タイミング
に同期して表示画像を表示手段に表示する一方、乱数発
生手段は、表示タイミングの待ち時間内に、乱数発生機
能を利用して、前記表示画像の選択に使用しない乱数を
連続的に空発生させる。ここで、表示画像データは、そ
の容量的規模が通常の数値データに比べて桁違いに大き
いため、その処理(画像処理)には桁違いに長い処理時
間を要し、表示タイミングの待ち時間内(例えばミリ秒
単位)には、膨大な回数(例えば1回当たりマイクロ秒
単位として10の3乗単位の回数)の乱数を発生でき
る。このため、表示タイミングの単位で見ると同一タイ
ミングに見えるタイミングであっても、その表示タイミ
ング前後の(メモリアクセス競合などによる)処理量の
違いやハードウェアの微妙な違い(電源の揺れなど)に
より、乱数を発生させる回数(実行回数)には、ばらつ
きが生じる。すなわち、この結果、既存の乱数発生機能
を利用して発生した乱数に基づいて同一処理フローに従
った表示処理を行う場合であっても、乱数発生機能に潜
在する規則性を打ち消すことができる。
In this display device, a random number is generated by utilizing a random number generation function, one display image of a plurality of display images is selected based on the generated random number, and the display image is synchronized with the display timing. On the other hand, the random number generating means uses the random number generating function to continuously generate a random number that is not used for selecting the display image within the waiting time of the display timing. Here, since the display image data has an order of magnitude larger than the normal numerical value data, its processing (image processing) requires an order of magnitude longer processing time, and the display timing data does not exceed the waiting time of the display timing. In (for example, the unit of millisecond), a huge number of times (for example, the number of times of the cube of 10 as the unit of microsecond per one time) can be generated. Therefore, even if the timings that look the same in display timing units, due to differences in the processing amount before and after the display timing (due to memory access contention, etc.) and subtle hardware differences (such as power fluctuations) The number of times a random number is generated (the number of executions) varies. That is, as a result, even if the display process is performed according to the same process flow based on the random number generated by using the existing random number generation function, the regularity latent in the random number generation function can be canceled.

【0007】また、請求項1の表示装置において、前記
表示タイミングは、前記表示手段に表示させるための垂
直同期および水平同期のいずれか少なくとも一方に基づ
くタイミングであることが好ましい。
Further, in the display device of claim 1, it is preferable that the display timing is a timing based on at least one of vertical synchronization and horizontal synchronization for displaying on the display means.

【0008】この表示装置では、表示タイミングは、表
示手段に表示させるための垂直同期および水平同期のい
ずれか少なくとも一方に基づくタイミングである。表示
タイミングとなる垂直同期や水平同期に対して、数値処
理の処理期間は一般に桁違いに短くて済むため、これら
の表示タイミングの合間に十分に短い間隔で連続的に膨
大な回数の乱数を発生させることができ、これらの表示
タイミングの微妙なばらつきを利用して発生回数(乱数
発生実行回数)を変化させ、規則性を打ち消すことでき
る。
In this display device, the display timing is a timing based on at least one of vertical synchronization and horizontal synchronization for displaying on the display means. Generally, the processing period for numerical processing can be orders of magnitude shorter than the vertical and horizontal synchronizations that are the display timing, so a huge number of random numbers are generated continuously at sufficiently short intervals between these display timings. It is possible to change the number of times of occurrence (number of times of random number generation execution) by utilizing these slight variations in the display timing to cancel the regularity.

【0009】また、請求項3の表示装置は、乱数発生機
能を利用して乱数を発生させる乱数発生手段と、発生し
た前記乱数に基づいて複数の表示画像のうちの1の表示
画像を選択する表示画像選択手段と、外部装置に対して
その外部装置の受信タイミングに同期するように、前記
表示画像を送信する表示画像送信手段と、を備え、前記
乱数発生手段は、前記受信タイミングの待ち時間の間
に、前記乱数発生機能を利用して、前記表示画像の選択
に使用しない乱数を連続的に空発生させることを特徴と
する。
According to another aspect of the display device of the present invention, a random number generating means for generating a random number by utilizing a random number generating function and one of the plurality of display images are selected based on the generated random number. The random number generating means includes a display image selecting means and a display image transmitting means for transmitting the display image to an external device so as to be synchronized with the reception timing of the external device. During the period, the random number generating function is utilized to continuously generate a random number not used for selecting the display image.

【0010】この表示装置では、乱数発生機能を利用し
て乱数を発生させ、発生した乱数に基づいて複数の表示
画像のうちの1の表示画像を選択して、外部装置に対し
てその受信タイミングに同期するように表示画像を送信
する一方、乱数発生手段は、そのタイミングの待ち時間
内に、乱数発生機能を利用して、前記表示画像の選択に
使用しない乱数を連続的に空発生させる。ここで、一般
に、外部装置との送受信は、内部における乱数発生等の
数値処理に対して桁違いに長い処理時間を要するので、
外部装置の受信タイミングの期間には、膨大な回数の乱
数を発生でき、その受信タイミングの微妙な違いによ
り、乱数発生実行回数には、ばらつきが生じる。この結
果、既存の乱数発生機能を利用して発生した乱数に基づ
いて同一処理フローに従った表示処理を行う場合であっ
ても、乱数発生機能に潜在する規則性を打ち消すことが
できる。
In this display device, a random number is generated by using the random number generation function, one display image of a plurality of display images is selected based on the generated random number, and the reception timing is received by the external device. While transmitting the display image so as to be synchronized with, the random number generating means continuously generates a random number that is not used for selecting the display image by utilizing the random number generating function within the waiting time of the timing. Here, in general, transmission / reception with an external device requires an order of magnitude longer processing time than numerical processing such as internal random number generation,
A large number of random numbers can be generated during the reception timing of the external device, and the number of times of random number generation execution varies due to the subtle difference in the reception timing. As a result, even if the display process is performed according to the same process flow based on the random number generated by using the existing random number generation function, it is possible to cancel the regularity latent in the random number generation function.

【0011】また、請求項4の表示装置の乱数発生方法
は、乱数発生機能を利用して発生した乱数に基づいて複
数の表示画像のうちの1の表示画像を選択して表示タイ
ミングに同期して前記表示画像を表示手段に表示させる
表示装置において、前記乱数を発生させるための表示装
置の乱数発生方法であって、前記表示タイミングの待ち
時間内に、前記乱数発生機能を利用して、前記表示画像
の選択に使用しない乱数を連続的に空発生させることを
特徴とする。
Further, in the random number generating method of the display device according to the fourth aspect, one display image of the plurality of display images is selected based on the random number generated by utilizing the random number generating function and is synchronized with the display timing. A display device for displaying the display image on a display means by a random number generation method for the display device for generating the random number, wherein the random number generation function is used within a waiting time of the display timing, It is characterized by continuously generating random numbers that are not used for selecting a display image.

【0012】この乱数発生方法では、乱数発生機能を利
用して発生した乱数に基づいて複数の表示画像のうちの
1の表示画像を選択して表示タイミングに同期して表示
画像を表示手段に表示させる表示装置に適用され、表示
タイミングの待ち時間内に、乱数発生機能を利用して、
前記表示画像の選択に使用しない乱数を連続的に空発生
させることにより、表示タイミングの微妙なばらつきを
利用して発生回数(乱数発生実行回数)を変化させ、規
則性を打ち消すことできる。 [発明の詳細な説明]
In this random number generation method, one display image of a plurality of display images is selected based on the random number generated by utilizing the random number generation function, and the display image is displayed on the display means in synchronization with the display timing. Applied to the display device, within the waiting time of the display timing, using the random number generation function,
By continuously generating random numbers that are not used for selecting the display image, it is possible to cancel the regularity by changing the number of times of occurrence (the number of times of random number generation execution) by utilizing the subtle variation in display timing. [Detailed Description of the Invention]

【0013】[0013]

【発明の実施の形態】以下、本発明の一実施形態に係る
表示装置について、添付図面を参照しながら詳細に説明
する。
DETAILED DESCRIPTION OF THE INVENTION A display device according to an embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

【0014】図1および図2に示すように、まず、本実
施形態の表示装置1は、制御装置50からコマンドポー
トCPを介してコマンド(図2のCMD参照)を受信し
(S2)、その受信コマンドに従って、その後の表示処
理の展開(新ストーリー展開)のための次(回)の表示
画像を決定して(S3)、表示パネル(表示手段)20
の表示タイミングに同期した表示処理を行うものであ
る。
As shown in FIGS. 1 and 2, first, the display device 1 of the present embodiment receives a command (see CMD in FIG. 2) from the control device 50 via the command port CP (S2), In accordance with the received command, the next (time) display image for subsequent development of display processing (new story development) is determined (S3), and the display panel (display means) 20.
The display processing is performed in synchronization with the display timing of.

【0015】この表示装置1は、図示のように、制御装
置50からのコマンドCMDに従って表示装置1全体を
制御する制御部10と、垂直同期(Vsync )信号VS
(図2参照)のタイミングに同期して制御部10から表
示画像(データ)を受信して表示する表示パネル20
と、表示候補となる複数の表示画像データを記憶する表
示画像データ用ROM(Computer-Graphics ROM:以下
「CG−ROM」)30と、例えば試作時のモニタなど
の外部装置60に対してコネクタ41を介して表示デー
タを出力する表示データ出力回路40と、を備えてい
る。
As shown in the figure, the display device 1 includes a control unit 10 for controlling the entire display device 1 in accordance with a command CMD from a control device 50, and a vertical synchronization (Vsync) signal VS.
A display panel 20 that receives and displays a display image (data) from the control unit 10 in synchronization with the timing (see FIG. 2).
And a display image data ROM (Computer-Graphics ROM: hereinafter referred to as “CG-ROM”) 30 for storing a plurality of display image data as display candidates, and a connector 41 to an external device 60 such as a monitor at the time of trial manufacture. And a display data output circuit 40 for outputting display data via the.

【0016】制御部10は、図1に示すように、制御の
中心となってコマンドポートCPを介してコマンドCM
Dを受信してそれに従った各種制御を行うCPU101
と、そのCPU101からの指令に従って表示画像デー
タの送受信制御を司るビデオ表示用プロセッサ(Video
Display Processor:以下「VDP」)102と、その表
示画像データ送受信のための作業領域となるビデオRA
M(以下「VRAM」)103と、ファームROM10
4aやホストRAM104b等を含むその他の回路(E
TC)104と、を備えている。
As shown in FIG. 1, the control unit 10 becomes the center of control and executes the command CM via the command port CP.
CPU 101 that receives D and performs various controls according to it
And a video display processor (Video) that controls transmission / reception of display image data in accordance with an instruction from the CPU 101.
Display Processor: "VDP") 102 and a video RA that serves as a work area for transmitting and receiving the display image data.
M (hereinafter “VRAM”) 103 and firmware ROM 10
4a and other circuits including the host RAM 104b (E
TC) 104.

【0017】図2に示すように、電源ONにより起動さ
れると、表示装置1では、まず、初期設定を行い(S
1)、次いで、受信コマンド処理を行い(S2)、制御
装置50からのコマンド受信による割込(CMD)が発
生しているときには、そのコマンドCMDに従って、そ
れによる新ストーリー展開のための次回の表示画像を決
定する一方、新たなコマンドを受信していないときに
は、元のストーリー展開(旧ストーリー展開)のための
次回の表示画像を決定する(S3)。
As shown in FIG. 2, when the power is turned on, the display device 1 first performs initial setting (S
1) Next, the received command process is performed (S2), and when an interrupt (CMD) due to the command reception from the control device 50 is occurring, the next display for developing a new story by the command CMD is generated. While the image is determined, when the new command is not received, the next display image for the original story development (old story development) is determined (S3).

【0018】ただし、この場合、次回の表示画像の決定
のために、乱数発生関数(を利用した乱数発生機能)に
より乱数を発生させ(RDM)、その乱数に基づいて、
表示画像の複数の候補の中から、次回の表示画像を選択
して決定する。また、下記の時刻管理(S52)の結果
を参照する(図示一点鎖線)。すなわち、次回の表示画
像は、受信コマンドの有無と、発生させた乱数(数値)
と、時刻管理の結果に基づいて決定される。なお、この
場合、表示パネル20に対しては、前回の表示画像によ
る表示画像データの送出が行われているので、ここでは
次回の表示画像の決定のみ行って(S3)、表示パネル
20の表示タイミング、すなわち表示画像データ送出の
トリガとなる垂直同期信号(以下「Vsync信号」)
VSの入力(割込)を待つ(S4)。
However, in this case, in order to determine the next display image, a random number is generated by a random number generating function (random number generating function utilizing) (RDM), and based on the random number,
The next display image is selected and determined from the plurality of display image candidates. Further, the following result of time management (S52) is referred to (indicated by a dashed line). That is, the next display image is the presence / absence of a received command and the generated random number (numerical value).
And, it is decided based on the result of time management. In this case, since the display image data based on the previous display image is transmitted to the display panel 20, only the next display image is determined here (S3), and the display of the display panel 20 is performed. Timing, that is, a vertical synchronization signal (hereinafter referred to as “Vsync signal”) that triggers display image data transmission.
Wait for VS input (interrupt) (S4).

【0019】次に、Vsync信号の入力があった時点
で、次の表示画像送出処理に移行する(S5)。ここで
は、表示のために用意(作成)してあった前回の表示画
像データの送出を行う(表示する)のと並行して、次回
の(新または旧ストーリー展開に従った)表示画像デー
タを作成(描画)する(S51)。また、この場合、描
画(画像の作成)に時間が掛かり、次のVsync信号
までに作成が間に合わないときには、次回の表示画像作
成(描画)は行わない旨を、(図示一点鎖線により)次
回の表示画像決定処理(S3)において参照するため
に、時刻管理を行う(S52)。
Next, when the Vsync signal is input, the process proceeds to the next display image transmitting process (S5). Here, in parallel with sending (displaying) the previous display image data that was prepared (created) for display, the next (following new or old story development) display image data Create (draw) (S51). Further, in this case, if it takes time to draw (create an image) and the creation is not completed by the next Vsync signal, it is stated that the next display image creation (drawing) is not performed (indicated by a dashed line in the figure). Time management is performed (S52) for reference in the display image determination process (S3).

【0020】そして、表示画像送出処理によりその回の
表示が終了すると(S5)、同様に、次回の受信コマン
ド処理(S2)〜表示画像送出処理(S5)のループ処
理を行う。
When the display for that time is completed by the display image transmission processing (S5), the loop processing of the next reception command processing (S2) to display image transmission processing (S5) is performed in the same manner.

【0021】ところで、本実施形態の表示装置1では、
電源ONから最初のコマンドを受信するまでの期間の処
理は、処理フロー上、毎回、同一処理となる。また、表
示画像決定処理(S3)では、乱数を発生させて参照し
たが、初期設定からの乱数発生の実行回数が同じであれ
ば、電源ONからN回目(Nは任意の整数)の乱数発生
により発生する数値(発生値)は、何度、電源ON(お
よびそれに続く処理)を行っても、同じとなる。このた
め、乱数を発生させているはずにも拘わらず、不確定要
素となる最初の外乱(人手操作やコマンド発行などの外
部からのイベント)が発生するまでの期間では、同一処
理フローに従った表示処理を行う限り、毎回、同一処理
が行われ、その結果、同一の表示画像となる。
By the way, in the display device 1 of the present embodiment,
The processing from the power-on to the reception of the first command is the same processing every time in the processing flow. In the display image determination process (S3), a random number is generated and referred to. However, if the number of executions of random number generation from the initial setting is the same, the Nth random number generation (N is an arbitrary integer) from power ON. The numerical value (occurrence value) generated by is the same no matter how many times the power is turned on (and subsequent processing). For this reason, the same process flow was followed during the period until the first disturbance (an event from the outside such as a manual operation or command issuance), which is an uncertain factor, occurred, although the random number should have been generated. As long as the display process is performed, the same process is performed every time, resulting in the same display image.

【0022】そこで、本実施形態では、外乱イベントの
発生の有無に拘わらず、同一処理となるのを防止する工
夫を施している。すなわち、Vsync待ち処理(S
4)において、図3に示すように、Vsync信号の入
力がある(S41:Yesになる)までのVsync信
号待ち(S41:No)の間、連続して、乱数発生処理
を行う(S41:図2のRDMと同じ)。以下、この連
続的な乱数発生処理の意味について、詳述する。
In view of this, the present embodiment is devised to prevent the same processing regardless of the occurrence of a disturbance event. That is, Vsync waiting processing (S
In 4), as shown in FIG. 3, the random number generation process is continuously performed while waiting for the Vsync signal until the Vsync signal is input (S41: Yes) (S41: No) (S41: FIG. Same as RDM 2). The meaning of this continuous random number generation processing will be described in detail below.

【0023】まず、一般に画像処理は数値処理に比べて
桁違いの処理時間を要するため、図2のVsync待ち
処理(S4)の間、すなわち表示画像送出処理(S5)
〜次の表示画像決定処理(S3)の間では、画像処理で
ある表示画像送出処理(S5)を行っている間に、その
裏側で(並行して)次の表示画像決定処理(S3)まで
の数値処理は瞬時に終了してしまう。言い換えると、V
sync待ち処理の間(Vsync周期)の単位(例え
ばミリ秒単位)から見れば、Vsync信号の入力と同
時に次の表示画像決定処理(S3)までの数値処理(例
えばマイクロ秒単位)は終了してしまい、次のVsyn
c信号の入力までの間は、表示画像送出処理(S5)の
みが行われることになる。すなわち、タイミングチャー
ト上、受信コマンド処理(S2)や表示画像決定処理
(S3)は無視できる程度の時間内で終了するので、一
般には、Vsync信号の入力〜次のVsync信号の
入力の期間(Vsync信号の一周期の間)、画像処理
である表示画像送出処理(S5)のみが行われる。
First, since image processing generally requires an order of magnitude more processing time than numerical processing, during the Vsync waiting processing (S4) of FIG. 2, that is, the display image sending processing (S5).
Between the next display image determination processing (S3), while the display image sending processing (S5) which is image processing is being performed, the next display image determination processing (S3) is performed (in parallel) on the back side thereof. The numerical processing of will end instantly. In other words, V
From the viewpoint of the unit (for example, millisecond unit) of the sync waiting process (Vsync cycle), the numerical process (for example, microsecond unit) up to the next display image determination process (S3) is completed at the same time when the Vsync signal is input. The next Vsyn
Until the input of the c signal, only the display image sending process (S5) is performed. That is, on the timing chart, the reception command process (S2) and the display image determination process (S3) are completed within a negligible time, and therefore, in general, the period from the input of the Vsync signal to the input of the next Vsync signal (Vsync). During one signal cycle), only the display image sending process (S5), which is image processing, is performed.

【0024】そこで、本実施形態の表示装置1では、図
3に示すように、このVsync信号の一周期の間(S
41がYesとなるまでの間)に、連続して乱数発生処
理を行う(S41:図2のRDMと同じ)。この場合、
表示画像送出処理(S5)と並行して(その裏側で)行
われるだけなので、乱数発生処理(S42)の有無によ
って、他の処理のタイミングに影響は生じない。そし
て、その一方、桁違いの画像処理時間の間(例えばミリ
秒単位)に、膨大な回数(例えば1回当たりマイクロ秒
単位として10の3乗単位の回数)の乱数を発生でき
る。また、このため、表示タイミングの単位で見ると同
一タイミングに見えるタイミングであっても、その表示
タイミング前後の(メモリアクセス競合などによる)処
理量の違いやハードウェアの微妙な違い(電源の揺れな
ど)により、乱数を発生させる回数(実行回数)には、
ばらつきが生じる。
Therefore, in the display device 1 of the present embodiment, as shown in FIG. 3, during one cycle of the Vsync signal (S
Until 41 becomes Yes), random number generation processing is continuously performed (S41: same as RDM in FIG. 2). in this case,
Since it is only performed in parallel with the display image sending process (S5) (on the back side thereof), the presence or absence of the random number generation process (S42) does not affect the timing of other processes. On the other hand, it is possible to generate a huge number of random numbers (for example, the number of times of 10 3 as a microsecond unit for each time) during an image processing time of several orders of magnitude (for example, a unit of millisecond). Therefore, even if the timings that look the same in display timing units, the difference in the processing amount before and after the display timing (due to memory access contention) and the subtle hardware differences (such as power fluctuations) ), The number of times a random number is generated (number of executions) is
There are variations.

【0025】すなわち、本実施形態では、外乱イベント
の発生の有無に拘わらず、同一処理フローに従った表示
処理を行う場合であっても、乱数発生実行回数に違いが
出るため、同一処理となるのを防止でき、乱数発生機能
に潜在する規則性を打ち消すことができる。
That is, in the present embodiment, the same number of times of random number generation is performed even if the display process is performed according to the same process flow regardless of the occurrence of a disturbance event, and therefore the same process is performed. Can be prevented and the regularity underlying the random number generation function can be canceled.

【0026】なお、上述の実施形態では、表示タイミン
グとして表示パネル20の垂直同期信号を利用したが、
水平同期信号を利用することもできる。また、上述の実
施形態では、表示パネル20の表示タイミングに同期す
るように表示画像を送出し、その表示タイミング待ちの
間に連続的に乱数を発生させたが、例えば図1の外部装
置60の受信タイミングに同期させて表示画像を送出す
る場合にも同様に適用できる。すなわち、一般に、外部
装置との送受信は、内部における乱数発生等の数値処理
に対して桁違いに長い処理時間を要するので、この受信
タイミング待ちの間に連続的に乱数を発生させることに
より、その受信タイミングの期間には、膨大な回数の乱
数を発生でき、その受信タイミングの微妙な違いによ
り、乱数発生実行回数には、ばらつきが生じる。この結
果、既存の乱数発生機能を利用して発生した乱数に基づ
いて同一処理フローに従った表示処理を行う場合であっ
ても、乱数発生機能に潜在する規則性を打ち消すことが
できる。なお、図1において、制御部10およびCG−
ROM30の構成を表示装置と見て(把握して)、表示
パネル20を外部装置と見れば、前述した表示タイミン
グも上記の受信タイミングに相当し、同等の関係とな
る。
In the above embodiment, the vertical synchronizing signal of the display panel 20 is used as the display timing,
A horizontal sync signal can also be used. Further, in the above-described embodiment, the display image is transmitted in synchronization with the display timing of the display panel 20, and the random number is continuously generated while waiting for the display timing. For example, the external device 60 of FIG. The same can be applied to the case where the display image is transmitted in synchronization with the reception timing. That is, in general, transmission / reception with an external device requires an order of magnitude longer processing time for numerical processing such as internal random number generation. Therefore, by continuously generating random numbers while waiting for this reception timing, A large number of random numbers can be generated during the reception timing period, and the number of times of random number generation execution varies due to the subtle difference in the reception timing. As a result, even if the display process is performed according to the same process flow based on the random number generated by using the existing random number generation function, it is possible to cancel the regularity latent in the random number generation function. In FIG. 1, the control unit 10 and the CG-
If the configuration of the ROM 30 is viewed (understanding) the display device and the display panel 20 is viewed as an external device, the above-mentioned display timing also corresponds to the above-mentioned reception timing and has the same relationship.

【0027】[0027]

【発明の効果】上述のように、本発明の表示装置および
表示装置の乱数発生方法によれば、既存の乱数発生機能
を利用して発生した乱数に基づいて同一処理フローに従
った表示処理を行う場合であっても、乱数発生機能に潜
在する規則性を打ち消すことができる、などの効果があ
る。
As described above, according to the display device and the random number generation method of the display device of the present invention, the display process according to the same process flow is performed based on the random number generated by using the existing random number generation function. Even when it is performed, there is an effect that the regularity that is latent in the random number generation function can be canceled.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施形態に係る表示装置のブロック
図である。
FIG. 1 is a block diagram of a display device according to an exemplary embodiment of the present invention.

【図2】図1の表示装置における表示処理の概略フロー
チャートである。
FIG. 2 is a schematic flowchart of display processing in the display device of FIG.

【図3】Vsync待ち処理のフローチャートである。FIG. 3 is a flowchart of a Vsync waiting process.

【符号の説明】[Explanation of symbols]

1 表示装置 10 制御部 20 表示パネル 30 CG−ROM(表示画像データ用ROM) 60 外部装置 101 CPU 102 VDP(ビデオ表示用プロセッサ) 103 VRAM(ビデオRAM) CMD コマンド信号 CP コマンドポート VS Vsync(垂直同期)信号 1 Display device 10 Control unit 20 display panel 30 CG-ROM (ROM for display image data) 60 External device 101 CPU 102 VDP (Video Display Processor) 103 VRAM (video RAM) CMD command signal CP command port VS Vsync (vertical sync) signal

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 乱数発生機能を利用して乱数を発生させ
る乱数発生手段と、 発生した前記乱数に基づいて複数の表示画像のうちの1
の表示画像を選択して送出する表示画像送出手段と、 表示タイミングに同期して前記表示画像を受信して表示
する表示手段と、を備え、 前記乱数発生手段は、前記表示タイミングの待ち時間内
に、前記乱数発生機能を利用して、前記表示画像の選択
に使用しない乱数を連続的に空発生させることを特徴と
する表示装置。
1. A random number generating means for generating a random number using a random number generating function, and one of a plurality of display images based on the generated random number.
A display image sending means for selecting and sending the display image of, and a display means for receiving and displaying the display image in synchronization with the display timing, wherein the random number generating means is within the waiting time of the display timing. In the display device, a random number that is not used for selecting the display image is continuously generated by utilizing the random number generation function.
【請求項2】 前記表示タイミングは、前記表示手段に
表示させるための垂直同期および水平同期のいずれか少
なくとも一方に基づくタイミングであることを特徴とす
る、請求項1に記載の表示装置。
2. The display device according to claim 1, wherein the display timing is a timing based on at least one of vertical synchronization and horizontal synchronization for displaying on the display means.
【請求項3】 乱数発生機能を利用して乱数を発生させ
る乱数発生手段と、 発生した前記乱数に基づいて複数の表示画像のうちの1
の表示画像を選択する表示画像選択手段と、 外部装置に対してその外部装置の受信タイミングに同期
するように、前記表示画像を送信する表示画像送信手段
と、を備え、 前記乱数発生手段は、前記受信タイミングの待ち時間の
間に、前記乱数発生機能を利用して、前記表示画像の選
択に使用しない乱数を連続的に空発生させることを特徴
とする表示装置。
3. A random number generating means for generating a random number using a random number generating function, and one of a plurality of display images based on the generated random number.
Display image selecting means for selecting a display image of, and a display image transmitting means for transmitting the display image to an external device so as to be synchronized with the reception timing of the external device, the random number generating means, A display device, wherein during the waiting time of the reception timing, the random number generating function is used to continuously generate random numbers that are not used for selecting the display image.
【請求項4】 乱数発生機能を利用して発生した乱数に
基づいて複数の表示画像のうちの1の表示画像を選択し
て表示タイミングに同期して前記表示画像を表示手段に
表示させる表示装置において、前記乱数を発生させるた
めの表示装置の乱数発生方法であって、 前記表示タイミングの待ち時間内に、前記乱数発生機能
を利用して、前記表示画像の選択に使用しない乱数を連
続的に空発生させることを特徴とする表示装置の乱数発
生方法。
4. A display device for selecting one display image from a plurality of display images based on a random number generated by using a random number generating function and displaying the display image on a display means in synchronization with a display timing. In the method of generating a random number of a display device for generating the random number, the random number not used in the selection of the display image is continuously used within the waiting time of the display timing by using the random number generation function. A method for generating a random number for a display device, which is characterized by generating a sky.
JP2001295525A 2001-09-27 2001-09-27 Display device and random number generation method thereof Pending JP2003108366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001295525A JP2003108366A (en) 2001-09-27 2001-09-27 Display device and random number generation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001295525A JP2003108366A (en) 2001-09-27 2001-09-27 Display device and random number generation method thereof

Publications (1)

Publication Number Publication Date
JP2003108366A true JP2003108366A (en) 2003-04-11

Family

ID=19116949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001295525A Pending JP2003108366A (en) 2001-09-27 2001-09-27 Display device and random number generation method thereof

Country Status (1)

Country Link
JP (1) JP2003108366A (en)

Similar Documents

Publication Publication Date Title
US6831648B2 (en) Synchronized image display and buffer swapping in a multiple display environment
US8854344B2 (en) Self-refresh panel time synchronization
US6809733B2 (en) Swap buffer synchronization in a distributed rendering system
JP4188588B2 (en) Method and display system for updating an image frame on a screen
US8754828B2 (en) Master synchronization for multiple displays
US7324114B2 (en) Synchronization of image frame update
CN112243523A (en) Multiple display synchronization
US6791551B2 (en) Synchronization of vertical retrace for multiple participating graphics computers
JPH1085406A (en) Display controller of game machine
JP2003108366A (en) Display device and random number generation method thereof
JP2520872B2 (en) Image display device
JP2003131646A (en) Display device and display control method for the same
JP3786016B2 (en) Display device and display device cache control method
US7003232B2 (en) Output timing controlled image forming apparatus, system and method
US11688031B2 (en) Resynchronization of a display system and GPU after panel self refresh
JPH06195454A (en) Video image processor
JP2578996B2 (en) Liquid crystal display
JP7158588B2 (en) Touch screen control method, device, equipment, storage medium and processor
JPH052877A (en) System for accessing video display memory
JP2001246057A (en) Power supplying control system, and device relating to the same
JP5385592B2 (en) Image processing apparatus and control method thereof
CN116192319A (en) Method, device and equipment for updating TDDI frame synchronization integrated with touch control and display driver
JP2000250506A (en) Method for return of display device from off mode
JP3183852B2 (en) Logic simulation method for bidirectional bus
JP2000098996A (en) Image display device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050304

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080321

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080415

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080604

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080624