Program-invocation-count measuring system, program-invocation-count measuring method, and medium for storing program-invocation-count measuring software
AssigneesMitsubishi Electric Semiconductor Software Co., Ltd., Mitsubishi Denki Kabushiki Kaisha
InventorsEisuke Shimomura, Munehiro Yoshida
Life of this patent
Estimating the term…
Abstract
In a program-invocation-count measuring system, first and second identification codes are acquired and exchanged among processes as a broadcast or response signal. The first identification code is used for determining whether there are currently active processes which have been activated by invoking the same program. On the other hand, the second identification code is used for determining whether a response signal received by a process is the same as a broadcast signal transmitted earlier by the process.
Claims9
A program-invocation-count measuring system for a computer, the system comprising:
- first identification-code acquiring means for acquiring a first identification code assigned to a first program and used for distinguishing the first program from other programs
- second identification-code acquiring means for acquiring a second identification code from a host computer wherein the second identification code is assigned to a first process activated in the host computer by invoking the first program and is used for distinguishing the first process from other processes activated in the host computer by invoking the first program;
- broadcasting means for broadcasting a broadcast signal including the first and second identification codes acquired by said first and second identification-code acquiring means, respectively;
- first receiving means for receiving the broadcast signal broadcast by said broadcasting means;
- first judging means for determining whether a first identification code included in the broadcast signal received by said first receiving means matches a first identification code assigned to a program invoked for a process currently executing said first judging means;
- responding means for transmitting a second identification code assigned to a process currently executing said responding means and a first identification code assigned to a program invoked for the process as a response signal when said first judgment means determines that the first identification codes included in the broadcast signal and assigned to a program match;
- second receiving means for receiving the response signal transmitted by said responding means;
- second judging means for determining whether the response signal received by said second receiving means is identical to the broadcast signal broadcast by said broadcasting means;
- and
- counting means for counting the response signals received by said second receiving means and incrementing by one when said second judging means indicates that the response signal received by said second receiving means is not identical to the broadcast signal broadcasted by said broadcasting means.
A program-invocation-count measuring method for a computer, the method comprising:
- acquiring a first identification code assigned to a first program and used for distinguishing the first program from other programs;
- acquiring a second identification code from a host computer wherein the second identification code is assigned to a first process activated in the host computer by invoking the first program and used for distinguishing the first process from other processes activated in the host computer by invoking the first program;
- broadcasting a broadcast signal including the first and second identification codes;
- receiving the broadcast signal;
- making a first determination as to whether a first identification code included in the received broadcast signal matches a first identification code assigned to a program invoked for making the first determination;
- transmitting a response signal including a second identification code assigned to a process currently transmitting the response signal and a first identification code assigned to a program invoked for the process when the first determination indicates that the first identification codes match;
- receiving the response signal;
- making a second determination as to whether the received response signal is the same as the broadcast signal;
- and
- counting the response signals received by incrementing by one when the second determination indicates that the received response signal is not the same as the broadcast signal.
A recording medium in a computer, recording program-invocation-count measuring software, the medium comprising:
- means for acquiring a first identification code assigned to a first program and used for distinguishing the first program from other programs;
- means for acquiring a second identification code from a host computer, the second identification code being assigned to a first process activated in the first host computer by invoking the first program and being used for distinguishing the process from other processes activated in the host computer by invoking the first program;
- means for broadcasting a broadcast signal including the first and second identification codes;
- means for receiving the broadcast signal;
- means for making a first determination as to whether a first identification code included in the broadcast signal matches a first identification code assigned to a program invoked for a process currently making the first determination;
- means for transmitting a response signal including a second identification code assigned to a process currently transmitting the second identification code and a first identification code assigned to a program invoked for the process when the first determination indicates that the first identification codes match;
- means for receiving the transmitted response signal;
- forming means for making a second determination as to whether the response signal is identical to the broadcast signal;
- and
- means for counting received response signals and incrementing by one when the second determination indicates that the response signal is not identical to the broadcast signal.
Dependencies are inferred from the claim text.