WO2023243750A1 - Electronic apparatus and database management method thereof - Google Patents

Electronic apparatus and database management method thereof Download PDF

Info

Publication number
WO2023243750A1
WO2023243750A1 PCT/KR2022/008607 KR2022008607W WO2023243750A1 WO 2023243750 A1 WO2023243750 A1 WO 2023243750A1 KR 2022008607 W KR2022008607 W KR 2022008607W WO 2023243750 A1 WO2023243750 A1 WO 2023243750A1
Authority
WO
WIPO (PCT)
Prior art keywords
order
data
database
shipment
electronic device
Prior art date
Application number
PCT/KR2022/008607
Other languages
French (fr)
Korean (ko)
Inventor
안상희
박성진
양아름
Original Assignee
쿠팡 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 쿠팡 주식회사 filed Critical 쿠팡 주식회사
Publication of WO2023243750A1 publication Critical patent/WO2023243750A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • G06Q10/0875Itemisation or classification of parts, supplies or services, e.g. bill of materials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions

Definitions

  • the present disclosure relates to an electronic device and a control method for identifying data that does not need to be used in real time among data stored in a database and effectively deleting or backing up the identified data in order to maintain the data size of the database.
  • data stored in a database can be broadly classified into cold data and hot data depending on the frequency of use or storage period.
  • cold data refers to old data that is used infrequently
  • hot data refers to data that is used frequently and needs to be accessed quickly.
  • the step of checking whether the first order is changed to the set state includes loading a message about the first order into a first list; Checking the status of all shipments corresponding to the first order based on the order in which the message about the first order is loaded in the first list; and maintaining or changing the status of the first order based on the status of all shipments corresponding to the first order.
  • the set state includes a completed state or a canceled state, and if all corresponding shipments are in the shipped state, the first order is changed to the completed state, and all corresponding shipments are in the completed state. When is in a canceled state, the first order is changed to the canceled state.
  • a database management method may be provided.
  • a database management method may be provided in which a request to change the status of the shipment includes a request to change the shipment status of the shipment.
  • deleting data related to the at least one order from the first database includes: confirming a first batch corresponding to the at least one order; and if data related to all orders corresponding to the first batch have been deleted, deleting data related to the first batch from the first database, wherein the batch includes at least one shipment (A database management method that is a picking unit can be provided.
  • the data related to the first batch includes first batch data; One or more batch job data included in the first batch data; One or more grouped picking data included in each of the one or more batch job data; and one or more collection data included in each of the one or more grouped collection data.
  • the database management method includes obtaining a request to change the cancellation state for the second order from the second terminal; and deleting data related to the second order from the first database.
  • deleting data related to the first order from the first database includes: checking whether the data related to the first order needs to be backed up; And when it is confirmed that the data related to the first order is backed up, storing the data related to the first order in a second database and deleting it from the first database.
  • a database management method can be provided. .
  • backing up or deleting the setting data includes, when it is confirmed that the setting data is being backed up, storing the setting data in a third database and deleting it from the first database; and deleting the setting data from the third database after a set time.
  • the step of backing up or deleting the setting data includes deleting the setting data from the first database when it is confirmed that the setting data is being deleted. can be provided.
  • Another aspect of the present disclosure is a communication unit; Memory; And a control unit (controller), wherein the control unit obtains a status change request for the shipment (shipment) from the first terminal, checks the first order corresponding to the shipment in the first database, and , Check whether the first order is changed to the set state in response to a status change request for the first shipment, and when the order is changed to the set state, delete data related to the first order from the first database.
  • An electronic device configured to do so may be provided.
  • the control unit when checking whether the first order is changed to the set state, loads a message about the first order into the first list, and the message about the first order is stored in the first list.
  • the control unit checks the status of all shipments corresponding to the first order based on the order in which they are loaded in the list, and maintain the status of the first order based on the status of all shipments corresponding to the first order
  • an electronic device configured to change may be provided.
  • the set state includes a completed state or a canceled state, and if all corresponding shipments are in the shipped state, the first order is changed to the completed state, and all corresponding shipments are in the completed state.
  • the first order is changed to the canceled state, and an electronic device may be provided.
  • an electronic device may be provided in which a request to change the status of the shipment includes a request to change the shipment to a shipped state.
  • the control unit when deleting data related to the first order from the first database, loads a message related to the first order changed to the set state into the second list, and at a set time.
  • An electronic device configured to delete data related to at least one order included in a second list from the first database.
  • data related to the first order includes: first order data; one or more shipment data included in the first order data; and one or more item data included in each of the one or more shipment data.
  • the control unit when deleting data related to the at least one order from the first database, the control unit confirms the first batch corresponding to the at least one order, and configured to delete data associated with the first batch from the first database if all order-related data corresponding to the batch has been deleted, wherein the batch is a picking unit comprising at least one shipment.
  • Devices can be provided.
  • control unit determines whether the data related to the first order needs to be backed up, and the data related to the first order is If confirmed to be backed up, an electronic device configured to store data related to the first order in a second database and delete it from the first database.
  • the control unit when backing up or deleting the setting data, if it is confirmed that the setting data is being backed up, the control unit stores the setting data in a third database and deletes it from the first database, An electronic device configured to delete the setting data from the third database after a set time period may be provided.
  • control unit may provide an electronic device configured to delete the setting data from the first database when it is confirmed that the setting data is being deleted when backing up or deleting the setting data. You can.
  • Another aspect of the present disclosure may provide a computer-readable recording medium on which a program for implementing a method performed by an electronic device is recorded.
  • cold data and hot data are newly defined and the database is managed accordingly, thereby reducing the size of the database. can be reduced.
  • FIG. 1 shows a system according to one embodiment.
  • FIGS. 4A to 4C are diagrams illustrating a process in which an electronic device checks whether an order is changed to a set state in response to a status change request for a shipment, according to an embodiment.
  • FIG. 6 is a diagram illustrating a process by which an electronic device deletes order-related data from a database, according to an embodiment.
  • the “electronic device” or “terminal” referred to below may be implemented as a computer or portable terminal that can connect to a server or other terminal through a network.
  • the computer includes, for example, a laptop, desktop, laptop, etc. equipped with a web browser
  • the portable terminal is, for example, a wireless communication device that guarantees portability and mobility.
  • all types of communication-based terminals such as IMT (International Mobile Telecommunication), CDMA (Code Division Multiple Access), W-CDMA (W-Code Division Multiple Access), and LTE (Long Term Evolution), smartphones, tablet PCs, etc. It may include a handheld-based wireless communication device.
  • FIG. 1 shows a system according to one embodiment.
  • the electronic device 100 can manage the status of order-related data or setting data of the center management system and delete them from the database 160 based on each status. For example, the electronic device 100 may manage the status of the order based on the status of the shipment and delete data related to the order in the canceled or completed status from the database.
  • the worker terminal 120 is a terminal used by a worker, and the worker can use the worker terminal 120 to view and manage data stored in the database 160. For example, a worker can use the worker terminal 120 to change a shipment to a shipped state or change an order to a canceled state.
  • the user terminal 140 is a terminal used by each user, and the users can access services provided by the network 180 using their respective terminals.
  • the electronic device 100 may provide the user terminal 140 with an application for providing information related to ordering various items, and the user may purchase various items using the application installed on the user terminal 140. You can order.
  • the worker terminal 120, the user terminal 140, the database 160, and the electronic device 100 may communicate with each other within the network 180.
  • the network 180 includes a local area network (LAN), a wide area network (WAN), a value added network (VAN), a mobile radio communication network, a satellite communication network, and their respective networks. It is a comprehensive data communication network that includes a combination and allows each network constituent shown in FIG. 1 to communicate smoothly with each other, and may include wired Internet, wireless Internet, and mobile wireless communication network.
  • Wireless communications include, for example, wireless LAN (Wi-Fi), Bluetooth, Bluetooth low energy, ZigBee, WFD (Wi-Fi Direct), UWB (ultra wideband), and infrared communication (IrDA, infrared Data Association). ), NFC (Near Field Communication), etc., but are not limited thereto.
  • Figure 2 shows a data structure according to one embodiment.
  • the line connecting the data shown in FIG. 2 indicates that data connected by one end line may include one or more data connected by three end lines.
  • the order data 200 is data corresponding to the order of one or more items that the user wishes to purchase through the user terminal, such as data for identifying the order, data on the characteristics of the order, or the user who requested the order. It may include data about, etc.
  • the order data 200 may include data related to the delivery of an order, data related to the packing of an order, or data regarding the status of an order.
  • the shipment data 210 is data corresponding to a shipment, which is a unit for delivering one or more items, and is data for identifying the shipment or data related to the items included in the shipment. It may include etc.
  • a shipment data may be generated to efficiently pick the multiple items at the distribution center, and the multiple items may be picked and packed based on one or more shipment data. there is.
  • the shipment data 210 may include data about the SKU (Stock Keeping Unit) of the item ordered by the customer.
  • SKU Stock Keeping Unit
  • the SKU for the item is picked and picked. Procedures for packaging SKUs may be required. Additionally, packaging can be performed after selectively redistributing the picked SKUs.
  • the shipment data 210 is managed based on the orders entered into the center, and processed at once to effectively collect, redistribute, and package based on the corresponding shipment data 210. To derive a set of shipments, it is necessary to continuously search the shipment data 210 assigned to the center. Therefore, in order to effectively perform such a search, the database storing the shipment data 210 that needs to be processed must be accessible quickly, and for this, there is a need to prevent the database size from becoming larger than necessary.
  • the item data 220 is data corresponding to one or more items that the user wishes to purchase through the user terminal, such as data for identifying the item, data on the characteristics of the item, or data on the selection of the item. It may include etc.
  • the item data 220 may include data about the quantity of the item ordered by the user, data about the inventory quantity of the item in the distribution center, or data about the SKU, which is an item storage unit in which the item is stored. there is.
  • batch data 230 is data corresponding to a batch, which is a unit for a picker to collectively collect items from a distribution center, data for identifying the batch, and items included in the batch. It may include data about, data about the picker assigned to the batch, or data about the tote set for use by the picker assigned to the batch.
  • the picker may perform a picking task by storing a plurality of items included in the first batch in at least one tote.
  • the tote set is a set of totes containing one or more items managed in one arrangement, and may include a single tote or a plurality of totes, depending on the characteristics of the items included in the arrangement.
  • the batch job data 240 is work data for each of one or more totes corresponding to the batch, including data for identifying the batch job, status data of the tote, destination data of the tote, and task of the tote. It may include location data or tote's next action data, etc.
  • the picking data 260 is data about the picking of items in a distribution center, including location data of the items in the distribution center and information about the worker (i.e., picker) who performs the picking. It may include data or data about the picking schedule (picking order). At this time, picking may refer to the process of confirming an order related to the purchase of a specific item from the orderer, then searching and searching for the item within the distribution center and preparing for delivery of the item.
  • the grouped picking data 250 is data that groups the picking data 260 in consideration of the characteristics, loading location, or inventory quantity of the picked item, and may include one or more picking data 260. You can.
  • 3A and 3B are diagrams for explaining a process in which an electronic device manages a database according to an embodiment.
  • the first database 310 is a structure in which various data, such as order-related data or setting data of a center management system, is stored, and may include a relational database (RDB).
  • RDB relational database
  • the second database 320 is a database that exists separately from the first database 310, and may include S3, MOS, Elastic search, or Cassandra depending on its purpose, but is not limited thereto. According to one embodiment, data that needs to be backed up among data deleted from the first database 310 may be stored in the second database 320.
  • the terminal 330 represents an electronic device that exists outside the electronic device 100 and may include the worker terminal 120 or the user terminal 140 of FIG. 1 .
  • the electronic device 100 may obtain order data from the terminal 330.
  • a user may order one or more items using the terminal 330, and the terminal 330 may transmit order data entered by the user to the electronic device 100.
  • step S345 the electronic device 100 may store order data obtained from the terminal 330 in the first database 310.
  • the electronic device 100 may obtain a status change request for the shipment from the terminal 330.
  • the status of the shipment may include a waiting state, a shipping state, and a cancellation state.
  • the shipping status of the shipment indicates that the items included in the corresponding shipment have been packaged and delivered outside the distribution center
  • the waiting status of the shipment indicates that the items included in the corresponding shipment have been shipped outside the distribution center. It indicates that it is before delivery
  • the cancellation status of the shipment may indicate that delivery of the items included in the shipment has been cancelled.
  • step S355 the electronic device 100 can confirm the order corresponding to the shipment.
  • the electronic device 100 may check the order corresponding to the shipment for which the terminal 330 has requested a status change.
  • the electronic device 100 may load a message about an order corresponding to a shipment requesting a status change into a first list (status change queue).
  • the electronic device 100 may load a message about an order into the first list based on a distributed messaging system based on a publish-subscribe model. For example, whenever the electronic device 100 obtains a request to change the status of a shipment, a Kafka message containing data about the order corresponding to the shipment is issued and sent to the broker of the Kafka system. It can be loaded into the first list corresponding to .
  • the electronic device 100 may load order data corresponding to a shipment requesting a status change into the first list. For example, the electronic device 100 may move order data corresponding to a shipment requesting a status change within the first database 310 to the first list.
  • the waiting state of an order may indicate that all shipments corresponding to the order are in a waiting state
  • the in-process state of an order may indicate that one or more shipments corresponding to the order are in a shipping state.
  • the completion status of an order may indicate that all shipments corresponding to the order are in a shipped state
  • the cancellation status of an order may indicate that all shipments corresponding to the order are in a canceled state.
  • the electronic device 100 may maintain or change the status of an order based on the status of all shipments corresponding to the order. For example, if all shipments corresponding to an order are in a shipped state, the electronic device 100 may change the order to a completed state. Alternatively, if all shipments corresponding to an order are in a canceled state, the electronic device 100 may change the order to a canceled state. If some of the shipments corresponding to the order are in a shipped state, the electronic device 100 may maintain the corresponding order in an in-progress state. However, this is only an example, and the order status may be changed by another external device other than the electronic device 100.
  • the electronic device 100 may load a message regarding an order that has been changed to the set state into the second list.
  • the electronic device 100 may load a message about an order into a second list (cold data list) based on a distributed messaging system based on a publish-subscribe model. For example, whenever an order in the completed or canceled state is confirmed, a Kafka message containing data about the order may be issued and loaded into a second list corresponding to a broker in the Kafka system.
  • step S380 if it is confirmed that order-related data needs to be backed up, the electronic device 100 may store the order-related data in the second database 320.
  • the data stored in the second database 320 can be searched using various data, such as a waybill ID that corresponds one-to-one to the shipment, as a key value. For example, if a worker wants to check the work history for a specific shipment, if he/she wants to check data after the order has been shipped, or if exception processing is required for an order that has been shipped, the worker must check the shipment identification data or Data stored in the second database 320 can be confirmed based on the waybill identification data.
  • the electronic device 100 may check whether data related to the arrangement can be deleted each time an order loaded on the second list is checked. For example, the electronic device 100 checks the batch corresponding to at least one order included in the second list every time it checks an order loaded in the second list, and collects data related to all orders corresponding to the confirmed batch. If is deleted, data related to the placement may be deleted from the first database 310. At this time, the data related to the batch includes one or more batch job data included in the batch data, one or more grouped picking data included in each of the one or more batch job data, and one or more picking data included in each of the one or more grouped picking data. It can be included.
  • the electronic device 100 when the electronic device 100 obtains a state change request for the first shipment, the electronic device 100 changes the state of the first shipment and changes the state of the first shipment to the first shipment.
  • the order-related message 450 can be loaded into the first list 440. Thereafter, the electronic device 100 may check the status of all shipments corresponding to the first order based on the order in which the message 450 regarding the first order was loaded in the first list 440.
  • the electronic device 100 when shipping of the first shipment is completed and the electronic device 100 obtains a request to change the first shipment from the standby state to the shipping state, the electronic device 100 changes the first shipment to the shipping state.
  • the status can be changed to shipped, and the message 450 regarding the first order corresponding to the first shipment can be loaded into the first list 440.
  • the electronic device 100 checks the status of all ships (first shipment, second shipment, and third shipment) corresponding to the first order, and determines that the first shipment is in the factory state and the second shipment is in the factory state. It can be confirmed that the ment and the 3rd shipment are in a standby state. Accordingly, the electronic device 100 may change the first order from the waiting state to the in-progress state.
  • the electronic device 100 may simultaneously obtain a request to change the second shipment from the standby state to the shipping state and a request to change the third shipment from the standby state to the shipping state.
  • the electronic device 100 may first perform the process of changing the status of the third shipment, loading a list of messages about the corresponding order, and checking the status of the order. . That is, the electronic device 100 may change the status of the third shipment to the shipped state and load the message 460 regarding the first order corresponding to the third shipment into the first list 440. Thereafter, the electronic device 100 may check the status of all shipments corresponding to the first order based on the order in which the message 460 regarding the first order was loaded in the first list 440.
  • the electronic device 100 can confirm that the first and third shipments are in the shipping state and the second shipment is in the standby state. Accordingly, the electronic device 100 may maintain the first order in an in-progress state.
  • the electronic device 100 first performs the process of changing the status of the shipment, loading the list of messages related to the corresponding order, and checking the status of the order with respect to the third shipment, and then performs the same process with respect to the second shipment. You can. That is, the electronic device 100 may change the status of the second shipment to the shipped state and load the message 470 regarding the first order corresponding to the second shipment into the first list 440. Thereafter, the electronic device 100 may check the status of all shipments corresponding to the first order based on the order in which the message 470 regarding the first order was loaded in the first list 440. At this time, since the status of the third shipment has been changed to the factory state, the electronic device 100 can confirm that the first shipment, the second shipment, and the third shipment are all in the factory state. Accordingly, the electronic device 100 may change the first order from the in-progress state to the completed state.
  • the electronic device 100 simultaneously obtains a status change request for the second shipment and a status change request for the third shipment, the status change of the shipment and the corresponding order are requested for each shipment.
  • the problem of concurrency can be solved by sequentially performing the process of loading the list of related messages and checking the status of the order. In other words, even if the shipment of shipments occurs at the same time, the reliability of confirmation of shipment of all shipments included in the order can be improved by maintaining or changing the status of the order based on the order in which they are loaded on the list.
  • Figures 4b and 4c show that the order-related message includes only data about the status of the order, but data about the progress of the order status may also be included.
  • the electronic device 100 may change the order from the waiting state to the in-progress state and store 1/3 or 33.3% as a progress value.
  • the electronic device 100 obtains a status change request for the third shipment, it can store 2/3 or 66.7% as a progress value while maintaining the order in the in-progress state.
  • the electronic device 100 obtains a status change request for the second shipment, it may change the order from the in-process state to the completed state and store 1 or 100% as a progress value.
  • the electronic device 100 may change or maintain the status of the order based on the status and progress value of the existing order.
  • FIGS. 5A and 5B are diagrams illustrating a process in which an electronic device checks whether an order is changed to a set state in response to a status change request for a shipment, according to an embodiment.
  • Figure 5a shows an example of order data and shipment data included in the order data.
  • the first order data 500 may include first shipment data 510, second shipment data 520, and third shipment data 530. This may mean that a plurality of items included in the first order are divided into three shipments 510, 520, and 530 and delivered. Meanwhile, the first order data 500 represents data corresponding to the first order, and the first shipment data 510, the second shipment data 520, and the third shipment data 530 each represent the first order. Indicates data corresponding to a shipment, a second shipment, and a third shipment.
  • the electronic device 100 may obtain an order status change request or a shipment status change request.
  • the electronic device 100 may obtain a request to change all ships (first shipment, second shipment, and third shipment) corresponding to the first order from the waiting state to the canceled state. .
  • the electronic device 100 may change the status of the first shipment, the second shipment, and the third shipment to the canceled state, and load the message 550 regarding the first order into the first list 540.
  • the electronic device 100 may check the status of all shipments corresponding to the first order and confirm that the first shipment, the second shipment, and the third shipment are in a canceled state. Accordingly, the electronic device 100 may change the first order from the waiting state to the canceled state.
  • the electronic device 100 may obtain a request to change the status of the first order from the waiting state to the canceled state. At this time, the electronic device 100 may directly load the message regarding the first order into the second list (cold data list) instead of loading it into the first list 540.
  • the electronic device 100 may obtain a request to change the shipment corresponding to some items from the waiting state to the canceled state. For example, the electronic device 100 may obtain a request to change the first shipment from the standby state to the cancel state. The electronic device 100 may change the first shipment to a canceled state and load a message 550 regarding the first order corresponding to the first shipment into the first list 540. Afterwards, the electronic device 100 checks the status of all ships (first shipment, second shipment, and third shipment) corresponding to the first order, and determines that the first shipment is in a canceled state and the second shipment is in a canceled state. It can be confirmed that the ment and the 3rd shipment are in a standby state. Accordingly, the electronic device 100 may change the first order from the waiting state to the in-progress state.
  • FIG. 6 is a diagram illustrating a process by which an electronic device deletes order-related data from a database, according to an embodiment.
  • the electronic device 100 may load a message about an order that has been changed to a completed state or a canceled state into the second list 600 or the cold data list. For example, the electronic device 100 may confirm that the fourth order has changed to the completed or canceled state and load the message 680 regarding the fourth order into the second list 600. Thereafter, the electronic device 100 confirms that the first order, second order, and third order have changed to the completed or canceled state, and sends a message 620 regarding the first order and a message 640 regarding the second order. And a message 660 regarding the third order may be loaded into the second list 600.
  • the electronic device 100 may delete data related to at least one order included in the second list 600 from the first database every set time. For example, the electronic device 100 may send a message 620 about the first order, a message 640 about the second order, and a message 660 about the third order loaded on the second list 600 at a set time. ) and the message 680 regarding the fourth order can be checked, and data related to the first to fourth orders can be deleted.
  • the data related to the order may include order data, one or more shipment data included in the order data, and one or more item data included in each of the one or more shipment data.
  • the electronic device 100 may check whether to back up data related to at least one order before deleting data related to at least one order included in the second list 600 at every set time. For example, the electronic device 100 may determine whether to back up data related to at least one order included in the second list 600 based on the operator's input or preset conditions, and determines whether to back up data related to at least one order included in the second list 600. Data related to the order may be stored in a second database.
  • FIG. 7 is a diagram illustrating a process in which an electronic device manages a database according to an embodiment. Content that overlaps with FIGS. 3A and 3B will be briefly described or omitted.
  • the electronic device 100 may obtain first setting data of the center management system from the terminal 730.
  • the warehouse management system is a system for managing tasks such as warehousing, stacking, storage, inventory allocation, picking, or shipping that occur at a fulfillment center (FC) through convenient and detailed functions. It can mean.
  • the setting data of the center management system refers to specific setting values for operating a logistics center, and includes data about the number of ships included in one batch or the location of a workbench for packaging items included in a specific batch. It can be included.
  • step S745 the electronic device 100 may store the first setting data of the center management system obtained from the terminal 730 in the first database 710.
  • the electronic device 100 may obtain a request to change the settings of the center management system from the terminal 730.
  • the worker when the worker wants to change the settings of the center management system, the worker can input newly set values (second setting data of the center management system) into the terminal 730, and the terminal 730 The received second setting data may be transmitted to the electronic device 100.
  • step S755 the electronic device 100 may store the second setting data of the center management system obtained from the terminal 730 in the first database 710.
  • step S760 the electronic device 100 may check whether backup of the first setting data is necessary.
  • the electronic device 100 stores unused setting data of the center management system in the second database 720 before deleting it from the first database 710 based on the operator's input or preset conditions. You can check whether to back up or not.
  • the worker when it is necessary to determine the creation history of a batch or when there is a setting that receives many inquiries in operating a logistics center, the worker requests the terminal 730 to back up related data to the second database 720. You can enter . Accordingly, the electronic device 100 can confirm that related data should be backed up to the second database 720 based on the operator's input. Alternatively, the electronic device 100 may check whether to back up order-related data based on preset conditions regarding various characteristics, such as the type of data or the period for which the data is stored in the first database 710.
  • step S765 if it is confirmed that the first setting data of the center management system needs to be backed up, the electronic device 100 may store the first setting data of the center management system in the second database 720.
  • step S770 the electronic device 100 may delete first setting data of the center management system that is no longer used from the first database 710.
  • step S800 the electronic device may obtain a status change request for the shipment from the first terminal.
  • the electronic device may obtain a request to change the shipment from the standby state to the shipped state from the first terminal.
  • the electronic device may obtain a request from the first terminal to change the status of the order or all shipments corresponding to the order from the waiting state to the canceled state.
  • the electronic device may obtain a request from the first terminal to change the shipment corresponding to some items from the waiting state to the canceled state.
  • step S820 the electronic device may check the first order corresponding to the shipment in the first database.
  • step S840 the electronic device may check whether the first order is changed to the set state in response to a status change request for the shipment.
  • the electronic device loads a message about a first order into a first list, and based on the order in which the message about the first order is loaded into the first list, all messages corresponding to the first order are stored. You can check the status of the shipment. Thereafter, the electronic device may maintain or change the status of the first order based on the status of all shipments corresponding to the first order.
  • the electronic device may change the first order from the in-progress state to the completed state.
  • the electronic device may change the first order from a progress state to a cancel state. If some of the shipments corresponding to the first order are in a shipped state, the electronic device may maintain the first order in an in-progress state.
  • the electronic device may load a message related to the first order that has been changed to a set state into a second list, and delete data related to at least one order included in the second list from the first database at each set time.
  • the electronic device may check at least one order included in the second list at a set time and delete data related to one order from the first database.
  • the data related to the order may include order data, one or more shipment data included in the order data, and one or more item data included in each of the one or more shipment data.
  • the electronic device checks at least one order included in the second list, it checks the first batch corresponding to the at least one order, and stores all orders corresponding to the first batch.
  • data related to the first batch may be deleted from the first deletion database. At this time, it may include one or more batch job data included in the batch data, one or more grouped picking data included in each of the one or more batch job data, and one or more picking data included in each of the one or more grouped picking data.
  • the electronic device before deleting data related to the first order from the first database, determines whether the data related to the first order needs to be backed up, and it is confirmed that the data related to the first order is backed up.
  • data related to the first order may be stored in the second database and deleted from the first database. For example, based on an operator's input or a preset condition, the electronic device may check whether to back up data related to an order in a completed or canceled state to a second database before deleting it from the first database.
  • the electronic device may store the setting data in a third database and delete it from the first database, and after a set time, the setting data may be deleted from the third database.
  • the electronic device may delete the setting data from the first database.
  • the electronic device includes a processor, memory for storing and executing program data, permanent storage such as a disk drive, a communication port for communicating with an external device, a touch panel, keys, buttons, etc. It may include the same user interface device, etc.
  • Methods implemented as software modules or algorithms may be stored on a computer-readable recording medium as computer-readable codes or program instructions executable on the processor.
  • computer-readable recording media include magnetic storage media (e.g., ROM (read-only memory), RAM (random-access memory), floppy disk, hard disk, etc.) and optical read media (e.g., CD-ROM). ), DVD (Digital Versatile Disc), etc.
  • the computer-readable recording medium is distributed among computer systems connected to a network, so that computer-readable code can be stored and executed in a distributed manner.
  • the media may be readable by a computer, stored in memory, and executed by a processor.
  • This embodiment can be represented by functional block configurations and various processing steps. These functional blocks may be implemented in various numbers of hardware or/and software configurations that execute specific functions. For example, embodiments include integrated circuit configurations such as memory, processing, logic, look-up tables, etc. that can execute various functions under the control of one or more microprocessors or other control devices. can be hired. Similar to how the components can be implemented as software programming or software elements, the present embodiments include various algorithms implemented as combinations of data structures, processes, routines or other programming constructs, such as C, C++, Java ( It can be implemented in a programming or scripting language such as Java), assembler, etc. Functional aspects may be implemented as algorithms running on one or more processors.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A database management method of an electronic apparatus is provided. The database management method may comprise the steps of: acquiring, from a first terminal, a status change request for a shipment; identifying, in a first database, a first order corresponding to the shipment; in response to the status change request for the shipment, identifying whether or not the first order is changed to a set status; and if the first order is changed to the set status, deleting, from the first database, data related to the first order.

Description

전자 장치 및 그의 데이터베이스 관리 방법Electronic device and its database management method
본 개시는 데이터베이스의 데이터 사이즈를 유지하기 위해, 데이터베이스에 저장되는 데이터 중 실시간으로 사용할 필요가 없는 데이터를 식별하고, 식별된 데이터를 효과적으로 삭제 또는 백업하기 위한 전자 장치 및 그 제어 방법에 관한 것이다.The present disclosure relates to an electronic device and a control method for identifying data that does not need to be used in real time among data stored in a database and effectively deleting or backing up the identified data in order to maintain the data size of the database.
소비자가 오프라인 주문이 아닌 온라인 주문을 이용하여 아이템을 구매하는 추세가 증가하고 있으며, 그에 따라 주문과 관련된 데이터 및 소비자가 주문한 아이템을 배송하기 위한 물류 센터의 운영에 관한 데이터 또한 증가하고 있다. 그러나, 데이터베이스에 저장될 수 있는 데이터의 용량은 한정되므로, 데이터베이스를 보다 효율적으로 관리하기 위한 필요성이 대두되고 있다.The trend of consumers purchasing items using online orders rather than offline orders is increasing, and accordingly, data related to orders and data on the operation of logistics centers to deliver items ordered by consumers are also increasing. However, since the capacity of data that can be stored in a database is limited, the need to manage the database more efficiently is emerging.
한편, 데이터베이스에 저장된 데이터는 그 사용 빈도 또는 저장 기간 등에 따라 크게 콜드 데이터와 핫 데이터로 분류될 수 있다. 일반적으로 콜드 데이터(cold data)는 사용 빈도가 낮은 오래된 데이터를 지칭하고, 핫 데이터(hot data)는 사용 빈도가 높아 빠르게 액세스할 필요성이 있는 데이터를 지칭한다.Meanwhile, data stored in a database can be broadly classified into cold data and hot data depending on the frequency of use or storage period. In general, cold data refers to old data that is used infrequently, and hot data refers to data that is used frequently and needs to be accessed quickly.
데이터베이스를 보다 효율적으로 관리하기 위해서는, 데이터베이스에 저장되는 데이터 중 실시간으로 사용할 필요가 없는 데이터를 식별하고, 식별된 데이터를 효과적으로 삭제 또는 백업하기 위한 기술이 필요하다. 보다 구체적으로, 데이터베이스의 많은 용량을 차지하는 주문과 관련된 데이터 또는 물류 센터의 운영에 관한 데이터에 관하여, 콜드 데이터 및 핫 데이터를 새롭게 정의하고 그에 따라 데이터베이스를 관리하기 위한 기술이 필요하다.In order to manage a database more efficiently, technology is needed to identify data stored in the database that does not need to be used in real time and effectively delete or back up the identified data. More specifically, regarding data related to orders or data related to the operation of a logistics center that occupy a large amount of database capacity, technology is needed to newly define cold data and hot data and manage the database accordingly.
관련하여, KR 10-2344661 B1 건 등의 선행문헌들을 참조할 수 있다.In relation to this, prior literature such as KR 10-2344661 B1 may be referred to.
개시된 실시 예들은 전자 장치 및 그의 데이터베이스 관리 방법을 제공하고자 한다. 보다 구체적으로는 데이터베이스의 데이터 사이즈를 유지하기 위해, 데이터베이스에 저장되는 데이터 중 실시간으로 사용할 필요가 없는 데이터를 식별하고, 식별된 데이터를 효과적으로 삭제 또는 백업하기 위한 전자 장치 및 그 제어 방법을 제공하는 것을 목적으로 한다.The disclosed embodiments seek to provide an electronic device and a method for managing its database. More specifically, in order to maintain the data size of the database, it identifies data that does not need to be used in real time among the data stored in the database, and provides an electronic device and a control method for effectively deleting or backing up the identified data. The purpose.
본 실시 예가 이루고자 하는 기술적 과제는 상기된 바와 같은 기술적 과제들로 한정되지 않으며, 이하의 실시 예들로부터 또 다른 기술적 과제들이 유추될 수 있다.The technical challenges that this embodiment aims to achieve are not limited to the technical challenges described above, and other technical challenges can be inferred from the following embodiments.
본 개시의 일 측면은 데이터베이스 관리 방법으로서, 제1 단말로부터 쉽먼트(shipment)에 대한 상태(status) 변경 요청을 획득하는 단계; 제1 데이터베이스에서 상기 쉽먼트에 대응하는 제1 주문을 확인하는 단계; 상기 쉽먼트에 대한 상태 변경 요청에 대응하여 상기 제1 주문이 설정된 상태로 변경되는지 확인하는 단계; 및 상기 제1 주문이 설정된 상태로 변경되면, 상기 제1 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계를 포함하는, 데이터베이스 관리 방법을 제공할 수 있다.One aspect of the present disclosure is a database management method, comprising: obtaining a status change request for a shipment from a first terminal; verifying a first order corresponding to the shipment in a first database; confirming whether the first order is changed to a set state in response to a status change request for the shipment; And when the first order is changed to the set state, a database management method can be provided, including the step of deleting data related to the first order from the first database.
또한, 본 개시의 일 실시 예에서 상기 제1 주문이 설정된 상태로 변경되는지 확인하는 단계는, 상기 제1 주문에 관한 메시지를 제1 리스트에 적재하는 단계; 상기 제1 주문에 관한 메시지가 상기 제1 리스트에 적재된 순서에 기초하여, 상기 제1 주문에 대응하는 모든 쉽먼트의 상태를 확인하는 단계; 및 상기 제1 주문에 대응하는 모든 쉽먼트의 상태에 기초하여, 상기 제1 주문의 상태를 유지 또는 변경하는 단계를 포함하는, 데이터베이스 관리 방법을 제공할 수 있다.In addition, in one embodiment of the present disclosure, the step of checking whether the first order is changed to the set state includes loading a message about the first order into a first list; Checking the status of all shipments corresponding to the first order based on the order in which the message about the first order is loaded in the first list; and maintaining or changing the status of the first order based on the status of all shipments corresponding to the first order.
또한, 본 개시의 일 실시 예에서 상기 설정된 상태는 완료 상태 또는 취소 상태를 포함하고, 대응하는 모든 쉽먼트가 출고 상태인 경우, 상기 제1 주문은 상기 완료 상태로 변경되고, 대응하는 모든 쉽먼트가 취소 상태인 경우, 상기 제1 주문은 상기 취소 상태로 변경되는, 데이터베이스 관리 방법을 제공할 수 있다.Additionally, in one embodiment of the present disclosure, the set state includes a completed state or a canceled state, and if all corresponding shipments are in the shipped state, the first order is changed to the completed state, and all corresponding shipments are in the completed state. When is in a canceled state, the first order is changed to the canceled state. A database management method may be provided.
또한, 본 개시의 일 실시 예에서 상기 쉽먼트에 대한 상태 변경 요청은, 상기 쉽먼트의 출고 상태로의 변경 요청을 포함하는, 데이터베이스 관리 방법을 제공할 수 있다.Additionally, in an embodiment of the present disclosure, a database management method may be provided in which a request to change the status of the shipment includes a request to change the shipment status of the shipment.
또한, 본 개시의 일 실시 예에서 상기 제1 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계는, 상기 설정된 상태로 변경된 제1 주문에 관한 메시지를 제2 리스트에 적재하는 단계; 및 설정된 시간마다 제2 리스트에 포함된 적어도 하나의 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계를 포함하는, 데이터베이스 관리 방법을 제공할 수 있다.In addition, in one embodiment of the present disclosure, deleting data related to the first order from the first database includes loading a message related to the first order changed to the set state into a second list; and deleting data related to at least one order included in the second list from the first database at a set time.
또한, 본 개시의 일 실시 예에서 상기 제1 주문과 관련된 데이터는, 제1 주문 데이터; 상기 제1 주문 데이터에 포함된 하나 이상의 쉽먼트 데이터; 및 상기 하나 이상의 쉽먼트 데이터 각각에 포함된 하나 이상의 아이템 데이터를 포함하는, 데이터베이스 관리 방법을 제공할 수 있다.Additionally, in one embodiment of the present disclosure, data related to the first order includes: first order data; one or more shipment data included in the first order data; and one or more item data included in each of the one or more shipment data.
또한, 본 개시의 일 실시 예에서 상기 적어도 하나의 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계는, 상기 적어도 하나의 주문에 대응하는 제1 배치(batch)를 확인하는 단계; 및 상기 제1 배치에 대응하는 모든 주문과 관련된 데이터가 삭제된 경우, 상기 제1 배치와 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계를 포함하고, 배치는 적어도 하나의 쉽먼트를 포함하는 집품(picking) 단위인, 데이터베이스 관리 방법을 제공할 수 있다.Additionally, in one embodiment of the present disclosure, deleting data related to the at least one order from the first database includes: confirming a first batch corresponding to the at least one order; and if data related to all orders corresponding to the first batch have been deleted, deleting data related to the first batch from the first database, wherein the batch includes at least one shipment ( A database management method that is a picking unit can be provided.
또한, 본 개시의 일 실시 예에서 상기 제1 배치와 관련된 데이터는, 제1 배치 데이터; 상기 제1 배치 데이터에 포함된 하나 이상의 배치 잡(batch job) 데이터; 상기 하나 이상의 배치 잡 데이터 각각에 포함된 하나 이상의 그룹화된 집품(picking) 데이터; 및 상기 하나 이상의 그룹화된 집품 데이터 각각에 포함된 하나 이상의 집품 데이터를 포함하는, 데이터베이스 관리 방법을 제공할 수 있다.Additionally, in one embodiment of the present disclosure, the data related to the first batch includes first batch data; One or more batch job data included in the first batch data; One or more grouped picking data included in each of the one or more batch job data; and one or more collection data included in each of the one or more grouped collection data.
또한, 본 개시의 일 실시 예에서 상기 데이터베이스 관리 방법은, 제2 단말로부터 제2 주문에 대한 취소 상태로의 변경 요청을 획득하는 단계; 및 상기 제2 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계를 더 포함하는, 데이터베이스 관리 방법을 제공할 수 있다.In addition, in one embodiment of the present disclosure, the database management method includes obtaining a request to change the cancellation state for the second order from the second terminal; and deleting data related to the second order from the first database.
또한, 본 개시의 일 실시 예에서 상기 제1 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계는, 상기 제1 주문과 관련된 데이터의 백업 필요 여부를 확인하는 단계; 및 상기 제1 주문과 관련된 데이터를 백업하는 것으로 확인된 경우, 상기 제1 주문과 관련된 데이터를 제2 데이터베이스에 저장하고 상기 제1 데이터베이스에서 삭제하는 단계를 포함하는, 데이터베이스 관리 방법을 제공할 수 있다.Additionally, in one embodiment of the present disclosure, deleting data related to the first order from the first database includes: checking whether the data related to the first order needs to be backed up; And when it is confirmed that the data related to the first order is backed up, storing the data related to the first order in a second database and deleting it from the first database. A database management method can be provided. .
또한, 본 개시의 일 실시 예에서 상기 데이터베이스 관리 방법은, 센터 관리 시스템에 대한 설정 변경 요청을 획득하는 단계; 상기 제1 데이터베이스에 저장된 센터 관리 시스템의 설정 데이터의 백업 여부를 확인하는 단계; 및 상기 확인 결과에 기초하여, 상기 설정 데이터를 백업 또는 삭제하는 단계를 더 포함하는, 데이터베이스 관리 방법을 제공할 수 있다.Additionally, in one embodiment of the present disclosure, the database management method includes obtaining a setting change request for a center management system; Checking whether the setting data of the center management system stored in the first database is backed up; And based on the confirmation result, a database management method may be provided, further comprising backing up or deleting the setting data.
또한, 본 개시의 일 실시 예에서 상기 설정 데이터를 백업 또는 삭제하는 단계는, 상기 설정 데이터를 백업하는 것으로 확인된 경우, 상기 설정 데이터를 제3 데이터베이스에 저장하고 상기 제1 데이터베이스에서 삭제하는 단계; 및 설정된 시간 이후, 상기 설정 데이터를 상기 제3 데이터베이스에서 삭제하는 단계를 포함하는, 데이터베이스 관리 방법을 제공할 수 있다.Additionally, in one embodiment of the present disclosure, backing up or deleting the setting data includes, when it is confirmed that the setting data is being backed up, storing the setting data in a third database and deleting it from the first database; and deleting the setting data from the third database after a set time.
또한, 본 개시의 일 실시 예에서 상기 설정 데이터를 백업 또는 삭제하는 단계는, 상기 설정 데이터를 삭제하는 것으로 확인된 경우, 상기 설정 데이터를 상기 제1 데이터베이스에서 삭제하는 단계를 포함하는, 데이터베이스 관리 방법을 제공할 수 있다.Additionally, in one embodiment of the present disclosure, the step of backing up or deleting the setting data includes deleting the setting data from the first database when it is confirmed that the setting data is being deleted. can be provided.
본 개시의 다른 측면은 통신부; 메모리; 및 제어부(controller)를 포함하고, 상기 제어부는, 제1 단말로부터 쉽먼트(shipment)에 대한 상태(status) 변경 요청을 획득하고, 제1 데이터베이스에서 상기 쉽먼트에 대응하는 제1 주문을 확인하고, 상기 제1 쉽먼트에 대한 상태 변경 요청에 대응하여 상기 제1 주문이 설정된 상태로 변경되는지 확인하고, 상기 주문이 설정된 상태로 변경되면, 상기 제1 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하도록 구성된, 전자 장치를 제공할 수 있다.Another aspect of the present disclosure is a communication unit; Memory; And a control unit (controller), wherein the control unit obtains a status change request for the shipment (shipment) from the first terminal, checks the first order corresponding to the shipment in the first database, and , Check whether the first order is changed to the set state in response to a status change request for the first shipment, and when the order is changed to the set state, delete data related to the first order from the first database. An electronic device configured to do so may be provided.
또한, 본 개시의 일 실시 예에서 상기 제어부는 상기 제1 주문이 설정된 상태로 변경되는지 확인할 때, 상기 제1 주문에 관한 메시지를 제1 리스트에 적재하고, 상기 제1 주문에 관한 메시지가 상기 제1 리스트에 적재된 순서에 기초하여, 상기 제1 주문에 대응하는 모든 쉽먼트의 상태를 확인하고, 상기 제1 주문에 대응하는 모든 쉽먼트의 상태에 기초하여, 상기 제1 주문의 상태를 유지 또는 변경하도록 구성된, 전자 장치를 제공할 수 있다.Additionally, in one embodiment of the present disclosure, when checking whether the first order is changed to the set state, the control unit loads a message about the first order into the first list, and the message about the first order is stored in the first list. 1 Check the status of all shipments corresponding to the first order based on the order in which they are loaded in the list, and maintain the status of the first order based on the status of all shipments corresponding to the first order Alternatively, an electronic device configured to change may be provided.
또한, 본 개시의 일 실시 예에서 상기 설정된 상태는 완료 상태 또는 취소 상태를 포함하고, 대응하는 모든 쉽먼트가 출고 상태인 경우, 상기 제1 주문은 상기 완료 상태로 변경되고, 대응하는 모든 쉽먼트가 취소 상태인 경우, 상기 제1 주문은 상기 취소 상태로 변경되는, 전자 장치를 제공할 수 있다.Additionally, in one embodiment of the present disclosure, the set state includes a completed state or a canceled state, and if all corresponding shipments are in the shipped state, the first order is changed to the completed state, and all corresponding shipments are in the completed state. When is in a canceled state, the first order is changed to the canceled state, and an electronic device may be provided.
또한, 본 개시의 일 실시 예에서 상기 쉽먼트에 대한 상태 변경 요청은, 상기 쉽먼트의 출고 상태로의 변경 요청을 포함하는, 전자 장치를 제공할 수 있다. Additionally, in an embodiment of the present disclosure, an electronic device may be provided in which a request to change the status of the shipment includes a request to change the shipment to a shipped state.
또한, 본 개시의 일 실시 예에서 상기 제어부는 상기 제1 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제할 때, 상기 설정된 상태로 변경된 제1 주문에 관한 메시지를 제2 리스트에 적재하고, 설정된 시간마다 제2 리스트에 포함된 적어도 하나의 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하도록 구성된, 전자 장치를 제공할 수 있다.In addition, in one embodiment of the present disclosure, when deleting data related to the first order from the first database, the control unit loads a message related to the first order changed to the set state into the second list, and at a set time. An electronic device configured to delete data related to at least one order included in a second list from the first database.
또한, 본 개시의 일 실시 예에서 상기 제1 주문과 관련된 데이터는, 제1 주문 데이터; 상기 제1 주문 데이터에 포함된 하나 이상의 쉽먼트 데이터; 및 상기 하나 이상의 쉽먼트 데이터 각각에 포함된 하나 이상의 아이템 데이터를 포함하는, 전자 장치를 제공할 수 있다.Additionally, in one embodiment of the present disclosure, data related to the first order includes: first order data; one or more shipment data included in the first order data; and one or more item data included in each of the one or more shipment data.
또한, 본 개시의 일 실시 예에서 상기 제어부는 상기 적어도 하나의 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제할 때, 상기 적어도 하나의 주문에 대응하는 제1 배치(batch)를 확인하고, 상기 제1 배치에 대응하는 모든 주문과 관련된 데이터가 삭제된 경우, 상기 제1 배치와 관련된 데이터를 상기 제1 데이터베이스에서 삭제하도록 구성되고, 배치는 적어도 하나의 쉽먼트를 포함하는 집품(picking) 단위인, 전자 장치를 제공할 수 있다.Additionally, in one embodiment of the present disclosure, when deleting data related to the at least one order from the first database, the control unit confirms the first batch corresponding to the at least one order, and configured to delete data associated with the first batch from the first database if all order-related data corresponding to the batch has been deleted, wherein the batch is a picking unit comprising at least one shipment. Devices can be provided.
또한, 본 개시의 일 실시 예에서 상기 제1 배치와 관련된 데이터는, 제1 배치 데이터; 상기 제1 배치 데이터에 포함된 하나 이상의 배치 잡(batch job) 데이터; 상기 하나 이상의 배치 잡 데이터 각각에 포함된 하나 이상의 그룹화된 집품(picking) 데이터; 및 상기 하나 이상의 그룹화된 집품 데이터 각각에 포함된 하나 이상의 집품 데이터를 포함하는, 전자 장치를 제공할 수 있다.Additionally, in one embodiment of the present disclosure, the data related to the first batch includes first batch data; One or more batch job data included in the first batch data; One or more grouped picking data included in each of the one or more batch job data; and one or more collection data included in each of the one or more grouped collection data.
또한, 본 개시의 일 실시 예에서 상기 제어부는 제2 단말로부터 제2 주문에 대한 취소 상태로의 변경 요청을 획득하고, 상기 제2 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하도록 더 구성된, 전자 장치를 제공할 수 있다.In addition, in one embodiment of the present disclosure, the control unit is further configured to obtain a change request to a cancellation state for the second order from the second terminal and delete data related to the second order from the first database. Devices can be provided.
또한, 본 개시의 일 실시 예에서 상기 제어부는 상기 제1 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제할 때, 상기 제1 주문과 관련된 데이터의 백업 필요 여부를 확인하고, 상기 제1 주문과 관련된 데이터를 백업하는 것으로 확인된 경우, 상기 제1 주문과 관련된 데이터를 제2 데이터베이스에 저장하고 상기 제1 데이터베이스에서 삭제하도록 구성된, 전자 장치를 제공할 수 있다.In addition, in one embodiment of the present disclosure, when deleting data related to the first order from the first database, the control unit determines whether the data related to the first order needs to be backed up, and the data related to the first order is If confirmed to be backed up, an electronic device configured to store data related to the first order in a second database and delete it from the first database.
또한, 본 개시의 일 실시 예에서 상기 제어부는 센터 관리 시스템에 대한 설정 변경 요청을 획득하고, 상기 제1 데이터베이스에 저장된 센터 관리 시스템의 설정 데이터의 백업 여부를 확인하고, 상기 확인 결과에 기초하여, 상기 설정 데이터를 백업 또는 삭제하도록 더 구성된, 전자 장치를 제공할 수 있다.In addition, in one embodiment of the present disclosure, the control unit obtains a request to change settings for the center management system, checks whether the setting data of the center management system stored in the first database is backed up, and based on the confirmation result, An electronic device further configured to back up or delete the setting data may be provided.
또한, 본 개시의 일 실시 예에서 상기 제어부는 상기 설정 데이터를 백업 또는 삭제할 때, 상기 설정 데이터를 백업하는 것으로 확인된 경우, 상기 설정 데이터를 제3 데이터베이스에 저장하고 상기 제1 데이터베이스에서 삭제하고, 설정된 시간 이후, 상기 설정 데이터를 상기 제3 데이터베이스에서 삭제하도록 구성된, 전자 장치를 제공할 수 있다.Additionally, in one embodiment of the present disclosure, when backing up or deleting the setting data, if it is confirmed that the setting data is being backed up, the control unit stores the setting data in a third database and deletes it from the first database, An electronic device configured to delete the setting data from the third database after a set time period may be provided.
또한, 본 개시의 일 실시 예에서 상기 제어부는 상기 설정 데이터를 백업 또는 삭제할 때, 상기 설정 데이터를 삭제하는 것으로 확인된 경우, 상기 설정 데이터를 상기 제1 데이터베이스에서 삭제하도록 구성된, 전자 장치를 제공할 수 있다.Additionally, in one embodiment of the present disclosure, the control unit may provide an electronic device configured to delete the setting data from the first database when it is confirmed that the setting data is being deleted when backing up or deleting the setting data. You can.
본 개시의 또 다른 측면은 전자 장치에 의해 수행되는 방법을 구현하기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체를 제공할 수 있다.Another aspect of the present disclosure may provide a computer-readable recording medium on which a program for implementing a method performed by an electronic device is recorded.
기타 실시 예들의 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Specific details of other embodiments are included in the detailed description and drawings.
제안되는 실시 예에 따를 경우 다음과 같은 효과를 하나 혹은 그 이상 기대할 수 있다. If you follow the proposed embodiment, one or more of the following effects can be expected.
본 명세서의 실시 예에 따르면, 데이터베이스의 많은 용량을 차지하는 주문과 관련된 데이터 또는 물류 센터의 운영에 관한 데이터에 관하여, 콜드 데이터 및 핫 데이터를 새롭게 정의하고 그에 따라 데이터베이스를 관리함에 따라, 데이터베이스의 사이즈가 감소될 수 있다.According to an embodiment of the present specification, with respect to data related to orders or data related to the operation of a logistics center that occupy a large capacity of the database, cold data and hot data are newly defined and the database is managed accordingly, thereby reducing the size of the database. can be reduced.
또한, 복수의 쉽먼트에 대한 상태 변경 요청을 동시에 획득한 경우, 각각의 쉽먼트에 관하여 쉽먼트의 상태 변경, 대응하는 주문에 관한 메시지의 리스트 적재 및 주문의 상태 확인 과정을 순차적으로 수행함으로써, 주문의 상태에 대한 신뢰성을 제고하여 동시성의 문제를 해결할 수 있다.In addition, when status change requests for multiple shipments are obtained simultaneously, the process of changing the status of each shipment, loading a list of messages about the corresponding order, and checking the status of the order is sequentially performed. The problem of concurrency can be solved by improving reliability of the order status.
이외에도, 로그 데이터를 NoSQL(not only SQL(structured query language) 기반 데이터베이스에 저장함으로써, 스토리지 사이즈를 경감하고 시스템 유연성을 향상시킬 수 있다.In addition, by storing log data in a database based on NoSQL (not only SQL (structured query language)), storage size can be reduced and system flexibility can be improved.
발명의 효과는 이상에서 언급한 효과로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 청구범위의 기재로부터 당해 기술 분야의 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The effect of the invention is not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the description of the claims.
도 1은 일 실시 예에 따른 시스템을 나타낸다. 1 shows a system according to one embodiment.
도 2는 일 실시 예에 따른 데이터 구조를 나타낸다.Figure 2 shows a data structure according to one embodiment.
도 3a 및 도 3b는 일 실시 예에 따라 전자 장치가 데이터베이스를 관리하는 과정을 설명하기 위한 도면이다.3A and 3B are diagrams for explaining a process in which an electronic device manages a database according to an embodiment.
도 4a 내지 도 4c는 일 실시 예에 따라 전자 장치가 쉽먼트에 대한 상태 변경 요청에 대응하여 주문이 설정된 상태로 변경되는지 확인하는 과정을 설명하기 위한 도면이다.FIGS. 4A to 4C are diagrams illustrating a process in which an electronic device checks whether an order is changed to a set state in response to a status change request for a shipment, according to an embodiment.
도 5a 내지 도 5b는 일 실시 예에 따라 전자 장치가 쉽먼트에 대한 상태 변경 요청에 대응하여 주문이 설정된 상태로 변경되는지 확인하는 과정을 설명하기 위한 도면이다.FIGS. 5A and 5B are diagrams illustrating a process in which an electronic device checks whether an order is changed to a set state in response to a status change request for a shipment, according to an embodiment.
도 6은 일 실시 예에 따라 전자 장치가 주문에 관한 데이터를 데이터베이스에서 삭제하는 과정을 설정하기 위한 도면이다.FIG. 6 is a diagram illustrating a process by which an electronic device deletes order-related data from a database, according to an embodiment.
도 7은 일 실시 예에 따라 전자 장치가 데이터베이스를 관리하는 과정을 설명하기 위한 도면이다.FIG. 7 is a diagram illustrating a process in which an electronic device manages a database according to an embodiment.
도 8은 일 실시 예에 따른 전자 장치의 데이터베이스 관리 방법의 흐름도를 나타낸다.Figure 8 shows a flowchart of a method for managing a database of an electronic device according to an embodiment.
도 9는 일 실시 예에 따른 전자 장치의 블록도를 나타낸다.Figure 9 shows a block diagram of an electronic device according to an embodiment.
실시 예들에서 사용되는 용어는 본 개시에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어들을 선택하였으나, 이는 당 분야에 종사하는 기술자의 의도 또는 판례, 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서 본 개시에서 사용되는 용어는 단순한 용어의 명칭이 아닌, 그 용어가 가지는 의미와 본 개시의 전반에 걸친 내용을 토대로 정의되어야 한다.The terms used in the embodiments are general terms that are currently widely used as much as possible while considering the functions in the present disclosure, but this may vary depending on the intention or precedent of a person working in the art, the emergence of new technology, etc. In addition, in certain cases, there are terms arbitrarily selected by the applicant, and in this case, the meaning will be described in detail in the relevant description. Therefore, the terms used in this disclosure should be defined based on the meaning of the term and the overall content of this disclosure, rather than simply the name of the term.
명세서 전체에서 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있음을 의미한다. When it is said that a part "includes" a certain element throughout the specification, this means that, unless specifically stated to the contrary, it does not exclude other elements but may further include other elements.
명세서 전체에서 기재된 "a, b, 및 c 중 적어도 하나"의 표현은, 'a 단독', 'b 단독', 'c 단독', 'a 및 b', 'a 및 c', 'b 및 c', 또는 'a, b, 및 c 모두'를 포괄할 수 있다.The expression “at least one of a, b, and c” used throughout the specification means ‘a alone’, ‘b alone’, ‘c alone’, ‘a and b’, ‘a and c’, ‘b and c ', or 'all of a, b, and c'.
이하에서 언급되는 "전자 장치" 또는 "단말"은 네트워크를 통해 서버나 타 단말에 접속할 수 있는 컴퓨터나 휴대용 단말로 구현될 수 있다. 여기서, 컴퓨터는 예를 들어, 웹 브라우저(WEB Browser)가 탑재된 노트북, 데스크톱(desktop), 랩톱(laptop) 등을 포함하고, 휴대용 단말은 예를 들어, 휴대성과 이동성이 보장되는 무선 통신 장치로서, IMT(International Mobile Telecommunication), CDMA(Code Division Multiple Access), W-CDMA(W-Code Division Multiple Access), LTE(Long Term Evolution) 등의 통신 기반 단말, 스마트폰, 태블릿 PC 등과 같은 모든 종류의 핸드헬드(Handheld) 기반의 무선 통신 장치를 포함할 수 있다.The “electronic device” or “terminal” referred to below may be implemented as a computer or portable terminal that can connect to a server or other terminal through a network. Here, the computer includes, for example, a laptop, desktop, laptop, etc. equipped with a web browser, and the portable terminal is, for example, a wireless communication device that guarantees portability and mobility. , all types of communication-based terminals such as IMT (International Mobile Telecommunication), CDMA (Code Division Multiple Access), W-CDMA (W-Code Division Multiple Access), and LTE (Long Term Evolution), smartphones, tablet PCs, etc. It may include a handheld-based wireless communication device.
아래에서는 첨부한 도면을 참고하여 본 개시의 실시 예에 대하여 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 개시는 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예에 한정되지 않는다.Below, with reference to the attached drawings, embodiments of the present disclosure will be described in detail so that those skilled in the art can easily practice them. However, the present disclosure may be implemented in many different forms and is not limited to the embodiments described herein.
이하에서는 도면을 참조하여 본 개시의 실시 예들을 상세히 설명한다. Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings.
도 1은 일 실시 예에 따른 시스템을 나타낸다. 1 shows a system according to one embodiment.
도 1을 참조하면, 시스템은 전자 장치(100), 작업자 단말(120), 사용자 단말(140), 데이터베이스(160) 및 네트워크(180) 중에서 적어도 하나를 포함할 수 있다. 한편, 도 1에 도시된 시스템은 본 실시 예와 관련된 구성요소들만이 도시되어 있다. 따라서, 도 1에 도시된 구성요소들 외에 다른 범용적인 구성요소들이 더 포함될 수 있음을 본 실시 예와 관련된 기술분야에서 통상의 지식을 가진 자라면 이해할 수 있다.Referring to FIG. 1 , the system may include at least one of an electronic device 100, an operator terminal 120, a user terminal 140, a database 160, and a network 180. Meanwhile, the system shown in FIG. 1 shows only components related to this embodiment. Accordingly, those skilled in the art can understand that other general-purpose components may be included in addition to the components shown in FIG. 1.
전자 장치(100)는 주문과 관련된 데이터 또는 센터 관리 시스템의 설정 데이터 등의 상태를 관리하고, 각각의 상태에 기초하여 데이터베이스(160)에서 삭제할 수 있다. 예를 들어, 전자 장치(100)는 쉽먼트의 상태에 기초하여 주문의 상태를 관리하고, 취소 상태 또는 완료 상태의 주문과 관련된 데이터를 데이터베이스에서 삭제할 수 있다.The electronic device 100 can manage the status of order-related data or setting data of the center management system and delete them from the database 160 based on each status. For example, the electronic device 100 may manage the status of the order based on the status of the shipment and delete data related to the order in the canceled or completed status from the database.
작업자 단말(120)은 작업자가 사용하는 단말로서, 작업자는 작업자 단말(120)을 사용하여 데이터베이스(160)에 저장된 데이터를 조회 및 관리할 수 있다. 예를 들어, 작업자는 작업자 단말(120)을 이용하여 쉽먼트를 출고 상태로 변경하거나, 주문을 취소 상태로 변경할 수 있다.The worker terminal 120 is a terminal used by a worker, and the worker can use the worker terminal 120 to view and manage data stored in the database 160. For example, a worker can use the worker terminal 120 to change a shipment to a shipped state or change an order to a canceled state.
사용자 단말(140)은 사용자들 각각이 사용하는 단말로서, 사용자들은 각자의 단말을 이용하여 네트워크(180)에 의해 제공되는 서비스에 접근할 수 있다. 예를 들어, 전자 장치(100)는 다양한 아이템의 주문과 관련된 정보를 제공하기 위한 어플리케이션을 사용자 단말(140)에 제공할 수 있고, 사용자는 사용자 단말(140)에 설치된 어플리케이션을 이용하여 다양한 아이템을 주문할 수 있다.The user terminal 140 is a terminal used by each user, and the users can access services provided by the network 180 using their respective terminals. For example, the electronic device 100 may provide the user terminal 140 with an application for providing information related to ordering various items, and the user may purchase various items using the application installed on the user terminal 140. You can order.
데이터베이스(160)는 소정의 저장 공간에 구현된 데이터 구조로서, 데이터의 저장, 검색, 삭제, 편집, 또는 추가 등의 기능이 자유롭게 수행될 수 있다. 예를 들어, 데이터베이스(160)는 데이터의 저장, 검색, 삭제, 편집, 또는 추가 등의 기능을 처리하기 위한 필드 또는 구성요소들을 포함할 수 있다. 또한, 데이터베이스(160)는 주문과 관련된 데이터 또는 센터 관리 시스템의 설정 데이터 등을 저장할 수 있다. 한편, 도 1은 데이터베이스(160)가 전자 장치(100)의 외부에 존재하는 것으로 도시하나, 이는 일 실시 예에 불과하며, 데이터베이스(160)는 전자 장치(100)에 포함될 수 있다.The database 160 is a data structure implemented in a predetermined storage space, and functions such as storing, searching, deleting, editing, or adding data can be freely performed. For example, the database 160 may include fields or components for processing functions such as storing, searching, deleting, editing, or adding data. Additionally, the database 160 may store data related to orders or setting data of a center management system. Meanwhile, FIG. 1 shows the database 160 as existing outside the electronic device 100, but this is only an example, and the database 160 may be included in the electronic device 100.
작업자 단말(120), 사용자 단말(140) 및 데이터베이스(160)와 전자 장치(100)는 네트워크(180) 내에서 서로 통신할 수 있다. 네트워크(180)는 근거리 통신망(Local Area Network; LAN), 광역 통신망(Wide Area Network; WAN), 부가가치 통신망(Value Added Network; VAN), 이동 통신망(mobile radio communication network), 위성 통신망 및 이들의 상호 조합을 포함하며, 도 1에 도시된 각 네트워크 구성 주체가 서로 원활하게 통신을 할 수 있도록 하는 포괄적인 의미의 데이터 통신망이며, 유선 인터넷, 무선 인터넷 및 모바일 무선 통신망을 포함할 수 있다. 무선 통신은 예를 들어, 무선 랜(Wi-Fi), 블루투스, 블루투스 저 에너지(Bluetooth low energy), 지그비, WFD(Wi-Fi Direct), UWB(ultra wideband), 적외선 통신(IrDA, infrared Data Association), NFC(Near Field Communication) 등이 있을 수 있으나, 이에 한정되는 것은 아니다.The worker terminal 120, the user terminal 140, the database 160, and the electronic device 100 may communicate with each other within the network 180. The network 180 includes a local area network (LAN), a wide area network (WAN), a value added network (VAN), a mobile radio communication network, a satellite communication network, and their respective networks. It is a comprehensive data communication network that includes a combination and allows each network constituent shown in FIG. 1 to communicate smoothly with each other, and may include wired Internet, wireless Internet, and mobile wireless communication network. Wireless communications include, for example, wireless LAN (Wi-Fi), Bluetooth, Bluetooth low energy, ZigBee, WFD (Wi-Fi Direct), UWB (ultra wideband), and infrared communication (IrDA, infrared Data Association). ), NFC (Near Field Communication), etc., but are not limited thereto.
도 2는 일 실시 예에 따른 데이터 구조를 나타낸다. 이때, 도 2에 도시된 데이터를 연결하는 선은, 한 개의 끝 선으로 연결된 데이터가 세 개의 끝 선으로 연결된 데이터를 하나 이상 포함할 수 있음을 나타낸다.Figure 2 shows a data structure according to one embodiment. At this time, the line connecting the data shown in FIG. 2 indicates that data connected by one end line may include one or more data connected by three end lines.
일 실시 예에 따르면, 주문 데이터(200)는 사용자가 사용자 단말을 통해 구입하고자 하는 하나 이상의 아이템의 주문에 대응하는 데이터로서, 주문을 식별하기 위한 데이터, 주문의 특성에 관한 데이터 또는 주문을 요청한 사용자에 관한 데이터 등을 포함할 수 있다. 예를 들어, 주문 데이터(200)는 주문의 배송과 관련된 데이터, 주문의 패킹과 관련된 데이터 또는 주문의 상태에 관한 데이터 등을 포함할 수 있다.According to one embodiment, the order data 200 is data corresponding to the order of one or more items that the user wishes to purchase through the user terminal, such as data for identifying the order, data on the characteristics of the order, or the user who requested the order. It may include data about, etc. For example, the order data 200 may include data related to the delivery of an order, data related to the packing of an order, or data regarding the status of an order.
일 실시 예에 따르면, 쉽먼트(shipment) 데이터(210)는 하나 이상의 아이템들을 배송하기 위한 단위인 쉽먼트에 대응하는 데이터로서, 쉽먼트를 식별하기 위한 데이터 또는 쉽먼트에 포함되는 아이템과 관련된 데이터 등을 포함할 수 있다. 사용자가 복수의 아이템들을 주문한 경우, 물류 센터에서 복수의 아이템들을 효율적으로 집품하기 위한 하나 이상의 쉽먼트 데이터가 생성될 수 있고, 복수의 아이템들은 하나 이상의 쉽먼트 데이터에 기초하여, 집품 및 포장될 수 있다.According to one embodiment, the shipment data 210 is data corresponding to a shipment, which is a unit for delivering one or more items, and is data for identifying the shipment or data related to the items included in the shipment. It may include etc. When a user orders multiple items, one or more shipment data may be generated to efficiently pick the multiple items at the distribution center, and the multiple items may be picked and packed based on one or more shipment data. there is.
일 실시 예에 따르면, 쉽먼트 데이터(210)는 고객이 주문한 아이템의 SKU(Stock Keeping Unit)에 관한 데이터를 포함할 수 있으며, 센터에서 각 아이템의 출고를 위해서는 아이템에 대한 SKU를 집품하고, 집품된 SKU를 포장하는 절차가 요구될 수 있다. 또한, 선택적으로 집품된 SKU를 재분배 한 뒤 포장을 수행할 수도 있다. 이와 같은 집품, 재분배, 포장을 효과적으로 하기 위해 센터에 인입된 주문들을 기반으로 쉽먼트 데이터(210)를 관리하고, 해당 쉽먼트 데이터(210)를 기반으로 집품, 재분배, 포장을 효과적으로 하기 위해 한번에 처리될 쉽먼트 세트를 도출하며, 이를 위해 센터에 할당된 쉽먼트 데이터(210)를 계속적으로 검색할 필요가 있다. 따라서, 이와 같은 검색의 효과적으로 하기 위해 처리가 필요한 쉽먼트 데이터(210)가 저장된 데이터베이스는 신속하게 접근 가능해야 하며 이를 위해 데이터 베이스 사이즈가 필요 이상으로 커지는 것을 방지할 필요성이 있다.According to one embodiment, the shipment data 210 may include data about the SKU (Stock Keeping Unit) of the item ordered by the customer. In order to ship each item from the center, the SKU for the item is picked and picked. Procedures for packaging SKUs may be required. Additionally, packaging can be performed after selectively redistributing the picked SKUs. In order to effectively collect, redistribute, and package, the shipment data 210 is managed based on the orders entered into the center, and processed at once to effectively collect, redistribute, and package based on the corresponding shipment data 210. To derive a set of shipments, it is necessary to continuously search the shipment data 210 assigned to the center. Therefore, in order to effectively perform such a search, the database storing the shipment data 210 that needs to be processed must be accessible quickly, and for this, there is a need to prevent the database size from becoming larger than necessary.
일 실시 예에 따르면, 아이템 데이터(220)는 사용자가 사용자 단말을 통해 구입하고자 하는 하나 이상의 아이템에 대응하는 데이터로서, 아이템을 식별하기 위한 데이터, 아이템의 특성에 관한 데이터 또는 아이템의 집품에 관한 데이터 등을 포함할 수 있다. 예를 들어, 아이템 데이터(220)는 사용자가 주문한 아이템의 수량에 관한 데이터, 물류 센터 내 아이템의 재고 수량에 관한 데이터 또는 해당 아이템이 보관되어 있는 아이템 보관 단위인 SKU에 관한 데이터 등을 포함할 수 있다.According to one embodiment, the item data 220 is data corresponding to one or more items that the user wishes to purchase through the user terminal, such as data for identifying the item, data on the characteristics of the item, or data on the selection of the item. It may include etc. For example, the item data 220 may include data about the quantity of the item ordered by the user, data about the inventory quantity of the item in the distribution center, or data about the SKU, which is an item storage unit in which the item is stored. there is.
일 실시 예에 따르면, 배치(batch) 데이터(230)는 피커가 물류 센터에서 아이템들을 일괄적으로 집품하기 위한 단위인 배치에 대응하는 데이터로서, 배치를 식별하기 위한 데이터, 배치에 포함되는 아이템들에 관한 데이터, 배치를 할당 받은 피커에 관한 데이터 또는 배치를 할당 받은 피커가 사용하기 위한 토트(tote) 세트에 관한 데이터 등을 포함할 수 있다. 피커가 제1 배치를 할당 받은 경우, 피커는 제1 배치에 포함된 복수의 아이템들을 적어도 하나 이상의 토트에 수납하여 집품 업무를 수행할 수 있다. 이때, 토트 세트는 하나의 배치로 관리되는 하나 이상의 아이템들이 수납된 토트의 집합으로서, 해당 배치에 포함된 아이템들의 특성에 따라, 단일의 토트를 포함하거나, 또는 복수의 토트들을 포함할 수 있다.According to one embodiment, batch data 230 is data corresponding to a batch, which is a unit for a picker to collectively collect items from a distribution center, data for identifying the batch, and items included in the batch. It may include data about, data about the picker assigned to the batch, or data about the tote set for use by the picker assigned to the batch. When a picker is assigned a first batch, the picker may perform a picking task by storing a plurality of items included in the first batch in at least one tote. At this time, the tote set is a set of totes containing one or more items managed in one arrangement, and may include a single tote or a plurality of totes, depending on the characteristics of the items included in the arrangement.
일 실시 예에 따르면, 배치 잡(batch job) 데이터(240)는 배치에 대응하는 하나 이상의 토트 각각의 작업 데이터로서, 배치 잡을 식별하기 위한 데이터, 토트의 상태 데이터, 토트의 목적지 데이터, 토트의 작업 위치 데이터 또는 토트의 다음 작업 데이터 등을 포함할 수 있다.According to one embodiment, the batch job data 240 is work data for each of one or more totes corresponding to the batch, including data for identifying the batch job, status data of the tote, destination data of the tote, and task of the tote. It may include location data or tote's next action data, etc.
일 실시 예에 따르면, 집품(picking) 데이터(260)는 물류 센터에서의 아이템의 집품에 관한 데이터로서, 물류 센터 내 아이템의 위치 데이터, 집품을 수행하는 작업자(즉, 피커(picker))에 관한 데이터 또는 집품 스케줄(집품 순서)에 관한 데이터 등을 포함할 수 있다. 이때, 집품은 주문자로부터 특정 아이템의 구매와 관련된 주문을 확인한 후 해당 아이템을 물류 센터 내에서 조회 및 탐색하고 해당 아이템의 배송 준비를 수행하는 과정을 의미할 수 있다.According to one embodiment, the picking data 260 is data about the picking of items in a distribution center, including location data of the items in the distribution center and information about the worker (i.e., picker) who performs the picking. It may include data or data about the picking schedule (picking order). At this time, picking may refer to the process of confirming an order related to the purchase of a specific item from the orderer, then searching and searching for the item within the distribution center and preparing for delivery of the item.
일 실시 예에 따르면, 그룹화된 집품 데이터(250)는 집품되는 아이템의 특성, 적재 위치 또는 재고 수량 등을 고려하여 집품 데이터(260)를 그룹화한 데이터로서, 하나 이상의 집품 데이터(260)를 포함할 수 있다.According to one embodiment, the grouped picking data 250 is data that groups the picking data 260 in consideration of the characteristics, loading location, or inventory quantity of the picked item, and may include one or more picking data 260. You can.
한편, 전술한 데이터의 명칭, 데이터 간의 포함 관계 및 데이터에 포함되는 구체적인 예시들은 일 실시 예에 불과하며, 본 개시가 전술한 바와 상이한 데이터의 명칭, 데이터 간의 포함 관계 및 데이터에 포함되는 구체적인 예시들로 구현될 수 있음은 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명하다.Meanwhile, the above-described names of data, inclusion relationships between data, and specific examples included in the data are only one embodiment, and the present disclosure includes names of data, inclusion relationships between data, and specific examples included in the data that are different from those described above. It is obvious to those skilled in the art that this disclosure can be implemented.
도 3a 및 도 3b는 일 실시 예에 따라 전자 장치가 데이터베이스를 관리하는 과정을 설명하기 위한 도면이다.3A and 3B are diagrams for explaining a process in which an electronic device manages a database according to an embodiment.
제1 데이터베이스(310)는 주문과 관련된 데이터 또는 센터 관리 시스템의 설정 데이터 등 다양한 데이터가 저장되는 구조로서, RDB(Relational Database, 관계형 데이터베이스)를 포함할 수 있다.The first database 310 is a structure in which various data, such as order-related data or setting data of a center management system, is stored, and may include a relational database (RDB).
제2 데이터베이스(320)는 제1 데이터베이스(310)와 별도로 존재하는 데이터베이스로서, 그 목적에 따라 S3, MOS, Elastic search 또는 Cassandra 등을 포함할 수 있으나, 이에 한정되지 않는다. 일 실시 예에 따르면, 제1 데이터베이스(310)에서 삭제되는 데이터 중 백업이 필요한 데이터가 제2 데이터베이스(320)에 저장될 수 있다.The second database 320 is a database that exists separately from the first database 310, and may include S3, MOS, Elastic search, or Cassandra depending on its purpose, but is not limited thereto. According to one embodiment, data that needs to be backed up among data deleted from the first database 310 may be stored in the second database 320.
단말(330)은 전자 장치(100) 외부에 존재하는 전자 기기를 나타내는 것으로, 도 1의 작업자 단말(120) 또는 사용자 단말(140)을 포함할 수 있다.The terminal 330 represents an electronic device that exists outside the electronic device 100 and may include the worker terminal 120 or the user terminal 140 of FIG. 1 .
S340 단계에서, 전자 장치(100)는 단말(330)로부터 주문 데이터를 획득할 수 있다. 일 실시 예에 따르면, 사용자는 단말(330)을 이용하여 하나 이상의 아이템들을 주문할 수 있고, 단말(330)은 사용자 입력한 주문 데이터를 전자 장치(100)로 전송할 수 있다. In step S340, the electronic device 100 may obtain order data from the terminal 330. According to one embodiment, a user may order one or more items using the terminal 330, and the terminal 330 may transmit order data entered by the user to the electronic device 100.
S345 단계에서, 전자 장치(100)는 단말(330)로부터 획득한 주문 데이터를 제1 데이터베이스(310)에 저장할 수 있다.In step S345, the electronic device 100 may store order data obtained from the terminal 330 in the first database 310.
S350 단계에서, 전자 장치(100)는 단말(330)로부터 쉽먼트에 대한 상태 변경 요청을 획득할 수 있다. 이때, 쉽먼트의 상태는 대기 상태, 출고 상태, 취소 상태를 포함할 수 있다. 일 실시 예에 따르면, 쉽먼트의 출고 상태는 해당 쉽먼트에 포함되는 아이템들이 포장되어 물류 센터 외부로 배송 되었다는 것을 나타내고, 쉽먼트의 대기 상태는 해당 쉽먼트에 포함되는 아이템들이 물류 센터 외부로 배송되기 전이라는 것을 나타내며, 쉽먼트의 취소 상태는 해당 쉽먼트에 포함되는 아이템들의 배송이 취소되었다는 것을 나타낼 수 있다.In step S350, the electronic device 100 may obtain a status change request for the shipment from the terminal 330. At this time, the status of the shipment may include a waiting state, a shipping state, and a cancellation state. According to one embodiment, the shipping status of the shipment indicates that the items included in the corresponding shipment have been packaged and delivered outside the distribution center, and the waiting status of the shipment indicates that the items included in the corresponding shipment have been shipped outside the distribution center. It indicates that it is before delivery, and the cancellation status of the shipment may indicate that delivery of the items included in the shipment has been cancelled.
일 실시 예에 따르면, 특정 쉽먼트가 출고됨에 따라, 단말(330)은 쉽먼트를 대기 상태에서 출고 상태로 변경하는 작업자의 입력을 수신할 수 있고, 쉽먼트를 대기 상태에서 출고 상태로 변경하는 요청을 전자 장치(100)로 전송할 수 있다.According to one embodiment, as a specific shipment is shipped, the terminal 330 may receive an input from an operator that changes the shipment from the waiting state to the shipping state, and changes the shipment from the waiting state to the shipping state. A request may be transmitted to the electronic device 100.
일 실시 예에 따르면, 단말(330)은 아이템들 전체의 주문 또는 일부 아이템들의 주문을 취소하는 사용자의 입력을 수신할 수 있다. 예를 들어, 사용자가 아이템들 전체의 주문을 취소한 경우, 단말(330)은 주문의 상태 또는 주문에 대응하는 모든 쉽먼트를 대기 상태에서 취소 상태로 변경하는 요청을 전자 장치(100)로 전송할 수 있다. 또는, 사용자가 일부 아이템들의 주문을 취소한 경우, 단말(330)은 일부 아이템들에 대응하는 쉽먼트를 대기 상태에서 취소 상태로 변경하는 요청을 전자 장치(100)로 전송할 수 있다.According to one embodiment, the terminal 330 may receive a user's input to cancel the order of all items or some items. For example, when the user cancels the order for all items, the terminal 330 may transmit to the electronic device 100 a request to change the status of the order or all shipments corresponding to the order from the waiting state to the canceled state. You can. Alternatively, when the user cancels the order of some items, the terminal 330 may transmit a request to change the shipment corresponding to some items from the waiting state to the canceled state to the electronic device 100.
일 실시 예에 따르면, 단말(330)은 아이템들 전체의 주문 또는 일부 아이템들의 주문을 취소하는 작업자의 입력을 수신할 수 있다. 예를 들어, 작업자가 아이템들 전체의 주문을 취소한 경우, 단말(330)은 주문의 상태 및 주문에 대응하는 모든 쉽먼트를 대기 상태에서 취소 상태로 변경하는 요청을 전자 장치(100)로 전송할 수 있다. 또는, 작업자가 일부 아이템들의 주문을 취소한 경우, 단말(330)은 일부 아이템들에 대응하는 쉽먼트를 대기 상태에서 취소 상태로 변경하는 요청을 전자 장치(100)로 전송할 수 있다.According to one embodiment, the terminal 330 may receive an operator's input to cancel an order for all items or an order for some items. For example, when the worker cancels the order for all items, the terminal 330 transmits a request to change the order status and all shipments corresponding to the order from the waiting state to the canceled state to the electronic device 100. You can. Alternatively, when the worker cancels the order of some items, the terminal 330 may transmit a request to change the shipment corresponding to some items from the waiting state to the canceled state to the electronic device 100.
일 실시 예에 따르면, 단말(330)로부터 획득한 쉽먼트에 대한 상태 변경 요청에 따라, 전자 장치(100)는 해당 쉽먼트의 상태를 변경할 수 있다. 예를 들어, 전자 장치(100)가 단말(300)로부터 쉽먼트를 출고 상태로 변경하는 요청을 획득한 경우, 전자 장치(100)는 쉽먼트를 대기 상태에서 출고 상태로 변경할 수 있다. 또는, 전자 장치(100)가 단말(300)로부터 쉽먼트를 취소 상태로 변경하는 요청을 획득한 경우, 전자 장치(100)는 쉽먼트를 대기 상태에서 취소 상태로 변경할 수 있다. 다만, 이는 일 실시 예에 불과하며, 쉽먼트의 상태는 전자 장치(100)가 아닌, 외부에 존재하는 다른 장치에 의해 변경될 수 있다. 한편, 일 실시 예에서 하나의 주문에 포함된 복수의 아이템 중 일부가 취소될 수도 있다. 이와 같은 경우, 전자 장치(100)는 콜드 데이터 판단을 위해서 일부 아이템의 취소를 일부 아이템의 출고와 동일하게 처리할 수도 있다.According to one embodiment, in response to a status change request for a shipment obtained from the terminal 330, the electronic device 100 may change the status of the corresponding shipment. For example, when the electronic device 100 obtains a request from the terminal 300 to change the shipment to the shipped state, the electronic device 100 can change the shipment from the standby state to the shipped state. Alternatively, when the electronic device 100 obtains a request to change the shipment to the canceled state from the terminal 300, the electronic device 100 may change the shipment from the waiting state to the canceled state. However, this is only an example, and the state of the shipment may be changed by another external device other than the electronic device 100. Meanwhile, in one embodiment, some of a plurality of items included in one order may be cancelled. In this case, the electronic device 100 may process cancellation of some items the same as shipping of some items to determine cold data.
S355 단계에서, 전자 장치(100)는 쉽먼트에 대응하는 주문을 확인할 수 있다. 일 실시 예에 따르면, 전자 장치(100)는 단말(330)이 상태 변경을 요청한 쉽먼트에 대응하는 주문을 확인할 수 있다. In step S355, the electronic device 100 can confirm the order corresponding to the shipment. According to one embodiment, the electronic device 100 may check the order corresponding to the shipment for which the terminal 330 has requested a status change.
S360 단계에서, 전자 장치(100)는 상태 변경을 요청한 쉽먼트에 대응하는 주문에 관한 메시지를 제1 리스트(상태 변경 대기열)에 적재할 수 있다. 일 실시 예에 따르면, 전자 장치(100)는 발행-구독(publish-subscribe) 모델 기반인 분산 메시징(messaging) 시스템에 기초하여, 주문에 관한 메시지를 제1 리스트에 적재할 수 있다. 예를 들어, 전자 장치(100)가 쉽먼트의 상태 변경 요청을 획득할 때마다, 해당 쉽먼트에 대응하는 주문에 관한 데이터를 포함하는 카프카(kafka) 메시지가 발행되어 카프카 시스템의 브로커(broker)에 대응하는 제1 리스트에 적재될 수 있다.In step S360, the electronic device 100 may load a message about an order corresponding to a shipment requesting a status change into a first list (status change queue). According to one embodiment, the electronic device 100 may load a message about an order into the first list based on a distributed messaging system based on a publish-subscribe model. For example, whenever the electronic device 100 obtains a request to change the status of a shipment, a Kafka message containing data about the order corresponding to the shipment is issued and sent to the broker of the Kafka system. It can be loaded into the first list corresponding to .
또다른 실시 예에 따르면, 전자 장치(100)는 상태 변경을 요청한 쉽먼트에 대응하는 주문 데이터를 제1 리스트에 적재할 수 있다. 예를 들어, 전자 장치(100)는 제1 데이터베이스(310) 내에서 상태 변경을 요청한 쉽먼트에 대응하는 주문 데이터를 제1 리스트로 이동할 수 있다.According to another embodiment, the electronic device 100 may load order data corresponding to a shipment requesting a status change into the first list. For example, the electronic device 100 may move order data corresponding to a shipment requesting a status change within the first database 310 to the first list.
S365 단계에서, 전자 장치(100)는 주문이 설정된 상태로 변경되는지 확인할 수 있다. 이때, 주문의 상태는 대기 상태, 진행 중(in progress) 상태, 완료 상태 및 취소 상태를 포함할 수 있고, 설정된 상태는 완료 상태 또는 취소 상태를 포함할 수 있다.In step S365, the electronic device 100 may check whether the order is changed to the set state. At this time, the status of the order may include a waiting status, an in progress status, a completion status, and a cancellation status, and the set status may include a completion status or a cancellation status.
일 실시 예에 따르면, 주문의 대기 상태는 주문에 대응하는 모든 쉽먼트가 대기 상태인 것을 나타내고, 주문의 진행 중 상태는 주문에 대응하는 하나 이상의 쉽먼트가 출고 상태인 것을 나타낼 수 있다. 또한, 주문의 완료 상태는 주문에 대응하는 모든 쉽먼트가 출고 상태인 것을 나타내고, 주문의 취소 상태는 주문에 대응하는 모든 쉽먼트가 취소 상태인 것을 나타낼 수 있다.According to one embodiment, the waiting state of an order may indicate that all shipments corresponding to the order are in a waiting state, and the in-process state of an order may indicate that one or more shipments corresponding to the order are in a shipping state. Additionally, the completion status of an order may indicate that all shipments corresponding to the order are in a shipped state, and the cancellation status of an order may indicate that all shipments corresponding to the order are in a canceled state.
일 실시 예에 따르면, 전자 장치(100)가 쉽먼트의 상태 변경 요청을 획득할 때마다, 전자 장치(100)는 주문에 관한 메시지가 제1 리스트에 적재된 순서에 기초하여, 주문에 대응하는 모든 쉽먼트의 상태를 확인할 수 있다. 예를 들어, 전자 장치(100)가 쉽먼트의 상태 변경 요청을 획득할 때마다, 전자 장치(100)는 제1 리스트를 조회하고, 카프카 메시지가 제1 리스트에 적재된 순서에 기초하여 주문에 대응하는 모든 쉽먼트가 출고 상태 또는 취소 상태인지를 확인할 수 있다. 이때, 전자 장치(100)는 주문과 쉽먼트 사이에 연계된 키(key) (또는 매칭된 인덱스)를 이용하여, 주문에 대응하는 모든 쉽먼트를 빠르게 조회할 수 있다. 이와 관련해서는 도 4a 내지 도 4c를 참조하여 보다 상세하게 설명하기로 한다.According to one embodiment, whenever the electronic device 100 obtains a request to change the status of a shipment, the electronic device 100 sends a message corresponding to the order based on the order in which the message about the order is loaded in the first list. You can check the status of all ships. For example, each time the electronic device 100 obtains a status change request for a shipment, the electronic device 100 queries the first list and places an order based on the order in which Kafka messages are loaded into the first list. You can check whether all corresponding shipments are in shipped or canceled status. At this time, the electronic device 100 can quickly search all shipments corresponding to the order using a key (or matched index) linked between the order and the shipment. This will be described in more detail with reference to FIGS. 4A to 4C.
일 실시 예에 따르면, 전자 장치(100)는 주문에 대응하는 모든 쉽먼트의 상태에 기초하여, 주문의 상태를 유지 또는 변경할 수 있다. 예를 들어, 주문에 대응하는 모든 쉽먼트가 출고 상태인 경우, 전자 장치(100)는 해당 주문을 완료 상태로 변경할 수 있다. 또는, 주문에 대응하는 모든 쉽먼트가 취소 상태인 경우, 전자 장치(100)는 해당 주문을 취소 상태로 변경할 수 있다. 주문에 대응하는 일부의 쉽먼트가 출고 상태인 경우, 전자 장치(100)는 해당 주문을 진행 중 상태로 유지할 수 있다. 다만, 이는 일 실시 예에 불과하며, 주문의 상태는 전자 장치(100)가 아닌, 외부에 존재하는 다른 장치에 의해 변경될 수 있다.According to one embodiment, the electronic device 100 may maintain or change the status of an order based on the status of all shipments corresponding to the order. For example, if all shipments corresponding to an order are in a shipped state, the electronic device 100 may change the order to a completed state. Alternatively, if all shipments corresponding to an order are in a canceled state, the electronic device 100 may change the order to a canceled state. If some of the shipments corresponding to the order are in a shipped state, the electronic device 100 may maintain the corresponding order in an in-progress state. However, this is only an example, and the order status may be changed by another external device other than the electronic device 100.
S370 단계에서, 전자 장치(100)는 설정된 상태로 변경된 주문에 관한 메시지를 제2 리스트에 적재할 수 있다. 일 실시 예에 따르면, 전자 장치(100)는 발행-구독 모델 기반인 분산 메시징 시스템에 기초하여, 주문에 관한 메시지를 제2 리스트(콜드 데이터 목록)에 적재할 수 있다. 예를 들어, 완료 상태 또는 취소 상태의 주문을 확인할 때마다, 해당 주문에 관한 데이터를 포함하는 카프카 메시지가 발행되어 카프카 시스템의 브로커에 대응하는 제2 리스트에 적재될 수 있다.In step S370, the electronic device 100 may load a message regarding an order that has been changed to the set state into the second list. According to one embodiment, the electronic device 100 may load a message about an order into a second list (cold data list) based on a distributed messaging system based on a publish-subscribe model. For example, whenever an order in the completed or canceled state is confirmed, a Kafka message containing data about the order may be issued and loaded into a second list corresponding to a broker in the Kafka system.
또다른 실시 예에 따르면, 전자 장치(100)는 설정된 상태로 변경된 주문 데이터를 제2 리스트에 적재할 수 있다. 예를 들어, 전자 장치(100)는 제1 데이터베이스(310) 내에서 설정된 상태로 변경된 주문 데이터를 제1 리스트에서 제2 리스트로 이동할 수 있다.According to another embodiment, the electronic device 100 may load order data changed to the set state into the second list. For example, the electronic device 100 may move order data that has been changed to the state set in the first database 310 from the first list to the second list.
S375 단계에서, 전자 장치(100)는 제2 리스트에 적재된 주문과 관련된 데이터의 백업 필요 여부를 확인할 수 있다. 일 실시 예에 따르면, 전자 장치(100)는 작업자의 입력 또는 기 설정된 조건에 기초하여, 완료 상태 또는 취소 상태의 주문과 관련된 데이터를 제1 데이터베이스(310)에서 삭제하기 전 제2 데이터베이스(320)에 백업할지 여부를 확인할 수 있다.In step S375, the electronic device 100 may check whether data related to the order loaded on the second list needs to be backed up. According to one embodiment, the electronic device 100 stores the second database 320 before deleting data related to an order in a completed or canceled state from the first database 310 based on a worker's input or a preset condition. You can check whether to back up or not.
예를 들어, 출고 완료 또는 취소된 아이템의 재고가 남는 것과 같은 문제 상황을 해결하기 위해, 해당 아이템이 어디서 집품되었는 지와 같은 작업 이력을 파악해야하는 경우, 작업자는 집품 데이터 등을 제2 데이터베이스(320)에 백업할 것을 단말(330)에 입력할 수 있다. 이에 따라, 전자 장치(100)는 작업자의 입력에 기초하여 집품 데이터 등을 제2 데이터베이스(320)에 백업해야 함을 확인할 수 있다. 또는, 전자 장치(100)는 데이터의 종류나, 제1 데이터베이스(310)에 데이터가 저장된 기간 등 다양한 특성에 관한 기 설정된 조건에 기초하여 주문과 관련된 데이터를 백업할지 여부를 확인할 수 있다.For example, if it is necessary to determine work history such as where the item was picked in order to solve a problem situation such as remaining stock of a shipped or canceled item, the worker may store the picking data, etc. in a second database (320 ) can be entered into the terminal 330 to back up. Accordingly, the electronic device 100 can confirm that picking data, etc., should be backed up to the second database 320 based on the operator's input. Alternatively, the electronic device 100 may check whether to back up order-related data based on preset conditions regarding various characteristics, such as the type of data or the period for which the data is stored in the first database 310.
S380 단계에서, 주문과 관련된 데이터를 백업해야하는 것으로 확인된 경우, 전자 장치(100)는 주문과 관련된 데이터를 제2 데이터베이스(320)에 저장할 수 있다. 이때, 제2 데이터베이스(320)에 저장된 데이터는 쉽먼트에 일대일로 대응하는 운송장 아이디와 같은 다양한 데이터 등이 키 값으로 사용되어 조회될 수 있다. 예를 들어, 작업자가 특정 쉽먼트에 관한 작업 이력을 조회하고자 하는 경우, 주문이 출고 완료된 이후의 데이터를 조회하고자 하는 경우 또는 출고 완료된 주문에 대해서 예외 처리가 필요한 경우, 작업자는 쉽먼트 식별 데이터 또는 운송장 식별 데이터에 기초하여 제2 데이터베이스(320)에 저장된 데이터를 확인할 수 있다. In step S380, if it is confirmed that order-related data needs to be backed up, the electronic device 100 may store the order-related data in the second database 320. At this time, the data stored in the second database 320 can be searched using various data, such as a waybill ID that corresponds one-to-one to the shipment, as a key value. For example, if a worker wants to check the work history for a specific shipment, if he/she wants to check data after the order has been shipped, or if exception processing is required for an order that has been shipped, the worker must check the shipment identification data or Data stored in the second database 320 can be confirmed based on the waybill identification data.
S385 단계에서, 전자 장치(100)는 설정된 시간마다 제2 리스트에 포함된 적어도 하나의 주문과 관련된 데이터를 제1 데이터베이스(310)에서 삭제할 수 있다. 일 실시 예에 따르면, 전자 장치(100)는 설정된 시간마다 제2 리스트에 적재된 주문을 확인하고, 확인된 주문과 관련된 데이터를 제1 데이터베이스(310)에서 삭제할 수 있다. 이때, 주문과 관련된 데이터는 주문 데이터, 주문 데이터에 포함된 하나 이상의 쉽먼트 데이터 및 하나 이상의 쉽먼트 데이터 각각에 포함된 하나 이상의 아이템 데이터를 포함할 수 있다.In step S385, the electronic device 100 may delete data related to at least one order included in the second list from the first database 310 at set times. According to one embodiment, the electronic device 100 may check orders loaded on the second list at set times and delete data related to the confirmed orders from the first database 310. At this time, the data related to the order may include order data, one or more shipment data included in the order data, and one or more item data included in each of the one or more shipment data.
일 실시 예에 따르면, 전자 장치(100)는 제2 리스트에 적재된 주문을 확인할 때마다 배치와 관련된 데이터의 삭제 가능 여부를 확인할 수 있다. 예를 들어, 전자 장치(100)는 제2 리스트에 적재된 주문을 확인할 때마다 제2 리스트에 포함된 적어도 하나의 주문에 대응하는 배치를 확인하고, 확인된 배치에 대응하는 모든 주문과 관련된 데이터가 삭제된 경우, 배치와 관련된 데이터를 제1 데이터베이스(310)에서 삭제할 수 있다. 이때, 배치와 관련된 데이터는, 배치 데이터에 포함된 하나 이상의 배치 잡 데이터, 하나 이상의 배치 잡 데이터 각각에 포함된 하나 이상의 그룹화된 집품 데이터 및 하나 이상의 그룹화된 집품 데이터 각각에 포함된 하나 이상의 집품 데이터를 포함할 수 있다.According to one embodiment, the electronic device 100 may check whether data related to the arrangement can be deleted each time an order loaded on the second list is checked. For example, the electronic device 100 checks the batch corresponding to at least one order included in the second list every time it checks an order loaded in the second list, and collects data related to all orders corresponding to the confirmed batch. If is deleted, data related to the placement may be deleted from the first database 310. At this time, the data related to the batch includes one or more batch job data included in the batch data, one or more grouped picking data included in each of the one or more batch job data, and one or more picking data included in each of the one or more grouped picking data. It can be included.
도 4a 내지 도 4c는 일 실시 예에 따라 전자 장치가 쉽먼트에 대한 상태 변경 요청에 대응하여 주문이 설정된 상태로 변경되는지 확인하는 과정을 설명하기 위한 도면이다.FIGS. 4A to 4C are diagrams illustrating a process in which an electronic device checks whether an order is changed to a set state in response to a status change request for a shipment, according to an embodiment.
도 4a는 주문 데이터와 주문 데이터에 포함되는 쉽먼트 데이터의 일 예를 도시한다. 일 실시 예에 따르면, 제1 주문 데이터(400)는 제1 쉽먼트 데이터(410), 제2 쉽먼트 데이터(420) 및 제3 쉽먼트 데이터(430)를 포함할 수 있다. 이는 제1 주문에 포함되는 복수의 아이템들이 3개의 쉽먼트들(410, 420, 430)로 나뉘어 배송된다는 것을 의미할 수 있다. 한편, 제1 주문 데이터(400)는 제1 주문에 대응하는 데이터를 나타내고, 제1 쉽먼트 데이터(410), 제2 쉽먼트 데이터(420) 및 제3 쉽먼트 데이터(430) 각각은 제1 쉽먼트, 제2 쉽먼트 및 제3 쉽먼트에 대응하는 데이터를 나타낸다.Figure 4a shows an example of order data and shipment data included in the order data. According to one embodiment, the first order data 400 may include first shipment data 410, second shipment data 420, and third shipment data 430. This may mean that a plurality of items included in the first order are divided into three shipments 410, 420, and 430 and delivered. Meanwhile, the first order data 400 represents data corresponding to the first order, and the first shipment data 410, the second shipment data 420, and the third shipment data 430 each represent the first order. Indicates data corresponding to a shipment, a second shipment, and a third shipment.
도 4b 및 도 4c는 주문에 관한 메시지가 적재된 제1 리스트(440) 또는 상태 변경 대기열의 일 예를 도시한다.Figures 4b and 4c show an example of a first list 440 or status change queue loaded with messages about orders.
일 실시 예에 따르면, 전자 장치(100)가 제1 쉽먼트에 대한 상태 변경 요청을 획득하면, 전자 장치(100)는 제1 쉽먼트의 상태를 변경하고, 제1 쉽먼트에 대응하는 제1 주문에 관한 메시지(450)를 제1 리스트(440)에 적재할 수 있다. 이후 전자 장치(100)는 제1 주문에 관한 메시지(450)가 제1 리스트(440)에 적재된 순서에 기초하여, 제1 주문에 대응하는 모든 쉽먼트의 상태를 확인할 수 있다.According to one embodiment, when the electronic device 100 obtains a state change request for the first shipment, the electronic device 100 changes the state of the first shipment and changes the state of the first shipment to the first shipment. The order-related message 450 can be loaded into the first list 440. Thereafter, the electronic device 100 may check the status of all shipments corresponding to the first order based on the order in which the message 450 regarding the first order was loaded in the first list 440.
예를 들어, 제1 쉽먼트의 출고가 완료되어, 전자 장치(100)가 제1 쉽먼트를 대기 상태에서 출고 상태로 변경하는 요청을 획득한 경우, 전자 장치(100)는 제1 쉽먼트를 출고 상태로 변경하고, 제1 쉽먼트에 대응하는 제1 주문에 관한 메시지(450)를 제1 리스트(440)에 적재할 수 있다. 이후, 전자 장치(100)는 제1 주문에 대응하는 모든 쉽먼트(제1 쉽먼트, 제2 쉽먼트, 제3 쉽먼트)의 상태를 조회하여, 제1 쉽먼트는 출고 상태이고 제2 쉽먼트 및 제3 쉽먼트는 대기 상태임을 확인할 수 있다. 이에 따라, 전자 장치(100)는 제1 주문을 대기 상태에서 진행 중 상태로 변경할 수 있다.For example, when shipping of the first shipment is completed and the electronic device 100 obtains a request to change the first shipment from the standby state to the shipping state, the electronic device 100 changes the first shipment to the shipping state. The status can be changed to shipped, and the message 450 regarding the first order corresponding to the first shipment can be loaded into the first list 440. Thereafter, the electronic device 100 checks the status of all ships (first shipment, second shipment, and third shipment) corresponding to the first order, and determines that the first shipment is in the factory state and the second shipment is in the factory state. It can be confirmed that the ment and the 3rd shipment are in a standby state. Accordingly, the electronic device 100 may change the first order from the waiting state to the in-progress state.
일 실시 예에 따르면, 전자 장치(100)는 제2 쉽먼트의 상태 변경 요청 및 제3 쉽먼트의 대한 상태 변경 요청을 동시에 획득할 수 있다. 이때, 전자 장치(100)는 상태가 변경된 하나 이상의 쉽먼트들에 대하여, 쉽먼트의 상태를 변경하고, 쉽먼트에 대응하는 주문에 관한 메시지를 리스트에 적재하며, 주문의 상태를 유지 및 변경하는 과정을 순차적으로 수행할 수 있다.According to one embodiment, the electronic device 100 may simultaneously obtain a status change request for the second shipment and a status change request for the third shipment. At this time, the electronic device 100 changes the status of one or more ships whose status has changed, loads a message about the order corresponding to the shipment into the list, and maintains and changes the status of the order. The process can be performed sequentially.
예를 들어, 전자 장치(100)는 제2 쉽먼트를 대기 상태에서 출고 상태로 변경하는 요청 및 제3 쉽먼트를 대기 상태에서 출고 상태로 변경하는 요청을 동시에 획득할 수 있다. 전자 장치(100)는 제2 쉽먼트 및 제3 쉽먼트 중, 제3 쉽먼트에 관하여 쉽먼트의 상태 변경, 대응하는 주문에 관한 메시지의 리스트 적재 및 주문의 상태 확인 과정을 먼저 수행할 수 있다. 즉, 전자 장치(100)는 제3 쉽먼트의 상태를 출고 상태로 변경하고, 제3 쉽먼트에 대응하는 제1 주문에 관한 메시지(460)를 제1 리스트(440)에 적재할 수 있다. 이후, 전자 장치(100)는 제1 주문에 관한 메시지(460)가 제1 리스트(440)에 적재된 순서에 기초하여, 제1 주문에 대응하는 모든 쉽먼트의 상태를 확인할 수 있다. 이때, 제2 쉽먼트의 상태는 출고 상태로 변경되기 전이므로, 전자 장치(100)는 제1 쉽먼트 및 제3 쉽먼트는 출고 상태이고 제2 쉽먼트는 대기 상태임을 확인할 수 있다. 이에 따라, 전자 장치(100)는 제1 주문을 진행 중 상태로 유지할 수 있다.For example, the electronic device 100 may simultaneously obtain a request to change the second shipment from the standby state to the shipping state and a request to change the third shipment from the standby state to the shipping state. Among the second and third shipments, the electronic device 100 may first perform the process of changing the status of the third shipment, loading a list of messages about the corresponding order, and checking the status of the order. . That is, the electronic device 100 may change the status of the third shipment to the shipped state and load the message 460 regarding the first order corresponding to the third shipment into the first list 440. Thereafter, the electronic device 100 may check the status of all shipments corresponding to the first order based on the order in which the message 460 regarding the first order was loaded in the first list 440. At this time, since the state of the second shipment is before being changed to the shipping state, the electronic device 100 can confirm that the first and third shipments are in the shipping state and the second shipment is in the standby state. Accordingly, the electronic device 100 may maintain the first order in an in-progress state.
전자 장치(100)는 제3 쉽먼트에 관하여 쉽먼트의 상태 변경, 대응하는 주문에 관한 메시지의 리스트 적재 및 주문의 상태 확인 과정을 먼저 수행한 후, 제2 쉽먼트에 관하여 동일한 과정을 수행할 수 있다. 즉, 전자 장치(100)는 제2 쉽먼트의 상태를 출고 상태로 변경하고, 제2 쉽먼트에 대응하는 제1 주문에 관한 메시지(470)를 제1 리스트(440)에 적재할 수 있다. 이후, 전자 장치(100)는 제1 주문에 관한 메시지(470)가 제1 리스트(440)에 적재된 순서에 기초하여, 제1 주문에 대응하는 모든 쉽먼트의 상태를 확인할 수 있다. 이때, 제3 쉽먼트의 상태는 출고 상태로 변경된 후이므로, 전자 장치(100)는 제1 쉽먼트, 제2 쉽먼트 및 제3 쉽먼트 모두가 출고 상태임을 확인할 수 있다. 이에 따라, 전자 장치(100)는 제1 주문을 진행 중 상태에서 완료 상태로 변경할 수 있다. The electronic device 100 first performs the process of changing the status of the shipment, loading the list of messages related to the corresponding order, and checking the status of the order with respect to the third shipment, and then performs the same process with respect to the second shipment. You can. That is, the electronic device 100 may change the status of the second shipment to the shipped state and load the message 470 regarding the first order corresponding to the second shipment into the first list 440. Thereafter, the electronic device 100 may check the status of all shipments corresponding to the first order based on the order in which the message 470 regarding the first order was loaded in the first list 440. At this time, since the status of the third shipment has been changed to the factory state, the electronic device 100 can confirm that the first shipment, the second shipment, and the third shipment are all in the factory state. Accordingly, the electronic device 100 may change the first order from the in-progress state to the completed state.
이와 같이, 전자 장치(100)가 제2 쉽먼트에 대한 상태 변경 요청과 제3 쉽먼트에 대한 상태 변경 요청을 동시에 획득한 경우, 각각의 쉽먼트에 관하여 쉽먼트의 상태 변경, 대응하는 주문에 관한 메시지의 리스트 적재 및 주문의 상태 확인 과정을 순차적으로 수행함으로써, 동시성의 문제가 해결될 수 있다. 즉, 쉽먼트의 출고가 동시에 발생하더라도, 리스트에 적재된 순서에 기초하여 주문의 상태를 유지 또는 변경함으로써, 주문에 포함된 전체 쉽먼트에 대한 출고 여부 확인의 신뢰성이 제고될 수 있다.In this way, when the electronic device 100 simultaneously obtains a status change request for the second shipment and a status change request for the third shipment, the status change of the shipment and the corresponding order are requested for each shipment. The problem of concurrency can be solved by sequentially performing the process of loading the list of related messages and checking the status of the order. In other words, even if the shipment of shipments occurs at the same time, the reliability of confirmation of shipment of all shipments included in the order can be improved by maintaining or changing the status of the order based on the order in which they are loaded on the list.
한편, 도 4b 및 도 4c는 주문에 관한 메시지에 주문의 상태에 관한 데이터만이 포함되는 것으로 도시하지만, 주문의 상태의 진행률에 관한 데이터 또한 함께 포함될 수 있다. 예를 들어, 전자 장치(100)가 제1 쉽먼트에 대한 상태 변경 요청을 획득한 경우, 주문을 대기 상태에서 진행 중 상태로 변경하면서 진행률 값으로 1/3 또는 33.3%을 저장할 수 있다. 또한, 전자 장치(100)가 제3 쉽먼트에 대한 상태 변경 요청을 획득한 경우, 주문을 진행 중 상태로 유지하면서 진행률 값으로 2/3 또는 66.7%을 저장할 수 있다. 전자 장치(100)가 제2 쉽먼트에 대한 상태 변경 요청을 획득한 경우, 주문을 진행 중 상태에서 완료 상태로 변경하면서 진행률 값으로 1 또는 100%을 저장할 수 있다. 이때, 전자 장치(100)는 제1 주문에 대응하는 모든 쉽먼트의 상태를 확인하는 대신, 기존의 주문의 상태 및 진행률 값에 기초하여 주문의 상태를 변경 또는 유지할 수 있다.Meanwhile, Figures 4b and 4c show that the order-related message includes only data about the status of the order, but data about the progress of the order status may also be included. For example, when the electronic device 100 obtains a status change request for the first shipment, it may change the order from the waiting state to the in-progress state and store 1/3 or 33.3% as a progress value. Additionally, when the electronic device 100 obtains a status change request for the third shipment, it can store 2/3 or 66.7% as a progress value while maintaining the order in the in-progress state. When the electronic device 100 obtains a status change request for the second shipment, it may change the order from the in-process state to the completed state and store 1 or 100% as a progress value. At this time, instead of checking the status of all shipments corresponding to the first order, the electronic device 100 may change or maintain the status of the order based on the status and progress value of the existing order.
도 5a 내지 도 5b는 일 실시 예에 따라 전자 장치가 쉽먼트에 대한 상태 변경 요청에 대응하여 주문이 설정된 상태로 변경되는지 확인하는 과정을 설명하기 위한 도면이다.FIGS. 5A and 5B are diagrams illustrating a process in which an electronic device checks whether an order is changed to a set state in response to a status change request for a shipment, according to an embodiment.
도 5a는 주문 데이터와 주문 데이터에 포함되는 쉽먼트 데이터의 일 예를 도시한다. 일 실시 예에 따르면, 제1 주문 데이터(500)는 제1 쉽먼트 데이터(510), 제2 쉽먼트 데이터(520) 및 제3 쉽먼트 데이터(530)를 포함할 수 있다. 이는 제1 주문에 포함되는 복수의 아이템들이 3개의 쉽먼트들(510, 520, 530)로 나뉘어 배송된다는 것을 의미할 수 있다. 한편, 제1 주문 데이터(500)는 제1 주문에 대응하는 데이터를 나타내고, 제1 쉽먼트 데이터(510), 제2 쉽먼트 데이터(520) 및 제3 쉽먼트 데이터(530) 각각은 제1 쉽먼트, 제2 쉽먼트 및 제3 쉽먼트에 대응하는 데이터를 나타낸다.Figure 5a shows an example of order data and shipment data included in the order data. According to one embodiment, the first order data 500 may include first shipment data 510, second shipment data 520, and third shipment data 530. This may mean that a plurality of items included in the first order are divided into three shipments 510, 520, and 530 and delivered. Meanwhile, the first order data 500 represents data corresponding to the first order, and the first shipment data 510, the second shipment data 520, and the third shipment data 530 each represent the first order. Indicates data corresponding to a shipment, a second shipment, and a third shipment.
도 5b는 주문에 관한 메시지가 적재된 제1 리스트(540) 또는 상태 변경 대기열의 일 예를 도시한다.Figure 5b shows an example of a first list 540 or status change queue loaded with messages about orders.
일 실시 예에 따르면, 사용자가 아이템들 전체의 주문을 취소한 경우, 전자 장치(100)는 주문의 상태 변경 요청 또는 쉽먼트의 상태 변경 요청을 획득할 수 있다.According to one embodiment, when a user cancels an order for all items, the electronic device 100 may obtain an order status change request or a shipment status change request.
예를 들어, 전자 장치(100)는 제1 주문에 대응하는 모든 쉽먼트(제1 쉽먼트, 제2 쉽먼트, 제3 쉽먼트)를 대기 상태에서 취소 상태로 변경하는 요청을 획득할 수 있다. 전자 장치(100)는 제1 쉽먼트, 제2 쉽먼트 및 제3 쉽먼트의 상태를 취소 상태로 변경하고, 제1 주문에 관한 메시지(550)를 제1 리스트(540)에 적재할 수 있다. 이후, 전자 장치(100)는 제1 주문에 대응하는 모든 쉽먼트의 상태를 조회하여, 제1 쉽먼트, 제2 쉽먼트 및 제3 쉽먼트가 취소 상태임을 확인할 수 있다. 이에 따라, 전자 장치(100)는 제1 주문을 대기 상태에서 취소 상태로 변경할 수 있다.For example, the electronic device 100 may obtain a request to change all ships (first shipment, second shipment, and third shipment) corresponding to the first order from the waiting state to the canceled state. . The electronic device 100 may change the status of the first shipment, the second shipment, and the third shipment to the canceled state, and load the message 550 regarding the first order into the first list 540. . Thereafter, the electronic device 100 may check the status of all shipments corresponding to the first order and confirm that the first shipment, the second shipment, and the third shipment are in a canceled state. Accordingly, the electronic device 100 may change the first order from the waiting state to the canceled state.
또는, 전자 장치(100)는 제1 주문의 상태를 대기 상태에서 취소 상태로 변경하는 요청을 획득할 수 있다. 이때, 전자 장치(100)는 제1 주문에 관한 메시지를 제1 리스트(540)에 적재하는 대신 제2 리스트(콜드 데이터 목록)에 바로 적재할 수 있다.Alternatively, the electronic device 100 may obtain a request to change the status of the first order from the waiting state to the canceled state. At this time, the electronic device 100 may directly load the message regarding the first order into the second list (cold data list) instead of loading it into the first list 540.
일 실시 예에 따르면, 사용자가 일부 아이템들의 주문을 취소한 경우, 전자 장치(100)는 일부 아이템들에 대응하는 쉽먼트를 대기 상태에서 취소 상태로 변경하는 요청을 획득할 수 있다. 예를 들어, 전자 장치(100)는 제1 쉽먼트를 대기 상태에서 취소 상태로 변경하는 요청을 획득할 수 있다. 전자 장치(100)는 제1 쉽먼트를 취소 상태로 변경하고, 제1 쉽먼트에 대응하는 제1 주문에 관한 메시지(550)를 제1 리스트(540)에 적재할 수 있다. 이후, 전자 장치(100)는 제1 주문에 대응하는 모든 쉽먼트(제1 쉽먼트, 제2 쉽먼트, 제3 쉽먼트)의 상태를 조회하여, 제1 쉽먼트는 취소 상태이고 제2 쉽먼트 및 제3 쉽먼트는 대기 상태임을 확인할 수 있다. 이에 따라, 전자 장치(100)는 제1 주문을 대기 상태에서 진행 중 상태로 변경할 수 있다.According to one embodiment, when the user cancels the order of some items, the electronic device 100 may obtain a request to change the shipment corresponding to some items from the waiting state to the canceled state. For example, the electronic device 100 may obtain a request to change the first shipment from the standby state to the cancel state. The electronic device 100 may change the first shipment to a canceled state and load a message 550 regarding the first order corresponding to the first shipment into the first list 540. Afterwards, the electronic device 100 checks the status of all ships (first shipment, second shipment, and third shipment) corresponding to the first order, and determines that the first shipment is in a canceled state and the second shipment is in a canceled state. It can be confirmed that the ment and the 3rd shipment are in a standby state. Accordingly, the electronic device 100 may change the first order from the waiting state to the in-progress state.
도 6은 일 실시 예에 따라 전자 장치가 주문에 관한 데이터를 데이터베이스에서 삭제하는 과정을 설정하기 위한 도면이다.FIG. 6 is a diagram illustrating a process by which an electronic device deletes order-related data from a database, according to an embodiment.
일 실시 예에 따르면, 전자 장치(100)는 완료 상태 또는 취소 상태로 변경된 주문에 관한 메시지를 제2 리스트(600) 또는 콜드 데이터 목록에 적재할 수 있다. 예를 들어, 전자 장치(100)는 제4 주문이 완료 상태 또는 취소 상태로 변경되었음을 확인하고, 제4 주문에 관한 메시지(680)를 제2 리스트(600)에 적재할 수 있다. 이후, 전자 장치(100)는 제1 주문, 제2 주문 및 제3 주문이 완료 상태 또는 취소 상태로 변경되었음을 확인하고, 제1 주문에 관한 메시지(620), 제2 주문에 관한 메시지(640) 및 제3 주문에 관한 메시지(660)를 제2 리스트(600)에 적재할 수 있다. According to one embodiment, the electronic device 100 may load a message about an order that has been changed to a completed state or a canceled state into the second list 600 or the cold data list. For example, the electronic device 100 may confirm that the fourth order has changed to the completed or canceled state and load the message 680 regarding the fourth order into the second list 600. Thereafter, the electronic device 100 confirms that the first order, second order, and third order have changed to the completed or canceled state, and sends a message 620 regarding the first order and a message 640 regarding the second order. And a message 660 regarding the third order may be loaded into the second list 600.
일 실시 예에 따르면, 전자 장치(100)는 설정된 시간마다 제2 리스트(600)에 포함된 적어도 하나의 주문과 관련된 데이터를 제1 데이터베이스에서 삭제할 수 있다. 예를 들어, 전자 장치(100)는 설정된 시간마다 제2 리스트(600)에 적재된 제1 주문에 관한 메시지(620), 제2 주문에 관한 메시지(640), 제3 주문에 관한 메시지(660) 및 제4 주문에 관한 메시지(680)를 확인하고, 제1 주문 내지 제4 주문과 관련된 데이터를 삭제할 수 있다. 이때, 주문과 관련된 데이터는 주문 데이터, 주문 데이터에 포함된 하나 이상의 쉽먼트 데이터 및 하나 이상의 쉽먼트 데이터 각각에 포함된 하나 이상의 아이템 데이터를 포함할 수 있다.According to one embodiment, the electronic device 100 may delete data related to at least one order included in the second list 600 from the first database every set time. For example, the electronic device 100 may send a message 620 about the first order, a message 640 about the second order, and a message 660 about the third order loaded on the second list 600 at a set time. ) and the message 680 regarding the fourth order can be checked, and data related to the first to fourth orders can be deleted. At this time, the data related to the order may include order data, one or more shipment data included in the order data, and one or more item data included in each of the one or more shipment data.
한편, 전자 장치(100)는 설정된 시간마다 제2 리스트(600)에 포함된 적어도 하나의 주문과 관련된 데이터를 삭제하기 전, 적어도 하나의 주문과 관련된 데이터를 백업할지 여부를 확인할 수 있다. 예를 들어, 전자 장치(100)는 작업자의 입력 또는 기 설정된 조건에 기초하여, 제2 리스트(600)에 포함된 적어도 하나의 주문과 관련된 데이터를 백업할지 여부를 결정할 수 있고, 백업하기로 결정된 주문과 관련된 데이터를 제2 데이터베이스에 저장할 수 있다.Meanwhile, the electronic device 100 may check whether to back up data related to at least one order before deleting data related to at least one order included in the second list 600 at every set time. For example, the electronic device 100 may determine whether to back up data related to at least one order included in the second list 600 based on the operator's input or preset conditions, and determines whether to back up data related to at least one order included in the second list 600. Data related to the order may be stored in a second database.
도 7은 일 실시 예에 따라 전자 장치가 데이터베이스를 관리하는 과정을 설명하기 위한 도면이다. 도 3a 및 도 3b와 중복되는 내용은 간략히 설명하거나 생략하기로 한다.FIG. 7 is a diagram illustrating a process in which an electronic device manages a database according to an embodiment. Content that overlaps with FIGS. 3A and 3B will be briefly described or omitted.
S740 단계에서, 전자 장치(100)는 단말(730)로부터 센터 관리 시스템의 제1 설정 데이터를 획득할 수 있다. 이때, 센터 관리 시스템(warehouse management system, WMS)은 물류 센터(fulfillment center, FC)에서 발생하는 입고, 적치, 보관, 재고 할당, 집품 또는 출고 등의 업무를 편리하고 세밀한 기능을 통해 관리하기 위한 시스템을 의미할 수 있다. 또한, 센터 관리 시스템의 설정 데이터는 물류 센터를 운영하기 위한 구체적인 설정 값들을 의미하며, 하나의 배치에 포함되는 쉽먼트의 수 또는 특정 배치에 포함된 아이템들을 포장하기 위한 작업대의 위치 등에 관한 데이터를 포함할 수 있다.In step S740, the electronic device 100 may obtain first setting data of the center management system from the terminal 730. At this time, the warehouse management system (WMS) is a system for managing tasks such as warehousing, stacking, storage, inventory allocation, picking, or shipping that occur at a fulfillment center (FC) through convenient and detailed functions. It can mean. In addition, the setting data of the center management system refers to specific setting values for operating a logistics center, and includes data about the number of ships included in one batch or the location of a workbench for packaging items included in a specific batch. It can be included.
S745 단계에서, 전자 장치(100)는 단말(730)로부터 획득한 센터 관리 시스템의 제1 설정 데이터를 제1 데이터베이스(710)에 저장할 수 있다.In step S745, the electronic device 100 may store the first setting data of the center management system obtained from the terminal 730 in the first database 710.
S750 단계에서, 전자 장치(100)는 단말(730)로부터 센터 관리 시스템의 설정 변경 요청을 획득할 수 있다. 일 실시 예에 따르면, 작업자가 센터 관리 시스템의 설정을 변경하고자 하는 경우, 작업자는 새롭게 설정할 값들(센터 관리 시스템의 제2 설정 데이터)을 단말(730)에 입력할 수 있고, 단말(730)은 입력 받은 제2 설정 데이터를 전자 장치(100)로 전송할 수 있다.In step S750, the electronic device 100 may obtain a request to change the settings of the center management system from the terminal 730. According to one embodiment, when the worker wants to change the settings of the center management system, the worker can input newly set values (second setting data of the center management system) into the terminal 730, and the terminal 730 The received second setting data may be transmitted to the electronic device 100.
S755 단계에서, 전자 장치(100)는 단말(730)로부터 획득한 센터 관리 시스템의 제2 설정 데이터를 제1 데이터베이스(710)에 저장할 수 있다.In step S755, the electronic device 100 may store the second setting data of the center management system obtained from the terminal 730 in the first database 710.
S760 단계에서, 전자 장치(100)는 제1 설정 데이터의 백업 필요 여부를 확인할 수 있다. 일 실시 예에 따르면, 전자 장치(100)는 작업자의 입력 또는 기 설정된 조건에 기초하여, 사용되지 않는 센터 관리 시스템의 설정 데이터를 제1 데이터베이스(710)에서 삭제하기 전 제2 데이터베이스(720)에 백업할지 여부를 확인할 수 있다.In step S760, the electronic device 100 may check whether backup of the first setting data is necessary. According to one embodiment, the electronic device 100 stores unused setting data of the center management system in the second database 720 before deleting it from the first database 710 based on the operator's input or preset conditions. You can check whether to back up or not.
예를 들어, 배치의 생성된 이력을 파악해야 하는 경우 또는 물류 센터를 운영하는데 있어서 많은 문의를 받는 설정이 존재하는 경우, 작업자는 관련 데이터를 제2 데이터베이스(720)에 백업할 것을 단말(730)에 입력할 수 있다. 이에 따라, 전자 장치(100)는 작업자의 입력에 기초하여 관련 데이터를 제2 데이터베이스(720)에 백업해야 함을 확인할 수 있다. 또는, 전자 장치(100)는 데이터의 종류나, 제1 데이터베이스(710)에 데이터가 저장된 기간 등 다양한 특성에 관한 기 설정된 조건에 기초하여 주문과 관련된 데이터를 백업할지 여부를 확인할 수 있다.For example, when it is necessary to determine the creation history of a batch or when there is a setting that receives many inquiries in operating a logistics center, the worker requests the terminal 730 to back up related data to the second database 720. You can enter . Accordingly, the electronic device 100 can confirm that related data should be backed up to the second database 720 based on the operator's input. Alternatively, the electronic device 100 may check whether to back up order-related data based on preset conditions regarding various characteristics, such as the type of data or the period for which the data is stored in the first database 710.
S765 단계에서, 센터 관리 시스템의 제1 설정 데이터를 백업해야하는 것으로 확인된 경우, 전자 장치(100)는 센터 관리 시스템의 제1 설정 데이터를 제2 데이터베이스(720)에 저장할 수 있다.In step S765, if it is confirmed that the first setting data of the center management system needs to be backed up, the electronic device 100 may store the first setting data of the center management system in the second database 720.
S770 단계에서, 전자 장치(100)는 더 이상 사용되지 않는 센터 관리 시스템의 제1 설정 데이터를 제1 데이터베이스(710)에서 삭제할 수 있다.In step S770, the electronic device 100 may delete first setting data of the center management system that is no longer used from the first database 710.
도 8은 일 실시 예에 따른 전자 장치의 데이터베이스 관리 방법의 흐름도를 나타낸다. 중복되는 내용에 대해서는 전술한 기재가 적용될 수 있다.Figure 8 shows a flowchart of a method for managing a database of an electronic device according to an embodiment. The foregoing description may apply to overlapping content.
S800 단계에서, 전자 장치는 제1 단말로부터 쉽먼트에 대한 상태 변경 요청을 획득할 수 있다.In step S800, the electronic device may obtain a status change request for the shipment from the first terminal.
일 실시 예에 따르면, 특정 쉽먼트가 출고됨에 따라, 전자 장치는 제1 단말로부터 쉽먼트를 대기 상태에서 출고 상태로 변경하는 요청을 획득할 수 있다. 또는, 사용자가 아이템들 전체의 주문을 취소함에 따라, 전자 장치는 제1 단말로부터 주문의 상태 또는 주문에 대응하는 모든 쉽먼트를 대기 상태에서 취소 상태로 변경하는 요청을 획득할 수 있다. 사용자가 일부 아이템들의 주문을 취소함에 따라, 전자 장치는 제1 단말로부터 일부 아이템들에 대응하는 쉽먼트를 대기 상태에서 취소 상태로 변경하는 요청을 획득할 수 있다.According to one embodiment, as a specific shipment is shipped, the electronic device may obtain a request to change the shipment from the standby state to the shipped state from the first terminal. Alternatively, as the user cancels the order for all items, the electronic device may obtain a request from the first terminal to change the status of the order or all shipments corresponding to the order from the waiting state to the canceled state. As the user cancels the order of some items, the electronic device may obtain a request from the first terminal to change the shipment corresponding to some items from the waiting state to the canceled state.
S820 단계에서, 전자 장치는 제1 데이터베이스에서 쉽먼트에 대응하는 제1 주문을 확인할 수 있다.In step S820, the electronic device may check the first order corresponding to the shipment in the first database.
S840 단계에서, 전자 장치는 쉽먼트에 대한 상태 변경 요청에 대응하여, 제1 주문이 설정된 상태로 변경되는지 확인할 수 있다.In step S840, the electronic device may check whether the first order is changed to the set state in response to a status change request for the shipment.
일 실시 예에 따르면, 전자 장치는 제1 주문에 관한 메시지를 제1 리스트에 적재하고, 제1 주문에 관한 메시지가 상기 제1 리스트에 적재된 순서에 기초하여, 상기 제1 주문에 대응하는 모든 쉽먼트의 상태를 확인할 수 있다. 이후, 전자 장치는 제1 주문에 대응하는 모든 쉽먼트의 상태에 기초하여, 제1 주문의 상태를 유지 또는 변경할 수 있다.According to one embodiment, the electronic device loads a message about a first order into a first list, and based on the order in which the message about the first order is loaded into the first list, all messages corresponding to the first order are stored. You can check the status of the shipment. Thereafter, the electronic device may maintain or change the status of the first order based on the status of all shipments corresponding to the first order.
예를 들어, 제1 주문에 대응하는 모든 쉽먼트가 출고 상태인 경우, 전자 장치는 제1 주문을 진행 중 상태에서 완료 상태로 변경할 수 있다. 또는, 제1 주문에 대응하는 모든 쉽먼트가 취소 상태인 경우, 전자 장치는 제1 주문을 진행 준 상태에서 취소 상태로 변경할 수 있다. 제1 주문에 대응하는 일부의 쉽먼트가 출고 상태인 경우, 전자 장치는 제1 주문을 진행 중 상태로 유지할 수 있다.For example, if all shipments corresponding to the first order are in a shipped state, the electronic device may change the first order from the in-progress state to the completed state. Alternatively, if all shipments corresponding to the first order are in a canceled state, the electronic device may change the first order from a progress state to a cancel state. If some of the shipments corresponding to the first order are in a shipped state, the electronic device may maintain the first order in an in-progress state.
일 실시 예에 따르면, 설정된 상태는 완료 상태 또는 취소 상태를 포함할 수 있다.According to one embodiment, the set state may include a completed state or a canceled state.
S860 단계에서, 전자 장치는 제1 주문이 설정된 상태로 변경되면, 제1 주문과 관련된 데이터를 제1 데이터베이스에서 삭제할 수 있다.In step S860, when the first order is changed to the set state, the electronic device may delete data related to the first order from the first database.
일 실시 예에 따르면, 전자 장치는 설정된 상태로 변경된 제1 주문에 관한 메시지를 제2 리스트에 적재하고, 설정된 시간마다 제2 리스트에 포함된 적어도 하나의 주문과 관련된 데이터를 제1 데이터베이스에서 삭제할 수 있다. 예를 들어, 전자 장치는 설정된 시간마다 제2 리스트에 포함된 적어도 하나의 주문을 확인하고, 하나의 주문과 관련된 데이터를 제1 데이터베이스에서 삭제할 수 있다. 이때, 주문과 관련된 데이터는 주문 데이터, 주문 데이터에 포함된 하나 이상의 쉽먼트 데이터 및 하나 이상의 쉽먼트 데이터 각각에 포함된 하나 이상의 아이템 데이터를 포함할 수 있다.According to one embodiment, the electronic device may load a message related to the first order that has been changed to a set state into a second list, and delete data related to at least one order included in the second list from the first database at each set time. there is. For example, the electronic device may check at least one order included in the second list at a set time and delete data related to one order from the first database. At this time, the data related to the order may include order data, one or more shipment data included in the order data, and one or more item data included in each of the one or more shipment data.
일 실시 예에 따르면, 전자 장치가 제2 리스트에 포함된 적어도 하나의 주문을 확인할 때마다, 적어도 하나의 주문에 대응하는 제1 배치(batch)를 확인하고, 제1 배치에 대응하는 모든 주문과 관련된 데이터가 삭제된 경우, 제1 배치와 관련된 데이터를 삭제 제1 데이터베이스에서 삭제할 수 있다. 이때, 배치 데이터에 포함된 하나 이상의 배치 잡 데이터, 하나 이상의 배치 잡 데이터 각각에 포함된 하나 이상의 그룹화된 집품 데이터 및 하나 이상의 그룹화된 집품 데이터 각각에 포함된 하나 이상의 집품 데이터를 포함할 수 있다.According to one embodiment, whenever the electronic device checks at least one order included in the second list, it checks the first batch corresponding to the at least one order, and stores all orders corresponding to the first batch. When related data has been deleted, data related to the first batch may be deleted from the first deletion database. At this time, it may include one or more batch job data included in the batch data, one or more grouped picking data included in each of the one or more batch job data, and one or more picking data included in each of the one or more grouped picking data.
일 실시 예에 따르면, 전자 장치는 제1 주문과 관련된 데이터를 제1 데이터베이스에서 삭제하기 전, 제1 주문과 관련된 데이터의 백업 필요 여부를 확인하고, 제1 주문과 관련된 데이터를 백업하는 것으로 확인된 경우, 제1 주문과 관련된 데이터를 제2 데이터베이스에 저장하고 제1 데이터베이스에서 삭제할 수 있다. 예를 들어, 전자 장치는 작업자의 입력 또는 기 설정된 조건에 기초하여, 완료 상태 또는 취소 상태의 주문과 관련된 데이터를 제1 데이터베이스에서 삭제하기 전 제2 데이터베이스에 백업할지 여부를 확인할 수 있다.According to one embodiment, before deleting data related to the first order from the first database, the electronic device determines whether the data related to the first order needs to be backed up, and it is confirmed that the data related to the first order is backed up. In this case, data related to the first order may be stored in the second database and deleted from the first database. For example, based on an operator's input or a preset condition, the electronic device may check whether to back up data related to an order in a completed or canceled state to a second database before deleting it from the first database.
일 실시 예에 따르면, 전자 장치는 센터 관리 시스템에 대한 설정 변경 요청을 획득하고, 제1 데이터베이스에 저장된 센터 관리 시스템의 설정 데이터의 백업 여부를 확인하며, 확인 결과에 기초하여, 설정 데이터를 백업 또는 삭제할 수 있다.According to one embodiment, the electronic device obtains a setting change request for the center management system, checks whether setting data of the center management system stored in the first database is backed up, and based on the verification result, backs up or It can be deleted.
예를 들어, 설정 데이터를 백업하는 것으로 확인된 경우, 전자 장치는 설정 데이터를 제3 데이터베이스에 저장하고 제1 데이터베이스에서 삭제하며, 설정된 시간 이후, 설정 데이터를 제3 데이터베이스에서 삭제할 수 있다. 또는, 설정 데이터를 삭제하는 것으로 확인된 경우, 전자 장치는 설정 데이터를 제1 데이터베이스에서 삭제할 수 있다.For example, if it is confirmed that the setting data is being backed up, the electronic device may store the setting data in a third database and delete it from the first database, and after a set time, the setting data may be deleted from the third database. Alternatively, when it is confirmed that the setting data is being deleted, the electronic device may delete the setting data from the first database.
일 실시 예에 따르면, 데이터 특성에 따라 다양한 데이터베이스를 사용함으로써 스토리지 사이즈를 경감하고 시스템 유연성을 향상시키기 위하여, 전자 장치는 로그 데이터를 NoSQL(not only SQL(structured query language) 기반 데이터베이스에 저장할 수 있다. 이에 따라, 사용자의 읽기 요청에 대응하여 여러 데이터베이스 중 적합한 데이터베이스로 요청을 전송하므로, 사용자 입장에서는 하나의 데이터베이스로부터 데이터를 읽는 것과 같은 기술적 효과를 얻을 수 있다.According to one embodiment, in order to reduce storage size and improve system flexibility by using various databases according to data characteristics, the electronic device may store log data in a database based on NoSQL (not only structured query language). Accordingly, in response to the user's read request, the request is sent to an appropriate database among several databases, so the user can obtain the same technical effect as reading data from one database.
도 9는 일 실시 예에 따른 전자 장치(100)의 블록도를 나타낸다.FIG. 9 shows a block diagram of an electronic device 100 according to an embodiment.
전자 장치(100)는 일 실시 예에 따라, 통신부(communication device)(920), 메모리(940) 및 제어부(controller)(960)를 포함할 수 있다. 도 9에 도시된 전자 장치(100)는 본 실시 예와 관련된 구성요소들만이 도시되어 있다. 따라서, 도 9에 도시된 구성요소들 외에 다른 범용적인 구성요소들이 더 포함될 수 있음을 본 실시 예와 관련된 기술분야에서 통상의 지식을 가진 자라면 이해할 수 있다. 전자 장치(100)는 전술한 서버에 관한 내용을 포함할 수 있는 바, 중복되는 내용에 대해서는 설명을 생략한다. 실시 예에서 통신부는 하나 이상의 트랜시버(transceiver)를 포함할 수 있다. 또한, 실시 예에서 제어부는 하나 이상의 프로세서(processor)를 포함할 수 있다. According to one embodiment, the electronic device 100 may include a communication device 920, a memory 940, and a controller 960. The electronic device 100 shown in FIG. 9 shows only components related to this embodiment. Accordingly, those skilled in the art can understand that other general-purpose components may be included in addition to the components shown in FIG. 9. Since the electronic device 100 may include content related to the above-described server, description of overlapping content will be omitted. In an embodiment, the communication unit may include one or more transceivers. Additionally, in an embodiment, the control unit may include one or more processors.
통신부(920)는 유/무선 통신을 수행하기 위한 장치로서, 외부의 전자 장치와 통신할 수 있다. 외부의 전자 장치는 단말 또는 서버가 될 수 있다. 또한, 통신부(920)가 이용하는 통신 기술에는 GSM(Global System for Mobile communication), CDMA(Code Division Multi Access), LTE(Long Term Evolution), 5G, WLAN(Wireless LAN), Wi-Fi(Wireless-Fidelity), 블루투스(Bluetooth쪠), RFID(Radio Frequency Identification), 적외선 통신(Infrared Data Association; IrDA), ZigBee, NFC(Near Field Communication) 등이 있을 수 있다. The communication unit 920 is a device for performing wired/wireless communication and can communicate with external electronic devices. The external electronic device may be a terminal or server. In addition, communication technologies used by the communication unit 920 include Global System for Mobile communication (GSM), Code Division Multi Access (CDMA), Long Term Evolution (LTE), 5G, Wireless LAN (WLAN), and Wireless-Fidelity (Wi-Fi). ), Bluetooth, RFID (Radio Frequency Identification), Infrared Data Association (IrDA), ZigBee, NFC (Near Field Communication), etc.
제어부(960)는 전자 장치(100)의 전반의 동작을 제어하고 데이터 및 신호를 처리할 수 있다. 제어부(960)는 적어도 하나의 하드웨어 유닛으로 구성될 수 있다. 또한, 제어부(960)는 메모리(940)에 저장된 프로그램 코드를 실행하여 생성되는 하나 이상의 소프트웨어 모듈에 의해 동작할 수 있다. 제어부(960)는 프로세서 및 메모리를 포함할 수 있는 바, 프로세서는 메모리에 저장된 프로그램 코드를 실행하여 전자 장치(100)의 전반의 동작을 제어하고 데이터 및 신호를 처리할 수 있다. 또한 실시 예에서 제어부(960)는 적어도 하나의 프로세서를 포함할 수 있다. The control unit 960 can control the overall operation of the electronic device 100 and process data and signals. The control unit 960 may be composed of at least one hardware unit. Additionally, the control unit 960 may operate by one or more software modules generated by executing program codes stored in the memory 940. The control unit 960 may include a processor and a memory, and the processor may execute program codes stored in the memory to control the overall operation of the electronic device 100 and process data and signals. Additionally, in an embodiment, the control unit 960 may include at least one processor.
제어부(960)는 제1 단말로부터 쉽먼트에 대한 상태 변경 요청을 획득하고, 제1 데이터베이스에서 쉽먼트에 대응하는 제1 주문을 확인하고, 제1 쉽먼트에 대한 상태 변경 요청에 대응하여 제1 주문이 설정된 상태로 변경되는지 확인하고, 주문이 설정된 상태로 변경되면, 제1 주문과 관련된 데이터를 제1 데이터베이스에서 삭제할 수 있다. The control unit 960 obtains a status change request for the shipment from the first terminal, checks the first order corresponding to the shipment in the first database, and places the first order in response to the status change request for the first shipment. It is checked whether the order is changed to the set state, and if the order is changed to the set state, data related to the first order can be deleted from the first database.
전술한 실시 예들에 따른 전자 장치는 프로세서, 프로그램 데이터를 저장하고 실행하는 메모리, 디스크 드라이브와 같은 영구 저장부(permanent storage), 외부 장치와 통신하는 통신 포트, 터치 패널, 키(key), 버튼 등과 같은 사용자 인터페이스 장치 등을 포함할 수 있다. 소프트웨어 모듈 또는 알고리즘으로 구현되는 방법들은 상기 프로세서상에서 실행 가능한 컴퓨터가 읽을 수 있는 코드들 또는 프로그램 명령들로서 컴퓨터가 읽을 수 있는 기록 매체 상에 저장될 수 있다. 여기서 컴퓨터가 읽을 수 있는 기록 매체로 마그네틱 저장 매체(예컨대, ROM(read-only memory), RAM(random-Access memory), 플로피 디스크, 하드 디스크 등) 및 광학적 판독 매체(예컨대, 시디롬(CD-ROM), 디브이디(DVD: Digital Versatile Disc)) 등이 있다. 컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템들에 분산되어, 분산 방식으로 컴퓨터가 판독 가능한 코드가 저장되고 실행될 수 있다. 매체는 컴퓨터에 의해 판독 가능하며, 메모리에 저장되고, 프로세서에서 실행될 수 있다. The electronic device according to the above-described embodiments includes a processor, memory for storing and executing program data, permanent storage such as a disk drive, a communication port for communicating with an external device, a touch panel, keys, buttons, etc. It may include the same user interface device, etc. Methods implemented as software modules or algorithms may be stored on a computer-readable recording medium as computer-readable codes or program instructions executable on the processor. Here, computer-readable recording media include magnetic storage media (e.g., ROM (read-only memory), RAM (random-access memory), floppy disk, hard disk, etc.) and optical read media (e.g., CD-ROM). ), DVD (Digital Versatile Disc), etc. The computer-readable recording medium is distributed among computer systems connected to a network, so that computer-readable code can be stored and executed in a distributed manner. The media may be readable by a computer, stored in memory, and executed by a processor.
본 실시 예는 기능적인 블록 구성들 및 다양한 처리 단계들로 나타내어질 수 있다. 이러한 기능 블록들은 특정 기능들을 실행하는 다양한 개수의 하드웨어 또는/및 소프트웨어 구성들로 구현될 수 있다. 예를 들어, 실시 예는 하나 이상의 마이크로프로세서들의 제어 또는 다른 제어 장치들에 의해서 다양한 기능들을 실행할 수 있는, 메모리, 프로세싱, 로직(logic), 룩 업 테이블(look-up table) 등과 같은 직접 회로 구성들을 채용할 수 있다. 구성 요소들이 소프트웨어 프로그래밍 또는 소프트웨어 요소들로 실행될 수 있는 것과 유사하게, 본 실시 예는 데이터 구조, 프로세스들, 루틴들 또는 다른 프로그래밍 구성들의 조합으로 구현되는 다양한 알고리즘을 포함하여, C, C++, 자바(Java), 어셈블러(assembler) 등과 같은 프로그래밍 또는 스크립팅 언어로 구현될 수 있다. 기능적인 측면들은 하나 이상의 프로세서들에서 실행되는 알고리즘으로 구현될 수 있다. 또한, 본 실시 예는 전자적인 환경 설정, 신호 처리, 및/또는 데이터 처리 등을 위하여 종래 기술을 채용할 수 있다. "매커니즘", "요소", "수단", "구성"과 같은 용어는 넓게 사용될 수 있으며, 기계적이고 물리적인 구성들로서 한정되는 것은 아니다. 상기 용어는 프로세서 등과 연계하여 소프트웨어의 일련의 처리들(routines)의 의미를 포함할 수 있다.This embodiment can be represented by functional block configurations and various processing steps. These functional blocks may be implemented in various numbers of hardware or/and software configurations that execute specific functions. For example, embodiments include integrated circuit configurations such as memory, processing, logic, look-up tables, etc. that can execute various functions under the control of one or more microprocessors or other control devices. can be hired. Similar to how the components can be implemented as software programming or software elements, the present embodiments include various algorithms implemented as combinations of data structures, processes, routines or other programming constructs, such as C, C++, Java ( It can be implemented in a programming or scripting language such as Java), assembler, etc. Functional aspects may be implemented as algorithms running on one or more processors. Additionally, this embodiment may employ conventional technologies for electronic environment settings, signal processing, and/or data processing. Terms such as “mechanism,” “element,” “means,” and “configuration” may be used broadly and are not limited to mechanical and physical configurations. The term may include the meaning of a series of software routines in connection with a processor, etc.
전술한 실시 예들은 일 예시일 뿐 후술하는 청구항들의 범위 내에서 다른 실시 예들이 구현될 수 있다.The above-described embodiments are merely examples and other embodiments may be implemented within the scope of the claims described below.

Claims (15)

  1. 전자 장치의 데이터베이스 관리 방법으로서,A method for managing a database of an electronic device, comprising:
    제1 단말로부터 쉽먼트(shipment)에 대한 상태(status) 변경 요청을 획득하는 단계;Obtaining a status change request for a shipment from a first terminal;
    제1 데이터베이스에서 상기 쉽먼트에 대응하는 제1 주문을 확인하는 단계; verifying a first order corresponding to the shipment in a first database;
    상기 쉽먼트에 대한 상태 변경 요청에 대응하여 상기 제1 주문이 설정된 상태로 변경되는지 확인하는 단계; 및confirming whether the first order is changed to a set state in response to a status change request for the shipment; and
    상기 제1 주문이 설정된 상태로 변경되면, 상기 제1 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계를 포함하는, 데이터베이스 관리 방법When the first order is changed to the set state, a database management method comprising deleting data related to the first order from the first database.
  2. 제1 항에 있어서, 상기 제1 주문이 설정된 상태로 변경되는지 확인하는 단계는,The method of claim 1, wherein the step of checking whether the first order is changed to the set state is,
    상기 제1 주문에 관한 메시지를 제1 리스트에 적재하는 단계;loading a message about the first order into a first list;
    상기 제1 주문에 관한 메시지가 상기 제1 리스트에 적재된 순서에 기초하여, 상기 제1 주문에 대응하는 모든 쉽먼트의 상태를 확인하는 단계; 및Checking the status of all shipments corresponding to the first order based on the order in which the message about the first order is loaded in the first list; and
    상기 제1 주문에 대응하는 모든 쉽먼트의 상태에 기초하여, 상기 제1 주문의 상태를 유지 또는 변경하는 단계를 포함하는, 데이터베이스 관리 방법.A database management method comprising maintaining or changing the status of the first order based on the status of all shipments corresponding to the first order.
  3. 제2 항에 있어서,According to clause 2,
    상기 설정된 상태는 완료 상태 또는 취소 상태를 포함하고,The set state includes a completed state or a canceled state,
    대응하는 모든 쉽먼트가 출고 상태인 경우, 상기 제1 주문은 상기 완료 상태로 변경되고,If all corresponding shipments are in the shipped status, the first order is changed to the completed status,
    대응하는 모든 쉽먼트가 취소 상태인 경우, 상기 제1 주문은 상기 취소 상태로 변경되는, 데이터베이스 관리 방법.If all corresponding shipments are in a canceled state, the first order is changed to the canceled state.
  4. 제1 항에 있어서, 상기 쉽먼트에 대한 상태 변경 요청은,The method of claim 1, wherein the status change request for the shipment is,
    상기 쉽먼트의 출고 상태로의 변경 요청을 포함하는, 데이터베이스 관리 방법.A database management method including a request to change the shipment status of the shipment.
  5. 제1 항에 있어서, 상기 제1 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계는,The method of claim 1, wherein deleting data related to the first order from the first database comprises:
    상기 설정된 상태로 변경된 제1 주문에 관한 메시지를 제2 리스트에 적재하는 단계; 및Loading a message about the first order changed to the set state into a second list; and
    설정된 시간마다 제2 리스트에 포함된 적어도 하나의 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계를 포함하는, 데이터베이스 관리 방법.A database management method comprising deleting data related to at least one order included in a second list from the first database at a set time.
  6. 제1 항에 있어서, 상기 제1 주문과 관련된 데이터는,The method of claim 1, wherein the data related to the first order is:
    제1 주문 데이터;first order data;
    상기 제1 주문 데이터에 포함된 하나 이상의 쉽먼트 데이터; 및one or more shipment data included in the first order data; and
    상기 하나 이상의 쉽먼트 데이터 각각에 포함된 하나 이상의 아이템 데이터를 포함하는, 데이터베이스 관리 방법.A database management method including one or more item data included in each of the one or more shipment data.
  7. 제5 항에 있어서, 상기 적어도 하나의 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계는,The method of claim 5, wherein deleting data related to the at least one order from the first database comprises:
    상기 적어도 하나의 주문에 대응하는 제1 배치(batch)를 확인하는 단계; 및identifying a first batch corresponding to the at least one order; and
    상기 제1 배치에 대응하는 모든 주문과 관련된 데이터가 삭제된 경우, 상기 제1 배치와 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계를 포함하고,If data related to all orders corresponding to the first batch have been deleted, deleting data related to the first batch from the first database,
    배치는 적어도 하나의 쉽먼트를 포함하는 집품(picking) 단위인, 데이터베이스 관리 방법.A database management method wherein a batch is a picking unit containing at least one shipment.
  8. 제7 항에 있어서, 상기 제1 배치와 관련된 데이터는,The method of claim 7, wherein data related to the first batch is:
    제1 배치 데이터;first batch data;
    상기 제1 배치 데이터에 포함된 하나 이상의 배치 잡(batch job) 데이터;One or more batch job data included in the first batch data;
    상기 하나 이상의 배치 잡 데이터 각각에 포함된 하나 이상의 그룹화된 집품(picking) 데이터; 및One or more grouped picking data included in each of the one or more batch job data; and
    상기 하나 이상의 그룹화된 집품 데이터 각각에 포함된 하나 이상의 집품 데이터를 포함하는, 데이터베이스 관리 방법.A database management method comprising one or more collection data included in each of the one or more grouped collection data.
  9. 제1 항에 있어서, 상기 데이터베이스 관리 방법은,The method of claim 1, wherein the database management method includes:
    제2 단말로부터 제2 주문에 대한 취소 상태로의 변경 요청을 획득하는 단계; 및Obtaining a request to change the cancellation status for the second order from the second terminal; and
    상기 제2 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계를 더 포함하는, 데이터베이스 관리 방법.Database management method further comprising deleting data related to the second order from the first database.
  10. 제1 항에 있어서, 상기 제1 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는 단계는,The method of claim 1, wherein deleting data related to the first order from the first database comprises:
    상기 제1 주문과 관련된 데이터의 백업 필요 여부를 확인하는 단계; 및determining whether data related to the first order needs to be backed up; and
    상기 제1 주문과 관련된 데이터를 백업하는 것으로 확인된 경우, 상기 제1 주문과 관련된 데이터를 제2 데이터베이스에 저장하고 상기 제1 데이터베이스에서 삭제하는 단계를 포함하는, 데이터베이스 관리 방법.When it is confirmed that data related to the first order is backed up, storing the data related to the first order in a second database and deleting it from the first database.
  11. 제1 항에 있어서, 상기 데이터베이스 관리 방법은,The method of claim 1, wherein the database management method includes:
    센터 관리 시스템에 대한 설정 변경 요청을 획득하는 단계;Obtaining a setting change request for the center management system;
    상기 제1 데이터베이스에 저장된 센터 관리 시스템의 설정 데이터의 백업 여부를 확인하는 단계; 및Checking whether the setting data of the center management system stored in the first database is backed up; and
    상기 확인 결과에 기초하여, 상기 설정 데이터를 백업 또는 삭제하는 단계를 더 포함하는, 데이터베이스 관리 방법.Based on the confirmation result, the database management method further includes backing up or deleting the setting data.
  12. 제11 항에 있어서, 상기 설정 데이터를 백업 또는 삭제하는 단계는,The method of claim 11, wherein backing up or deleting the setting data includes:
    상기 설정 데이터를 백업하는 것으로 확인된 경우, 상기 설정 데이터를 제3 데이터베이스에 저장하고 상기 제1 데이터베이스에서 삭제하는 단계; 및If it is confirmed that the setting data is backed up, storing the setting data in a third database and deleting it from the first database; and
    설정된 시간 이후, 상기 설정 데이터를 상기 제3 데이터베이스에서 삭제하는 단계를 포함하는, 데이터베이스 관리 방법.A database management method comprising deleting the setting data from the third database after a set time.
  13. 제11 항에 있어서, 상기 설정 데이터를 백업 또는 삭제하는 단계는,The method of claim 11, wherein backing up or deleting the setting data includes:
    상기 설정 데이터를 삭제하는 것으로 확인된 경우, 상기 설정 데이터를 상기 제1 데이터베이스에서 삭제하는 단계를 포함하는, 데이터베이스 관리 방법.When it is confirmed that the setting data is to be deleted, a database management method comprising deleting the setting data from the first database.
  14. 제1 항의 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 비일시적 기록매체. A non-transitory computer-readable recording medium that records a program for executing the method of claim 1 on a computer.
  15. 전자 장치로서,As an electronic device,
    통신부; Ministry of Communications;
    메모리; 및 Memory; and
    제어부(controller)를 포함하고, 상기 제어부는,It includes a controller, wherein the controller includes:
    제1 단말로부터 쉽먼트(shipment)에 대한 상태(status) 변경 요청을 획득하고,Obtaining a status change request for a shipment from the first terminal,
    제1 데이터베이스에서 상기 쉽먼트에 대응하는 제1 주문을 확인하고,Checking the first order corresponding to the shipment in the first database,
    상기 제1 쉽먼트에 대한 상태 변경 요청에 대응하여 상기 제1 주문이 설정된 상태로 변경되는지 확인하고,Verify that the first order is changed to the set state in response to a status change request for the first shipment,
    상기 주문이 설정된 상태로 변경되면, 상기 제1 주문과 관련된 데이터를 상기 제1 데이터베이스에서 삭제하는, 전자 장치.When the order is changed to a set state, the electronic device deletes data related to the first order from the first database.
PCT/KR2022/008607 2022-06-14 2022-06-17 Electronic apparatus and database management method thereof WO2023243750A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2022-0072291 2022-06-14
KR1020220072291A KR20230171757A (en) 2022-06-14 2022-06-14 Electronic apparatus and managing database method thereof

Publications (1)

Publication Number Publication Date
WO2023243750A1 true WO2023243750A1 (en) 2023-12-21

Family

ID=89191524

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/008607 WO2023243750A1 (en) 2022-06-14 2022-06-17 Electronic apparatus and database management method thereof

Country Status (3)

Country Link
KR (1) KR20230171757A (en)
TW (1) TW202349295A (en)
WO (1) WO2023243750A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306621A (en) * 2000-04-25 2001-11-02 Canon Inc Data processing method
JP2003006021A (en) * 2001-06-27 2003-01-10 Hitachi Ltd Data base system, data base managing method and program
JP2004059164A (en) * 2002-07-24 2004-02-26 Nec Corp Article delivery management method
KR20080100154A (en) * 2008-10-27 2008-11-14 노형하 Order and delivery processing system and its method using order and delivery combination management server
JP5361278B2 (en) * 2008-08-08 2013-12-04 キヤノン株式会社 Image management apparatus, server computer, image management method, and computer program
KR20210033157A (en) * 2019-09-18 2021-03-26 비비엠씨 (주) Order and payment system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306621A (en) * 2000-04-25 2001-11-02 Canon Inc Data processing method
JP2003006021A (en) * 2001-06-27 2003-01-10 Hitachi Ltd Data base system, data base managing method and program
JP2004059164A (en) * 2002-07-24 2004-02-26 Nec Corp Article delivery management method
JP5361278B2 (en) * 2008-08-08 2013-12-04 キヤノン株式会社 Image management apparatus, server computer, image management method, and computer program
KR20080100154A (en) * 2008-10-27 2008-11-14 노형하 Order and delivery processing system and its method using order and delivery combination management server
KR20210033157A (en) * 2019-09-18 2021-03-26 비비엠씨 (주) Order and payment system

Also Published As

Publication number Publication date
KR20230171757A (en) 2023-12-21
TW202349295A (en) 2023-12-16

Similar Documents

Publication Publication Date Title
WO2022119035A1 (en) Distribution management method and electronic apparatus therefor
WO2022131434A1 (en) Logistics information management method and electronic device performing same
WO2022131435A1 (en) Electronic device for managing transfer of items, and information management method therefor
WO2021167187A1 (en) Electronic device for inventory management and method for operating same
WO2022050456A1 (en) Electronic device and information provision method thereof
WO2023182553A1 (en) Electronic device for processing shipment information of distribution center and method therefor
WO2021167184A1 (en) Electronic device and method for operating same
WO2022119036A1 (en) Electronic device for managing export from warehouse and method for controlling same
WO2023195558A1 (en) Method for managing item picking information and device therefor
WO2023008636A1 (en) Information providing method and electronic device using same
WO2023171846A1 (en) Logistics processing system, logistics processing apparatus, logistics processing information provision method
WO2021141294A1 (en) Data archiving method and system using hybrid storage of data
WO2022169026A1 (en) Method and device for providing information about whether product can be ordered
WO2023167365A1 (en) Method for allocating slot for item delivery machine according to allocation request of item supplier terminal in fulfillment center, and apparatus therefor
WO2023243750A1 (en) Electronic apparatus and database management method thereof
WO2023042949A1 (en) Electronic device for providing item information, and method therefor
WO2021167183A1 (en) Electronic device for conveying product and operation method therefor
WO2022139049A1 (en) Electronic device for managing work information, and method therefor
WO2021157793A1 (en) Method for controlling conveyor and electronic device therefor
WO2022030671A1 (en) Electronic device for providing item collection information and method thereof
WO2022139053A1 (en) Method for providing article-related information and electronic device using same
WO2023200039A1 (en) Electronic device and operating method therefor
WO2019098428A1 (en) Erp function provision method using user-specific expandable management table, and erp function provision system for performing same
WO2023080284A1 (en) Method for providing information related to rental item, and electronic device using same
WO2021141293A1 (en) Data archiving method and system for minimizing cost of data transmission and retrieval

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22946956

Country of ref document: EP

Kind code of ref document: A1