Data Processing Method, Apparatus, Computer System, and Storage Medium
The data processing method addresses inventory management issues by locking resources for return orders, ensuring sufficient stock availability and improving customer experience.
Patent Information
- Application Number
- CN202110934094.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-13
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2041-08-13
AI Technical Summary
When handling after-sales exchange, the inventory quantity cannot meet the requested quantity in the after-sales exchange order, resulting in poor customer shopping experience.
By acquiring the inventory lock request generated by the target service order, the inventory locking process is performed based on the target resource information, the first inventory information is generated, and the second inventory information is generated after the processing is completed, ensuring that the inventory status of the target resource is locked to meet the exchange needs.
It effectively avoids the inventory quantity that cannot meet the quantity of exchange after-sales orders, and improves the customer's shopping experience.
Smart Images

Figure CN113610417B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of warehousing logistics, and more particularly, to a data processing method, apparatus, computer system, and storage medium. Background Art
[0002] With the rapid development of the Internet, online shopping has become one of the main consumption methods for people. When the goods purchased by a buyer do not meet the psychological expectations or for other reasons, they usually choose to exchange the goods.
[0003] In the process of implementing the concept of the present disclosure, the inventors found that at least the following problems exist in the related art: when dealing with after-sales work, there is a situation where the inventory quantity cannot meet the requested quantity in the after-sales order for exchanging goods, resulting in a poor shopping experience for customers. Summary of the Invention
[0004] In view of this, the present disclosure provides a data processing method, apparatus, computer system, and storage medium.
[0005] One aspect of the present disclosure provides a data processing method, including:
[0006] Obtaining an inventory locking request generated according to a target service order, where the target service order includes target resource information, and the target resource information includes first attribute information of a target resource and the occupancy of the service order;
[0007] In response to the inventory locking request, performing an inventory locking process on initial inventory information corresponding to the target resource according to the target resource information to generate first inventory information, where the initial inventory information includes the available inventory quantity of the target resource;
[0008] Obtaining a processing operation for the target service order, and generating a processing result corresponding to the target resource;
[0009] Processing the first inventory information according to the processing result to generate second inventory information.
[0010] According to an embodiment of the present disclosure, the data processing method further includes:
[0011] Obtaining a target service order generation request, where the target service order generation request includes target order information, and the target order information includes initial resource information, and the initial resource information includes second attribute information of an initial resource and the occupancy of the order;
[0012] In response to the target service order generation request, detecting an inventory locking function to generate a detection result;
[0013] When the detection result indicates that the inventory locking function is in the enabled state, display a target resource selection page, where the target resource selection page includes a plurality of candidate attribute information associated with the second attribute information;
[0014] In response to a target resource selection operation, determine the first attribute information among the plurality of candidate attribute information;
[0015] Generate the target service order according to the first attribute information and the order occupancy.
[0016] According to an embodiment of the present disclosure, the data processing method further includes: when the inventory locking function is in the disabled state, obtain an enabling operation of the inventory locking function;
[0017] In response to the enabling operation, modify the state of the inventory locking function to the enabled state.
[0018] According to an embodiment of the present disclosure, the inventory locking process of the initial inventory information corresponding to the target resource according to the target resource information to generate the first inventory information includes:
[0019] When the available inventory quantity is greater than the service order occupancy, determine the target resource to be processed corresponding to the service order occupancy in the initial inventory information;
[0020] Update the state of the target resource to be processed to the locked state and output an update result;
[0021] Generate the first inventory information according to the update result.
[0022] According to an embodiment of the present disclosure, the processing of the first inventory information according to the processing result to generate the second inventory information includes:
[0023] When the processing result indicates that the target service order is processed, delete the occupancy of the target resource with the locked state in the first inventory information to generate the second inventory information.
[0024] According to an embodiment of the present disclosure, the first inventory information further includes the first attribute information, warehouse information, total inventory, order occupancy, delivery quantity, and locked quantity;
[0025] The data processing method further includes:
[0026] Generate a first inventory management page according to the first inventory information.
[0027] According to an embodiment of the present disclosure, the second inventory information includes first attribute information, warehouse information, total inventory, order occupancy, delivery quantity, and available inventory quantity;
[0028] The data processing method further includes:
[0029] Generating a second inventory management page according to the second inventory information.
[0030] Another aspect of the present disclosure provides a data processing apparatus, including:
[0031] A first acquisition module, configured to acquire an inventory locking request generated according to a target service order, where the target service order includes target resource information, and the target resource information includes first attribute information of a target resource and service order occupancy;
[0032] A first processing module, configured to, in response to the inventory locking request, perform an inventory locking process on initial inventory information corresponding to the target resource according to the target resource information, and generate first inventory information, where the initial inventory information includes available inventory quantity of the target resource;
[0033] A second acquisition module, configured to acquire a processing operation for the target service order and generate a processing result corresponding to the target resource;
[0034] A second processing module, configured to process the first inventory information according to the processing result to generate second inventory information.
[0035] Another aspect of the present disclosure provides a computer system, including: one or more processors; a memory, configured to store one or more programs, where when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method according to the embodiments of the present disclosure.
[0036] Another aspect of the present disclosure provides a computer-readable storage medium, storing computer-executable instructions, where the instructions, when executed, are used to implement the method according to the embodiments of the present disclosure.
[0037] According to an embodiment of the present disclosure, according to the first attribute information of the target resource and the service order occupancy in the target service order, the inventory information of the target resource is locked to generate first inventory information, and after the target service order is processed, the first inventory information is processed according to the processing result to generate second inventory information. Since the target resource corresponding to the target service order has been locked before processing the target service order, it is possible to ensure the normal processing of the target service order. Therefore, it is possible to avoid the situation where the inventory quantity cannot meet the requested quantity in the exchange and after-sales order, and improve the shopping experience of customers. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, the above and other objects, features, and advantages of the present disclosure will become more apparent. In the drawings:
[0039] Figure 1 An exemplary system architecture 100 to which a data processing method can be applied according to an embodiment of the present disclosure is schematically shown.
[0040] Figure 2 A flowchart of a data processing method according to an embodiment of the present disclosure is schematically shown.
[0041] Figure 3 A schematic diagram of a method for generating a target service order according to an embodiment of the present disclosure is schematically shown.
[0042] Figure 4 Schematic diagrams of a first inventory management page and a second inventory management page according to an embodiment of the present disclosure are schematically shown.
[0043] Figure 5 A block diagram of a data processing apparatus according to an embodiment of the present disclosure is schematically shown.
[0044] Figure 6 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. Detailed Embodiments
[0045] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the following detailed description, for the sake of explanation, many specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure. However, it is obvious that one or more embodiments can be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts of the present disclosure.
[0046] The terms used herein are merely for describing specific embodiments and are not intended to limit the present disclosure. The terms "including", "comprising", etc. used herein indicate the presence of the described features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0047] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those of ordinary skill in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0048] In the case of using expressions such as "at least one of A, B, and C", generally, it should be interpreted according to the meaning that a person skilled in the art usually understands this expression (for example, "a system having at least one of A, B, and C" should include, but not be limited to, a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.).
[0049] Currently, when merchants use an after-sales system (such as the platform's independent after-sales system) to perform an exchange operation, the following problems often occur: after a consumer applies for an exchange on the after-sales page, the merchant will approve the exchange application when it determines that the target product is in stock, but when actually processing this after-sales, the available inventory of the target product has already been zero.
[0050] With the continuous increase in the number of networks, a large number of exchange service orders have brought great troubles to the daily operations of merchants; when there is no product in the service order, the merchant needs to manually contact the consumer about the product to be exchanged, resulting in a relatively long time cycle for the merchant to process after-sales documents, affecting the interests and efficiency of the merchant, and also affecting the shopping experience of consumers.
[0051] Embodiments of the present disclosure provide a data processing method, including: obtaining an inventory locking request generated according to a target service order, where the target service order includes target resource information, and the target resource information includes first attribute information of the target resource and the occupancy of the service order; in response to the inventory locking request, performing an inventory locking process on the initial inventory information corresponding to the target resource according to the target resource information to generate first inventory information, where the initial inventory information includes the available inventory of the target resource; obtaining a processing operation for the target service order to generate a processing result corresponding to the target resource; and processing the first inventory information according to the processing result to generate second inventory information.
[0052] Figure 1 Schematically shows an exemplary system architecture 100 to which the data processing method according to embodiments of the present disclosure can be applied. It should be noted that Figure 1 What is shown is only an example of a system architecture to which embodiments of the present disclosure can be applied, to help a person skilled in the art understand the technical content of the present disclosure, but it does not mean that embodiments of the present disclosure cannot be used in other devices, systems, environments, or scenarios.
[0053] As Figure 1 shown, the system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired and / or wireless communication links, etc.
[0054] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, and / or social platform software, etc. (only for example).
[0055] Terminal devices 101, 102, and 103 can be various electronic devices with a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop portable computers, and desktop computers, etc.
[0056] Server 105 can be a server providing various services, such as a background management server that supports the websites browsed by users using terminal devices 101, 102, and 103 (only for example). The background management server can analyze and process data such as received user requests, and feedback the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices.
[0057] It should be noted that the data processing method provided by the embodiments of the present disclosure can generally be executed by server 105. Correspondingly, the data processing system provided by the embodiments of the present disclosure can generally be set in server 105. The data processing method provided by the embodiments of the present disclosure can also be executed by a server or a server cluster different from server 105 and capable of communicating with terminal devices 101, 102, 103, and / or server 105. Correspondingly, the data processing system provided by the embodiments of the present disclosure can also be set in a server or a server cluster different from server 105 and capable of communicating with terminal devices 101, 102, 103, and / or server 105. Or, the data processing method provided by the embodiments of the present disclosure can also be executed by terminal devices 101, 102, or 103, or can also be executed by other terminal devices different from terminal devices 101, 102, or 103. Correspondingly, the data processing system provided by the embodiments of the present disclosure can also be set in terminal devices 101, 102, or 103, or set in other terminal devices different from terminal devices 101, 102, or 103.
[0058] For example, the inventory locking request to be processed can be received by any one of the terminal devices 101, 102, or 103 (for example, the terminal device 101, but not limited thereto). Then, the terminal device 101 can locally execute the data processing method provided by the embodiments of the present disclosure, or send the inventory locking request to be processed to other terminal devices, servers, or server clusters, and the other terminal devices, servers, or server clusters that receive the image to be processed execute the data processing method provided by the embodiments of the present disclosure.
[0059] It should be understood that Figure 1 the numbers of terminal devices, networks, and servers in
[0060] Figure 2 schematically shows a flowchart of the data processing method according to the embodiments of the present disclosure.
[0061] As Figure 2 shown, the method includes operations S201 to S204.
[0062] In operation S201, an inventory locking request generated according to a target service order is obtained, where the target service order includes target resource information, and the target resource information includes first attribute information of the target resource and the occupancy of the service order.
[0063] According to the embodiments of the present disclosure, the target service order may include, for example, an after-sales service order, an exchange service order, etc. The after-sales service order may be generated according to a shopping order, for example. The target resource information may include, for example, the information of the commodity requested by the consumer user to be replaced, where the target resource information may correspond to the information of the commodity initially purchased in the shopping order. The first attribute information may include, for example, the name information, identification information, etc. of the target resource. The occupancy of the service order may include, for example, the quantity of the target resource, etc. Among them, the occupancy of the service order may correspond to the quantity of the information of the commodity initially purchased in the shopping order.
[0064] In operation S202, in response to the inventory locking request, inventory locking processing is performed on the initial inventory information corresponding to the target resource according to the target resource information, and first inventory information is generated, where the initial inventory information includes the available inventory quantity of the target resource.
[0065] According to an embodiment of the present disclosure, the initial inventory information may include, for example, the total inventory of the target resource, the available inventory quantity, the quantity occupied by orders, the quantity in transit for internal allocation, the quantity in transit at the TC (TRANSFER CENTER), and other occupied quantities. The available inventory quantity may include, for example, the quantity that can be arbitrarily allocated and used, etc. The quantity occupied by orders may include, for example, the quantity occupied by shopping orders, etc. The quantity in transit for internal allocation may include, for example, the quantity in the internal distribution logistics stage, etc. The quantity in transit at the TC may include, for example, the quantity in the external distribution logistics stage, etc. Other occupied quantities may include, for example, the locked inventory quantity, etc.
[0066] According to an embodiment of the present disclosure, the first inventory information may further include, for example, the inventory information of multiple target resources, etc.
[0067] In operation S203, obtain the processing operation for the target service order and generate a processing result corresponding to the target resource.
[0068] According to an embodiment of the present disclosure, the processing operation for the target service order may include, for example, performing an exchange or delivery process according to the target resource in the target service order, etc.
[0069] In operation S204, process the first inventory information according to the processing result to generate the second inventory information.
[0070] According to an embodiment of the present disclosure, when the processing result indicates that the target service order has been processed, release the locked target resource in the first inventory information.
[0071] According to an embodiment of the present disclosure, lock the inventory information of the target resource according to the first attribute information of the target resource in the target service order and the quantity occupied by the service order to generate the first inventory information. After the target service order is processed, process the first inventory information according to the processing result to generate the second inventory information. Since the locking operation of the target resource corresponding to the target service order has been performed before processing the target service order, it is possible to ensure the normal processing of the target service order. Therefore, it is possible to avoid the situation where the inventory quantity cannot meet the requested quantity in the exchange and after-sales order, and improve the customer's shopping experience.
[0072] Next, with reference to Figures 3 to 4 , combined with specific embodiments, Figure 2 the method shown is further described.
[0073] Figure 3 Schematically shows a schematic diagram of a method for generating a target service order according to an embodiment of the present disclosure.
[0074] As Figure 3 shown, the method includes operations S301 to S305.
[0075] In operation S301, obtain a target service order generation request, where the target service order generation request includes target order information, and the target order information includes initial resource information, and the initial resource information includes second attribute information of the initial resource and the order occupancy.
[0076] According to an embodiment of the present disclosure, the target order information may include, for example, a shopping order of a consuming user, etc. The initial resource information may include, for example, product information in the shopping order, etc. The second attribute information may include, for example, the name information, identification information, etc. of the initial resource. The order occupancy may include, for example, the quantity of the initial resource, etc.
[0077] In operation S302, in response to the target service order generation request, detect the inventory locking function and generate a detection result.
[0078] According to an embodiment of the present disclosure, the function of the inventory locking function may include, for example, automatically locking the inventory according to the information in the target service order, and being able to prevent the target resources in the target service order from being called by other systems or orders. The inventory locking function may be enabled according to the operation of the merchant user, and the operation may include, for example, clicking or swiping.
[0079] In operation S303, when the detection result indicates that the inventory locking function is in an enabled state, display a target resource selection page, where the target resource selection page includes a plurality of candidate attribute information associated with the second attribute information.
[0080] According to an embodiment of the present disclosure, the candidate attribute information may include, for example, the attribute information of a plurality of resources that can be used for the exchange service.
[0081] For example, a certain product includes five models A, B, C, D, and E, and a certain consumer's shopping order is for product of model A. When the consumer requests to generate a target service order, the corresponding target resource selection page may include, for example, four candidate products of models B, C, D, and E.
[0082] In operation S304, in response to the target resource selection operation, determine the first attribute information among the plurality of candidate attribute information.
[0083] According to an embodiment of the present disclosure, the first attribute information may be determined by the selection operation of the consuming user, and the selection operation may include, for example, clicking or swiping.
[0084] In operation S305, generate a target service order according to the first attribute information and the order occupancy.
[0085] According to an embodiment of the present disclosure, the quantity of the target resources in the target service order may be the same as the order occupancy of the initial resources in the shopping order.
[0086] According to an embodiment of the present disclosure, the data processing method further includes: when the inventory locking function is in a closed state, obtaining an opening operation of the inventory locking function. In response to the opening operation, modifying the state of the inventory locking function to an open state.
[0087] According to an embodiment of the present disclosure, the open or closed state of the inventory locking function can be selected and set by a merchant user, for example. When the inventory locking function is in a closed state, the inventory locking function can be opened according to the opening operation of the merchant user.
[0088] According to an embodiment of the present disclosure, the open or closed state of the inventory locking function can be determined according to the operation of the user. It can meet the usage requirements of different users and enhance the user experience.
[0089] According to an embodiment of the present disclosure, performing an inventory locking process on the initial inventory information corresponding to the target resource according to the target resource information, and generating the first inventory information includes:
[0090] When the available inventory quantity is greater than the occupied quantity of the service order, determining the target resource to be processed corresponding to the occupied quantity of the service order in the initial inventory information. Updating the state of the target resource to be processed to a locked state, and outputting the update result. Generating the first inventory information according to the update result.
[0091] According to an embodiment of the present disclosure, the quantity of the target resource to be processed can be the same as the quantity of the initial resource in the shopping order of the consumer user, for example. The target resource to be processed can include, for example, the commodity resources in the available inventory of the initial inventory information.
[0092] According to an embodiment of the present disclosure, processing the first inventory information according to the processing result, and generating the second inventory information includes:
[0093] When the processing result indicates that the target service order is processed, deleting the occupied quantity of the target resource with a locked state in the first inventory information to generate the second inventory information.
[0094] According to an embodiment of the present disclosure, the first inventory information further includes first attribute information, warehouse information, total inventory, order occupied quantity, distribution quantity, and locked quantity.
[0095] According to an embodiment of the present disclosure, the first attribute information can include, for example, the name information, identification information, etc. of the target resource. The warehouse information can include, for example, the name information, identification information, etc. of the warehouse. The order occupied quantity can include, for example, the quantity of the initial resource, etc. The distribution quantity can include, for example, the in-transit quantity of internal distribution and the in-transit quantity of TC, etc.
[0096] According to an embodiment of the present disclosure, the data processing method further includes:
[0097] Generate a first inventory management page based on the first inventory information.
[0098] According to an embodiment of the present disclosure, the second inventory information includes first attribute information, warehouse information, total inventory, order occupancy, distribution quantity, and available inventory quantity.
[0099] The data processing method further includes:
[0100] Generate a second inventory management page based on the second inventory information.
[0101] Figure 4 Schematically shows a schematic diagram of the first inventory management page and the second inventory management page according to an embodiment of the present disclosure.
[0102] As Figure 4 shown, the first inventory management page and the second inventory management page include an operation area 401 and a display area 402.
[0103] The operation area 401 may include, for example, an SKU ID (Stock Keeping Unit ID) query box, a product code query box, a product name query box, a product status query box, a total inventory query box, etc. By entering keywords or other information in the corresponding query box, the corresponding inventory information can be queried.
[0104] The display area 402 may include, for example, product information, warehouse information, total inventory, order occupancy, in-transit internal distribution, others, sales statistics, etc.
[0105] Figure 5 Schematically shows a block diagram of a data processing device according to an embodiment of the present disclosure.
[0106] As Figure 5 shown, the data processing device 500 may include a first acquisition module 501, a first processing module 502, a second acquisition module 503, and a second processing module 504.
[0107] The first acquisition module 501 is configured to acquire an inventory locking request generated according to a target service order, where the target service order includes target resource information, and the target resource information includes first attribute information of the target resource and the service order occupancy.
[0108] The first processing module 502 is configured to, in response to the inventory locking request, perform an inventory locking process on the initial inventory information corresponding to the target resource according to the target resource information, and generate first inventory information, where the initial inventory information includes the available inventory quantity of the target resource.
[0109] The second acquisition module 503 is configured to acquire a processing operation for the target service order and generate a processing result corresponding to the target resource.
[0110] A second processing module 504, configured to process the first inventory information according to the processing result to generate second inventory information.
[0111] According to an embodiment of the present disclosure, the inventory information of the target resource is locked according to the first attribute information of the target resource and the service order occupancy in the target service order to generate first inventory information. After the target service order is processed, the first inventory information is processed according to the processing result to generate second inventory information. Since the target resource corresponding to the target service order has been locked before processing the target service order, the normal processing of the target service order can be ensured. Therefore, the situation where the inventory quantity cannot meet the requested quantity in the exchange and after-sales order can be avoided, and the shopping experience of customers can be improved.
[0112] According to an embodiment of the present disclosure, the data processing device 500 further includes a third acquisition module, a detection module, a display module, a determination module, and a first generation module.
[0113] The third acquisition module is configured to acquire a target service order generation request, where the target service order generation request includes target order information, and the target order information includes initial resource information, and the initial resource information includes second attribute information of the initial resource and order occupancy.
[0114] The detection module is configured to detect the inventory locking function in response to the target service order generation request to generate a detection result.
[0115] The display module is configured to display a target resource selection page when the detection result indicates that the inventory locking function is in an enabled state, where the target resource selection page includes a plurality of candidate attribute information associated with the second attribute information.
[0116] The determination module is configured to determine the first attribute information from the plurality of candidate attribute information in response to a target resource selection operation;
[0117] The first generation module is configured to generate a target service order according to the first attribute information and the order occupancy.
[0118] According to an embodiment of the present disclosure, the data processing device 500 further includes a fourth acquisition module and a modification module.
[0119] The fourth acquisition module is configured to acquire an operation to enable the inventory locking function when the inventory locking function is in a disabled state.
[0120] The modification module is configured to modify the state of the inventory locking function to an enabled state in response to the enabling operation.
[0121] According to an embodiment of the present disclosure, the first processing module 502 includes a determination unit, an update unit, and a first generation unit.
[0122] The determination unit is configured to determine, in the initial inventory information, a target resource to be processed corresponding to the occupied amount of the service order when the available inventory amount is greater than the occupied amount of the service order.
[0123] The update unit is configured to update the status of the target resource to be processed to a locked status and output an update result.
[0124] The first generation unit is configured to generate first inventory information according to the update result.
[0125] According to an embodiment of the present disclosure, the second processing module 504 includes a second generation unit.
[0126] The second generation unit is configured to, when the processing result indicates that the target service order is processed, delete the occupied amount of the target resource with a locked status in the first inventory information and generate second inventory information.
[0127] According to an embodiment of the present disclosure, the first inventory information further includes first attribute information, warehouse information, total inventory, order occupied amount, delivery quantity, and locked quantity.
[0128] According to an embodiment of the present disclosure, the data processing device 500 further includes a second generation module.
[0129] The second generation module is configured to generate a first inventory management page according to the first inventory information.
[0130] According to an embodiment of the present disclosure, the second inventory information includes first attribute information, warehouse information, total inventory, order occupied amount, delivery quantity, and available inventory amount;
[0131] According to an embodiment of the present disclosure, the data processing device 500 further includes a third generation module.
[0132] The third generation module generates a second inventory management page according to the second inventory information.
[0133] It should be noted that the embodiments of the apparatus part of the present disclosure are the same or similar to the embodiments of the method part of the present disclosure, and the present disclosure will not be repeated here.
[0134] Any of the modules and units according to embodiments of the present disclosure, or at least part of the functions of any of them, may be implemented in one module. Any one or more of the modules and units according to embodiments of the present disclosure may be split into multiple modules for implementation. Any one or more of the modules and units according to embodiments of the present disclosure may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on substrate, a system on package, an application specific integrated circuit (ASIC), or may be implemented by any other reasonable way of integrating or packaging circuits, etc., in hardware or firmware, or implemented in any one of the three implementation manners of software, hardware, and firmware, or in an appropriate combination of any several of them. Alternatively, one or more of the modules and units according to embodiments of the present disclosure may be at least partially implemented as a computer program module, and when the computer program module runs, it may execute the corresponding functions.
[0135] For example, any of the first acquisition module 501, the first processing module 502, the second acquisition module 503, and the second processing module 504 may be combined and implemented in one module / unit / sub-unit, or any one of the modules / units / sub-units may be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units may be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to embodiments of the present disclosure, at least one of the first acquisition module 501, the first processing module 502, the second acquisition module 503, and the second processing module 504 may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on substrate, a system on package, an application specific integrated circuit (ASIC), or may be implemented by any other reasonable way of integrating or packaging circuits, etc., in hardware or firmware, or implemented in any one of the three implementation manners of software, hardware, and firmware, or in an appropriate combination of any several of them. Alternatively, at least one of the first acquisition module 501, the first processing module 502, the second acquisition module 503, and the second processing module 504 may be at least partially implemented as a computer program module, and when the computer program module runs, it may execute the corresponding functions.
[0136] Figure 6 A block diagram of an electronic device suitable for implementing the method described above according to embodiments of the present disclosure is schematically shown. Figure 6 The electronic device shown is only an example and should not impose any limitation on the functions and usage scope of embodiments of the present disclosure.
[0137] As Figure 6As shown, the electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage section 608 into a random access memory (RAM) 603. The processor 601 can include, for example, a general-purpose microprocessor (e.g., CPU), an instruction set processor, and / or a related chipset, and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), and so on. The processor 601 can also include on-board memory for caching purposes. The processor 601 can include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0138] In the RAM 603, various programs and data required for the operation of the electronic device 600 are stored. The processor 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. The processor 601 performs various operations of the method flow according to an embodiment of the present disclosure by executing the program in the ROM 602 and / or the RAM 603. It should be noted that the program can also be stored in one or more memories other than the ROM 602 and the RAM 603. The processor 601 can also perform various operations of the method flow according to an embodiment of the present disclosure by executing the program stored in the one or more memories.
[0139] According to an embodiment of the present disclosure, the electronic device 600 can further include an input / output (I / O) interface 605, and the input / output (I / O) interface 605 is also connected to the bus 604. The system 600 can further include one or more of the following components connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read from it can be installed into the storage section 608 as needed.
[0140] According to an embodiment of the present disclosure, the method flow according to the embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, the above functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the above-described systems, devices, apparatuses, modules, units, etc. can be implemented by computer program modules.
[0141] The present disclosure also provides a computer-readable storage medium, which may be included in the device / device / system described in the above embodiment; or may exist alone without being assembled into the device / device / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0142] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include but is not limited to: portable computer disks, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program can be used by or combined with an instruction execution system, device, or device.
[0143] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include one or more memories other than the above-described ROM 602 and / or RAM 603 and / or ROM 602 and RAM 603.
[0144] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks may occur in a different order than noted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and combinations of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0145] Those skilled in the art will appreciate that the features recited in the various embodiments and / or claims of the present disclosure can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly recited in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features recited in the various embodiments and / or claims of the present disclosure can be combined and / or combined in various ways. All such combinations and / or combinations fall within the scope of the present disclosure.
[0146] The embodiments of the present disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments have been described separately above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art can make various substitutions and modifications, and all such substitutions and modifications should fall within the scope of the present disclosure.
Claims
1. A data processing method, comprising: Obtaining an inventory locking request generated according to a target service order for goods exchange, wherein the target service order includes target resource information, and the target resource information includes first attribute information of a target resource requested by a user to be exchanged and the occupancy of the service order; the target resource selection page includes attribute information of multiple resources for goods exchange services; the quantity of the target resource in the target service order is the same as the order occupancy of the initial resource in the shopping order; In response to the inventory locking request, when the available inventory quantity of the target resource is greater than the occupancy of the service order, determining a to-be-processed target resource corresponding to the occupancy of the service order in the initial inventory information; Updating the status of the to-be-processed target resource to a locked status, and outputting an update result; Generating first inventory information according to the update result, wherein the initial inventory information includes the available inventory quantity of the target resource; Obtaining a processing operation for the target service order, and generating a processing result corresponding to the target resource; When the processing result indicates that the target service order has been processed, releasing the locked target resource in the first inventory information to generate second inventory information; Wherein, the method for generating the target service order includes: Obtaining the target service order generation request, wherein the target service order generation request includes target order information, and the target order information includes initial resource information, and the initial resource information includes second attribute information of the initial resource and the order occupancy; In response to the target service order generation request, detecting the inventory locking function to generate a detection result; When the detection result indicates that the inventory locking function is in an enabled state, displaying a target resource selection page, wherein the target resource selection page includes multiple candidate attribute information associated with the second attribute information; In response to a target resource selection operation, determining the first attribute information from among the multiple candidate attribute information; Generating the target service order according to the first attribute information and the order occupancy.
2. The method according to claim 1, further comprising: When the inventory locking function is in a disabled state, obtaining an enabling operation for the inventory locking function; In response to the enabling operation, modifying the status of the inventory locking function to the enabled state.
3. The method according to claim 1, wherein, The processing the first inventory information according to the processing result to generate second inventory information includes: When the processing result indicates that the target service order has been processed, deleting the occupancy of the target resource with a status of locked in the first inventory information to generate the second inventory information.
4. The method according to claim 1, wherein the first inventory information further includes the first attribute information, warehouse information, total inventory quantity, order occupancy, delivery quantity, and locked quantity; The data processing method further includes: Generating a first inventory management page according to the first inventory information.
5. The method according to claim 1, wherein the second inventory information includes first attribute information, warehouse information, total inventory quantity, order occupancy, delivery quantity, and available inventory quantity; The described data processing method further includes: Generating a second inventory management page according to the second inventory information.
6. A data processing device, comprising: A first acquisition module, configured to acquire an inventory locking request generated according to a target service order, wherein the target service order includes target resource information, the target resource information includes first attribute information of a target resource and a service order occupancy; the target resource selection page includes attribute information of a plurality of resources for an exchange service; the quantity of the target resource in the target service order is the same as the order occupancy of the initial resource in the shopping order; A first processing module, configured to, in response to the inventory locking request, determine a to-be-processed target resource corresponding to the service order occupancy in the initial inventory information when the available inventory quantity of the target resource is greater than the service order occupancy; Updating the status of the to-be-processed target resource to a locked state, and outputting an update result; Generating first inventory information according to the update result, wherein the initial inventory information includes the available inventory quantity of the target resource; A second acquisition module, configured to acquire a processing operation for the target service order and generate a processing result corresponding to the target resource; A second processing module, configured to release the locked target resource in the first inventory information and generate second inventory information when the processing result indicates that the target service order has been processed; A third acquisition module, configured to acquire the target service order generation request, wherein the target service order generation request includes target order information, the target order information includes initial resource information, the initial resource information includes second attribute information of an initial resource and an order occupancy; A detection module, configured to detect the inventory locking function in response to the target service order generation request and generate a detection result; A display module, configured to display a target resource selection page when the detection result indicates that the inventory locking function is in an enabled state, wherein the target resource selection page includes a plurality of candidate attribute information associated with the second attribute information; A determination module, configured to determine the first attribute information from the plurality of candidate attribute information in response to a target resource selection operation; A first generation module, configured to generate the target service order according to the first attribute information and the order occupancy.
7. A computer system, comprising: One or more processors; A memory, configured to store one or more programs, wherein, when the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, on which executable instructions are stored, and when the instructions are executed by a processor, the processor implements the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Highly-available stock management and system and server
CN108416656A
User request processing method and device
CN113077220A