Updating method of settlement terminal and computer readable storage medium

Through unified installation confirmation and data update processing, combined with streaming media and non-streaming media update methods, the complexity problem of updating without network in the settlement terminal is solved, and it is realized that both network and recording media updates in the settlement terminal can be done in the same manner. Ease and reliability of the steps.

CN118778987APending Publication Date: 2024-10-15NIDEC INSTR CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410382806.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-04-03
Filing Date
2024-04-01
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In settlement terminals, it is difficult to update firmware or OS without going through the network with existing technology. Especially when using removable recording media, the operation steps are complicated and inconsistent.

Method used

Provide an update method and application that uniformly handles network downloads and recording media updates through installation confirmation, network access confirmation, and recording media access confirmation, using a combination of streaming media updates and non-streaming media updates to ensure non-volatile It can be reliably updated even when the free capacity of the permanent memory is small.

Benefits of technology

Whether updating via the network or mobile recording media, the same steps can be followed, simplifying user operations and ensuring the reliability and uniformity of updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778987A_ABST
    Figure CN118778987A_ABST
Patent Text Reader

Abstract

The invention provides an updating method of a settlement terminal and a computer readable storage medium, which can perform uploading in the same order whether the updating is performed via a network or a portable recording medium when updating a program such as firmware or OS in the settlement terminal. An installation confirmation step (step 112) for confirming whether or not a recording medium (USB memory 35) is installed on the settlement terminal (10) is performed with the program to be updated as a target program, and when the recording medium is not installed, first update data is downloaded from the program server (22) via the network (20) and an update is executed (step 117), and when the recording medium is installed, the first update data is downloaded from the program server (22) via the network (20). Second update data is read from the recording medium and an update is performed (step 124). These processes are performed by an application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a settlement terminal used for online settlement, etc., and more particularly to a method for updating a computer program such as firmware or OS (operating system) in the settlement terminal and a computer-readable storage medium storing an application program for implementing such an updating method. Background Art

[0002] In order to make online settlements at sales places such as stores, a settlement terminal connected to a settlement server via a network is used. The settlement terminal is, for example, a so-called embedded computer device having a touch screen for input. Since authentication media such as credit cards or stored-value cards, QR codes, etc. are mostly used in online settlements, the settlement terminal may also have a readout unit that reads data from the authentication medium, and may also have a display that is independently provided with the touch screen. In the settlement terminal, it generally becomes a minimum structure for functioning as a computer, that is, a processor such as a CPU (central processing unit) that operates based on a program, a volatile memory such as a RAM (random access memory), and a non-volatile memory such as a ROM (read-only memory) or flash memory are installed on a module substrate, and the module substrate is installed on a main substrate. An I / O (input and output) interface for connection to a network or a touch screen is provided on the main substrate.

[0003] Because the settlement terminal is a computer device, a computer program such as firmware or OS (hereinafter referred to as "program") is required to make it operate, and these programs are written into a non-volatile memory. In order to improve the function, etc., it is expected that the program already written into the settlement terminal can be rewritten into a new version of the program, that is, it can be updated (updated). However, from the perspective of ensuring security, in most settlement terminals, the module substrate cannot be removed from the main substrate, and it is difficult to write the new version of the program directly into the non-volatile memory after the module substrate is removed. Therefore, when updating the program, the new version of the program is generally downloaded to the settlement terminal via a network such as a wired or wireless LAN (local area network), and the downloaded program is written into the non-volatile memory.

[0004] The process of downloading a new version of the program and storing it in the non-volatile memory of the settlement terminal is performed by executing an application for updating the execution through the processor of the settlement terminal. Patent document 1 discloses an application for executing program updates. Patent document 2 discloses the following content: when updating the firmware, the set firmware update file is read in and configured in the memory, the function input address of the firmware update file is obtained, and based on the function input address, the firmware update data is obtained from the firmware update file in the memory, and the obtained firmware update data is written to the firmware module. In the following description, the program that will be the object of the update is called the object program. As mentioned above, the object program is, for example, firmware or OS, but the application program that performs the update itself sometimes becomes the object program.

[0005] Prior art literature

[0006] Patent Literature

[0007] Patent Document 1: Chinese Patent Application Publication No. 112035146

[0008] Patent Document 2: U.S. Patent Application Publication No. 2019 / 0278583 Summary of the invention

[0009] Technical problem to be solved by the invention

[0010] When updating an object program such as firmware or OS in a settlement terminal, the new version of the object program is usually downloaded via a network and stored in a non-volatile memory, but depending on the situation, it is sometimes desired to update without going through a network. In this case, the new version of the object program is stored in a mobile recording medium such as a USB (Universal Serial Bus) memory, the recording medium is locally connected to the settlement terminal, and the new version of the object program is read from the recording medium and written to the non-volatile memory. However, when updating without going through a network and when updating via a mobile recording medium, in addition to whether the recording medium is locally connected, that is, whether it is installed in the settlement terminal, the operation steps are also different, and it is not simply updating via a mobile recording medium.

[0011] An object of the present invention is to provide an updating method capable of updating a target program in the same order whether the updating is performed via a network or via a portable recording medium, and a computer-readable storage medium storing an application program for executing such an updating method.

[0012] Technical solutions for solving technical problems

[0013] One aspect of the present invention provides an updating method for updating a program in a settlement terminal which is a computer device having a processor, a nonvolatile memory, a volatile memory, and a display unit that operates based on a program and performs online settlement, wherein:

[0014] The program to be updated is the target program, which has:

[0015] An installation confirmation step of confirming whether a recording medium is installed in the settlement terminal;

[0016] a first confirmation step of, when it is determined in the installation confirmation step that the recording medium is not installed, confirming whether first update data on the target program of a newer version than the version of the target program stored in the nonvolatile memory exists in a program server accessible to the settlement terminal via a network;

[0017] a first updating step of starting a first writing process of downloading the first updating data from the program server and writing the first updating data into the nonvolatile memory according to an instruction from a user when the first updating data exists;

[0018] a second confirmation step of, when it is determined in the installation confirmation step that the recording medium is installed, confirming whether second update data on the target program of a newer version than the version of the target program stored in the nonvolatile memory exists in the recording medium; and

[0019] a second updating step of starting a second writing process of reading the second update data from the recording medium and writing the second update data into the nonvolatile memory according to an instruction from the user when the second update data exists;

[0020] When any one of the first writing process and the second writing process is executed, the installation confirmation step is not executed.

[0021] The installation confirmation step, the first confirmation step, the first update step, the second confirmation step, and the second update step are executed by an application program running on the payment terminal.

[0022] According to one updating method, the steps of updating by downloading first update data from a program server via a network and updating by storing second update data in a recording medium installed in a settlement terminal can be unified, and updates from a recording medium installed in a settlement terminal can be easily performed as in the case of updating via a network.

[0023] In one embodiment of the update method, it is preferred that the first write process is a process based on a streaming update, and the second write process is a process based on a non-streaming update. By setting the update via the network to a streaming update, the object program can be updated reliably even when the free capacity of the non-volatile memory in the settlement terminal is small.

[0024] In one aspect of the updating method, it is preferable that the recording medium is a UMS device installed in the payment terminal. By using the UMS device, the recording medium can be easily controlled from the payment terminal side.

[0025] In one aspect of the updating method, preferably, screen transitions of screens displayed on the display unit when executing the first confirmation process, the first updating process, and the first writing process are common to screen transitions of screens displayed on the display unit when executing the second confirmation process, the second updating process, and the second writing process. By making the screen transitions common, the user can perform the updating operation without paying much attention to the difference between the updating via the network and the updating from the recording medium.

[0026] One embodiment provides a computer-readable storage medium storing an application program for executing an update of a program in a settlement terminal configured as a computer device having a processor that operates based on a program, a nonvolatile memory, a volatile memory, and a display unit and executing online settlement, wherein:

[0027] The program to be updated is set as the target program, and the processor is caused to execute the following processing:

[0028] Installation confirmation processing, confirming whether the recording medium is installed in the settlement terminal;

[0029] a first confirmation process of, when it is determined in the installation confirmation process that the recording medium is not installed, confirming that first update data on the target program showing a newer version than the version of the target program stored in the nonvolatile memory exists in a program server accessible to the settlement terminal via a network;

[0030] a first update process, in which, when the first update data exists, a first write process is started to download the first update data from the program server and write the first update data into the nonvolatile memory according to an instruction from a user;

[0031] a second confirmation process of, when it is determined in the installation confirmation process that the recording medium is installed, confirming whether second update data on the target program of a newer version than the version of the target program stored in the nonvolatile memory exists in the recording medium; and

[0032] a second update process of starting a second write process of reading the second update data from the recording medium and writing the second update data into the nonvolatile memory according to an instruction from the user when the second update data exists;

[0033] When either the first writing process or the second writing process is executed, the installation confirmation process is not executed.

[0034] According to a computer-readable storage medium of one embodiment, it is possible to unify the steps of updating by downloading first update data from a program server via a network and updating by storing second update data in a recording medium installed in a settlement terminal, and updating from a recording medium installed in a settlement terminal can be easily performed as in the case of updating via a network.

[0035] In a computer-readable storage medium of one embodiment, preferably, the first write process is a process based on streaming media update, and the second write process is a process based on non-streaming media update. By setting the update via the network to a streaming media update, even when the free capacity of the non-volatile memory in the settlement terminal is small, the object program can be updated reliably.

[0036] In one aspect of the computer-readable storage medium, the recording medium is preferably a UMS device installed in a payment terminal. By using the UMS device, the recording medium can be easily controlled from the payment terminal side, and the recording medium can also be easily controlled from an application.

[0037] In one aspect of the computer-readable storage medium, it is preferable that screen transitions of screens displayed on the display unit when executing the first confirmation process, the first update process, and the first write process and screen transitions of screens displayed on the display unit when executing the second confirmation process, the second update process, and the second write process are set to be common screen transitions. By making the screen transitions common, the user can perform the update operation without paying much attention to the difference between the update via the network and the update from the recording medium.

[0038] Effects of the Invention

[0039] According to one aspect of the present invention, when updating the target program in the payment terminal, the target program can be updated in the same procedure regardless of whether the update is performed via a network or via a portable recording medium. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 This is a block diagram showing the structure of a settlement terminal.

[0041] Figure 2This is a flowchart for explaining the process of starting streaming media update.

[0042] Figure 3 This is a diagram showing the transition of screen displays in a payment terminal.

[0043] Figure 4 This is a flowchart for explaining the processing when executing update.

[0044] Figure 5 This is a flowchart for explaining the processing when executing update.

[0045] Description of Reference Numerals

[0046] 10…settlement terminal; 12…touch screen; 13…display; 14…readout unit; 15…main board; 16…I / O interface; 17…network port; 18…USB port; 20…module board; 21…CPU; 22…nonvolatile memory; 23…volatile memory; 24…internal bus; 25…calculation unit; 26…nonvolatile storage unit; 27…connection unit; 30…network; 31…settlement server; 32…program server; 35…USB memory. DETAILED DESCRIPTION

[0047] Next, a mode for carrying out the present invention will be described. Figure 1 A structure of a settlement terminal is shown for applying an update method of one embodiment. Figure 1 The settlement terminal 10 shown is used to connect to the settlement server 31 via the network 30 to perform online settlement. The settlement terminal 10 can be configured to perform offline settlement processing even when it is not connected to the settlement server 31. The settlement terminal 10 includes a touch screen 12 operated by a user's finger or the like for input, a display 13 provided independently of the touch screen 12 and providing information to customers such as consumers who use the settlement service, and a reader 14 that reads data from an authentication medium. The touch screen 12 and the display 13 are display units. The authentication medium is, for example, a credit card or a stored-value card, a two-dimensional code, or the like. When the authentication medium is a card medium such as a credit card or a stored-value card, the reader 14 is configured as a magnetic card reader or an IC card reader depending on whether the card medium is a magnetic card or an IC card. When the authentication medium is a two-dimensional code such as a QR code (registered trademark), the reader 14 is configured as a camera that reads the two-dimensional code. A smartphone or a smart watch that performs non-contact short-range communication can also be used as an authentication medium. When such an authentication medium is used, a device suitable for such an authentication medium is used as the reader 14. Of course, the reader 14 is preferably configured to be compatible with a variety of authentication media.

[0048] In addition, the settlement terminal 10 is provided with a network port 17 that is a connection port to the network 30 and a USB port 18 to which various USB devices can be detachably connected. The network port 17 may be a wireless LAN port connected to the network 30 as a wireless LAN, or may be an Ethernet (registered trademark) port for connecting to the network 30 via a LAN cable.

[0049] A main substrate 15 is provided inside the main body of the settlement terminal 10, and an I / O interface 16 is provided on the main substrate 15, and a module substrate 20 is mounted. Since the settlement terminal 10 is a computer device, a minimum structure for functioning as a computer device is provided on the module substrate 20, that is, a volatile memory 23 which functions as a main storage device and is composed of a CPU 21, a nonvolatile memory 22, and a RAM, etc. and connected to the CPU 21. The CPU 21 is a processor that operates based on a program, and a microprocessor or an MPU (microprocessing unit) may be used instead of the CPU 21. The nonvolatile memory 22 is composed of a rewritable ROM or flash memory, and firmware or OS, various application programs, etc. for operating the settlement terminal 10 are also stored in the nonvolatile memory 22. The nonvolatile memory 22 also functions as an external storage device, which is an external storage device in the settlement terminal as a computer device. In the module substrate 20, the CPU 21, the nonvolatile memory 22, and the volatile memory 23 are connected to each other via an internal bus 24. CPU 21 is a single-chip structure, and in addition to a computing unit 25 generally provided in a CPU or a microprocessor, it also has an extremely small-capacity volatile storage area, namely a volatile storage unit (built-in RAM) 26, and an extremely small-capacity non-volatile storage area, namely a non-volatile storage unit 27 (built-in ROM).

[0050] The module substrate 20 is electrically connected to the main substrate 15 via the connection portion 28, whereby the internal bus 24 of the module substrate 20 is also electrically connected to the I / O interface 16 on the main substrate 15. The I / O interface 16 constitutes an interface with respect to the touch screen 12, the display 13, the readout portion 14, the network port 17, and the USB port 18. In the settlement terminal 10, it is also possible to use a pair of connectors at the connection portion 28 and remove the module substrate 20 from the main substrate 15, but in order to improve the safety in the settlement terminal 10, it is preferred that the module substrate 20 is soldered to the main substrate 15 at the connection portion 28 so that the two are not easily separated.

[0051] In this specification, the expression "new version" or "new version" is used for the object program stored in the nonvolatile memory 22 of the payment terminal 10, which means a version newer than the version of the object program stored in the nonvolatile memory 22 at that time.

[0052] Before explaining the update of the object program in the settlement terminal 10, the general update method in various computer devices is explained. When updating the object program such as firmware or OS stored in the non-volatile memory in the computer device, generally speaking, the program data of the new version of the object program is temporarily stored in the RAM as a whole, and then the update data in the RAM is copied to the non-volatile memory. Such an update method is called non-streaming media update. In non-streaming media update, since it is based on the premise that there is free capacity in the RAM that can store the entire update data, there is a problem that the update cannot be performed when the free capacity of the RAM is small. Therefore, the following update method is proposed: when updating via the network, the update data is composed of multiple blocks or fragments, and the blocks (or fragments) are downloaded and stored in the RAM one by one, and the blocks (or fragments) stored in the RAM are copied to the non-volatile memory each time. Such an update method is called streaming media update. Streaming media update requires that the program server 32 that sends the update data is connected to the network 30 and the computer device that wants to update can access the program server 32 via the network 30. In addition, the new version of program data used for updating the target program is referred to as update data or new version update data.

[0053] The streaming update itself is prepared as a function of the OS. When the streaming update is started, an application is operated on the OS. This application can be started at a fixed time interval by the OS or can be started manually. Figure 2 The flowchart shown is a diagram for explaining the processing of the application based on starting the streaming media update. First, in step 101, it is determined whether the current stage is a stage of waiting for the computer device to restart (reboot) after the copying of the update data based on the streaming media update to the non-volatile memory 22 is completed. When waiting for the restart, there is no need to repeatedly drive the streaming media update, so the processing ends here. When it is not waiting for the restart in step 101, in step 102, it is determined whether the update data is being downloaded. Here, when it is downloading, there is no need to repeatedly start the streaming media update, so the processing ends here.

[0054] If the download is not in progress in step 102, in step 103, the program server 32 is queried via the network 30 whether there is update data of a new version. Based on the result of the query, in step 104, it is determined whether there is update data in the program server 32. Here, if there is no update data, the processing ends here. If there is update data, in step 105, the download of update data based on streaming media update, i.e., streaming media download, is started, and then the processing ends. On the other hand, if there is no update data in step 105, the processing ends here. In the processing described above, the processing of step 101 and the processing of step 102 may be performed in a reversed order.

[0055] Next, the update of the object program such as the firmware or OS of the settlement terminal 10 of the present embodiment is described. In the update method of the present embodiment, it is based on downloading the update data from the program server 32 to the settlement terminal 10 via the network 30 through the above-mentioned streaming media update and writing it into the non-volatile memory 22. Therefore, the OS of the settlement terminal 10 is preferably an OS that supports streaming media updates. Specifically, for example, when the OS is Android (registered trademark), it is preferably version 8 or below. Of course, it is not necessary to support streaming media updates. When the update data is downloaded to the settlement terminal 10 via the network 30, it can also be a non-streaming media update method.

[0056] In the present embodiment, since the update data cannot be downloaded via the network 30, the update data can be read into the settlement terminal 10 from a portable recording medium installed via the USB port 18, i.e., locally connected to the settlement terminal 10, to update the target program on the non-volatile memory 22. The case where the update cannot be made via the network 30 includes, for example, the case where the settlement terminal 10 is not connected to the network 30, the program server 32 is not connected to the network 30, or the program server 32 is connected to the network 30 but the connection from the settlement terminal 10 connected to the network 30 to the program server 32 is not permitted. In either case, the program server 32 cannot be accessed from the settlement terminal 10. In addition, the portable recording medium is used in order to allow the settlement terminal 10 to read update data of a newer version than the update data provided by the program server 32.

[0057] Specifically, the removable recording medium connected to the USB port 18 is a USB memory 35 that is detachably connected to the USB port 18, i.e., installed, and the USB memory 35 is handled as a UMS device, i.e., a USB-MSC (mass storage class) device, from the OS side of the settlement terminal 10. In this embodiment, the object program of the settlement terminal 10 can be updated in the same order when updated via the network 30 and when updated from the USB memory 35.

[0058] Figure 3 The screen transition on the touch screen 12 of the settlement terminal 10 when updating the target program such as firmware or OS in the settlement terminal 10 is shown. In the present embodiment, an application program (hereinafter referred to as "update app") is prepared for updating the target program in the settlement terminal 10. The update app is a computer program executed in the computing unit 25 of the settlement terminal 10 under the control of the OS, and controls the download or reading of update data and the writing of update data to the non-volatile memory 22.

[0059] When the update app is started, first, the update app determines in step 111 whether the settlement terminal 10 is waiting for a restart after the update. If it is waiting for a restart, the update has been successful at this time, so a restart request screen 56 is displayed to notify the user of the success of the update and remind the user to restart. In the case of updating from the USB memory 35, a message reminding the user to remove the USB memory 35 is also displayed on the restart request screen 56. On the other hand, when it is determined in step 111 that it is not waiting for a restart, the update app determines in step 112 whether the update is in progress. Here, in terms of the update data being in progress, if the update is a streaming media update, it means that the update data is being downloaded. If it is a non-streaming media update, it means that the update data is being downloaded or read, or the downloaded or read update data is being written to the non-volatile memory 22. Step 111 and Figure 2 The step 101 shown corresponds to the step 112. Figure 2 Step 102 is performed to make it suitable for the updating method of this embodiment.

[0060] When it is determined in step 112 that the update is in progress, the update app displays a progress notification screen 54 (also referred to as a progress screen) indicating the progress of the update. An indicator 64 indicating the progress of the update in the form of a bar graph and a "cancel" button 65 for ending the update process are displayed on the progress notification screen 54. After the progress notification screen 54 is displayed, if the update is completed, a restart request screen 56 is displayed to remind the restart. When the "cancel" button 65 is pressed or clicked while the progress notification screen 54 is displayed, an error display dialog box 57 notifying that the update is stopped or canceled due to an error is displayed. A "confirm" button 67 is displayed in the error display dialog box 57. When the "confirm" button 67 is pressed or clicked, an update confirmation screen 51 indicating whether there is a target program of a newer version than the version stored in the non-volatile memory 22, that is, whether there is update data, is displayed.

[0061] If it is determined in step 112 that the update is not in progress, the update confirmation screen 51 is displayed. The update confirmation screen 51 is as shown in FIG. Figure 2As shown in step 103 of the flowchart shown in FIG. 1 , the update app is displayed when confirming whether there is update data. When it is confirmed that there is no update data, a notification screen 53 is displayed to inform that there is no update data, that is, the system is up to date. A "reconfirm" button 63 is displayed on the notification screen 53. When the "reconfirm" button 63 is pressed or clicked, the update app reconfirms whether there is a new version of update data, so the update confirmation screen 51 is displayed again.

[0062] As a result of the update app confirming the existence of update data, if update data exists, the screen transitions from the update confirmation screen 51 to the update start confirmation dialog box 52 that asks the user whether to start the update. In the update start confirmation dialog box 52, a "Yes" button 61 for indicating the start of the update and a "No" button 62 for reserving the update are displayed. When the "Yes" button 61 is pressed or clicked, the download or reading of the update data starts, and the progress notification screen 54 is displayed. On the other hand, when the "No" button 62 is pressed or clicked, the update reservation notification screen 55 indicating that the update is reserved is displayed. A "Reconfirm" button 63 is displayed on the update reservation notification screen 55. When the "Reconfirm" button 63 is pressed or clicked, the update app reconfirms whether there is a new version of the update data, so the update confirmation screen 51 is displayed again.

[0063] use Figure 4 and Figure 5 The flowchart explains the processing of the update app for updating the object program accompanied by the screen transition described above. First, when the update app is started in the settlement terminal 10, the update app determines in step 111 as described above whether the settlement terminal 10 is waiting for a restart after the update. If it is waiting for a restart, the update has been successful at this time, and therefore, a restart request screen 56 is displayed to notify the user of the success of the update and remind the user to restart. When not waiting for a restart, the update app determines in step 112 whether an update is currently in progress. When an update is not in progress in step 112, next, the update app determines in step 113 whether a USB memory 35 is installed as a UMS device in the settlement terminal 10. Depending on the OS used by the settlement terminal 10, when the USB memory 35 is already installed in the settlement terminal 10 and is used by other applications, it is sometimes impossible to access the UMS device, i.e., the USB memory 35, from the update app. Therefore, when updating the object program, it is preferable to install the USB memory 35 after the update app is started. From Figure 4 and Figure 5As can be seen from the flowchart shown, as long as the update data of the updated version is stored in the USB memory 35, even if the USB memory 35 is installed to the settlement terminal 10 after the update app is started, the settlement terminal 10 is updated by the update data of the updated version stored in the USB memory 35.

[0064] When it is determined in step 113 that the UMS device is not installed, the update app queries the program server 32 in step 114 whether there is a version of the object program that is newer than the version of the object program in the settlement terminal 10, and displays the update confirmation screen 51 on the touch screen 12. Moreover, based on the response to the query, it is determined in step 115 whether there is a new version of update data in the program server 32. When the settlement terminal 10 cannot access the program server 32, it is processed as if there is no new version of update data. When it is determined in step 115 that "does not exist", the update app displays the system as the latest notification screen 53. When the "Reconfirm" button 63 is pressed or clicked on the notification screen 53, the update app repeats the processing starting from step 111. At this time, if it is not waiting for restart or downloading, and the USB memory 35 is not installed, the update app executes step 114 again, and therefore displays the update confirmation screen 51. In addition, steps 114 and 115 are respectively performed with Figure 2 Steps 103 and 104 are the same processing steps.

[0065] If it is determined as "existent" in step 115, the update app displays the update start confirmation dialog box 52 and waits until either the "Yes" button 61 or the "No" button 62 in the update start confirmation dialog box 52 is pressed or clicked. When either button 61 or 62 is operated, the update app determines which button is operated, that is, whether it indicates the start of the update, in step 116. When the "Yes" button 61 is operated, in step 117, the streaming download of the update data from the program server 32 is started and the update is started, and then the process starting from step 111 is repeated. Step 117 is the same as Figure 2 The step corresponding to step 105 of step 105. On the other hand, when it is determined in step 115 that the "No" button 61 has been operated, the update app displays the update reservation notification screen 55. Moreover, when the "Reconfirm" button 66 is operated in the update reservation notification screen 55, the update app repeats the processing starting from step 111. In addition, when the user intends to update from the USB memory 35, the USB memory 35 is installed in the settlement terminal 10 at the moment when the update start confirmation dialog box 52 is displayed, and then the "No" button 61 is operated. As a result, when the processing starting from step 111 is repeated, it is determined in step 113 that the UMS device is installed, and therefore, as described later, the update is performed based on the update data stored in the USB memory 35.

[0066] When the upload is in progress in step 112, the update app displays the progress notification screen 54. Moreover, at any time when the download is completed and the update is completed, when the download or update is canceled due to an error, and when the "Cancel" button 65 in the progress notification screen 54 is operated, the update app determines whether the update is successful in step 118. When it is determined that the update is successful, the update app repeats the process from step 111. On the other hand, when it is determined that the update fails in step 118, the update app resets the update status in the settlement terminal 10 in step 119, and then displays the error display dialog box 57. When the "Confirm" button 67 in the error display dialog box 57 is operated, the update app repeats the process from step 111.

[0067] If it is determined in step 113 that the UMS device is installed, the update app checks in step 121 whether there is update data of a newer version than the current version of the target program in the USB memory 35, which is the UMS device, and displays the update confirmation screen 51. Step 122 represents a branch based on the result obtained by the confirmation in step 121. If there is update data of a newer version in the USB memory 35, the update app displays the update start confirmation dialog 52. In addition, in step 123, the update app determines which of the buttons 61 and 62 in the update start confirmation dialog 52 is operated in the same way as step 116. If the "Yes" button 61 is operated, in step 124, the non-streaming media update of the update data stored in the USB memory 35 is started, and then the processing from step 111 is repeated. On the other hand, if the "No" button 62 is operated in step 123, the update hold notification screen 55 is displayed. If the "Reconfirm" button 66 in the update hold notification screen 55 is operated, the update app repeats the processing from step 111.

[0068] The above is a description of the procedure for updating the target program such as the firmware or OS of the settlement terminal 10 of the present embodiment. When the target program is updated by the update app, the migration of the image that appears on the touch screen 12 of the settlement terminal 10 is the same when the streaming update (sometimes non-streaming update) is performed via the network 30 and when the non-streaming update is performed via the USB memory 35 installed in the settlement terminal 10 as a UMS device. Figure 4 Steps 114 to 117 and Figure 5As shown in the steps 121 to 124, which are in a corresponding relationship, it can be seen that, except for the action of installing the USB memory 35, when the target program is updated by downloading the update data via the network 30, and when the update is performed by the update data in the USB memory 35 installed in the settlement terminal 10, the operations that the user must perform from the start of the update app to the completion of the update are the same. That is, according to the present embodiment, the target program can be updated in the settlement terminal 10 in the same order, and the update can be performed simply.

[0069] In addition, in the present embodiment, when the USB memory 35 is installed in the settlement terminal 10 after the update app is started, when the process from step 111 is repeated, it is determined in step 113 that the UMS device is installed and the process from step 121 onwards is executed. Therefore, even after the update is performed by downloading the update data via the network 30, if the update data of a newer version than the update data is stored in the USB memory 35, the update is performed based on the update data in the USB memory 35. That is, finally, the target program such as the firmware or OS of the settlement terminal 10 is updated by the update data of the newer version among the update data stored in the program server 32 and the update data stored in the USB memory 35.

Claims

1. An updating method for updating a program in a settlement terminal, wherein the settlement terminal is a computer device having a processor that operates based on the program, a non-volatile memory, a volatile memory, and a display unit, and performs online settlement, in, The updating method takes a program to be updated as the target program and has the following steps: An installation confirmation step of confirming whether a recording medium is installed in the settlement terminal; a first confirmation step of, when it is determined in the installation confirmation step that the recording medium is not installed, confirming whether first update data on the target program of a newer version than the version of the target program stored in the nonvolatile memory exists in a program server accessible by the settlement terminal via a network; a first updating step of starting a first writing process of downloading the first updating data from the program server and writing the first updating data into the nonvolatile memory according to an instruction from a user when the first updating data exists; a second confirmation step of, when it is determined in the installation confirmation step that the recording medium is installed, confirming whether second update data on the target program of a newer version than the version of the target program stored in the nonvolatile memory exists in the recording medium; as well as a second updating step of starting a second writing process of reading the second update data from the recording medium and writing the second update data into the nonvolatile memory according to an instruction from the user when the second update data exists; When any one of the first writing process and the second writing process is executed, the installation confirmation step is not executed. The installation confirmation step, the first confirmation step, the first update step, the second confirmation step, and the second update step are executed by an application program running on the payment terminal.

2. The updating method according to claim 1, in, The first write process is a process based on streaming media update, and the second write process is a process based on non-streaming media update.

3. The updating method according to claim 1 or 2, in, The recording medium is a UMS device installed in the settlement terminal.

4. The updating method according to claim 1 or 2, in, The screen transition of the screen displayed on the display unit when executing the first confirmation process, the first update process and the first writing process is common to the screen transition of the screen displayed on the display unit when executing the second confirmation process, the second update process and the second writing process.

5. A computer-readable storage medium storing an application program, wherein the application program executes an update of a program in a settlement terminal, wherein the settlement terminal is a computer device having a processor that operates based on the program, a non-volatile memory, a volatile memory, and a display unit, and executes online settlement, in, The application program takes the program to be updated as the target program and causes the processor to execute: Installation confirmation processing, confirming whether the recording medium is installed in the settlement terminal; a first confirmation process of, when it is determined in the installation confirmation process that the recording medium is not installed, confirming whether first update data on the target program of a newer version than the version of the target program stored in the nonvolatile memory exists in a program server accessible by the settlement terminal via a network; a first update process, in which, when the first update data exists, a first write process is started to download the first update data from the program server and write the first update data into the nonvolatile memory according to an instruction from a user; a second confirmation process of, when it is determined in the installation confirmation process that the recording medium is installed, confirming whether second update data on the target program of a newer version than the version of the target program stored in the nonvolatile memory exists in the recording medium; as well as a second update process of starting a second write process of reading the second update data from the recording medium and writing the second update data into the nonvolatile memory according to an instruction from the user when the second update data exists; When either the first writing process or the second writing process is being executed, the installation confirmation process is not executed.

6. The computer-readable storage medium according to claim 5, in, The first write process is a process based on streaming media update, and the second write process is a process based on non-streaming media update.

7. The computer-readable storage medium according to claim 5 or 6, in, The recording medium is a UMS device installed in the settlement terminal.

8. The computer-readable storage medium according to claim 5 or 6, in, The screen transition of the screen displayed on the display unit when executing the first confirmation processing, the first update processing and the first writing processing and the screen transition of the screen displayed on the display unit when executing the second confirmation processing, the second update processing and the second writing processing are set as a common screen transition.

Citation Information

Patent Citations

  • Method for updating firmware, terminal and computer readable non-volatile storage medium

    US20190278583A1