Electronic device and method for managing policy related to electronic commerce service

The system allows for the definition and management of e-commerce policies using natural language, addressing the complexity of conventional coding requirements and improving predictability by using a centralized server and natural language processing to generate and apply policy commands effectively.

WO2024248207A1PCT designated stage expired Publication Date: 2024-12-05COUPANG CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2023/008103
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-02
Filing Date
2023-06-13
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

Conventional methods for defining policies related to e-commerce services require coding expertise, making it difficult for non-developers to create and understand policies, and predicting the effects of generated policies is challenging.

Method used

Enabling policies to be defined using natural language, with a system that processes text inputs to generate tree-structured policy commands, verifies requests against these commands, and provides responses based on the latest policies, using a centralized server and natural language processing models.

Benefits of technology

Facilitates easy definition, management, and understanding of e-commerce policies by non-technical users, ensuring accurate and efficient policy application and response generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2023008103_05122024_PF_FP_ABST
    Figure KR2023008103_05122024_PF_FP_ABST
Patent Text Reader

Abstract

The method for managing a policy related to an electronic commerce service in an electronic device according to an embodiment of the present disclosure includes the steps of: identifying a text input transmitted from a terminal, which contains policy information related to the electronic commerce service; generating a tree-structured policy command on the basis of the text input; obtaining a request associated with the electronic commerce service; checking whether the request corresponds to the policy command; and transmitting a response to the request on the basis of the policy command if the request corresponds to the policy command.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic devices and methods for managing policies related to e-commerce services

[0001] The present disclosure relates to a technology for managing policies related to e-commerce services.

[0002] Technological advancements have enabled e-commerce to offer a variety of services, including shopping. Customers can purchase products online without having to visit a physical shopping mall or market. Systems related to e-commerce services manage and sell a wide variety of products, requiring diverse policies. System administrators define and apply various policies to their services to efficiently manage and sell diverse products.

[0003] Traditionally, defining service-related policies required developers to code policy information. Non-developers, who were not capable of coding, found it difficult to define new policies and understand the policies already defined. Furthermore, it was difficult to predict the outcomes (or effects) of the policies created.

[0004] According to one embodiment of the present disclosure, a technical problem is to enable policies related to e-commerce services to be easily defined using text (or natural language).

[0005] According to one embodiment of the present disclosure, a technical problem is to manage policies related to e-commerce services in a centralized system, and to provide responses according to the latest policies in response to requests related to e-commerce services.

[0006] A method for managing a policy related to an e-commerce service in an electronic device according to one embodiment of the present disclosure may include: a step of confirming a text input including policy information related to the e-commerce service from a terminal; a step of generating a policy command in a tree structure based on the text input; a step of obtaining a request related to the e-commerce service; a step of confirming whether the request corresponds to the policy command; and a step of transmitting a response to the request based on the policy command if the request corresponds to the policy command.

[0007] According to one embodiment, the policy command of the tree structure can be obtained from a natural language processing model using the first API based on the text input.

[0008] The step of verifying whether the request corresponds to the policy command according to one embodiment may include: verifying request information included in the request and requester information related to the request; verifying whether at least one node corresponding to the request information and the requester information exists among a plurality of nodes included in the policy command; and determining, in response to the presence of the at least one node, that the request corresponds to the policy command.

[0009] The step of determining whether the request corresponds to the policy command according to one embodiment may further include a step of determining, in response to the at least one node not existing, that the request does not correspond to the policy command, and the method for managing the policy may further include a step of determining at least one policy command corresponding to the request among a plurality of policy commands stored in a database; and a step of transmitting a response to the request based on the at least one policy command.

[0010] A method for managing a policy according to one embodiment may further include a step of converting a policy command of the tree structure into a policy command in a serialized form by serializing the policy command; and a step of storing the policy command in the serialized form in a database.

[0011] The step of verifying whether the request corresponds to the policy command according to one embodiment may include the step of calling the policy command in a serialized form stored in the database; and the step of converting the policy command in the serialized form into a policy command in the tree structure by deserializing the policy command.

[0012] The step of calling the policy command in the serialized form stored in the database according to one embodiment may be a step of calling the policy command in the serialized form stored in the database using a second API.

[0013] According to one embodiment, the database may be a distributed version control system.

[0014] A method for managing a policy according to one embodiment may further include the steps of: verifying user information corresponding to the text input; and storing the verified user information together with the policy command and version information of the policy command in the database.

[0015] A method for managing a policy according to one embodiment may further include the steps of: receiving a request for a change in the policy command from the terminal; and transmitting version information of the policy command and the user information to the terminal.

[0016] The natural language processing model according to one embodiment may be a program that generates data in a tree structure by parsing text composed of natural language when the text is input.

[0017] A method for managing a policy according to one embodiment may further include: receiving a simulation request for the policy information from the terminal; performing a simulation for the policy information based on data related to the e-commerce service stored in a database; and transmitting a result of the simulation to the terminal.

[0018] A method for managing a policy according to one embodiment comprises: verifying whether an error exists in the text input; generating a recommended text without the error based on the text input and a plurality of policy commands previously stored in a database in response to determining that an error exists in the text input; and transmitting the recommended text to the terminal.

[0019] The verifying step according to one embodiment may be a step of verifying whether there is a grammatical error in the text input or whether a required configuration for generating the policy command is missing.

[0020] An electronic device according to one embodiment of the present disclosure includes: a communication circuit communicatively connected to a terminal; a database storing a plurality of policy commands related to an e-commerce service; one or more processors; and one or more memories storing one or more instructions, wherein the one or more processors are configured to execute the one or more instructions to: confirm a text input including policy information related to the e-commerce service from the terminal, generate a policy command in a tree structure based on the text input, obtain a request related to the e-commerce, confirm whether the request corresponds to the policy command, and, if the request corresponds to the policy command, transmit a response to the request based on the policy command.

[0021] According to one embodiment of the present disclosure, policies related to e-commerce services can be easily defined using text (or natural language).

[0022] According to one embodiment of the present disclosure, policies related to e-commerce services can be collectively managed in a systemized central server, and response values ​​according to the latest policies can be provided in response to requests related to e-commerce services.

[0023] FIG. 1 is a block diagram of an electronic device according to one embodiment of the present disclosure.

[0024] FIG. 2 is a schematic diagram of a system providing an e-commerce service according to one embodiment of the present disclosure.

[0025] FIG. 3 is a processing flowchart of an electronic device according to one embodiment of the present disclosure.

[0026] FIG. 4 is a diagram illustrating a process for defining a policy according to one embodiment of the present disclosure.

[0027] FIG. 5 is a diagram illustrating a process for generating a response corresponding to a request according to one embodiment of the present disclosure.

[0028] FIG. 6 is a processing flowchart of an electronic device according to one embodiment of the present disclosure.

[0029] The terms used in the embodiments have been selected from widely used and common terms, taking into account the functions of the present disclosure. However, these terms may vary depending on the intentions of those skilled in the art, precedents, the emergence of new technologies, etc. Furthermore, in certain cases, terms may be arbitrarily selected by the applicant, in which case their meanings will be described in detail in the relevant description. Therefore, the terms used in this disclosure should not be defined simply as names of terms, but rather based on the meanings of the terms and the overall content of the present disclosure.

[0030] When a part of the specification is said to "include" a component, this does not exclude other components, but rather implies the inclusion of other components, unless otherwise specifically stated. Furthermore, terms such as "part" and "module" used in the specification mean a unit that processes at least one function or operation, which may be implemented in hardware, software, or a combination of hardware and software.

[0031] The expression "at least one of a, b, and c" described throughout the specification may encompass 'a alone', 'b alone', 'c alone', 'a and b', 'a and c', 'b and c', or 'all of a, b, and c'.

[0032] The "terminal" mentioned below may be implemented as a computer or portable terminal that can connect to a server or other terminal via a network. Here, the computer includes, for example, a notebook, desktop, laptop, etc. equipped with a web browser, and the portable terminal may include, for example, a wireless communication device that guarantees portability and mobility, and may include all types of handheld-based wireless communication devices such as communication-based terminals such as IMT (International Mobile Telecommunication), CDMA (Code Division Multiple Access), W-CDMA (W-Code Division Multiple Access), LTE (Long Term Evolution), smartphones, tablet PCs, etc.

[0033] Below, embodiments of the present disclosure are described in detail with reference to the attached drawings so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein.

[0034] Hereinafter, embodiments of the present invention will be described in detail with reference to the attached drawings.

[0035] In describing the embodiments, descriptions of technical details that are well-known in the technical field to which the present invention pertains and are not directly related to the present invention will be omitted. This is to avoid obscuring the gist of the present invention by omitting unnecessary explanations and to convey it more clearly.

[0036] For the same reason, some components in the attached drawings are exaggerated, omitted, or schematically depicted. Furthermore, the dimensions of each component do not entirely reflect its actual size. Identical or corresponding components in each drawing are assigned the same reference numbers.

[0037] The advantages and features of the present invention, and the methods for achieving them, will become clearer with reference to the embodiments described in detail below together with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below and may be implemented in various different forms. These embodiments are provided only to ensure that the disclosure of the present invention is complete and to fully inform those skilled in the art of the scope of the invention, and the present invention is defined only by the scope of the claims. Like reference numerals designate like elements throughout the specification.

[0038] At this time, it will be understood that each block of the processing flow diagrams and combinations of the flow diagrams can be performed by computer program instructions. These computer program instructions can be installed in a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing equipment, so that the instructions executed by the processor of the computer or other programmable data processing equipment create a means for performing the functions described in the flow diagram block(s). These computer program instructions can also be stored in a computer-available or computer-readable memory that can direct a computer or other programmable data processing equipment to implement the functions in a specific manner, so that the instructions stored in the computer-available or computer-readable memory can also produce a manufactured item that includes an instruction means for performing the functions described in the flow diagram block(s). Since the computer program instructions may be installed on a computer or other programmable data processing device, a series of operational steps may be performed on the computer or other programmable data processing device to create a computer-executable process, and the instructions that cause the computer or other programmable data processing device to perform the steps for performing the functions described in the flowchart block(s) may also provide steps for performing the functions described in the flowchart block(s).

[0039] Additionally, each block may represent a module, segment, or portion of code that contains one or more executable instructions for performing a specific logical function(s). It should also be noted that in some alternative implementation examples, the functions described in the blocks may occur out of order. For example, two blocks depicted in succession may actually be executed substantially concurrently, or the blocks may sometimes be executed in reverse order, depending on their respective functions.

[0040] FIG. 1 is a block diagram of an electronic device (100) according to one embodiment of the present disclosure. The electronic device (100) may be a server operating an e-commerce service. The electronic device (100) may be a device that acquires various information related to the service and provides the information to another device (e.g., a terminal (not shown)). The electronic device (100) may be connected to the terminal in communication with the terminal to transmit and receive various information.

[0041] Referring to FIG. 1, an electronic device (100) according to one embodiment may include a processor (110), a memory (120), a communication circuit (130), and a database (140). At least one of the components included in the electronic device (100) may be omitted, or another component may be added to the electronic device (100). Additionally or alternatively, some of the components may be implemented in an integrated manner, or may be implemented as a single or multiple entities. At least some of the components within the electronic device (100) may be connected to each other via a bus, a general purpose input / output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI), and may exchange data and / or signals.

[0042] According to one embodiment, the processor (110) of the electronic device (100) is a component that can perform calculations or data processing related to control and / or communication of each component of the electronic device (100), and can be operatively connected to the components of the electronic device (100). The processor (110) can load commands or data received from other components of the electronic device (100) into the memory (120), process the commands or data stored in the memory (120), and store result data. The memory (120) of the electronic device (100) according to one embodiment can store various data used by at least one component (e.g., the processor (110)). The memory (120) can store instructions for the operation of the processor (110) described above. The program can be stored as software in the memory (120) and can include, for example, an operating system, middleware, or an application.

[0043] According to one embodiment, the communication circuit (130) of the electronic device (100) can establish a wired or wireless communication channel with an external device (e.g., a terminal) and transmit and receive various data with the external device. The communication circuit (130) can include at least one port for connecting to the external device via a wired cable in order to communicate with the external device via a wire. The communication circuit (130) can be configured to be connected to a cellular network (e.g., 3G, LTE, 5G, Wibro, or Wimax) by including a cellular communication module. According to one embodiment, the communication circuit (130) can include a short-range communication module to transmit and receive data with the external device using short-range communication (e.g., Wi-Fi, Bluetooth, Bluetooth Low Energy (BLE), UWB), but is not limited thereto.

[0044] According to one embodiment, a database (140) can store various information (or data) under the control of a processor (110). The database (140) can store various policy commands related to e-commerce services. The database (140) can be a distributed version control system. The database (140) can be a fully managed ledger database (quantum ledger database). The database (140) can be, for example, Git.

[0045] Policy commands are data regarding policies applied to a service, and may be data in a tree structure. The term "policy information" used in this document refers to policies written in natural language text, and "policy commands" may refer to data in a tree structure generated from the policy information written in such text. A policy command in a tree structure consists of multiple nodes and multiple edges connecting the nodes.

[0046] In this embodiment, the database (140) is described as being included in the electronic device (100), but it is not limited thereto, and the database (140) may be implemented outside the electronic device (100) to exchange various data with the electronic device (100).

[0047] An electronic device (100) according to one embodiment can manage policies related to e-commerce services. This document focuses on policies internally applied to operate e-commerce services, but is not limited thereto. Various embodiments disclosed herein can also be applied to promotions applied to customers using the service.

[0048] FIG. 2 is a schematic diagram of a system providing an e-commerce service according to one embodiment of the present disclosure.

[0049] Referring to FIG. 2, the electronic device (100) stores various policy commands related to e-commerce services, and when a request related to the e-commerce service is received, the electronic device (100) can call a policy corresponding to the request and calculate a response corresponding to the request. A consumer can transmit a request (or transaction) related to the e-commerce service to the electronic device (100). For example, the consumer can request a fee or discount rate related to the e-commerce service through an external terminal (210). For example, when a consumer completes payment for a specific product, a payment completion transaction occurs on the external terminal, and the electronic device (100) can request a fee for the payment. In this document, the consumer may also be referred to as a requester. The consumer may be a seller of a specific product.

[0050] An electronic device (100) according to one embodiment may include a calculation module (111) and a processing module (113). The calculation module (111) may be a software module that, when a request related to an e-commerce service occurs, checks a policy (policy command) corresponding to the request and generates a response to the request based on the corresponding policy. The calculation module (111) may be a software module included in the processor (110) of the electronic device (100). When a request related to an e-commerce service is obtained from a requester (i.e., a transaction related to an e-commerce service is obtained), the request may be transmitted from the requester (e.g., the requester's terminal) to the calculation module (111). The calculation module (111) may include a plurality of sub-calculation modules. The plurality of sub-calculation modules may include, for example, a storage fee calculation module, a transaction fee calculation module, a fulfillment fee calculation module, a warehouse fee calculation module, an inventory compensation fee calculation module, and a customer return fee calculation module.

[0051] The calculation module (111) can call (verify) a policy command corresponding to the request from the database (140) and generate a response (response value) to the request based on the called policy command. The calculation module (111) can check the request information included in the request and the requester's information related to the request in order to confirm whether a specific policy command is a policy command corresponding to the request. That is, the calculation module (111) can confirm who the requester is and what information the requester has requested. The calculation module (111) can check whether at least a node corresponding to the confirmed request information and the requester's information exists among a plurality of nodes included in the policy command of the tree structure. The calculation module (111) can generate and transmit a response to the request based on the policy command corresponding to the request. For example, the calculation module (111) can calculate a fee using the policy command corresponding to the request and transmit the calculated fee to the requester as a response to the request.

[0052] For example, if a customer pays for a product included in the consumer goods category, a payment completion transaction for the product occurs at the seller of the product, and order information for the product is transmitted to the calculation module (111) of the electronic device (100). The calculation module (111) can call (verify) a policy command related to fees applicable to the consumer goods category among a plurality of policy commands stored in the database (140). The calculation module (111) can calculate a response value based on the policy command related to fees applicable to the consumer goods category, and transmit the calculated response value to the seller.

[0053] For example, if a consumer interested in product storage wants to check the storage fee, the consumer can request the storage fee using an electronic device (100). The calculation module (111) can call (check) a policy command related to the storage fee among multiple policy commands and calculate the storage fee based on the policy command related to the storage fee. The calculation module (111) can then transmit the calculated storage fee to the consumer.

[0054] In one embodiment, there may be two or more policy commands corresponding to the acquired request. In this case, the calculation module (111) may calculate a response value based on each of the two or more policy commands corresponding to the acquired request. The calculation module (111) may request the aggregation of the response values ​​while transmitting the two or more calculated response values ​​to the processing module (113).

[0055] The processing module (113) according to one embodiment may include an aggregation module (113a). The aggregation module (113a) may be a software module that aggregates response values ​​received from the calculation module (111). When the aggregation module (113a) receives a request to aggregate response values ​​from the processing module (113), it may aggregate the received response values. The aggregation module (113a) may store the aggregated response values ​​in the main database (140). The main database (140) may be a distributed version control system.

[0056] The processing module (113) according to one embodiment may include an auditing module (113b). The auditing module (113b) may be a software module that audits whether the response value stored in the main database (141) is appropriate. The auditing module (113b) may audit whether the response value generated according to a policy is appropriate by comparing the response value with the original data source. The original data source may include the results of past transactions. The auditing module (113b) may audit whether the response value is appropriate before transmitting the response value to the requester.

[0057] In addition, the audit module (113b) can audit policies by applying existing transactions to policy commands stored in the main database (141) and thereby verifying whether the policy commands are appropriate. For example, for a newly defined policy command, the audit module (113b) can audit whether the policy command is appropriate by verifying whether the result of applying the policy command to a transaction performed in the past results in a large error (e.g., whether a large loss occurs) compared to the existing policy.

[0058] According to one embodiment, the first and second sub-databases (143, 145) may be sub-databases for distributing and redundantly storing data to enhance search capabilities and perform auditing. Information stored in the main database (141) may be stored in the first and second sub-databases (143, 145).

[0059] According to one embodiment, the temporary workflow engine (113c) may be an engine for orchestrating and executing the processes of various workers. For example, the temporary workflow engine (113c) may generate various activities, such as calculating storage fees and fulfillment fees, through multiple asynchronous processes that can be executed sequentially or in parallel. The temporary workflow engine (113c) manages the status of various workers and activities, so that even if a specific activity is interrupted, it can be restarted from the same point, preventing repetition of the same process.

[0060] In one embodiment, the sales management module (115) of the electronic device (100) may be configured to transmit policy-applied information to a third-party logistics (TPL) seller center. In one embodiment, the policy definition tool (117) may be an internal tool used by a user to define a new policy. The policy definition tool (117) may provide a user interface that allows the user to define a policy using text in natural language. A specific method for defining a policy using natural language will be described later.

[0061] FIG. 3 is a processing flowchart of an electronic device (100) according to one embodiment of the present disclosure.

[0062] Referring to the processing flowchart 300, the processor (110) of the electronic device (100) according to one embodiment may, in step 310, verify a text input including policy information related to an e-commerce service transmitted from a terminal (e.g., an external terminal (210) of FIG. 2). In order to define a policy applicable to the e-commerce service, a user may input policy information into the terminal using text in natural language. The terminal may transmit the text input including the policy information input by the user to the electronic device (100). The processor (110) may receive the text input including the policy information transmitted from the terminal via the communication circuit (130) and verify the received text input. Since the user may define a policy using natural language, policy creation and understanding are easy, and auditing and debugging are also easy.

[0063] To enable users to easily define policies, the electronic device (100) may provide an auto-completion function. The processor (110) may verify whether there are any errors in the text input containing policy information transmitted from the terminal. If the text input contains a grammatical error or a required configuration for generating a policy command is missing, the processor (110) may determine that the text input contains an error. For example, if the text input contains a typo of "take-late" instead of "take-rate," the processor (110) may determine that the text input contains a grammatical error. For example, if the text input does not contain date information for applying a policy, the processor may determine that the text input contains an error.

[0064] In response to determining that an error exists in a text input, the processor (110) may generate a recommended text that does not contain the error based on the text input and a plurality of policy commands previously stored in the database (140). The processor (110) may transmit the recommended text to the terminal. For example, if the text input does not include date information for applying a policy, the processor (110) may generate the recommended text by adding commonly used date information to the text input. The above-described auto-completion function allows the user to easily generate policy information.

[0065] According to one embodiment, the processor (110) may, in step 320, generate a policy command in a tree structure based on a text input. The processor (110) may generate a policy command in a tree structure based on the text input through a natural language processing model. That is, the processor (110) may input a text input including policy information into a natural language processing model, and generate a policy command in a tree structure output from the natural language processing model. The natural language processing model may be a program that generates data in a tree structure by parsing the text when text composed of natural language is input. Here, the data in the tree structure represents data in a hierarchical structure in the form of a tree, and may be expressed as a parse tree or a parsing tree. The data in the tree structure may include a plurality of nodes and edges connecting the plurality of nodes. The natural language processing model may be a natural language processing parser that analyzes the syntax of the text input according to grammar rules.

[0066] A method for generating a tree-structured policy command based on text input will be further described using FIG. 4. FIG. 4 is a diagram illustrating a process for defining a policy according to one embodiment of the present disclosure. Assume that a text input (401) containing policy information related to an e-commerce service transmitted from a terminal is "create promotion P to manage take-rate for sellers in the consumables category where date > '04 / 10 / 2023' and discount = 40%." That is, the text input (401) containing policy information can be composed in natural language as described above. The text input (401) may mean creating a promotion that provides a 40% discount on fees for sellers in the consumables category from April 10, 2023 onward. The processor (110) can transmit the text input (401) to the natural language processing parser (420) by calling the natural language processing parser (or natural language processing model) (420) through the API (first API, 410) of the control plane. That is, the policy command of the tree structure can be obtained from the natural language processing parser (420) using the API (first API, 410) of the control plane based on the text input (401). The natural language processing parser (420) can be a program that generates data of the tree structure by parsing the text when a text composed of natural language is input.

[0067] A natural language processing parser (420) can generate a policy command (403) in a tree structure based on a text input. The natural language processing parser (420) can extract various variables by parsing the text input (401) and generate a policy command (403) in a tree structure based on the variables. For example, the natural language processing parser (420) can generate a policy command (403) in a tree structure by setting the verb "create" extracted from the text input (401) as a root node, setting the nouns "promotion" and "take-rate" as nodes connected to the root node, and setting "consumable", "Discount = 40%", and "Date > '04 / 10 / 2023'" as leaf nodes.

[0068] The processor (110) can store the policy command (403) of the tree structure generated from the natural language processing parser (420) in the database (140). The processor (110) can convert the policy command (403) of the tree structure into the policy command (403) of the serialized form by serializing the policy command (403) of the tree structure, and can store the policy command of the serialized form in the database (140). Serialization may be an operation of changing the field value into a row of bytes in order to output the data to a file or network or to store it in the database (140). In other words, serialization may be an operation of converting the data into value format data. When the policy command (403) of the tree structure is serialized, it can be converted into meaningful value format data that can be parsed during storage or communication.

[0069] The processor (110) can verify user information corresponding to the text input (401). The processor (110) can store the verified user information together with the policy command (403) and the version information of the policy command in the database (140). In the above case, since the version information of the policy command (403) and the user information that defined the policy command (403) can be stored together with the policy command (403), the version of the policy command (403) and the user that defined the policy command (403) can be easily verified later. For example, the processor (110) can receive a request for changes to the policy command (403) from the terminal. In response to receiving the request, the processor (110) can verify the version information and user information of the policy command (403) and transmit them to the terminal.

[0070] Returning to FIG. 3, the processor (110) according to one embodiment may, at step 330, obtain a request related to an e-commerce service. The processor (110) may receive requests (or queries) related to the service from various consumers. The requests may be requests inquiring about specific values ​​related to the e-commerce service. For example, in relation to the e-commerce service, a request may be obtained from a seller in the consumer goods category inquiring about the commission applicable to the seller. Requests from consumers (sellers) may be primarily managed by an external server, and the external server may transmit the request to the electronic device (100).

[0071] In one embodiment, the processor (110) may, at step 340, verify whether the acquired request corresponds to the policy command. To verify whether the acquired request corresponds to the policy command, the processor (110) may verify request information included in the request and information of the requester related to the request. That is, the processor (110) may verify who the requester (e.g., seller) who sent the request is and what information is requested. For example, the processor (110) may verify that a request inquiring about a fee was sent from a seller belonging to the consumer goods category. The processor (110) may verify whether at least one node corresponding to the request information and the information of the requester exists among the plurality of nodes included in the policy command. For example, the processor (110) may verify whether a “consumer goods category” and a “fee” node exist among the plurality of nodes included in the policy command. The processor (110) may determine that the request corresponds to the policy command in response to the presence of at least one node corresponding to the request information and the requester's information. According to one embodiment, the processor (110), in step 350, if the request corresponds to a policy command, may transmit a response to the request based on the policy command. That is, the processor (110) may identify a policy command corresponding to the request, generate a response to the request based on the identified policy command, and transmit the response to the terminal.

[0072] If, among the multiple nodes included in the policy command, at least one node corresponding to the request information and the requester information does not exist, the processor (110) may determine that the request does not correspond to the policy command. For example, if a request to inquire about a storage fee is received from a seller belonging to the hardline category, the processor (110) may check whether the "hardline category" and "storage fee" nodes exist among the multiple nodes included in the policy command. If the "hardline category" and "storage fee" nodes do not exist in the policy command, the request may be determined not to correspond to the policy command. In this case, the processor (110) may check at least one policy command corresponding to the request among the other multiple policy commands stored in the database (140). Using the above-described method, the processor (110) may check at least one policy command corresponding to the request among the multiple policy commands stored in the database (140). The processor (110) may transmit a response to the request based on at least one policy command corresponding to the request. For example, the processor (110) may identify at least one policy command including the "Hardline Category" and "Storage Fee" nodes among a plurality of policy commands stored in the database (140), and may transmit a response to the request to the terminal using the identified at least one policy command.

[0073] A method for generating a response corresponding to an acquired request will be further described using FIG. 5. FIG. 5 is a diagram for explaining a process for generating a response corresponding to a request according to one embodiment of the present disclosure. When a request (policy call request, 501) related to an e-commerce service is acquired, the processor (110) may call a policy command corresponding to the request using an API (second API, 510) of a data area. Specifically, the processor (110) may call a policy command corresponding to the request among a plurality of policy commands stored in a database (140). The processor (110) may deserialize the policy command in a serialized form to obtain a policy command (503) in a tree structure again. Deserialization may be an operation of restoring data converted into serialized bytes into field values ​​of an object. That is, the processor (110) can obtain a policy command (503) in a tree structure by deserializing a policy command stored in a serialized form in order to generate a response corresponding to a request. The processor (110) can generate (507) a response value corresponding to the request based on the policy command (503) in the tree structure.

[0074] If a requester (seller) belonging to the consumer goods category sends a request to inquire about storage fees according to the latest policy, the processor (110) can check the policy commands corresponding to "consumer goods category" and "storage fee" among multiple policy commands and generate a response based on the checked policy command. Since the policy command stores data as a key-value pair, a response can be quickly output (generated) when a second API call is made.

[0075] Fig. 6 is a processing flowchart of an electronic device (100) according to one embodiment of the present disclosure. Any details overlapping with those described in Fig. 3 will be omitted.

[0076] Referring to the processing flowchart 600, the processor (110) of the electronic device (100) according to one embodiment can, in step 610, confirm a text input including policy information related to an e-commerce service transmitted from a terminal. A user can input the policy information into the terminal using natural language text, and the terminal can transmit the text input including the policy information input by the user to the electronic device (100).

[0077] According to one embodiment, the processor (110) may generate a policy command in a tree structure based on a text input at step 620. The processor (110) may generate a policy command in a tree structure based on the text input through a natural language processing model.

[0078] In one embodiment, the processor (110) may, at step 630, receive a request for a simulation of policy information from a terminal. A user may request a simulation of policy information to predict the results based on the policy information created through the terminal. Simulation may be a result prediction process that allows the user to preview the results based on the policy information before finally submitting the policy information to the system.

[0079] According to one embodiment, the processor (110), in step 640, may perform a simulation of the policy information based on data related to the e-commerce service stored in the database (140). If there is a request for a simulation of the policy information, the processor (110) may apply a policy command in a tree structure corresponding to the policy information to an existing request. The existing request may refer to, for example, a request related to an e-commerce service obtained according to a transaction that occurred previously. The processor (110) may generate a response to the existing request based on the policy command. The processor (110) may determine whether the policy command is appropriate by comparing the response to the existing request with an existing response. For example, if the response value generated through the simulation is outside a threshold range compared to the existing response value (e.g., a difference of 10% or more), the processor (110) may determine that the policy command is not appropriate. If the response value generated through the simulation does not deviate from the threshold range compared to the existing response value, the policy command may be determined to be appropriate. Therefore, through the simulation process, users can predict the outcomes of policy information before finally submitting the policy information to the system.

[0080] According to one embodiment, the processor (110) may transmit the simulation results to the terminal at step 650. The user may check the simulation results for policy information through the terminal and, based on the results, decide whether to finally submit the policy information.

[0081] Meanwhile, the present specification and drawings disclose preferred embodiments of the present invention. Although specific terms have been used, they are used in a general sense only to easily explain the technical contents of the present invention and to assist in understanding the invention, and are not intended to limit the scope of the present invention. It will be apparent to those skilled in the art that other modified examples based on the technical concept of the present invention are possible in addition to the embodiments disclosed herein.

[0082] The device or terminal according to the above-described embodiments may include a processor, a memory for storing and executing program data, permanent storage such as a disk drive, a communication port for communicating with an external device, a user interface device such as a touch panel, a key, a button, etc. The methods implemented as software modules or algorithms may be stored on a computer-readable recording medium as computer-readable codes or program commands that can be executed on the processor. Here, the computer-readable recording medium includes a magnetic storage medium (e.g., read-only memory (ROM), random-access memory (RAM), floppy disk, hard disk, etc.) and an optical reading medium (e.g., CD-ROM, DVD: Digital Versatile Disc)). The computer-readable recording medium may be distributed to computer systems connected to a network, so that the computer-readable code can be stored and executed in a distributed manner. The medium is readable by a computer, stored in a memory, and executed by a processor.

[0083] The present embodiment may be represented by functional block configurations and various processing steps. These functional blocks may be implemented by various hardware and / or software configurations that perform specific functions. For example, the embodiment may employ integrated circuit configurations such as memory, processing, logic, look-up tables, etc., which may perform various functions under the control of one or more microprocessors or other control devices. Similarly, the present embodiment may be implemented in a programming or scripting language such as C, C++, Java, assembler, Python, etc., including various algorithms implemented as a combination of data structures, processes, routines, or other programming configurations. Functional aspects may be implemented as algorithms that execute on one or more processors. Furthermore, the present embodiment may employ conventional techniques for electronic configuration, signal processing, and / or data processing. Terms such as "mechanism," "element," "means," and "composition" can be used broadly and are not limited to mechanical or physical structures. These terms can also encompass a series of software routines, such as those associated with a processor.

[0084] The above-described embodiments are merely examples, and other embodiments may be implemented within the scope of the claims set forth below.

Claims

1. A method for managing policies related to electronic commerce services on electronic devices, A step of confirming a text input including policy information related to the e-commerce service transmitted from a terminal; A step of generating a policy command in a tree structure based on the above text input; A step of obtaining a request related to the above e-commerce service; A step of verifying whether the above request corresponds to the above policy command; A method for managing a policy, comprising the step of transmitting a response to the request based on the policy command if the request corresponds to the policy command.

2. In paragraph 1, A method for managing a policy, wherein the policy command of the above tree structure is obtained from a natural language processing model using the first API based on the above text input.

3. In paragraph 1, The step of checking whether the above request corresponds to the above policy command is: A step of verifying the request information included in the request and the requester's information related to the request; A step of checking whether at least one node corresponding to the request information and the requester's information exists among the plurality of nodes included in the policy command; and A method for managing a policy, comprising the step of determining that the request corresponds to the policy command in response to the presence of at least one node.

4. In paragraph 3, The step of checking whether the above request corresponds to the above policy command is: In response to the at least one node not existing, further comprising a step of determining that the request does not correspond to a policy command, How to manage the above policy: A step of checking at least one policy command corresponding to the request among multiple policy commands stored in a database; and A method for managing a policy, further comprising the step of transmitting a response to the request based on at least one policy command.

5. In paragraph 1, A step of converting the policy command of the above tree structure into a policy command in a serialized form by serializing the policy command; and A method for managing a policy, further comprising the step of storing the policy command in the serialized form in a database.

6. In paragraph 5, The step of checking whether the above request corresponds to the above policy command is: A step of calling the policy command in the serialized form stored in the database; and A method for managing a policy, comprising the step of converting the policy command in the above serialized form into a policy command in the above tree structure by deserializing the policy command.

7. In paragraph 6, The step of calling the policy command in the serialized form stored in the above database is: A method for managing a policy, the method comprising the step of calling the policy command in the serialized form stored in the database using the second API.

8. In paragraph 5, The above database is a distributed version control system, a method for managing policies.

9. In paragraph 5, A step of verifying user information corresponding to the above text input; and A method for managing a policy, further comprising the step of storing the above-mentioned confirmed user information together with the policy command and version information of the policy command in the database.

10. In paragraph 9, A step of receiving a request for a change in the policy command from the terminal; and A method for managing a policy, further comprising the step of transmitting version information of the above policy command and the user information to the terminal.

11. In paragraph 2, A method for managing a policy, wherein the above natural language processing model is a program that generates data in a tree structure by parsing text composed of natural language when the text is input.

12. In paragraph 1, A step of receiving a simulation request for the policy information from the terminal; A step of performing a simulation on the policy information based on data related to the e-commerce service stored in the database; and A method for managing a policy, further comprising the step of transmitting the results of the above simulation to the terminal.

13. In paragraph 1, A step of verifying whether there is an error in the above text input; In response to determining that there is an error in the text input, a step of generating a recommended text in which there is no error based on the text input and a plurality of policy commands stored in a database; and A method for managing a policy, further comprising the step of transmitting the above recommended text to the terminal.

14. In paragraph 13, The above verification steps are: A method for managing a policy, the step being to verify whether there is a grammatical error in the above text input or whether a required configuration for generating the above policy command is missing.

15. In electronic devices, A communication circuit connected to a terminal; A database that stores multiple policy commands related to e-commerce services; one or more processors; and Contains one or more memories that store one or more instructions, The one or more processors, by executing the one or more instructions, Confirming text input including policy information related to the e-commerce service from the terminal; Generate a policy command in a tree structure based on the above text input, Obtaining requests related to the above e-commerce, Verify that the above request corresponds to the above policy command, An electronic device configured to transmit a response to the request based on the policy command if the request corresponds to the policy command.

Citation Information

Patent Citations

  • The interactive submit system and the processing method for realtime request in electric-commerce environment

    KR100834358B1

  • Cloud web server for providing cloud IPTV service based on command method, system and set-top box

    KR1020170028838A

  • Motor driven compressor apparatus

    KR1020200093498A

  • Vertical bottle opener with an opener at the bottom of the handle

    KR1020200143096A

  • KR20210065852A