Update method and application program for settlement terminal

The update method and application program unify network and portable medium update procedures for payment terminals, ensuring consistent and easy program updates, including streaming and non-streaming methods to handle memory constraints and user interface consistency.

JP2024147228APending Publication Date: 2024-10-16NIDEC INSTR CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023060106
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-03
Publication Date
2024-10-16

AI Technical Summary

Technical Problem

Existing payment terminals face difficulties in updating programs such as firmware or OS, as the procedure for updating via a network differs from updating via a portable storage medium, making it cumbersome and inconsistent.

Method used

An update method and application program that unify the procedures for updating programs in payment terminals, whether via a network or a portable recording medium, by confirming attachment of the medium, checking for updates on a server or storage medium, and executing write processes accordingly, with streaming and non-streaming updates to ensure seamless operation.

Benefits of technology

Enables consistent and easy program updates in payment terminals regardless of the update source, ensuring reliable updates even with limited memory space and providing a unified user experience across both network and portable medium updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024147228000001_ABST
    Figure 2024147228000001_ABST
Patent Text Reader

Abstract

To allow a program, such as firmware or an OS, to be updated in a settlement terminal, in the same procedure regardless of whether updating is performed via a network or a portable recording medium.SOLUTION: An application program executes, for a target program which is to be updated, an attachment confirmation step (Step 112) of confirming whether a recording medium (USB memory 35) has been attached to a settlement terminal 10. When the recording medium is not attached, the application program downloads first update data from a program server 22 via a network 20 to execute update (Step 117). When the recording medium is attached, the application program reads second update data from the recording medium to execute update (Step 124).SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a payment terminal used for online payments and the like, and in particular to a method for updating computer programs such as firmware and an OS (operating system) in a payment terminal, and an application program for implementing such an update method. [Background technology]

[0002] In order to make online payments at sales locations such as stores, payment terminals that connect to a payment server via a network are used. The payment terminal is configured as a so-called embedded computer device equipped with a touch screen for inputting, for example. Since authentication media such as credit cards, prepaid cards, and two-dimensional codes are often used in online payments, the payment terminal may be equipped with a reader unit that reads data from the authentication media, and may further be equipped with a display that is provided independently of the touch screen. In a payment terminal, the minimum configuration required to function 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 a flash memory, are generally mounted on a module board, and this module board is generally attached to a main board. The main board is provided with an I / O (Input / Output) interface for connection to a network, a touch screen, and the like.

[0003] Since a payment terminal is a computer device, it requires computer programs (hereinafter simply referred to as "programs"), such as firmware and an OS, to operate, and these programs are written to non-volatile memory. It is desirable to be able to rewrite the programs already written in the payment terminal with new versions of programs, i.e., to update (update) them, in order to improve functions, etc. However, from the perspective of ensuring security, payment terminals are often designed so that the module board cannot be removed from the main board, and it is difficult to remove the module board and then directly write a new version of the program to the non-volatile memory. Therefore, when updating a program, it is common to download the new version of the program to the payment terminal via a network, such as a wired or wireless LAN (local area network), and write the downloaded program to the non-volatile memory.

[0004] The process of downloading a new version of a program and storing it in the non-volatile memory of the payment terminal is performed by the processor of the payment terminal executing an application program for executing the update. Patent Document 1 discloses an application program that executes a program update. Patent Document 2 discloses that when updating firmware, a set firmware update file is read and placed in memory, a function entry address of the firmware update file is obtained, firmware update data is obtained from the firmware update file in the memory based on the function entry address, and the obtained firmware update data is written to a firmware module. In the following description, a program that is the target of an update is called a target program. As described above, the target program is, for example, firmware or an OS, but the application program that executes the update may also be the target program itself. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] China Patent Application Publication No. 112035146 [Patent Document 2] US Patent Application Publication No. 2019 / 0278583 Summary of the Invention [Problem to be solved by the invention]

[0006] When updating a target program such as firmware or an OS in a payment terminal, the new version of the target program is often downloaded via a network and stored in a non-volatile memory, but in some situations it may be desirable to perform the update without going through a network. In such cases, the new version of the target program is stored in a portable recording medium such as a USB (Universal Serial Bus) memory, the recording medium is locally connected to the payment terminal, and the new version of the target program is read from the recording medium and written to the non-volatile memory. However, the operating procedures for updating via a network and updating via a portable recording medium are different, apart from whether or not the recording medium is locally connected to the payment terminal, i.e., whether or not it is attached, and therefore updating via a portable recording medium is not easily performed.

[0007] An object of the present invention is to provide an update method that can update a target program using the same procedure regardless of whether the update is performed via a network or via a portable recording medium, and an application program that executes such an update method. [Means for solving the problem]

[0008] An update method according to one aspect of the present invention is a method for updating a program in a payment terminal that is configured as a computer device having a processor that operates based on a program, a non-volatile memory, a volatile memory, and a display means and that executes online payments, the method comprising the steps of: The programs to be updated are the target programs. a mounting confirmation step of confirming whether a recording medium is mounted in the payment terminal; a first confirmation step of confirming whether or not first update data for the target program of a newer version than the version of the target program stored in the non-volatile memory is present in a program server accessible by the payment terminal via a network when it is determined in the installation confirmation step that the recording medium is not installed; a first update process for starting a first write process of downloading the first update data from the program server and writing the first update data into the non-volatile memory in response to an instruction from a user when the first update data exists; a second confirmation step of confirming whether or not second update data for the target program of a newer version than the version of the target program stored in the non-volatile memory is present on the recording medium when it is determined in the installation confirmation step that the recording medium is installed; a second update process for starting a second write process of reading the second update data from the recording medium and writing the second update data into the non-volatile memory in response to an instruction from the user when the second update data exists; having The attachment confirmation step is not executed when either the first writing process or the second writing process is being executed, The attachment 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.

[0009] According to one embodiment of the update method, the procedures for updating by downloading first update data from a program server via a network and updating using second update data stored on a recording medium attached to the payment terminal can be unified, making it possible to easily update from a recording medium attached to the payment terminal, just as in the case of updating via a network.

[0010] In one aspect of the update method, the first write process is preferably a streaming update process, and the second write process is preferably a non-streaming update process. By using a streaming update for the update via the network, it becomes possible to reliably update the target program even when the free space of the non-volatile memory in the payment terminal is low.

[0011] In one aspect of the update method, the recording medium is preferably a UMS device that is attached to the payment terminal. By using the UMS device, the recording medium can be easily controlled from the payment terminal.

[0012] In one aspect of the update method, it is preferable that the screen transitions of the screens displayed on the display means when the first confirmation step, the first update step, and the first writing process are performed are common to the screen transitions of the screens displayed on the display means when the second confirmation step, the second update step, and the second writing process are performed. By making the screen transitions common to the screen transitions, the user can perform the update work without being more aware of the difference between the case of updating via a network and the case of updating from a recording medium.

[0013] An application program according to one embodiment is an application program for updating a program in a payment terminal that is configured as a computer device having a processor that operates based on the program, a non-volatile memory, a volatile memory, and a display means and that performs online payment, the application program comprising: A program to be updated is set as a target program to the processor, an attachment confirmation process for confirming whether a recording medium is attached to the payment terminal; a first confirmation process for confirming whether or not first update data for the target program of a newer version than the version of the target program stored in the non-volatile memory is present in a program server accessible by the payment terminal via a network when it is determined in the installation confirmation process that the recording medium is not installed; a first update process that starts a first write process of downloading the first update data from the program server and writing the first update data into the non-volatile memory in response to an instruction from a user when the first update data exists; a second confirmation process for confirming whether or not second update data for the target program of a newer version than the version of the target program stored in the non-volatile memory is present on the recording medium when it is determined in the mounting confirmation process that the recording medium is mounted; a second update process that starts a second write process of reading the second update data from the recording medium and writing the second update data to the non-volatile memory in response to an instruction from the user when the second update data exists; Run the command, When either the first writing process or the second writing process is being executed, the attachment confirmation process is not executed.

[0014] According to one embodiment of the application program, the procedures for updating by downloading first update data from a program server via a network and updating using second update data stored on a recording medium attached to the payment terminal can be unified, making it possible to easily perform updates from a recording medium attached to the payment terminal, just as in the case of updating via a network.

[0015] In one embodiment of the application program, the first write process is preferably a process using a streaming update, and the second write process is preferably a process using a non-streaming update. By using a streaming update for the update via the network, it is possible to reliably update the target program even when the free space of the non-volatile memory in the payment terminal is low.

[0016] In one embodiment of the application program, the recording medium is preferably a UMS device that is attached to the payment terminal. By using the UMS device, the recording medium can be easily controlled from the payment terminal, and the recording medium can also be easily controlled from the application program.

[0017] In one embodiment of the application program, it is preferable that the screen transitions of the screens displayed on the display means when the first confirmation process, the first update process, and the first write process are performed are common to the screen transitions of the screens displayed on the display means when the second confirmation process, the second update process, and the second write process are performed. By commonizing the screen transitions, the user can perform the update work without being more aware of the difference between the case via the network and the case from the recording medium. Effect of the Invention

[0018] According to one aspect of the present invention, when updating a target program at a payment terminal, the target program can be updated using the same procedure regardless of whether the update is performed via a network or via a portable recording medium. [Brief description of the drawings]

[0019] [Figure 1] FIG. 2 is a block diagram showing the configuration of a payment terminal. [Diagram 2] 11 is a flowchart illustrating a process of starting a streaming update. [Diagram 3] FIG. 11 is a diagram showing the transition of screen displays on the payment terminal. [Figure 4] 11 is a flowchart illustrating a process when an update is executed. [Diagram 5] 11 is a flowchart illustrating a process when an update is executed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] Next, an embodiment for carrying out the present invention will be described. FIG. 1 shows the configuration of a payment terminal to which an update method according to an embodiment is applied. The payment terminal 10 shown in FIG. 1 is used to connect to a payment server 31 via a network 30 and execute online payment. The payment terminal 10 may be configured to perform offline payment processing without being connected to the payment server 31. The payment terminal 10 includes a touch screen 12 operated by a user's finger for input, a display 13 provided independently of the touch screen 12 and presenting information to customers such as consumers who use the payment service, and a reader unit 14 for reading data from an authentication medium. The touch screen 12 and the display 13 are display means. The authentication medium is, for example, a credit card, a prepaid card, or a two-dimensional code. When the authentication medium is a card medium such as a credit card or a prepaid card, the reader unit 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 unit 14 is configured as a camera that reads the two-dimensional code. A smartphone or a smartwatch that performs non-contact short-distance communication can also be used as the authentication medium, and when such an authentication medium is used, a reader unit 14 that is compatible with such an authentication medium is used. Of course, it is preferable that the reader unit 14 is configured to be compatible with multiple types of authentication media.

[0021] Furthermore, the payment terminal 10 is provided with a network port 17 that serves as a connection port to the network 30, and a USB port 18 to which various USB devices are detachably connected. The network port 17 may be a wireless LAN port that connects to the network 30, which is a wireless LAN, or may be an Ethernet (registered trademark) port for connecting to the network 30 via a LAN cable.

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

[0023] The module board 20 is electrically connected to the main board 15 via the connection part 28, whereby the internal bus 24 of the module board 20 is also electrically connected to the I / O interface 16 on the main board 15. The I / O interface 16 constitutes an interface for the touch screen 12, the display 13, the reader unit 14, the network port 17, and the USB port 18. In the payment terminal 10, it is also possible to make the module board 20 removable from the main board 15 by using a pair of connectors at the connection part 28, but in order to improve the security of the payment terminal 10, it is preferable to solder the module board 20 to the main board 15 at the connection part 28 so that the two are not easily separated.

[0024] In this specification, expressions such as "new version" or "new version" are used in reference to the target program stored in the non-volatile memory 22 of the payment terminal 10, which means that the version is newer than the version of the target program stored in the non-volatile memory 22 at that time.

[0025] Before describing the update of the target program in the payment terminal 10, a general update method in various computer devices will be described. When updating a target program such as firmware or an OS stored in a non-volatile memory in a computer device, generally, the entire program data of the new version of the target program is once stored in RAM, and then the update data in the RAM is copied to the non-volatile memory. This type of update form is called a non-streaming update. In a non-streaming update, it is assumed that there is enough free space in RAM to store the entire update data, so there is a problem that the update cannot be performed when the free space in RAM is low. Therefore, an update form has been proposed in which, when updating via a network, update data is composed of multiple blocks or fragments, and the blocks (or fragments) are downloaded one by one and stored in RAM, and the blocks (or fragments) stored in RAM are copied to the non-volatile memory each time. This type of update form is called a streaming update. A streaming update requires that a program server 32 that distributes the update data is connected to a network 30, and that a computer device that is to perform the update is able to access the program server 32 via the network 30. The new version of the program data used to update the target program is called update data or new version update data.

[0026] Although the streaming update itself is prepared as a function of the OS, when the streaming update is started, an application program that runs on the OS is involved. This application program may be started by the OS at regular time intervals, or may be started manually. The flowchart shown in FIG. 2 explains the processing by the application program that starts the streaming update. First, in step 101, it is determined whether or not the computer device is currently waiting for restart (reboot) after the update data by the streaming update has been copied to the non-volatile memory 22. If the computer device is waiting for reboot, it does not need to start the streaming update again, and the processing ends as it is. If the computer device is not waiting for reboot in step 101, it is determined in step 102 whether or not the update data is being downloaded. If the update data is being downloaded, it does not need to start the streaming update again, and the processing ends as it is.

[0027] If downloading is not in progress in step 102, then in step 103, an inquiry is made to the program server 32 via the network 30 as to whether or not update data of a new version exists. Based on the result of this inquiry, in step 104, it is determined whether or not update data exists in the program server 32. If no update data exists, the process ends as it is, and if update data exists, then in step 105, downloading of the update data by streaming update, i.e., streaming download, is started, and then the process ends. On the other hand, if update data does not exist in step 105, the process ends as it is. In the process described above, the process of step 101 and the process of step 102 may be executed in an interchangeable order.

[0028] Next, an update of target programs such as the firmware and OS of the payment terminal 10 in this embodiment will be described. The update method of this embodiment is based on downloading update data from the program server 32 to the payment terminal 10 via the network 30 by the above-mentioned streaming update, and writing it to the non-volatile memory 22. Therefore, it is preferable that the OS of the payment terminal 10 is an OS that supports streaming updates, and specifically, for example, when the OS is Android (registered trademark), it is preferable that the OS is version 8 or later. However, it is not essential that the OS supports streaming updates, and when update data is downloaded to the payment terminal 10 via the network 30, it may be in the form of a non-streaming update.

[0029] In this embodiment, in case update data cannot be downloaded via the network 30, the update data can be read into the payment terminal 10 from a portable recording medium that is attached to the payment terminal 10 via the USB port 18, i.e., locally connected, to update the target program in the non-volatile memory 22. Updates cannot be made via the network 30 when, for example, the payment 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 payment terminal 10 connected to the network 30 is not permitted to connect to the program server 32. In any case, the payment terminal 10 cannot access the program server 32. A portable recording medium is also used to load update data of a newer version than the update data provided by the program server 32 into the payment terminal 10.

[0030] The portable recording medium connected to the USB port 18 is specifically a USB memory 35 that is removably connected, i.e., attached, to the USB port 18, and the USB memory 35 is treated as a UMS device, i.e., a USB-MSC (mass storage class) device, from the OS side of the payment terminal 10. In this embodiment, the target program of the payment terminal 10 can be updated using the same procedure whether via the network 30 or from the USB memory 35.

[0031] 3 shows screen transitions on touch screen 12 of payment terminal 10 when updating target programs such as firmware and the OS in payment terminal 10. In this embodiment, an application program (hereinafter referred to as an "update app") is prepared for updating target programs in payment terminal 10. The update app is a computer program executed under the control of the OS in calculation unit 25 of payment terminal 10, and controls downloading and reading of update data and writing of the update data to non-volatile memory 22.

[0032] When the update app is started, the update app first determines in step 111 whether the payment terminal 10 is waiting to be restarted after the update. If it is waiting to be restarted, the update has already been successful, so the restart request screen 56 is displayed to notify the user of the success of the update and to prompt the user to restart. If the update is being performed from the USB memory 35, a message prompting the user to remove the USB memory 35 is also displayed on the restart request screen 56. On the other hand, if it is determined in step 111 that the update is not waiting to be restarted, the update app determines in step 112 whether the update is in progress. Here, the progress of update data means that if the update is a streaming update, downloading of the update data is in progress, and if the update is a non-streaming update, downloading or reading of the update data is in progress, or writing of the downloaded or read update data to the non-volatile memory 22 is in progress. Step 111 corresponds to step 101 shown in FIG. 2, and step 112 is a modification of step 102 in FIG. 2 to be adapted to the update method in this embodiment.

[0033] When it is determined in step 112 that the update is in progress, the update app displays a progress notification screen 54 (also called a progress screen) showing the progress of the update. The progress notification screen 54 displays an indicator 64 showing the progress of the update in the form of a bar graph, and a "Cancel" button 65 for terminating the update process. After the progress notification screen 54 is displayed, if the update is completed, a restart request screen 56 is displayed to prompt the user to restart the device. When the "Cancel" button 65 is pressed or clicked while the progress notification screen 54 is displayed, an error display dialog 57 is displayed to notify the user that the update has been stopped or canceled due to an error. The error display dialog 57 displays a "Confirm" button 67. When the "Confirm" button 67 is pressed or clicked, an update confirmation screen 51 is displayed, which indicates that a confirmation is currently being performed as to whether or not a newer version of the target program than that stored in the non-volatile memory 22 exists, i.e., whether or not update data exists.

[0034] When it is determined in step 112 that an update is not in progress, an update checking screen 51 is displayed. The update checking screen 51 is displayed when the update app is checking for the presence or absence of update data, as in step 103 in the flowchart shown in FIG. 2. When it is confirmed that no update data exists, a notification screen 53 is displayed to notify that no update data exists, i.e., that the system is up to date. This notification screen 53 displays a "Recheck" button 63, and when the "Recheck" button 63 is pressed or clicked, the update app checks again for the presence or absence of update data for a new version, and the update checking screen 51 is displayed again.

[0035] If the update app checks for the presence of update data and finds that update data exists, the screen transitions from the update checking screen 51 to an update start confirmation dialog 52 that asks the user whether to start the update. The update start confirmation dialog 52 displays a "Yes" button 61 for instructing the user to start the update and a "No" button 62 for deferring the update. When the "Yes" button 61 is pressed or clicked, downloading or reading of the update data is started and a progress notification screen 54 is displayed. On the other hand, when the "No" button 62 is pressed or clicked, an update pending notification screen 55 is displayed, indicating that the update has been deferred. The update pending notification screen 55 displays a "Recheck" button 63, and when the "Recheck" button 63 is pressed or clicked, the update app checks again whether there is update data of a new version, and the update checking screen 51 is displayed again.

[0036] The process of the update app that updates the target program while accompanying the screen transitions described above will be described with reference to the flowcharts of FIG. 4 and FIG. 5. First, when the update app is started in the payment terminal 10, the update app determines in step 111 whether the payment terminal 10 is waiting to be restarted after the update as described above. If the payment terminal 10 is waiting to be restarted, the update has already been successful at that time, so the restart request screen 56 is displayed to notify the user that the update has been successful and prompt the user to restart the terminal. If the update app is not waiting to be restarted, the update app determines in step 112 whether the update is currently in progress. If the update app determines in step 112 that the update app is not in progress, the update app next determines in step 113 whether the USB memory 35 is attached to the payment terminal 10 as a UMS device. Depending on the OS used by the payment terminal 10, if the USB memory 35 is already attached to the payment terminal 10 and is being used by another application program, the update app may not be able to access the UMS device, i.e., the USB memory 35. Therefore, when updating the target program, it is preferable to attach the USB memory 35 after starting the update app. As is clear from the flowcharts shown in Figures 4 and 5, as long as a newer version of update data is stored in the USB memory 35, even if the USB memory 35 is inserted into the payment terminal 10 after the update app is launched, the payment terminal 10 will be updated with the newer version of the update data stored in the USB memory 35.

[0037] If it is determined in step 113 that the UMS device is not attached, the update app inquires of the program server 32 in step 114 whether or not there is a newer version of the target program than the version of the target program in the payment terminal 10, and displays the update checking screen 51 on the touch screen 12. Then, based on the response to the inquiry, it is determined in step 115 whether or not the update data of the new version exists in the program server 32. If the payment terminal 10 cannot access the program server 32, it is treated as if the update data of the new version does not exist. If it is determined in step 115 that the update data does not exist, the update app displays a notification screen 53 that the system is up to date. If the "Recheck" button 63 is pressed or clicked on this notification screen 53, the update app repeats the process from step 111. At this time, if the system is not waiting for reboot or downloading, and the USB memory 35 is not attached, the update app executes step 114 again, and the update checking screen 51 is displayed. Note that steps 114 and 115 are steps that perform the same processes as steps 103 and 104 in FIG. 2, respectively.

[0038] If it is determined in step 115 that the update exists, the update app displays the update start confirmation dialog 52 and waits until either the "Yes" button 61 or the "No" button 62 in the update start confirmation dialog 52 is pressed or clicked. When either the button 61 or 62 is operated, the update app determines in step 116 which button has been operated, that is, whether or not an instruction to start an update has been issued. If the "Yes" button 61 has been operated, in step 117, the update app starts streaming download of update data from the program server 32 to start the update, and then repeats the process from step 111. Step 117 corresponds to step 105 in FIG. 2. On the other hand, if it is determined in step 115 that the "No" button 61 has been operated, the update app displays the update pending notification screen 55. Then, if the "Recheck" button 66 has been operated in the update pending notification screen 55, the update app repeats the process from step 111. If the user intends to update from the USB memory 35, then when the update start confirmation dialog 52 is displayed, the user can insert the USB memory 35 into the payment terminal 10 and operate the "No" button 61. When the process from step 111 is repeated, it will be determined in step 113 that the UMS device is inserted, and an update will be performed using the update data stored in the USB memory 35, as described below.

[0039] If uploading is in progress in step 112, the update app displays the progress notification screen 54. Then, when downloading is completed and updating is completed, when downloading or updating is canceled due to an error, or when the "Cancel" button 65 in the progress notification screen 54 is operated, the update app determines in step 118 whether the update was successful. If it is determined that the update was successful, the update app repeats the process from step 111. On the other hand, if it is determined in step 118 that the update was unsuccessful, the update app resets the update state in the payment terminal 10 in step 119, and then displays the error display dialog 57. If the "Confirm" button 67 in the error display dialog 57 is operated, the update app repeats the process from step 111.

[0040] If it is determined in step 113 that the UMS device is attached, the update app checks in step 121 whether there is update data in the UMS device, i.e., the USB memory 35, that is newer than the current version of the target program, and displays the update checking screen 51. Step 122 indicates branching based on the result of the check 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. Then, in step 123, like in step 116, the update app determines whether either of the buttons 61, 62 in the update start confirmation dialog 52 has been operated. If the "Yes" button 61 has been operated, the update app starts a non-streaming update of the update data stored in the USB memory 35 in step 124, and then repeats the process from step 111. On the other hand, if the "No" button 62 has been operated in step 123, the update app displays the update pending notification screen 55. If the "Recheck" button 66 in the update pending notification screen 55 has been operated, the update app repeats the process from step 111.

[0041] The procedure for updating the target program such as the firmware or OS of the payment terminal 10 in this embodiment has been described above. The transition of images appearing on the touch screen 12 of the payment terminal 10 when updating the target program using the update app is the same when performing a streaming update (or non-streaming update in some cases) via the network 30, and when performing a non-streaming update via the USB memory 35 attached to the payment terminal 10 as a UMS device. As is clear from the correspondence between steps 114 to 117 shown in FIG. 4 and steps 121 to 124 shown in FIG. 5, except for the operation of attaching the USB memory 35, the operations that the user must perform from the start of the update app to the completion of the update are the same when updating the target program by downloading update data via the network 30, and when updating using the update data in the USB memory 35 attached to the payment terminal 10. That is, according to this embodiment, the target program can be updated in the payment terminal 10 using the same procedure, making it possible to easily perform the update.

[0042] Furthermore, in this embodiment, when the USB memory 35 is attached to the payment terminal 10 after the update app is started, when the process from step 111 is repeated, it is determined in step 113 that a UMS device is attached, and the process from step 121 onwards is executed, so that even after update data is downloaded via the network 30 and an update is performed, if a newer version of update data is stored in the USB memory 35, the update will be performed using the update data in the USB memory 35. That is, ultimately, the target programs such as the firmware and OS of the payment terminal 10 will be updated using the newer version of the update data stored in the program server 32 and the update data stored in the USB memory 35. [Explanation of symbols]

[0043] 10...payment terminal, 12...touch screen, 13...display, 14...reader unit, 15...main board, 16...I / O interface, 17...network port, 18...USB port, 20...module board, 21...CPU, 22...non-volatile memory, 23...volatile memory, 24...internal bus, 25...computing unit, 26...non-volatile storage unit, 27...connection unit, 30...network, 31...payment server, 32...program server, 35...USB memory.

Claims

1. A method for updating a program in a payment terminal for performing online payment, the payment terminal being configured as a computer device having a processor that operates based on a program, a non-volatile memory, a volatile memory, and a display means, comprising: The programs to be updated are the target programs. a mounting confirmation step of confirming whether a recording medium is mounted in the payment terminal; a first confirmation step of confirming whether or not first update data for the target program of a newer version than the version of the target program stored in the non-volatile memory is present in a program server accessible by the payment terminal via a network when it is determined in the installation confirmation step that the recording medium is not installed; a first update process for starting a first write process of downloading the first update data from the program server and writing the first update data into the non-volatile memory in response to an instruction from a user when the first update data exists; a second confirmation step of confirming whether or not second update data for the target program of a newer version than the version of the target program stored in the non-volatile memory is present on the recording medium when it is determined in the installation confirmation step that the recording medium is installed; a second update process for starting a second write process of reading the second update data from the recording medium and writing the second update data to the non-volatile memory in response to an instruction from the user when the second update data exists; having the attachment confirmation step is not executed when either the first writing process or the second writing process is being executed, An update method, wherein 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. 2. The update method according to claim 1, wherein the first write process is a process using a streaming update, and the second write process is a process using a non-streaming update.

3. The update method according to claim 1 or 2, wherein the recording medium is a UMS device attached to the payment terminal.

4. 3. The update method according to claim 1, wherein a screen transition of a screen displayed on the display means when the first confirmation step, the first update step, and the first writing process are being executed is common to a screen transition of a screen displayed on the display means when the second confirmation step, the second update step, and the second writing process are being executed.

5. An application program for updating a program in a payment terminal for performing online payment, the payment terminal being configured as a computer device having a processor operating based on a program, a non-volatile memory, a volatile memory, and a display means, the application program comprising: A program to be updated is set as a target program to the processor, an attachment confirmation process for confirming whether a recording medium is attached to the payment terminal; a first confirmation process for confirming whether or not first update data for the target program of a newer version than the version of the target program stored in the non-volatile memory is present in a program server accessible by the payment terminal via a network when it is determined in the installation confirmation process that the recording medium is not installed; a first update process for starting a first write process for downloading the first update data from the program server and writing the first update data into the non-volatile memory in response to an instruction from a user when the first update data exists; a second confirmation process for confirming whether or not second update data for the target program of a newer version than the version of the target program stored in the non-volatile memory exists on the recording medium when it is determined in the mounting confirmation process that the recording medium is mounted; a second update process for starting a second write process for reading the second update data from the recording medium and writing the second update data into the non-volatile memory in response to an instruction from the user when the second update data exists; Run the command, an application program that does not allow the mounting confirmation process to be executed when either the first writing process or the second writing process is being executed;

6. 6. The application program according to claim 5, wherein the first write process is a process using a streaming update, and the second write process is a process using a non-streaming update.

7. The application program according to claim 5 or 6, wherein the recording medium is a UMS device attached to the payment terminal.

8. 7. The application program according to claim 5, wherein a screen transition of a screen displayed on the display means when the first confirmation process, the first update process, and the first write process are executed is common to a screen transition of a screen displayed on the display means when the second confirmation process, the second update process, and the second write process are executed.

Citation Information

Patent Citations

  • Firmware updating method, security equipment and computer readable storage medium

    CN112035146A

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

    US20190278583A1