CN109447293A - A kind of processing method and processing device of product data - Google Patents

A kind of processing method and processing device of product data Download PDF

Info

Publication number
CN109447293A
CN109447293A CN201811106680.XA CN201811106680A CN109447293A CN 109447293 A CN109447293 A CN 109447293A CN 201811106680 A CN201811106680 A CN 201811106680A CN 109447293 A CN109447293 A CN 109447293A
Authority
CN
China
Prior art keywords
product data
inventory
unit
stock
product
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811106680.XA
Other languages
Chinese (zh)
Other versions
CN109447293B (en
Inventor
李泽源
彭更红
兰杰
汤恩清
杨慧强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Koubei Shanghai Information Technology Co Ltd
Original Assignee
Koubei Shanghai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Koubei Shanghai Information Technology Co Ltd filed Critical Koubei Shanghai Information Technology Co Ltd
Priority to CN201811106680.XA priority Critical patent/CN109447293B/en
Publication of CN109447293A publication Critical patent/CN109447293A/en
Application granted granted Critical
Publication of CN109447293B publication Critical patent/CN109447293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0605Supply or demand aggregation

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of processing method of product data, device, computer equipment and computer storage mediums, are related to technical field of data processing, it is possible to reduce the redundancy of product data in inventory reduces the storage pressure of inventory.The described method includes: the inventory information in product data in the given time unit time granularity is added in inventory's rule list according to inventory's rule that the first client is product data setting;When receiving processing request of second client to product data, inventory's rule list is parsed by preconfigured processing strategie corresponding with the processing request, obtains the current value of inventory of product data;The current value of inventory of the product data is sent to second client.

Description

A kind of processing method and processing device of product data
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of processing method of product data, device, calculating Machine equipment and computer storage medium.
Background technique
By internet platform, businessman can be purchased in the product of Web realease oneself, user by internet platform Required product is bought, realizes the transaction of product, product here can be physical product, be also possible to service class product.
When user's purchase needs date predetermined class product, for example, predetermined air ticket, predetermined private room, intended site etc., in addition to It needs outside selected product, while also needing to select product corresponding target date, place, participation number etc..Therefore, in storage day It needs to store the attribute informations such as corresponding product, target date when the product data of phase predetermined class.
For inventory structures in the prior art during storing date predetermined class product data, businessman can be fixed by configuring When task the stock-keeping unit of corresponding product data is pre-created in each time interval in the predetermined time in stock-keeping unit layer, when connecing When receiving product inquiry or product order, directly the stock-keeping unit of corresponding product data is handled.However, with the time There are the non-uniform problems of hotspot's distribution for passage and product dimension and time dimension, so that there is many products for a long time It is not bought by user inside, or usually workaday quantity purchase is substantially less than weekend, will appear in such stock-keeping unit layer There is many scheduled or stock-keeping unit of expired product data, causes product data redundancy in inventory excessive, increase The storage pressure of inventory.
Summary of the invention
In view of this, the present invention provides a kind of processing method of product data, device, computer equipment and computers to deposit Storage media, main purpose are to solve the redundancy issue of product data in on-hand inventory.
According to the present invention on one side, a kind of processing method of product data is provided, this method comprises:
According to inventory's rule that the first client is product data setting by product data unit time in the given time Inventory information in granularity is added in inventory's rule list;
When receiving processing request of second client to product data, passes through the preconfigured and processing and request Corresponding processing strategie parses inventory's rule list, obtains the current value of inventory of product data;
The current value of inventory of the product data is sent to second client.
Further, described to be requested by preconfigured with the processing when processing request is predetermined request Corresponding processing strategie parses inventory's rule list, and the current value of inventory for obtaining product data includes:
Search product data stock-keeping unit, if it exists in unit time granularity product data stock-keeping unit, then from institute It states and extracts value of inventory of the product data in unit time granularity in stock-keeping unit;
The stock-keeping unit of product data is created then by parsing inventory's rule list in unit time granularity if it does not exist Build the stock-keeping unit of product data, and from extracting value of inventory of the product data in unit time granularity in the stock-keeping unit;
Predetermined operation is carried out to value of inventory of the product data in the stock-keeping unit in unit time granularity, obtains product The current value of inventory of data.
Further, the predetermined request carries product identification and predetermined time, the inventory for searching product data Unit includes:
The corresponding product data of the product identification are obtained from inventory's rule list;
Search the stock-keeping unit of product data unit time granularity within the predetermined time.
Further, described to be requested by preconfigured with the processing when processing request is inquiry request Corresponding processing strategie parses inventory's rule list, and the current value of inventory for obtaining product data includes:
Search product data stock-keeping unit, if it exists in unit time granularity product data stock-keeping unit, then from institute It states and extracts value of inventory of the product data in unit time granularity in stock-keeping unit;
Using value of inventory of the product data in unit time granularity as the current value of inventory of product data.
Further, value of inventory the working as product data described using the product data in unit time granularity Before preceding value of inventory, the method also includes:
If it does not exist in unit time granularity product data stock-keeping unit, then by parsing inventory's rule list, from The value of inventory of product data is extracted in inventory's rule list.
According to the present invention on the other hand, a kind of processing unit of product data is provided, which includes:
Adding unit, for according to inventory's rule that the first client is product data setting by product data in pre- timing Inventory information in interior unit time granularity is added in inventory's rule list;
Resolution unit, for when receiving the second client and requesting the processing of product data, by preconfigured Processing strategie corresponding with the processing request parses inventory's rule list, obtains the current value of inventory of product data;
Transmission unit, for the current value of inventory of the product data to be sent to second client.
Further, when processing request is predetermined request, the resolution unit includes:
First extraction module, for searching the stock-keeping unit of product data, product data in unit time granularity if it exists Stock-keeping unit, from extracting value of inventory of the product data in unit time granularity in the stock-keeping unit;
Creation module, the stock-keeping unit of product data in unit time granularity if it does not exist, by parsing the library Rule list is deposited, the stock-keeping unit of product data is created, and extracts product data in unit time granularity from the stock-keeping unit On value of inventory.
Predetermined module is obtained for carrying out predetermined operation to value of inventory of the product data in unit time granularity The current value of inventory of product data.
Further, the predetermined request carries product identification and predetermined time,
First extraction module, specifically for obtaining the corresponding product of the product identification from inventory's rule list Data;
First extraction module is specifically also used to search product data unit time granularity within the predetermined time Stock-keeping unit.
Further, when processing request is inquiry request, the resolution unit includes:
Second extraction module, for searching the stock-keeping unit of product data, product data in unit time granularity if it exists Stock-keeping unit, from extracting value of inventory of the product data in unit time granularity in the stock-keeping unit;
Enquiry module, for using value of inventory of the product data in unit time granularity as the current of product data Value of inventory.
Further, the resolution unit further include:
Parsing module, in the value of inventory using the product data in unit time granularity as product data Current value of inventory before, if it does not exist in unit time granularity product data stock-keeping unit, pass through parsing inventory rule Then table extracts the value of inventory of product data from inventory's rule list.
Another aspect according to the present invention provides a kind of storage equipment, is stored thereon with computer program, described program The processing method of the said goods data is realized when being executed by processor.
Another aspect according to the present invention provides a kind of processing unit of product data, including storage equipment, processor And the computer program that can be run on a storage device and on a processor is stored, the processor is realized when executing described program The processing method of the said goods data.
By above-mentioned technical proposal, a kind of processing method of product data, device and computer storage provided by the invention Medium, at present directly in stock-keeping unit layer the stock-keeping unit of each time interval creation corresponding product data mode phase Than, the present invention can according to inventory's rule that the first client is product data by product data unit in the given time when Between value of inventory in granularity be added in inventory's rule list, when receiving the second client and requesting the processing of product data, Inventory's rule list is parsed by preconfigured processing strategie corresponding with processing request, obtains the current inventory of product data Value, so that inventory's rule and stock-keeping unit form the double-deck decoupling-structure, in the processing request for not triggering the second client, first Inventory's rule need to be arranged in client only for product data, it is not necessary that the stores list of product data is pre-created for each time interval Member reduces the redundancy of product data in inventory, reduces the storage pressure of inventory.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of processing method flow diagram of product data provided in an embodiment of the present invention;
Fig. 2 shows the processing method flow diagrams of another product data provided in an embodiment of the present invention;
Fig. 3 shows the first client provided in an embodiment of the present invention and shows in the process that inventory's rule is arranged for product data It is intended to;
Fig. 4 shows the process schematic of the second client request predetermined prod data provided in an embodiment of the present invention;
Fig. 5 shows the processing method flow diagram of another product data provided in an embodiment of the present invention;
Fig. 6 shows the process schematic of the second client request inquiry product data provided in an embodiment of the present invention;
Fig. 7 shows a kind of structural schematic diagram of the processing unit of product data provided in an embodiment of the present invention;
Fig. 8 shows the apparatus structure schematic diagram of the processing of another product data provided in an embodiment of the present invention;
Fig. 9 shows the apparatus structure schematic diagram of the processing of another product data provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
The embodiment of the invention provides a kind of processing method of product data, the storage pressure for reducing inventory may be implemented Purpose, as shown in Figure 1, this method comprises:
101, according to inventory's rule that the first client is product data setting by product data unit in the given time Inventory information on time granularity is added in inventory's rule list.
Wherein, product data can be the predetermined class product data traded by internet, such as name of product, volume Number, the data such as target date, predetermined class product here can be air ticket, karaoke chamber, shuttlecock place, hotel accommodations etc., by In user when buying predetermined class product, need while selecting predetermined class product, it is also necessary to select the scheduled date Or the time, such as 8 points of predetermined August 15 days 15 minutes flies to the air ticket in Shanghai from Beijing, predetermined September hotel accommodations on the 10th etc., so Predetermined class product data are stored according to date or time sequence.
For the embodiment of the present invention, the first client represents enterprise customer businessman generally directed to the end B, businessman sell it is pre- Before determining class product, can be arranged product data inventory rule, inventory's rule be product data in the given time unit when Between inventory information in granularity, pass through inventory information of the parsing product data in the given time in unit time granularity, Xiang Ku Deposit the inventory information that product data are added in rule list.
For example, product data are karaoke chamber, if can be 1 day the predetermined time, daily 10 parcels, the predetermined time be not Come one week, 20 parcels of Mon-Fri, Saturday day 10 parcels, for special holidays can with special setting parcel quantity, Further the inventory information created for karaoke chamber is recorded with structured form into inventory's rule list.
102, when receiving processing request of second client to product data, pass through the preconfigured and processing It requests corresponding processing strategie to parse inventory's rule list, obtains the current value of inventory of product data.
Wherein, processing request can be with inquiry request or predetermined request, in order to further facilitate to product data in inventory It is handled, which is previously provided with processing strategie corresponding with processing request, such as corresponding with product predetermined request predetermined Strategy, query strategy corresponding with product inquiry request,
For the embodiment of the present invention, the second client represents consumer personal user generally directed to C-terminal, and user is being handled When product data, the product data in inventory's rule list are parsed by processing strategie corresponding with processing request, are realized to product Data carry out the processing of different function, carry out inquiry operation to product data in inventory's rule list as query strategy needs to inquire, The current value of inventory of product data is obtained, predetermined policy is needed to carry out predetermined operation to the product data in inventory's rule list, be obtained To the current value of inventory of product data.
103, the current value of inventory of the product data is sent to second client.
Under normal conditions, businessman will create library corresponding with inventory's rule while inventory's rule of product data is arranged Memory cell, the embodiment of the present invention when inventory's rule of product data only need to be arranged, do not create product in businessman's stock control The stock-keeping unit of data parses the inventory of product data when the processing for receiving product data is requested from inventory's rule list Information, to save the redundancy of product data in inventory.
The processing method of product data provided in an embodiment of the present invention, with each time directly in stock-keeping unit layer at present The mode of the stock-keeping unit of section creation corresponding product data is compared, and the present invention can be product data according to the first client Value of inventory in product data unit time granularity in the given time is added in inventory's rule list by inventory's rule, when connecing When receiving processing request of second client to product data, pass through preconfigured processing strategie solution corresponding with processing request Inventory's rule list is analysed, the current value of inventory of product data is obtained, so that inventory's rule and stock-keeping unit form the double-deck decoupling-structure, In the processing request for not triggering the second client, inventory's rule need to be arranged in the first client only for product data, without being every The stock-keeping unit of product data is pre-created in a time interval, reduces the redundancy of product data in inventory, reduces the storage of inventory Pressure.
The embodiment of the invention provides the processing method of another product data, product data in inventory can be reduced and stored The purpose of pressure, as shown in Fig. 2, this method comprises:
201, according to inventory's rule that the first client is product data setting by product data unit in the given time Inventory information on time granularity is added in inventory's rule list.
For the embodiment of the present invention, product data can form a large amount of tables of data, and the data in these tables of data are with assorted Granularity stores, and has an impact to the various aspects of data, it is generally the case that the storage time granularities of product data can be It, when, minute, second etc., during selling product data, predetermined class product was sold with the special time, was had not With unit time granularity, such as karaoke chamber is usually to sell according to hour, so karaoke chamber corresponding product data Unit time granularity is hour, and hotel accommodations are usually to sell according to day, so the corresponding product data of hotel accommodations Unit time granularity be day.
Specific first client can be as shown in figure 3, the end B in Fig. 3 in the process that inventory's rule is arranged for product data User is the first client, is product data setting inventory's rule in inventory by B end subscriber, thus by producing in inventory's rule The inventory information of product data is added in inventory's rule list, is returned after the completion successfully.
202, when receiving predetermined request of second client to product data, the stock-keeping unit of product data is searched.
Prior art businessman will create inventory corresponding with inventory's rule while inventory's rule of product data is arranged Unit, inventory's rule and stock-keeping unit are one-to-many relationships, and stock-keeping unit is library of the product data in unit time granularity Information is deposited, for example, inventory information, product inventory information hourly etc. that product is daily.
For the embodiment of the present invention, in businessman's stock control, the stock-keeping unit of product data is not created, but works as and connects When receiving predetermined request of second client to product data, the stock-keeping unit of product data is searched, if there is product data Stock-keeping unit, then predetermined operation is carried out to the inventory informations of product data according to stock-keeping unit, if there is no product number According to stock-keeping unit, then the stock-keeping unit of creation product data, further believes the inventories of product data according to stock-keeping unit Breath carries out predetermined operation.
Wherein, predetermined request is predetermined operation of the request to product data in inventory, such as predetermined karaoke chamber, is used Family assigned aircraft ticket, the predetermined request carry product identification, such as name of product, product number, when user selects predetermined class to produce When product, other than selecting product identification, the time of predetermined prod can be also selected, so record has the predetermined time in the predetermined request Section, for example, user may predetermined 18:00 to 24:00 shuttlecock place.
For the embodiment of the present invention, the product data of different product mark are stored in inventory, it can be with by product identification The corresponding product data of product identification are obtained from inventory's rule list, further search for product data in the given time unit when Between granularity stock-keeping unit.It, can also be in the process of storage product data if product identification is excessive in certain inventory's rule list According to product identification corresponding product category product data are divided, in order to the product data of like products classification It searches.
203a, if it exists in unit time granularity product data stock-keeping unit, extract product from the stock-keeping unit Value of inventory of the data in unit time granularity.
For the embodiment of the present invention, inventory information creation of the stock-keeping unit usually with product data in unit time granularity , if there is the stock-keeping unit of product data in unit time granularity, then illustrate to be scheduled before the product data, Due to being stored with the inventory information of product data in stock-keeping unit, then extracting product data directly from stock-keeping unit in unit Value of inventory on time granularity.
The stores list for having product data on step 203b, if it does not exist unit time granularity corresponding with step 203a Member creates the stock-keeping unit of product data, and product number is extracted from the stock-keeping unit by parsing inventory's rule list According to the value of inventory in unit time granularity.
For the embodiment of the present invention, if there is no the stock-keeping unit of product data in unit time granularity, then explanation should It was not scheduled before product data, was believed by inventory of the product data in unit time granularity in parsing inventory's rule list Breath, creates the stock-keeping unit of product data, so that inventory of the record product data in unit time granularity in the stock-keeping unit Information, further from value of inventory of the extraction product data in unit time granularity in stock-keeping unit.
204, the value of inventory to product data in the stock-keeping unit in unit time granularity carries out predetermined operation, obtains The current value of inventory of product data.
For the embodiment of the present invention, in user's predetermined prod, in addition to carrying product identification and predetermined time, may be used also Predetermined prod quantity can be carried, is the predetermined prod of place class, such as karaoke chamber, shuttlecock venue, list for product data It is uniquely that the predetermined request does not carry predetermined prod number when the value of inventory of product identification corresponding product data on the time granularity of position Amount, for the predetermined prod of quantity class, such as air ticket, clothes, the corresponding product data of product identification in unit time granularity Value of inventory is not unique, predetermined request carrying predetermined prod quantity, further to product data in stock-keeping unit in unit Value of inventory on time granularity carries out predetermined operation, obtains the current value of inventory of product data.
For example, the air ticket quantity on June 5 that businessman is arranged in inventory's rule list is 100, when receiving the predetermined air ticket of user Request after, it is 5 that the request of the predetermined air ticket, which carries predetermined air ticket quantity, the corresponding stores list of air ticket on June 5 if it exists Member, then air ticket quantity deducts 5 from air ticket corresponding stock-keeping unit on June 5, obtains the corresponding value of inventory of air ticket on June 5 and is 95.
205, the current value of inventory of the product data is sent to second client.
The current value of inventory of product data can just be triggered after product data carry out predetermined operation for the embodiment of the present invention Change, that is, the wound that product data correspond to stock-keeping unit can just be triggered to the predetermined request of product data by the second client It builds, if the product data were never scheduled, without pre-creating product data by configuring specified timed task Corresponding stock-keeping unit reduces the storage pressure of product data in inventory so as to avoid the creation of hash in inventory.
The process of specific second client request predetermined prod data can be as shown in figure 4, C-terminal user in Fig. 4 be the Two clients, when receiving the product itemID001 that C-terminal user's target date is 20180701, if not finding unit The stock-keeping unit of product data on time granularity then parses product data inventory original I NIQ from inventory's rule list, and creates Stock-keeping unit is reduced based on value of inventory of the stock-keeping unit to product data, successfully afterwards returns to current value of inventory reducing To C-terminal, if finding the stock-keeping unit of product data in unit time granularity, based on stock-keeping unit to the library of product data It deposits value to be reduced, current value of inventory is successfully back to C-terminal afterwards reducing.
The processing method of product data provided in an embodiment of the present invention, with each time directly in stock-keeping unit layer at present The mode of the stock-keeping unit of section creation corresponding product data is compared, and the present invention can be product data according to the first client Value of inventory in product data unit time granularity in the given time is added in inventory's rule list by inventory's rule, when connecing When receiving processing request of second client to product data, pass through preconfigured processing strategie solution corresponding with processing request Inventory's rule list is analysed, the current value of inventory of product data is obtained, so that inventory's rule and stock-keeping unit form the double-deck decoupling-structure, In the processing request for not triggering the second client, inventory's rule need to be arranged in the first client only for product data, without being every The stock-keeping unit of product data is pre-created in a time interval, reduces the redundancy of product data in inventory, reduces the storage of inventory Pressure.
The embodiment of the invention provides the processing method of another product data, may be implemented to reduce product data in inventory The purpose of redundancy, as shown in figure 5, this method comprises:
301, according to inventory's rule that the first client is product data setting by product data unit in the given time Inventory information on time granularity is added in inventory's rule list.
For the embodiment of the present invention, with specific reference to inventory's rule that the first client is product data setting by product data The realization process that the inventory information in unit time granularity is added in inventory's rule list in the given time is referred to step 101, content described in step 201, herein without repeating.
It should be noted that the format with specific reference to inventory's rule corresponding product data can be pre- for name of product-product The format of periodically m- unit of the product time granularity-product inventory value, certain product data can also add according to actual needs Other attributes of product data, here without limiting.
302, when receiving inquiry request of second client to product data, the stock-keeping unit of product data is searched.
Wherein, inquiry request is that request carries out inquiry operation to the value of inventory of product data, naturally it is also possible in predetermined behaviour Inquiry operation is triggered after making, which carries product identification, such as name of product, product number, from inventory's rule list The corresponding product data of middle acquisition product identification other than selecting product identification, can also be selected when user selects predetermined class product The time of inquiry product is selected, so query time is also carried in the inquiry request, for example, user query 18:00 to 24:00 Shuttlecock place inventories, user query karaoke chamber further search for product data in the inventories in sometime section The stock-keeping unit of unit time granularity in query time.
303a, if it exists in unit time granularity product data stock-keeping unit, extract product from the stock-keeping unit Value of inventory of the data in unit time granularity.
For the embodiment of the present invention, inventory information creation of the stock-keeping unit usually with product data in unit time granularity , if there is the stock-keeping unit of product data in unit time granularity, then illustrate to be scheduled before the product data, Due to being stored with the inventory information of product data in stock-keeping unit, then extracting product data directly from stock-keeping unit in unit Value of inventory on time granularity.
The stores list for having product data on step 303b, if it does not exist unit time granularity corresponding with step 303a Member extracts the value of inventory of product data by parsing inventory's rule list from inventory's rule list.
For the embodiment of the present invention, if there is no the stock-keeping unit of product data in unit time granularity, then explanation should It was not scheduled before product data, was believed by inventory of the product data in unit time granularity in parsing inventory's rule list Breath obtains the value of inventory of product data from inventory information.
304, the value of inventory using the product data in unit time granularity is as the current value of inventory of product data.
For the embodiment of the present invention, since inquiry request can't trigger the change of product inventory value, so being advised from inventory The value of inventory of the product number then extracted in table is the current value of inventory of product data.
305, the current value of inventory of the product data is sent to second client.
The process of specific second client request inquiry product data can be as shown in fig. 6, the C-terminal user in Fig. 6 be the Two clients, when receiving the product itemID001 that C-terminal user's target date is 20180701, if not finding unit The stock-keeping unit of product data on time granularity then parses product data inventory original I NIQ from inventory's rule list, and by library Original I NIQ is deposited as current value of inventory and is back to C-terminal, if finding the stock-keeping unit of product data in unit time granularity, The current value of inventory of the product recorded in stock-keeping unit is then back to C-terminal.
The processing method of product data provided in an embodiment of the present invention, with each time directly in stock-keeping unit layer at present The mode of the stock-keeping unit of section creation corresponding product data is compared, and the present invention can be product data according to the first client Value of inventory in product data unit time granularity in the given time is added in inventory's rule list by inventory's rule, when connecing When receiving processing request of second client to product data, pass through preconfigured processing strategie solution corresponding with processing request Inventory's rule list is analysed, the current value of inventory of product data is obtained, so that inventory's rule and stock-keeping unit form the double-deck decoupling-structure, In the processing request for not triggering the second client, inventory's rule need to be arranged in the first client only for product data, without being every The stock-keeping unit of product data is pre-created in a time interval, reduces the redundancy of product data in inventory, reduces the storage of inventory Pressure.
Further, the specific implementation as Fig. 1 the method, the embodiment of the invention provides a kind of places of product data Device is managed, as shown in fig. 7, described device includes: adding unit 41, resolution unit 42, transmission unit 43.
Adding unit 41 can be used for being that inventory's rule that product data are arranged exists product data according to the first client Inventory information in predetermined time in unit time granularity is added in inventory's rule list;
Resolution unit 42 can be used for when receiving the second client and requesting the processing of product data, by preparatory The processing strategie corresponding with the processing request of configuration parses inventory's rule list, obtains the current inventory of product data Value;
Transmission unit 43 can be used for the current value of inventory of the product data being sent to second client.
The processing unit of product data provided in an embodiment of the present invention, with each time directly in stock-keeping unit layer at present The mode of the stock-keeping unit of section creation corresponding product data is compared, and the present invention can be product data according to the first client Value of inventory in product data unit time granularity in the given time is added in inventory's rule list by inventory's rule, when connecing When receiving processing request of second client to product data, pass through preconfigured processing strategie solution corresponding with processing request Inventory's rule list is analysed, the current value of inventory of product data is obtained, so that inventory's rule and stock-keeping unit form the double-deck decoupling-structure, In the processing request for not triggering the second client, inventory's rule need to be arranged in the first client only for product data, without being every The stock-keeping unit of product data is pre-created in a time interval, reduces the redundancy of product data in inventory, reduces the storage of inventory Pressure.
It should be noted that its of each functional unit involved by a kind of processing unit of product data provided in this embodiment He accordingly describes, can be with reference to the corresponding description in Fig. 1, and details are not described herein.
In specific application scenarios, as shown in figure 8, when processing request is predetermined request, the resolution unit 42 include:
First extraction module 421, can be used for searching the stock-keeping unit of product data, produce in unit time granularity if it exists The stock-keeping unit of product data, from value of inventory of the extraction product data in unit time granularity in the stock-keeping unit;
Creation module 422 can be used for the stock-keeping unit of product data in unit time granularity if it does not exist, pass through parsing Inventory's rule list creates the stock-keeping unit of product data, and extracts product data in unit from the stock-keeping unit Between value of inventory in granularity.
Predetermined module 423 can be used for the value of inventory to the product data in unit time granularity and carry out predetermined behaviour Make, obtains the current value of inventory of product data.
Further, the predetermined request carries product identification and predetermined time,
First extraction module 421 specifically can be used for obtaining the product identification pair from inventory's rule list The product data answered;
First extraction module 421 specifically can be also used for searching product data within the predetermined time when unit Between granularity stock-keeping unit.
It should be noted that its of each functional unit involved by a kind of processing unit of product data provided in this embodiment He accordingly describes, can be with reference to the corresponding description in Fig. 2, and details are not described herein.
In specific application scenarios, as shown in figure 9, when processing request is inquiry request, the resolution unit 42 include:
Second extraction module 424, can be used for searching the stock-keeping unit of product data, produce in unit time granularity if it exists The stock-keeping unit of product data, from value of inventory of the extraction product data in unit time granularity in the stock-keeping unit;
Enquiry module 425 can be used for the value of inventory using the product data in unit time granularity as product number According to current value of inventory.
Further, the resolution unit 42 further include:
Parsing module 426, can be used for the value of inventory using the product data in unit time granularity as Before the current value of inventory of product data, if it does not exist in unit time granularity product data stock-keeping unit, pass through parsing institute Inventory's rule list is stated, the value of inventory of product data is extracted from inventory's rule list.
Further, second extraction module 424 specifically can be used for obtaining the production from inventory's rule list Product identify corresponding product data;
Second extraction module 424 specifically can be also used for searching product data in the query time when unit Between granularity stock-keeping unit.
It should be noted that its of each functional unit involved by a kind of processing unit of product data provided in this embodiment He accordingly describes, can be with reference to the corresponding description in Fig. 5, and details are not described herein.
Based on method shown in above-mentioned as shown in Figure 1, Figure 2 and Fig. 5, correspondingly, the present embodiment additionally provides a kind of storage medium, On be stored with computer program, the program realized when being executed by processor it is above-mentioned as shown in Figure 1, Figure 2 and product data shown in fig. 5 Processing method.
Based on this understanding, the technical solution of the application can be embodied in the form of software products, which produces Product can store in a non-volatile memory medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions With so that computer equipment (can be personal computer, server or the network equipment an etc.) execution the application is each Method described in implement scene.
Based on above-mentioned method and Fig. 7, Fig. 8 as shown in Figure 1, Figure 2, Figure 5, virtual bench embodiment shown in Fig. 9, To achieve the goals above, the embodiment of the present application also provides a kind of computer equipments, are specifically as follows personal computer, service Device, network equipment etc., the entity device include storage medium and processor;Storage medium, for storing computer program;Processing Device realizes above-mentioned processing method as shown in Figure 1, Figure 2 and product data shown in fig. 5 for executing computer program.
Optionally, which can also include user interface, network interface, camera, radio frequency (Radio Frequency, RF) circuit, sensor, voicefrequency circuit, WI-FI module etc..User interface may include display screen (Display), input unit such as keyboard (Keyboard) etc., optional user interface can also connect including USB interface, card reader Mouthful etc..Network interface optionally may include standard wireline interface and wireless interface (such as blue tooth interface, WI-FI interface).
It will be understood by those skilled in the art that the entity device structure of the processing of product data provided in this embodiment is not The restriction to the entity device is constituted, may include more or fewer components, perhaps combines certain components or different portions Part arrangement.
It can also include operating system, network communication module in storage medium.Operating system is that the above-mentioned computer of management is set The program of standby hardware and software resource, supports the operation of message handling program and other softwares and/or program.Network communication mould Block leads to for realizing the communication between each component in storage medium inside, and between other hardware and softwares in the entity device Letter.
Through the above description of the embodiments, those skilled in the art can be understood that the application can borrow It helps software that the mode of necessary general hardware platform is added to realize, hardware realization can also be passed through.Pass through the skill of application the application Art scheme can exist product data according to inventory's rule that the first client is product data compared with currently available technology The value of inventory in unit time granularity in predetermined time is added in inventory's rule list, when receiving the second client to product When the processing request of data, inventory's rule list is parsed by preconfigured processing strategie corresponding with processing request, is produced The current value of inventory of product data is not triggering the second client so that inventory's rule and stock-keeping unit form the double-deck decoupling-structure Processing request when, the first client only need to for product data be arranged inventory rule, without being pre-created for each time interval The stock-keeping unit of product data reduces the redundancy of product data in inventory, reduces the storage pressure of inventory.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, module in attached drawing or Process is not necessarily implemented necessary to the application.It will be appreciated by those skilled in the art that the mould in device in implement scene Block can according to implement scene describe be distributed in the device of implement scene, can also carry out corresponding change be located at be different from In one or more devices of this implement scene.The module of above-mentioned implement scene can be merged into a module, can also be into one Step splits into multiple submodule.
Above-mentioned the application serial number is for illustration only, does not represent the superiority and inferiority of implement scene.Disclosed above is only the application Several specific implementation scenes, still, the application is not limited to this, and the changes that any person skilled in the art can think of is all The protection scope of the application should be fallen into.

Claims (10)

1. a kind of processing method of product data characterized by comprising
According to inventory's rule that the first client is product data setting, by product data unit time granularity in the given time On inventory information be added in inventory's rule list;
When receiving processing request of second client to product data, by preconfigured corresponding with the processing request Processing strategie parse inventory's rule list, obtain the current value of inventory of product data;
The current value of inventory of the product data is sent to second client.
2. the method according to claim 1, wherein when the processing request be predetermined request when, it is described to pass through Preconfigured processing strategie corresponding with the processing request parses inventory's rule list, obtains the current library of product data Depositing value includes:
Search product data stock-keeping unit, if it exists in unit time granularity product data stock-keeping unit, then from the library Value of inventory of the product data in unit time granularity is extracted in memory cell;
The stock-keeping unit of product data is created and is produced then by parsing inventory's rule list in unit time granularity if it does not exist The stock-keeping unit of product data, and from extracting value of inventory of the product data in unit time granularity in the stock-keeping unit;
Predetermined operation is carried out to value of inventory of the product data in the stock-keeping unit in unit time granularity, obtains product data Current value of inventory.
3. according to the method described in claim 2, it is characterized in that, the predetermined request carries product identification and pre- timing Between, the stock-keeping unit for searching product data includes:
The corresponding product data of the product identification are obtained from inventory's rule list;
Search the stock-keeping unit of product data unit time granularity within the predetermined time.
4. the method according to claim 1, wherein when the processing request be inquiry request when, it is described to pass through Preconfigured processing strategie corresponding with the processing request parses inventory's rule list, obtains the current library of product data Depositing value includes:
Search product data stock-keeping unit, if it exists in unit time granularity product data stock-keeping unit, then from the library Value of inventory of the product data in unit time granularity is extracted in memory cell;
Using value of inventory of the product data in unit time granularity as the current value of inventory of product data.
5. according to the method described in claim 4, it is characterized in that, it is described by the product data in unit time granularity Value of inventory as the current value of inventory of product data before, the method also includes:
If it does not exist in unit time granularity product data stock-keeping unit, then by parsing inventory's rule list, from described The value of inventory of product data is extracted in inventory's rule list.
6. a kind of processing unit of product data characterized by comprising
Adding unit, for according to the first client be product data setting inventory's rule by product data in the given time Inventory information in unit time granularity is added in inventory's rule list;
Resolution unit, for passing through preconfigured and institute when receiving processing request of second client to product data Stating processing requests corresponding processing strategie to parse inventory's rule list, obtains the current value of inventory of product data;
Transmission unit, for the current value of inventory of the product data to be sent to second client.
7. device according to claim 6, which is characterized in that when processing request is predetermined request, the parsing Unit includes:
First extraction module, for searching the stock-keeping unit of product data, if it exists in unit time granularity product data library Memory cell, from value of inventory of the extraction product data in unit time granularity in the stock-keeping unit;
Creation module, the stock-keeping unit of product data in unit time granularity if it does not exist are advised by parsing the inventory Then table creates the stock-keeping unit of product data, and from extraction product data in the stock-keeping unit in unit time granularity Value of inventory.
Predetermined module obtains product for carrying out predetermined operation to value of inventory of the product data in unit time granularity The current value of inventory of data.
8. device according to claim 7, which is characterized in that the predetermined request carries product identification and pre- timing Between,
First extraction module, specifically for obtaining the corresponding product number of the product identification from inventory's rule list According to;
First extraction module, is specifically also used to search the inventory of product data unit time granularity within the predetermined time Unit.
9. a kind of computer equipment, including memory and processor, it is stored with computer program in the memory, feature exists In the step of processor realizes any one of claims 1 to 5 the method when executing the computer program.
10. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the computer program is located The step of reason device realizes method described in any one of claims 1 to 5 when executing.
CN201811106680.XA 2018-09-21 2018-09-21 Product data processing method and device Active CN109447293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811106680.XA CN109447293B (en) 2018-09-21 2018-09-21 Product data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811106680.XA CN109447293B (en) 2018-09-21 2018-09-21 Product data processing method and device

Publications (2)

Publication Number Publication Date
CN109447293A true CN109447293A (en) 2019-03-08
CN109447293B CN109447293B (en) 2021-05-04

Family

ID=65530658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811106680.XA Active CN109447293B (en) 2018-09-21 2018-09-21 Product data processing method and device

Country Status (1)

Country Link
CN (1) CN109447293B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110738340A (en) * 2019-09-06 2020-01-31 口碑(上海)信息技术有限公司 Reserved product inventory management method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8285573B1 (en) * 2008-01-15 2012-10-09 SciQuest Inc. Prioritizing orders/receipt of items between users
CN104516895A (en) * 2013-09-27 2015-04-15 阿里巴巴集团控股有限公司 Stock information processing method and system for commodity object
US20160055572A1 (en) * 2014-08-19 2016-02-25 Alibaba Group Holding Limited Processing Commodity Transaction and Logistics Solution
CN107808265A (en) * 2016-09-09 2018-03-16 阿里巴巴集团控股有限公司 Data processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8285573B1 (en) * 2008-01-15 2012-10-09 SciQuest Inc. Prioritizing orders/receipt of items between users
CN104516895A (en) * 2013-09-27 2015-04-15 阿里巴巴集团控股有限公司 Stock information processing method and system for commodity object
US20160055572A1 (en) * 2014-08-19 2016-02-25 Alibaba Group Holding Limited Processing Commodity Transaction and Logistics Solution
CN107808265A (en) * 2016-09-09 2018-03-16 阿里巴巴集团控股有限公司 Data processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SHANZHIZI: "产品和产品规格(产品变量)自动生成SKU的需求解决思路", 《CSDN博客 HTTPS://BLOG.CSDN.NET/SHANZHIZI/ARTICLE/DETAILS/51190865?%3E》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110738340A (en) * 2019-09-06 2020-01-31 口碑(上海)信息技术有限公司 Reserved product inventory management method and device

Also Published As

Publication number Publication date
CN109447293B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
US10127285B2 (en) Customizable ranking of search engine results in multi-tenant architecture
US20160125489A1 (en) Fulfillment of cloud service using marketplace system
US20140040791A1 (en) Development platform for software as a service (saas) in a multi-tenant environment
CN109716324A (en) Direct table association in in-memory data library
CN109166058A (en) A kind of customization information of real estate recommended method and system
CN109739890A (en) Data processing method, device and equipment
CN109977135A (en) A kind of data query method, apparatus and server
CN110083579A (en) Incremental data synchronous method, apparatus, computer equipment and computer storage medium
CN110347946A (en) A kind of page display method, device, computer equipment and storage medium
CN113112336A (en) Commodity information processing method and device and computer equipment
CN110097685A (en) Cargo path data processing method, device, computer equipment and storage medium
CN108648064A (en) The method and apparatus of the quick restocking of product information
CN109064248A (en) Order data synchronous method of calibration, device and equipment
CN113609423B (en) Task configuration method and device, storage medium and computer equipment
CN109447293A (en) A kind of processing method and processing device of product data
CN109739865A (en) A kind of processing method and processing device of commodity data
CN107786659A (en) Service methods of exhibiting and device
CN108846093A (en) Support the method for processing business and system of multi-user operation
CN110858209B (en) Business object access/release method, device and system and electronic equipment
JP2010086055A (en) Inventory management device, inventory management method, and program
CN110225077A (en) Synchronous method, device, computer equipment and the computer storage medium of change supply data
CN105528722A (en) Method and device for sending/receiving data packet, data packet transmission system and mobile equipment
US7703106B2 (en) Discovering and monitoring process executions
US11573977B2 (en) Method and system for managing user profile information across plurality of locations in real time
CN110738806B (en) Payment mode determination method, device and system and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant