Device test processing device, device test processing method, and device test processing program
The equipment test processing device facilitates software-based test verification on multiple devices using IC cards, addressing the inefficiencies of manual operation and reducing costs by generating and executing commands for continuous device testing.
Patent Information
- Application Number
- JP2024047494
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-03-25
- Publication Date
- 2025-10-07
AI Technical Summary
Conventional test devices are unable to perform test verification on a series of processes in multiple different devices used consecutively using a single test device, requiring manual operation and incurring significant time and cost.
An equipment test processing device and method that utilizes a verification data acquisition unit to acquire data, an operation data generation unit to generate commands based on task instructions, and an IC function program unit to execute operations, enabling software-based test verification on multiple devices using IC cards without manual operation.
Enables collective software-based test verification on multiple devices, identifying abnormalities without actual operation, reducing time and cost.
Smart Images

Figure 2025147287000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to an equipment test processing device, an equipment test processing method, and an equipment test processing program that perform testing of an actual device using software. [Background technology]
[0002] In recent years, various devices used when using IC cards, such as ticket vending machines, automatic ticket gates, charging machines, and other station equipment and merchandise sales equipment, have been tested in advance to ensure that no abnormalities will occur during use. When testing each piece of equipment, a human tester must test multiple pieces of station equipment and other actual devices that are continuously processed. This requires the tester to insert and remove IC (Integrated Circuit) cards and cash, and operate the screen in accordance with the test requirements. This requires the tester to evaluate whether the equipment is operating as intended, which poses a significant burden in terms of time and cost.
[0003] For example, Patent Document 1 discloses a test device in which, when a pseudo-mechanical device in which the functions of a mechanical part are configured by software that does not involve actual operation receives a command issued by a control part, it inputs test data from a test data file prepared in advance, executes the operation instructed by the command, and outputs the data of the execution result to an execution result file, and an operation part proxy device having a pseudo-operation part inputs input data from an input data file prepared in advance, displays it on a screen, and transmits operation information instructed on the screen to the control part. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Japanese Patent Application Publication No. 9-81416 Summary of the Invention [Problem to be solved by the invention]
[0005] However, the above-mentioned conventional test device has the following problems. In other words, the test device disclosed in the above publication cannot test a series of processes in a plurality of different devices that are used consecutively using an IC card using a single test device. The object of the present invention is to provide an equipment test processing device, an equipment test processing method, and an equipment test processing program that can perform test verification of multiple different devices that are used continuously using an IC card in a single software package. [Means for solving the problem]
[0006] A first aspect of the present invention provides an equipment test processing device that performs test verification on a plurality of different devices that are used continuously using an IC card, and includes a verification data acquisition unit and an operation data generation unit. The verification data acquisition unit acquires verification data including task instructions and parameters. The operation data generation unit determines, based on the task instructions acquired by the verification data acquisition unit, tables for generating operation data for each function included in each device from tables for each task instruction, and generates operation data by converting the parameters acquired by the verification data acquisition unit into commands using the determined tables.
[0007] Here, the operational data required to conduct test verification on multiple different pieces of equipment (e.g., station equipment, sales equipment using IC cards, etc.) that are used continuously using IC (Integrated Circuit) cards is generated by converting the parameters acquired in the verification data acquisition unit into commands using a table for each business instruction. Here, the multiple different devices used with IC cards include, for example, station equipment including ticket vending machines, automatic ticket gates, and IC card processing machines that process deposits onto IC cards, as well as equipment for selling goods using IC cards.
[0008] The business instructions included in the verification data include, for example, issuing commuter passes at ticket vending machines, passing through automatic ticket gates, deposit processing at IC card processing machines, and sales processing at sales machines. Parameters included in the verification data include, for example, information such as "from station X to station X" for issuing commuter passes from a ticket vending machine, and "deposit 1000 yen" for deposit processing at an IC card processing machine.
[0009] This allows software-based testing and verification of each piece of equipment using multiple pieces of operational data generated for each device's business instruction, making it possible to verify whether or not there are any abnormalities or operational errors in each piece of equipment without actually operating station service equipment or merchandise sales equipment using an IC card. As a result, it is possible to collectively perform test verification on software for a plurality of different devices that are used continuously using IC cards.
[0010] The equipment test processing device of the second invention is the equipment test processing device of the first invention, and further includes an IC function program unit that executes operations corresponding to each device based on the operation data generated in the operation data generation unit. This allows the IC function program section to perform test verification on software for each device to be verified.
[0011] The equipment test processing device of the third invention is the equipment test processing device of the second invention, and further includes a judgment unit that judges whether the results of verifying the operations performed in the IC function program unit are appropriate. This allows the operation of each device performed using the operation data generated for each work instruction to be verified, and measures such as determining whether or not there are any abnormalities can be taken for each device that is determined to have an abnormality.
[0012] An equipment test processing device according to a fourth aspect of the present invention is an equipment test processing device according to the first or second aspect of the present invention, wherein the verification data acquisition unit acquires verification data from a verification device that digitizes the verification pattern of the equipment to generate verification data. This allows the verification data acquired from the verification device to be used to generate operation data for test verification for each task instruction.
[0013] The equipment test processing device of the fifth invention is the equipment test processing device of the first or second invention, in which the operation data generation unit converts the parameters acquired by the verification data acquisition unit into commands and generates operation data for each function possessed by multiple different devices that are used continuously using an IC card. This allows operational data to be generated for test verification for each function of each device (for example, the commuter pass issuing function of a ticket machine, the processing function when passing through a ticket gate of an automatic ticket gate, etc.), making it possible to carry out the necessary test verification for each function of each device.
[0014] An equipment test processing device according to a sixth aspect of the present invention is the equipment test processing device according to the first or second aspect of the present invention, further comprising a storage unit that stores a table for generating operation data. This allows operation data to be generated for each task instruction using a table stored in a storage unit provided within the device.
[0015] The equipment test processing device of the seventh invention is the equipment test processing device of the third invention, in which the judgment unit evaluates the validity of the results of execution in accordance with the operation data for each function possessed by multiple different devices that are used continuously using an IC card. This allows the validity of the results of test verification using the generated operational data to be evaluated for each function of each device, making it possible to evaluate whether the test results for each function of each device were valid.
[0016] The equipment test processing device of the eighth invention is the equipment test processing device of the seventh invention, in which the judgment unit judges, for each function, whether the work content matches the work instructions or is not executable as a result of execution in accordance with the operation data. This allows the results of test verification using the generated operation data to be obtained by determining whether the results match the content according to the business instructions or whether the results were unable to be executed according to the business instructions.
[0017] The equipment test processing device of the ninth invention is an equipment test processing device of the first or second invention, and the equipment includes any of a ticket vending machine, an automatic ticket gate, station equipment including IC card equipment, a vehicle boarding and disembarking processing machine, and merchandise sales equipment used for merchandise sales using an IC card. This allows test verification to be performed on the software for each function of ticket machines, automatic ticket gates, station equipment including IC card equipment, boarding and disembarking processing machines for vehicles such as buses and ships, and merchandise sales equipment used for merchandise sales using IC cards.
[0018] The equipment test processing device of the 10th invention is the equipment test processing device of the 9th invention, wherein the verification data includes at least one of the process of issuing a commuter pass at a ticket machine, entering and exiting an automatic ticket gate, the process of depositing money into an IC card, and selling goods using an IC card. This allows test verification to be conducted on the process of issuing commuter passes at ticket vending machines, entering and exiting automatic ticket gates, depositing money into IC cards, and selling merchandise using IC cards as verification data, making it possible to verify whether or not there are any abnormalities in ticket vending machines, automatic ticket gates, IC card processing machines, and merchandise sales equipment.
[0019] An eleventh aspect of the present invention provides an equipment test processing method for a device test processing device that performs test verification on a plurality of different devices that are used continuously using an IC card, the method comprising: a verification data acquisition step; and an operation data generation step. In the verification data acquisition step, a verification data acquisition unit of the device test processing device acquires verification data including task instructions and parameters. In the operation data generation step, the operation data generation unit of the device test processing device determines, based on the task instructions acquired by the verification data acquisition unit, a table for generating operation data for each function included in each device from among tables for each task instruction, and generates operation data by command converting the parameters acquired by the verification data acquisition unit using the determined table.
[0020] Here, the operational data required to conduct test verification on multiple different devices that are used continuously using IC cards (e.g., station equipment, sales equipment using IC cards, etc.) is generated by converting the parameters acquired in the verification data acquisition unit into commands using a table for each business instruction. Here, the multiple different devices used with IC cards include, for example, station equipment including ticket vending machines, automatic ticket gates, and IC card processing machines that process deposits onto IC cards, as well as equipment for selling goods using IC cards.
[0021] The business instructions included in the verification data include, for example, issuing commuter passes at ticket vending machines, passing through automatic ticket gates, deposit processing at IC card processing machines, and sales processing at sales machines. Parameters included in the verification data include, for example, information such as "from station X to station X" for issuing commuter passes from a ticket vending machine, and "deposit 1000 yen" for deposit processing at an IC card processing machine.
[0022] This allows software-based testing and verification of each piece of equipment using multiple pieces of operational data generated for each device's business instruction, making it possible to verify whether or not there are any abnormalities or operational errors in each piece of equipment without actually operating station service equipment or merchandise sales equipment using an IC card. As a result, it is possible to collectively perform test verification on software for a plurality of different devices that are used continuously using IC cards.
[0023] A twelfth aspect of the present invention provides an equipment test processing program for performing test verification on a plurality of different devices that are used continuously using an IC card, the program causing a computer to execute an equipment test processing method including a verification data acquisition step and an operation data generation step. In the verification data acquisition step, a verification data acquisition unit of the equipment test processing device acquires verification data including task instructions and parameters. In the operation data generation step, an operation data generation unit of the equipment test processing device determines, based on the task instructions acquired by the verification data acquisition unit, a table for generating operation data for each function included in each device from among tables for each task instruction, and generates operation data by command converting the parameters acquired by the verification data acquisition unit using the determined table.
[0024] Here, the operational data required to conduct test verification on multiple different devices that are used continuously using IC cards (e.g., station equipment, sales equipment using IC cards, etc.) is generated by converting the parameters acquired in the verification data acquisition unit into commands using a table for each business instruction. Here, the multiple different devices used with IC cards include, for example, station equipment including ticket vending machines, automatic ticket gates, and IC card processing machines that process deposits onto IC cards, as well as equipment for selling goods using IC cards.
[0025] The business instructions included in the verification data include, for example, issuing commuter passes at ticket vending machines, passing through automatic ticket gates, deposit processing at IC card processing machines, and sales processing at sales machines. Parameters included in the verification data include, for example, information such as "from station X to station X" for issuing commuter passes from a ticket vending machine, and "deposit 1000 yen" for deposit processing at an IC card processing machine.
[0026] This allows software-based testing and verification of each piece of equipment using multiple pieces of operational data generated for each device's business instruction, making it possible to verify whether or not there are any abnormalities or operational errors in each piece of equipment without actually operating station service equipment or merchandise sales equipment using an IC card. As a result, it is possible to collectively perform test verification on software for a plurality of different devices that are used continuously using IC cards. [Effects of the Invention]
[0027] The device test processing device according to the present invention can collectively perform test verification on software for a plurality of different devices that are used continuously using IC cards. [Brief explanation of the drawings]
[0028] [Figure 1] 1 is a conceptual diagram showing emulator devices and the like installed for each ticket vending machine, ticket gate, and charging machine that are tested and verified by an equipment test processing device according to one embodiment of the present invention. [Figure 2] 2 is a diagram showing a system configuration including an equipment test processing device including the emulator device, output data collection device, and matching device of FIG. 1, a verification device that transmits verification data etc. to the emulator device, and an expected value generation device that transmits expected value data to the matching device. [Figure 3] FIG. 3 is a control block diagram of an emulator device, an output data collection device, a verification device, and an expected value generation device included in the system configuration of FIG. 2. [Figure 4] FIG. 4 is a control block diagram showing the internal configuration of the emulator device of FIG. 3. [Figure 5] A conceptual diagram showing vending machines, in addition to station equipment such as ticket vending machines, ticket gates, and charging machines, which are devices that continuously use IC cards and are the subject of test verification. [Figure 6] This is a conceptual diagram showing the bus boarding and alighting processing machine, in addition to station service equipment such as ticket vending machines, ticket gates, and charging machines, which are devices that continuously use IC cards and are the subject of test verification. [Figure 7] FIG. 10 is a diagram showing the contents of verification data prepared for each target of test verification. [Figure 8] FIG. 10 is a diagram showing the contents of verification data prepared for each target of test verification. [Figure 9] FIG. 10 is a diagram showing the contents of a process for generating operation data from verification data prepared for each target of test verification. [Figure 10] A diagram showing verification data when the card has not been used for 10 years after being charged at a ticket machine. [Figure 11] 10A and 10B are diagrams showing examples of operation creation tables corresponding to each model of verification data. [Figure 12] FIG. 10 is a diagram showing an example in which verification data is applied to motion data. [Figure 13] 3 is a flowchart showing the flow of processing in an equipment test processing method performed by the equipment test processing device of FIG. 2; [Figure 14] 14(a), (b), and (c) are diagrams showing the contents of evaluation in the equipment test processing method of FIG. 13; [Figure 15] FIG. 10 is a diagram showing an example of normal / abnormal determination in normal operation evaluation. DETAILED DESCRIPTION OF THE INVENTION
[0029] An equipment test processing apparatus according to one embodiment of the present invention will be described below with reference to FIGS. In the present embodiment, more detailed explanation than necessary may be omitted. For example, detailed explanation of well-known matters or redundant explanation of substantially the same configuration may be omitted. This is to avoid unnecessary redundancy in the following explanation and to facilitate understanding by those skilled in the art. Furthermore, the applicant provides the accompanying drawings and the following description to enable those skilled in the art to fully understand the present invention, and they are not intended to limit the subject matter described in the claims.
[0030] (1) Configuration of the equipment test processing device 10 As shown in Figure 1, the equipment test processing device 10 of this embodiment performs test verification on software instead of conducting actual machine tests on multiple different devices that are used continuously using an IC (Integrated Circuit) card C1, such as station equipment such as a ticket machine 50, a ticket gate (automatic ticket gate) 51, and a charging machine (IC card processing machine) 52, sales equipment such as a vending machine (sales equipment) 53 (see Figure 5), and vehicle boarding and alighting processing machines such as a bus boarding and alighting processing machine (see Figure 6).
[0031] Here, test verification refers to the testing of each piece of equipment that has traditionally been performed by a tester (person) according to a test outline. Note that a test outline is a document that lists the equipment to be verified (station equipment), the operation content (tasks) of that equipment, the points to be checked, and the check result column, or a document that lists these in chronological order and shows the order in which the verification target should be checked. As shown in FIG. 1, the device test processing device 10 of this embodiment includes emulator devices 20 corresponding to the respective devices (ticket vending machine 50, ticket gate 51, charge machine 52, etc.).
[0032] The emulator device 20 is, for example, software that imitates the behavior of a computer, software, system, etc. and is used as a substitute, and generates operation data corresponding to each device (ticket vending machine 50, ticket gate 51, charging machine 52, etc.) based on the verification data received from the verification device 30, and operates the data on the software. The emulator device 20 then outputs the results of the operation on each device to the output data collection device 11 as output data (item details, etc.).
[0033] 2, the emulator device 20 receives verification data and pre-processing IC data (data before processing of IC card C1) from the verification device 30, and transmits post-processing IC data (data after processing by each device of IC card C1) to the verification device 30. Then, based on the input verification data, the emulator device 20 generates operation data for operating each device to be subject to test verification on software, and outputs the operation data to the output data collection device 11 as output data.
[0034] The output data collection device 11 is a device that receives and collects output data, and as shown in Fig. 1, collects output data output from station service equipment such as a ticket vending machine 50 when the equipment completes a task. The output data is collected and aggregated and is used, for example, for inter-company installment payments of sales amounts and settlement amounts. As shown in Figure 1, the matching device (judgment unit) 12 compares the output data (execution results, data corresponding to actual measured values) of the output data collection device 11, which outputs one verification scenario (the verification content part of the test requirements document), with the expected value data of the expected value generation device 31 on a data item basis.
[0035] If there is a mismatch in the comparison result for even one data item, a trigger is issued as a match NG to check whether there are any problems with the verification target or specifications that issued the output data. As shown in FIGS. 1 and 2, the verification device 30 receives a verification scenario (the verification content portion of the test requirements) and generates verification data, which it then transmits to the emulator device 20.
[0036] The expected value generation device 31 is a device that automatically generates an expected value of output data for each verification pattern included in an input verification scenario, and as shown in Figures 1 and 2, based on the verification scenario input from the verification device 30, it automatically generates an expected value of output data for each verification pattern included in the verification scenario. As shown in FIG. 2, the device test processing device 10 of this embodiment includes an output data collection device 11, a matching device 12, and a plurality of emulator devices 20 installed for each device to be tested and verified.
[0037] Here, the configuration of the output data collecting device 11 and the emulator device 20 will be described in more detail below with reference to FIG. That is, the emulator device 20 has an emulator section (operation data generating section) 21 and an IC function program section 22, as shown in FIG. The emulator unit 21 generates operation data based on the verification data received from the verification device 30, and outputs the operation data to the IC function program unit 22 together with the data of the unprocessed IC.
[0038] Based on the operation data generated by the emulator section 21, the IC function program section 22 executes, in software, an operation corresponding to each device that is the target of test verification. 4, the emulator device 20 generates operation data in an operation data generation unit 21b from the verification data acquired by the verification data acquisition unit 21a within the emulator unit 21. More specifically, as shown in FIG. 4, the operation data generation unit 21b determines an operation data creation table corresponding to the function of each device to be tested and verified for each business instruction (commuter pass issuance, charging, card replacement, etc.) of the verification data acquired by the verification data acquisition unit 21a, and performs command conversion for each function of each device.
[0039] 4, for example, if the information in the verification data is "Departure and arrival stations of the commuter pass (Tokyo to Shinjuku)," command conversion is performed to process one function (customer service section 22b) of the ticket vending machine 50. Also, for example, if the information in the verification data is "deposit amount 1,000 yen," command conversion is performed to process one function (mechanical section 22c) of the charge machine 52.
[0040] Also, for example, if the information in the verification data is "IC card," command conversion is performed to process one function (card processing unit 22d) of the charging machine 52. Furthermore, for example, if the information in the verification data is "commuter pass issuance," command conversion is performed to process one function (IC business processing unit 22e) of the ticket vending machine 50. The operation data generated by command conversion for each function of each device is then received by the control unit 22a in the IC function program unit 22 and used to control each function (customer service unit 22b, mechanical unit 22c, card processing unit 22d, IC business processing unit 22e), and test verification is carried out.
[0041] 4 are peripheral function units required to operate the IC function program unit 22, and the parts and processing order differ depending on the model. Furthermore, even within the same model, the parts and order of use of these peripheral function units differ depending on the business. For this reason, in this embodiment, default operation data is defined for each model and business, specifying which parts should be operated in what order. Then, parameters such as the amount are applied according to the instructions in the verification data, and processing is executed.
[0042] The results of the test verification for each function of each device, which is carried out using the operation data generated by the operation data generating unit 21b, are transmitted as output data to the output data collecting device 11 from the communication unit 21c. The verification data to be transmitted to the emulator device 20 is generated in a verification data generating unit 30a included in the verification device 30 shown in FIG.
[0043] 3, the verification data generator 30a generates verification data using externally input verification scenarios or automatically generated comprehensive verification scenarios input from the verification scenario generator 30b, and stores the generated verification data in the database 30d. The execution manager 30c then outputs the verification data stored in the database 30d to the emulator device 20.
[0044] Furthermore, the execution management unit 30c of the verification device 30 outputs the verification scenario to the expectation value generation unit 31a of the expectation value generation device 31, as shown in FIG. In the expected value generating device 31, as shown in FIG. 3, the expected value generating unit 31a generates expected values as the results of test verification based on the received verification scenario, and stores the expected value data in the storage 31b.
[0045] The expected value data generated by the expected value generating device 31 is then transmitted to the matching device 12 described above. On the other hand, the output data output from the IC function program unit 22 of the emulator device 20 is received by the data collection unit 11a in the output data collection device 11 and stored in the storage 11b, as shown in Fig. 3. Then, the results of the test verification for each device that is the target of the test verification, which is executed in the IC function program unit 22 in accordance with the operation data transmitted from the data collection unit 11a, are transmitted to the matching device 12, as shown in Fig. 3, where the matching device 12 performs a process of matching the results with the expected values transmitted from the expected value generation device 31.
[0046] Here, as an example of a verification scenario, if the vending machine 53 shown in Figure 5 is used, the software will confirm whether it is possible to use the IC card C1 to purchase a 120 yen juice from the beverage vending machine 53 at JR Shinagawa Station as per the scenario. As another example of a verification scenario, when the bus boarding and alighting processing device 54 shown in Figure 6 is used, in order to process the flat-rate boarding fee at the bus onboard device of Toei Bus No. 2, the software checks whether the scenario of waving IC card C1 to board (the flat-rate fee is deducted; the ticket is not used) can be carried out as per the scenario.
[0047] The verification scenario is configured to include a plurality of verification patterns, and the verification patterns are converted into data so that they can be handled by the emulator device 20, which is verification data. The verification data consists of information required for each verification pattern, verification system configuration, and device operation, and is managed by verification device 30. As shown in Fig. 7, the verification data includes data related to the test environment and test content (operation information) for each model, such as data for ticket vending machines, ticket gates, beverage vending machines, and bus boarding and alighting processing machines.
[0048] Here, "items related to the test environment" are data items that are required as verification instructions regardless of the model being verified. In the example shown in Figure 7, "for ticket vending machines" and "for ticket gates" are listed vertically as data items, but when adding verification targets such as "fare adjustment machines" or "ticket processing machines," data items are similarly added vertically. For example, the data items required for a ticket vending machine are "items related to the test environment" and "for ticket vending machines," but because it would be inefficient to change data items for each model on the verification device, all data items are listed regardless of model, and the emulator being verified handles the required data items according to the business instructions.
[0049] Verification data related to the test environment includes basic information (equipment installation information, processing date and time information), output data collection device inquiry information, output data collection device distribution information, IC card data (first and second cards), magnetic ticket information (combined magnetic ticket information), etc. Specific examples of verification data related to the test environment include, for example, "Shinagawa Station," "Corner 1," and "Ticket Vending Machine" as equipment installation information, and "2024 / 1 / 1" as processing date and time information, as shown in Fig. 8. Also, for example, the first No. 1234 card is used as IC card data.
[0050] As shown in Figure 7, verification data for ticket vending machines includes, for example, business details, charge information (amount, amount type), payment information (payment amount), history display information (number of history items), IC function setting information (voice usage guidance settings, etc.), etc. As a specific example of verification data for a ticket vending machine, as shown in FIG. 8, the business name of the business content is "charging" and the charging amount of the charging information is "1000 yen".
[0051] As shown in FIG. 7, the verification data for the ticket gate includes the business content (business name), magnetic ticket, combined magnetic ticket, and the direction of passage of the user. As shown in FIG. 7, the verification data for a beverage vending machine includes the business content (business name) and product purchase (purchase amount). As shown in Fig. 7, the verification data for the bus boarding / alighting processing machine includes the business content (business name) and boarding / alighting.
[0052] As described above, by applying the business content to be verified and the information (parameters) required to execute the business, the verification device 30 can generate verification data required for test verification. Here, in order to perform test verification on multiple different devices that are used continuously using the IC card C1, the process by which the operation data generation unit 21b generates operation data corresponding to each function of each device from the verification data will be explained below using Figure 9.
[0053] Figure 9 shows an example of operational data generated to test and verify the sequential process of using IC card C1 to issue a commuter pass at Tokyo Station, pass through the ticket gate to enter the station, purchase a product from a vending machine at Shinagawa Station, and charge IC card C1 at Shinagawa Station. That is, as shown in Figure 9, when verification data is received to issue a new commuter pass at a ticket machine at Tokyo Station, the operation data generation unit 21b determines an operation data creation table in accordance with the verification data, and applies the parameters contained in the verification data (Tokyo Station, date and time, card number, business name, charge amount, payment amount, name of IC card user, date of birth, purchase amount, commuter pass information (period, departure station, arrival station, route designation information)) to the business instruction content and converts it into command A for operating one function of the ticket machine (customer service unit).
[0054] Also, as shown in Figure 9, when verification data is received indicating that the user will enter Tokyo Station by passing through a ticket gate, the operation data generation unit 21b determines an operation data creation table in accordance with the verification data, and applies the parameters included in the verification data (Tokyo Station, date and time, card number, business content (entry), direction of passage (ticket gate)), etc., to the business instruction content and converts it into a command P for operating one function (determination unit) of the ticket gate.
[0055] Similarly, as shown in Figure 9, when verification data is received indicating that a product will be purchased from a vending machine at Shinagawa Station, the operation data generation unit 21b determines an operation data creation table in accordance with the verification data, and applies the parameters contained in the verification data (Shinagawa Station, date and time, card number, business content (product purchase), purchase amount (150 yen)), etc.) to the business instruction content and converts it into a command S for operating one function of the vending machine (product purchase unit).
[0056] Furthermore, as shown in Figure 9, when verification data is received to charge an IC card at a ticket machine at Shinagawa Station, the operation data generation unit 21b determines an operation data creation table according to the verification data, and applies the parameters contained in the verification data (Shinagawa Station, date and time, card number, business content (charging), charge amount (2,000 yen)), etc., to the business instruction content and converts it into command C for operating one function (customer service section) of the charging machine.
[0057] As described above, the equipment test processing device 10 of this embodiment performs software-based test verification for each function of equipment such as ticket vending machines, ticket gates, vending machines, and charging machines. Since the test verification is performed on software, it is possible to perform a confirmation test for handling IC cards that have expired in 10 years, as shown in Fig. 10. Specifically, in verification using actual ticket vending machines, the clocks on station equipment, including ticket vending machines, are always kept synchronized, making it difficult to freely set the clocks after 10 years have passed and conduct test verification as a system test connecting each device.
[0058] In the equipment test processing device 10 of this embodiment, by setting the time axis in the software to 10 years in the future (11:30 on February 15, 2024) and operating the verification target (ticket vending machine, etc.), tests related to the time axis can be easily performed. Here, regarding the conversion from the verification data to operation data described above, the emulator device 20 can generate operation data according to the model configuration and processing procedure based on the information contained in the verification data, as described above.
[0059] Operation information for each model defines an operation data generation table for each manufacturer and model, and by adding verification data information, operation data tailored to the test purpose can be generated. For example, when verification data for testing and verifying the functions of a ticket vending machine is input, the operation data generation unit 21b determines an operation data creation table for the ticket vending machine prepared for each business content, as shown in Figure 11, and applies each parameter (ID, charge amount, etc.) to generate operation data.
[0060] Similarly, when verification data for testing and verifying the functions of the ticket gate is input, the operation data generation unit 21b determines an operation data creation table for the ticket gate prepared for each business content, as shown in Figure 11, and applies each parameter (IC card, fare determination, passage determination, etc.) to generate operation data. For example, if the IC card item included in the verification data is "ID00001" and the screen input is "1000 yen charge," the operation data generation unit 21b uses the parameters included in the verification data to enter "ID00001" in the blank column of the operation data table for charging and "1000 yen" in the amount column, as shown in Figure 12, to generate operation data. This allows the operation data generating unit 21b to generate operation data required to test and verify the functions of each device based on the task instruction content and parameters included in the verification data.
[0061] <Device test processing method> The equipment test processing apparatus 10 of this embodiment performs an equipment test processing method in accordance with the flowchart shown in FIG.
[0062] That is, as shown in FIG. 13, in step S11, the verification device 30 included in the system creates input information (verification data) to be input to the emulator device 20. Next, in step S12, the verification data created in step S11 is transmitted from the verification device 30 to the emulator device 20, and emulation is performed. Next, in step S13, in the emulator device 20, the operation data generating unit 21b generates operation data from the verification data received from the verification device 30.
[0063] Next, in step S14, the emulator unit 21 in the emulator device 20 performs test verification (emulation) for each function of each device based on the operation data. Next, in step S15, the emulator device 20 performs a normal operation evaluation to determine whether or not an error has occurred as a result of the test verification in step S14. If an error has occurred, the process proceeds to step S17, and if no error has occurred, the process proceeds to step S16.
[0064] Here, the normal operation evaluation in step S15 is the result of the evaluation of the operation of the verification object (IC function program section 22) and the operation of the system (emulator section 21), as shown in Figure 14(a), and a judgment of "normal" or "abnormal" is made for each item. Next, in step S16, since it was determined in step S15 that there was no error, a business evaluation is performed to determine whether the test verification results in step S14 were correct or not. If the operation was correct, the process ends, but if the operation was not correct, the process proceeds to step S17.
[0065] Here, the work evaluation in step S16 is carried out only when the normal operation evaluation shown in Fig. 14(a) is "normal judgment", and as shown in Fig. 14(b), the condition is set to the state that the verification work of the verification data is "completed" (if it is difficult to set the condition for "completed", it is also possible to negate it by setting the condition for "not completed"). Here, if the condition is met, it is evaluated as "the verification work of the verification data is completed", and if the condition is not met, it is evaluated as "the verification work of the verification data is not completed".
[0066] That is, to be judged normal, the verification viewpoint must be "what can be done" and "verification data verification work is being done," or the verification viewpoint must be "what cannot be done" and "verification data verification work is not being done." If the viewpoint does not match these normal judgments, it is judged abnormal. Next, in step S17, a transition evaluation to the next verification pattern is performed to plan the next action based on the results of the emulation execution, and the process ends.
[0067] Here, the evaluation of transition to the next verification pattern in step S17 is the result of determining whether the normal operation evaluation result and the business evaluation result are normal or abnormal, as shown in FIG. 14(c). Here, an example of normal / abnormal judgment in the normal operation evaluation shown in FIG. 14(a) is shown in FIG. Examples of abnormalities include the occurrence of a program exception violation during verification execution as part of the behavior evaluation of the verification target, as shown in Figure 15. Additionally, examples of system behavior evaluation include failure to place the operation result data due to a write error, failure to start the software being verified or failure to write log data, failure to establish a TCP (Transmission Control Protocol) socket connection, and failure to obtain output data from the device being the target of test verification due to a communication error.
[0068] <Major features> 4, the device test processing device 10 of this embodiment performs test verification on a plurality of different devices that are used continuously using an IC card, and includes a verification data acquisition unit 21a and an operation data generation unit 21b. The verification data acquisition unit 21a acquires verification data including task instructions and parameters. The operation data generation unit 21b determines a table for generating operation data for each function included in each device from among tables for each task instruction based on the task instructions acquired by the verification data acquisition unit 21a, and generates operation data by converting the parameters acquired by the verification data acquisition unit 21a into commands using the determined table.
[0069] This allows software-based testing and verification of each piece of equipment using multiple pieces of operational data generated for each device's business instruction, making it possible to verify whether or not there are any abnormalities or operational errors in each piece of equipment without actually operating station service equipment or merchandise sales equipment using an IC card. As a result, it is possible to collectively perform test verification on software for a plurality of different devices that are used continuously using IC cards.
[0070] [Other embodiments] Although one embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various modifications are possible without departing from the gist of the invention. (A) In the above embodiment, the present invention has been described as being implemented as an equipment test processing device and an equipment test processing method, but the present invention is not limited to this.
[0071] For example, the present invention may be realized as an equipment test processing program that causes a computer to execute the above-described equipment test processing method. This equipment test processing program is stored in a memory (storage unit) installed in the equipment test processing device, and the CPU reads the equipment test processing program stored in the memory and causes the hardware to execute each step. More specifically, the CPU reads the equipment test processing program and executes each of the above-mentioned steps, thereby achieving the same effects as those described above. The present invention may also be realized as a recording medium storing an equipment test processing program.
[0072] (B) In the above embodiment, an example has been described in which the device test processing device 10 includes an IC function program unit 22 that causes each device to operate based on the generated operation data. However, the present invention is not limited to this. For example, the device test processing device may perform the process up to the generation of the operation data, and may not have an IC function program unit.
[0073] (C) In the above embodiment, an example has been described in which the matching device 12 is provided to determine whether or not there is an abnormality in the results of execution by the IC function program unit 22 using the generated operation data. However, the present invention is not limited to this. For example, the device test processing device may perform the test verification of each device using the generated operation data, and the test verification results may be determined outside the device (for example, an external server, etc.).
[0074] (D) In the above embodiment, an example has been described in which the device test processing device 10 includes a storage unit such as the storage 11b, but the present invention is not limited to this. For example, the device may be an equipment test processing device in which a storage unit is provided in a server device or cloud external to the device, and which acquires necessary data from outside the device and performs the above processing.
[0075] (E) In the above embodiment, an example has been described in which test verification is carried out on station service equipment such as ticket vending machines, automatic ticket gates, IC card processing machines, etc. However, the present invention is not limited to this. For example, the configuration may be such that testing and verification of devices other than station service equipment that uses IC cards is performed.
[0076] <Additional Notes> The equipment test processing device according to the first aspect of the present invention comprises: A device test processing device that performs test verification on a plurality of different devices that are continuously used using an IC card, a verification data acquisition unit that acquires verification data including a business instruction and a parameter; an operation data generation unit that determines a table for generating operation data for each function included in each device from among tables for each of the operation instructions based on the operation instructions acquired by the verification data acquisition unit, and converts the parameters acquired by the verification data acquisition unit into commands using the determined table to generate the operation data; It is equipped with:
[0077] An equipment test processing device according to a second aspect of the present invention is the equipment test processing device according to the first aspect of the present invention, The device further includes an IC function program unit that executes an operation corresponding to each device based on the operation data generated by the operation data generation unit. An equipment test processing device according to a third aspect of the present invention is the equipment test processing device according to the second aspect of the present invention, The IC further includes a determination unit that determines whether or not the result of verifying the operation executed in the IC function program unit is correct.
[0078] An equipment test processing device according to a fourth aspect of the present invention is an equipment test processing device according to any one of the first to third aspects of the present invention, The verification data acquisition unit acquires the verification data from a verification device that generates verification data by digitizing a verification pattern of the device. An equipment test processing device according to a fifth aspect of the present invention is an equipment test processing device according to any one of the first to fourth aspects of the present invention, The operation data generation unit converts the parameters acquired by the verification data acquisition unit into commands and generates the operation data for each function possessed by a plurality of different devices that are used continuously using the IC card.
[0079] An equipment test processing device according to a sixth aspect of the present invention is an equipment test processing device according to any one of the first to fifth aspects of the present invention, The apparatus further includes a storage unit for storing the table for generating the motion data. An equipment test processing device according to a seventh aspect of the present invention is the equipment test processing device according to the third aspect of the present invention, The determination unit evaluates the validity of the results of execution of each function of a plurality of different devices that are used consecutively using the IC card, in accordance with the operation data.
[0080] An equipment test processing device according to an eighth aspect of the present invention is the equipment test processing device according to the seventh aspect of the present invention, The determining unit determines, for each of the functions, whether the work content matches the work instruction or is not executable as a result of executing the function in accordance with the operation data. An equipment test processing device according to a ninth aspect of the present invention is an equipment test processing device according to any one of the first to eighth aspects of the present invention, The devices include any of ticket vending machines, automatic ticket gates, station equipment including IC card equipment, boarding and disembarking processing machines for vehicles, and merchandise sales equipment used for merchandise sales using the IC card.
[0081] An equipment test processing device according to a tenth aspect of the present invention is the equipment test processing device according to the ninth aspect of the present invention, The verification data includes at least one of the process of issuing a commuter pass at the ticket vending machine, the process of entering and exiting the automatic ticket gate, the process of depositing money into the IC card, and the process of purchasing goods using the IC card. An equipment test processing method according to an eleventh aspect of the present invention comprises: 1. A device test processing method by a device test processing device that performs test verification on a plurality of different devices that are used continuously using an IC card, the method comprising: a verification data acquisition step in which a verification data acquisition unit of the equipment test processing device acquires verification data including a task instruction and a parameter; an operation data generation step in which an operation data generation unit of the equipment test processing device determines a table for generating operation data for each function included in each equipment from among tables for each of the work instructions based on the work instructions acquired by the verification data acquisition unit, and converts the parameters acquired by the verification data acquisition unit into commands using the determined table to generate the operation data; It is equipped with:
[0082] An equipment test processing program according to a twelfth aspect of the present invention comprises: A device test processing program for performing test verification on a plurality of different devices that are continuously used using an IC card, a verification data acquisition step in which a verification data acquisition unit of the equipment test processing device acquires verification data including a task instruction and parameters; an operation data generation step in which an operation data generation unit of the equipment test processing device determines a table for generating operation data for each function included in each equipment from among tables for each of the work instructions based on the work instructions acquired by the verification data acquisition unit, and converts the parameters acquired by the verification data acquisition unit into commands using the determined table to generate the operation data; The method includes the steps of: [Industrial Applicability]
[0083] The equipment test processing device of the present invention has the effect of being able to perform test verification collectively on multiple different devices that are used continuously using IC cards, and therefore can be widely applied to devices and systems that verify the operation of various devices using software. [Explanation of symbols]
[0084] 10. Equipment Test Processing Unit 11 Output data collection device 11a Data Collection Section 11b Storage (memory section) 12 Matching device (determination section) 20 Emulator Device 21 Emulator Section 21a Verification data acquisition section 21b Motion data generation unit 21c Communication Department 22 IC function program section 22a Control section 22b Customer Service Department 22c Mechanical Department 22d Card processing section 22e IC Business Processing Department 30 Verification Device 30a Verification data generation unit 30b Verification scenario generation unit 30c Execution Management Department 30d database 31 Expected Value Generator 31a Expected value generation unit 31b Storage 50 Ticket Machine 51 Ticket gates (automatic ticket gates) 52 Charging machine (IC card processing device) 53 Vending machines (sales equipment) 54 Bus boarding and alighting processing machine C1 IC card
Claims
1. A device test processing device that performs test verification on a plurality of different devices that are continuously used using an IC card, a verification data acquisition unit that acquires verification data including a business instruction and a parameter; an operation data generation unit that determines a table for generating operation data for each function included in each device from among tables for each of the operation instructions based on the operation instructions acquired by the verification data acquisition unit, and converts the parameters acquired by the verification data acquisition unit into commands using the determined table to generate the operation data; 1. An equipment test processing device comprising:
2. The device further includes an IC function program unit that executes an operation corresponding to each device based on the operation data generated by the operation data generation unit.
10. The equipment test processing apparatus of claim 1.
3. The IC function program unit further includes a determination unit that determines whether or not a result of verifying the operation executed in the IC function program unit is appropriate.
3. The equipment test processing apparatus of claim 2.
4. the verification data acquisition unit acquires the verification data from a verification device that digitizes a verification pattern of the device to generate verification data; 3. The equipment test processing device according to claim 1 or 2.
5. the operation data generation unit converts the parameters acquired by the verification data acquisition unit into commands to generate the operation data for each function of a plurality of different devices that are continuously used using the IC card.
3. The equipment test processing device according to claim 1 or 2.
6. Further, a storage unit is provided for storing the table for generating the motion data.
3. The equipment test processing device according to claim 1 or 2.
7. the determination unit evaluates the validity of a result of execution of each function of a plurality of different devices that are continuously used using the IC card in accordance with the operation data.
4. The equipment test processing apparatus of claim 3.
8. the determining unit determines, for each of the functions, whether the work content matches the work instruction or is not executable as a result of the execution in accordance with the operation data.
8. The equipment test processing apparatus of claim 7.
9. The device includes any one of a ticket vending machine, an automatic ticket gate, a station equipment including an IC card processing machine, a vehicle boarding and disembarking processing machine, and a sales device used for sales using the IC card.
3. The equipment test processing device according to claim 1 or 2.
10. The verification data includes at least one of a commuter pass issuing process at the ticket vending machine, an entry / exit to the automatic ticket gate, a deposit process to the IC card, and a purchase of goods using the IC card.
10. The equipment test processing apparatus of claim 9.
11. 1. A device test processing method by a device test processing device that performs test verification on a plurality of different devices that are used continuously using an IC card, the method comprising: a verification data acquisition step in which a verification data acquisition unit of the equipment test processing device acquires verification data including a task instruction and a parameter; an operation data generation step in which an operation data generation unit of the equipment test processing device determines a table for generating operation data for each function included in each equipment from among tables for each of the work instructions based on the work instructions acquired by the verification data acquisition unit, and converts the parameters acquired by the verification data acquisition unit into commands using the determined table to generate the operation data; The equipment test processing method includes:
12. A device test processing program for performing test verification on a plurality of different devices that are continuously used using an IC card, the program comprising: a verification data acquisition step in which a verification data acquisition unit of the equipment test processing device acquires verification data including a task instruction and parameters; an operation data generation step in which an operation data generation unit of the equipment test processing device determines a table for generating operation data for each function included in each equipment from among tables for each of the work instructions based on the work instructions acquired by the verification data acquisition unit, and converts the parameters acquired by the verification data acquisition unit into commands using the determined table to generate the operation data; An equipment test processing program that causes a computer to execute an equipment test processing method comprising:
Citation Information
Patent Citations
Testing device
JP1997081416A