WO2004079677A1 - 売上データ処理装置及びプログラム - Google Patents

売上データ処理装置及びプログラム Download PDF

Info

Publication number
WO2004079677A1
WO2004079677A1 PCT/JP2004/002790 JP2004002790W WO2004079677A1 WO 2004079677 A1 WO2004079677 A1 WO 2004079677A1 JP 2004002790 W JP2004002790 W JP 2004002790W WO 2004079677 A1 WO2004079677 A1 WO 2004079677A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
date
sales data
data processing
cpu
Prior art date
Application number
PCT/JP2004/002790
Other languages
English (en)
French (fr)
Inventor
Takehiko Yajima
Original Assignee
Casio Computer Co., Ltd.
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 Casio Computer Co., Ltd. filed Critical Casio Computer Co., Ltd.
Priority to CN2004800062322A priority Critical patent/CN1985282B/zh
Publication of WO2004079677A1 publication Critical patent/WO2004079677A1/ja
Priority to US11/199,404 priority patent/US7480625B2/en

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination

Definitions

  • the present invention relates to a sales data processing device and a program for performing sales data processing based on a date and time.
  • ECRs Electronic Cash Registers
  • a clock circuit for measuring the date and time is provided internally, and the clock circuit measures the date and time when the sales data is registered and the date and time to be recorded in a receipt.
  • a flag is set to determine whether or not the date has been set, and only when it is determined that the date has been set.
  • the date and time printed on receipts and journals may be changed due to the time correction.
  • An object of the present invention is to provide a sales data processing device and a program that can easily correct the date and time.
  • a sales data processing device for performing data processing of sales data overnight based on a date and time, a determination unit for determining an operation state of the device body, and a time including accurate date and time information
  • Receiving means for receiving a signal; selecting means for selecting a time correction method according to the determined operation state; and correcting the date and time based on the received time signal by the selected time correction method.
  • Enter the time correction means and sales data And an input means for performing data processing of the input sales data based on the corrected date and time.
  • FIG. 1 is an external view of an ECR (Electronic Cash Register) according to an embodiment of the present invention.
  • ECR Electronic Cash Register
  • FIG. 2 is a diagram showing a functional configuration of the ECR shown in FIG. 1.
  • FIG. 3 is a diagram showing an example of a memory configuration of the RAM shown in FIG.
  • FIG. 4 is a diagram showing a functional configuration of the radio-controlled timepiece unit shown in FIG.
  • FIG. 5A is a diagram showing the antenna 321 of the radio wave receiving unit shown in FIG.
  • FIG. 5B is a diagram showing an example in which the antenna shown in FIG. 5A is installed on a rotary display.
  • FIG. 6 is a diagram showing an example of a memory configuration of the RAM shown in FIG.
  • FIG. 7 is a flowchart for explaining the content of the timekeeping process executed by the radio-controlled timepiece unit shown in FIG.
  • FIG. 8 is a flowchart for explaining the content of the selection process of the time adjustment method executed by the ECR shown in FIG.
  • FIG. 9 is a flowchart illustrating the details of the time correction processing during standby performed by the ECR shown in FIG.
  • FIG. 10 is a flowchart for explaining the content of the time adjustment process according to the sensitivity executed by the ECR shown in FIG.
  • FIG. 11 is a flowchart for explaining the content of the time correction process performed at regular time intervals performed by the ECR shown in FIG.
  • FIG. 12 is a flowchart for explaining the contents of the sales data processing executed by the ECR shown in FIG.
  • the present invention is applied to an ECR, a radio timepiece unit that corrects the time based on a time signal wirelessly received by the ECR, and measures an accurate date and time, includes a plurality of time correction methods.
  • An example in which the time is adjusted by the time adjustment method according to the operation status of the ECR will be described.
  • FIG. 1 shows an example of the appearance of ECR 1 according to the present embodiment.
  • the ECR 1 includes a rotation indicator P l, a main body 10, and a drawer D.
  • the rotation indicator P1 is for displaying the input sales data and the results of the processing thereof to the customer, and the display for displaying the results of the processing of the sales data serves as a pillar. It is configured to be rotatable as a shaft.
  • the upper part of the main body 10 is provided with a paper discharge roller RM, a journal window JW, a numeric keypad Z function key Kl, a mode key ⁇ 2, a person in charge key ⁇ 3, and an evening switch ⁇ 2.
  • the paper discharge roller R ⁇ discharges the receipt R.
  • Journal window jw This window is for confirming journal J.
  • Mode key # 2 is a key for designating the operation mode of ECR1.
  • the staff key # 3 is a key for designating a staff who operates the ECR1.
  • the evening touch panel # 2 is a panel for displaying various information such as the input sales data and the data processing results to the operator.
  • Mode key # 2 is a registration mode R for registering sales data such as sales amount and number of times, an inspection mode X for checking the registered sales data, and reading and resetting the registered sales data.
  • Set-up mode ⁇ ⁇ to set various environment settings of balance mode Z, ECR 1 and OFF mode to end each operation mode and stop operation.Specify a key to specify the desired mode. I can.
  • Drawer D is a drawer for storing cash, and is opened only when an opening instruction is given by a user.
  • ECR 1 is composed of CPU (Central Processing Unit) 11, input unit 12, display unit 13, RAM
  • the CPU 11 executes the system program stored in the storage unit 16.
  • a time correction method selection program according to the present invention see FIG. 8
  • a time correction processing program during stamping see FIG. 9
  • a time correction processing program according to sensitivity see FIG. 10
  • a time correction processing program at regular intervals (see Fig. 11).
  • the CPU 11 receives a power-down signal (the ECR 1 is disconnected from the AC power supply, which is the main power supply, and is in a power outage state) in the time correction method selection processing described later.
  • the ECR 1 energization state is determined based on the signal that indicates ECR 1).
  • the CPU 11 determines the operation state of the ECR 1 by determining the operation mode of the ECR 1 set by the mode key K2, and determines a time according to the determined operation state. Select the correction method.
  • the CPU 11 has a timer function and measures (counts) a predetermined time. Specifically, the CPU 11 stores the count value measured during energization by the standby power supply in the RAMI 4 as the first count value when the ECR 1 is disconnected from the main power supply. I do. The CPU 11 stores the count value measured while the ECR 1 is energized by the main power supply in the RAM 14 as a second counter value.
  • the input section 12 is composed of the numeric keypad / function key Kl, the mode key ⁇ 2, the person in charge key ⁇ 3, and the evening key of the main body section 10 shown in FIG.
  • a push signal corresponding to the key pressed by the user is output to the CPU 11 including the touch panel P 2 and the like.
  • the display unit 13 includes the touch panel P 2 and the rotation indicator P 1 of the main body 10 shown in FIG.
  • the display unit 13 displays various types of display information such as sales data input via the input unit 12, reception sensitivity of radio waves at the radio timepiece unit 30, and processing results by the CPU 11.
  • RAMI 4 has a first counter value memory 14 1 for storing the first counter value and a second counter value memory 14 2 for storing the second counter value, as shown in FIG. And
  • the RAM I 4 has a work area 144 that temporarily stores various programs executed by the CPU 11 and data related to these programs.
  • the first count value stored in the first counter value memory 14 1 and the second counter value stored in the second counter value memory 14 2 are stored for a predetermined time in accordance with the control of the CPU 11. Updated by 1 each time.
  • the RAM 14 has a PLU (Price Look Up) memory 144 for storing product information, a time zone memory 144 for storing total sales data for each specified time zone, It has various memory areas related to the sales data registration process, such as a department memory 146 that stores total sales data for each product category.
  • PLU Price Look Up
  • the communication unit 15 is composed of a network interface card, a modem, etc., and communicates with external devices on the communication network. Transmission and reception.
  • the storage unit 16 has a storage medium in which programs, data, and the like are stored in advance.
  • This storage medium is composed of a magnetic or optical recording medium or a semiconductor memory, and is fixedly provided in the storage unit 16 or is detachably mounted.
  • the medium is a time correction method selection processing program, a time correction processing program during stamping, a time correction processing program according to sensitivity, a time correction processing program at regular intervals, a sales data processing program, etc. Seed programs and data processed by each program are described.
  • the program, data, and the like stored in the storage medium may be configured to be received from another device connected via a communication network and stored. Further, the program and data may be stored in the storage medium via the communication network. It is also possible to provide a storage device provided with the above storage medium on the other device side connected thereto, and obtain programs, data, and the like stored in this storage medium via a communication network.
  • the printing section 17 includes, for example, a print head section in which thermal elements in segment units are arranged in a line, and a transport section that sends a set roll-shaped receipt paper to the print head section. Is provided.
  • the printing unit 17 feeds the receipt paper and prints it on the receipt paper based on the sales data and the date and time data input for each line at predetermined time intervals from the CPU 11 and prints.
  • the receipt is ejected to the exit RM.
  • the printing unit 17 prints the receipt at the same time The same content as that printed on the sheet is printed on journal paper.
  • the clock circuit 18 counts the date and time of the current year, month, day, hour, minute, and second, and outputs the date and time data.
  • the power supply control section 19 supplies power supplied from an AC (Alternating Current) power supply, which is a main power supply, to each section of the ECR 1.
  • the power supplied from the AC power supply is supplied to the battery 19a, which is a standby power supply, by the charging circuit 19b.
  • the power supply control unit 19 When the power supply control unit 19 is disconnected from the AC power supply, the power supply control unit 19 receives power supply from the battery 19 a and supplies power to each unit of the ECR 1. When power is supplied from the battery 19a, the power control unit 19 outputs a power-down signal to the CPU 11 indicating that the main power is in a power failure state.
  • the radio wave clock unit 30 receives a time signal including accurate date and time information by radio waves, and measures an accurate date and time based on the received time signal.
  • Fig. 4 shows the functional configuration of the radio clock unit 30.
  • the radio wave clock unit 30 is composed of a CPU 31 radio wave receiver 32, I / F (InterFace) 33, clock circuit 34, RAM 35, ROM (Read Only Memory) 36 Is provided.
  • the CPU 31 deploys the timekeeping processing program (see Fig. 7) stored in the ROM 36 to the RAM 35, and controls the processing operation comprehensively in cooperation with the program.
  • the CPU 31 has a timer function, and the counted value is stored in the RAM 35 as a third counter value. You.
  • the CPU 31 always detects the reception state of the radio wave in the radio wave receiving unit 32 and evaluates the reception sensitivity at a level based on the reception state.
  • the information of the evaluated reception sensitivity is R AM 3
  • the radio wave receiving section 32 has a rod-shaped magnetic substance 3.
  • An antenna 3 2 1 is provided around 2 2 around which a conductor 3 2 3 is wound in a coil shape.
  • the radio wave receiving unit 32 2 receives the time signal from the transmitting station that transmits a time signal including accurate date and time information (time code information) as a standard radio wave using the antenna 3 21.
  • Antenna 3221 receives radio waves in the direction of the arrow shown in FIG. 5A. Therefore, the receiving sensitivity of the antenna 3 2 1 changes according to the installation state of the antenna 3 2 1.
  • Figure 5B shows an example of installation of antenna 3 21.
  • the antenna 3 21 is installed inside the support of the rotary indicator P 1, and both ends of the magnetic body 3 2 2 are attached to the inner wall of the support. That is, it is configured that the radio wave receiving position of the antenna 321 can be changed together with the rotation of the rotation indicator P1.
  • IZF33 is an interface for connecting to ECR1.
  • the clock circuit 34 measures the date and time of the current year, month, day, hour, minute, and second, and outputs the date and time data.
  • the RAM 35 stores the third count value, as shown in Figure 6.
  • the third count value memory 351 which stores the data
  • the current date / time memory 352 which stores the current date / time data measured by the clock circuit 34
  • the reception sensitivity of the radio clock unit 30 It has each memory area of the receiving sensitivity memory 353 that stores the information of
  • the third count value stored in the third count value memory 3551 is incremented and updated at predetermined time intervals according to the control of the CPU 31.
  • the RAM 35 has a memory area for a reception OK flag memory 354 and a memory area for a reception NG flag memory 355.
  • the reception OK flag memory 354 stores reception OK flag data indicating that the time signal was successfully received. That is, if the reception is successful, the reception 0 K flag is set to ⁇ N, and if the reception is unsuccessful, the reception 0 K flag is set to OFF.
  • the reception NG flag memory 355 stores reception NG flag data indicating that reception of the time signal has failed. That is, if reception fails, the reception NG flag is set to ON, and if reception succeeds, the reception NG flag is set to ⁇ FF.
  • the ROM 36 is composed of a semiconductor memory or the like and stores a clock processing program.
  • the time correction method in the clock circuit 18 is selected according to the operation state of the ECR 1, and the time signal is received by the radio-controlled clock unit 30 according to the selected time correction method.
  • the ECR 1 clock circuit measures the exact date and time and, based on the accurate date and time measured by this radio clock unit 30.
  • Example of correcting the time in 18; that is, to correct the date and time of the radio clock unit 30 based on the time signal transmitted by radio waves, and to use it for actual processing A description will be given of an example in which the date and time of the clock circuit 18 that measures the date and time is corrected.
  • This timekeeping process is a process of measuring an accurate date and time based on the received time signal, and outputting the timed date and time data to ECR1 in response to a request from ECR1.
  • step S1 the CPU 31 refers to the power counter value stored in the third counter value memory 351, and the count value reaches a certain value. It is determined whether or not a certain period of time has elapsed since the count value was reset. The condition for resetting the third counter value will be described later.
  • step S1 If it is determined that the fixed time has elapsed (step S1; Yes), the process proceeds to step S2. If it is determined that the fixed time has not elapsed (step S1; No), step S8 is performed. Move to.
  • step S2 detection processing is performed by the radio wave receiving unit 32, and radio wave detection of the time signal is performed.
  • step S3 the CPU 31 determines whether the time signal has been normally received. Is determined.
  • step S3 If the reception sensitivity of the radio wave is low and the time signal is not received normally (step S3; No), the flag is set to OFF in the reception OK flag memory 354 of the RAM 35, and The flag is set to ON in the reception NG flag memory 355 (step S4).
  • the flag is set as described above, the process proceeds to step S7.
  • step S3 if the time signal is received normally (step S3; Yes), the flag is set to ON in the reception OK flag memory 354 of the RAM 35 and the reception NG flag memory 355 is set. The flag is set to 0 FF (step S5).
  • step S6 the CPU 31 corrects the date and time measured by the clock circuit 34 based on the time signal received in the processing in step S2, and outputs the data of the corrected date and time. Is stored in the current date / time memory 3 52.
  • step S7 the CPU 31 resets the count value stored in the third power value memory 351. As a result, the third count value becomes 0 and increases again until it reaches the above-mentioned constant value. . When the timing starts, the process returns to step S1.
  • step S 1 determines that the predetermined time has not elapsed.
  • step S8 the CPU 31 determines whether the current date and time data has been requested from the ECR1. If it is determined that the date / time data has been requested (step S8; Yes), the CPU 31 sends the date / time data stored in the current date / time memory 352 to the ECR via the IZF 33. Transfer to 1 (step S9), and move to the processing of step S10.
  • step S8 If it is determined that the date and time is not requested (step S8; No), the process shifts to step S10 without performing the process of step S9.
  • step S10 CPU 31 determines whether or not flag data has been requested from ECR1.
  • step S10 If it is determined that the flag data has been requested (step S10; Yes), the CPU 31 stores the reception OK flag data or the reception NG flag memory 3555 stored in the reception OK flag memory 354. Of the stored received NG flag data, the flag data that is set to ON is transferred to ECR via I33.
  • step S10 if it is determined that the flag data has not been requested (step S10; No), the process returns to step S1 without performing the process of step S11.
  • the process of selecting the time adjustment method is a process of determining the operation status of the ECR 1 and selecting the time adjustment method in the clock circuit 18 according to the determined operation status.
  • step 1 the CPU 11 determines whether or not the power down signal is output from the power supply control unit 19 to determine whether or not the ECR 1 is in the AC power ON state connected to the AC power supply. Is determined.
  • ECR 1 For example, if ECR 1 is stored in a warehouse, is being transported from a factory, or is installed in a store, but is disconnected from the AC power source during a period such as a long holiday, ECR 1 will be in a blackout state. Then, a power-down signal is output from the power supply control unit 19.
  • the ECR 1 is energized by the power supply from the battery 19a, and the power mode of the ECR 1 is switched from the power failure mode to the power saving mode.
  • step T1 If the power control unit 19 has not output the power-down signal and is in the AC power ON state (step T1; Yes), the processing shifts to step.
  • step T1 when the power down signal is output from the power supply control unit 19 and it is determined that the AC power supply is in the 0 FF state (step T1; No), the ECR 1 is in the power saving mode. Then, the state is set to a standby state waiting for the activation of ECR 1 (step T2). When the state is set to the standby state, the processing shifts to the time correction processing during the standby state, which is the processing of step T3.
  • This time adjustment during standby is performed when the AC power supply is disconnected and the power is cut off, that is, when ECR 1 is not used.
  • step T31 the CPU 11 refers to the count value stored in the first count value memory 14 1 of RAM I4. Then, it is determined whether or not this count value has reached a certain value, that is, whether a certain time has elapsed since the first count value was reset. The conditions will be described later.
  • step T31 If it is determined that the predetermined time has not elapsed (step T31; No), the CPU 11 ends this processing and shifts to the next processing, that is, step T1 in FIG. On the other hand, if it is determined that the predetermined time has elapsed (step T31; Yes), the CPU 11 temporarily releases the standby state in the ECR1. This activates ECR1 (step T32).
  • step T33 the CPU 11 checks the flag data set in the reception of the radio timepiece unit 30 in the K flag memory 354 or the reception NG flag memory 3555. It generates request information for making a request and outputs this request information to the radio clock unit 30.
  • step ⁇ 34 the CPU 11 determines whether any of the reception ⁇ ⁇ flag data and the reception NG flag data has been obtained from the radio clock unit 30. If neither flag data is obtained If it is determined (step T34; No), the CPU 11 returns to the process of step T33 and requests the flag data again.
  • step T35 the CPU 11 proceeds to step T35. Determine whether the data is reception NG flag data.
  • step T35 If the acquired flag data is the reception NG flag data (step T35; Yes), the process proceeds to step T36, and if the acquired flag data is the reception OK flag data (step T3). 5; No), and the routine goes to Step T40.
  • step T36 the CPU 11 generates request information for requesting the radio clock unit 30 to forcibly receive a time signal, and sends the request information to the radio clock unit 30. Output.
  • step T37 the CPU 11 determines whether any of the reception ⁇ K flag data and the reception NG flag data has been obtained, and if neither flag data has been obtained, In step T37; No), the CPU 11 returns to the process in step T36, and requests the forced reception of the time signal again.
  • step T38 the CPU 11 determines whether or not the acquired flag data is the received NG flag data. Separate.
  • step T38 If the acquired flag data is the received NG flag data (step T38; Yes), the CPU 11 reports that an accurate time signal was not obtained and time correction could not be performed.
  • the message is controlled to be displayed on the display unit 13 (step T39), and the process proceeds to the next process, that is, step T1 in FIG.
  • step T40 the CPU 11 stores the current date and time data in the radio clock unit 30. Request information for the request is output to the radio clock unit 30, and by making this request, the date / time data is obtained from the radio clock unit 30.
  • step T41 the CPU 11 corrects the time measured by the clock circuit 18 based on the obtained current date / time data.
  • step T42 the CPU 11 resets the counter value stored in the first counter value memory 141, whereby the first counter value becomes 0, and It increases again until it reaches a certain value. Then, the processing performed by the CPU 11 shifts to the next processing, that is, the processing of step T1 in FIG. 8. Next, in step T1 shown in FIG. 8, it is determined that the AC power is on. The case will be described.
  • step T4 CPU 1 determines whether or not ECR 1 is in a standby state.
  • CPU 11 has ECR 1 If it is determined that the standby is being performed (Step T4; Yes), in Step T5, the standby is temporarily released, the ECR 1 is activated (Step T5), and the process proceeds to Step T6.
  • the processing shifts to time adjustment processing according to the sensitivity.
  • step T4 when it is determined that the ECR 1 is not in the standby mode (step T4; No), the CPU 11 does not perform the processing in step T5, but performs the processing in step T6 according to the sensitivity. Move to the time correction process.
  • the time adjustment process according to this sensitivity is a process that is performed when the ECR 1 is connected to AC power and is energized, that is, when the ECR 1 is being used. If the reception sensitivity of the clock unit 30 is high, the radio wave clock unit 30 receives the time signal to correct the time.
  • step T61 the CPU 11 determines the operation status of the ECR 1 and stores the data of another task such as registration process and settlement process. It is determined whether or not processing is in progress.
  • step T61 If the data is being processed by another task (step T61; Yes), the CPU 11 ends this processing and shifts to the next processing, that is, the processing of step T7 in FIG.
  • step T61 if the data is not being processed by another task (step T61; No), the CPU 11 generates the request information for requesting the information on the receiving sensitivity of the radio-controlled clock unit 30. , This Is output to the radio clock unit 30 (step 62).
  • step T63 the CPU 11 determines whether or not the information on the reception sensitivity has been obtained from the radio-wave clock unit 30. If the information on the reception sensitivity has not been obtained, (step T63; No), the CPU 11 returns to the process of step T62 and requests the information of the reception sensitivity again.
  • the CPU 11 determines whether the reception sensitivity is a sensitivity equal to or higher than a predetermined level, that is, It is determined whether or not the reception sensitivity is good (step T64).
  • Step T64 If the receiving sensitivity is not higher than the predetermined level (Step T64; No), the CPU 11 ends this processing without performing the time adjustment, that is, the next processing, that is, Step T7 in FIG. Move to the processing of.
  • the CPU 11 controls the display unit 13 to display a message notifying that the reception sensitivity is low.
  • Guidance may be provided to rotate P 1 to change the radio wave reception position.
  • step T64 if the reception sensitivity is equal to or higher than the predetermined level (step T64: Yes), the CPU 11 sends request information for requesting the current date and time data measured by the radio clock unit 30. The request information is generated and output to the radio clock unit 30 (step T65).
  • step T66 the CPU 11 determines whether date / time data has been obtained from the radio timepiece unit 30. If date / time data has not been obtained (step T66; N o), the CPU 11 returns to the process of step T65 and requests the date and time data again.
  • step T66 When the date and time data is obtained from the radio clock unit 30 (step T66; Yes), the CPU 11 counts the time in the clock circuit 18 based on the received date and time data. Correct the date and time (step T67). After the time correction, the CPU 11 ends this processing and proceeds to the next processing, that is, to step T7 in FIG.
  • step T7 shown in FIG. 8 the CPU 11 determines whether or not the operation mode of the ECR1 is set to the OFF mode by the mode key K2.
  • Step T7; No If the operation mode is not set to the OFF mode (Step T7; No), the CPU 11 returns to the process of Step T1 and the operation mode is set to the FFFF mode. If there is (Step T7; Yes), the time correction processing of the fixed time, which is the processing of Step T8, is performed.
  • This time correction process at regular intervals is a process that is performed when the ECR 1 is connected to an AC power supply and is energized, that is, when the ECR 1 is used, and the ECR 1 stops operating. In OFF mode This is the process of making the radio clock unit 30 receive the time signal and correcting the time.
  • step T81 the CPU 11 refers to the count value stored in the second count value memory 14 Determine whether the evening value has reached a certain value, that is, whether a certain time has elapsed since the reset of the second count evening value. The conditions for resetting the second count value will be described later.
  • step T81 If it is determined that the predetermined time has not elapsed (step T81; No), the CPU 11 ends this processing and moves to the next processing, that is, step T1 in FIG.
  • Step T81 If it is determined that the predetermined time has elapsed (Step T81; Yes), the CPU 11 sends the request information for requesting the current date and time data measured by the radio clock unit 30. Then, this request information is output to the radio clock unit 30 (step T82).
  • step T83 the CPU 11 determines whether or not date / time data has been acquired from the radio clock unit 30. If date / time data has not been acquired (step T83; No), the CPU 11 returns to the process of step T82 and requests the date / time data again.
  • step T83 when the date and time data is acquired from the radio clock unit 30 (step T83; Yes), the CPU 11 executes the clock circuit 18 based on the acquired date and time data. Correct the date and time measured in step (step T84). When the date and time are corrected, in step T85, the CPU 11 resets the second count value stored in the second count value memory 142. As a result, the second count value becomes 0, and increases again until it reaches the above-mentioned constant value. . After resetting the second count value, the CPU 11 ends this processing, and shifts to the next processing, that is, the processing of step T1 in FIG. 8, and corrects the time according to the operation state of ECR 1. repeat.
  • the sales data overnight processing executed by the ECR 1 in parallel with the above-described time adjustment method selection processing will be described with reference to FIG.
  • the data processing is performed overnight according to the operation mode specified by the mode key K2.
  • step E 1 the CPU 11 determines whether or not an input has been made by the operator via the input unit 12.
  • step E1; No If there is no input (step E1; No), the input is awaited. On the other hand, if there is an input (step E1; Yes), the CPU 11 analyzes the input and determines whether or not the input is an operation input by the mode key K2 (step E2).
  • Step E2 If the operation is input by the mode key K2 (Step E2; Yes), the CPU 11 switches the operation mode according to the operation input (Step E3).
  • step E2 if the operation input is not the operation key using the mode key K2 but the operation input using another key such as the numeric keypad function key K1 (step E2; No), the CPU 11 executes the mode key operation.
  • step No. 4 It is determined whether or not the current operation mode set by the operation of K2 is the registration mode (step No. 4).
  • step E5 If another mode such as the inspection mode or setting mode is set by mode key ⁇ 2 and the registration mode is not set (step ⁇ 4; No), the CPU 11 Executes a process according to the operation mode set by the mode key K2 (step E5).
  • step E6 the CPU 11 determines whether the closing process of the registered sales data has been instructed by key input.
  • step E6 If the closing process is not instructed and the input in step E1 is sales data by the numeric keypad / function key K1 (step E6; No), the CPU 11 counts time by the clock circuit 18. The registered sales data is registered based on the entered date and time, and the data stored in the PLU memory 144 is updated (step E7).
  • step E8 the CPU 11 stores the data stored in the other memories related to the data registration, such as the time-slot-based memory 145, based on the date and time measured by the clock circuit 18. Update.
  • step E9 the CPU 11 controls the printing unit 17 to print the registered contents on the receipt R and the journal J. .
  • Step E1 After printing, the CPU 11 moves to step E1 and registers Steps E1 to E9 are repeated until the closing process is instructed, and the sales data is registered.
  • Step E6 When the registration of all sales data is completed and the closing process is instructed (Step E6; Yes), the CPU 11 obtains the current date and time data from the clock circuit 18 and sets the current date and time data.
  • the printing unit 17 prints and issues the receipt R on which the date and time have been printed, and controls this so that it is output to the paper ejection roller RM (step E10).
  • the processing performed by the CPU 11 returns to step E1.
  • the ECR 1 selects a time correction method for correcting the date and time of the clock circuit 18 according to the operation status, and uses the date and time corrected by the selected time correction method to process the sales data. This eliminates the need for complicated work of manually adjusting the time, and allows sales data to be processed with an accurate date and time. '
  • the ECR1 automatically selects the optimal time adjustment method according to the operation status, so that the time can be adjusted without affecting the sales data processing of the ECR1.
  • ECR 1 For example, if ECR 1 is shipped from the factory or being transported, and is supplied with power from the standby power supply instead of the main power supply, ECR 1 starts up at regular intervals from the standby state, Since accurate date and time data is obtained from the unit 30 and the date and time of the clock circuit 18 is corrected, the work of setting the date and time at the factory and the work of setting the date and time by the user after installing it in the store is performed. It can be omitted. In addition, since the ECR 1 is temporarily activated, adjusts the time, and then sets the standby state again, the time can be adjusted with minimal power consumption.
  • the time since the time is adjusted when data processing is not being performed, the time can be adjusted without affecting the sales data processing.
  • the reception sensitivity of the radio clock unit 30 is equal to or higher than a predetermined level.
  • the time signal is received and the date and time are corrected, so that the date and time can be corrected only when the reception sensitivity is good, and the processing efficiency of the time correction is high.
  • the ECR 1 when the ECR 1 is energized by the main power supply but is not operating, the ECR 1 obtains the date and time data from the radio clock unit 30 at fixed time intervals and obtains the date and time in the clock circuit 18. Since the time is adjusted, the time can be automatically adjusted even during a store closing time, for example, at night.
  • the reception condition of radio waves is often good at night, so the time can be adjusted during a time zone in which the reception condition is good, and the efficiency of time adjustment is high.
  • the antenna 3 21 of the radio wave receiving unit 3 2 of the radio clock unit 30 is installed on the rotary display P 1 so that the radio wave receiving direction also rotates with the rotation of the rotary display P 1.
  • the radio clock unit 30 is provided with a CPU 31 for controlling the above-mentioned timekeeping processing, and enables the radio clock unit 30 to independently receive a time signal and correct the time, and the ECR 1 In ERC1, processing of other tasks, such as sales data processing, is performed in ECR 1 even when a time signal is being received, even when a time signal is being received, since the accurate date and time measured by the radio clock unit 30 are acquired as necessary. Can be executed.
  • the present invention is not limited to this.
  • the present invention may be applied to the information processing device.
  • ECR 1 it is also possible to set a convenient time in a day, such as when a store is closed, and to automatically receive a time signal and adjust the time every day at the set time. . At this time, a mark or a message indicating that the time is automatically adjusted at a predetermined time may be displayed on the display unit 13.
  • the user displays on the rotation indicator P 1
  • the rotation indicator P1 was manually rotated while confirming the received reception sensitivity, and set to a position where the reception sensitivity level was high, but the rotation indicator was automatically detected while the reception sensitivity was detected on the ECR 1 side.
  • the reception sensitivity may be automatically set to the maximum position.
  • the ECR 1 and the radio clock unit 30 each have a CPU to increase the efficiency of data processing by the CPU 11 on the ECR 1 side.However, only the ECR 1 has a CPU and only this CPU The reception control and the time correction control of the time signal on the clock unit 30 may be performed.

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Electric Clocks (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

日付時刻に基づいて売上データのデータ処理を行う売上データ処理装置であって、装置本体の動作状況を判別する判別手段(11)と、正確な日付時刻情報を含む時刻信号を受信する受信手段(32)と、前記判別された動作状況に応じて時刻修正方法を選択する選択手段(11)と、前記選択された時刻修正方法により前記受信された時刻信号に基づいて日付時刻を修正するする時刻修正手段(31)と、売上データを入力する入力手段(12)とを備え、前記修正された日付時刻により前記入力された売上データのデータ処理を行う売上データ処理装置である。

Description

明 細 書
売上データ処理装置及びプログラム
技術分野
本発明は、 日付時刻に基づいた売上データ処理を行う売上 データ処理装置およびプログラムに関する。
背景技術
百貨店、 スーパーマーケッ ト、 コ ンビニエンスス トア等の 店舗にお いて、 売 り 場毎に設置さ れる E C R ( Electronic Cash Register: 電子式金銭登録機) は、 入力された売上デー 夕を登録し、 売上金額や売上個数等を出力する ものである。
このような E C Rでは、 内部に 日付時刻を計時する時計回 路を備え、 この時計回路によ り売上データの登録を行った日 付時刻やレシ一卜 に記録する 日付時刻を計時している。
従来、 上記 E C Rでは、 E C R の工場出荷時、 若し く は E C R納品時に、 オペレータによ り 日付時刻が手動で初期設定 されていた。
この初期設定が行われないままデータ処理が行われてしま う こ とを防ぐために、 日付設定がなされたか否かをフラグを 設定して判別し、 日付設定がなされたと判別された場合のみ. 売上データ処理を行う E C Rが開発されている。
このような、 日付設定がなされたと判別された場合のみに 売上データ処理を行う E C Rの技術内容は、 例えば特開平 5 一 0 1 2 5 7 0 号公報に開示されている。
しかしながら、 従来の E C Rでは日付時刻の設定は、 オペ レー夕が手動で行っており、 その設定作業は非常に煩雑であ つた。 また、 E C Rを店舗に設置後、 時計回路において計時 される時刻がずれてきた場合、 時刻修正のために再度日付時 刻を設定しなければならず、 ユーザの負担も大きかった。
さ らに、 E C Rにおいて時刻修正を行う場合、 時刻修正に よ り レシー トやジャーナルに印刷される 日付時刻が前後する 可能性がある。
例えば、 「 1 4 : 0 0」 の時刻で登録内容がジャーナルに 印刷された後、 時刻修正によ り 「 1 3 : 5 9 」 に修正され、 その直後に次の登録内容がジャーナルに印刷された場合、 ジ ヤーナルの時刻がさかのぼってしまい、 登録内容の記録が不 明確になってしまう。
そのため、 一日の登録処理を終え、 E C Rの動作を停止す る直前に時刻修正を行わなければならず、 時刻修正が不自由 だつた。
発明の開示
本発明の目的は、 容易に日付時刻の修正を行う ことができ る売上データ処理装置およびプログラムを提供する ことであ る。
本発明の一実施形態に従って、 日付時刻に基づいて売上デ 一夕のデータ処理を行う売上データ処理装置であって、 装置 本体の動作状況を判別する判別手段と、 正確な 日付時刻情報 を含む時刻信号を受信する受信手段と、 前記判別された動作 状況に応じて時刻修正方法を選択する選択手段と、 前記選択 された時刻修正方法によ り前記受信された時刻信号に基づい て日付時刻を修正する時刻修正手段と、 売上デ一夕を入力す る入力手段とを備え、 前記修正された日付時刻によ り前記入 力された売上データのデータ処理を行う売上デ一夕処理装置 が提供される。
図面の簡単な説明
図 1 は 、 本 発 明 の 一 実 施 形 態 に し た が っ た E C R ( Electronic Cash Register) の外観図である。
図 2 は、 図 1 に示した E C Rの機能的構成を示す図である 図 3 は、 図 2 に示した R A Mのメモリ構成例を示す図であ る。
図 4 は、 図 2 に示した電波時計ユニッ トの機能的構成を示 す図である。
図 5 Aは、 図 4 に示した電波受信部のアンテナ 3 2 1 を示 す図である。
図 5 Bは、 図 5 Aに示したアンテナが回転表示器に設置さ れた例を示す図である。
図 6 は、 図 4 に示した R A Mのメモリ構成例を示す図であ る。
図 7 は、 図 2 に示した電波時計ユニッ トによ り実行される 計時処理の内容を説明するフローチヤ一トである。
図 8 は、 図 1 に示した E C Rによ り実行される時刻修正方 法の選択処理の内容を説明するフローチヤ一トである。
図 9 は、 図 1 に示した E C Rによ り実行されるスタンバイ 中の時刻修正処理の内容を説明するフローチヤ一卜である。
図 1 0 は、 図 1 に示した E C Rによ り実行される感度に応 じた時刻修正処理の内容を説明するフローチヤ一卜である。 図 1 1 は、 図 1 に示した E C Rによ り実行される一定時間 毎の時刻修正処理の内容を説明するフローチヤ一トである。
図 1 2 は、 図 1 に示した E C Rによ り実行される売上デー 夕処理の内容を説明するフローチヤ一卜である。
発明を実施するための最良の形態
以下、 図面を参照して本発明の一実施形態を詳細に説明す る。
本実施形態では、 本発明を E C Rに適用 し、 当該 E C Rに 無線で受信した時刻信号に基づいて時刻を修正し、 正確な日 付時刻を計時する電波時計ユニッ ト を備え、 複数の時刻修正 方法のう ち、 E C Rの動作状況に応じた時刻修正方法で時刻 の修正を行う例を説明する。
まず、 本発明が適用された E C Rの構成例を説明する。 図 1 に、 本実施形態にしたがった E C R 1 の外観の例を示 す。
図 1 に示すよう に、 E C R 1 は、 回転表示器 P l 、 本体部 1 0 、 ドロア D を備える。
回転表示器 P 1 は、 入力された売上データやそのデ一夕処 理結果を顧客に対して表示するためのものであ り、 売上デ一 夕の処理結果を表示する表示ディ スプレイが支柱を軸として 回転可能に構成される。
本体部 1 0 の上部には、 排紙ロ R M、 ジャーナル窓 J W、 テンキー Zフ ァ ンクショ ンキー K l 、 モー ドキー Κ 2 、 担当 者キー Κ 3 および夕 ツチパネル Ρ 2 が備えられる。
排紙ロ R Μはレシー ト Rを排紙する。 ジャーナル窓 J Wは ジャーナル J を確認するための窓である。 テンキー/フ ァ ン クシヨ ンキ一 K l 、 売上データ等を入力するためのキ一であ る。 モー ドキー Κ 2 は、 E C R 1 の動作モー ドを指定するた めのキーである。
担当者キー Κ 3 は、 E C R 1 を操作する担当者を指示する ためのキーである。 夕 ツチパネル Ρ 2 は、 入力された売上デ 一夕やそのデータ処理結果等の各種情報をオペ レータに対し て表示するためのパネルである。
モー ドキー Κ 2 は、 売上金額、 回数等の売上データを登録 する登録モー ド R、 登録された売上データを点検する点検モ ー ド X、 登録された売上データを読み出すとと もにリセッ ト する精算モー ド Z、 E C R 1 の各種環境設定を行う設定モー Ρ、 および、 各動作モー ドを終了し、 動作停止する O F F モー ドのう ち、 所望のモー ドを指定するための指定キーを備 える。
ドロア Dは、 現金を収納する引き出しであ り 、 ユーザから の開放指示があった場合のみ、 開放される。
次に、 図 2 を参照して、 E C R 1 の機能的構成について説 明する。
図 2 に 示 す よ う に 、 E C R 1 は 、 C P U ( Central Processing Unit) 1 1 、 入力部 1 2 、 表示部 1 3 、 R A M
( Random Access Memory) 1 4 、 通信部 1 5 、 記憶部 1 6 . 印刷部 1 7 、 時計回路 1 8 、 電源制御部 1 9 、 電波時計ュニ ッ ト 3 0 を備えており、 各部はパス 2 1 によ り接続される。
C P U 1 1 は、 記憶部 1 6 に格納されるシステムプログラ ムの他、 本発明に係る時刻修正方法の選択処理プロ グラム (図 8参照) 、 スタンパイ中の時刻修正処理プログラム (図 9 参照) 、 感度に応じた時刻修正処理プログラム (図 1 0参 照) 、 一定時間毎の時刻修正処理プログラム (図 1 1 参照) 売上データ処理プログラム (図 1 2 参照) 等を R AM I 4 に 展開して、 当該プログラムとの協働によ り処理動作を統括的 に制御する。
C P U 1 1 は、 後述する時刻修正方法の選択処理において 電源制御部 1 9 から入力されるパワーダウン信号 ( E C R 1 が主電源である A C電源との接続が切断され、 停電状態であ る こ とを示す信号) に基づいて E C R 1 の通電状態を判別す る。
また、 C P U 1 1 は、 モー ドキー K 2 によ り設定された E C R 1 の動作モー ドを判別する ことによ り 、 E C R 1 の動作 状況を判別し、 当該判別された動作状況に応じた時刻修正方 法を選択する。
また、 C P U 1 1 は、 夕イマ機能を有し、 所定時間の計時 を行う (カウン トする) 。 具体的には、 C P U 1 1 は、 E C R 1 が主電源と切断された際に予備電源によ り通電中に計時 されたカウン夕値を第 1 のカウン夕値と して R A M I 4 に格 納する。 また、 C P U 1 1 は、 E C R 1 が主電源によ り通電 中に計時されたカウン夕値を第 2 のカウンタ値として R AM 1 4 に格納する。
入力部 1 2 は、 図 1 に示した本体部 1 0 のテンキー/ファ ンクシヨ ンキー K l 、 モー ドキー Κ 2 、 担当者キー Κ 3 、 夕 ツチパネル P 2 等を含み、 ユーザによ り押下されたキーに対 応する押下信号を C P U 1 1 に出力する。
表示部 1 3 は、 図 1 に示した本体部 1 0 の夕 ツチパネル P 2 、 回転表示器 P 1 等を含む。 表示部 1 3 は、 入力部 1 2 を 介して入力された売上データや、 電波時計ュニッ ト 3 0 にお ける電波の受信感度、 C P U 1 1 による処理結果等の各種表 示情報を表示する。
R A M I 4は、 図 3 に示すよ う に、 第 1 のカウンタ値を格 納する第 1 のカウン夕値メモリ 1 4 1 と、 第 2 のカウンタ値 を格納する第 2 のカウンタ値メモリ 1 4 2 とを有する。
また、 R AM I 4は、 C P U 1 1 によって実行される各種 プログラム及びこれらのプログラムに係るデータを一時的に 格納するワークエリ ア 1 4 3 を有する。
第 1 のカウンタ値メモリ 1 4 1 に格納される第 1 のカウン 夕値および第 2 のカウンタ値メモリ 1 4 2 に格納される第 2 のカウンタ値は、 C P U 1 1 の制御にしたがって、 所定時間 ごとに 1 増やして更新される。
さ ら に 、 R A M 1 4 は、 商品情報 を 格納す る P L U ( Price Look Up) メモ リ 1 4 4 、 指定された時間帯毎の売 り上げ合計データを格納する時間帯別メモリ 1 4 5、 商品の 部門別に売り上げ合計データを格納する部門別メモリ 1 4 6 等、 売り上げデータの登録処理に係る各種メモリ領域を有す る。
通信部 1 5 は、 ネッ トワークイ ン夕フェイスカー ド、 モデ ム等によ り構成され、 通信ネッ ト ワーク上の外部機器と情報 の送受信を行う。
記憶部 1 6 は、 プログラムやデータ等が予め記憶されてい る記憶媒体を有する。 この記憶媒体は、 磁気的又は光学的記 録媒体、 若しく は半導体メモリ で構成され、 記憶部 1 6 に固 定的に設けたもの、 若しく は着脱自在に装着するものである , この記憶媒体は、 システムプログラムの他、 時刻修正方法 の選択処理プログラム、 スタンパイ中の時刻修正処理プログ ラム、 感度に応じた時刻修正処理プログラム、 一定時間毎の 時刻修正処理プログラム、 売上データ処理プログラム等の各 種プログラムを及び各プログラムで処理されたデータ等を記 愴—9 る。
また、 この記憶媒体に記憶するプログラム、 データ等は、 通信ネッ ト ワークを介して接続された他の機器から受信して 記憶する構成にしてもよ く 、 さ ら に、 通信ネッ トワークを介 して接続された他の機器側に上記記憶媒体を備えた記憶装置 を設け、 この記憶媒体に記憶されるプログラム、 データ等を 通信ネッ トワークを介して取得する構成としてもよい。
印刷部 1 7 は、 例えばセグメ ン ト単位のサーマル素子がラ イ ン状に配列された印字ヘッ ド部と、 セッ トされたロール状 の領収書用紙を前記印字へッ ド部へ送る搬送部を備える。
印刷部 1 7 は、 C P U 1 1 から所定の時間間隔で 1 ライ ン 毎に入力される売上データ及び日付時刻データに基づき、 レ シー ト用紙送り 及びレシ一 ト用紙への印字を行い、 印刷され たレシ一トを排紙口 R Mに排紙する。
また、 印刷部 1 7 は、 レシー トへの印字と同時に、 当該レ シ一 卜 に印字した内容と同一内容をジャーナル用紙に印字す る。
時計回路 1 8 は、 現在の年月 日時分秒の日付時刻を計時し この 日付時刻データを出力する。
電 源 制御 部 1 9 は 、 主電 源 で あ る A C ( Alternating Current) 電源か ら供給される電力を E C R 1 の各部に供給 する。 また、 A C電源から供給された電力は充電回路 1 9 b によ り予備電源であるバッテリ 1 9 a に供給される。
電源制御部 1 9 は、 A C電源との接続が切断されている場 合、 パッテリ 1 9 aから電力供給を受けて E C R 1 の各部に 電力を供給する。 また、 電源制御部 1 9 は、 バッテリ 1 9 a によ り電力供給を行っている場合、 主電源が停電状態である こ とを示すパワーダウン信号を C P U 1 1 に出力する。
電波時計ユニッ ト 3 0 は、 正確な日付時刻情報を含む時刻 信号を電波で受信し、 当該受信された時刻信号に基づいて正 確な日付時刻を計時する。
図 4 に、 電波時計ユニッ ト 3 0 の機能的構成を示す。
図 4 に示すよう に、 電波時計ユニッ ト 3 0 は、 C P U 3 1 電波受信部 3 2 、 I / F ( InterFace) 3 3 、 時計回路 3 4、 R A M 3 5 、 R O M ( Read Only Memory) 3 6 を備える。
C P U 3 1 は、 R O M 3 6 に格納された計時処理プロダラ ム (図 7 参照) を R A M 3 5 に展開し、 当該プログラムとの 協働によ り処理動作を統括的に制御する。
また、 C P U 3 1 は、 タイマ機能を有し、 カウン トされた カウン夕値は第 3 のカウンタ値として R A M 3 5 に格納され る。
また、 C P U 3 1 は、 電波受信部 3 2 における電波の受信 状態を常に検出し、 当該受信状態に基づいて、 受信感度をレ ベル評価する。 この評価された受信感度の情報は、 R AM 3
5 に格納される。
電波受信部 3 2 は、 図 5 Aに示すよう に、 棒状の磁性体 3
2 2 の周囲に導体 3 2 3がコイル状に巻き付けられたアンテ ナ 3 2 1 を備える。 電波受信部 3 2 は、 アンテナ 3 2 1 によ り、 正確な日付時刻情報 (タイムコー ド情報) を含む時刻信 号を標準電波として送信する送信局から、 当該時刻信号を受 信する。
アンテナ 3 2 1 は、 図 5 Aに示す矢印の方向で電波を受信 する。 そのため、 アンテナ 3 2 1 の受信感度はアンテナ 3 2 1 の設置状態に応じて変化する。
図 5 B に、 アンテナ 3 2 1 の設置例を示す。
図 5 B に示すよう に、 アンテナ 3 2 1 は、 回転表示器 P 1 の支柱内部に設置され、 その支柱の内側の壁面に磁性体 3 2 2 の両端が取り付けられる。 すなわち、 回転表示器 P 1 の回 転とともにアンテナ 3 2 1 の電波受信位置が変更可能に構成 される。
I Z F 3 3 は、 E C R 1 と接続するためのイ ン夕フェイス である。
時計回路 3 4は、 現在の年月 日時分秒の 日付時刻を計時し この日付時刻データを出力する。
R A M 3 5 は、 図 6 に示すよう に、 第 3 のカウン夕値を格 納する第 3 のカウン夕値メモリ 3 5 1 と、 時計回路 3 4 によ り計時された現在の日付時刻データを格納する現在日付時刻 メモリ 3 5 2 と、 電波時計ユニッ ト 3 0 の受信感度の情報を 格納する受信感度メモリ 3 5 3 の各メモリ領域を有する。
第 3 のカウン夕値メモリ 3 5 1 に格納される第 3 のカウン 夕値は、 C P U 3 1 の制御にしたがって、 所定時間ごとに 1 増やして更新される。
また、 R A M 3 5 は、 受信 O Kフラグメモリ 3 5 4 と、 受 信 N Gフラグメモリ 3 5 5 の各メモリ領域を有する。
受信 O Kフラグメモリ 3 5 4 は、 時刻信号の受信に成功し たことを示す受信 O Kフラグデータを格納する。 すなわち、 受信に成功した場合、 受信 0 Kフ ラグは◦ Nに設定され、 受 信に失敗した場合、 受信〇 Kフラグは O F F に設定される。
受信 N Gフラグメモリ 3 5 5 は、 時刻信号の受信に失敗し たことを示す受信 N Gフラグデータを格納する。 すなわち、 受信に失敗した場合、 受信 N Gフラグは O Nに設定され、 受 信に成功した場合、 受信 N Gフラグは〇 F F に設定される。
R O M 3 6 は、 半導体メモリ等によ り構成され、 計時処理 プログラムを格納する。
次に、 本実施の形態における動作を説明する。
本実施の形態では、 E C R 1 の動作状況に応じて時計回路 1 8 における時刻修正方法を選択し、 選択された時刻修正方 法に従って、 電波時計ユニッ ト 3 0 によ り時刻信号を受信し て正確な日付時刻を計時し、 この電波時計ユニッ ト 3 0 によ り計時された正確な日付時刻に基づいて E C R 1 の時計回路 1 8 における時刻を修正する例、 即ち、 電波によ り送信され てく る時刻信号に基づいて電波時計ュニッ 卜 3 0 の日付時刻 の修正を行って、 さ らに、 実際に処理する際に使用される 日 付時刻を計時する時計回路 1 8 の 日付時刻の修正を行う例を 説明する。
最初に、 図 7 を参照して、 電波時計ユニッ ト 3 0 によ り実 行される計時処理の内容を説明する。 この計時処理は、 受信 された時刻信号に基づいて正確な日付時刻を計時し、 E C R 1 か らの要求に応じて計時された日付時刻データを E C R 1 に出力する処理である。
図 7 に示す計時処理では、 まずステップ S 1 において、 C P U 3 1 は、 第 3 のカウンタ値メモリ 3 5 1 に格納される力 ゥンタ値を参照し、 このカウン夕値が一定の値に達したか否 か、 つま りカウン夕値がリセッ トされてか ら一定時間が経過 したか否かを判別する。 第 3 のカウンタ値のリ セッ トの条件 については後述する。
一定時間が経過したと判別された場合 (ステップ S 1 ; Y e s ) 、 ステップ S 2 に移行し、 一定時間が経過していない と判別された場合 (ステップ S 1 ; N o ) 、 ステップ S 8 に 移行する。
まず、 一定時間が経過したと判別された場合について説明 する。
ステッ プ S 2 では、 電波受信部 3 2 によ り検波処理が行わ れ、 時刻信号の電波検出が行われる。 次いで、 ステップ S 3 において、 C P U 3 1 は、 時刻信号が正常に受信されたか否 かを判別する。
電波の受信感度が低く 、 時刻信号が正常に受信されなかつ た場合 (ステップ S 3 ; N o ) には、 R A M 3 5 の受信 O K フラグメモリ 3 5 4 においてフラグが O F F に設定される と ともに、 受信 N Gフラグメモリ 3 5 5 においてフラグが O N に設定される (ステッ プ S 4 ) 。 このよう にフラグが設定さ れる と、 ステップ S 7 に移行する。
一方、 時刻信号が正常に受信された場合 (ステップ S 3 ; Y e s ) 、 R A M 3 5 の受信 O Kフラグメモリ 3 5 4 におい てフラグが O Nに設定される とともに、 受信 N Gフラグメモ リ 3 5 5 においてフラグが 0 F F に設定される (ステップ S 5 ) 。
次いで、 ステップ S 6 では、 C P U 3 1 は、 ステップ S 2 の処理で受信された時刻信号に基づいて、 時計回路 3 4 にお いて計時される 日付時刻を修正し、 この修正した日付時刻の データを現在日付時刻メモリ 3 5 2 に格納する。
次いで、 ステップ S 7 において、 C P U 3 1 は、 第 3 の力 ゥン夕値メモリ 3 5 1 に格納されるカウン夕値をリセッ トす る。 これによ り第 3 のカウン夕値が 0 となり 、 前述した一定 の値となるまで再び増加する。 。 計時が開始される と、 ステ ップ S 1 に戻る。
次に、 ステップ S 1 において一定時間が経過していないと 判別された場合について説明する。
ステップ S 8 では、 C P U 3 1 は、 E C R 1 か ら現在の 日 付時刻データが要求されたか否かを判別する。 日付時刻データが要求されたと判別された場合は (ステツ プ S 8 ; Y e s ) 、 C P U 3 1 は、 現在日付時刻メモリ 3 5 2 に格納されている 日付時刻データを I Z F 3 3 を介して E C R 1 に転送し (ステップ S 9 ) 、 ステップ S 1 0 の処理に 移行する。
日付時刻デ一夕が要求されていない と判別された場合は (ステッ プ S 8 ; N o ) 、 ステップ S 9 の処理を行わずにス テツプ S 1 0 に移行する。
次いで、 ステップ S 1 0 では、 C P U 3 1 は、 E C R 1 か らフラグデータが要求されたか否かを判別する。
フラグデータが要求されたと判別された場合 (ステッ プ S 1 0 ; Y e s ) 、 C P U 3 1 は、 受信 O Kフラグメモリ 3 5 4 に記憶される受信 O Kフラグデータ又は受信 N Gフラグメ モリ 3 5 5 に記憶される受信 N Gフラグデータのうち、 O N に設定されているフラグデ一夕を I 3 3 を介して E C R
1 に転送し (ステップ S 1 1 ) 、 ステップ S 1 に戻る。
一方、 フラグデータが要求されていないと判別された場合 は (ステップ S 1 0 ; N o ) 、 ステップ S 1 1 の処理を行わ ずにステップ S 1 に戻る。
次に、 図 8 を参照して、 E C R 1 によ り実行される時刻修 正方法の選択処理の内容を説明する。 この時刻修正方法の選 択処理は、 E C R 1 の動作状況を判別し、 当該判別された動 作状況に応じて時計回路 1 8 における時刻修正方法を選択す る処理である。
図 8 に示す時刻修正方法の選択処理では、 まずステッ プ T 1 において、 C P U 1 1 は、 電源制御部 1 9 か らパワーダウ ン信号が出力されているか否かを判別する こ とで、 E C R 1 が A C電源に接続された A C電源 O Nの状態にあるか否かを 判別する。
例えば、 E C R 1 を倉庫に保管中、 工場から移送中又は店 舗に設置されているが長期休業中等の期間において E C R 1 と A C電源との接続が切断されている場合、 E C R 1 は停電 状態となり、 電源制御部 1 9 からパワーダウン信号が出力さ れる。
このとき、 E C R 1 はバッテリ 1 9 aからの電力供給によ つて通電状態となり 、 E C R 1 の電力モー ドは停電モー ドか ら省電力モー ドに切り換えられる。
電源制御部 1 9 からパワーダウン信号が出力されてお らず A C電源 O Nの状態である場合 (ステップ T 1 ; Y e s ) 、 ステップで の処理に移行する。
一方、 電源制御部 1 9 からパワーダウン信号が出力されて お り 、 A C電源 0 F F の状態である と判別された場合 (ステ ップ T 1 ; N o ) 、 E C R 1 は、 省電力モー ドで E C R 1 の 起動を待機するスタンバイ の状態に設定される (ステップ T 2 ) 。 スタンバイの状態に設定される と、 ステッ プ T 3 の処 理である、 スタンバイ 中の時刻修正処理に移行する。
図 9 を参照して、 ステップ T 3 の処理である、 スタンバイ 中の時刻修正処理の内容について説明する。 このスタンバイ 中の時刻修正処理は、 A C電源との接続が切断され停電中で ある、 つま り E C R 1 が使用されていない状況にある場合に 行われる処理であ り、 一定時間毎にバッテリ 1 9 a による通 電で E C R 1 を起動して電波時計ュニッ ト 3 0 に時刻信号を 強制受信させて時刻修正を行う処理である。
図 9 に示すスタンバイ 中の時刻修正処理では、 まずステツ プ T 3 1 において、 C P U 1 1 は、 R AM I 4 の第 1 のカウ ン夕値メモリ 1 4 1 に格納されるカウン夕値を参照し、 この カウン夕値が一定の値に達したか、 つま り第 1 のカウン夕値 がリ セッ 卜されてから一定時間が経過したか否かを判別する 第 1 のカウンタ値のリセッ 卜の条件については後述する。
一定時間が経過していないと判別された場合は (ステップ T 3 1 ; N o ) 、 C P U 1 1 は、 本処理を終了して次の処理 つま り 図 8 のステップ T 1 に移行する。 一方、 一定時間が経 過したと判別された場合は (ステップ T 3 1 ; Y e s ) 、 C P U 1 1 は、 E C R 1 におけるスタンバイ の状態を一時的に 解除する。 これによ り E C R 1 が起動される (ステップ T 3 2 ) 。
次いで、 ステッ プ T 3 3 では、 C P U 1 1 は、 電波時計ュ ニッ 卜 3 0 の受信〇 Kフラグメモリ 3 5 4 又は受信 N Gフラ グメモリ 3 5 5 において〇 Νに設定されているフラグデ一夕 を要求するための要求情報を生成し、 この要求情報を電波時 計ユニッ ト 3 0 に出力する。
フラグデータの要求が行われる と、 ステップ Τ 3 4では、 C P U 1 1 は、 電波時計ユニッ ト 3 0 から受信 Ο Κフラグデ 一夕および受信 N Gフラグデータのいずれかが取得されたか 否かを判別し、 どち らのフラグデータも取得されていないと 判別した場合は (ステップ T 3 4 ; N o ) 、 C P U 1 1 は、 ステップ T 3 3 の処理に戻って再度フラグデータの要求を行 つ。
一方、 電波時計ュニッ 卜 3 0 から受信〇 Kフラグデータ又 は受信 N Gフラグデータを取得した場合 (ステップ Τ 3 4 ; Y e s ) 、 ステップ T 3 5 において、 C P U 1 1 は、 取得さ れたフラグデータが受信 N Gフラグデータであるか否かを判 別する。
取得されたフラグデータが受信 N Gフラグデータである場 合 (ステップ T 3 5 ; Y e s ) 、 ステップ T 3 6 に移行し、 取得されたフラグデータが受信 O Kフラグデータである場合 (ステッ プ T 3 5 ; N o ) 、 ステップ T 4 0 に移行する。 ステップ T 3 6では、 C P U 1 1 は、 電波時計ユニッ ト 3 0 に対して時刻信号を強制的に受信するよう要求するための 要求情報を生成し、 この要求情報を電波時計ユニッ ト 3 0 に 出力する。
次いで、 ステップ T 3 7 において、 C P U 1 1 は、 受信〇 Kフラグデータおよび受信 N Gフラグデータのいずれかが取 得されたか否かを判別し、 どち らのフラグデータも取得され ない場合は (ステッ プ T 3 7 ; N o ) 、 C P U 1 1 は、 ステ ップ T 3 6 の処理に戻り、 再度時刻信号の強制受信を要求す る。
一方、 フラグデータが受信された場合 (ステップ T 3 7 ; Y e s ) 、 ステップ T 3 8 において、 C P U 1 1 は、 取得さ れたフラグデータが受信 N Gフラグデ一夕であるか否かを判 別する。
取得されたフラグデータが受信 N Gフラグデータである場 合 (ステップ T 3 8 ; Y e s ) 、 C P U 1 1 は、 正確な時刻 信号が得られず、 時刻修正が実行できなかったこ とを報知す るメ ッセージを表示部 1 3 に表示するよう に制御し (ステツ プ T 3 9 ) 、 次の処理、 つま り 図 8 のステップ T 1 へ移行す る。
取得されたフラグデータが受信 O Kフラグデ一夕である場 合 (ステッ プ T 3 8 ; N o ) 、 ステップ T 4 0 において、 C P U 1 1 は、 電波時計ュニッ ト 3 0 に現在の 日付時刻データ を要求するための要求情報を電波時計ュニッ ト 3 0 に出力し この要求を行う ことで電波時計ュニッ 卜 3 0 から 日付時刻デ —夕を取得する。
現在の 日付時刻データが取得される と、 ステップ T 4 1 で は、 C P U 1 1 は、 当該取得された現在日付時刻データに基 づいて時計回路 1 8 で計時される時刻を修正する。
次いで、 ステップ T 4 2では、 C P U 1 1 は、 第 1 のカウ ン夕値メモリ 1 4 1 に格納されるカウンタ値をリ セッ 卜する これによ り第 1 のカウンタ値が 0 となり、 前述した一定の値 となるまで再び増加する。 そして、 C P U 1 1 が行なう処理 は、 次の処理、 つま り 図 8 のステップ T 1 の処理に移行する 次に、 図 8 に示すステップ T 1 において、 A C電源 O Nの 状態である と判別された場合について説明する。
ステッ プ T 4では、 C P U 1 は、 E C R 1 がスタンバイ の 状態であるか否かを判別する。 C P U 1 1 は、 E C R 1 がス タ ンバイ 中である と判別された場合 (ステッ プ T 4 ; Y e s ) 、 ステッ プ T 5 において、 スタ ンバイ を一時的に解除し て E C R 1 を起動し (ステップ T 5 ) 、 ステップ T 6 の処理 である、 感度に応じた時刻修正処理に移行する。
一方、 E C R 1 がスタンバイ 中ではないと判別された場合 (ステップ T 4 ; N o ) 、 C P U 1 1 は、 ステップ T 5 の処 理を行わずに、 ステップ T 6 の処理である、 感度に応じた時 刻修正処理に移行する。
図 1 0 を参照して、 ステップ T 6 の処理である、 感度に応 じた時刻修正処理の内容について説明する。 この感度に応じ た時刻修正処理は、 E C R 1 が A C電源と接続されて通電中 である、 つま り E C R 1 が使用されている状況で行われる処 理であ り、 E C R 1 の起動中に電波時計ュニッ ト 3 0 の受信 感度が高ければ電波時計ュニッ 卜 3 0 に時刻信号を受信させ て時刻修正を行う処理である。
図 1 0 に示す、 感度に応じた時刻修正処理では、 まずステ ップ T 6 1 において、 C P U 1 1 は、 E C R 1 の動作状況を 判別して、 登録処理、 精算処理等の別タスクのデータ処理中 であるか否かを判別する。
別タスクのデータ処理中である場合は (ステップ T 6 1 ; Y e s ) 、 C P U 1 1 は、 本処理を終了して次の処理、 つま り 図 8 のステッ プ T 7 の処理へ移行する。
一方、 別タスクのデータ処理中ではない場合は (ステップ T 6 1 ; N o ) 、 C P U 1 1 は、 電波時計ユニッ ト 3 0 にお ける受信感度の情報を要求するための要求情報を生成し、 こ の要求情報を電波時計ユニッ ト 3 0 に出力する (ステップで 6 2 ) 。
次いで、 ステップ T 6 3では、 C P U 1 1 は、 電波時計ュ ニッ ト 3 0 から受信感度の情報が取得されたか否かを判別し 受信感度の情報が取得されない場合は (ステッ プ T 6 3 ; N o ) 、 C P U 1 1 は、 ステッ プ T 6 2 の処理に戻って受信感 度の情報を再度要求する。
電波時計ュニッ ト 3 0 から受信感度の情報が取得された場 合 (ステップ T 6 3 ; Y e s ) 、 C P U 1 1 は、 当該受信感 度が所定レベル以上の感度であるか否か、 つま り受信感度が 良いか否かを判別する (ステップ T 6 4 ) 。
受信感度が所定レベル以上ではない場合 (ステッ プ T 6 4 ; N o ) 、 C P U 1 1 は、 時刻修正を行わずに本処理を終 了して次の処理、 つま り 図 8 のステップ T 7 の処理に移行す る。
なお、 受信感度が所定レベル以上ではない場合、 C P U 1 1 が、 表示部 1 3 に受信感度が低いこ とを通知するメ ッセ一 ジを表示するよ う に制御し、 ユーザが回転表示器 P 1 を回転 させて電波受信位置を変更するようガイダンスを行う ことと してもよい。
一方、 受信感度が所定レベル以上である場合 (ステップ T 6 4 ; Y e s ) 、 C P U 1 1 は、 電波時計ユニッ ト 3 0 で計 時される現在の 日付時刻データを要求するための要求情報を 生成し、 この要求情報を電波時計ユニッ ト 3 0 に出力する (ステッ プ T 6 5 ) 。 次いで、 ステップ T 6 6 において、 C P U 1 1 は、 電波時 計ュニッ ト 3 0 から 日付時刻データが取得されたか否かを判 別し、 日付時刻データが取得されない場合は (ステップ T 6 6 ; N o ) 、 C P U 1 1 は、 ステップ T 6 5 の処理に戻って 再度日付時刻データが要求される。
電波時計ュニッ ト 3 0 から 日付時刻データが取得された場 合 (ステップ T 6 6 ; Y e s ) 、 C P U 1 1 は、 当該受信さ れた日付時刻データに基づいて、 時計回路 1 8 において計時 される 日付時刻を修正する (ステップ T 6 7 ) 。 時刻修正後 は、 C P U 1 1 は、 本処理を終了して次の処理、 つま り 図 8 のステップ T 7 に移行する。
図 8 のステップ T 7 に戻って説明する。
図 8 に示すステッ プ T 7では、 C P U 1 1 は、 モー ドキー K 2 によ り E C R 1 の動作モー ドが O F Fモー ドに設定され ているか否かを判別する。
動作モー ドが O F Fモー ドに設定されていない場合 (ステ ップ T 7 ; N o ) 、 C P U 1 1 は、 ステップ T 1 の処理に戻 り、 動作モー ドが〇 F Fモー ドに設定されている場合 (ステ ップ T 7 ; Y e s ) 、 ステップ T 8 の処理である、 一定時間 毎の時刻修正処理を行なう。
図 1 1 を参照して、 ステップ T 8 の処理である、 一定時間 毎の時刻修正処理の内容について説明する。 この一定時間毎 の時刻修正処理は、 E C R 1 が A C電源と接続されて通電中 である、 つま り E C R 1 が使用されている状況で行われる処 理であり、 E C R 1 が動作停止している O F Fモー ドの場合 に電波時計ュニッ ト 3 0 に時刻信号を受信させて時刻修正を 行う処理である。
図 1 1 に示す一定時間毎の時刻修正処理では、 まずステツ プ T 8 1 において、 C P U 1 1 は、 第 2 のカウン夕値メモリ 1 4 2 に格納されるカウン夕値を参照し、 このカウン夕値が 一定の値に達したか、 つま り第 2 のカウン夕値の リセッ トか ら一定時間が経過したか否かを判別する。 第 2 のカウン夕値 のリセッ 卜の条件については後述する。
一定時間が経過していないと判別された場合は (ステップ T 8 1 ; N o ) 、 C P U 1 1 は、 本処理を終了して次の処理 つま り 図 8 のステップ T 1 に移行する。
一定時間が経過した と判別された場合は (ステッ プ T 8 1 ; Y e s ) 、 C P U 1 1 は、 電波時計ユニッ ト 3 0 におい て計時される現在の 日付時刻データを要求するための要求情 報を生成し、 この要求情報を電波時計ユニッ ト 3 0 に出力す る (ステップ T 8 2 ) 。
次いで、 ステップ T 8 3 では、 C P U 1 1 は、 電波時計ュ ニッ ト 3 0 から 日付時刻デ一夕が取得されたか否かを判別し 日付時刻データが取得されない場合は (ステッ プ T 8 3 ; N o ) 、 C P U 1 1 は、 ステップ T 8 2 の処理に戻って日付時 刻データの要求を再度行う。
一方、 電波時計ユニッ ト 3 0 から 日付時刻データが取得さ れた場合 (ステップ T 8 3 ; Y e s ) 、 C P U 1 1 は、 当該 取得された日付時刻デ一夕に基づいて、 時計回路 1 8 におい て計時される 日付時刻を修正する (ステッ プ T 8 4 ) 。 日付時刻が修正される と、 ステップ T 8 5 において、 C P U 1 1 は、 第 2 のカウン夕値メモリ 1 4 2 に格納される第 2 のカウン夕値をリセッ トする。 これによ り第 2 のカウン夕値 が 0 とな り、 前述した一定の値となるまで再ぴ増加する。 。 C P U 1 1 は、 第 2 のカウン夕値のリセッ ト後は本処理を終 了し、 次の処理、 つま り 図 8 のステップ T 1 の処理に移行し E C R 1 の動作状況に応じた時刻修正を繰り返す。
次に、 上述した時刻修正方法の選択処理と並行して E C R 1 によ り実行される売上デ一夕処理について、 図 1 2 を参照 して説明する。 売上データ処理は、 モー ドキー K 2 によ り指 定された動作モー ドに応じて売上データのデ一夕処理を行う ものである。
図 1 2 に示す売上データ処理では、 まずステップ E 1 にお いて、 C P U 1 1 は、 オペレータから入力部 1 2 を介して入 力が有つたか否かを判別する。
入力が無い場合は (ステップ E 1 ; N o ) 、 入力が待機さ れる。 一方、 入力が有った場合は (ステッ プ E 1 ; Y e s ) C P U 1 1 は入力解析を行い、 入力がモー ドキー K 2 による 操作入力であつたか否かを判別する (ステップ E 2 ) 。
モー ドキー K 2 による操作入力であった場合 (ステップ E 2 ; Y e s ) 、 C P U 1 1 は、 当該操作入力に応じて動作モ — ドの切り換えを行う (ステッ プ E 3 ) 。
一方、 モー ドキー K 2 による操作入力ではなく 、 テンキー ファンクショ ンキ一 K 1 等の他のキーによる操作入力であ つた場合 (ステップ E 2 ; N o ) 、 C P U 1 1 は、 モー ドキ 一 K 2 の操作によ り設定される現在の動作モー ドが登録モー ドであるか否かを判別する (ステップ Ε 4 ) 。
モー ドキー Κ 2 によ り点検モー ドや設定モー ド等の他のモ ー ドが設定されてお り 、 登録モー ドが設定されていない場合 (ステッ プ Ε 4 ; N o ) 、 C P U 1 1 は、 モー ドキ一 K 2 に よ り設定された動作モー ドに応じた処理を実行する (ステツ プ E 5 ) 。
—方、 登録モー ド に設定されている場合は (ステッ プ E 4 ; Y e s ) 、 C P U 1 1 は、 登録済みの売り上げデータの 締め処理がキー入力によ り指示されたか否かを判別する (ス テツプ E 6 ) 。
締め処理が指示されておらず、 ステップ E 1 における入力 がテンキー/フ ァ ンクショ ンキー K 1 による売り上げデータ であった場合 (ステップ E 6 ; N o ) 、 C P U 1 1 は、 時計 回路 1 8 で計時される 日付時刻に基づいて当該入力された売 り上げデータの登録処理を行い、 P L Uメモリ 1 4 4 に格納 されるデータを更新する (ステップ E 7 ) 。
次いで、 ステップ E 8 では、 C P U 1 1 は、 時計回路 1 8 で計時される 日付時刻に基づいて、 時間帯別メモリ 1 4 5等 の、 データの登録に係る他のメモリ に格納されるデータを更 新する。
各メモリ に格納される情報の更新が終了する と、 ステップ E 9 では、 C P U 1 1 は、 印刷部 1 7 によ り登録内容がレシ ― ト R及びジャーナル J に印刷されるよ う に制御する。
印刷後は、 C P U 1 1 は、 ステップ E 1 に移行して登録の 締め処理が指示されるまでステップ E 1 〜 E 9 の処理を繰り 返し、 売り上げデ一夕の登録を行う。
全ての売り上げデータの登録が終了し、 締め処理が指示さ れた場合は (ステップ E 6 ; Y e s ) 、 C P U 1 1 は、 時計 回路 1 8 から現在の日付時刻データを取得し、 当該現在の日 付時刻が印刷されたレシー ト Rが印刷部 1 7 によ り印刷発行 され、 これが排紙ロ R Mに出力されるよ う に制御する (ステ ップ E 1 0 ) 。 レシー ト Rの印刷発行が終了する と、 C P U 1 1 が行う処理は、 ステッ プ E 1 に戻る。
以上のよう に、 E C R 1 は、 動作状況に応じて時計回路 1 8 の日付時刻を修正する時刻修正方法を選択し、 この選択し た時刻修正方法で修正された日付時刻を用いて売上データ処 理を行う ので、 時刻を手動で修正する煩雑な作業を省略する こ とができる とともに、 正確な日付時刻で売上データ処理を 行う ことができる。 '
また、 E C R 1 は、 自動的に動作状況に応じた最適な時刻 修正方法が選択するので、 E C R 1 の売上データ処理に影響 を及ぼすことなく 時刻修正を行う こ とができる。
また、 例えば E C R 1 が工場出荷時や搬送中等であ り、 主 電源ではなく予備電源によ り電力供給されている場合、 E C R 1 は、 スタ ンバイ の状態から一定時間毎に起動し、 電波時 計ュニッ ト 3 0 から正確な日付時刻データを取得して時計回 路 1 8 の 日付時刻を修正するので、 工場での 日付時刻の設定 作業や店舗に設置後のユーザによる 日付時刻の設定作業を省 略する こ とができる。 また、 E C R 1 は、 一時的に起動して時刻修正を行った後 再度スタ ンバイの状態に設定するので、 最小限の電力消費で 時刻修正を行う こ とができる。
また、 時刻修正は、 データ処理が行われていないときに実 行されるので、 売上データ処理に影響を及ぼすこ となく 時刻 修正を行う こ とができる。
また、 例えば E C R 1 が店舗に設置された後等、 E C R 1 が主電源で通電中かつ起動中である場合は、 E C R 1 は、 電 波時計ュニッ 卜 3 0 における受信感度が所定レベル以上であ れば時刻信号を受信して日付時刻の修正を行う ので、 受信感 度が良好な場合のみ日付時刻の修正を行う こ とができ、 時刻 修正の処理効率が良い。
また、 E C R 1 が主電源で通電されているが動作停止中で ある場合、 E C R 1 は、 一定時間毎に電波時計ユニッ ト 3 0 から 日付時刻データを取得して時計回路 1 8 における 日付時 刻の修正を行う ので、 例えば夜間等の店舗の閉店時間中であ つても自動的に時刻修正を行う こ とができる。
特に、 夜間は電波の受信状態が良好な場合が多いため、 受 信状態が良好な時間帯に時刻修正を行う こ とができ、 時刻修 正の効率が良い。
また、 電波時計ユニッ ト 3 0 の電波受信部 3 2 のアンテナ 3 2 1 は、 回転表示器 P 1 の回転に伴ってその電波受信方向 も回転するよう に回転表示器 P 1 に設置されるので、 ユーザ が回転表示器 P 1 を回転させる こ とによ りその電波受信位置 を変更して受信感度を向上させる ことが可能になる。 また、 電波時計ユニッ ト 3 0 に上述した計時処理を制御す る C P U 3 1 を備え、 電波時計ユニッ ト 3 0 が単独で時刻信 号を受信して時刻修正する こ とを可能とし、 E C R 1 では、 電波時計ュニッ ト 3 0 において計時された正確な日付時刻を 必要に応じて取得する構成としたので、 時刻信号の受信中で あっても E C R 1 において売上データ処理等の他タスクの処 理を実行する こ とができる。
なお、 本実施の形態における記述内容は、 本発明を適用 し た好適な一例であ り 、 これに限定されるのものではない。
例えば、 本実施の形態では、 本発明を E C Rに適用した例 を説明したが、 これに限らず、 売上データのデータ処理を行 う P D A ( Personal Digital Assistant ) や携帯電話、 パ一ソ ナルコンピュータ等の情報処理装置に適用する こととしても よい。
また、 E C R 1 では、 店舗閉店中等、 一日 において都合の 良い時刻を設定し、 毎日、 設定された時刻になる と自動的に 時刻信号を受信して時刻修正を行う こ とと してもよい。 この とき、 所定の時刻になる と自動的に時刻修正が行われる こ と を示すマークやメ ッセージを表示部 1 3 に表示する こと とし てもよい。
また、 上述した説明では、 正確な日付時刻情報を含む時刻 信号を標準電波によ り受信する例を説明したが、 正確な日付 時刻情報を含む G P S ( Global Positioning S ystem) 信号を G P S衛星か ら受信する こ とと してもよい。
また、 上述した説明では、 ユーザが回転表示器 P 1 に表示 された受信感度を確認しながら回転表示器 P 1 を手動で回転 させ、 受信感度レベルが高い位置に設定する こ ととしたが、 E C R 1側で受信感度を検出しながら 自動的に回転表示器 P 1 を回転させ、 受信感度が最大の位置に自動設定する こ とと してもよい。
また、 E C R 1 と電波時計ュニッ ト 3 0 のそれぞれに C P Uを備え、 E C R 1 側の C P U 1 1 によるデータ処理の効率 化を図っていたが、 E C R 1 にのみ C P Uを備え、 この C P Uのみで電波時計ュニッ ト 3 0側の時刻信号の受信制御や時 刻修正制御を行う こ と としてもよい。
その他、 本実施の形態における E C R 1 の細部構成及び細 部動作に関しても、 本発明の趣旨を逸脱する こ とのない範囲 で適宜変更可能である。

Claims

請 求 の 範 囲
1 . 日付時刻に基づいて売上データのデータ処理を行う 売上データ処理装置であって、
装置本体の動作状況を判別する判別手段と、
正確な日付時刻情報を含む時刻信号を受信する受信手段と 前記判別された動作状況に応じて時刻修正方法を選択する 選択手段と、
前記選択された時刻修正方法によ り 前記受信された時刻信 号に基づいて日付時刻を修正する時刻修正手段と、
売上データを入力する入力手段と
を備え、
前記修正された 日付時刻によ り前記入力された売上データ のデータ処理を行う売上データ処理装置。
2 . 前記選択手段は、 前記判別手段によ り 、 前記装置本 体は主電源との接続が切断され停電中である と判別された場 合、 予備電源によ り一定時間毎に起動して前記受信手段によ り時刻信号を受信し、 当該時刻信号に基づいて日付時刻の修 正を行う時刻修正方法を選択する請求項 1 に記載の売上デー 夕処理装置。
3 . 前記選択手段は、 前記判別手段によ り 、 前記装置本 体は主電源によ り通電され起動中である と判別された場合、 前記受信手段の受信感度に応じて時刻信号を受信し、 当該時 刻信号に基づいて日付時刻の修正を行う時刻修正方法を選択 する請求項 1 に記載の売上データ処理装置。
4 . 前記選択手段は、 前記判別手段によ り 、 前記装置本 体は主電源によ り通電されているが動作停止中であると判別 された場合、 一定時間毎に前記受信手段によ り時刻信号を受 信し、 当該時刻信号に基づいて日付時刻の修正を行う時刻修 正方法を選択する請求項 1 に記載の売上データ処理装置。
5 . 前記受信手段は、 指定された時刻に時刻信号を受信 し、
前記時刻修正手段は、 前記受信された時刻信号に基づいて 日付時刻の修正を行う請求項 1 に記載の売上データ処理装置
6 . 前記時刻修正手段は、 前記装置本体がデータ処理を 停止している ときに日付時刻の修正を行う請求項 1 に記載の 売上データ処理装置。
7 . 前記受信手段は、 時刻信号の受信位置を変更可能に 構成される請求項 1 に記載の売上データ処理装置。
8 . 前記受信手段の受信感度の情報を表示する表示手段 を備える請求項 1 に記載の売上データ処理装置。
9 . 前記時刻修正手段は、 電波によ り送信されてく る時 刻信号に基づいて日付時刻の修正を行って、 さ らに、 実際に 処理する際に使用される 日付時刻を計時する計時手段の日付 時刻の修正を行う請求項 1 に記載の売上データ処理装置。
1 0 . 日付時刻に基づいて売上データのデータ処理を行 う コンピュータに、
装置本体の動作状況を判別させる機能と、
正確な日付時刻情報を含む時刻信号を受信手段に受信させ る機能と、
前記判別された動作状況に応じて時刻修正方法を選択させ る機能と、
前記選択された時刻修正方法によ り前記受信手段により受 信された時刻信号に基づいて日付時刻を修正する機能と、 売上データを入力させる入力機能と、
前記修正された日付時刻によ り前記入力された売上デ一夕 のデータ処理を行わせる機能と を実現させるためのコ ンピュータ読み取り可能な売上データ 処理プログラム。
PCT/JP2004/002790 2003-03-07 2004-03-05 売上データ処理装置及びプログラム WO2004079677A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2004800062322A CN1985282B (zh) 2003-03-07 2004-03-05 销售数据处理设备和方法
US11/199,404 US7480625B2 (en) 2003-03-07 2005-08-08 Sales data processing device and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003-061459 2003-03-07
JP2003061459A JP4126391B2 (ja) 2003-03-07 2003-03-07 売上データ処理装置及びプログラム

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/199,404 Continuation US7480625B2 (en) 2003-03-07 2005-08-08 Sales data processing device and program

Publications (1)

Publication Number Publication Date
WO2004079677A1 true WO2004079677A1 (ja) 2004-09-16

Family

ID=32958960

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2004/002790 WO2004079677A1 (ja) 2003-03-07 2004-03-05 売上データ処理装置及びプログラム

Country Status (4)

Country Link
US (1) US7480625B2 (ja)
JP (1) JP4126391B2 (ja)
CN (1) CN1985282B (ja)
WO (1) WO2004079677A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112309056A (zh) * 2019-07-26 2021-02-02 克拉华网络公司 自助式结账亭的高级硬件系统

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8447655B2 (en) 2005-04-25 2013-05-21 Casio Computer Co., Ltd. Data processing apparatus
JP4517930B2 (ja) * 2005-04-25 2010-08-04 カシオ計算機株式会社 売上データ処理装置及びプログラム
FR2907576B1 (fr) * 2006-10-20 2009-05-29 Ingenico Sa Procede d'impression de tickets
JP4666039B2 (ja) * 2008-09-24 2011-04-06 カシオ計算機株式会社 売上データ処理装置、店舗プリンタシステム及びプログラム
JP6266500B2 (ja) * 2014-11-28 2018-01-24 東芝テック株式会社 商品販売データ処理装置及びその制御プログラム
JP7148421B2 (ja) * 2019-01-22 2022-10-05 ファナック株式会社 工作機械の予防保全システム
JP7277152B2 (ja) 2019-01-22 2023-05-18 ファナック株式会社 工作機械の工具管理システム

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6178387U (ja) * 1984-10-24 1986-05-26
JPH0474319U (ja) * 1990-11-05 1992-06-29
JPH0512570A (ja) * 1991-06-28 1993-01-22 Sharp Corp 電子式金銭登録機
JPH07152973A (ja) * 1993-11-30 1995-06-16 Sanyo Electric Co Ltd 販売登録装置
JP2000099833A (ja) * 1998-09-22 2000-04-07 Matsushita Electric Works Ltd レジ清算装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US2254789A (en) * 1939-11-13 1941-09-02 Crowe Name Plate & Mfg Co Radio tuning apparatus
GB2014764B (en) * 1978-02-17 1982-09-15 Casio Computer Co Ltd Time data processing apparatus
JPS6178387A (ja) 1984-09-26 1986-04-21 Agency Of Ind Science & Technol ヒトリゾチ−ム遺伝子、対応する組換えプラズミド及び組換え体
JPH0474319A (ja) 1990-07-16 1992-03-09 Nec Gumma Ltd 光学式ピックアップ
JPH06242862A (ja) 1993-02-16 1994-09-02 Casio Comput Co Ltd バッテリー低下報知装置
WO2001024123A1 (en) * 1999-09-28 2001-04-05 Chameleon Network Inc. Portable electronic authorization system and associated method
JP3355370B2 (ja) * 2000-03-31 2002-12-09 名古屋大学長 周波数変化測定装置
CA2443992A1 (en) * 2001-04-13 2002-10-24 Salton, Inc. Appliance having a clock set to universal time

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6178387U (ja) * 1984-10-24 1986-05-26
JPH0474319U (ja) * 1990-11-05 1992-06-29
JPH0512570A (ja) * 1991-06-28 1993-01-22 Sharp Corp 電子式金銭登録機
JPH07152973A (ja) * 1993-11-30 1995-06-16 Sanyo Electric Co Ltd 販売登録装置
JP2000099833A (ja) * 1998-09-22 2000-04-07 Matsushita Electric Works Ltd レジ清算装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112309056A (zh) * 2019-07-26 2021-02-02 克拉华网络公司 自助式结账亭的高级硬件系统
CN112309056B (zh) * 2019-07-26 2024-05-24 克拉华网络有限责任公司 自助式结账亭的高级硬件系统

Also Published As

Publication number Publication date
US7480625B2 (en) 2009-01-20
CN1985282B (zh) 2010-05-12
JP4126391B2 (ja) 2008-07-30
US20050289077A1 (en) 2005-12-29
JP2004272534A (ja) 2004-09-30
CN1985282A (zh) 2007-06-20

Similar Documents

Publication Publication Date Title
US7480625B2 (en) Sales data processing device and program
JP2014006856A (ja) Posシステム
US20150234620A1 (en) Printing Device, Reading System, and POS System
JPH08152825A (ja) 画像形成装置の管理システム
US20080190672A1 (en) Method to Automatically Synchronizing Scale Database Information
US20090031781A1 (en) Scale with Gravity Calibration Feature
US20210090059A1 (en) Weighing device, weighing device with label printer, and remote order processing system
JP5487133B2 (ja) 注文管理装置及び注文管理プログラム
JP3448115B2 (ja) 商品注文登録データ処理装置
JP4316961B2 (ja) タイムレコーダ、及び較正時刻管理システム
JP2019175515A (ja) Posシステム、精算装置、登録装置およびプログラム
JP3597091B2 (ja) ラベルプリンタおよびラベルプリンタの日時設定方法
JP6028272B2 (ja) Posシステムおよびプログラム
JP2000097754A (ja) ラベルプリンタ付き電子料金秤
JP2003162771A (ja) 無線通信装置および無線通信システム
JP2003103882A (ja) プリンタ
JP2017126380A (ja) 登録装置、posシステムおよびプログラム
JPH11265270A (ja) データ伝送装置及びこの装置を使用した注文データ管理装置
JPH07175826A (ja) 携帯用検針・納入通知書発行装置
JPH10162253A (ja) Posシステム
JP2008052431A (ja) 商品管理装置、商品管理システム及びプログラム
JP4768402B2 (ja) 注文データ印字方法及びそのシステム
JP6028274B1 (ja) Posシステムおよびプログラム
JP6146530B2 (ja) Posシステムおよびプログラム
JP2021103822A (ja) 携帯電子機器

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DPEN Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed from 20040101)
WWE Wipo information: entry into national phase

Ref document number: 11199404

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 20048062322

Country of ref document: CN

122 Ep: pct application non-entry in european phase