WO2007069676A1 - Contrôleur, programme informatique et méthode de contrôle - Google Patents

Contrôleur, programme informatique et méthode de contrôle Download PDF

Info

Publication number
WO2007069676A1
WO2007069676A1 PCT/JP2006/324910 JP2006324910W WO2007069676A1 WO 2007069676 A1 WO2007069676 A1 WO 2007069676A1 JP 2006324910 W JP2006324910 W JP 2006324910W WO 2007069676 A1 WO2007069676 A1 WO 2007069676A1
Authority
WO
WIPO (PCT)
Prior art keywords
state
command information
test
command
control
Prior art date
Application number
PCT/JP2006/324910
Other languages
English (en)
Japanese (ja)
Inventor
Yutaka Imai
Original Assignee
Pioneer Corporation
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 Pioneer Corporation filed Critical Pioneer Corporation
Publication of WO2007069676A1 publication Critical patent/WO2007069676A1/fr

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing

Definitions

  • Control device computer program, and control method
  • the present application relates to a technical field of a control device, a computer program, and a control method for controlling transmission of information by an object in a communication system that performs communication between a plurality of objects.
  • a so-called master / slave communication method has been widely adopted as a method for transmitting information between a plurality of devices, application programs, modules within a program, and the like.
  • a device, program, module, or the like called a master sends command information that defines the slave operation content to an object called a slave.
  • the slave that receives the command information executes an operation according to the command information, and in some cases, responds to the master with the operation result as information. In particular, it controls the operation of the slave from the master side. It is used for this purpose.
  • Patent Document 1 an analog signal including master device command information is transmitted to a slave device, and the command information is decoded by the slave device. Accordingly, an inter-device control system for decoding analog signals and the like will be disclosed.
  • the communication control in the master-slave method is realized mainly by software, and a test to confirm the normality of the operation contents of the slave is indispensable so that troubles caused by software or the like do not occur.
  • this test has been carried out in the following manner, for example.
  • the master force also sends command information to the slave, and changes the slave's operating state (eg, sleep state, execution state, standby state, etc.) to a state where a desired test can be performed (hereinafter referred to as a test state).
  • a test state a state where a desired test can be performed
  • Set change the operating status
  • confirm the operation of the slave Command information for testing is sent to the slave, and the response information as a result of the slave's operation is obtained by the command information.
  • the tester confirms whether or not the response information conforms to the required specifications, and one test is completed. Then, in the same way, set the slave operating state to a state where the next test can be performed, and continue the test.
  • Patent Document 1 JP 2001-69471 A
  • the work load for setting the operation state of the slave to a desired test state becomes excessive.
  • the slave operation state after the test (hereinafter referred to as the result state) also changes to various states depending on the test state and the content of the test command information. . Therefore, the tester must consider the command information for setting the operation state of the slave to a desired test state, combinations thereof, and the like according to various result states. This led to the creation of test data and prolonged setup work during the test.
  • the present application has been made in view of the above points, and an example of the problem is that, for example, when checking the operation of an object included in the communication system, the burden of setting the operation state of the operation state, etc. It is an object of the present invention to provide a control device, a computer program, and a control method that can be reduced.
  • the first object transmits to the second object command information defining the operation of the second object, and the command information
  • the second object that receives the command is a control device that controls transmission of the command information by the first object
  • the invention of claim 3 is directed to the second object in which the first object transmits command information defining the operation of the second object to the second object and receives the command information.
  • the computer included in the control device that controls transmission of the command information by the first object is set to Before changing the operation state of the second object after completion of the operation to a state for performing the next operation, causing the first object to transmit the command information for changing to the predetermined one state It is characterized by functioning as a control means for controlling as described above.
  • the first object transmits the command information defining the operation of the second object to the second object, and receives the command information.
  • a control method in a control device that controls transmission of the command information by the first object in a communication system that changes its operation state to a different state according to the command information, Before changing the operation state of the second object after the operation to the state for performing the next operation, the command information for changing to the predetermined state 1 is transmitted by the first object. It is characterized by including the process of controlling to make it carry out.
  • FIG. 1 is a diagram showing an example of a schematic configuration of a test system S according to the present embodiment.
  • FIG. 2 is a diagram showing an example of command information for CD player 1 and changes in the operating state of CD player 1 due to the command.
  • FIG. 3 (a) is a diagram showing an example of ground state setting command information according to the present embodiment, and (b) is an example of test state setting command information according to the present embodiment.
  • FIG. 3 (a) is a diagram showing an example of ground state setting command information according to the present embodiment, and (b) is an example of test state setting command information according to the present embodiment.
  • FIG. 4 is a flowchart showing an example of processing by the control unit 31 of the terminal device 3 according to the present embodiment.
  • FIG. 5 is a diagram showing an example of log data in which command information transmitted from the terminal device 3 and response information transmitted from the CD player 1 with respect to the information are recorded.
  • FIG. 1 is a diagram showing an example of a schematic configuration of a test system S according to the present embodiment.
  • the test system S includes a CD player 1 as a second object, A control jig 2 as a first object and a terminal device 3 as a control device are configured.
  • the CD player 1 and the control jig 2 are connected by, for example, a cable such as IEEE 1394 (the Institute of Electrical and Electronic Engineer 1394), and data can be transmitted and received between them.
  • the control jig 2 and the terminal device 3 are connected by a cable such as USB (Universal Serial Bus) ⁇ RS-232C (Recommended Standard 232 C), for example, so that data can be transmitted and received between them. ing.
  • the audio device control system employs a master / slave system.
  • the command information that defines the operation of the CD player 1 is transmitted by the control jig 2 (master), and the CD player 1 (slave) force that received the command information executes the operation according to the information, and the operation status is also changed. It is changed to a different state, and the operation result is transmitted to the control jig 2 as response information (for example, including the operation state of the CD player 1, the playback track number, the playback position, etc.).
  • the terminal device 3 transmits test command information to the control jig 2, and the control jig 2 further transmits the command information to the CD player 1. Then, the CD player 1 performs an operation in accordance with the contents of the received command information, and sends response information to the control jig 2. The control jig 2 transmits the received response information to the terminal device 3. The terminal device 3 stores the received response information.
  • the CD player 1 has a tray unit for detachably storing the CD, a spindle motor for rotating the stored CD, irradiating the CD with a light beam, receiving the reflected light, and outputting a light reception signal.
  • Pickup unit for driving, a drive circuit for supplying a drive signal for outputting a light beam to the pickup unit, a reproduction unit for outputting a reproduction RF signal based on the received light signal supplied by the pickup force, a CPU (Central Processing Unit), a ROM
  • the control unit includes a (Read Only Memory), a RAM (Random Access Memory), and the like.
  • the control unit reads and executes a control program stored in the ROM or the like by the CPU, thereby controlling each unit of the CD player and interpreting command information received via the connection cable. Let each part perform actions according to the information, and respond to the results. It will be sent to the control jig 2 as answer information.
  • FIG. 2 is a diagram showing an example of command information for the CD player 1 and an example of changes in the operating state of the CD player 1 due to the command.
  • the operating status is shown in the left column, it shows the operating status after executing the command shown in the top row.
  • the numbers in the left column are state numbers that indicate the operating state.
  • the operating state of the CD player 1 includes a stop state in which the CD is not played, a playback state in which audio information recorded on the CD is played back, and a recording on the CD.
  • Double-speed playback state where audio information is played back in fast forward
  • reverse double-speed playback state where fast-forward playback is performed in the reverse direction
  • pause state where playback is paused at a position of the track being played back
  • open state where the tray section is ejected Etc.
  • commands for CD player 1 include stop, play, fast forward, rewind, and eject.
  • the CD player 1 changes its operation state to a different state according to the received command information and the current operation state.
  • control jig 2 Next, the configuration and function of the control jig 2 will be described with reference to FIG.
  • the control jig 2 is a device for confirming the operation contents and the like of various devices. Instead of the control jig 2, a dedicated control controller is incorporated in the audio equipment control system.
  • the control jig 2 controls the input / output of data between the control unit 21 that also includes CPU, RAM, ROM and the like, the CD player 1, the terminal device 3, and the control unit 21.
  • Input / output unit 22 for example, I / O controller, etc.
  • display unit 23 for example, liquid crystal panel, etc.
  • An operation unit 24 for example, a button, a switch, etc. that outputs to the unit 21 is provided, and the control unit 21 and each unit are connected by a system bus 25.
  • the control unit 21 performs overall control of each unit of the control jig 2 by the CPU reading and executing a control program stored in a ROM or the like. For example, the control unit 21 receives command information transmitted from the terminal device 3 under the control of the input / output unit 22, converts the command information into a format that can be interpreted by the CD player 1, and then converts the command information to the input / output unit 22. Is sent to CD player 1 under the control of. Further, when command information is input by the tester operating the operation unit 24, the control unit 21 stores the command information in the RAM, and the command information stored in the RAM according to the operation by the tester 1 To send to. Furthermore, the control unit 21 receives the response information transmitted from the CD player 1, transmits the response information to the terminal device 3, and also transmits a part of the response information (for example, the operating state of the CD player 1). Is displayed on the display unit 23.
  • the terminal device 3 is a device that controls transmission of command information by the control jig 2.
  • a personal computer a PDA (Personal Digital Assistant), or the like is applicable.
  • the terminal device 3 includes a control unit 31 as an example of a control unit, a storage unit 32 (for example, a hard disk, a flash memory, etc.) that stores various programs, data, and the like.
  • An input / output unit 33 for example, an IZO controller
  • a display unit 34 for displaying information such as characters and images (for example, a liquid crystal display, a plasma display) Etc.) and accepting operation instructions from the examiner
  • an operation unit 35 for example, a keyboard, a mouse, a touch panel, etc. for outputting the displayed content to the control unit 31, and the control unit 31 and each unit are connected by a system bus 36.
  • the storage unit 32 includes test data, comparison response data, ground state setting data, and test state setting data as data for testing the operation content of the CD player 1, for example, in the form of a text file. Memorized.
  • the test data is data in which test command information for confirming the operation content of the CD player 1, test status, file name of comparison response data to be used, and the like are described by the tester. Created corresponding to predetermined test items.
  • the comparison response data is data in which response information to be returned by the CD player 1 with respect to the test command information is described. For example, the required specification and interface specifications of the CD player 1 are described. It is created in advance by a tester based on a document or the like. This comparison response data is compared with the response information sent from the CD player 1 via the control jig 2 in the actual test, and the normality of the operation content is confirmed based on the difference between the two. Now that you can!
  • the ground state setting data is predetermined before setting the operation state (that is, the result state) of the CD player 1 after one test is completed to the test state for performing the next test.
  • This is the data that describes the command information for setting the 1 state (hereinafter referred to as the ground state).
  • the test state setting data is data in which command information for setting the operation state of the CD player 1 to the test state corresponding to the test item is described.
  • FIG. 3 (a) is a diagram showing an example of ground state setting command information according to the present embodiment
  • FIG. 3 (b) is an example of test state setting command information according to the present embodiment. It is a figure which shows an example.
  • the stopped state is the ground state.
  • the operation state of the CD player 1 can be set to the base state with the same command combination regardless of the operation state. That is, by transmitting command information in the order of a play command, an eject command, and a stop command, the operating state of the CD player 1 changes to a stopped state.
  • stop state is defined as a ground state
  • command information for setting each ground state from the ground state is as shown in FIG. 3 (b).
  • start the stop state send a stop command (or do not send a command).
  • playback state send a playback command.
  • double-speed playback state send command information in the order of playback command and fast-forward command.
  • the storage unit 32 also stores a test control program in addition to a predetermined operating system and various application programs.
  • the test control program is a program for continuously and automatically executing the test of the operation contents of the CD player 1 in the audio equipment control system.
  • the control unit 31 includes a CPU, a ROM, a RAM, and the like, and the CPU reads and executes various programs stored in the storage unit 32 or the ROM, so that each unit of the terminal device 3 is comprehensively controlled. At the same time, the test control program is executed to function as the control means according to the present embodiment. The processing contents of the control unit 31 will be described later.
  • test control program may be downloaded, for example, by a predetermined server or the like via a network, or may be recorded on a recording medium such as a CD-ROM and via a drive. You can make it read.
  • FIG. 4 is a flowchart showing an example of processing by the control unit 31 of the terminal device 3 according to the present embodiment.
  • the control unit 31 of the terminal device 3 executes the test control program stored in the storage unit 32. Then, according to the menu displayed on the display unit 34, etc., the tester operates the operation unit 35 to designate one or a plurality of test data and select the test start button. The process shown in Fig. 4 is started.
  • control unit 31 reads the test data corresponding to the first test item from the test data designated by the tester from the storage unit 32 (step S101).
  • control unit 31 reads the ground state setting data from the storage unit 32 and transmits the ground state setting command information described in the data to the control jig 2. Specifically, as shown in FIG. 3 (a), command information is transmitted in the order of a playback command, an immediate command, and a stop command (step S102). Then, the control unit 31 shifts to waiting for reception of response information from the control jig 2 (step S103). Each time the control unit 31 transmits command information and receives response information, the control unit 31 stores the information in the storage unit 32 as log data.
  • the control jig 2 that has received the command information for setting the ground state further transmits the command information to the CD player 1.
  • the control unit 31 of the terminal device 3 functions as a control unit that controls transmission of command information for testing by the control jig 2.
  • the CD player 1 that has received the command information for setting the ground state executes an operation according to the command information, and finally the operation state is changed to a stop state. Then, the operation result for each command is sent to the control jig 2 as response information.
  • the control jig 2 that has received the response information further transmits the information to the terminal device 3.
  • step S 10 3 When the control unit 31 of the terminal device 3 receives the response information from the control jig 2 (step S 10 3: YES), the test state setting for setting the test state described in the test data is performed. Data is read, command information for setting the test state described in the data is sent to the control jig 2 (step S104), and the system waits for response information from the control jig 2 (step S105). .
  • step S 105 In the same manner as described above, when the CD player 1 receives command information for setting the test state, the operation state of the CD player 1 changes to a state corresponding to the test content. Then, the response information transmitted from the CD player 1 is received by the control unit 31 of the terminal device 3 in the same manner as described above (step S 105: YES).
  • control unit 31 transmits the test command information described in the test data to the control jig 2 (step S106), and shifts to waiting for response information from the control jig 2 ( Step S 107).
  • step S107 when test command information is received by the CD player 1, the CD player 1 performs an operation according to the command information, and the operation state is a certain state (result state). To change. Then, the response information transmitted from the CD player 1 is received by the control unit 31 of the terminal device 3 in the same manner as described above (step S107: YES).
  • control unit 31 reads the comparison response data specified by the file name of the comparison response data described in the test data, and performs a comparison process with the received response information (step S108). ). As a result, when there is no difference between the two, the control unit 31 stores information indicating normality in the storage unit 32, and when there is a difference, the control unit 31 stores information indicating abnormality in the storage unit 32 together with information indicating the contents of the difference. Save (step S109).
  • control unit 31 determines whether or not the next test data exists (step 110). If the next test data exists (step S110: YES), the next test data is read (step S 101). ), And transmits command information for ground state setting (step S102).
  • the operation state changes to a stop state which is a ground state.
  • the control unit 31 of the terminal device 3 transmits 1 command information corresponding to the test state described in the test data (step S104), so that the operation state of the CD player 1 is also reduced to the stop state force. Change to the desired test state.
  • step S110: NO the control unit 31 of the terminal device 3 ends the processing.
  • FIG. 5 shows command information transmitted from the terminal device 3 and a CD player corresponding to the information.
  • 3 is a diagram illustrating an example of log data in which response information transmitted from 1 is recorded.
  • the line beginning with “#” is a comment line
  • the line “>” is a line indicating command information
  • the line “ ⁇ ” is a line indicating response information.
  • command information and response information numerical data is expressed in hexadecimal for each byte.
  • response information data other than the data indicating the operating status of CD player 1 is indicated by “XX”.
  • the command is executed in the order of the playback command (04), the immediate command (F169), and the stop command (02) in order to set the operation state to the ground state.
  • Send information As a result, as shown in the response information, the operating state of CD player 1 finally shifts to the stopped state (01: the third byte of the response information).
  • the operation state of the CD player 1 shifts to the playback state (02).
  • a fast-forward command (A401) is transmitted as a test command
  • the operating state of the CD player 1 shifts to the double-speed playback state (03).
  • the control unit 31 of the terminal device 3 indicates the operation state of the CD player 1 after the operation according to the test 1 is completed, and the operation of the next test.
  • control is performed so that the command information to be set to the predetermined ground state is sent to the control jig 2, so prepare command information corresponding to each test state one by one. With just that, you can make settings for performing all test operations. Therefore, it is possible to reduce the burden of setting the operation state of the CD player 1.
  • the normality of the operation content is determined by storing comparison response data in the storage unit 32 of the terminal device 3 and comparing it with the response information transmitted from the control unit 31 CD player 1. Can reduce the burden of confirming the test results.
  • the power applied to the audio device control system of the communication system is not limited to this.
  • the present invention is not limited to a system in which devices in the same apparatus are controlled by a microcomputer or the like, but may be applied to a peer-to-peer communication system or a client server system between apparatuses via a wired or wireless network. It can also be applied to inter-process communication between computer programs in the same device, and data exchange between modules in the same program.
  • the communication system does not necessarily have to be a system that adopts the master / slave method.
  • an object receives command information transmitted from another object, and responds to the command information. It may be applied to a system that changes its operating state to a different state.
  • control device is applied to the terminal device included in the test system.
  • the present invention is not limited to this.
  • communication is performed between a plurality of devices.
  • a control device that indirectly controls the operating state of other devices that receive the command information. It may be applied.

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

Contrôleur pouvant réduire la charge de travail etc. de réglage d’un état d’exploitation lorsque l’exploitation d’un objet compris dans un système est reconnue etc. L’invention concerne également un programme informatique et une méthode de contrôle. La section de contrôle (31) d’un terminal (3) réalise un contrôle de façon à ce qu’un outil de contrôle (2) transmette des informations de commande pour régler l’état d’exploitation d’un lecteur de CD (1) après l’opération de fin par un test de (1) vers un état de base prédéterminé de (1) avant de le régler en un état de test pour réaliser l’opération de test suivante.
PCT/JP2006/324910 2005-12-14 2006-12-14 Contrôleur, programme informatique et méthode de contrôle WO2007069676A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005-360037 2005-12-14
JP2005360037A JP2009053729A (ja) 2005-12-14 2005-12-14 制御装置、コンピュータプログラム及び制御方法

Publications (1)

Publication Number Publication Date
WO2007069676A1 true WO2007069676A1 (fr) 2007-06-21

Family

ID=38162978

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/324910 WO2007069676A1 (fr) 2005-12-14 2006-12-14 Contrôleur, programme informatique et méthode de contrôle

Country Status (2)

Country Link
JP (1) JP2009053729A (fr)
WO (1) WO2007069676A1 (fr)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005038253A (ja) * 2003-07-16 2005-02-10 Nec Electronics Corp テスト方法、テストシステム、及び、プログラム

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005038253A (ja) * 2003-07-16 2005-02-10 Nec Electronics Corp テスト方法、テストシステム、及び、プログラム

Also Published As

Publication number Publication date
JP2009053729A (ja) 2009-03-12

Similar Documents

Publication Publication Date Title
US8688431B2 (en) Computer system audio device switching
JP3106495B2 (ja) ホームバス制御装置
CN100399314C (zh) 信息处理设备和操作控制方法
US8179748B2 (en) Limiting switch control method including an appended-function unit
US7158906B2 (en) Test method, test system, and program therefor
WO2007069676A1 (fr) Contrôleur, programme informatique et méthode de contrôle
US20120281515A1 (en) Disc drive system
US20110016249A1 (en) Cradle for portable content playback apparatus and amplifying device to which the same cradle is connected
JP2006502515A (ja) カセットテーププレーヤ・アダプタからのデジタルオーディオプレーヤの制御
US8194524B2 (en) Data reproduction apparatus
JP2021077324A (ja) キッティングツール
JP4710335B2 (ja) ディスク装置の電力供給診断方法
JP5025426B2 (ja) 再生方法及び再生システム
JP2007179632A (ja) 車載用再生システム
JP2007228520A (ja) リモートコントロール装置及びプログラム
JP2019195852A (ja) 装置を動作させるためのシステム
JP2001306484A (ja) 周辺装置
JP5021516B2 (ja) 再生装置試験装置、及び再生装置試験方法
JP2010060678A (ja) デバイス装置、プログラム、及び制御方法
US8095696B2 (en) Control method for rewriting firmware on an electronic device
JP2002163049A (ja) コンピュータシステムおよびそれに搭載されるパワーマネージメントユニット
JP2010009259A (ja) 周辺機器、及び、コンピュータシステム
JP6496254B2 (ja) 再生データ出力装置及びコンピュータプログラム
JP2016208095A (ja) 電子機器、電子機器における出力制御方法及びプログラム
EP2770441A1 (fr) Appareil de stockage de données

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06834664

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP