Information processing system, information processing apparatus, second information processing apparatus, and storage medium
By creating data distribution files in the cloud server and only synchronizing the data of the store as the update object, the problem of increased load and business interruption during the synchronization of data updates in the cloud database is solved, and efficient data synchronization and business continuity of edge servers is achieved.
Patent Information
- Application Number
- CN202380058010.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-12-22
- Filing Date
- 2023-05-15
- Publication Date
- 2025-03-18
AI Technical Summary
In the client-server POS system configured with cloud database, due to communication failure and other reasons, the edge server on the store side cannot synchronize the update data of the cloud database, resulting in increased load and business interruption.
An information processing system is designed to reduce the load on database and network resources by creating data distribution files in a cloud server and synchronizing only the data of the store that is an update object.
The edge server synchronizes only the update data of objects, reduces processing load, and avoids the increase in the database load of cloud servers, ensuring business continuity.
Smart Images

Figure CN119654627A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to an information processing system, an information processing device, a second information processing device, and a storage medium. Background Art
[0002] In recent years, client-server POS (Point of Sales) systems have become increasingly popular, in which the processing functions and databases of transaction processing are configured in the cloud, and the cash register function in the cloud is called from a terminal such as a tablet to perform cash register business in the store. In such a system, if the cloud cannot be connected due to a communication failure, etc., cash register business may not be able to be performed. As a countermeasure in this case, it is considered to configure a server such as an edge server with the same processing functions and database as the cloud on the store side, and switch the terminal's connection destination to the server in the store, so as to achieve business continuity.
[0003] However, when configuring a server in the store that can perform the same processing as the cloud, it is necessary to synchronize the database data between the cloud and the edge server. The cloud database centrally manages the data of the corresponding store's product master file, and each store only needs to synchronize the data corresponding to each store. In addition, since the number of stores connected to the cloud is more than hundreds of stores, the update request access of hundreds of stores is concentrated on the cloud database every time the data is updated, which will increase the load.
[0004] Prior art literature
[0005] Patent document 1: Japanese Patent Publication No. 2022-76091 Summary of the invention
[0006] Therefore, there is a need for a technology that can lock a store that is an update target and synchronize the updated data in a database on the cloud, thereby reducing the load on the database and network resources.
[0007] In view of the above problems, the present invention aims to provide a technology capable of synchronizing only the update data that is the target. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 This is a block diagram illustrating an information processing system according to the embodiment.
[0009] Figure 2 This is a diagram illustrating the data structure of a product master file according to the embodiment.
[0010] Figure 3 This is a sequence diagram illustrating the steps of information processing by the information processing system involved in the embodiment.
[0011] Figure 4 This is a flowchart showing an example of the procedure of information processing by the cloud server involved in the embodiment.
[0012] Figure 5 This is a flowchart showing an example of the procedure of information processing by the storage server involved in the embodiment.
[0013] Figure 6 This is a flowchart showing an example of the procedure of information processing by the edge server involved in the embodiment. DETAILED DESCRIPTION
[0014] In one embodiment, an information processing system includes a first information processing device, a second information processing device, and a storage device. The first information processing device includes an acquisition unit, a file creation unit, and an output unit. The acquisition unit acquires updated data of each store from a database based on an update of a database that manages data of a plurality of stores. The file creation unit creates a data distribution file for each store based on the updated data of each store. The output unit outputs the data distribution file created by the file creation unit so as to store it in the storage device. The second information processing device includes an acquisition unit and a storage control unit. The acquisition unit acquires the data distribution file of the store associated with the second information processing device when the data distribution file of the store associated with the second information processing device is stored in the storage device. The storage control unit updates the database based on the data distribution file of the store associated with the second information processing device.
[0015] Hereinafter, embodiments will be described using the drawings.
[0016] The following is a description of the embodiments using the drawings. In each of the drawings, the same components are denoted by the same reference numerals as much as possible, and repeated descriptions are omitted.
[0017] Figure 1 2 is a block diagram illustrating an information processing system 100 according to an embodiment.
[0018] The information processing system 100 includes a cloud server 1, a storage server 2, an edge server 3, and a POS terminal 4. The cloud server 1, the storage server 2, and the edge server 3 are communicatively connected to each other via a network. For example, the network can be composed of one or more networks among various networks such as the Internet, a mobile communication network, and a LAN (Local Area Network). The one or more networks can include both wireless networks and wired networks. In addition, the information processing system 100 can refer to a system including at least two devices among the cloud server 1, the storage server 2, and the edge server 3.
[0019] The edge server 3 and the POS terminal 4 are connected to a network 5 such as a LAN (Local Area Network). The POS terminal 4 includes a wireless unit. The POS terminal 4 is connected to peripheral devices such as a scanner, a printer, and a drawer via the wireless unit. The POS terminal 4 can be, for example, a dedicated terminal or a tablet terminal, a smartphone, a PC (Personal Computer), etc. There can be multiple edge servers 3 and POS terminals 4 in one store.
[0020] The cloud server 1 is an electronic device that collects data and processes the collected data. The electronic device includes a computer. The cloud server 1 is communicatively connected to the storage server 2 and the edge server 3 via a network. The edge server 3 can be used by, for example, a clerk in a store of a commercial facility or the like. The cloud server 1 receives various data from the storage server 2 and the edge server 3, and outputs various data to the storage server 2 and the edge server 3. An example of the configuration of the cloud server 1 will be described later. The cloud server 1 is an example of an information processing device. The cloud server 1 is an example of a first information processing device. The clerk can be understood as a user or an individual.
[0021] The storage server 2 is an electronic device that collects data and processes the collected data. The electronic device includes a computer. The storage server 2 is communicatively connected to the cloud server 1 and the edge server 3 via a network. The storage server 2 receives various data from the storage server 2 and the edge server 3, and outputs various data to the storage server 2 and the edge server 3. An example of the configuration of the storage server 2 will be described later. The storage server 2 is an example of an information processing device.
[0022] The edge server 3 is an electronic device that collects data and processes the collected data. The electronic device includes a computer. The edge server 3 is communicatively connected to the cloud server 1 and the storage server 2 via a network. The edge server 3 receives various data from the cloud server 1 and the storage server 2, and outputs various data to the cloud server 1 and the storage server 2. An example of the configuration of the edge server 3 will be described later. The edge server 3 is an example of an information processing device. The edge server 3 is an example of a second information processing device. An application with a cash register function is installed in the edge server 3, and the POS terminal 4 can use a GUI (Graphical User Interface) application to cooperate with the edge server 3 to perform cash register business.
[0023] A configuration example of the cloud server 1 will be described.
[0024] The cloud server 1 is an electronic device including a processor 11, a main memory 12, an auxiliary storage device 13, and a communication interface 14. The components constituting the cloud server 1 are connected to each other so that signals can be input and output to each other. Figure 1 In the example, the interface is recorded as "I / F".
[0025] The processor 11 is equivalent to the central part of the cloud server 1. The processor 11 is an element of the computer constituting the cloud server 1. The processor 11 is, for example, a processing circuit such as a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), an Application Specific Integrated Circuit (ASIC), or a programmable logic device (for example, a Simple Programmable Logic Device (SPLD), a Complex Programmable Logic Device (CPLD), or a Field Programmable Gate Array (FPGA)). The processor 11 is not limited to being configured as a single processing circuit, but can be configured as a processor 11 by combining multiple processing circuits. The processor 11 can be composed of various circuits. The processor 11 loads a program pre-stored in the main memory 12 or the auxiliary storage device 13 into the main memory 12. The program is a program that enables the processor 11 of the cloud server 1 to implement or execute the various parts described below. The processor 11 performs various actions by executing the program loaded in the main memory 12.
[0026] The main memory 12 is equivalent to the main storage part of the cloud server 1. The main memory 12 is a component of the computer of the cloud server 1. The main memory 12 includes a non-volatile storage area and a volatile storage area. The main memory 12 stores an operating system or a program in the non-volatile storage area. The main memory 12 uses the volatile storage area as a work area where data can be appropriately rewritten by the processor 11. For example, the main memory 12 includes a ROM (Read Only Memory) as a non-volatile storage area. For example, the main memory 12 includes a RAM (Random Access Memory) as a volatile storage area. The main memory 12 stores programs.
[0027] The auxiliary storage device 13 is equivalent to the auxiliary storage part of the cloud server 1. The auxiliary storage device 13 is an element of the computer constituting the cloud server 1. The auxiliary storage device 13 is an EEPROM (registered trademark) (Electric Erasable Programmable Read-Only Memory), HDD (Hard Disc Drive) or SSD (Solid State Drive) and the like. The auxiliary storage device 13 stores the data used by the above-mentioned programs and the processor 11 to perform various processes and the data generated in the processing of the processor 11. The auxiliary storage device 13 stores the above-mentioned programs. The auxiliary storage device 13 is an example of a storage unit.
[0028] The auxiliary storage device 13 includes a commodity master file storage area. The commodity master file storage area stores commodity master files of multiple stores. The commodity master file storage area manages commodity master files of multiple stores. The commodity master file is a collection of commodity records. The commodity record includes an enterprise code, a store code, a terminal code, and commodity information, etc. The enterprise code is a unique identification information assigned to each type of enterprise in order to classify the enterprise. The types of enterprises include, for example, restaurants, clothing stores, supermarkets, etc. The store code is a unique identification information assigned to each store in order to identify each store separately. The terminal code is a unique identification information assigned to each edge server 3 in order to identify each edge server 3 separately. The commodity information includes various data related to the commodity created for each commodity sold in each store. The commodity information includes commodity identification information, the amount of the commodity, etc. The commodity identification information is a unique identification information assigned to each commodity in order to identify each commodity separately. The commodity master file can be updated every time the commodity information of each store is updated. The commodity master file can include a timestamp indicating the date and time of updating the commodity information, etc. The commodity master file is an example of a database.
[0029] The auxiliary storage device 13 includes a promotion information storage area. The promotion information storage area stores promotion information of multiple stores. The promotion information includes special sale information of commodities, etc. The promotion information may be updated every time the special sale information of commodities, etc. is updated. The promotion information may include a timestamp indicating the date and time when the special sale information, etc. is updated. The promotion information of multiple stores is an example of data of multiple stores.
[0030] The auxiliary storage device 13 includes a peripheral device information storage area. The peripheral device information storage area stores peripheral device information. The peripheral device information is information about peripheral devices connected to each POS terminal 4 of multiple stores. Peripheral devices include, for example, scanners, printers, drawers, etc. The peripheral device information includes information related to connection settings. The peripheral device can be connected to the information processing terminal via a network. The network includes, for example, LAN (Local Area Network), Bluetooth (registered trademark), Wi-Fi (registered trademark), etc. The peripheral device information can be updated each time the peripheral device information is updated. The peripheral device information may include a timestamp indicating the date and time of updating the peripheral device information. The peripheral device information of multiple stores is an example of data of multiple stores.
[0031] The communication interface 14 includes various interfaces for communicably connecting the cloud server 1 to other electronic devices via a network according to a prescribed communication protocol.
[0032] The hardware configuration of the cloud server 1 is not limited to the above configuration. The cloud server 1 can appropriately omit or change the above configuration elements, and can add new configuration elements.
[0033] Each unit implemented in the above-mentioned processor 11 will be described.
[0034] The processor 11 implements an update determination unit 110, an acquisition unit 111, a file creation unit 112, and an output unit 113. Each unit implemented in the processor 11 may also be referred to as a function. Each unit implemented in the processor 11 may be implemented by a control unit including the processor 11 and the main memory 12.
[0035] The update determination unit 110 determines whether the product master file stored in the product master file storage area has been updated. The update determination unit 110 can obtain an update event that notifies the update issued when the product master file update process is performed in the auxiliary storage device 13. The update determination unit 110 can determine whether the product master file has been updated based on the update event.
[0036] When the product master file is updated, the acquisition unit 111 acquires update data from the product master file storage area based on the update of the product master file. The update data includes the updated product record. The update data may be the product master file of each store including the updated product record. The acquisition unit 111 acquires the update data of each store. The acquisition unit 111 may acquire the update data each time the product master file is updated. The acquisition unit 111 may acquire the update data in response to an update event. The acquisition unit 111 may acquire the update data at a prescribed time interval. The update data includes data updated from the last time the update data was acquired to the current time the update data is acquired. The acquisition unit 111 may acquire all data updated from the last time the update data was acquired to the current time the update data is acquired, or may acquire only the latest data about each record. The update data may include a timestamp indicating the date and time when the data was updated.
[0037] The file creation unit 112 creates a data distribution file for each store based on the acquired update data. The file creation unit 112 identifies at least one of the enterprise, the store, and the edge server 3 according to the identification information included in the update data. The identification information includes an enterprise code, a store code, and a terminal code. The file creation unit 112 creates a data distribution file for each store based on the identification information. The data distribution file includes update data associated with each store distributed to each store. The data distribution file may include update data associated with each enterprise, each store, or each edge server. For example, the data distribution file associated with the edge server "aaa" of the store "111" configured in the enterprise "A" includes update data associated with the enterprise "A", the store "111", and the edge server "aaa". The file creation unit 112 can create a data distribution file for each store based on the identification information. The file creation unit 112 can create a data distribution file for each store as a data distribution file associated with the edge server 3. The file creation unit 112 can create a data distribution file for each edge server 3. The file creation section 112 may create a data distribution file for each edge server 3 as a data distribution file associated with the edge server 3 .
[0038] In one example, the file creation unit 112 creates a data distribution file each time the commodity master file is updated. In this case, the file creation unit 112 can create multiple data distribution files associated with each edge server 3. Multiple data distribution files are managed using, for example, a timestamp of the updated data. In another example, the file creation unit 112 updates the data distribution file each time the commodity master file is updated. In this case, the file creation unit 112 can overwrite the data distribution file associated with each edge server 3 at any time. The file creation unit 112 creates a data distribution file containing the latest commodity record.
[0039] In each store, the edge server 3 updates the data stored in the auxiliary storage device 33 based on the data distribution file. The data distribution file may include information indicating whether synchronization has been completed in the edge server 3. "Synchronization" includes updating the commodity master file stored in the auxiliary storage device of the edge server 3 based on the data distribution file. In the following description, "synchronization" includes updating, appending, deleting and changing. The data distribution file contains identification information such as an enterprise code, a store code, and a terminal code. The data distribution file may include identification information that can identify the data distribution files respectively.
[0040] The output unit 113 outputs the data distribution file created by the file creation unit 112 to the storage server 2 via the communication interface 14 so as to store it in the auxiliary storage device 23. The storage server 2 stores the data distribution file in the auxiliary storage device 23. The storage server 2 stores the data distribution file in the area assigned to each store. The storage server 2 may store the data distribution file in the area assigned to each edge server 3.
[0041] An example configuration of the storage server 2 will be described.
[0042] The storage server 2 is an electronic device including a processor 21, a main memory 22, an auxiliary storage device 23, and a communication interface 24. The components constituting the storage server 2 are connected to each other so that signals can be input and output. The storage server 2 is an example of a storage device. The auxiliary storage device 23 is an example of a storage unit.
[0043] The processor 21 is equivalent to the core part of the storage server 2. The processor 21 is an element of a computer constituting the storage server 2. The processor 21 has the same hardware structure as the above-mentioned processor 11. The processor 21 executes a program pre-stored in the main memory 22 or the auxiliary storage device 23 to perform various operations.
[0044] The main memory 22 corresponds to the main storage portion of the storage server 2. The main memory 22 is an element of a computer constituting the storage server 2. The main memory 22 has the same hardware configuration as the above-mentioned main memory 12. The main memory 22 stores programs.
[0045] The auxiliary storage device 23 corresponds to the auxiliary storage part of the storage server 2. The auxiliary storage device 23 is an element of a computer constituting the storage server 2. The auxiliary storage device 23 has the same hardware structure as the auxiliary storage device 13 described above. The auxiliary storage device 23 stores the above-mentioned program.
[0046] The auxiliary storage device 23 includes an area allocated to each enterprise. The area allocated to each enterprise includes an area allocated to at least one store included in each enterprise. It includes an area allocated to each edge server 3 of at least one edge server 3 included in each store. The area allocated to each edge server 3 may include, for example, a distribution file directory and a synchronization completion directory. The distribution file directory includes update data distributed to the corresponding edge server 3. The synchronization completion directory includes update data that has completed synchronization in the corresponding edge server 3. The synchronization completion directory is also referred to as the completion directory. For example, the auxiliary storage device 23 stores the data distribution file based on the identification information contained in the data distribution file. The auxiliary storage device 23 is an example of a storage device.
[0047] The communication interface 24 includes various interfaces that communicably connect the storage server 2 to other devices via a network according to a prescribed communication protocol. The storage server 2 can be connected to peripheral devices via the communication interface 24 .
[0048] The display device 25 is a device capable of displaying various images under the control of the processor 21. For example, the display device 25 is a liquid crystal display or an EL (Electroluminescence) display.
[0049] The hardware configuration of the storage server 2 is not limited to the configuration described above. In the storage server 2, the above-described components can be omitted or changed as appropriate, and new components can be added as appropriate.
[0050] Each unit implemented by the processor 21 will be described.
[0051] The processor 21 implements the file acquisition unit 210, the storage control unit 211, the instruction acquisition unit 212, and the output unit 213. Each unit implemented by the processor 21 can also be called a function. Each unit implemented by the processor 21 can also be said to be implemented by a control unit including the processor 21 and the main memory 22.
[0052] The file acquisition unit 210 acquires the data distribution file from the cloud server 1 via the communication interface 24 .
[0053] The storage control unit 211 causes the auxiliary storage device 23 to store the data distribution file. The storage control unit 211 stores the data distribution file in an area allocated to each enterprise, each store, and each edge server based on the identification information contained in the data distribution file. The storage control unit 211 updates the data distribution file based on the update instruction from the edge server 3. The update instruction includes a move instruction for moving the data distribution file from the distribution file directory to the synchronization completion directory. The update instruction includes a deletion instruction for deleting the data distribution file. The storage control unit 211 moves the data distribution file from the distribution file directory to the synchronization completion directory based on the move instruction. The storage control unit 211 can delete the data distribution file from the distribution file directory based on the deletion instruction from the edge server 3. The storage control unit 211 can delete the data distribution file from the auxiliary storage device 23 based on the deletion instruction from the edge server 3.
[0054] The instruction acquisition unit 212 acquires a request from the edge server 3 via the communication interface 24. For example, the request may be periodically output from the edge server 3. The request indicates a request regarding the presence or absence of a data distribution file in a designated area of the auxiliary storage device 23. The request includes at least one of a company code, a store code, and a terminal code of the edge server 3 corresponding to the edge server 3. The designated area includes, for example, an area allocated to the edge server 3. The designated area includes an area allocated to a store associated with the edge server 3. The instruction acquisition unit 212 determines the designated area based on at least one of a company code, a store code, and a terminal code of the edge server 3 included in the request. The instruction acquisition unit 212 determines whether or not there is a data distribution file in the designated area in response to the request.
[0055] The instruction acquisition unit 212 acquires instructions from the edge server 3 via the communication interface 24. The instructions include an output instruction for outputting the data distribution file to the edge server 3. The instructions include an update instruction for updating the data distribution file. The update instruction includes a move instruction for moving the data distribution file from the distribution file directory to the synchronization completion directory. The update instruction includes a deletion instruction for deleting the data distribution file.
[0056] The output unit 213 outputs a response to the request from the edge server 3 via the communication interface 24. The output unit 213 outputs a response related to whether there is a data distribution file in the specified area. The output unit 213 can output a response only when there is a data distribution file in the specified area. If there is no data distribution file in the specified area, the output unit 213 can output an empty response.
[0057] The output unit 213 outputs the data distribution file to the edge server 3 via the communication interface 24. The output unit 213 may output the data distribution file based on an output instruction from the edge server 3. The output unit 213 may output the data distribution file based on a request from the edge server 3. The output unit 213 may output all data distribution files associated with the edge server 3. The output unit 213 may output the latest data distribution file among the data distribution files associated with the edge server 3. The output unit 213 may output all data distribution files associated with a store associated with the edge server 3. The output unit 213 may output the latest data distribution file among the data distribution files associated with a store associated with the edge server 3.
[0058] An example configuration of the edge server 3 will be described.
[0059] The edge server 3 is an electronic device including a processor 31, a main memory 32, an auxiliary storage device 33, and a communication interface 34. The components constituting the edge server 3 are connected to each other so as to be able to input and output signals.
[0060] The processor 31 corresponds to the core part of the edge server 3. The processor 31 is a computer element constituting the edge server 3. The processor 31 has the same hardware structure as the above-mentioned processor 11. The processor 31 executes various operations by executing a program pre-stored in the main memory 32 or the auxiliary storage device 33.
[0061] The main memory 32 corresponds to the main storage part of the edge server 3. The main memory 32 is a computer element constituting the edge server 3. The main memory 32 has the same hardware structure as the above-mentioned main memory 12. The main memory 32 stores programs.
[0062] The auxiliary storage device 33 corresponds to the auxiliary storage part of the edge server 3. The auxiliary storage device 33 is an element of a computer constituting the edge server 3. The auxiliary storage device 33 has the same hardware structure as the auxiliary storage device 13 described above. The auxiliary storage device 33 stores the above-mentioned program.
[0063] The auxiliary storage device 33 includes a commodity master file storage area. The commodity master file storage area stores a commodity master file of a store associated with the edge server 3. The commodity master file is an example of a database.
[0064] The auxiliary storage device 33 includes a sales promotion information storage area. The sales promotion information storage area stores sales promotion information of a store associated with the edge server 3.
[0065] The auxiliary storage device 13 includes a peripheral device information storage area. The peripheral device information storage area stores peripheral device information. The peripheral device information is information about peripheral devices connected to each POS terminal 4 of a store associated with the edge server 3.
[0066] The communication interface 34 includes various interfaces that communicably connect the edge server 3 to other devices via a network according to a prescribed communication protocol. The edge server 3 can be connected to peripheral devices via the communication interface 34.
[0067] The hardware configuration of the edge server 3 is not limited to the above configuration. The above components may be omitted or changed as appropriate, and new components may be added to the edge server 3.
[0068] Each unit implemented in the processor 31 will be described below.
[0069] The processor 31 implements a request processing unit 310, a determination unit 311, an acquisition unit 312, a storage control unit 313, and an instruction output unit 314. Each unit implemented in the processor 31 can also be referred to as each function. Each unit implemented in the processor 31 can also be said to be implemented by a control unit including the processor 31 and the main memory 32.
[0070] The request processing unit 310 outputs a request regarding the presence or absence of a data distribution file to the storage server 2 via the communication interface 34. The request includes a request regarding the presence or absence of a data distribution file for a store associated with the edge server 3. The request includes a request regarding the presence or absence of a data distribution file associated with the edge server 3. The request processing unit 310 may output the request at a specified interval. The specified interval includes, for example, a time interval every five minutes. The request processing unit 310 obtains a response to the request from the storage server 2 via the communication interface 34. The response to the request includes a response "yes" indicating that a data distribution file exists. The response to the request includes a response "no" indicating that a data distribution file does not exist.
[0071] The determination unit 311 determines whether or not there is a data distribution file in the designated area based on a response from the storage server 2 to the request.
[0072] When the data distribution file of the store associated with the edge server 3 is stored in the storage server 2, the acquisition unit 312 acquires the data distribution file of the store associated with the edge server 3. The acquisition unit 312 acquires the data distribution file from the storage server 2 via the communication interface 34. The acquisition unit 312 can acquire all the data distribution files of the store associated with the edge server 3. The acquisition unit 312 can acquire all the data distribution files associated with the edge server 3. The acquisition unit 312 can acquire the latest data distribution file of the store associated with the edge server 3. The acquisition unit 312 can acquire the latest data distribution file associated with the edge server 3.
[0073] The storage control unit 313 updates the product master file stored in the auxiliary storage device 33 based on the data distribution file. The update includes deletion, addition, overwriting, modification, etc. of product records. The storage control unit 313 synchronizes the product master file with the product master file of the cloud server 1 based on the data distribution file.
[0074] The instruction output unit 314 outputs an output instruction of the data distribution file to the storage server 2 via the communication interface 34. The instruction output unit 314 outputs an update instruction of the data distribution file to the storage server 2 via the communication interface 34. The update instruction includes a move instruction to move the data distribution file from the distribution file directory to the synchronization completion directory. The update instruction includes a deletion instruction to delete the data distribution file from the distribution file directory. The update instruction includes a deletion instruction to delete the data distribution file from the auxiliary storage device 23.
[0075] Description will be made regarding an example of the structure of a commodity master file stored in the auxiliary storage device 13 of the cloud server 1 .
[0076] Figure 2 It is a diagram showing the data structure of the product master file involved in the embodiment.
[0077] The product master file includes one or more product records. The product record includes data that associates the company code, store code, terminal code, product information, etc.
[0078] For example, a record of enterprise code "A", store code "111", and terminal code "aaa" indicates that the identification information of the edge server 3 used in store "111" included in the enterprise classified as A is "aaa". This record includes commodity information associated with the edge server 3 with the terminal code "aaa". The commodity master file includes records of commodity master files associated with a plurality of enterprises and a plurality of stores.
[0079] When the product master file is updated, the update determination unit 110 of the cloud server 1 determines whether the product master file is updated based on the identification information associated with the updated record.
[0080] In addition, the commodity master file stored in the auxiliary storage device 33 of the edge server 3 has Figure 2 The commodity master file stored in the auxiliary storage device 33 includes the enterprise code, store code, terminal code and commodity information corresponding to the edge server 3.
[0081] Figure 3 This is a sequence diagram illustrating the steps of information processing performed by the information processing system according to the embodiment.
[0082] The request processing unit 310 of the edge server 3 outputs a request regarding the presence or absence of a data distribution file to the storage server 2 ( S21 ).
[0083] The instruction acquisition unit 212 of the storage server 2 acquires the request from the edge server 3 ( S11 ).
[0084] The output unit 213 of the storage server 2 outputs a response to the request from the edge server 3 (S12). Here, it is assumed that the data distribution file of the store associated with the edge server 3 is not stored in the storage server 2. In this case, the output unit 213 outputs a response "None" to the edge server 3.
[0085] The request processing unit 310 of the edge server 3 obtains a response “None” to the request from the storage server 2 ( S22 ).
[0086] The update determination unit 110 of the cloud server 1 determines whether the product master file stored in the product master file storage area has been updated (S1). Here, it is assumed that the update determination unit 110 determines that the product master file has been updated.
[0087] The acquisition unit 111 of the cloud server 1 acquires the update data from the product master file storage area based on the update of the product master file ( S2 ).
[0088] The file creation unit 112 of the cloud server 1 creates a data distribution file for each store based on the acquired update data ( S3 ).
[0089] The output section 113 of the cloud server 1 outputs the data distribution file generated by the file generation section 112 to the storage server 2 to store it in the auxiliary storage device 23 ( S4 ).
[0090] The file acquisition unit 210 of the storage server 2 acquires the data distribution file from the cloud server 1 ( S13 ).
[0091] The storage control unit 211 of the storage server 2 stores the data distribution file in the auxiliary storage device 23 (S14).
[0092] The request processing unit 310 of the edge server 3 outputs a request to the storage server 2 after a certain time has passed since the request regarding the presence or absence of the data distribution file was output (S23).
[0093] The instruction acquisition unit 212 of the storage server 2 acquires the request from the edge server 3 ( S15 ).
[0094] The output unit 213 of the storage server 2 outputs a response to the request from the edge server 3 (S16). Here, it is assumed that the data distribution file of the store associated with the edge server 3 is stored in the storage server 2. In this case, the output unit 213 outputs a response "yes" to the edge server 3.
[0095] The request processing unit 310 of the edge server 3 obtains a response “yes” to the request from the storage server 2 ( S24 ).
[0096] The instruction output unit 314 of the edge server 3 outputs an instruction to output the data distribution file to the storage server 2 ( S25 ).
[0097] The instruction acquisition unit 212 of the storage server 2 acquires an output instruction of the data distribution file from the edge server 3 ( S17 ).
[0098] The output unit 213 of the store server 2 outputs the data distribution file of the store associated with the edge server 3 to the edge server 3 ( S18 ).
[0099] The acquisition unit 312 of the edge server 3 acquires the data distribution file of the store associated with the edge server 3 ( S26 ).
[0100] The storage control unit 313 of the edge server 3 updates the commodity master file stored in the auxiliary storage device 33 based on the data distribution file (S27).
[0101] The instruction output unit 314 of the edge server 3 outputs an instruction to update the data distribution file to the storage server 2 ( S28 ).
[0102] The instruction acquisition unit 212 of the storage server 2 acquires an update instruction for updating the data distribution file from the edge server 3 ( S19 ).
[0103] The storage control unit 211 of the storage server 2 updates the data distribution file based on the update instruction from the edge server 3 ( S20 ).
[0104] Next, the steps of the processing by the information processing system 100 will be described.
[0105] In addition, in the following description based on the cloud server 1, the cloud server 1 can be understood as the processor 11. In the description based on the storage server 2, the storage server 2 can be understood as the processor 21. In the description based on the edge server 3, the edge server 3 can be understood as the processor 31.
[0106] In addition, the processing steps described below are only examples, and each process can be changed as much as possible. In addition, the processing steps described below can be appropriately omitted, replaced, and added according to the embodiment.
[0107] In the following description, it is assumed that in a store with enterprise code "A" and store code "111", edge server 3 with terminal code "aaa" synchronizes the commodity master file with cloud server 1. Cloud server 1 outputs the data distribution file to storage server 2. Edge server 3 obtains the data distribution file from storage server 2 and updates the commodity master file stored in auxiliary storage device 33.
[0108] The data distribution file creation process by the cloud server 1 is described.
[0109] Figure 4 This is a flowchart showing an example of the procedure of information processing performed by the cloud server 1 according to the embodiment.
[0110] The update determination unit 110 determines whether the product master file stored in the auxiliary storage device 13 is updated (ACT1). In ACT1, for example, the update determination unit 110 determines whether the product master file is updated based on the update event output based on the update of the auxiliary storage device 13. If the update determination unit 110 determines that the product master file is updated (ACT1: Yes), the processing transitions from ACT1 to ACT2. If the update determination unit 110 determines that the product master file is not updated (ACT1: No), the processing of ACT1 is repeated. The update of the product master file includes the update of the product record. The update of the product master file includes the update of at least one record in the product master files of multiple companies and multiple stores managed by the cloud server 1. In addition, the update determination unit 110 can periodically monitor the auxiliary storage device 13 and determine whether the product master file is updated.
[0111] The acquisition unit 111 acquires the updated data from the product master file storage area based on the update of the product master file (ACT 2). In ACT 2, for example, the acquisition unit 111 acquires the updated product record. The acquisition unit 111 may acquire the product master file of the store including the updated product record. In addition, the acquisition unit 111 may acquire the updated data every time the product master file is updated, or may acquire the updated data at a predetermined time interval. The acquisition unit 111 may acquire all the updated data, or may acquire only the latest data for each record.
[0112] The file creation unit 112 creates a data distribution file (ACT3) based on the acquired update data. In ACT3, for example, the file creation unit 112 creates a data distribution file for each enterprise, each store, or each edge server based on the identification information of the update data. For example, it is assumed that the commodity master file associated with the edge server 3 with the terminal code "aaa" has been updated. In this case, the file creation unit 112 creates a data distribution file associated with the edge server 3 with the terminal code "aaa". The data distribution file associated with the edge server 3 with the terminal code "aaa" is included in the data distribution file of the store with the store code "111". The file creation unit 112 can create a data distribution file associated with each store.
[0113] The output unit 113 outputs the data distribution file to the storage server 2 to be stored in the auxiliary storage device 23 (ACT 4). In ACT 4, for example, the output unit 113 outputs the data distribution file to the storage server 2. The storage server 2 saves the data distribution file in a corresponding area of the auxiliary storage device 23 based on the identification information.
[0114] The processing related to the data distribution file performed by the storage server 2 will be described.
[0115] Figure 5 This is a flowchart showing an example of the procedure of information processing performed by the storage server 2 according to the embodiment.
[0116] The file acquisition unit 210 acquires the data distribution file output from the cloud server 1 (ACT 11 ).
[0117] The storage control unit 211 stores the data distribution file in the auxiliary storage device 23 (ACT12). In ACT12, for example, the storage control unit 211 stores the data distribution file in the corresponding area based on the identification information of the data distribution file. For example, if the data distribution file has an enterprise code "A", a store code "111", and a terminal code "aaa", the storage control unit 211 saves the data distribution file in the area assigned to the edge server 3 with the enterprise code "A", the store code "111", and the terminal code "aaa". The storage control unit 211 stores the data distribution file in the auxiliary storage device 23 in association with each enterprise, each store, or each edge server.
[0118] The instruction acquisition unit 212 determines whether a request regarding the existence of a data distribution file is obtained from the edge server 3 (ACT 13). When the instruction acquisition unit 212 determines that a request is obtained (ACT 13: Yes), the process transitions from ACT 13 to ACT 14. When the instruction acquisition unit 212 determines that a request is not obtained (ACT 13: No), the process of ACT 13 is repeated.
[0119] The instruction acquisition unit 212 determines whether there is a store data distribution file associated with the edge server 3 (ACT 14). In ACT 14, for example, the instruction acquisition unit 212 determines whether there is a data distribution file in a designated area associated with the edge server 3 based on at least one of the enterprise code, the store code, and the terminal code of the edge server 3 included in the request. The designated area associated with the edge server 3 may be an area allocated to the edge server 3 or an area allocated to a store associated with the edge server 3.
[0120] The output unit 213 outputs a response to the request from the edge server 3 (ACT 15). In ACT 15, for example, the output unit 213 outputs a response regarding the presence or absence of a data distribution file of a store associated with the edge server 3. If the instruction acquisition unit 212 determines in ACT 14 that a data distribution file exists, the output unit 213 outputs a response "yes" indicating that the data distribution file exists. If the instruction acquisition unit 212 determines in ACT 14 that a data distribution file does not exist, the output unit 213 outputs a response "no" indicating that the data distribution file does not exist.
[0121] The instruction acquisition unit 212 determines whether an output instruction is obtained from the edge server 3 (ACT 16). The edge server 3 outputs an output instruction when the data distribution file exists in the designated area assigned to the store associated with the edge server 3 based on the response to the request output by the output unit 213. When the output instruction is obtained by the instruction acquisition unit 212 (ACT 16: Yes), the process transitions from ACT 16 to ACT 17. In the case where the output instruction is not obtained by the instruction acquisition unit 212 (ACT 16: No), the process of ACT 16 is repeated. In addition, if the request related to the presence or absence of the data distribution file from the edge server 3 includes an output instruction, the instruction acquisition unit 212 can determine that there is an output instruction based on the request. In this case, the process of ACT 16 can be omitted.
[0122] The output unit 213 outputs the data distribution file to the edge server 3 (ACT 17). In ACT 17, for example, the output unit 213 outputs the data distribution file associated with the edge server 3 to the edge server 3. The output unit 213 may output all the data distribution files associated with the edge server 3 to the edge server 3, or may output only the latest data distribution file associated with the edge server 3 to the edge server 3.
[0123] The instruction acquisition unit 212 determines whether an update instruction is acquired from the edge server 3 (ACT 18). If an update instruction is acquired by the instruction acquisition unit 212 (ACT 18: Yes), the process transitions from ACT 18 to ACT 19. If an update instruction is not acquired by the instruction acquisition unit 212 (ACT 18: No), the process of ACT 18 is repeated.
[0124] The storage control unit 211 updates the data distribution file based on the update instruction from the edge server 3 (ACT 19). In ACT 19, for example, when the storage control unit 211 obtains a move instruction from the edge server 3, the data distribution file associated with the edge server 3 is moved from the distribution file directory to the synchronization completion directory. When a deletion instruction is obtained from the edge server 3, the storage control unit 211 deletes the data distribution file associated with the edge server 3. The storage control unit 211 can delete the data distribution file associated with the edge server 3 from the distribution file directory, or delete the data distribution file associated with the edge server 3 from the auxiliary storage device 23. The data distribution file associated with the edge server 3 corresponds to the data distribution file output to the edge server 3. Based on this, the storage server 2 can determine whether there is a data distribution file that should be output to the edge server 3.
[0125] The process of synchronizing with the commodity master file in the edge server 3 will be described.
[0126] Figure 6 This is a flowchart showing an example of the procedure of information processing by the edge server 3 according to the embodiment.
[0127] The request processing unit 310 outputs a request regarding the presence or absence of a data distribution file to the storage server 2 (ACT 21). In ACT 21, for example, the request processing unit 310 outputs a request regarding the presence or absence of a data distribution file associated with the edge server 3 at predetermined intervals.
[0128] The determination unit 311 determines whether there is a data distribution file associated with the edge server 3 (ACT 22). In ACT 22, for example, the determination unit 311 obtains a response from the storage server 2 to the request output by the request processing unit 310. The determination unit 311 determines whether there is a data distribution file associated with the edge server 3 based on the response from the storage server 2. If the determination unit 311 determines that there is a data distribution file associated with the edge server 3 (ACT 22: Yes), the process transitions from ACT 22 to ACT 23. If the determination unit 311 determines that there is no data distribution file associated with the edge server 3 (ACT 22: No), the process of ACT 22 is repeated.
[0129] The acquisition unit 312 acquires the data distribution file associated with the edge server 3 from the storage server 2 (ACT 23). In ACT 23, for example, the acquisition unit 312 acquires the data distribution file of the area assigned to the edge server 3 with the terminal code "aaa" from the storage server 2. In one example, the acquisition unit 312 acquires all the data distribution files associated with the edge server 3. In another example, the acquisition unit 312 acquires the latest data distribution file associated with the edge server 3.
[0130] The storage control unit 313 updates the commodity master file stored in the auxiliary storage device 33 based on the acquired data distribution file (ACT 24). In ACT 24, for example, the storage control unit 313 causes the auxiliary storage device 33 to store the data distribution file. When a plurality of data distribution files are acquired by the acquisition unit 312, the storage control unit 313 stores the latest data distribution file in the auxiliary storage device 33 based on the time stamp or the like included in the data distribution file. When the latest data distribution file is acquired by the acquisition unit 312, the storage control unit 313 causes the auxiliary storage device 33 to store the acquired latest data distribution file. The case where the data distribution file is stored in the auxiliary storage device 33 includes deleting, adding, overwriting, and changing the commodity master file stored in the auxiliary storage device 33 based on the data distribution file.
[0131] The instruction output unit 314 outputs an update instruction of the data distribution file to the storage server 2 (ACT 25). In ACT 25, for example, the instruction output unit 314 outputs a move instruction of the data distribution file to the storage server 2. In this case, the storage server 2 moves the data distribution file from the distribution file directory to the synchronization completion directory. The instruction output unit 314 may output a delete instruction of the data distribution file to the storage server 2. In this case, the storage server 2 may delete the data distribution file from the distribution file directory. The storage server 2 may delete the data distribution file from the auxiliary storage device 23.
[0132] In the above example, the updating of the commodity master file is taken as an example, but the invention is not limited thereto. In addition to being applicable to the updating of the commodity master file, the above embodiment can also be applicable to the updating of the database of the promotion information or the peripheral device information.
[0133] (Effect)
[0134] The information processing system involved in the embodiment includes a cloud server 1 and an edge server 3, and the cloud server 1 obtains the updated data of each store from the database based on the update of the database that manages the data of multiple stores, and creates and outputs the data distribution file of each store based on the updated data of each store so that the data distribution file created by the file creation unit can be stored in the storage device. In the case where the data distribution file of the store associated with the edge server 3 is stored in the storage device, the edge server 3 obtains the data distribution file of the store associated with the edge server 3, and can update the database based on the data distribution file of the store associated with the edge server 3.
[0135] For example, when a database such as a product master file is updated, the cloud server 1 creates a data distribution file containing updated data for each store based on the updated data and outputs the data distribution file to a storage area of a storage device such as a storage server 2 for distributing the data distribution file to each store. The storage server 2 stores the data distribution file in a storage area assigned to each store. The edge server 3 obtains the data distribution file of the store associated with the edge server 3, and updates the database such as the product master file based on the obtained data distribution file.
[0136] Therefore, the cloud server 1 creates a data distribution file for each store and stores it in the storage server 2, so the edge server 3 only obtains the data distribution file of the store associated with the edge server 3 and synchronizes the product master file, etc. According to this, the information processing system can realize that the edge server 3 only synchronizes the updated data of the object. The edge server 3 can obtain only the object data and can reduce the processing load.
[0137] In addition, since the edge server 3 can obtain updated data without accessing the cloud server 1, access from edge servers of multiple stores will not be concentrated on the cloud server 1. As a result, the information processing system can synchronize the data on the cloud server with the edge server 3 without causing a load on the database of the cloud server 1.
[0138] In the information processing system according to the embodiment, the edge server 3 can output a request regarding the presence or absence of a data distribution file of a store associated with the edge server 3. Therefore, the edge server 3 can obtain the data distribution file based on the response to the request. Thus, the information processing system can reduce the burden of synchronization processing of update data based on the edge server 3.
[0139] In the information processing system involved in the embodiment, the edge server 3 can output an update instruction of the data distribution file. Therefore, the storage server 2 can update the data distribution file based on the update instruction. For example, the storage server 2 can move or delete the data distribution file between directories. Thus, the information processing system can prevent double synchronization of the edge server 3.
[0140] In the information processing system according to the embodiment, the cloud server 1 can create a data distribution file associated with the edge server 3 for each edge server. Therefore, the information processing system can reduce the data volume of the data distribution file stored in the storage server 2.
[0141] In the information processing system according to the embodiment, the cloud server 1 can create a data distribution file every time the database is updated. Therefore, the information processing system can simplify the creation process of the data distribution file based on the cloud server 1.
[0142] In the information processing system involved in the embodiment, the cloud server 1 can update the data distribution file every time the database is updated. Therefore, the cloud server 1 can create the data distribution file based on the latest updated data. Accordingly, the information processing system can reduce the amount of data in the data distribution file stored in the storage server 2.
[0143] In the information processing system according to the embodiment, the edge server 3 can obtain all the data distribution files related to the edge server 3. Therefore, the information processing system can simplify the acquisition process of the data distribution files of the edge server 3.
[0144] In the information processing system involved in the embodiment, the edge server 3 can obtain the latest data distribution file associated with the edge server 3. Therefore, the information processing system can reduce the amount of data in the data distribution file obtained by the edge server 3. In addition, the edge server 3 can synchronize the updated data based on the latest data distribution file. Therefore, the information processing system can simplify the synchronization process of the edge server 3.
[0145] In the information processing system according to the embodiment, the edge server 3 can output a request at a predetermined interval. The edge server 3 can determine whether there is a data distribution file based on the response to the request. Therefore, the information processing system can easily determine whether there is updated data.
[0146] In the information processing system involved in the embodiment, the edge server 3 can output an update instruction to move the data distribution file to the completion directory. In addition, the edge server 3 can output an update instruction to delete the data distribution file. Therefore, the storage server 2 can move or delete the data distribution file between directories based on the update instruction. As a result, the information processing system can prevent double synchronization based on the edge server 3.
[0147] The information processing system involved in the above embodiment can be described as follows:
[0148] (1) An information processing system comprising a first information processing device, a second information processing device and a storage device, wherein the first information processing device comprises: an acquisition unit for acquiring updated data of each store from a database that manages data of multiple stores based on an update of the database; a file creation unit for creating a data distribution file for each store based on the updated data of each store; and an output unit for outputting the data distribution file created by the file creation unit so that it is stored in the storage device, and the second information processing device comprises: an acquisition unit for acquiring the data distribution file of the store associated with the second information processing device when the data distribution file of the store associated with the second information processing device is stored in the storage device; and a storage control unit for updating the database based on the data distribution file of the store associated with the second information processing device.
[0149] (2) The information processing system according to (1), wherein the second information processing device further includes a request processing unit that outputs a request regarding the presence or absence of a data distribution file of a store associated with the second information processing device.
[0150] (3) The information processing system according to (1) or (2), further comprising: an instruction output unit that outputs an update instruction for the data distribution file.
[0151] (4) The information processing system according to any one of (1) to (3), wherein the file creation unit of the first information processing device creates a data distribution file associated with the second information processing device for each of the second information processing devices.
[0152] (5) The information processing system according to any one of (1) to (4), wherein the file creation section of the first information processing device creates the data distribution file every time a database is updated.
[0153] (6) The information processing system according to any one of (1) to (5), wherein the file creation section of the first information processing device updates the data distribution file every time a database is updated.
[0154] (7) The information processing system according to (4), wherein the acquisition unit of the second information processing device acquires all data distribution files associated with the second information processing device.
[0155] (8) The information processing system according to (4), wherein the acquisition unit of the second information processing device acquires a latest data distribution file associated with the second information processing device.
[0156] (9) The information processing system according to (2), wherein the request processing unit of the second information processing device outputs the request at predetermined intervals.
[0157] (10) The information processing system according to (3), wherein the instruction output unit of the second information processing device outputs an update instruction to move the data distribution file to a completion directory.
[0158] (11) The information processing system according to (3), wherein the instruction output unit of the second information processing device outputs an update instruction to delete the data distribution file.
[0159] The first information processing device involved in the above embodiment can be described as follows:
[0160] (1) A first information processing device, wherein an acquisition unit acquires update data of each store from a database that manages data of a plurality of stores based on an update of the database; a file creation unit creates a data distribution file for each store based on the update data of each store; and an output unit outputs the data distribution file created by the file creation unit so as to store it in a storage device;
[0161] (2) (2) According to the first information processing device described in (1), the file creation unit creates, for each second information processing device, a data distribution file associated with the second information processing device.
[0162] (3) The first information processing apparatus according to (1) or (2), wherein the file creation section creates the data distribution file every time a database is updated.
[0163] (4) The first information processing apparatus according to any one of (1) to (3), wherein the file creation section updates the data distribution file every time a database is updated.
[0164] (5) An information processing program product that enables a computer to execute the following functions: an acquisition function for acquiring updated data for each store from a database based on an update of a database that manages data of a plurality of stores; a file creation function for creating a data distribution file for each store based on the updated data of each store; and an output function for outputting the created data distribution file so that it can be stored in a storage device.
[0165] The second information processing device involved in the above embodiment can be described as follows:
[0166] (1) A second information processing device, comprising: an acquisition unit, which acquires the data distribution file of the store associated with the second information processing device if the data distribution file of the store associated with the second information processing device is stored in a storage device; and a storage control unit, which updates a database based on the data distribution file of the store associated with the second information processing device.
[0167] (2) The second information processing device according to (1), further comprising: a request processing unit that outputs a request regarding the presence or absence of a data distribution file of a store associated with the second information processing device.
[0168] (3) The second information processing device according to (1) or (2), further including: an instruction output unit that outputs an update instruction for the data distribution file.
[0169] (4) The second information processing device according to any one of (1) to (3), wherein the acquisition unit acquires all data distribution files associated with the second information processing device.
[0170] (5) The second information processing device according to any one of (1) to (4), wherein the acquisition unit acquires a latest data distribution file associated with the second information processing device.
[0171] (6) The second information processing device according to (2), wherein the request processing unit outputs the request at predetermined intervals.
[0172] (7) The second information processing device according to (3), wherein the instruction output unit outputs an update instruction to move the data distribution file to a completed directory.
[0173] (8) The second information processing device according to (3), wherein the instruction output unit outputs an update instruction to delete the data distribution file.
[0174] (9) An information processing program product that enables a computer to execute the following functions: an acquisition function for acquiring data distribution files of stores associated with a second information processing device when data distribution files of stores associated with the second information processing device are stored in a storage device; and a storage control function for updating a database based on the data distribution files of stores associated with the second information processing device.
[0175] (Other embodiments)
[0176] The first information processing device may be implemented by one device, such as the cloud server 1, or may be implemented by a plurality of devices in which functions are dispersed.
[0177] The second information processing device may be implemented by a single device, such as the edge server 3, or may be implemented by a plurality of devices with dispersed functions.
[0178] In the above-described embodiment, although an example in which the cloud server 1 and the storage server 2 are implemented as independent devices has been described, it is not limited thereto. The cloud server 1 and the storage server 2 may be implemented by one device having the functions of the processor 11 and the processor 21. In this case, one device includes different auxiliary storage devices having the functions of the auxiliary storage device 13 and the auxiliary storage device 23. In this example, the case in which the output section 113 outputs a data distribution file so as to store it in the auxiliary storage device 23 includes the case in which the output section 113 outputs a data distribution file temporarily stored in the main memory 12 to the auxiliary storage device 23.
[0179] The above-mentioned embodiment is also applicable to the case where the POS terminal 4 stores an application program for a cash register function.
[0180] The above-described embodiments can be applied not only to the device but also to the method executed by the device. The above-described embodiments can be applied to a program that can cause a computer of the device to execute each function.
[0181] The program can be transferred in a state stored in the device or in a state not stored in the device. In the latter case, the program can be transferred via a network or can be transferred in a state stored in a storage medium. The storage medium is a non-temporary tangible medium. The storage medium is a computer-readable medium. The storage medium can be a medium such as a CD-ROM or a memory card that can store programs and is computer-readable, and its form is not limited.
[0182] In addition, although several embodiments of the present invention have been described, these embodiments are presented only as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions and changes can be made without departing from the scope of the subject matter of the invention. These embodiments and their variations are included in the scope and subject matter of the invention, and are included in the invention described in the claims and their equivalents.
Claims
1. An information processing system, comprising a first information processing device, a second information processing device and a storage device, characterized in that: The first information processing device comprises: an acquisition unit that acquires updated data of each store from a database that manages data of a plurality of stores based on an update of the database; A file creation section that creates a data distribution file for each store based on the update data for each store; and an output unit that outputs the data distribution file created by the file creation unit so as to be stored in the storage device, The second information processing device includes: an acquisition unit that acquires the data distribution file of the store associated with the second information processing device when the data distribution file of the store associated with the second information processing device is stored in the storage device; and The storage control unit updates the database based on the data distribution file of the store associated with the second information processing device.
2. The information processing system according to claim 1, wherein: The second information processing device further includes: The request processing unit outputs a request regarding the presence or absence of a data distribution file of a store associated with the second information processing device.
3. The information processing system according to claim 2, wherein: The second information processing device further includes: The instruction output unit outputs an instruction to update the data distribution file.
4. The information processing system according to claim 1, wherein: The file creation unit of the first information processing device creates a data distribution file associated with the second information processing device for each of the second information processing devices.
5. The information processing system according to claim 4, wherein: The acquisition unit of the second information processing device acquires all data distribution files associated with the second information processing device.
6. The information processing system according to claim 4, wherein: The acquisition unit of the second information processing device acquires the latest data distribution file associated with the second information processing device.
7. The information processing system according to claim 3, wherein: The instruction output unit of the second information processing device outputs an update instruction to move the data distribution file to a completed directory.
8. The information processing system according to claim 3, wherein: The instruction output unit of the second information processing device outputs an update instruction to delete the data distribution file.
9. An information processing device, characterized in that: include: an acquisition unit that acquires updated data of each store from a database that manages data of a plurality of stores based on an update of the database; a file creation unit that creates a data distribution file for each store based on the update data for each store; as well as An output unit outputs the data distribution file created by the file creation unit so as to store it in a storage device.
10. A second information processing device, which constitutes an information processing system together with a first information processing device including an acquisition unit that acquires updated data of each store from a database that manages data of a plurality of stores based on an update of the database, a file creation unit that creates a data distribution file for each store based on the updated data of each store, and an output unit that outputs the data distribution file created by the file creation unit so as to be stored in a storage device, the second information processing device comprising: an acquisition unit that acquires the data distribution file of the store associated with the second information processing device when the storage device stores the data distribution file of the store associated with the second information processing device; as well as The storage control unit updates the database based on the data distribution file of the store associated with the second information processing device.
11. A storage medium storing an information processing program for causing a computer to perform the following functions: An acquisition function, based on an update of a database managing data of a plurality of stores, acquires updated data of each store from the database; A file creation function for creating a data distribution file for each store based on the updated data of each store; as well as An output function outputs the created data distribution file so as to store it in a storage device.
12. A storage medium storing an information processing program for causing a computer of a second information processing device constituting an information processing system together with a first information processing device including an acquisition unit for acquiring updated data of each store from a database managing data of a plurality of stores based on an update of the database, a file creation unit for creating a data distribution file for each store based on the updated data of each store, and an output unit for outputting the data distribution file created by the file creation unit so as to be stored in a storage device to execute the following functions: an acquisition function, when a data distribution file of a store associated with the second information processing device is stored in the storage device, acquiring the data distribution file of the store associated with the second information processing device; and The storage control function updates the database based on the data distribution file of the store associated with the second information processing device.
Citation Information
Patent Citations
POS system, processing method, and program
JP2022076091A